diff --git a/stripe_ios/ios/Classes/ComRavindraStripeModule.h b/stripe_ios/ios/Classes/ComRavindraStripeModule.h index 9b03294..eb62727 100644 --- a/stripe_ios/ios/Classes/ComRavindraStripeModule.h +++ b/stripe_ios/ios/Classes/ComRavindraStripeModule.h @@ -5,12 +5,10 @@ * Copyright (c) 2020 Your Company. All rights reserved. */ -#import "TiModule.h" -#import +@import TitaniumKit; +@import Stripe; -@interface ComRavindraStripeModule : TiModule{ - -} +@interface ComRavindraStripeModule : TiModule -(void)initialize:(id)args; -(void)createPaymentMethod:(id) args; diff --git a/stripe_ios/ios/Classes/ComRavindraStripeModule.m b/stripe_ios/ios/Classes/ComRavindraStripeModule.m index ed0eaa2..10c7465 100644 --- a/stripe_ios/ios/Classes/ComRavindraStripeModule.m +++ b/stripe_ios/ios/Classes/ComRavindraStripeModule.m @@ -6,38 +6,22 @@ */ #import "ComRavindraStripeModule.h" -#import "TiBase.h" -#import "TiHost.h" -#import "TiUtils.h" -#import +@import TitaniumKit; @implementation ComRavindraStripeModule #pragma mark Internal -// This is generated for your module, please do not change it - (id)moduleGUID { return @"7c1b9991-2bbe-4f2d-b2d6-40daeea8bd33"; } -// This is generated for your module, please do not change it - (NSString *)moduleId { return @"com.ravindra.stripe"; } -#pragma mark Lifecycle - -- (void)startup -{ - // This method is called when the module is first loaded - // You *must* call the superclass - [super startup]; - DebugLog(@"[DEBUG] %@ loaded", self); -} - - #pragma Public APIs - (void)initialize:(id)args @@ -63,8 +47,8 @@ -(void)createPaymentMethod:(id) args { ENSURE_SINGLE_ARG(args,NSDictionary); NSString* cardNumber = nil; - int month; - int expiryYear; + int month = 1; + int expiryYear = 2022; NSString* cvc = nil; KrollCallback *paymentMethodCallback; @@ -231,10 +215,7 @@ -(void)handleNextActionForPaymentIntentWithAuthentication:(id) args{ [self _fireEventToListener:@"handleNextActionForPaymentIntentCallback" withObject:event listener:handleNextActionForPaymentIntentCallback thisObject:nil]; break; } - }]; } - - @end diff --git a/stripe_ios/ios/build/build_iphone.log b/stripe_ios/ios/build/build_iphone.log new file mode 100644 index 0000000..3a5a30c --- /dev/null +++ b/stripe_ios/ios/build/build_iphone.log @@ -0,0 +1,304 @@ + +14.3.2022, 15:07:35 + +Operating System + Name = macOS + Version = 12.2.1 + Architecture = 64bit + # CPUs = 8 + Memory = 17179869184 + +Node.js + Node.js Version = 14.18.2 + npm Version = 6.14.15 + +Titanium CLI + CLI Version = 5.4.1 + +Titanium SDK + SDK Version = 10.2.0 + SDK Path = /Users/hans/Library/Application Support/Titanium/mobilesdk/osx/10.2.0 + Target Platform = iphone + +Command + /Users/hans/.nvm/versions/node/v14.18.2/bin/node /Users/hans/.nvm/versions/node/v14.18.2/bin/ti build -p ios --build-only + +[DEBUG] Titanium SDK iOS directory: /Users/hans/Library/Application Support/Titanium/mobilesdk/osx/10.2.0/iphone +[INFO] Project directory: /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[INFO] Module ID: com.ravindra.stripe +[INFO] Module Type: Static Library (Objective-C) +[DEBUG] Writing module assets file: /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/Classes/ComRavindraStripeModuleAssets.m +[DEBUG] Running: DEVELOPER_DIR=/Applications/Xcode-13.2.0.app/Contents/Developer /Applications/Xcode-13.2.0.app/Contents/Developer/usr/bin/xcodebuild archive -configuration Release -sdk iphonesimulator -archivePath /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/build/iphonesimulator.xcarchive -UseNewBuildSystem=YES ONLY_ACTIVE_ARCH=NO SKIP_INSTALL=NO -scheme stripe_ios +[TRACE] [xcode-sim] Command line invocation: +[TRACE] [xcode-sim] +[TRACE] [xcode-sim] /Applications/Xcode-13.2.0.app/Contents/Developer/usr/bin/xcodebuild archive -configuration Release -sdk iphonesimulator -archivePath /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/build/iphonesimulator.xcarchive -UseNewBuildSystem=YES ONLY_ACTIVE_ARCH=NO SKIP_INSTALL=NO -scheme stripe_ios +[TRACE] [xcode-sim] User defaults from command line: +[TRACE] [xcode-sim] IDEArchivePathOverride = /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/build/iphonesimulator.xcarchive +[TRACE] [xcode-sim] IDEPackageSupportUseBuiltinSCM = YES +[TRACE] [xcode-sim] UseNewBuildSystem = YES +[TRACE] [xcode-sim] Build settings from command line: +[TRACE] [xcode-sim] ONLY_ACTIVE_ARCH = NO +[TRACE] [xcode-sim] SDKROOT = iphonesimulator15.2 +[TRACE] [xcode-sim] SKIP_INSTALL = NO +[TRACE] [xcode-sim] note: Using new build system +[TRACE] [xcode-sim] note: Planning +[TRACE] [xcode-sim] Analyze workspace +[TRACE] [xcode-sim] Create build description +[TRACE] [xcode-sim] Build description signature: 065a6d53ba6e6a33da2978ce8a90b631 +[TRACE] [xcode-sim] Build description path: /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/XCBuildData/065a6d53ba6e6a33da2978ce8a90b631-desc.xcbuild +[TRACE] [xcode-sim] note: Build preparation complete +[TRACE] [xcode-sim] note: Building targets in dependency order +[TRACE] [xcode-sim] CreateBuildDirectory /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/InstallationBuildProductsLocation +[TRACE] [xcode-sim] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/stripe_ios.xcodeproj +[TRACE] [xcode-sim] builtin-create-build-directory /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/InstallationBuildProductsLocation +[TRACE] [xcode-sim] CreateBuildDirectory /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath +[TRACE] [xcode-sim] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/stripe_ios.xcodeproj +[TRACE] [xcode-sim] builtin-create-build-directory /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath +[TRACE] [xcode-sim] CreateBuildDirectory /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath +[TRACE] [xcode-sim] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/stripe_ios.xcodeproj +[TRACE] [xcode-sim] builtin-create-build-directory /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath +[TRACE] [xcode-sim] CreateBuildDirectory /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator +[TRACE] [xcode-sim] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/stripe_ios.xcodeproj +[TRACE] [xcode-sim] builtin-create-build-directory /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator +[TRACE] [xcode-sim] ProcessXCFramework /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform/StripeCameraCore.xcframework /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator/StripeCameraCore.framework ios simulator +[TRACE] [xcode-sim] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/stripe_ios.xcodeproj +[TRACE] [xcode-sim] builtin-process-xcframework --xcframework /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform/StripeCameraCore.xcframework --platform ios --environment simulator --target-path /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator +[TRACE] [xcode-sim] ProcessXCFramework /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform/StripeIdentity.xcframework /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator/StripeIdentity.framework ios simulator +[TRACE] [xcode-sim] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/stripe_ios.xcodeproj +[TRACE] [xcode-sim] builtin-process-xcframework --xcframework /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform/StripeIdentity.xcframework --platform ios --environment simulator --target-path /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator +[TRACE] [xcode-sim] ProcessXCFramework /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform/StripeCardScan.xcframework /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator/StripeCardScan.framework ios simulator +[TRACE] [xcode-sim] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/stripe_ios.xcodeproj +[TRACE] [xcode-sim] builtin-process-xcframework --xcframework /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform/StripeCardScan.xcframework --platform ios --environment simulator --target-path /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator +[TRACE] [xcode-sim] ProcessXCFramework /Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator/TitaniumKit.framework ios simulator +[TRACE] [xcode-sim] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/stripe_ios.xcodeproj +[TRACE] [xcode-sim] builtin-process-xcframework --xcframework /Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework --platform ios --environment simulator --target-path /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator +[TRACE] [xcode-sim] ProcessXCFramework /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform/StripeApplePay.xcframework /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator/StripeApplePay.framework ios simulator +[TRACE] [xcode-sim] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/stripe_ios.xcodeproj +[TRACE] [xcode-sim] builtin-process-xcframework --xcframework /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform/StripeApplePay.xcframework --platform ios --environment simulator --target-path /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator +[TRACE] [xcode-sim] ProcessXCFramework /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform/StripeUICore.xcframework /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator/StripeUICore.framework ios simulator +[TRACE] [xcode-sim] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/stripe_ios.xcodeproj +[TRACE] [xcode-sim] builtin-process-xcframework --xcframework /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform/StripeUICore.xcframework --platform ios --environment simulator --target-path /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator +[TRACE] [xcode-sim] ProcessXCFramework /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform/Stripe3DS2.xcframework /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator/Stripe3DS2.framework ios simulator +[TRACE] [xcode-sim] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/stripe_ios.xcodeproj +[TRACE] [xcode-sim] builtin-process-xcframework --xcframework /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform/Stripe3DS2.xcframework --platform ios --environment simulator --target-path /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator +[TRACE] [xcode-sim] ProcessXCFramework /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform/StripeCore.xcframework /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator/StripeCore.framework ios simulator +[TRACE] [xcode-sim] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/stripe_ios.xcodeproj +[TRACE] [xcode-sim] builtin-process-xcframework --xcframework /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform/StripeCore.xcframework --platform ios --environment simulator --target-path /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator +[TRACE] [xcode-sim] ProcessXCFramework /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform/Stripe.xcframework /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator/Stripe.framework ios simulator +[TRACE] [xcode-sim] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/stripe_ios.xcodeproj +[TRACE] [xcode-sim] builtin-process-xcframework --xcframework /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform/Stripe.xcframework --platform ios --environment simulator --target-path /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator +[TRACE] [xcode-sim] SymLink /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator/libcom.ravindra.stripe.a /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/InstallationBuildProductsLocation/usr/local/lib/libcom.ravindra.stripe.a (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-sim] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-sim] /bin/ln -sfh /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/InstallationBuildProductsLocation/usr/local/lib/libcom.ravindra.stripe.a /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator/libcom.ravindra.stripe.a +[TRACE] [xcode-sim] WriteAuxiliaryFile /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-project-headers.hmap (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-sim] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-sim] write-file /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-project-headers.hmap +[TRACE] [xcode-sim] WriteAuxiliaryFile /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-own-target-headers.hmap (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-sim] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-sim] write-file /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-own-target-headers.hmap +[TRACE] [xcode-sim] WriteAuxiliaryFile /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe.hmap (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-sim] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-sim] write-file /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe.hmap +[TRACE] [xcode-sim] WriteAuxiliaryFile /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-generated-files.hmap (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-sim] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-sim] write-file /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-generated-files.hmap +[TRACE] [xcode-sim] WriteAuxiliaryFile /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-all-target-headers.hmap (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-sim] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-sim] write-file /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-all-target-headers.hmap +[TRACE] [xcode-sim] WriteAuxiliaryFile /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-all-non-framework-target-headers.hmap (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-sim] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-sim] write-file /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-all-non-framework-target-headers.hmap +[TRACE] [xcode-sim] WriteAuxiliaryFile /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/all-product-headers.yaml (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-sim] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-sim] write-file /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/all-product-headers.yaml +[TRACE] [xcode-sim] WriteAuxiliaryFile /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/Objects-normal/x86_64/com.ravindra.stripe.LinkFileList (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-sim] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-sim] write-file /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/Objects-normal/x86_64/com.ravindra.stripe.LinkFileList +[TRACE] [xcode-sim] WriteAuxiliaryFile /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/Objects-normal/arm64/com.ravindra.stripe.LinkFileList (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-sim] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-sim] write-file /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/Objects-normal/arm64/com.ravindra.stripe.LinkFileList +[TRACE] [xcode-sim] ProcessPCH /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/PrecompiledHeaders/SharedPrecompiledHeaders/2982690311671135435/ComRavindraStripe_Prefix.pch.gch /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/ComRavindraStripe_Prefix.pch normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-sim] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-sim] +[TRACE] [xcode-sim] Precompile of '/Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/ComRavindraStripe_Prefix.pch' required by '/Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/Classes/ComRavindraStripeModule.m' +[TRACE] [xcode-sim] +[TRACE] [xcode-sim] /Applications/Xcode-13.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c-header -target arm64-apple-ios12.0-simulator -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=c99 -fobjc-arc -fmodules -fmodules-cache-path\=/Users/hans/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/hans/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wunreachable-code -Wquoted-include-in-framework-header -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wduplicate-method-match -Wno-missing-braces -Wno-parentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wno-unused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DTI_VERSION\= -DNDEBUG -DOBJC_OLD_DISPATCH_PROTOTYPES\=0 -isysroot /Applications/Xcode-13.2.0.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -fobjc-abi-version\=2 -fobjc-legacy-dispatch -iquote /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-generated-files.hmap -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-own-target-headers.hmap -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-all-target-headers.hmap -iquote /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-project-headers.hmap -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator/include -I/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA -I/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/DerivedSources-normal/arm64 -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/DerivedSources/arm64 -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/DerivedSources -Wno-arc-performSelector-leaks -F/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64 -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_x86_64-maccatalyst -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_x86_64-simulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64 -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-maccatalyst -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-simulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-maccatalyst/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-simulator/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64 -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_x86_64-maccatalyst -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_x86_64-simulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64 -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-maccatalyst -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-simulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify. +[TRACE] [xcode-sim] xcframework/ios-arm64/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-maccatalyst/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-simulator/Headers -F/Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform -DTI_POST_1_2 -c /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/ComRavindraStripe_Prefix.pch -MD -MT dependencies -MF /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/PrecompiledHeaders/SharedPrecompiledHeaders/2982690311671135435/ComRavindraStripe_Prefix.pch.d -iquote /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-generated-files.hmap -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-own-target-headers.hmap -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-all-target-headers.hmap -iquote /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-project-headers.hmap -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator/include -I/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA -I/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/DerivedSources-normal/arm64 -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/DerivedSources/arm64 -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/DerivedSources -o /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/PrecompiledHeaders/SharedPrecompiledHeaders/2982690311671135435/ComRavindraStripe_Prefix.pch.gch --serialize-diagnostics /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/PrecompiledHeaders/SharedPrecompiledHeaders/2982690311671135435/ComRavindraStripe_Prefix.pch.dia +[TRACE] [xcode-sim] ProcessPCH /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/PrecompiledHeaders/SharedPrecompiledHeaders/3370333848331886145/ComRavindraStripe_Prefix.pch.gch /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/ComRavindraStripe_Prefix.pch normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-sim] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-sim] +[TRACE] [xcode-sim] Precompile of '/Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/ComRavindraStripe_Prefix.pch' required by '/Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/Classes/ComRavindraStripeModule.m' +[TRACE] [xcode-sim] +[TRACE] [xcode-sim] /Applications/Xcode-13.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c-header -target x86_64-apple-ios12.0-simulator -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=c99 -fobjc-arc -fmodules -fmodules-cache-path\=/Users/hans/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/hans/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wunreachable-code -Wquoted-include-in-framework-header -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wduplicate-method-match -Wno-missing-braces -Wno-parentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wno-unused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DTI_VERSION\= -DNDEBUG -DOBJC_OLD_DISPATCH_PROTOTYPES\=0 -isysroot /Applications/Xcode-13.2.0.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -fobjc-abi-version\=2 -fobjc-legacy-dispatch -iquote /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-generated-files.hmap -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-own-target-headers.hmap -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-all-target-headers.hmap -iquote /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-project-headers.hmap -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator/include -I/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA -I/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/DerivedSources-normal/x86_64 -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/DerivedSources/x86_64 -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/DerivedSources -Wno-arc-performSelector-leaks -F/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64 -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_x86_64-maccatalyst -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_x86_64-simulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64 -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-maccatalyst -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-simulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-maccatalyst/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-simulator/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64 -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_x86_64-maccatalyst -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_x86_64-simulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64 -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-maccatalyst -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-simulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Fram +[TRACE] [xcode-sim] eworks/tiverify.xcframework/ios-arm64/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-maccatalyst/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-simulator/Headers -F/Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform -DTI_POST_1_2 -c /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/ComRavindraStripe_Prefix.pch -MD -MT dependencies -MF /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/PrecompiledHeaders/SharedPrecompiledHeaders/3370333848331886145/ComRavindraStripe_Prefix.pch.d -iquote /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-generated-files.hmap -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-own-target-headers.hmap -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-all-target-headers.hmap -iquote /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-project-headers.hmap -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator/include -I/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA -I/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/DerivedSources-normal/x86_64 -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/DerivedSources/x86_64 -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/DerivedSources -o /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/PrecompiledHeaders/SharedPrecompiledHeaders/3370333848331886145/ComRavindraStripe_Prefix.pch.gch --serialize-diagnostics /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/PrecompiledHeaders/SharedPrecompiledHeaders/3370333848331886145/ComRavindraStripe_Prefix.pch.dia +[TRACE] [xcode-sim] CompileC /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/Objects-normal/x86_64/ComRavindraStripeModule.o /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/Classes/ComRavindraStripeModule.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-sim] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-sim] export LANG\=en_US.US-ASCII +[TRACE] [xcode-sim] /Applications/Xcode-13.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target x86_64-apple-ios12.0-simulator -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=c99 -fobjc-arc -fmodules -fmodules-cache-path\=/Users/hans/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/hans/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wunreachable-code -Wquoted-include-in-framework-header -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wduplicate-method-match -Wno-missing-braces -Wno-parentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wno-unused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DTI_VERSION\= -DNDEBUG -DOBJC_OLD_DISPATCH_PROTOTYPES\=0 -isysroot /Applications/Xcode-13.2.0.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -fobjc-abi-version\=2 -fobjc-legacy-dispatch -iquote /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-generated-files.hmap -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-own-target-headers.hmap -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-all-target-headers.hmap -iquote /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-project-headers.hmap -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator/include -I/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA -I/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/DerivedSources-normal/x86_64 -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/DerivedSources/x86_64 -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/DerivedSources -Wno-arc-performSelector-leaks -F/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64 -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_x86_64-maccatalyst -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_x86_64-simulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64 -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-maccatalyst -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-simulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-maccatalyst/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-simulator/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64 -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_x86_64-maccatalyst -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_x86_64-simulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64 -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-maccatalyst -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-simulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-maccatalyst/Headers -F/Users/hans/Library/Application\ Supp +[TRACE] [xcode-sim] ort/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-simulator/Headers -F/Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform -DTI_POST_1_2 -include /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/PrecompiledHeaders/SharedPrecompiledHeaders/3370333848331886145/ComRavindraStripe_Prefix.pch -MMD -MT dependencies -MF /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/Objects-normal/x86_64/ComRavindraStripeModule.d --serialize-diagnostics /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/Objects-normal/x86_64/ComRavindraStripeModule.dia -c /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/Classes/ComRavindraStripeModule.m -o /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/Objects-normal/x86_64/ComRavindraStripeModule.o +[TRACE] [xcode-sim] CompileC /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/Objects-normal/x86_64/ComRavindraStripeModuleAssets.o /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/Classes/ComRavindraStripeModuleAssets.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-sim] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-sim] export LANG\=en_US.US-ASCII +[TRACE] [xcode-sim] /Applications/Xcode-13.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target x86_64-apple-ios12.0-simulator -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=c99 -fobjc-arc -fmodules -fmodules-cache-path\=/Users/hans/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/hans/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wunreachable-code -Wquoted-include-in-framework-header -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wduplicate-method-match -Wno-missing-braces -Wno-parentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wno-unused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DTI_VERSION\= -DNDEBUG -DOBJC_OLD_DISPATCH_PROTOTYPES\=0 -isysroot /Applications/Xcode-13.2.0.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -fobjc-abi-version\=2 -fobjc-legacy-dispatch -iquote /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-generated-files.hmap -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-own-target-headers.hmap -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-all-target-headers.hmap -iquote /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-project-headers.hmap -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator/include -I/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA -I/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/DerivedSources-normal/x86_64 -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/DerivedSources/x86_64 -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/DerivedSources -Wno-arc-performSelector-leaks -F/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64 -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_x86_64-maccatalyst -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_x86_64-simulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64 -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-maccatalyst -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-simulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-maccatalyst/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-simulator/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64 -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_x86_64-maccatalyst -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_x86_64-simulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64 -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-maccatalyst -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-simulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-maccatalyst/Headers -F/Users/hans/Library/Appl +[TRACE] [xcode-sim] ication\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-simulator/Headers -F/Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform -DTI_POST_1_2 -include /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/PrecompiledHeaders/SharedPrecompiledHeaders/3370333848331886145/ComRavindraStripe_Prefix.pch -MMD -MT dependencies -MF /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/Objects-normal/x86_64/ComRavindraStripeModuleAssets.d --serialize-diagnostics /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/Objects-normal/x86_64/ComRavindraStripeModuleAssets.dia -c /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/Classes/ComRavindraStripeModuleAssets.m -o /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/Objects-normal/x86_64/ComRavindraStripeModuleAssets.o +[TRACE] [xcode-sim] CompileC /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/Objects-normal/arm64/ComRavindraStripeModule.o /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/Classes/ComRavindraStripeModule.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-sim] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-sim] export LANG\=en_US.US-ASCII +[TRACE] [xcode-sim] /Applications/Xcode-13.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target arm64-apple-ios12.0-simulator -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=c99 -fobjc-arc -fmodules -fmodules-cache-path\=/Users/hans/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/hans/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wunreachable-code -Wquoted-include-in-framework-header -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wduplicate-method-match -Wno-missing-braces -Wno-parentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wno-unused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DTI_VERSION\= -DNDEBUG -DOBJC_OLD_DISPATCH_PROTOTYPES\=0 -isysroot /Applications/Xcode-13.2.0.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -fobjc-abi-version\=2 -fobjc-legacy-dispatch -iquote /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-generated-files.hmap -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-own-target-headers.hmap -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-all-target-headers.hmap -iquote /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-project-headers.hmap -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator/include -I/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA -I/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/DerivedSources-normal/arm64 -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/DerivedSources/arm64 -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/DerivedSources -Wno-arc-performSelector-leaks -F/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64 -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_x86_64-maccatalyst -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_x86_64-simulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64 -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-maccatalyst -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-simulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-maccatalyst/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiv +[TRACE] [xcode-sim] erify.xcframework/ios-arm64_x86_64-simulator/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64 -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_x86_64-maccatalyst -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_x86_64-simulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64 -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-maccatalyst -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-simulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-maccatalyst/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-simulator/Headers -F/Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform -DTI_POST_1_2 -include /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/PrecompiledHeaders/SharedPrecompiledHeaders/2982690311671135435/ComRavindraStripe_Prefix.pch -MMD -MT dependencies -MF /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/Objects-normal/arm64/ComRavindraStripeModule.d --serialize-diagnostics /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/Objects-normal/arm64/ComRavindraStripeModule.dia -c /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/Classes/ComRavindraStripeModule.m -o /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/Objects-normal/arm64/ComRavindraStripeModule.o +[TRACE] [xcode-sim] CompileC /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/Objects-normal/arm64/ComRavindraStripeModuleAssets.o /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/Classes/ComRavindraStripeModuleAssets.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-sim] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-sim] export LANG\=en_US.US-ASCII +[TRACE] [xcode-sim] /Applications/Xcode-13.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target arm64-apple-ios12.0-simulator -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=c99 -fobjc-arc -fmodules -fmodules-cache-path\=/Users/hans/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/hans/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wunreachable-code -Wquoted-include-in-framework-header -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wduplicate-method-match -Wno-missing-braces -Wno-parentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wno-unused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DTI_VERSION\= -DNDEBUG -DOBJC_OLD_DISPATCH_PROTOTYPES\=0 -isysroot /Applications/Xcode-13.2.0.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -fobjc-abi-version\=2 -fobjc-legacy-dispatch -iquote /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-generated-files.hmap -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-own-target-headers.hmap -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-all-target-headers.hmap -iquote /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/com.ravindra.stripe-project-headers.hmap -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator/include -I/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA -I/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/DerivedSources-normal/arm64 -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/DerivedSources/arm64 -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/DerivedSources -Wno-arc-performSelector-leaks -F/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator -F/Users/hans/Library/Application +[TRACE] [xcode-sim] \ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64 -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_x86_64-maccatalyst -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_x86_64-simulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64 -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-maccatalyst -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-simulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-maccatalyst/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-simulator/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64 -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_x86_64-maccatalyst -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_x86_64-simulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64 -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-maccatalyst -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-simulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-maccatalyst/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-simulator/Headers -F/Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform -DTI_POST_1_2 -include /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/PrecompiledHeaders/SharedPrecompiledHeaders/2982690311671135435/ComRavindraStripe_Prefix.pch -MMD -MT dependencies -MF /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/Objects-normal/arm64/ComRavindraStripeModuleAssets.d --serialize-diagnostics /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/Objects-normal/arm64/ComRavindraStripeModuleAssets.dia -c /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/Classes/ComRavindraStripeModuleAssets.m -o /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/Objects-normal/arm64/ComRavindraStripeModuleAssets.o +[TRACE] [xcode-sim] Libtool /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/Objects-normal/x86_64/Binary/libcom.ravindra.stripe.a normal x86_64 (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-sim] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-sim] export IPHONEOS_DEPLOYMENT_TARGET\=12.0 +[TRACE] [xcode-sim] /Applications/Xcode-13.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only x86_64 -D -syslibroot /Applications/Xcode-13.2.0.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk -L/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator -filelist /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/Objects-normal/x86_64/com.ravindra.stripe.LinkFileList -framework Stripe3DS2 -framework StripeIdentity -framework StripeCameraCore -framework StripeCore -framework Foundation -framework StripeApplePay -framework StripeUICore -framework TitaniumKit -framework Stripe -framework StripeCardScan -dependency_info /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/Objects-normal/x86_64/com.ravindra.stripe_libtool_dependency_info.dat -o /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/Objects-normal/x86_64/Binary/libcom.ravindra.stripe.a +[TRACE] [xcode-sim] Libtool /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/Objects-normal/arm64/Binary/libcom.ravindra.stripe.a normal arm64 (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-sim] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-sim] export IPHONEOS_DEPLOYMENT_TARGET\=12.0 +[TRACE] [xcode-sim] /Applications/Xcode-13.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only arm64 -D -syslibroot /Applications/Xcode-13.2.0.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk -L/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphonesimulator -filelist /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/Objects-normal/arm64/com.ravindra.stripe.LinkFileList -framework Stripe3DS2 -framework StripeIdentity -framework StripeCameraCore -framework StripeCore -framework Foundation -framework StripeApplePay -framework StripeUICore -framework TitaniumKit -framework Stripe -framework StripeCardScan -dependency_info /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/Objects-normal/arm64/com.ravindra.stripe_libtool_dependency_info.dat -o /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/Objects-normal/arm64/Binary/libcom.ravindra.stripe.a +[TRACE] [xcode-sim] CreateUniversalBinary /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/InstallationBuildProductsLocation/usr/local/lib/libcom.ravindra.stripe.a normal arm64\ x86_64 (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-sim] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-sim] /Applications/Xcode-13.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/Objects-normal/arm64/Binary/libcom.ravindra.stripe.a /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphonesimulator/stripe_ios.build/Objects-normal/x86_64/Binary/libcom.ravindra.stripe.a -o /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/InstallationBuildProductsLocation/usr/local/lib/libcom.ravindra.stripe.a +[TRACE] [xcode-sim] Strip /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/InstallationBuildProductsLocation/usr/local/lib/libcom.ravindra.stripe.a (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-sim] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-sim] /Applications/Xcode-13.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip -S -T /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/InstallationBuildProductsLocation/usr/local/lib/libcom.ravindra.stripe.a +[TRACE] [xcode-sim] SetOwnerAndGroup hans:staff /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/InstallationBuildProductsLocation/usr/local/lib/libcom.ravindra.stripe.a (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-sim] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-sim] /usr/sbin/chown -RH hans:staff /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/InstallationBuildProductsLocation/usr/local/lib/libcom.ravindra.stripe.a +[TRACE] [xcode-sim] SetMode u+w,go-w,a+rX /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/InstallationBuildProductsLocation/usr/local/lib/libcom.ravindra.stripe.a (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-sim] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-sim] /bin/chmod -RH u+w,go-w,a+rX /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/InstallationBuildProductsLocation/usr/local/lib/libcom.ravindra.stripe.a +[TRACE] [xcode-sim] ** ARCHIVE SUCCEEDED ** +[DEBUG] Running: DEVELOPER_DIR=/Applications/Xcode-13.2.0.app/Contents/Developer /Applications/Xcode-13.2.0.app/Contents/Developer/usr/bin/xcodebuild archive -configuration Release -sdk iphoneos -archivePath /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/build/iphoneos.xcarchive -UseNewBuildSystem=YES ONLY_ACTIVE_ARCH=NO SKIP_INSTALL=NO -scheme stripe_ios +[TRACE] [xcode-dist] Command line invocation: +[TRACE] [xcode-dist] +[TRACE] [xcode-dist] /Applications/Xcode-13.2.0.app/Contents/Developer/usr/bin/xcodebuild archive -configuration Release -sdk iphoneos -archivePath /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/build/iphoneos.xcarchive -UseNewBuildSystem=YES ONLY_ACTIVE_ARCH=NO SKIP_INSTALL=NO -scheme stripe_ios +[TRACE] [xcode-dist] User defaults from command line: +[TRACE] [xcode-dist] IDEArchivePathOverride = /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/build/iphoneos.xcarchive +[TRACE] [xcode-dist] IDEPackageSupportUseBuiltinSCM = YES +[TRACE] [xcode-dist] UseNewBuildSystem = YES +[TRACE] [xcode-dist] Build settings from command line: +[TRACE] [xcode-dist] ONLY_ACTIVE_ARCH = NO +[TRACE] [xcode-dist] SDKROOT = iphoneos15.2 +[TRACE] [xcode-dist] SKIP_INSTALL = NO +[TRACE] [xcode-dist] note: Using new build system +[TRACE] [xcode-dist] note: Planning +[TRACE] [xcode-dist] Analyze workspace +[TRACE] [xcode-dist] Create build description +[TRACE] [xcode-dist] Build description signature: b1d8f3d9fb50aac795198316ed338fd4 +[TRACE] [xcode-dist] Build description path: /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/XCBuildData/b1d8f3d9fb50aac795198316ed338fd4-desc.xcbuild +[TRACE] [xcode-dist] note: Build preparation complete +[TRACE] [xcode-dist] note: Building targets in dependency order +[TRACE] [xcode-dist] CreateBuildDirectory /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/InstallationBuildProductsLocation +[TRACE] [xcode-dist] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/stripe_ios.xcodeproj +[TRACE] [xcode-dist] builtin-create-build-directory /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/InstallationBuildProductsLocation +[TRACE] [xcode-dist] CreateBuildDirectory /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath +[TRACE] [xcode-dist] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/stripe_ios.xcodeproj +[TRACE] [xcode-dist] builtin-create-build-directory /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath +[TRACE] [xcode-dist] CreateBuildDirectory /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath +[TRACE] [xcode-dist] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/stripe_ios.xcodeproj +[TRACE] [xcode-dist] builtin-create-build-directory /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath +[TRACE] [xcode-dist] CreateBuildDirectory /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphoneos +[TRACE] [xcode-dist] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/stripe_ios.xcodeproj +[TRACE] [xcode-dist] builtin-create-build-directory /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphoneos +[TRACE] [xcode-dist] ProcessXCFramework /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform/StripeCameraCore.xcframework /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphoneos/StripeCameraCore.framework ios +[TRACE] [xcode-dist] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/stripe_ios.xcodeproj +[TRACE] [xcode-dist] builtin-process-xcframework --xcframework /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform/StripeCameraCore.xcframework --platform ios --target-path /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphoneos +[TRACE] [xcode-dist] ProcessXCFramework /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform/StripeIdentity.xcframework /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphoneos/StripeIdentity.framework ios +[TRACE] [xcode-dist] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/stripe_ios.xcodeproj +[TRACE] [xcode-dist] builtin-process-xcframework --xcframework /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform/StripeIdentity.xcframework --platform ios --target-path /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphoneos +[TRACE] [xcode-dist] ProcessXCFramework /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform/StripeCardScan.xcframework /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphoneos/StripeCardScan.framework ios +[TRACE] [xcode-dist] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/stripe_ios.xcodeproj +[TRACE] [xcode-dist] builtin-process-xcframework --xcframework /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform/StripeCardScan.xcframework --platform ios --target-path /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphoneos +[TRACE] [xcode-dist] ProcessXCFramework /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform/StripeApplePay.xcframework /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphoneos/StripeApplePay.framework ios +[TRACE] [xcode-dist] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/stripe_ios.xcodeproj +[TRACE] [xcode-dist] builtin-process-xcframework --xcframework /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform/StripeApplePay.xcframework --platform ios --target-path /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphoneos +[TRACE] [xcode-dist] ProcessXCFramework /Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphoneos/TitaniumKit.framework ios +[TRACE] [xcode-dist] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/stripe_ios.xcodeproj +[TRACE] [xcode-dist] builtin-process-xcframework --xcframework /Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework --platform ios --target-path /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphoneos +[TRACE] [xcode-dist] ProcessXCFramework /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform/StripeUICore.xcframework /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphoneos/StripeUICore.framework ios +[TRACE] [xcode-dist] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/stripe_ios.xcodeproj +[TRACE] [xcode-dist] builtin-process-xcframework --xcframework /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform/StripeUICore.xcframework --platform ios --target-path /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphoneos +[TRACE] [xcode-dist] ProcessXCFramework /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform/StripeCore.xcframework /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphoneos/StripeCore.framework ios +[TRACE] [xcode-dist] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/stripe_ios.xcodeproj +[TRACE] [xcode-dist] builtin-process-xcframework --xcframework /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform/StripeCore.xcframework --platform ios --target-path /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphoneos +[TRACE] [xcode-dist] ProcessXCFramework /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform/Stripe3DS2.xcframework /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphoneos/Stripe3DS2.framework ios +[TRACE] [xcode-dist] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/stripe_ios.xcodeproj +[TRACE] [xcode-dist] builtin-process-xcframework --xcframework /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform/Stripe3DS2.xcframework --platform ios --target-path /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphoneos +[TRACE] [xcode-dist] ProcessXCFramework /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform/Stripe.xcframework /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphoneos/Stripe.framework ios +[TRACE] [xcode-dist] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/stripe_ios.xcodeproj +[TRACE] [xcode-dist] builtin-process-xcframework --xcframework /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform/Stripe.xcframework --platform ios --target-path /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphoneos +[TRACE] [xcode-dist] SymLink /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphoneos/libcom.ravindra.stripe.a /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/InstallationBuildProductsLocation/usr/local/lib/libcom.ravindra.stripe.a (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-dist] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-dist] /bin/ln -sfh /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/InstallationBuildProductsLocation/usr/local/lib/libcom.ravindra.stripe.a /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphoneos/libcom.ravindra.stripe.a +[TRACE] [xcode-dist] WriteAuxiliaryFile /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/com.ravindra.stripe.hmap (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-dist] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-dist] write-file /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/com.ravindra.stripe.hmap +[TRACE] [xcode-dist] WriteAuxiliaryFile /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/com.ravindra.stripe-own-target-headers.hmap (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-dist] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-dist] write-file /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/com.ravindra.stripe-own-target-headers.hmap +[TRACE] [xcode-dist] WriteAuxiliaryFile /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/com.ravindra.stripe-generated-files.hmap (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-dist] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-dist] write-file /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/com.ravindra.stripe-generated-files.hmap +[TRACE] [xcode-dist] WriteAuxiliaryFile /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/com.ravindra.stripe-all-target-headers.hmap (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-dist] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-dist] write-file /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/com.ravindra.stripe-all-target-headers.hmap +[TRACE] [xcode-dist] WriteAuxiliaryFile /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/all-product-headers.yaml (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-dist] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-dist] write-file /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/all-product-headers.yaml +[TRACE] [xcode-dist] WriteAuxiliaryFile /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/com.ravindra.stripe-project-headers.hmap (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-dist] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-dist] write-file /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/com.ravindra.stripe-project-headers.hmap +[TRACE] [xcode-dist] WriteAuxiliaryFile /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/com.ravindra.stripe-all-non-framework-target-headers.hmap (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-dist] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-dist] write-file /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/com.ravindra.stripe-all-non-framework-target-headers.hmap +[TRACE] [xcode-dist] WriteAuxiliaryFile /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/Objects-normal/arm64/com.ravindra.stripe.LinkFileList (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-dist] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-dist] write-file /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/Objects-normal/arm64/com.ravindra.stripe.LinkFileList +[TRACE] [xcode-dist] ProcessPCH /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/PrecompiledHeaders/SharedPrecompiledHeaders/13914805350423691763/ComRavindraStripe_Prefix.pch.gch /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/ComRavindraStripe_Prefix.pch normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-dist] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-dist] +[TRACE] [xcode-dist] Precompile of '/Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/ComRavindraStripe_Prefix.pch' required by '/Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/Classes/ComRavindraStripeModule.m' +[TRACE] [xcode-dist] +[TRACE] [xcode-dist] /Applications/Xcode-13.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c-header -target arm64-apple-ios12.0 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=c99 -fobjc-arc -fmodules -fmodules-cache-path\=/Users/hans/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/hans/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wunreachable-code -Wquoted-include-in-framework-header -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wduplicate-method-match -Wno-missing-braces -Wno-parentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wno-unused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DTI_VERSION\= -DNDEBUG -DOBJC_OLD_DISPATCH_PROTOTYPES\=0 -isysroot /Applications/Xcode-13.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -fembed-bitcode -iquote /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/com.ravindra.stripe-generated-files.hmap -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/com.ravindra.stripe-own-target-headers.hmap -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/com.ravindra.stripe-all-target-headers.hmap -iquote /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/com.ravindra.stripe-project-headers.hmap -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphoneos/include -I/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA -I/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/DerivedSources-normal/arm64 -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/DerivedSources/arm64 -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/DerivedSources -Wno-arc-performSelector-leaks -F/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphoneos -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64 -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_x86_64-maccatalyst -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_x86_64-simulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64 -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-maccatalyst -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-simulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-maccatalyst/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-simulator/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64 -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_x86_64-maccatalyst -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_x86_64-simulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64 -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-maccatalyst -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-simulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Fra +[TRACE] [xcode-dist] meworks/tiverify.xcframework/ios-arm64_x86_64-maccatalyst/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-simulator/Headers -F/Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform -DTI_POST_1_2 -c /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/ComRavindraStripe_Prefix.pch -MD -MT dependencies -MF /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/PrecompiledHeaders/SharedPrecompiledHeaders/13914805350423691763/ComRavindraStripe_Prefix.pch.d -iquote /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/com.ravindra.stripe-generated-files.hmap -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/com.ravindra.stripe-own-target-headers.hmap -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/com.ravindra.stripe-all-target-headers.hmap -iquote /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/com.ravindra.stripe-project-headers.hmap -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphoneos/include -I/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA -I/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/DerivedSources-normal/arm64 -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/DerivedSources/arm64 -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/DerivedSources -o /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/PrecompiledHeaders/SharedPrecompiledHeaders/13914805350423691763/ComRavindraStripe_Prefix.pch.gch --serialize-diagnostics /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/PrecompiledHeaders/SharedPrecompiledHeaders/13914805350423691763/ComRavindraStripe_Prefix.pch.dia +[TRACE] [xcode-dist] CompileC /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/Objects-normal/arm64/ComRavindraStripeModuleAssets.o /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/Classes/ComRavindraStripeModuleAssets.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-dist] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-dist] export LANG\=en_US.US-ASCII +[TRACE] [xcode-dist] /Applications/Xcode-13.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target arm64-apple-ios12.0 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=c99 -fobjc-arc -fmodules -fmodules-cache-path\=/Users/hans/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/hans/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wunreachable-code -Wquoted-include-in-framework-header -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wduplicate-method-match -Wno-missing-braces -Wno-parentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wno-unused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DTI_VERSION\= -DNDEBUG -DOBJC_OLD_DISPATCH_PROTOTYPES\=0 -isysroot /Applications/Xcode-13.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -fembed-bitcode -iquote /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/com.ravindra.stripe-generated-files.hmap -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/com.ravindra.stripe-own-target-headers.hmap -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/com.ravindra.stripe-all-target-headers.hmap -iquote /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/com.ravindra.stripe-project-headers.hmap -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphoneos/include -I/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA -I/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/DerivedSources-normal/arm64 -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/DerivedSources/arm64 -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/DerivedSources -Wno-arc-performSelector-leaks -F/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphoneos -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64 -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_x86_64-maccatalyst -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_x86_64-simulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64 -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-maccatalyst -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-simulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-maccatalyst/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-simulator/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64 -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_x86_64-maccatalyst -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_x86_64-simulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64 -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-maccatalyst -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-simulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-maccatalyst/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-simulator/Headers -F/Users/hans/Docu +[TRACE] [xcode-dist] ments/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform -DTI_POST_1_2 -include /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/PrecompiledHeaders/SharedPrecompiledHeaders/13914805350423691763/ComRavindraStripe_Prefix.pch -MMD -MT dependencies -MF /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/Objects-normal/arm64/ComRavindraStripeModuleAssets.d --serialize-diagnostics /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/Objects-normal/arm64/ComRavindraStripeModuleAssets.dia -c /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/Classes/ComRavindraStripeModuleAssets.m -o /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/Objects-normal/arm64/ComRavindraStripeModuleAssets.o +[TRACE] [xcode-dist] CompileC /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/Objects-normal/arm64/ComRavindraStripeModule.o /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/Classes/ComRavindraStripeModule.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-dist] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-dist] export LANG\=en_US.US-ASCII +[TRACE] [xcode-dist] /Applications/Xcode-13.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target arm64-apple-ios12.0 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=c99 -fobjc-arc -fmodules -fmodules-cache-path\=/Users/hans/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/hans/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wunreachable-code -Wquoted-include-in-framework-header -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wduplicate-method-match -Wno-missing-braces -Wno-parentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wno-unused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DTI_VERSION\= -DNDEBUG -DOBJC_OLD_DISPATCH_PROTOTYPES\=0 -isysroot /Applications/Xcode-13.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -fembed-bitcode -iquote /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/com.ravindra.stripe-generated-files.hmap -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/com.ravindra.stripe-own-target-headers.hmap -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/com.ravindra.stripe-all-target-headers.hmap -iquote /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/com.ravindra.stripe-project-headers.hmap -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphoneos/include -I/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA -I/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/DerivedSources-normal/arm64 -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/DerivedSources/arm64 -I/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/DerivedSources -Wno-arc-performSelector-leaks -F/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphoneos -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64 -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_x86_64-maccatalyst -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_x86_64-simulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64 -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-maccatalyst -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-simulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-maccatalyst/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-simulator/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64 -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_x86_64-maccatalyst -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework/ios-arm64_x86_64-simulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64 -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-maccatalyst -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-simulator -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-maccatalyst/Headers -F/Users/hans/Library/Application\ Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/tiverify.xcframework/ios-arm64_x86_64-simulator/Headers -F/Users/hans/Documents/dev/St +[TRACE] [xcode-dist] ripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/platform -DTI_POST_1_2 -include /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/PrecompiledHeaders/SharedPrecompiledHeaders/13914805350423691763/ComRavindraStripe_Prefix.pch -MMD -MT dependencies -MF /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/Objects-normal/arm64/ComRavindraStripeModule.d --serialize-diagnostics /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/Objects-normal/arm64/ComRavindraStripeModule.dia -c /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/Classes/ComRavindraStripeModule.m -o /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/Objects-normal/arm64/ComRavindraStripeModule.o +[TRACE] [xcode-dist] Libtool /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/InstallationBuildProductsLocation/usr/local/lib/libcom.ravindra.stripe.a normal (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-dist] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-dist] export IPHONEOS_DEPLOYMENT_TARGET\=12.0 +[TRACE] [xcode-dist] /Applications/Xcode-13.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only arm64 -D -syslibroot /Applications/Xcode-13.2.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk -L/Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/BuildProductsPath/Release-iphoneos -filelist /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/Objects-normal/arm64/com.ravindra.stripe.LinkFileList -framework Stripe3DS2 -framework StripeIdentity -framework StripeCameraCore -framework StripeCore -framework Foundation -framework StripeApplePay -framework StripeUICore -framework TitaniumKit -framework Stripe -framework StripeCardScan -dependency_info /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/IntermediateBuildFilesPath/stripe_ios.build/Release-iphoneos/stripe_ios.build/Objects-normal/arm64/com.ravindra.stripe_libtool_dependency_info.dat -o /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/InstallationBuildProductsLocation/usr/local/lib/libcom.ravindra.stripe.a +[TRACE] [xcode-dist] Strip /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/InstallationBuildProductsLocation/usr/local/lib/libcom.ravindra.stripe.a (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-dist] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-dist] /Applications/Xcode-13.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip -S -T /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/InstallationBuildProductsLocation/usr/local/lib/libcom.ravindra.stripe.a +[TRACE] [xcode-dist] SetOwnerAndGroup hans:staff /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/InstallationBuildProductsLocation/usr/local/lib/libcom.ravindra.stripe.a (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-dist] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-dist] /usr/sbin/chown -RH hans:staff /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/InstallationBuildProductsLocation/usr/local/lib/libcom.ravindra.stripe.a +[TRACE] [xcode-dist] SetMode u+w,go-w,a+rX /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/InstallationBuildProductsLocation/usr/local/lib/libcom.ravindra.stripe.a (in target 'stripe_ios' from project 'stripe_ios') +[TRACE] [xcode-dist] cd /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios +[TRACE] [xcode-dist] /bin/chmod -RH u+w,go-w,a+rX /Users/hans/Library/Developer/Xcode/DerivedData/stripe_ios-guimihddpwvoonfyyspyaqnwsuqj/Build/Intermediates.noindex/ArchiveIntermediates/stripe_ios/InstallationBuildProductsLocation/usr/local/lib/libcom.ravindra.stripe.a +[TRACE] [xcode-dist] ** ARCHIVE SUCCEEDED ** +[INFO] macOS support disabled in Xcode project. Skipping … +[INFO] Creating universal library +[INFO] Looking for /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/build/iphoneos.xcarchive/Products/usr/local/lib/libcom.ravindra.stripe.a +[INFO] Looking for /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/build/iphonesimulator.xcarchive/Products/usr/local/lib/libcom.ravindra.stripe.a +[DEBUG] Running: /Applications/Xcode-13.2.0.app/Contents/Developer/usr/bin/xcodebuild -create-xcframework -library /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/build/iphoneos.xcarchive/Products/usr/local/lib/libcom.ravindra.stripe.a -headers /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/build/dummyheader/ -library /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/build/iphonesimulator.xcarchive/Products/usr/local/lib/libcom.ravindra.stripe.a -headers /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/build/dummyheader/ -output /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/build/com.ravindra.stripe.xcframework +[INFO] Verifying universal library +[WARN] The module is missing macOS support. +[INFO] Simulator has architectures: arm64,x86_64 +[INFO] Device has architectures: arm64 +[INFO] binarylibFile is /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/build/com.ravindra.stripe.xcframework +[INFO] Creating module zip +[INFO] Writing module zip: /Users/hans/Documents/dev/Stripe-module-for-Appcelerator-Titanium-iOS-and-Android/stripe_ios/ios/dist/com.ravindra.stripe-iphone-4.0.0.zip +[INFO] Project built successfully in 9s 839ms diff --git a/stripe_ios/ios/build/com.ravindra.stripe.xcframework/Info.plist b/stripe_ios/ios/build/com.ravindra.stripe.xcframework/Info.plist new file mode 100644 index 0000000..7fda3ff --- /dev/null +++ b/stripe_ios/ios/build/com.ravindra.stripe.xcframework/Info.plist @@ -0,0 +1,44 @@ + + + + + AvailableLibraries + + + HeadersPath + Headers + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + libcom.ravindra.stripe.a + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + HeadersPath + Headers + LibraryIdentifier + ios-arm64 + LibraryPath + libcom.ravindra.stripe.a + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/stripe_ios/ios/build/com.ravindra.stripe.xcframework/ios-arm64/Headers/.com.ravindra.stripe-keep b/stripe_ios/ios/build/com.ravindra.stripe.xcframework/ios-arm64/Headers/.com.ravindra.stripe-keep new file mode 100644 index 0000000..386f366 --- /dev/null +++ b/stripe_ios/ios/build/com.ravindra.stripe.xcframework/ios-arm64/Headers/.com.ravindra.stripe-keep @@ -0,0 +1 @@ +This file is to ensure the Headers directory gets checked into source control \ No newline at end of file diff --git a/stripe_ios/ios/build/com.ravindra.stripe.xcframework/ios-arm64/libcom.ravindra.stripe.a b/stripe_ios/ios/build/com.ravindra.stripe.xcframework/ios-arm64/libcom.ravindra.stripe.a new file mode 100644 index 0000000..6e95e7b Binary files /dev/null and b/stripe_ios/ios/build/com.ravindra.stripe.xcframework/ios-arm64/libcom.ravindra.stripe.a differ diff --git a/stripe_ios/ios/build/com.ravindra.stripe.xcframework/ios-arm64_x86_64-simulator/Headers/.com.ravindra.stripe-keep b/stripe_ios/ios/build/com.ravindra.stripe.xcframework/ios-arm64_x86_64-simulator/Headers/.com.ravindra.stripe-keep new file mode 100644 index 0000000..386f366 --- /dev/null +++ b/stripe_ios/ios/build/com.ravindra.stripe.xcframework/ios-arm64_x86_64-simulator/Headers/.com.ravindra.stripe-keep @@ -0,0 +1 @@ +This file is to ensure the Headers directory gets checked into source control \ No newline at end of file diff --git a/stripe_ios/ios/build/com.ravindra.stripe.xcframework/ios-arm64_x86_64-simulator/libcom.ravindra.stripe.a b/stripe_ios/ios/build/com.ravindra.stripe.xcframework/ios-arm64_x86_64-simulator/libcom.ravindra.stripe.a new file mode 100644 index 0000000..5b0ab3f Binary files /dev/null and b/stripe_ios/ios/build/com.ravindra.stripe.xcframework/ios-arm64_x86_64-simulator/libcom.ravindra.stripe.a differ diff --git a/stripe_ios/ios/build/iphoneos.xcarchive/Info.plist b/stripe_ios/ios/build/iphoneos.xcarchive/Info.plist new file mode 100644 index 0000000..5a92c3c --- /dev/null +++ b/stripe_ios/ios/build/iphoneos.xcarchive/Info.plist @@ -0,0 +1,14 @@ + + + + + ArchiveVersion + 2 + CreationDate + 2022-03-14T14:07:41Z + Name + stripe_ios + SchemeName + stripe_ios + + diff --git a/stripe_ios/ios/build/iphoneos.xcarchive/Products/usr/local/lib/libcom.ravindra.stripe.a b/stripe_ios/ios/build/iphoneos.xcarchive/Products/usr/local/lib/libcom.ravindra.stripe.a new file mode 100644 index 0000000..6e95e7b Binary files /dev/null and b/stripe_ios/ios/build/iphoneos.xcarchive/Products/usr/local/lib/libcom.ravindra.stripe.a differ diff --git a/stripe_ios/ios/build/iphonesimulator.xcarchive/Info.plist b/stripe_ios/ios/build/iphonesimulator.xcarchive/Info.plist new file mode 100644 index 0000000..b10ef2d --- /dev/null +++ b/stripe_ios/ios/build/iphonesimulator.xcarchive/Info.plist @@ -0,0 +1,14 @@ + + + + + ArchiveVersion + 2 + CreationDate + 2022-03-14T14:07:39Z + Name + stripe_ios + SchemeName + stripe_ios + + diff --git a/stripe_ios/ios/build/iphonesimulator.xcarchive/Products/usr/local/lib/libcom.ravindra.stripe.a b/stripe_ios/ios/build/iphonesimulator.xcarchive/Products/usr/local/lib/libcom.ravindra.stripe.a new file mode 100644 index 0000000..5b0ab3f Binary files /dev/null and b/stripe_ios/ios/build/iphonesimulator.xcarchive/Products/usr/local/lib/libcom.ravindra.stripe.a differ diff --git a/stripe_ios/ios/dist/com.ravindra.stripe-iphone-4.0.0.zip b/stripe_ios/ios/dist/com.ravindra.stripe-iphone-4.0.0.zip new file mode 100644 index 0000000..cbeff89 Binary files /dev/null and b/stripe_ios/ios/dist/com.ravindra.stripe-iphone-4.0.0.zip differ diff --git a/stripe_ios/ios/manifest b/stripe_ios/ios/manifest index 1e07913..2cdca8c 100644 --- a/stripe_ios/ios/manifest +++ b/stripe_ios/ios/manifest @@ -2,37 +2,18 @@ # this is your module manifest and used by Titanium # during compilation, packaging, distribution, etc. # -version: 3.0 +version: 4.0.0 apiversion: 2 -architectures: armv7 arm64 i386 x86_64 +architectures: arm64 x86_64 description: stripe_ios -author: Ravindra Chherke -license: The MIT License - -Copyright 2015 Ravindra Kumar Chherke - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. +author: Ravindra Church +license: MIT copyright: 2020 +mac: false # these should not be edited name: stripe_ios moduleid: com.ravindra.stripe guid: 7c1b9991-2bbe-4f2d-b2d6-40daeea8bd33 platform: iphone -minsdk: 8.0.0.GA +minsdk: 9.2.0.GA diff --git a/stripe_ios/ios/platform/README.md b/stripe_ios/ios/platform/README.md deleted file mode 100644 index 04e952f..0000000 --- a/stripe_ios/ios/platform/README.md +++ /dev/null @@ -1,11 +0,0 @@ -Files in this folder are copied directory into the iOS build directory -when the iOS app is compiled: - - /build/iphone - -You can place files such as asset catalog files, .framework files and storyboards in this -directory. - -Files in this directory are copied directly on top of whatever files are already -in the build directory, so please be careful that your files don't clobber -essential project files or files from other modules. diff --git a/stripe_ios/ios/platform/Stripe.framework/Assets.car b/stripe_ios/ios/platform/Stripe.framework/Assets.car deleted file mode 100644 index 7793d61..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/Assets.car and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/FauxPasAnnotations.h b/stripe_ios/ios/platform/Stripe.framework/Headers/FauxPasAnnotations.h deleted file mode 100644 index 2d18c9a..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/FauxPasAnnotations.h +++ /dev/null @@ -1,40 +0,0 @@ -// -// FauxPasAnnotations.h -// --- -// -// This file defines macros that can be used to suppress -// specific Faux Pas diagnostics within desired units of -// code. -// -// The arguments to the macros should be the short names of -// the rules whose diagnostics should be suppressed. The -// suppression macros should be present _inside_ whichever -// code entity they refer to. For example, if you wish -// to suppress diagnostics from the `NSLogUsed` and -// `DotSyntax` rules within an Objective-C method, you -// would do this: -// -// - (void) myMethod { -// FAUXPAS_IGNORED_IN_METHOD(NSLogUsed, DotSyntax) -// -// NSLog(@"Hello world from %@", self.class); -// } -// -// The FAUXPAS_IGNORED() macro refers to the innermost -// code entity it is contained in (an Obj-C method, a C -// function, or an Obj-C class). This macro cannot be used -// to suppress diagnostics within the whole file. For that, -// use the more explicit FAUXPAS_IGNORED_IN_FILE() macro. -// -// --- -// http://fauxpasapp.com -// - -#pragma once - -#define FAUXPAS_IGNORED(...) -#define FAUXPAS_IGNORED_IN_FILE(...) -#define FAUXPAS_IGNORED_IN_METHOD(...) -#define FAUXPAS_IGNORED_IN_FUNCTION(...) -#define FAUXPAS_IGNORED_IN_CLASS(...) -#define FAUXPAS_IGNORED_ON_LINE(...) diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STDSChallengeStatusReceiver.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STDSChallengeStatusReceiver.h deleted file mode 100644 index a06a32b..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STDSChallengeStatusReceiver.h +++ /dev/null @@ -1,61 +0,0 @@ -// -// STDSChallengeStatusReceiver.h -// Stripe3DS2 -// -// Created by Yuki Tokuhiro on 3/20/19. -// Copyright © 2019 Stripe. All rights reserved. -// - -#import -@class STDSTransaction, STDSCompletionEvent, STDSRuntimeErrorEvent, STDSProtocolErrorEvent; - -NS_ASSUME_NONNULL_BEGIN - -/** - Implement the `STDSChallengeStatusReceiver` protocol to receive challenge status notifications at the end of the challenge process. - @see `STDSTransaction.doChallenge` - */ -@protocol STDSChallengeStatusReceiver - -/** - Called when the challenge process is completed. - - @param completionEvent Information about the completion of the challenge process. @see `STDSCompletionEvent` - */ -- (void)transaction:(STDSTransaction *)transaction didCompleteChallengeWithCompletionEvent:(STDSCompletionEvent *)completionEvent; - -/** - Called when the user selects the option to cancel the transaction on the challenge screen. - */ -- (void)transactionDidCancel:(STDSTransaction *)transaction; - -/** - Called when the challenge process reaches or exceeds the timeout interval that was passed to `STDSTransaction.doChallenge` - */ -- (void)transactionDidTimeOut:(STDSTransaction *)transaction; - -/** - Called when the 3DS SDK receives an EMV 3-D Secure protocol-defined error message from the ACS. - - @param protocolErrorEvent The error code and details. @see `STDSProtocolErrorEvent` - */ -- (void)transaction:(STDSTransaction *)transaction didErrorWithProtocolErrorEvent:(STDSProtocolErrorEvent *)protocolErrorEvent; - -/** - Called when the 3DS SDK encounters errors during the challenge process. These errors include all errors except those covered by `didErrorWithProtocolErrorEvent`. - - @param runtimeErrorEvent The error code and details. @see `STDSRuntimeErrorEvent` - */ -- (void)transaction:(STDSTransaction *)transaction didErrorWithRuntimeErrorEvent:(STDSRuntimeErrorEvent *)runtimeErrorEvent; - -@optional - -/** - Optional method that will be called when the transaction displays a new challenge screen. - */ -- (void)transactionDidPresentChallengeScreen:(STDSTransaction *)transaction; - - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STDSErrorMessage.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STDSErrorMessage.h deleted file mode 100644 index 35bce4a..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STDSErrorMessage.h +++ /dev/null @@ -1,108 +0,0 @@ -// -// STDSErrorMessage.h -// Stripe3DS2 -// -// Created by Yuki Tokuhiro on 3/21/19. -// Copyright © 2019 Stripe. All rights reserved. -// - -#import - -#import "STDSJSONEncodable.h" -#import "STDSJSONDecodable.h" - -NS_ASSUME_NONNULL_BEGIN - -/// Error codes as defined by the 3DS2 spec. -typedef NS_ENUM(NSInteger, STDSErrorMessageCode) { - /// The SDK received a message that is not an ARes, CRes, or ErrorMessage. - STDSErrorMessageCodeInvalidMessage = 101, - - /// A required data element is missing from the network response. - STDSErrorMessageCodeRequiredDataElementMissing = 201, - - // Critical message extension not recognised - STDSErrorMessageCodeUnrecognizedCriticalMessageExtension = 202, - - /// A data element is not in the required format or the value is invalid. - STDSErrorMessageErrorInvalidDataElement = 203, - - // Transaction ID not recognized - STDSErrorMessageErrorTransactionIDNotRecognized = 301, - - /// A network response could not be decrypted or verified. - STDSErrorMessageErrorDataDecryptionFailure = 302, - - /// The SDK timed out - STDSErrorMessageErrorTimeout = 402, -}; - -/** - `STDSErrorMessage` represents an error message that is returned by the ACS or to be sent to the ACS. - */ -@interface STDSErrorMessage : NSObject - -/** - Designated initializer for `STDSErrorMessage`. - - @param errorCode The error code. - @param errorComponent The component that identified the error. - @param errorDescription Text describing the error. - @param errorDetails Additional error details. Optional. - */ -- (instancetype)initWithErrorCode:(NSString *)errorCode - errorComponent:(NSString *)errorComponent - errorDescription:(NSString *)errorDescription - errorDetails:(nullable NSString *)errorDetails - messageVersion:(NSString *)messageVersion - acsTransactionIdentifier:(nullable NSString *)acsTransactionIdentifier - errorMessageType:(NSString *)errorMessageType; - -/** - `STDSErrorMessage` should not be directly initialized. - */ -- (instancetype)init NS_UNAVAILABLE; - -/** - The error code. - */ -@property (nonatomic, readonly) NSString *errorCode; - -/** - The 3-D Secure component that identified the error. - */ -@property (nonatomic, readonly) NSString *errorComponent; - -/** - Text describing the error. - */ -@property (nonatomic, readonly) NSString *errorDescription; - -/** - Additional error details. - */ -@property (nonatomic, nullable, readonly) NSString *errorDetails; - -/** - The protocol version identifier. - */ -@property (nonatomic, readonly) NSString *messageVersion; - -/** - The ACS transaction identifier. - */ -@property (nonatomic, readonly, nullable) NSString *acsTransactionIdentifier; - -/** - The message type that was identified as erroneous. - */ -@property (nonatomic, readonly) NSString *errorMessageType; - -/** - A representation of the `STDSErrorMessage` as an `NSError` - */ -- (NSError *)NSErrorValue; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STDSTransaction.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STDSTransaction.h deleted file mode 100644 index 45d06e5..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STDSTransaction.h +++ /dev/null @@ -1,79 +0,0 @@ -// -// STDSTransaction.h -// Stripe3DS2 -// -// Created by Yuki Tokuhiro on 3/21/19. -// Copyright © 2019 Stripe. All rights reserved. -// - -#import -#import - -typedef void (^STDSTransactionVoidBlock)(void); - -@class STDSAuthenticationRequestParameters, STDSChallengeParameters; -@protocol STDSChallengeStatusReceiver; - -NS_ASSUME_NONNULL_BEGIN - -/** - `STDSTransaction` holds parameters that the 3DS Server requires to create AReq messages and to perform the Challenge Flow. - */ -@interface STDSTransaction : NSObject - -/** - The UI type of the presented challenge for this transaction if applicable. Will be one of - "none" - "text" - "single_select" - "multi_select" - "oob" - "html" - */ -@property (nonatomic, readonly, copy) NSString *presentedChallengeUIType; - -/** - Encrypts device information collected during initialization and returns it along with SDK details. - - @return Encrypted device information and details about this SDK. @see STDSAuthenticationRequestParameters - - @exception SDKRuntimeException Thrown if an internal error is encountered. - */ -- (STDSAuthenticationRequestParameters *)createAuthenticationRequestParameters; - -/** - Returns a UIViewController instance displaying the Directory Server logo and a spinner. Present this during the Authentication Request/Response. - */ -- (UIViewController *)createProgressViewControllerWithDidCancel:(STDSTransactionVoidBlock)didCancel; - -/** - Initiates the challenge process, displaying challenge UI as needed. - - @param presentingViewController The UIViewController used to present the challenge response UIViewController - @param challengeParameters Details required to conduct the challenge process. @see STDSChallengeParameters - @param challengeStatusReceiver A callback object to receive the status of the challenge. See @STDSChallengeStatusReceiver - @param timeout An interval in seconds within which the challenge process will finish. Must be at least 5 minutes. - - @exception STDSInvalidInputException Thrown if an argument is invalid (e.g. timeout less than 5 minutes). @see STDSInvalidInputException - @exception STDSSDKRuntimeException Thrown if an internal error is encountered, and if you call this method after calling `close`. @see SDKRuntimeException - */ -- (void)doChallengeWithViewController:(UIViewController *)presentingViewController - challengeParameters:(STDSChallengeParameters *)challengeParameters - challengeStatusReceiver:(id)challengeStatusReceiver - timeout:(NSTimeInterval)timeout; - -/** - Returns the version of the Stripe3DS2 SDK, e.g. @"1.0" - */ -- (NSString *)sdkVersion; - -/** -Cleans up resources held by `STDSTransaction`. Call this when the transaction is completed, if `doChallengeWithChallengeParameters:challengeStatusReceiver:timeout` is not called. - - @note Don't use this object after calling this method. Calling `doChallengeWithViewController:challengeParameters:challengeStatusReceiver:timeout` after calling this method will throw an `STDSSDKRuntimeException` - */ -- (void)close; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPAPIClient+ApplePay.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPAPIClient+ApplePay.h deleted file mode 100644 index 310903f..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPAPIClient+ApplePay.h +++ /dev/null @@ -1,71 +0,0 @@ -// -// STPAPIClient+ApplePay.h -// Stripe -// -// Created by Jack Flintermann on 12/19/14. -// - -#import -#import - -#import "STPAPIClient.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - STPAPIClient extensions to create Stripe Tokens, Sources, or PaymentMethods from Apple Pay PKPayment objects. - */ -@interface STPAPIClient (ApplePay) - -/** - Converts a PKPayment object into a Stripe token using the Stripe API. - - @param payment The user's encrypted payment information as returned from a PKPaymentAuthorizationViewController. Cannot be nil. - @param completion The callback to run with the returned Stripe token (and any errors that may have occurred). - */ -- (void)createTokenWithPayment:(PKPayment *)payment - completion:(STPTokenCompletionBlock)completion; - -/** - Converts a PKPayment object into a Stripe source using the Stripe API. - - @param payment The user's encrypted payment information as returned from a PKPaymentAuthorizationViewController. Cannot be nil. - @param completion The callback to run with the returned Stripe source (and any errors that may have occurred). - */ -- (void)createSourceWithPayment:(PKPayment *)payment - completion:(STPSourceCompletionBlock)completion; - -/** - Converts a PKPayment object into a Stripe Payment Method using the Stripe API. - - @param payment The user's encrypted payment information as returned from a PKPaymentAuthorizationViewController. Cannot be nil. - @param completion The callback to run with the returned Stripe source (and any errors that may have occurred). - */ -- (void)createPaymentMethodWithPayment:(PKPayment *)payment - completion:(STPPaymentMethodCompletionBlock)completion; - -/** - Converts Stripe errors into the appropriate Apple Pay error, for use in `PKPaymentAuthorizationResult`. The error is displayed in the Apple Pay sheet, and the user can try again. - - We can convert billing address related errors into a PKPaymentError that helpfully points to the billing address field in the Apple Pay sheet. - All other errors map to PKPaymentUnknownError, resulting in a generic error message in the Apple Pay sheet. - - Apple Pay should prevent most card errors (e.g. invalid CVC) when you add a card to the wallet. - - @param stripeError An error from the Stripe SDK. - @see ApplePayExampleViewController for an example of how to use this method in your Apple Pay integration. - */ -+ (nullable NSError *)pkPaymentErrorForStripeError:(nullable NSError *)stripeError API_AVAILABLE(ios(11.0), watchos(4.0)); - -@end - -NS_ASSUME_NONNULL_END - -/** - This function should not be called directly. - - It is used by the SDK when it is built as a static library to force the - compiler to link in category methods regardless of the integrating - app's compiler flags. - */ -void linkSTPAPIClientApplePayCategory(void); diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPAPIClient.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPAPIClient.h deleted file mode 100644 index b5f58be..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPAPIClient.h +++ /dev/null @@ -1,516 +0,0 @@ -// -// STPAPIClient.h -// StripeExample -// -// Created by Jack Flintermann on 12/18/14. -// Copyright (c) 2014 Stripe. All rights reserved. -// - -#import -#import - -#import "FauxPasAnnotations.h" -#import "STPBlocks.h" -#import "STPFile.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - The current version of this library. - */ -static NSString *const STPSDKVersion = @"19.2.0"; - -@class STPBankAccount, STPBankAccountParams, STPCard, STPCardParams, STPConnectAccountParams; -@class STPPaymentConfiguration, STPPaymentIntentParams, STPSourceParams, STPToken, STPPaymentMethodParams; -@class STPAppInfo, STPSetupIntentConfirmParams; - -/** - A top-level class that imports the rest of the Stripe SDK. - */ -@interface Stripe : NSObject FAUXPAS_IGNORED_ON_LINE(UnprefixedClass); - -/** - Set your Stripe API key with this method. New instances of STPAPIClient will be initialized with this value. You should call this method as early as - possible in your application's lifecycle, preferably in your AppDelegate. - - @param publishableKey Your publishable key, obtained from https://dashboard.stripe.com/apikeys - @warning Make sure not to ship your test API keys to the App Store! This will log a warning if you use your test key in a release build. - */ -+ (void)setDefaultPublishableKey:(NSString *)publishableKey; - -/** - The current default publishable key. - */ -+ (nullable NSString *)defaultPublishableKey; - -/** - A Boolean value that determines whether additional device data is sent to Stripe for fraud prevention. - - Returns YES if the Stripe SDK is collecting additional device data for fraud prevention. - For more details on the information we collect, visit https://stripe.com/docs/disputes/prevention/advanced-fraud-detection - The default value is YES. - */ -+ (BOOL)advancedFraudSignalsEnabled; - -/** - Set whether additional device data is sent to Stripe for fraud prevention. - - @param enabled If YES, additional device signals will be sent to Stripe. - For more details on the information we collect, visit https://stripe.com/docs/disputes/prevention/advanced-fraud-detection - Disabling this setting will reduce Stripe's ability to protect your business from fraudulent payments. - */ -+ (void)setAdvancedFraudSignalsEnabled:(BOOL)enabled; - -@end - -/** - A client for making connections to the Stripe API. - */ -@interface STPAPIClient : NSObject - -/** - A shared singleton API client. - - By default, the SDK uses this instance to make API requests - eg in STPPaymentHandler, STPPaymentContext, STPCustomerContext, etc. - */ -+ (instancetype)sharedClient; - -/** - Initializes an API client with the given publishable key. - - @param publishableKey The publishable key to use. - @return An instance of STPAPIClient. - */ -- (instancetype)initWithPublishableKey:(NSString *)publishableKey; - -/** - The client's publishable key. - - The default value is [Stripe defaultPublishableKey]. - */ -@property (nonatomic, copy, nullable) NSString *publishableKey; - -/** - The client's configuration. - - Defaults to [STPPaymentConfiguration sharedConfiguration]. - */ -@property (nonatomic, copy) STPPaymentConfiguration *configuration; - - -/** - In order to perform API requests on behalf of a connected account, e.g. to - create a Source or Payment Method on a connected account, set this property to the ID of the - account for which this request is being made. - - @see https://stripe.com/docs/connect/authentication#authentication-via-the-stripe-account-header - */ -@property (nonatomic, copy, nullable) NSString *stripeAccount; - -/** - Libraries wrapping the Stripe SDK should set this, so that Stripe can contact you about future issues or critical updates. - - @see https://stripe.com/docs/building-plugins#setappinfo - */ -@property (nonatomic, nullable) STPAppInfo *appInfo; - -@end - -#pragma mark Bank Accounts - -/** - STPAPIClient extensions to create Stripe tokens from bank accounts. - */ -@interface STPAPIClient (BankAccounts) - -/** - Converts an STPBankAccount object into a Stripe token using the Stripe API. - - @param bankAccount The user's bank account details. Cannot be nil. @see https://stripe.com/docs/api#create_bank_account_token - @param completion The callback to run with the returned Stripe token (and any errors that may have occurred). - */ -- (void)createTokenWithBankAccount:(STPBankAccountParams *)bankAccount completion:(__nullable STPTokenCompletionBlock)completion; - -@end - -#pragma mark Personally Identifiable Information - -/** - STPAPIClient extensions to create Stripe tokens from a personal identification number. - */ -@interface STPAPIClient (PII) - -/** - Converts a personal identification number into a Stripe token using the Stripe API. - - @param pii The user's personal identification number. Cannot be nil. @see https://stripe.com/docs/api#create_pii_token - @param completion The callback to run with the returned Stripe token (and any errors that may have occurred). - */ -- (void)createTokenWithPersonalIDNumber:(NSString *)pii completion:(__nullable STPTokenCompletionBlock)completion; - -/** -Converts the last 4 SSN digits into a Stripe token using the Stripe API. - -@param ssnLast4 The last 4 digits of the user's SSN. Cannot be nil. -@param completion The callback to run with the returned Stripe token (and any errors that may have occurred). -*/ -- (void)createTokenWithSSNLast4:(NSString *)ssnLast4 completion:(STPTokenCompletionBlock)completion; - -@end - -#pragma mark Connect Accounts - -/** - STPAPIClient extensions for working with Connect Accounts - */ -@interface STPAPIClient (ConnectAccounts) - - -/** - Converts an `STPConnectAccountParams` object into a Stripe token using the Stripe API. - - This allows the connected account to accept the Terms of Service, and/or send Legal Entity information. - - @param account The Connect Account parameters. Cannot be nil. - @param completion The callback to run with the returned Stripe token (and any errors that may have occurred). - */ -- (void)createTokenWithConnectAccount:(STPConnectAccountParams *)account completion:(__nullable STPTokenCompletionBlock)completion; - -@end - -#pragma mark Upload - -/** - STPAPIClient extensions to upload files. - */ -@interface STPAPIClient (Upload) - - -/** - Uses the Stripe file upload API to upload an image. This can be used for - identity verification and evidence disputes. - - @param image The image to be uploaded. The maximum allowed file size is 4MB - for identity documents and 8MB for evidence disputes. Cannot be nil. - Your image will be automatically resized down if you pass in one that - is too large - @param purpose The purpose of this file. This can be either an identifing - document or an evidence dispute. - @param completion The callback to run with the returned Stripe file - (and any errors that may have occurred). - - @see https://stripe.com/docs/file-upload - */ -- (void)uploadImage:(UIImage *)image - purpose:(STPFilePurpose)purpose - completion:(nullable STPFileCompletionBlock)completion; - -@end - -#pragma mark Credit Cards - -/** - STPAPIClient extensions to create Stripe tokens from credit or debit cards. - */ -@interface STPAPIClient (CreditCards) - -/** - Converts an STPCardParams object into a Stripe token using the Stripe API. - - @param card The user's card details. Cannot be nil. @see https://stripe.com/docs/api#create_card_token - @param completion The callback to run with the returned Stripe token (and any errors that may have occurred). - */ -- (void)createTokenWithCard:(STPCardParams *)card completion:(nullable STPTokenCompletionBlock)completion; - -/** - Converts a CVC string into a Stripe token using the Stripe API. - - @param cvc The CVC/CVV number used to create the token. Cannot be nil. - @param completion The callback to run with the returned Stripe token (and any errors that may have occurred). - */ -- (void)createTokenForCVCUpdate:(NSString *)cvc completion:(nullable STPTokenCompletionBlock)completion; - -@end - -/** - Convenience methods for working with Apple Pay. - */ -@interface Stripe(ApplePay) - -/** - Whether or not this device is capable of using Apple Pay. This checks both - whether the device supports Apple Pay, as well as whether or not they have - stored Apple Pay cards on their device. - - @param paymentRequest The return value of this method depends on the - `supportedNetworks` property of this payment request, which by default should be - `@[PKPaymentNetworkAmex, PKPaymentNetworkMasterCard, PKPaymentNetworkVisa, PKPaymentNetworkDiscover]`. - - @return whether or not the user is currently able to pay with Apple Pay. -*/ -+ (BOOL)canSubmitPaymentRequest:(PKPaymentRequest *)paymentRequest; - -/** - Whether or not this can make Apple Pay payments via a card network supported - by Stripe. - - The Stripe supported Apple Pay card networks are: - American Express, Visa, Mastercard, Discover. - - Japanese users can enable JCB by setting `JCBPaymentNetworkSupported` to YES, - after they have been approved by JCB. - - @return YES if the device is currently able to make Apple Pay payments via one - of the supported networks. NO if the user does not have a saved card of a - supported type, or other restrictions prevent payment (such as parental controls). - */ -+ (BOOL)deviceSupportsApplePay; - -/** - A convenience method to build a `PKPaymentRequest` with sane default values. - You will still need to configure the `paymentSummaryItems` property to indicate - what the user is purchasing, as well as the optional `requiredShippingAddressFields`, - `requiredBillingAddressFields`, and `shippingMethods` properties to indicate - what contact information your application requires. - Note that this method sets the payment request's countryCode to "US" and its - currencyCode to "USD". - - @param merchantIdentifier Your Apple Merchant ID. - - @return a `PKPaymentRequest` with proper default values. Returns nil if running on < iOS8. - @deprecated Use `paymentRequestWithMerchantIdentifier:country:currency:` instead. - Apple Pay is available in many countries and currencies, and you should use - the appropriate values for your business. - */ -+ (PKPaymentRequest *)paymentRequestWithMerchantIdentifier:(NSString *)merchantIdentifier __attribute__((deprecated)); - -/** - A convenience method to build a `PKPaymentRequest` with sane default values. - You will still need to configure the `paymentSummaryItems` property to indicate - what the user is purchasing, as well as the optional `requiredShippingAddressFields`, - `requiredBillingAddressFields`, and `shippingMethods` properties to indicate - what contact information your application requires. - - @param merchantIdentifier Your Apple Merchant ID. - @param countryCode The two-letter code for the country where the payment - will be processed. This should be the country of your Stripe account. - @param currencyCode The three-letter code for the currency used by this - payment request. Apple Pay interprets the amounts provided by the summary items - attached to this request as amounts in this currency. - - @return a `PKPaymentRequest` with proper default values. Returns nil if running on < iOS8. - */ -+ (PKPaymentRequest *)paymentRequestWithMerchantIdentifier:(NSString *)merchantIdentifier - country:(NSString *)countryCode - currency:(NSString *)currencyCode; - -/** - Japanese users can enable JCB for Apple Pay by setting this to `YES`, after they have been approved by JCB. - - The default value is NO. - @note JCB is only supported on iOS 10.1+ - */ -@property (class, nonatomic, getter=isJCBPaymentNetworkSupported) BOOL JCBPaymentNetworkSupported __attribute__((deprecated("Set additionalApplePayNetworks = @[PKPaymentNetworkJCB] instead"))); - -/** - The SDK accepts Amex, Mastercard, Visa, and Discover for Apple Pay. - Set this property to enable other card networks in addition to these. - - For example, `additionalEnabledApplePayNetworks = @[PKPaymentNetworkJCB];` enables JCB (note this requires onboarding from JCB and Stripe). - */ -@property (class, nonatomic, copy, nonnull) NSArray *additionalEnabledApplePayNetworks; - -@end - -#pragma mark Sources - -/** - STPAPIClient extensions for working with Source objects - */ -@interface STPAPIClient (Sources) - -/** - Creates a Source object using the provided details. - Note: in order to create a source on a connected account, you can set your - API client's `stripeAccount` property to the ID of the account. - @see https://stripe.com/docs/sources/connect#creating-direct-charges - - @param params The details of the source to create. Cannot be nil. @see https://stripe.com/docs/api#create_source - @param completion The callback to run with the returned Source object, or an error. - */ -- (void)createSourceWithParams:(STPSourceParams *)params completion:(STPSourceCompletionBlock)completion; - -/** - Retrieves the Source object with the given ID. @see https://stripe.com/docs/api#retrieve_source - - @param identifier The identifier of the source to be retrieved. Cannot be nil. - @param secret The client secret of the source. Cannot be nil. - @param completion The callback to run with the returned Source object, or an error. - */ -- (void)retrieveSourceWithId:(NSString *)identifier clientSecret:(NSString *)secret completion:(STPSourceCompletionBlock)completion; - -/** - Starts polling the Source object with the given ID. For payment methods that require - additional customer action (e.g. authorizing a payment with their bank), polling - allows you to determine if the action was successful. Polling will stop and the - provided callback will be called once the source's status is no longer `pending`, - or if the given timeout is reached and the source is still `pending`. If polling - stops due to an error, the callback will be fired with the latest retrieved - source and the error. - - Note that if a poll is already running for a source, subsequent calls to `startPolling` - with the same source ID will do nothing. - - @param identifier The identifier of the source to be retrieved. Cannot be nil. - @param secret The client secret of the source. Cannot be nil. - @param timeout The timeout for the polling operation, in seconds. Timeouts are capped at 5 minutes. - @param completion The callback to run with the returned Source object, or an error. - */ -- (void)startPollingSourceWithId:(NSString *)identifier clientSecret:(NSString *)secret timeout:(NSTimeInterval)timeout completion:(STPSourceCompletionBlock)completion NS_EXTENSION_UNAVAILABLE("Source polling is not available in extensions") DEPRECATED_MSG_ATTRIBUTE("You should poll your own backend to update based on source status change webhook events it may receive."); - -/** - Stops polling the Source object with the given ID. Note that the completion block passed to - `startPolling` will not be fired when `stopPolling` is called. - - @param identifier The identifier of the source to be retrieved. Cannot be nil. - */ -- (void)stopPollingSourceWithId:(NSString *)identifier NS_EXTENSION_UNAVAILABLE("Source polling is not available in extensions") DEPRECATED_ATTRIBUTE; - -@end - -#pragma mark Payment Intents - -/** - STPAPIClient extensions for working with PaymentIntent objects. - */ -@interface STPAPIClient (PaymentIntents) - -/** - Retrieves the PaymentIntent object using the given secret. @see https://stripe.com/docs/api#retrieve_payment_intent - - @param secret The client secret of the payment intent to be retrieved. Cannot be nil. - @param completion The callback to run with the returned PaymentIntent object, or an error. - */ -- (void)retrievePaymentIntentWithClientSecret:(NSString *)secret - completion:(STPPaymentIntentCompletionBlock)completion; - -/** - Confirms the PaymentIntent object with the provided params object. - - At a minimum, the params object must include the `clientSecret`. - - @see https://stripe.com/docs/api#confirm_payment_intent - - @note Use the `confirmPayment:withAuthenticationContext:completion:` method on `STPPaymentHandler` instead - of calling this method directly. It handles any authentication necessary for you. @see https://stripe.com/docs/mobile/ios/authentication - @param paymentIntentParams The `STPPaymentIntentParams` to pass to `/confirm` - @param completion The callback to run with the returned PaymentIntent object, or an error. - */ -- (void)confirmPaymentIntentWithParams:(STPPaymentIntentParams *)paymentIntentParams - completion:(STPPaymentIntentCompletionBlock)completion; - -@end - -#pragma mark Setup Intents - -/** - STPAPIClient extensions for working with SetupIntent objects. - */ -@interface STPAPIClient (SetupIntents) - -/** - Retrieves the SetupIntent object using the given secret. @see https://stripe.com/docs/api/setup_intents/retrieve - - @param secret The client secret of the SetupIntent to be retrieved. Cannot be nil. - @param completion The callback to run with the returned SetupIntent object, or an error. - */ -- (void)retrieveSetupIntentWithClientSecret:(NSString *)secret - completion:(STPSetupIntentCompletionBlock)completion; - -/** - Confirms the SetupIntent object with the provided params object. - - At a minimum, the params object must include the `clientSecret`. - - @see https://stripe.com/docs/api/setup_intents/confirm - - @note Use the `confirmSetupIntent:withAuthenticationContext:completion:` method on `STPPaymentHandler` instead - of calling this method directly. It handles any authentication necessary for you. @see https://stripe.com/docs/mobile/ios/authentication - @param setupIntentParams The `STPSetupIntentConfirmParams` to pass to `/confirm` - @param completion The callback to run with the returned PaymentIntent object, or an error. - */ -- (void)confirmSetupIntentWithParams:(STPSetupIntentConfirmParams *)setupIntentParams - completion:(STPSetupIntentCompletionBlock)completion; - -@end - - -#pragma mark Payment Methods - -/** - STPAPIClient extensions for working with PaymentMethod objects. - */ -@interface STPAPIClient (PaymentMethods) - -/** - Creates a PaymentMethod object with the provided params object. - - @see https://stripe.com/docs/api/payment_methods/create - - @param paymentMethodParams The `STPPaymentMethodParams` to pass to `/v1/payment_methods`. Cannot be nil. - @param completion The callback to run with the returned PaymentMethod object, or an error. - */ -- (void)createPaymentMethodWithParams:(STPPaymentMethodParams *)paymentMethodParams - completion:(STPPaymentMethodCompletionBlock)completion; - -@end - -#pragma mark URL callbacks - -/** - Stripe extensions for working with URL callbacks - */ -@interface Stripe (STPURLCallbackHandlerAdditions) - -/** - Call this method in your app delegate whenever you receive an URL in your - app delegate for a Stripe callback. - - For convenience, you can pass all URL's you receive in your app delegate - to this method first, and check the return value - to easily determine whether it is a callback URL that Stripe will handle - or if your app should process it normally. - - If you are using a universal link URL, you will receive the callback in `application:continueUserActivity:restorationHandler:` - To learn more about universal links, see https://developer.apple.com/library/content/documentation/General/Conceptual/AppSearch/UniversalLinks.html - - If you are using a native scheme URL, you will receive the callback in `application:openURL:options:` - To learn more about native url schemes, see https://developer.apple.com/library/content/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/Inter-AppCommunication/Inter-AppCommunication.html#//apple_ref/doc/uid/TP40007072-CH6-SW10 - - @param url The URL that you received in your app delegate - - @return YES if the URL is expected and will be handled by Stripe. NO otherwise. - */ -+ (BOOL)handleStripeURLCallbackWithURL:(NSURL *)url; - -@end - -#pragma mark - Deprecated - -/** - Deprecated STPAPIClient methods - */ -@interface STPAPIClient (Deprecated) - -/** - Initializes an API client with the given configuration. - - @param configuration The configuration to use. - @return An instance of STPAPIClient. - */ -- (instancetype)initWithConfiguration:(STPPaymentConfiguration *)configuration DEPRECATED_MSG_ATTRIBUTE("This initializer previously configured publishableKey and stripeAccount via the STPPaymentConfiguration instance. This behavior is deprecated; set the STPAPIClient configuration, publishableKey, and stripeAccount properties directly on the STPAPIClient instead."); - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPAPIResponseDecodable.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPAPIResponseDecodable.h deleted file mode 100644 index 046c32b..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPAPIResponseDecodable.h +++ /dev/null @@ -1,34 +0,0 @@ -// -// STPAPIResponseDecodable.h -// Stripe -// -// Created by Jack Flintermann on 10/14/15. -// Copyright © 2015 Stripe, Inc. All rights reserved. -// - -#import - -/** - Objects conforming to STPAPIResponseDecodable can be automatically converted - from a JSON dictionary that was returned from the Stripe API. - */ -@protocol STPAPIResponseDecodable - -/** - Parses an response from the Stripe API (in JSON format; represented as - an `NSDictionary`) into an instance of the class. - - @param response The JSON dictionary that represents an object of this type - - @return The object represented by the JSON dictionary, or nil if the object - could not be decoded (i.e. if one of its `requiredFields` is nil). - */ -+ (nullable instancetype)decodedObjectFromAPIResponse:(nullable NSDictionary *)response; - -/** - The raw JSON response used to create the object. This can be useful for accessing - fields that haven't yet been made into native properties in the SDK. - */ -@property (nonatomic, readonly, nonnull, copy) NSDictionary *allResponseFields; - -@end diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPAUBECSDebitFormView.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPAUBECSDebitFormView.h deleted file mode 100644 index 13b595a..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPAUBECSDebitFormView.h +++ /dev/null @@ -1,72 +0,0 @@ -// -// STPAUBECSDebitFormView.h -// StripeiOS -// -// Created by Cameron Sabol on 3/4/20. -// Copyright © 2020 Stripe, Inc. All rights reserved. -// - -#import "STPMultiFormTextField.h" - -NS_ASSUME_NONNULL_BEGIN - -@class STPAUBECSDebitFormView; -@class STPPaymentMethodParams; - -/** - STPAUBECSDebitFormViewDelegate provides methods for STPAUBECSDebitFormView to inform its delegate - of when the form has been completed. - */ -@protocol STPAUBECSDebitFormViewDelegate - -/** - Called when the form transitions from complete to incomplete or vice-versa. - @param form The `STPAUBECSDebitFormView` instance whose completion state has changed - @param complete Whether the form is considered complete and can generate an `STPPaymentMethodParams` instance. - */ -- (void)auBECSDebitForm:(STPAUBECSDebitFormView *)form didChangeToStateComplete:(BOOL)complete; - -@end - -/** - STPAUBECSDebitFormView is a subclass of UIControl that contains all of the necessary fields and legal text for collecting AU BECS Debit payments. - For additional customization options @see STPFormTextFieldContainer - */ -@interface STPAUBECSDebitFormView : STPMultiFormTextField - -/** - @param companyName The name of the company collecting AU BECS Debit payment details information. This will be used to provide the required service agreement text. @see https://stripe.com/au-becs/legal - */ -- (instancetype)initWithCompanyName:(NSString *)companyName NS_DESIGNATED_INITIALIZER; - -/** - Use initWithCompanyName instead. - */ -- (nullable instancetype)initWithCoder:(NSCoder *)coder NS_UNAVAILABLE; - -/** - Use initWithCompanyName instead. - */ -- (instancetype)initWithFrame:(CGRect)frame NS_UNAVAILABLE; - -/** - The background color for the form text fields. Defaults to [UIColor systemBackgroundColor] on iOS 13.0 and later, [UIColor whiteColor] on earlier iOS versions. - - Set this property to nil to reset to the default. - */ -@property (nonatomic, copy, null_resettable) UIColor *formBackgroundColor UI_APPEARANCE_SELECTOR; - -/** - The delegate to inform about changes to this STPAUBECSDebitFormView instance. - */ -@property (nonatomic, weak) id becsDebitFormDelegate; - -/** - This property will return a non-nil value if and only if the form is in a complete state. The `STPPaymentMethodParams` instance - will have it's `auBECSDebit` property populated with the values input in this form. - */ -@property (nonatomic, nullable, readonly) STPPaymentMethodParams *paymentMethodParams; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPAddCardViewController.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPAddCardViewController.h deleted file mode 100644 index eac9c90..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPAddCardViewController.h +++ /dev/null @@ -1,140 +0,0 @@ -// -// STPAddCardViewController.h -// Stripe -// -// Created by Jack Flintermann on 3/23/16. -// Copyright © 2016 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPAPIClient.h" -#import "STPAddress.h" -#import "STPBlocks.h" -#import "STPCoreTableViewController.h" -#import "STPPaymentConfiguration.h" -#import "STPTheme.h" -#import "STPUserInformation.h" - -NS_ASSUME_NONNULL_BEGIN - -@class STPAddCardViewController, STPAPIClient; -@protocol STPAddCardViewControllerDelegate; - -/** This view controller contains a credit card entry form that the user can fill out. On submission, it will use the Stripe API to convert the user's card details to a Stripe token. It renders a right bar button item that submits the form, so it must be shown inside a `UINavigationController`. - */ -@interface STPAddCardViewController : STPCoreTableViewController - -/** - A convenience initializer; equivalent to calling `initWithConfiguration:[STPPaymentConfiguration sharedConfiguration] theme:[STPTheme defaultTheme]`. - */ -- (instancetype)init; - -/** - Initializes a new `STPAddCardViewController` with the provided configuration and theme. Don't forget to set the `delegate` property after initialization. - - @param configuration The configuration to use (this determines the Stripe publishable key to use, the required billing address fields, whether or not to use SMS autofill, etc). @see STPPaymentConfiguration - @param theme The theme to use to inform the view controller's visual appearance. @see STPTheme - */ -- (instancetype)initWithConfiguration:(STPPaymentConfiguration *)configuration - theme:(STPTheme *)theme; - -/** - The view controller's delegate. This must be set before showing the view controller in order for it to work properly. @see STPAddCardViewControllerDelegate - */ -@property (nonatomic, weak, nullable) iddelegate; - -/** - You can set this property to pre-fill any information you've already collected from your user. @see STPUserInformation.h - */ -@property (nonatomic, strong, nullable) STPUserInformation *prefilledInformation; - -/** - Provide this view controller with a footer view. - - When the footer view needs to be resized, it will be sent a - `sizeThatFits:` call. The view should respond correctly to this method in order - to be sized and positioned properly. - */ -@property (nonatomic, strong, nullable) UIView *customFooterView; - -/** - The API Client to use to make requests. - - Defaults to [STPAPIClient sharedClient] - */ -@property (nonatomic, strong) STPAPIClient *apiClient; - -/** - Use init: or initWithConfiguration:theme: - */ -- (instancetype)initWithTheme:(STPTheme *)theme NS_UNAVAILABLE; - -/** - Use init: or initWithConfiguration:theme: - */ -- (instancetype)initWithNibName:(nullable NSString *)nibNameOrNil - bundle:(nullable NSBundle *)nibBundleOrNil NS_UNAVAILABLE; - -/** - Use init: or initWithConfiguration:theme: - */ -- (nullable instancetype)initWithCoder:(NSCoder *)aDecoder NS_UNAVAILABLE; - -@end - -/** - An `STPAddCardViewControllerDelegate` is notified when an `STPAddCardViewController` - successfully creates a card token or is cancelled. It has internal error-handling - logic, so there's no error case to deal with. - */ -@protocol STPAddCardViewControllerDelegate - -/** - Called when the user cancels adding a card. You should dismiss (or pop) the - view controller at this point. - - @param addCardViewController the view controller that has been cancelled - */ -- (void)addCardViewControllerDidCancel:(STPAddCardViewController *)addCardViewController; - -@optional - -/** - This is called when the user successfully adds a card and Stripe returns a - Payment Method. - - You should send the PaymentMethod to your backend to store it on a customer, and then - call the provided `completion` block when that call is finished. If an error - occurs while talking to your backend, call `completion(error)`, otherwise, - dismiss (or pop) the view controller. - - @param addCardViewController the view controller that successfully created a token - @param paymentMethod the Payment Method that was created. @see STPPaymentMethod - @param completion call this callback when you're done sending the token to your backend - */ -- (void)addCardViewController:(STPAddCardViewController *)addCardViewController - didCreatePaymentMethod:(STPPaymentMethod *)paymentMethod - completion:(STPErrorBlock)completion; - -# pragma mark - Deprecated - -/** - This method is deprecated as of v16.0.0 (https://github.com/stripe/stripe-ios/blob/master/MIGRATING.md#migrating-from-versions--1600). - To use this class, migrate your integration from Charges to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read - */ -- (void)addCardViewController:(STPAddCardViewController *)addCardViewController - didCreateToken:(STPToken *)token - completion:(STPErrorBlock)completion __attribute__((deprecated("Use addCardViewController:didCreatePaymentMethod:completion: instead and migrate your integration to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read", "addCardViewController:didCreatePaymentMethod:completion:"))); - -/** - This method is deprecated as of v16.0.0 (https://github.com/stripe/stripe-ios/blob/master/MIGRATING.md#migrating-from-versions--1600). - To use this class, migrate your integration from Charges to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read -*/ -- (void)addCardViewController:(STPAddCardViewController *)addCardViewController - didCreateSource:(STPSource *)source - completion:(STPErrorBlock)completion __attribute__((deprecated("Use addCardViewController:didCreatePaymentMethod:completion: instead and migrate your integration to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read", "addCardViewController:didCreatePaymentMethod:completion:"))); - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPAddress.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPAddress.h deleted file mode 100644 index a4cc6d2..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPAddress.h +++ /dev/null @@ -1,286 +0,0 @@ -// -// STPAddress.h -// Stripe -// -// Created by Ben Guo on 4/13/16. -// Copyright © 2016 Stripe, Inc. All rights reserved. -// - -#import -#import - -#import "STPAPIResponseDecodable.h" -#import "STPFormEncodable.h" - -@class CNContact; -@class STPPaymentMethodBillingDetails; - -NS_ASSUME_NONNULL_BEGIN - -/** - What set of billing address information you need to collect from your user. - - @note If the user is from a country that does not use zip/postal codes, - the user may not be asked for one regardless of this setting. - */ -typedef NS_ENUM(NSUInteger, STPBillingAddressFields) { - /** - No billing address information - */ - STPBillingAddressFieldsNone, - /** - Just request the user's billing postal code - */ - STPBillingAddressFieldsPostalCode, - /** - Request the user's full billing address - */ - STPBillingAddressFieldsFull, - - /** - Just request the user's billing name - */ - STPBillingAddressFieldsName, - /** - Just request the user's billing ZIP (synonym for STPBillingAddressFieldsZip) - @deprecated Use STPBillingAddressFieldsPostalCode instead. - */ - STPBillingAddressFieldsZip __attribute__((deprecated("Use STPBillingAddressFieldsPostalCode", "STPBillingAddressFieldsPostalCode"))) = STPBillingAddressFieldsPostalCode, -}; - - -/** - Constants that represent different parts of a users contact/address information. - */ -typedef NSString * STPContactField NS_STRING_ENUM; - -/** - The contact's full physical address. - */ -extern STPContactField const STPContactFieldPostalAddress; - -/** - The contact's email address. - */ -extern STPContactField const STPContactFieldEmailAddress; - -/** - The contact's phone number. - */ -extern STPContactField const STPContactFieldPhoneNumber; - -/** - The contact's name. - */ -extern STPContactField const STPContactFieldName; - -/** - STPAddress Contains an address as represented by the Stripe API. - */ -@interface STPAddress : NSObject - -/** - The user's full name (e.g. "Jane Doe") - */ -@property (nonatomic, copy, nullable) NSString *name; - -/** - The first line of the user's street address (e.g. "123 Fake St") - */ -@property (nonatomic, copy, nullable) NSString *line1; - -/** - The apartment, floor number, etc of the user's street address (e.g. "Apartment 1A") - */ -@property (nonatomic, copy, nullable) NSString *line2; - -/** - The city in which the user resides (e.g. "San Francisco") - */ -@property (nonatomic, copy, nullable) NSString *city; - -/** - The state in which the user resides (e.g. "CA") - */ -@property (nonatomic, copy, nullable) NSString *state; - -/** - The postal code in which the user resides (e.g. "90210") - */ -@property (nonatomic, copy, nullable) NSString *postalCode; - -/** - The ISO country code of the address (e.g. "US") - */ -@property (nonatomic, copy, nullable) NSString *country; - -/** - The phone number of the address (e.g. "8885551212") - */ -@property (nonatomic, copy, nullable) NSString *phone; - -/** - The email of the address (e.g. "jane@doe.com") - */ -@property (nonatomic, copy, nullable) NSString *email; - -/** - When creating a charge on your backend, you can attach shipping information - to prevent fraud on a physical good. You can use this method to turn your user's - shipping address and selected shipping method into a hash suitable for attaching - to a charge. You should pass this to your backend, and use it as the `shipping` - parameter when creating a charge. - @see https://stripe.com/docs/api#create_charge-shipping - - @param address The user's shipping address. If nil, this method will return nil. - @param method The user's selected shipping method. May be nil. - */ -+ (nullable NSDictionary *)shippingInfoForChargeWithAddress:(nullable STPAddress *)address - shippingMethod:(nullable PKShippingMethod *)method; - -/** - Initializes a new STPAddress with data from STPPaymentMethodBillingDetails. - - @param billingDetails The STPPaymentMethodBillingDetails instance you want to populate the STPAddress from. - @return A new STPAddress instance with data copied from the passed in billing details. - */ -- (instancetype)initWithPaymentMethodBillingDetails:(STPPaymentMethodBillingDetails *)billingDetails; - -/** - Initializes a new STPAddress with data from an PassKit contact. - - @param contact The PassKit contact you want to populate the STPAddress from. - @return A new STPAddress instance with data copied from the passed in contact. - */ -- (instancetype)initWithPKContact:(PKContact *)contact; - -/** - Generates a PassKit contact representation of this STPAddress. - - @return A new PassKit contact with data copied from this STPAddress instance. - */ -- (PKContact *)PKContactValue; - -/** - Initializes a new STPAddress with a contact from the Contacts framework. - - @param contact The CNContact you want to populate the STPAddress from. - - @return A new STPAddress instance with data copied from the passed in contact. - */ -- (instancetype)initWithCNContact:(CNContact *)contact; - - -/** - Checks if this STPAddress has the level of valid address information - required by the passed in setting. - - @param requiredFields The required level of billing address information to - check against. - - @return YES if this address contains at least the necessary information, - NO otherwise. - */ -- (BOOL)containsRequiredFields:(STPBillingAddressFields)requiredFields; - -/** - Checks if this STPAddress has any content (possibly invalid) in any of the - desired billing address fields. - - Where `containsRequiredFields:` validates that this STPAddress contains valid data in - all of the required fields, this method checks for the existence of *any* data. - - For example, if `desiredFields` is `STPBillingAddressFieldsZip`, this will check - if the postalCode is empty. - - Note: When `desiredFields == STPBillingAddressFieldsNone`, this method always returns - NO. - - @parameter desiredFields The billing address information the caller is interested in. - @return YES if there is any data in this STPAddress that's relevant for those fields. - */ -- (BOOL)containsContentForBillingAddressFields:(STPBillingAddressFields)desiredFields; - -/** - Checks if this STPAddress has the level of valid address information - required by the passed in setting. - - Note: When `requiredFields == nil`, this method always returns - YES. - - @param requiredFields The required shipping address information to check against. - - @return YES if this address contains at least the necessary information, - NO otherwise. - */ -- (BOOL)containsRequiredShippingAddressFields:(nullable NSSet *)requiredFields; - -/** - Checks if this STPAddress has any content (possibly invalid) in any of the - desired shipping address fields. - - Where `containsRequiredShippingAddressFields:` validates that this STPAddress - contains valid data in all of the required fields, this method checks for the - existence of *any* data. - - Note: When `desiredFields == nil`, this method always returns - NO. - - @parameter desiredFields The shipping address information the caller is interested in. - @return YES if there is any data in this STPAddress that's relevant for those fields. - */ -- (BOOL)containsContentForShippingAddressFields:(nullable NSSet *)desiredFields; - -#if !(defined(TARGET_OS_MACCATALYST) && (TARGET_OS_MACCATALYST != 0)) - -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wdeprecated" -/** - Converts an STPBillingAddressFields enum value into the closest equivalent - representation of PKAddressField options - - @param billingAddressFields Stripe billing address fields enum value to convert. - @return The closest representation of the billing address requirement as - a PKAddressField value. - */ -+ (PKAddressField)applePayAddressFieldsFromBillingAddressFields:(STPBillingAddressFields)billingAddressFields; -#pragma clang diagnostic pop - -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wdeprecated" -/** - Converts a set of STPContactField values into the closest equivalent - representation of PKAddressField options - - @param contactFields Stripe contact fields values to convert. - @return The closest representation of the contact fields as - a PKAddressField value. - */ -+ (PKAddressField)pkAddressFieldsFromStripeContactFields:(nullable NSSet *)contactFields; -#pragma clang diagnostic pop - -#endif - -/** - Converts an STPBillingAddressFields enum value into the closest equivalent - representation of PKContactField options - - @param billingAddressFields Stripe billing address fields enum value to convert. - @return The closest representation of the billing address requirement as - a PKContactField value. - */ -+ (NSSet *)applePayContactFieldsFromBillingAddressFields:(STPBillingAddressFields)billingAddressFields API_AVAILABLE(ios(11.0)); - -/** - Converts a set of STPContactField values into the closest equivalent - representation of PKContactField options - - @param contactFields Stripe contact fields values to convert. - @return The closest representation of the contact fields as - a PKContactField value. - */ -+ (nullable NSSet *)pkContactFieldsFromStripeContactFields:(nullable NSSet *)contactFields API_AVAILABLE(ios(11.0)); - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPAppInfo.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPAppInfo.h deleted file mode 100644 index c90505d..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPAppInfo.h +++ /dev/null @@ -1,60 +0,0 @@ -// -// STPAppInfo.h -// StripeiOS -// -// Created by Yuki Tokuhiro on 6/20/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Libraries wrapping the Stripe SDK should use this object to provide information about the library, and set it - in on `STPAPIClient`. This information is passed to Stripe so that we can contact you about future issues or critical updates. - @see https://stripe.com/docs/building-plugins#setappinfo - */ -@interface STPAppInfo : NSObject - -/** - Initializes an instance of `STPAppInfo`. - - @param name The name of your library (e.g. "MyAwesomeLibrary"). - @param partnerId Your Stripe Partner ID (e.g. "pp_partner_1234"). - @param version The version of your library (e.g. "1.2.34"). Optional. - @param url The website for your library (e.g. "https://myawesomelibrary.info"). Optional. - */ -- (instancetype)initWithName:(NSString *)name - partnerId:(NSString *)partnerId - version:(nullable NSString *)version - url:(nullable NSString *)url; - -/** - Use `initWithName:partnerId:version:url:` instead. - */ -- (instancetype)init NS_UNAVAILABLE; - -/** - The name of your library (e.g. "MyAwesomeLibrary"). - */ -@property (nonatomic, readonly) NSString *name; - -/** - Your Stripe Partner ID (e.g. "pp_partner_1234"). - */ -@property (nonatomic, readonly) NSString *partnerId; - -/** - The version of your library (e.g. "1.2.34"). - */ -@property (nonatomic, nullable, readonly) NSString *version; - -/** - The website for your library (e.g. "https://myawesomelibrary.info"). - */ -@property (nonatomic, nullable, readonly) NSString *url; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPApplePayContext.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPApplePayContext.h deleted file mode 100644 index 64d18a2..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPApplePayContext.h +++ /dev/null @@ -1,145 +0,0 @@ -// -// STPApplePayContext.h -// Stripe -// -// Created by Yuki Tokuhiro on 2/20/20. -// Copyright © 2020 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPBlocks.h" - -@class STPAPIClient, STPApplePayContext, STPPaymentMethod; - -NS_ASSUME_NONNULL_BEGIN - -/** - Implement the required methods of this delegate to supply a PaymentIntent to STPApplePayContext and be notified of the completion of the Apple Pay payment. - - You may also implement the optional delegate methods to handle shipping methods and shipping address changes e.g. to verify you can ship to the address, or update the payment amount. - */ -@protocol STPApplePayContextDelegate - -/** - Called after the customer has authorized Apple Pay. Implement this method to call the completion block with the client secret of a PaymentIntent representing the payment. - - @param paymentMethod The PaymentMethod that represents the customer's Apple Pay payment method. - If you create the PaymentIntent with confirmation_method=manual, pass `paymentMethod.stripeId` as the payment_method and confirm=true. Otherwise, you can ignore this parameter. - - @param paymentInformation The underlying PKPayment created by Apple Pay. - If you create the PaymentIntent with confirmation_method=manual, you can collect shipping information using its `shippingContact` and `shippingMethod` properties. - - @param completion Call this with the PaymentIntent's client secret, or the error that occurred creating the PaymentIntent. - */ -- (void)applePayContext:(STPApplePayContext *)context - didCreatePaymentMethod:(STPPaymentMethod *)paymentMethod - paymentInformation:(PKPayment *)paymentInformation - completion:(STPIntentClientSecretCompletionBlock)completion; - -/** - Called after the Apple Pay sheet is dismissed with the result of the payment. - - Your implementation could stop a spinner and display a receipt view or error to the customer, for example. - - @param status The status of the payment - @param error The error that occurred, if any. - */ -- (void)applePayContext:(STPApplePayContext *)context - didCompleteWithStatus:(STPPaymentStatus)status - error:(nullable NSError *)error; - -@optional - -/** - Called when the user selects a new shipping method. The delegate should determine - shipping costs based on the shipping method and either the shipping address supplied in the original - PKPaymentRequest or the address fragment provided by the last call to paymentAuthorizationViewController: - didSelectShippingContact:completion:. - - You must invoke the completion block with an updated array of PKPaymentSummaryItem objects. - */ -- (void)applePayContext:(STPApplePayContext *)context -didSelectShippingMethod:(PKShippingMethod *)shippingMethod - handler:(void (^)(PKPaymentRequestShippingMethodUpdate *update))handler API_AVAILABLE(ios(11.0), watchos(4.0)); - -/** - Called when the user has selected a new shipping address. You should inspect the - address and must invoke the completion block with an updated array of PKPaymentSummaryItem objects. - - @note To maintain privacy, the shipping information is anonymized. For example, in the United States it only includes the city, state, and zip code. This provides enough information to calculate shipping costs, without revealing sensitive information until the user actually approves the purchase. - Receive full shipping information in the paymentInformation passed to `applePayContext:didCreatePaymentMethod:paymentInformation:completion:` - */ -- (void)applePayContext:(STPApplePayContext *)context -didSelectShippingContact:(PKContact *)contact - handler:(void (^)(PKPaymentRequestShippingContactUpdate *update))handler API_AVAILABLE(ios(11.0), watchos(4.0)); - -/** - A pre-iOS 11 version of paymentAuthorizationViewController:didSelectShippingContact:handler: - */ -- (void)applePayContext:(STPApplePayContext *)context -didSelectShippingContact:(PKContact *)contact - completion:(void (^)(PKPaymentAuthorizationStatus status, NSArray *shippingMethods, - NSArray *summaryItems))completion API_DEPRECATED("Use paymentAuthorizationViewController:didSelectShippingContact:handler: instead to provide more granular errors", ios(9.0, 11.0)); - -/** - A pre-iOS 11 version of paymentAuthorizationViewController:didSelectShippingMethod:handler: - */ -- (void)applePayContext:(STPApplePayContext *)context -didSelectShippingMethod:(PKShippingMethod *)shippingMethod - completion:(void (^)(PKPaymentAuthorizationStatus status, NSArray *summaryItems))completion API_DEPRECATED("Use paymentAuthorizationViewController:didSelectShippingMethod:handler: instead to provide more granular errors", ios(8.0, 11.0)); - -@end - -/** - A helper class that implements Apple Pay. - - Usage looks like this: - 1. Initialize this class with a PKPaymentRequest describing the payment request (amount, line items, required shipping info, etc) - 2. Call presentApplePayOnViewController:completion: to present the Apple Pay sheet and begin the payment process - 3 (optional): If you need to respond to the user changing their shipping information/shipping method, implement the optional delegate methods - 4. When the user taps 'Buy', this class uses the PaymentIntent that you supply in the applePayContext:didCreatePaymentMethod:completion: delegate method to complete the payment - 5. After payment completes/errors and the sheet is dismissed, this class informs you in the applePayContext:didCompleteWithStatus: delegate method - - @see https://stripe.com/docs/apple-pay#native for a full guide - @see ApplePayExampleViewController for an example - */ -@interface STPApplePayContext : NSObject - -/** - Initializes this class. - @note This may return nil if the request is invalid e.g. the user is restricted by parental controls, or can't make payments on any of the request's supported networks - - @param paymentRequest The payment request to use with Apple Pay. - @param delegate The delegate. - */ -- (nullable instancetype)initWithPaymentRequest:(PKPaymentRequest *)paymentRequest delegate:(id)delegate; - -/** - Use initWithPaymentRequest:delegate: instead. - */ -- (instancetype)init NS_UNAVAILABLE; - -/** - Use initWithPaymentRequest:delegate: instead. - */ -+ (instancetype)new NS_UNAVAILABLE; - -/** - Presents the Apple Pay sheet, starting the payment process. - - @note This method should only be called once; create a new instance of STPApplePayContext every time you present Apple Pay. - @param viewController The UIViewController instance to present the Apple Pay sheet on - @param completion Called after the Apple Pay sheet is presented - */ -- (void)presentApplePayOnViewController:(UIViewController *)viewController completion:(nullable STPVoidBlock)completion; - -/** - The STPAPIClient instance to use to make API requests to Stripe. - Defaults to [STPAPIClient sharedClient]. - */ -@property (nonatomic, null_resettable) STPAPIClient *apiClient; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPApplePayPaymentOption.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPApplePayPaymentOption.h deleted file mode 100644 index 084c770..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPApplePayPaymentOption.h +++ /dev/null @@ -1,24 +0,0 @@ -// -// STPApplePayPaymentOption.h -// Stripe -// -// Created by Ben Guo on 4/19/16. -// Copyright © 2016 Stripe, Inc. All rights reserved. -// - -#import -#import "STPPaymentOption.h" - -/** - An empty class representing that the user wishes to pay via Apple Pay. This can - be checked on an `STPPaymentContext`, e.g: - - ``` - if ([paymentContext.selectedPaymentOption isKindOfClass:[STPApplePayPaymentOption class]]) { - // Don't ask the user for their card number; they want to pay with apple pay. - } - ``` - */ -@interface STPApplePayPaymentOption : NSObject - -@end diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPAuthenticationContext.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPAuthenticationContext.h deleted file mode 100644 index 47a1d46..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPAuthenticationContext.h +++ /dev/null @@ -1,59 +0,0 @@ -// -// STPAuthenticationContext.h -// Stripe -// -// Created by Cameron Sabol on 5/10/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import -#import -#import "STPBlocks.h" - -@class SFSafariViewController; - -NS_ASSUME_NONNULL_BEGIN - -/** - `STPAuthenticationContext` provides information required to present authentication challenges - to a user. - */ -@protocol STPAuthenticationContext - -/** - The Stripe SDK will modally present additional view controllers on top - of the `authenticationPresentingViewController` when required for user - authentication, like in the Challenge Flow for 3DS2 transactions. - */ -- (UIViewController *)authenticationPresentingViewController; - -@optional - -/** - This method is called before presenting a UIViewController for authentication. - - @note `STPPaymentHandler` will not proceed until `completion` is called. - */ -- (void)prepareAuthenticationContextForPresentation:(STPVoidBlock)completion; - -/** - This method is called before presenting an SFSafariViewController for web-based authentication. - - Implement this method to configure the `SFSafariViewController` instance, e.g. `viewController.preferredBarTintColor = MyBarTintColor` - - @note Setting the `delegate` property has no effect. - */ -- (void)configureSafariViewController:(SFSafariViewController *)viewController; - -/** - This method is called when an authentication UIViewController is about to be dismissed. - - Implement this method to prepare your UI for the authentication view controller to be dismissed. For example, - if you requested authentication while displaying an STPBankSelectionViewController, you may want to hide - it to return the user to your desired view controller. - */ -- (void)authenticationContextWillDismissViewController:(UIViewController *)viewController; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPBackendAPIAdapter.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPBackendAPIAdapter.h deleted file mode 100644 index c119550..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPBackendAPIAdapter.h +++ /dev/null @@ -1,121 +0,0 @@ -// -// STPBackendAPIAdapter.h -// Stripe -// -// Created by Jack Flintermann on 1/12/16. -// Copyright © 2016 Stripe, Inc. All rights reserved. -// - -#import -#import - -#import "STPAddress.h" -#import "STPBlocks.h" -#import "STPCustomer.h" -#import "STPSourceProtocol.h" - -NS_ASSUME_NONNULL_BEGIN - -@class STPCard, STPToken; - -/** - A "bridge" from our pre-built UI (`STPPaymentContext`, `STPPaymentOptionsViewController`) - to your backend to fetch Customer-related information needed to power those views. - - Typically, you will not need to implement this protocol yourself. You - should instead use `STPCustomerContext`, which implements - and manages retrieving and updating a Stripe customer for you. - @see STPCustomerContext.h - - If you would prefer retrieving and updating your Stripe customer object via - your own backend instead of using `STPCustomerContext`, you should make your - application's API client conform to this interface. - */ -@protocol STPBackendAPIAdapter - -/** - Retrieve the customer to be displayed inside a payment context. - - If you are not using STPCustomerContext: - On your backend, retrieve the Stripe customer associated with your currently - logged-in user ( https://stripe.com/docs/api#retrieve_customer ), and return - the raw JSON response from the Stripe API. Back in your iOS app, after you've - called this API, deserialize your API response into an `STPCustomer` object - (you can use the `STPCustomerDeserializer` class to do this). - - @see STPCard - @param completion call this callback when you're done fetching and parsing the above information from your backend. For example, `completion(customer, nil)` (if your call succeeds) or `completion(nil, error)` if an error is returned. - */ -- (void)retrieveCustomer:(nullable STPCustomerCompletionBlock)completion; - -/** - Retrieves a list of Payment Methods attached to a customer. - - If you are implementing your own : - Call the list method ( https://stripe.com/docs/api/payment_methods/lists ) - with the Stripe customer. If this API call succeeds, call `completion(paymentMethods)` - with the list of PaymentMethods. Otherwise, call `completion(error)` with the error - that occurred. - - @param completion Call this callback with the list of Payment Methods attached to the - customer. For example, `completion(paymentMethods)` (if your call succeeds) or - `completion(error)` if an error is returned. - - */ -- (void)listPaymentMethodsForCustomerWithCompletion:(nullable STPPaymentMethodsCompletionBlock)completion; - -/** - Adds a Payment Method to a customer. - - If you are implementing your own : - On your backend, retrieve the Stripe customer associated with your logged-in user. - Then, call the Attach method on the Payment Method with that customer's ID - ( https://stripe.com/docs/api/payment_methods/attach ). If this API call succeeds, - call `completion(nil)`. Otherwise, call `completion(error)` with the error that - occurred. - - @param paymentMethod A valid Payment Method - @param completion Call this callback when you're done adding the payment method - to the customer on your backend. For example, `completion(nil)` (if your call succeeds) - or `completion(error)` if an error is returned. - */ -- (void)attachPaymentMethodToCustomer:(STPPaymentMethod *)paymentMethod completion:(nullable STPErrorBlock)completion; - -@optional - -/** - Deletes the given Payment Method from the customer. - - If you are implementing your own : - Call the Detach method ( https://stripe.com/docs/api/payment_methods/detach ) - on the Payment Method. If this API call succeeds, call `completion(nil)`. - Otherwise, call `completion(error)` with the error that occurred. - - @param paymentMethod The Payment Method to delete from the customer - @param completion Call this callback when you're done deleting the Payment Method - from the customer on your backend. For example, `completion(nil)` (if your call - succeeds) or `completion(error)` if an error is returned. - */ -- (void)detachPaymentMethodFromCustomer:(STPPaymentMethod *)paymentMethod completion:(nullable STPErrorBlock)completion; - -/** - Sets the given shipping address on the customer. - - If you are implementing your own : - On your backend, retrieve the Stripe customer associated with your logged-in user. - Then, call the Customer Update method ( https://stripe.com/docs/api#update_customer ) - specifying shipping to be the given shipping address. If this API call succeeds, - call `completion(nil)`. Otherwise, call `completion(error)` with the error that occurred. - - @param shipping The shipping address to set on the customer - @param completion call this callback when you're done updating the customer on - your backend. For example, `completion(nil)` (if your call succeeds) or - `completion(error)` if an error is returned. - - @see https://stripe.com/docs/api#update_customer - */ -- (void)updateCustomerWithShippingAddress:(STPAddress *)shipping completion:(nullable STPErrorBlock)completion; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPBankAccount.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPBankAccount.h deleted file mode 100644 index 8b156fe..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPBankAccount.h +++ /dev/null @@ -1,124 +0,0 @@ -// -// STPBankAccount.h -// Stripe -// -// Created by Charles Scalesse on 10/1/14. -// -// - -#import - -#import "STPBankAccountParams.h" -#import "STPAPIResponseDecodable.h" -#import "STPSourceProtocol.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - Possible validation states for a bank account. - */ -typedef NS_ENUM(NSInteger, STPBankAccountStatus) { - /** - The account has had no activity or validation performed - */ - STPBankAccountStatusNew, - - /** - Stripe has determined this bank account exists. - */ - STPBankAccountStatusValidated, - - /** - Bank account verification has succeeded. - */ - STPBankAccountStatusVerified, - - /** - Verification for this bank account has failed. - */ - STPBankAccountStatusVerificationFailed, - - /** - A transfer sent to this bank account has failed. - */ - STPBankAccountStatusErrored, -}; - -/** - Representation of a user's bank account details that have been tokenized with - the Stripe API. - - @see https://stripe.com/docs/api#bank_accounts - */ -@interface STPBankAccount : NSObject - -/** - You cannot directly instantiate an `STPBankAccount`. You should only use one - that has been returned from an `STPAPIClient` callback. - */ -- (instancetype)init __attribute__((unavailable("You cannot directly instantiate an STPBankAccount. You should only use one that has been returned from an STPAPIClient callback."))); - -/** - The routing number for the bank account. This should be the ACH routing number, - not the wire routing number. - */ -@property (nonatomic, nullable, readonly) NSString *routingNumber; - -/** - Two-letter ISO code representing the country the bank account is located in. - */ -@property (nonatomic, readonly) NSString *country; - -/** - The default currency for the bank account. - */ -@property (nonatomic, readonly) NSString *currency; - -/** - The last 4 digits of the account number. - */ -@property (nonatomic, readonly) NSString *last4; - -/** - The name of the bank that owns the account. - */ -@property (nonatomic, readonly) NSString *bankName; - -/** - The name of the person or business that owns the bank account. - */ -@property (nonatomic, nullable, readonly) NSString *accountHolderName; - -/** - The type of entity that holds the account. - */ -@property (nonatomic, readonly) STPBankAccountHolderType accountHolderType; - -/** - A proxy for the account number, this uniquely identifies the account and can be - used to compare equality of different bank accounts. - */ -@property (nonatomic, nullable, readonly) NSString *fingerprint; - -/** - A set of key/value pairs associated with the bank account object. - - @see https://stripe.com/docs/api#metadata - */ -@property (nonatomic, copy, nullable, readonly) NSDictionary *metadata; - -/** - The validation status of the bank account. @see STPBankAccountStatus - */ -@property (nonatomic, readonly) STPBankAccountStatus status; - -#pragma mark - Deprecated methods - -/** - The Stripe ID for the bank account. - */ -@property (nonatomic, readonly) NSString *bankAccountId DEPRECATED_MSG_ATTRIBUTE("Use stripeID (defined in STPSourceProtocol)"); - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPBankAccountParams.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPBankAccountParams.h deleted file mode 100644 index 117c973..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPBankAccountParams.h +++ /dev/null @@ -1,77 +0,0 @@ -// -// STPBankAccountParams.h -// Stripe -// -// Created by Jack Flintermann on 10/4/15. -// Copyright © 2015 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPFormEncodable.h" - - -/** - The type of entity that holds a bank account. - */ -typedef NS_ENUM(NSInteger, STPBankAccountHolderType) { - /** - An individual holds this bank account. - */ - STPBankAccountHolderTypeIndividual, - - /** - A company holds this bank account. - */ - STPBankAccountHolderTypeCompany, -}; - -/** - Representation of a user's bank account details. You can assemble these with - information that your user enters and then create Stripe tokens with them using - an STPAPIClient. - - @see https://stripe.com/docs/api#create_bank_account_token - */ -@interface STPBankAccountParams : NSObject - -/** - The account number for the bank account. Currently must be a checking account. - */ -@property (nonatomic, copy, nullable) NSString *accountNumber; - -/** - The last 4 digits of the bank account's account number, if it's been set, - otherwise nil. - */ -@property (nonatomic, nullable, readonly) NSString *last4; - -/** - The routing number for the bank account. This should be the ACH routing number, - not the wire routing number. - */ -@property (nonatomic, copy, nullable) NSString *routingNumber; - -/** - Two-letter ISO code representing the country the bank account is located in. - */ -@property (nonatomic, copy, nullable) NSString *country; - -/** - The default currency for the bank account. - */ -@property (nonatomic, copy, nullable) NSString *currency; - -/** - The name of the person or business that owns the bank account. - */ -@property (nonatomic, copy, nullable) NSString *accountHolderName; - -/** - The type of entity that holds the account. - - Defaults to STPBankAccountHolderTypeIndividual. - */ -@property (nonatomic, assign) STPBankAccountHolderType accountHolderType; - -@end diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPBankSelectionViewController.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPBankSelectionViewController.h deleted file mode 100644 index 988f57b..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPBankSelectionViewController.h +++ /dev/null @@ -1,92 +0,0 @@ -// -// STPBankSelectionViewController.h -// Stripe -// -// Created by David Estes on 8/9/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import -#import -#import "STPCoreTableViewController.h" -#import "STPFPXBankBrand.h" -#import "STPPaymentConfiguration.h" - -NS_ASSUME_NONNULL_BEGIN - -@protocol STPBankSelectionViewControllerDelegate; -@class STPPaymentMethodParams, STPAPIClient; - -/** - The payment methods supported by STPBankSelectionViewController. - */ -typedef NS_ENUM(NSInteger, STPBankSelectionMethod) { - - /** - FPX (Malaysia) - */ - STPBankSelectionMethodFPX, - - /** - An unknown payment method - */ - STPBankSelectionMethodUnknown, -}; - -/** This view controller displays a list of banks of the specified type, allowing the user to select one to pay from. - Once a bank is selected, it will return a PaymentMethodParams object, which you can use to confirm a PaymentIntent - or inspect to obtain details about the selected bank. -*/ -@interface STPBankSelectionViewController : STPCoreTableViewController - -/** - A convenience initializer; equivalent to calling `initWithBankMethod:bankMethod configuration:[STPPaymentConfiguration sharedConfiguration] theme:[STPTheme defaultTheme]`. - */ -- (instancetype)initWithBankMethod:(STPBankSelectionMethod)bankMethod; - -/** - Initializes a new `STPBankSelectionViewController` with the provided configuration and theme. Don't forget to set the `delegate` property after initialization. - - @param bankMethod The user will be presented with a list of banks for this payment method. STPBankSelectionMethodFPX is currently the only supported payment method. - @param configuration The configuration to use. This determines the Stripe publishable key to use when querying metadata about the banks. @see STPPaymentConfiguration - @param theme The theme to use to inform the view controller's visual appearance. @see STPTheme - */ -- (instancetype)initWithBankMethod:(STPBankSelectionMethod)bankMethod - configuration:(STPPaymentConfiguration *)configuration - theme:(STPTheme *)theme; - -/** -The view controller's delegate. This must be set before showing the view controller in order for it to work properly. @see STPBankSelectionViewControllerDelegate -*/ -@property (nonatomic, weak) id delegate; - -/** - The API Client to use to make requests. - - Defaults to [STPAPIClient sharedClient] - */ -@property (nonatomic, strong) STPAPIClient *apiClient; - -@end - -/** -An `STPBankSelectionViewControllerDelegate` is notified when a user selects a bank. -*/ -@protocol STPBankSelectionViewControllerDelegate - -/** -This is called when the user selects a bank. - -You can use the returned PaymentMethodParams to confirm a PaymentIntent, or inspect - it to obtain details about the selected bank. - Once you're done, you'll want to dismiss (or pop) the view controller. - -@param bankViewController the view controller that created the PaymentMethodParams -@param paymentMethodParams the PaymentMethodParams that was created. @see STPPaymentMethodParams -*/ -- (void)bankSelectionViewController:(STPBankSelectionViewController *)bankViewController - didCreatePaymentMethodParams:(STPPaymentMethodParams *)paymentMethodParams; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPBlocks.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPBlocks.h deleted file mode 100644 index d9be6f7..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPBlocks.h +++ /dev/null @@ -1,255 +0,0 @@ -// -// STPBlocks.h -// Stripe -// -// Created by Jack Flintermann on 3/23/16. -// Copyright © 2016 Stripe, Inc. All rights reserved. -// - -#import -#import - -@class STP3DS2AuthenticateResponse; -@class STPToken; -@class STPFile; -@class STPSource; -@class STPCustomer; -@protocol STPSourceProtocol; -@class STPPaymentIntent; -@class STPSetupIntent; -@class STPPaymentMethod; -@class STPIssuingCardPin; -@class STPFPXBankStatusResponse; - -/** - These values control the labels used in the shipping info collection form. - */ -typedef NS_ENUM(NSUInteger, STPShippingType) { - /** - Shipping the purchase to the provided address using a third-party - shipping company. - */ - STPShippingTypeShipping, - /** - Delivering the purchase by the seller. - */ - STPShippingTypeDelivery, -}; - -/** - An enum representing the status of a shipping address validation. - */ -typedef NS_ENUM(NSUInteger, STPShippingStatus) { - /** - The shipping address is valid. - */ - STPShippingStatusValid, - /** - The shipping address is invalid. - */ - STPShippingStatusInvalid, -}; - -/** - An enum representing the status of a payment requested from the user. - */ -typedef NS_ENUM(NSUInteger, STPPaymentStatus) { - /** - The payment succeeded. - */ - STPPaymentStatusSuccess, - /** - The payment failed due to an unforeseen error, such as the user's Internet connection being offline. - */ - STPPaymentStatusError, - /** - The user cancelled the payment (for example, by hitting "cancel" in the Apple Pay dialog). - */ - STPPaymentStatusUserCancellation, -}; - -/** - An empty block, called with no arguments, returning nothing. - */ -typedef void (^STPVoidBlock)(void); - -/** - A block that may optionally be called with an error. - - @param error The error that occurred, if any. - */ -typedef void (^STPErrorBlock)(NSError * __nullable error); - -/** - A block that contains a boolean success param and may optionally be called with an error. - - @param success Whether the task succeeded. - @param error The error that occurred, if any. - */ -typedef void (^STPBooleanSuccessBlock)(BOOL success, NSError * __nullable error); - -/** - A callback to be run with a JSON response. - - @param jsonResponse The JSON response, or nil if an error occured. - @param error The error that occurred, if any. - */ -typedef void (^STPJSONResponseCompletionBlock)(NSDictionary * __nullable jsonResponse, NSError * __nullable error); - -/** - A callback to be run with a token response from the Stripe API. - - @param token The Stripe token from the response. Will be nil if an error occurs. @see STPToken - @param error The error returned from the response, or nil if none occurs. @see StripeError.h for possible values. - */ -typedef void (^STPTokenCompletionBlock)(STPToken * __nullable token, NSError * __nullable error); - -/** - A callback to be run with a source response from the Stripe API. - - @param source The Stripe source from the response. Will be nil if an error occurs. @see STPSource - @param error The error returned from the response, or nil if none occurs. @see StripeError.h for possible values. - */ -typedef void (^STPSourceCompletionBlock)(STPSource * __nullable source, NSError * __nullable error); - -/** - A callback to be run with a source or card response from the Stripe API. - - @param source The Stripe source from the response. Will be nil if an error occurs. @see STPSourceProtocol - @param error The error returned from the response, or nil if none occurs. @see StripeError.h for possible values. - */ -typedef void (^STPSourceProtocolCompletionBlock)(id __nullable source, NSError * __nullable error); - -/** - A callback to be run with a PaymentIntent response from the Stripe API. - - @param paymentIntent The Stripe PaymentIntent from the response. Will be nil if an error occurs. @see STPPaymentIntent - @param error The error returned from the response, or nil if none occurs. @see StripeError.h for possible values. - */ -typedef void (^STPPaymentIntentCompletionBlock)(STPPaymentIntent * __nullable paymentIntent, NSError * __nullable error); - -/** - A callback to be run with a PaymentIntent response from the Stripe API. - - @param setupIntent The Stripe SetupIntent from the response. Will be nil if an error occurs. @see STPSetupIntent - @param error The error returned from the response, or nil if none occurs. @see StripeError.h for possible values. - */ -typedef void (^STPSetupIntentCompletionBlock)(STPSetupIntent * __nullable setupIntent, NSError * __nullable error); - -/** - A callback to be run with a PaymentMethod response from the Stripe API. - - @param paymentMethod The Stripe PaymentMethod from the response. Will be nil if an error occurs. @see STPPaymentMethod - @param error The error returned from the response, or nil if none occurs. @see StripeError.h for possible values. - */ -typedef void (^STPPaymentMethodCompletionBlock)(STPPaymentMethod * __nullable paymentMethod, NSError * __nullable error); - -/** - A callback to be run with an array of PaymentMethods response from the Stripe API. - - @param paymentMethods An array of PaymentMethod from the response. Will be nil if an error occurs. @see STPPaymentMethod - @param error The error returned from the response, or nil if none occurs. @see StripeError.h for possible values. - */ -typedef void (^STPPaymentMethodsCompletionBlock)(NSArray *__nullable paymentMethods, NSError * __nullable error); - -/** - A callback to be run with a validation result and shipping methods for a - shipping address. - - @param status An enum representing whether the shipping address is valid. - @param shippingValidationError If the shipping address is invalid, an error describing the issue with the address. If no error is given and the address is invalid, the default error message will be used. - @param shippingMethods The shipping methods available for the address. - @param selectedShippingMethod The default selected shipping method for the address. - */ -typedef void (^STPShippingMethodsCompletionBlock)(STPShippingStatus status, NSError * __nullable shippingValidationError, NSArray* __nullable shippingMethods, PKShippingMethod * __nullable selectedShippingMethod); - -/** - A callback to be run with a file response from the Stripe API. - - @param file The Stripe file from the response. Will be nil if an error occurs. @see STPFile - @param error The error returned from the response, or nil if none occurs. @see StripeError.h for possible values. - */ -typedef void (^STPFileCompletionBlock)(STPFile * __nullable file, NSError * __nullable error); - -/** - A callback to be run with a customer response from the Stripe API. - - @param customer The Stripe customer from the response, or nil if an error occurred. @see STPCustomer - @param error The error returned from the response, or nil if none occurs. - */ -typedef void (^STPCustomerCompletionBlock)(STPCustomer * __nullable customer, NSError * __nullable error); - -/** - An enum representing the success and error states of PIN management - */ -typedef NS_ENUM(NSUInteger, STPPinStatus) { - /** - The verification object was already redeemed - */ - STPPinSuccess, - /** - The verification object was already redeemed - */ - STPPinErrorVerificationAlreadyRedeemed, - /** - The one-time code was incorrect - */ - STPPinErrorVerificationCodeIncorrect, - /** - The verification object was expired - */ - STPPinErrorVerificationExpired, - /** - The verification object has been attempted too many times - */ - STPPinErrorVerificationTooManyAttempts, - /** - An error occured while retrieving the ephemeral key - */ - STPPinEphemeralKeyError, - /** - An unknown error occured - */ - STPPinUnknownError, -}; - -/** - A callback to be run with a card PIN response from the Stripe API. - - @param cardPin The Stripe card PIN from the response. Will be nil if an error occurs. @see STPIssuingCardPin - @param status The status to help you sort between different error state, or STPPinSuccess when succesful. @see STPPinStatus for possible values. - @param error The error returned from the response, or nil if none occurs. @see StripeError.h for possible values. - */ -typedef void (^STPPinCompletionBlock)(STPIssuingCardPin * __nullable cardPin, STPPinStatus status, NSError * __nullable error); - -/** - A callback to be run with a 3DS2 authenticate response from the Stripe API. - - @param authenticateResponse The Stripe AuthenticateResponse. Will be nil if an error occurs. @see STP3DS2AuthenticateResponse - @param error The error returned from the response, or nil if none occurs. - */ -typedef void (^STP3DS2AuthenticateCompletionBlock)(STP3DS2AuthenticateResponse * _Nullable authenticateResponse, NSError * _Nullable error); - -/** - A callback to be run with a response from the Stripe API containing information about the online status of FPX banks. - - @param bankStatusResponse The response from Stripe containing the status of the various banks. Will be nil if an error occurs. @see STPFPXBankStatusResponse - @param error The error returned from the response, or nil if none occurs. - */ -typedef void (^STPFPXBankStatusCompletionBlock)(STPFPXBankStatusResponse * _Nullable bankStatusResponse, NSError * _Nullable error); - -/** - A block called with a payment status and an optional error. - - @param error The error that occurred, if any. - */ -typedef void (^STPPaymentStatusBlock)(STPPaymentStatus status, NSError * __nullable error); - -/** - A block to be run with the client secret of a PaymentIntent or SetupIntent. - - @param clientSecret The client secret of the PaymentIntent or SetupIntent. See https://stripe.com/docs/api/payment_intents/object#payment_intent_object-client_secret - @param error The error that occurred when creating the Intent, or nil if none occurred. - */ -typedef void (^STPIntentClientSecretCompletionBlock)(NSString * __nullable clientSecret, NSError * __nullable error); - diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPCard.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPCard.h deleted file mode 100644 index 966b2ae..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPCard.h +++ /dev/null @@ -1,225 +0,0 @@ -// -// STPCard.h -// Stripe -// -// Created by Saikat Chakrabarti on 11/2/12. -// -// - -#import - -#import "STPAPIResponseDecodable.h" -#import "STPCardBrand.h" -#import "STPCardParams.h" -#import "STPPaymentOption.h" -#import "STPSourceProtocol.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - The various funding sources for a payment card. - */ -typedef NS_ENUM(NSInteger, STPCardFundingType) { - /** - Debit card funding - */ - STPCardFundingTypeDebit, - - /** - Credit card funding - */ - STPCardFundingTypeCredit, - - /** - Prepaid card funding - */ - STPCardFundingTypePrepaid, - - /** - An other or unknown type of funding source. - */ - STPCardFundingTypeOther, -}; - -/** - Representation of a user's credit card details that have been tokenized with - the Stripe API - - @see https://stripe.com/docs/api#cards - */ -@interface STPCard : NSObject - -/** - You cannot directly instantiate an `STPCard`. You should only use one that has - been returned from an `STPAPIClient` callback. - */ -- (instancetype) init __attribute__((unavailable("You cannot directly instantiate an STPCard. You should only use one that has been returned from an STPAPIClient callback."))); - -/** - The last 4 digits of the card. - */ -@property (nonatomic, readonly) NSString *last4; - -/** - For cards made with Apple Pay, this refers to the last 4 digits of the - "Device Account Number" for the tokenized card. For regular cards, it will - be nil. - */ -@property (nonatomic, nullable, readonly) NSString *dynamicLast4; - -/** - Whether or not the card originated from Apple Pay. - */ -@property (nonatomic, readonly) BOOL isApplePayCard; - -/** - The card's expiration month. 1-indexed (i.e. 1 == January) - */ -@property (nonatomic, readonly) NSUInteger expMonth; - -/** - The card's expiration year. - */ -@property (nonatomic, readonly) NSUInteger expYear; - -/** - The cardholder's name. - */ -@property (nonatomic, nullable, readonly) NSString *name; - -/** - The cardholder's address. - */ -@property (nonatomic, readonly) STPAddress *address; - -/** - The issuer of the card. - */ -@property (nonatomic, readonly) STPCardBrand brand; - -/** - The funding source for the card (credit, debit, prepaid, or other) - */ -@property (nonatomic, readonly) STPCardFundingType funding; - -/** - Two-letter ISO code representing the issuing country of the card. - */ -@property (nonatomic, nullable, readonly) NSString *country; - -/** - This is only applicable when tokenizing debit cards to issue payouts to managed - accounts. You should not set it otherwise. The card can then be used as a - transfer destination for funds in this currency. - */ -@property (nonatomic, nullable, readonly) NSString *currency; - -/** - A set of key/value pairs associated with the card object. - - @see https://stripe.com/docs/api#metadata - */ -@property (nonatomic, copy, nullable, readonly) NSDictionary *metadata; - -/** - Returns a string representation for the provided card brand; - i.e. `[NSString stringFromBrand:STPCardBrandVisa] == @"Visa"`. - - @param brand the brand you want to convert to a string - - @return A string representing the brand, suitable for displaying to a user. - */ -+ (NSString *)stringFromBrand:(STPCardBrand)brand; - -/** - This parses a string representing a card's brand into the appropriate - STPCardBrand enum value, - i.e. `[STPCard brandFromString:@"American Express"] == STPCardBrandAmex`. - - The string values themselves are specific to Stripe as listed in the Stripe API - documentation. - - @see https://stripe.com/docs/api#card_object-brand - - @param string a string representing the card's brand as returned from - the Stripe API - - @return an enum value mapped to that string. If the string is unrecognized, - returns STPCardBrandUnknown. - */ -+ (STPCardBrand)brandFromString:(NSString *)string; - -#pragma mark - Deprecated methods - -/** - The Stripe ID for the card. - */ -@property (nonatomic, readonly) NSString *cardId DEPRECATED_MSG_ATTRIBUTE("Use stripeID (defined in STPSourceProtocol)"); - -/** - The first line of the cardholder's address - */ -@property (nonatomic, nullable, readonly) NSString *addressLine1 DEPRECATED_MSG_ATTRIBUTE("Use address.line1"); - -/** - The second line of the cardholder's address - */ -@property (nonatomic, nullable, readonly) NSString *addressLine2 DEPRECATED_MSG_ATTRIBUTE("Use address.line2"); - -/** - The city of the cardholder's address - */ -@property (nonatomic, nullable, readonly) NSString *addressCity DEPRECATED_MSG_ATTRIBUTE("Use address.city"); - -/** - The state of the cardholder's address - */ -@property (nonatomic, nullable, readonly) NSString *addressState DEPRECATED_MSG_ATTRIBUTE("Use address.state"); - -/** - The zip code of the cardholder's address - */ -@property (nonatomic, nullable, readonly) NSString *addressZip DEPRECATED_MSG_ATTRIBUTE("Use address.postalCode"); - -/** - The country of the cardholder's address - */ -@property (nonatomic, nullable, readonly) NSString *addressCountry DEPRECATED_MSG_ATTRIBUTE("Use address.country"); - -/** - Create an STPCard from a Stripe API response. - - @param cardID The Stripe ID of the card, e.g. `card_185iQx4JYtv6MPZKfcuXwkOx` - @param brand The brand of the card (e.g. "Visa". To obtain this enum value - from a string, use `[STPCardBrand brandFromString:string]`; - @param last4 The last 4 digits of the card, e.g. 4242 - @param expMonth The card's expiration month, 1-indexed (i.e. 1 = January) - @param expYear The card's expiration year - @param funding The card's funding type (credit, debit, or prepaid). To obtain - this enum value from a string, use `[STPCardBrand fundingFromString:string]`. - - @return an STPCard instance populated with the provided values. - */ -- (instancetype)initWithID:(NSString *)cardID - brand:(STPCardBrand)brand - last4:(NSString *)last4 - expMonth:(NSUInteger)expMonth - expYear:(NSUInteger)expYear - funding:(STPCardFundingType)funding DEPRECATED_MSG_ATTRIBUTE("You cannot directly instantiate an STPCard. You should only use one that has been returned from an STPAPIClient callback."); - -/** - This parses a string representing a card's funding type into the appropriate - `STPCardFundingType` enum value, - i.e. `[STPCard fundingFromString:@"prepaid"] == STPCardFundingTypePrepaid`. - - @param string a string representing the card's funding type as returned from - the Stripe API - - @return an enum value mapped to that string. If the string is unrecognized, - returns `STPCardFundingTypeOther`. - */ -+ (STPCardFundingType)fundingFromString:(NSString *)string DEPRECATED_ATTRIBUTE; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPCardBrand.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPCardBrand.h deleted file mode 100644 index c6f170e..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPCardBrand.h +++ /dev/null @@ -1,65 +0,0 @@ -// -// STPCardBrand.h -// Stripe -// -// Created by Jack Flintermann on 7/24/15. -// Copyright (c) 2015 Stripe, Inc. All rights reserved. -// - -#import - -/** - The various card brands to which a payment card can belong. - */ -typedef NS_ENUM(NSInteger, STPCardBrand) { - - /** - Visa card - */ - STPCardBrandVisa, - - /** - American Express card - */ - STPCardBrandAmex, - - /** - Mastercard card - */ - STPCardBrandMasterCard, - - /** - Discover card - */ - STPCardBrandDiscover, - - /** - JCB card - */ - STPCardBrandJCB, - - /** - Diners Club card - */ - STPCardBrandDinersClub, - - /** - UnionPay card - */ - STPCardBrandUnionPay, - - /** - An unknown card brand type - */ - STPCardBrandUnknown, -}; - -/** - Returns a string representation for the provided card brand; - i.e. `[NSString stringFromBrand:STPCardBrandVisa] == @"Visa"`. - - @param brand the brand you want to convert to a string - - @return A string representing the brand, suitable for displaying to a user. - */ -NSString * STPStringFromCardBrand(STPCardBrand brand); diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPCardParams.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPCardParams.h deleted file mode 100644 index e254c41..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPCardParams.h +++ /dev/null @@ -1,109 +0,0 @@ -// -// STPCardParams.h -// Stripe -// -// Created by Jack Flintermann on 10/4/15. -// Copyright © 2015 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPFormEncodable.h" -#if TARGET_OS_IPHONE -#import "STPAddress.h" -#endif - -/** - Representation of a user's credit card details. You can assemble these with - information that your user enters and then create Stripe tokens with them using - an STPAPIClient. - - @see https://stripe.com/docs/api#cards - */ -@interface STPCardParams : NSObject - -/** - The card's number. - */ -@property (nonatomic, copy, nullable) NSString *number; - -/** - The last 4 digits of the card's number, if it's been set, otherwise nil. - */ -- (nullable NSString *)last4; - -/** - The card's expiration month. - */ -@property (nonatomic) NSUInteger expMonth; - -/** - The card's expiration year. - */ -@property (nonatomic) NSUInteger expYear; - -/** - The card's security code, found on the back. - */ -@property (nonatomic, copy, nullable) NSString *cvc; - -/** - The cardholder's name. - - @note Changing this property will also changing the name of the - param's `address` property. - */ -@property (nonatomic, copy, nullable) NSString *name; - -/** - The cardholder's address. - - @note Setting `address` to a new value will also change the `name` property to - be the value of `address.name`. However, changing `address.name` directly will - *not* change `name`. - */ -@property (nonatomic, strong, nonnull) STPAddress *address; - -/** - Three-letter ISO currency code representing the currency paid out to the bank - account. This is only applicable when tokenizing debit cards to issue payouts - to managed accounts. You should not set it otherwise. The card can then be - used as a transfer destination for funds in this currency. - */ -@property (nonatomic, copy, nullable) NSString *currency; - - -#pragma mark - Deprecated methods - -/** - The first line of the cardholder's address - */ -@property (nonatomic, copy, nullable) NSString *addressLine1 DEPRECATED_MSG_ATTRIBUTE("Use address.line1"); - -/** - The second line of the cardholder's address - */ -@property (nonatomic, copy, nullable) NSString *addressLine2 DEPRECATED_MSG_ATTRIBUTE("Use address.line2"); - -/** - The city of the cardholder's address - */ -@property (nonatomic, copy, nullable) NSString *addressCity DEPRECATED_MSG_ATTRIBUTE("Use address.city"); - -/** - The state of the cardholder's address - */ -@property (nonatomic, copy, nullable) NSString *addressState DEPRECATED_MSG_ATTRIBUTE("Use address.state"); - -/** - The zip code of the cardholder's address - */ -@property (nonatomic, copy, nullable) NSString *addressZip DEPRECATED_MSG_ATTRIBUTE("Use address.postalCode"); - -/** - The country of the cardholder's address - */ -@property (nonatomic, copy, nullable) NSString *addressCountry DEPRECATED_MSG_ATTRIBUTE("Use address.country"); - - -@end diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPCardValidationState.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPCardValidationState.h deleted file mode 100644 index d7b46b6..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPCardValidationState.h +++ /dev/null @@ -1,37 +0,0 @@ -// -// STPCardValidationState.h -// Stripe -// -// Created by Jack Flintermann on 8/7/15. -// Copyright (c) 2015 Stripe, Inc. All rights reserved. -// - -#import - -/** - These fields indicate whether a card field represents a valid value, invalid - value, or incomplete value. - */ -typedef NS_ENUM(NSInteger, STPCardValidationState) { - - /** - The field's contents are valid. For example, a valid, 16-digit card number. - Note that valid values may not be complete. For example: a US Zip code can - be 5 or 9 digits. A 5-digit code is Valid, but more text could be entered - to transition to incomplete again. American Express CVC codes can be 3 or - 4 digits and both will be treated as Valid. - */ - STPCardValidationStateValid, - - /** - The field's contents are invalid. For example, an expiration date - of "13/42". - */ - STPCardValidationStateInvalid, - - /** - The field's contents are not currently valid, but could be by typing - additional characters. For example, a CVC of "1". - */ - STPCardValidationStateIncomplete -}; diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPCardValidator.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPCardValidator.h deleted file mode 100644 index 27f8746..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPCardValidator.h +++ /dev/null @@ -1,198 +0,0 @@ -// -// STPCardValidator.h -// Stripe -// -// Created by Jack Flintermann on 7/15/15. -// Copyright (c) 2015 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPCardBrand.h" -#import "STPCardParams.h" -#import "STPCardValidationState.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - This class contains static methods to validate card numbers, expiration dates, - and CVCs. For a list of test card numbers to use with this code, - see https://stripe.com/docs/testing - */ -@interface STPCardValidator : NSObject - -/** - Returns a copy of the passed string with all non-numeric characters removed. - */ -+ (NSString *)sanitizedNumericStringForString:(NSString *)string; - -/** -Returns a copy of the passed string with all characters removed that do not exist within a postal code. -*/ -+ (NSString *)sanitizedPostalStringForString:(NSString *)string; - -/** - Whether or not the target string contains only numeric characters. - */ -+ (BOOL)stringIsNumeric:(NSString *)string; - -/** - Validates a card number, passed as a string. This will return - STPCardValidationStateInvalid for numbers that are too short or long, contain - invalid characters, do not pass Luhn validation, or (optionally) do not match - a number format issued by a major card brand. - - @param cardNumber The card number to validate. Ex. @"4242424242424242" - @param validatingCardBrand Whether or not to enforce that the number appears to - be issued by a major card brand (or could be). For example, no issuing card - network currently issues card numbers beginning with the digit 9; if an - otherwise correct-length and luhn-valid card number beginning with 9 - (example: 9999999999999995) were passed to this method, it would return - STPCardValidationStateInvalid if this parameter were YES and - STPCardValidationStateValid if this parameter were NO. If unsure, you should - use YES for this value. - - @return STPCardValidationStateValid if the number is valid, - STPCardValidationStateInvalid if the number is invalid, or - STPCardValidationStateIncomplete if the number is a substring of a valid - card (e.g. @"4242"). - */ -+ (STPCardValidationState)validationStateForNumber:(nullable NSString *)cardNumber - validatingCardBrand:(BOOL)validatingCardBrand; - -/** - The card brand for a card number or substring thereof. - - @param cardNumber A card number, or partial card number. For - example, @"4242", @"5555555555554444", or @"123". - - @return The brand for that card number. The example parameters would - return STPCardBrandVisa, STPCardBrandMasterCard, and - STPCardBrandUnknown, respectively. - */ -+ (STPCardBrand)brandForNumber:(NSString *)cardNumber; - -/** - The possible number lengths for cards associated with a card brand. For - example, Discover card numbers contain 16 characters, while American Express - cards contain 15 characters. - - @param brand The brand to return lengths for. - - @return The set of possible lengths cards associated with that brand can be. - */ -+ (NSSet*)lengthsForCardBrand:(STPCardBrand)brand; - - -/** - The maximum possible length the number of a card associated with the specified - brand could be. - - For example, Visa cards could be either 13 or 16 characters, so this method - would return 16 for the that card brand. - - @param brand The brand to return the max length for. - - @return The maximum length card numbers associated with that brand could be. - */ -+ (NSInteger)maxLengthForCardBrand:(STPCardBrand)brand; - -/** - The length of the final grouping of digits to use when formatting a card number - for display. - - For example, Visa cards display their final 4 numbers, e.g. "4242", while - American Express cards display their final 5 digits, e.g. "10005". - - - @param brand The brand to return the fragment length for. - - @return The final fragment length card numbers associated with that brand use. - */ -+ (NSInteger)fragmentLengthForCardBrand:(STPCardBrand)brand; - -/** - Validates an expiration month, passed as an (optionally 0-padded) string. - - Example valid values are "3", "12", and "08". Example invalid values are "99", - "a", and "00". Incomplete values include "0" and "1". - - @param expirationMonth A string representing a 2-digit expiration month for a - payment card. - - @return STPCardValidationStateValid if the month is valid, - STPCardValidationStateInvalid if the month is invalid, or - STPCardValidationStateIncomplete if the month is a substring of a valid - month (e.g. @"0" or @"1"). - */ -+ (STPCardValidationState)validationStateForExpirationMonth:(NSString *)expirationMonth; - -/** - Validates an expiration year, passed as a string representing the final - 2 digits of the year. - - This considers the period between the current year until 2099 as valid times. - An example valid year value would be "16" (assuming the current year, as - determined by [NSDate date], is 2015). - - Will return STPCardValidationStateInvalid for a month/year combination that - is earlier than the current date (i.e. @"15" and @"04" in October 2015). - Example invalid year values are "00", "a", and "13". Any 1-digit year string - will return STPCardValidationStateIncomplete. - - @param expirationYear A string representing a 2-digit expiration year for a - payment card. - @param expirationMonth A string representing a valid 2-digit expiration month - for a payment card. If the month is invalid - (see `validationStateForExpirationMonth`), this will - return STPCardValidationStateInvalid. - - @return STPCardValidationStateValid if the year is valid, - STPCardValidationStateInvalid if the year is invalid, or - STPCardValidationStateIncomplete if the year is a substring of a valid - year (e.g. @"1" or @"2"). - */ -+ (STPCardValidationState)validationStateForExpirationYear:(NSString *)expirationYear - inMonth:(NSString *)expirationMonth; - -/** - The max CVC length for a card brand (for example, American Express CVCs are - 4 digits, while all others are 3). - - @param brand The brand to return the max CVC length for. - - @return The maximum length of CVC numbers for cards associated with that brand. - */ -+ (NSUInteger)maxCVCLengthForCardBrand:(STPCardBrand)brand; - -/** - Validates a card's CVC, passed as a numeric string, for the given card brand. - - @param cvc the CVC to validate - @param brand the card brand (can be determined from the card's number - using `brandForNumber`) - - @return Whether the CVC represents a valid CVC for that card brand. For - example, would return STPCardValidationStateValid for @"123" and - STPCardBrandVisa, STPCardValidationStateValid for @"1234" and - STPCardBrandAmericanExpress, STPCardValidationStateIncomplete for @"12" and - STPCardBrandVisa, and STPCardValidationStateInvalid for @"12345" and any brand. - */ -+ (STPCardValidationState)validationStateForCVC:(NSString *)cvc - cardBrand:(STPCardBrand)brand; - -/** - Validates the given card details. - - @param card The card details to validate. - - @return STPCardValidationStateValid if all fields are valid, - STPCardValidationStateInvalid if any field is invalid, or - STPCardValidationStateIncomplete if all fields are either incomplete or valid. - */ -+ (STPCardValidationState)validationStateForCard:(STPCardParams *)card; - - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPConfirmCardOptions.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPConfirmCardOptions.h deleted file mode 100644 index c6b4171..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPConfirmCardOptions.h +++ /dev/null @@ -1,28 +0,0 @@ -// -// STPConfirmCardOptions.h -// Stripe -// -// Created by Cameron Sabol on 1/10/20. -// Copyright © 2020 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPFormEncodable.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - Options to update a Card PaymentMethod during PaymentIntent confirmation. - @see https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card - */ -@interface STPConfirmCardOptions : NSObject - -/** - CVC value with which to update the Card PaymentMethod. - */ -@property (nonatomic, nullable, copy) NSString *cvc; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPConfirmPaymentMethodOptions.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPConfirmPaymentMethodOptions.h deleted file mode 100644 index 367c8d1..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPConfirmPaymentMethodOptions.h +++ /dev/null @@ -1,31 +0,0 @@ -// -// STPConfirmPaymentMethodOptions.h -// Stripe -// -// Created by Cameron Sabol on 1/10/20. -// Copyright © 2020 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPFormEncodable.h" - -@class STPConfirmCardOptions; - -NS_ASSUME_NONNULL_BEGIN - -/** - Options to update the associated PaymentMethod during PaymentIntent confirmation. - @see https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-payment_method_options - */ -@interface STPConfirmPaymentMethodOptions : NSObject - -/** - Options to update a Card PaymentMethod. - @see STPConfirmCardOptions - */ -@property (nonatomic, nullable) STPConfirmCardOptions *cardOptions; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPConnectAccountAddress.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPConnectAccountAddress.h deleted file mode 100644 index da10e4c..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPConnectAccountAddress.h +++ /dev/null @@ -1,69 +0,0 @@ -// -// STPConnectAccountAddress.h -// Stripe -// -// Created by Yuki Tokuhiro on 8/2/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPFormEncodable.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - An address to use with `STPConnectAccountParams`. - */ -@interface STPConnectAccountAddress : NSObject - -/** - City, district, suburb, town, or village. - - For addresses in Japan: City or ward. - */ -@property (nonatomic, copy, nullable) NSString *city; - -/** - Two-letter country code (ISO 3166-1 alpha-2). - - @see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 - */ -@property (nonatomic, copy, nullable) NSString *country; - -/** - Address line 1 (e.g., street, PO Box, or company name). - - For addresses in Japan: Block or building number. - */ -@property (nonatomic, copy, nullable) NSString *line1; - -/** - Address line 2 (e.g., apartment, suite, unit, or building). - - For addresses in Japan: Building details. - */ -@property (nonatomic, copy, nullable) NSString *line2; - -/** - ZIP or postal code. - */ -@property (nonatomic, copy, nullable) NSString *postalCode; - -/** - State, county, province, or region. - - For addresses in Japan: Prefecture. - */ -@property (nonatomic, copy, nullable) NSString *state; - -/** - Town or cho-me. - - This property only applies to Japanese addresses. - */ -@property (nonatomic, copy, nullable) NSString *town; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPConnectAccountCompanyParams.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPConnectAccountCompanyParams.h deleted file mode 100644 index ed15f69..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPConnectAccountCompanyParams.h +++ /dev/null @@ -1,92 +0,0 @@ -// -// STPConnectAccountCompanyParams.h -// StripeiOS -// -// Created by Yuki Tokuhiro on 8/2/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPConnectAccountAddress.h" -#import "STPFormEncodable.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - Information about the company or business to use with `STPConnectAccountParams`. - - @see https://stripe.com/docs/api/tokens/create_account#create_account_token-account-company - */ -@interface STPConnectAccountCompanyParams : NSObject - -/** - The company’s primary address. - */ -@property (nonatomic, strong) STPConnectAccountAddress *address; - -/** - The Kana variation of the company’s primary address (Japan only). - */ -@property (nonatomic, nullable) STPConnectAccountAddress *kanaAddress; - -/** - The Kanji variation of the company’s primary address (Japan only). - */ -@property (nonatomic, nullable) STPConnectAccountAddress *kanjiAddress; - -/** - Whether the company’s directors have been provided. - - Set this Boolean to true after creating all the company’s directors with the Persons API (https://stripe.com/docs/api/persons) for accounts with a relationship.director requirement. - This value is not automatically set to true after creating directors, so it needs to be updated to indicate all directors have been provided. - */ -@property (nonatomic, nullable) NSNumber *directorsProvided; - -/** - The company’s legal name. - */ -@property (nonatomic, copy, nullable) NSString *name; - -/** - The Kana variation of the company’s legal name (Japan only). - */ -@property (nonatomic, copy, nullable) NSString *kanaName; - -/** - The Kanji variation of the company’s legal name (Japan only). - */ -@property (nonatomic, copy, nullable) NSString *kanjiName; - -/** - Whether the company’s owners have been provided. - - Set this Boolean to true after creating all the company’s owners with the Persons API (https://stripe.com/docs/api/persons) for accounts with a relationship.owner requirement. - */ -@property (nonatomic, nullable) NSNumber *ownersProvided; - -/** - The company’s phone number (used for verification). - */ -@property (nonatomic, copy, nullable) NSString *phone; - -/** - The business ID number of the company, as appropriate for the company’s country. - - (Examples are an Employer ID Number in the U.S., a Business Number in Canada, or a Company Number in the UK.) - */ -@property (nonatomic, copy, nullable) NSString *taxID; - -/** - The jurisdiction in which the taxID is registered (Germany-based companies only). - */ -@property (nonatomic, copy, nullable) NSString *taxIDRegistrar; - -/** - The VAT number of the company. - */ -@property (nonatomic, copy, nullable) NSString *vatID; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPConnectAccountIndividualParams.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPConnectAccountIndividualParams.h deleted file mode 100644 index c2b342c..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPConnectAccountIndividualParams.h +++ /dev/null @@ -1,189 +0,0 @@ -// -// STPConnectAccountIndividualParams.h -// Stripe -// -// Created by Yuki Tokuhiro on 8/2/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPConnectAccountAddress.h" -#import "STPFormEncodable.h" - -NS_ASSUME_NONNULL_BEGIN - -@class STPConnectAccountIndividualVerification, STPConnectAccountVerificationDocument; - -/** - Information about the person represented by the account for use with `STPConnectAccountParams`. - - @see https://stripe.com/docs/api/tokens/create_account#create_account_token-account-individual - */ -@interface STPConnectAccountIndividualParams : NSObject - -/** - The individual’s primary address. - */ -@property (nonatomic, nullable) STPConnectAccountAddress *address; - -/** - The Kana variation of the the individual’s primary address (Japan only). - */ -@property (nonatomic, nullable) STPConnectAccountAddress *kanaAddress; - -/** - The Kanji variation of the the individual’s primary address (Japan only). - */ -@property (nonatomic, nullable) STPConnectAccountAddress *kanjiAddress; - -/** - The individual’s date of birth. - - Must include `day`, `month`, and `year`, and only those fields are used. - */ -@property (nonatomic, copy, nullable) NSDateComponents *dateOfBirth; - -/** - The individual's email address. - */ -@property (nonatomic, copy, nullable) NSString *email; - -/** - The individual’s first name. - */ -@property (nonatomic, copy, nullable) NSString *firstName; - -/** - The Kana variation of the the individual’s first name (Japan only). - */ -@property (nonatomic, copy, nullable) NSString *kanaFirstName; - -/** - The Kanji variation of the individual’s first name (Japan only). - */ -@property (nonatomic, copy, nullable) NSString *kanjiFirstName; - -/** - The individual’s gender - - International regulations require either “male” or “female”. - */ -@property (nonatomic, copy, nullable) NSString *gender; - -/** - The government-issued ID number of the individual, as appropriate for the representative’s country. - Examples are a Social Security Number in the U.S., or a Social Insurance Number in Canada. - - Instead of the number itself, you can also provide a PII token created with Stripe.js (see https://stripe.com/docs/stripe-js/reference#collecting-pii-data). - */ -@property (nonatomic, copy, nullable) NSString *idNumber; - -/** - The individual’s last name. - */ -@property (nonatomic, copy, nullable) NSString *lastName; - -/** - The Kana varation of the individual’s last name (Japan only). - */ -@property (nonatomic, copy, nullable) NSString *kanaLastName; - -/** - The Kanji varation of the individual’s last name (Japan only). - */ -@property (nonatomic, copy, nullable) NSString *kanjiLastName; - -/** - The individual’s maiden name. - */ -@property (nonatomic, copy, nullable) NSString *maidenName; - -/** - Set of key-value pairs that you can attach to an object. - - This can be useful for storing additional information about the object in a structured format. - */ -@property (nonatomic, copy, nullable) NSDictionary *metadata; - -/** - The individual’s phone number. - */ -@property (nonatomic, copy, nullable) NSString *phone; - -/** - The last four digits of the individual’s Social Security Number (U.S. only). - */ -@property (nonatomic, copy, nullable) NSString *ssnLast4; - -/** - The individual’s verification document information. - */ -@property (nonatomic, strong, nullable) STPConnectAccountIndividualVerification *verification; - -@end - -#pragma mark - - -/** - The individual’s verification document information for use with `STPConnectAccountIndividualParams`. - */ -@interface STPConnectAccountIndividualVerification: NSObject - -/** - An identifying document, either a passport or local ID card. - */ -@property (nonatomic, strong, nullable) STPConnectAccountVerificationDocument *document; - -@end - -#pragma mark - - -/** - An identifying document, either a passport or local ID card for use with `STPConnectAccountIndividualVerification`. - */ -@interface STPConnectAccountVerificationDocument: NSObject - -/** - The back of an ID returned by a file upload with a `purpose` value of `identity_document`. - - @see https://stripe.com/docs/api/files/create for file uploads - */ -@property (nonatomic, copy, nullable) NSString *back; - -/** - The front of an ID returned by a file upload with a `purpose` value of `identity_document`. - - @see https://stripe.com/docs/api/files/create for file uploads - */ -@property (nonatomic, copy, nullable) NSString *front; - -@end - -#pragma mark - Date of Birth - -/** - An individual's date of birth. - - See https://stripe.com/docs/api/tokens/create_account#create_account_token-account-individual-dob - */ -@interface STPDateOfBirth : NSObject - -/** - The day of birth, between 1 and 31. - */ -@property (nonatomic) NSInteger day; - -/** - The month of birth, between 1 and 12. - */ -@property (nonatomic) NSInteger month; - -/** - The four-digit year of birth. - */ -@property (nonatomic) NSInteger year; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPConnectAccountParams.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPConnectAccountParams.h deleted file mode 100644 index c0ee0d0..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPConnectAccountParams.h +++ /dev/null @@ -1,117 +0,0 @@ -// -// STPConnectAccountParams.h -// Stripe -// -// Created by Daniel Jackson on 1/4/18. -// Copyright © 2018 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPFormEncodable.h" - -/** - The business type of the Connect account. - */ -typedef NS_ENUM(NSInteger, STPConnectAccountBusinessType) { - /** - This Connect account represents an individual. - */ - STPConnectAccountBusinessTypeIndividual, - - /** - This Connect account represents a company. - */ - STPConnectAccountBusinessTypeCompany -}; - -NS_ASSUME_NONNULL_BEGIN - -@class STPConnectAccountIndividualParams; -@class STPConnectAccountCompanyParams; - -/** - Parameters for creating a Connect Account token. - - @see https://stripe.com/docs/api/tokens/create_account - */ -@interface STPConnectAccountParams : NSObject - -/** - Optional boolean indicating that the Terms Of Service were shown to the user & - the user accepted them. - */ -@property (nonatomic, nullable, readonly) NSNumber *tosShownAndAccepted; - -/** - The business type. - */ -@property (nonatomic, readonly) STPConnectAccountBusinessType businessType; - -/** - Information about the individual represented by the account. - - */ -@property (nonatomic, nullable, readonly) STPConnectAccountIndividualParams *individual; - -/** - Information about the company or business. - */ -@property (nonatomic, nullable, readonly) STPConnectAccountCompanyParams *company; - -/** - `STPConnectAccountParams` cannot be directly instantiated. - */ -- (instancetype)init __attribute__((unavailable("Cannot be directly instantiated"))); - -/** - Initialize `STPConnectAccountParams` with tosShownAndAccepted = YES - - This method cannot be called with `wasAccepted == NO`, guarded by a `NSParameterAssert()`. - - Use this init method if you want to set the `tosShownAndAccepted` parameter. If you - don't, use the `initWithIndividual:` version instead. - - @param wasAccepted Must be YES, but only if the user was shown & accepted the ToS - @param individual Information about the person represented by the account. See `STPConnectAccountIndividualParams`. - */ -- (instancetype)initWithTosShownAndAccepted:(BOOL)wasAccepted - individual:(STPConnectAccountIndividualParams *)individual; - -/** - Initialize `STPConnectAccountParams` with tosShownAndAccepted = YES - - This method cannot be called with `wasAccepted == NO`, guarded by a `NSParameterAssert()`. - - Use this init method if you want to set the `tosShownAndAccepted` parameter. If you - don't, use the `initWithCompany:` version instead. - - @param wasAccepted Must be YES, but only if the user was shown & accepted the ToS - @param company Information about the company or business. See `STPConnectAccountCompanyParams`. - */ -- (instancetype)initWithTosShownAndAccepted:(BOOL)wasAccepted - company:(STPConnectAccountCompanyParams *)company; - -/** - Initialize `STPConnectAccountParams` with the provided `individual` dictionary. - - @param individual Information about the person represented by the account - - This init method cannot change the `tosShownAndAccepted` parameter. Use - `initWithTosShownAndAccepted:individual:` instead if you need to do that. - */ -- (instancetype)initWithIndividual:(STPConnectAccountIndividualParams *)individual; - -/** - Initialize `STPConnectAccountParams` with the provided `company` dictionary. - - @param company Information about the company or business - - This init method cannot change the `tosShownAndAccepted` parameter. Use - `initWithTosShownAndAccepted:company:` instead if you need to do that. - */ -- (instancetype)initWithCompany:(STPConnectAccountCompanyParams *)company; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPCoreScrollViewController.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPCoreScrollViewController.h deleted file mode 100644 index ea8e833..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPCoreScrollViewController.h +++ /dev/null @@ -1,21 +0,0 @@ -// -// STPCoreScrollViewController.h -// Stripe -// -// Created by Brian Dorfman on 1/6/17. -// Copyright © 2017 Stripe, Inc. All rights reserved. -// - -#import "STPCoreViewController.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - This is the base class for all Stripe scroll view controllers. It is intended - for use only by Stripe classes, you should not subclass it yourself in your app. - */ -@interface STPCoreScrollViewController : STPCoreViewController - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPCoreTableViewController.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPCoreTableViewController.h deleted file mode 100644 index 683c20a..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPCoreTableViewController.h +++ /dev/null @@ -1,24 +0,0 @@ -// -// STPCoreTableViewController.h -// Stripe -// -// Created by Brian Dorfman on 1/6/17. -// Copyright © 2017 Stripe, Inc. All rights reserved. -// - -#import "STPCoreScrollViewController.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - This is the base class for all Stripe scroll view controllers. It is intended - for use only by Stripe classes, you should not subclass it yourself in your app. - - It inherits from STPCoreScrollViewController and changes the type of the - created scroll view to UITableView, as well as other shared table view logic. - */ -@interface STPCoreTableViewController : STPCoreScrollViewController - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPCoreViewController.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPCoreViewController.h deleted file mode 100644 index 49dacac..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPCoreViewController.h +++ /dev/null @@ -1,54 +0,0 @@ -// -// STPCoreViewController.h -// Stripe -// -// Created by Brian Dorfman on 1/6/17. -// Copyright © 2017 Stripe, Inc. All rights reserved. -// - -#import - -@class STPTheme; - -NS_ASSUME_NONNULL_BEGIN - -/** - This is the base class for all Stripe view controllers. It is intended for use - only by Stripe classes, you should not subclass it yourself in your app. - - It theming, back/cancel button management, and other shared logic for - Stripe view controllers. - */ -@interface STPCoreViewController : UIViewController - -/** - A convenience initializer; equivalent to calling `initWithTheme:[STPTheme defaultTheme]`. - */ -- (instancetype)init; - - -/** - Initializes a new view controller with the specified theme - - @param theme The theme to use to inform the view controller's visual appearance. @see STPTheme - */ -- (instancetype)initWithTheme:(STPTheme *)theme NS_DESIGNATED_INITIALIZER; - - -/** - Passes through to the default UIViewController behavior for this initializer, - and then also sets the default theme as in `init` - */ -- (instancetype)initWithNibName:(nullable NSString *)nibNameOrNil - bundle:(nullable NSBundle *)nibBundleOrNil NS_DESIGNATED_INITIALIZER; - -/** - Passes through to the default UIViewController behavior for this initializer, - and then also sets the default theme as in `init` - */ -- (nullable instancetype)initWithCoder:(NSCoder *)aDecoder NS_DESIGNATED_INITIALIZER; - -@end - -NS_ASSUME_NONNULL_END - diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPCustomer.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPCustomer.h deleted file mode 100644 index 95901c5..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPCustomer.h +++ /dev/null @@ -1,102 +0,0 @@ -// -// STPCustomer.h -// Stripe -// -// Created by Jack Flintermann on 6/9/16. -// Copyright © 2016 Stripe, Inc. All rights reserved. -// - -#import -#import "STPAPIResponseDecodable.h" -#import "STPSourceProtocol.h" - -@class STPAddress; - -NS_ASSUME_NONNULL_BEGIN - -/** - An `STPCustomer` represents a deserialized Customer object from the Stripe API. - You shouldn't need to instantiate an `STPCustomer` – you should instead use - `STPCustomerContext` to manage retrieving and updating a customer. - */ -@interface STPCustomer : NSObject - -/** - Initialize a customer object with the provided values. - - @param stripeID The ID of the customer, e.g. `cus_abc` - @param defaultSource The default source of the customer, such as an `STPCard` object. Can be nil. - @param sources All of the customer's payment sources. This might be an empty array. - - @return an instance of STPCustomer - */ -+ (instancetype)customerWithStripeID:(NSString *)stripeID - defaultSource:(nullable id)defaultSource - sources:(NSArray> *)sources; - -/** - The Stripe ID of the customer, e.g. `cus_1234` - */ -@property (nonatomic, readonly, copy) NSString *stripeID; - -/** - The default source used to charge the customer. - */ -@property (nonatomic, readonly, nullable) id defaultSource; - -/** - The available payment sources the customer has (this may be an empty array). - */ -@property (nonatomic, readonly) NSArray> *sources; - -/** - The customer's shipping address. - */ -@property (nonatomic, readonly, nullable) STPAddress *shippingAddress; - -@end - -/** - Use `STPCustomerDeserializer` to convert a response from the Stripe API into an `STPCustomer` object. `STPCustomerDeserializer` expects the JSON response to be in the exact same format as the Stripe API. - */ -@interface STPCustomerDeserializer : NSObject - -/** - Initialize a customer deserializer. The `data`, `urlResponse`, and `error` - parameters are intended to be passed from an `NSURLSessionDataTask` callback. - After it has been initialized, you can inspect the `error` and `customer` - properties to see if the deserialization was successful. If `error` is nil, - `customer` will be non-nil (and vice versa). - - @param data An `NSData` object representing encoded JSON for a Customer object - @param urlResponse The URL response obtained from the `NSURLSessionTask` - @param error Any error that occurred from the URL session task (if this - is non-nil, the `error` property will be set to this value after initialization). - */ -- (instancetype)initWithData:(nullable NSData *)data - urlResponse:(nullable NSURLResponse *)urlResponse - error:(nullable NSError *)error; - -/** - Initializes a customer deserializer with a JSON dictionary. This JSON should be - in the exact same format as what the Stripe API returns. If it's successfully - parsed, the `customer` parameter will be present after initialization; - otherwise `error` will be present. - - @param json a JSON dictionary. - */ -- (instancetype)initWithJSONResponse:(id)json; - -/** - If a customer was successfully parsed from the response, it will be set here. Otherwise, this value wil be nil (and the `error` property will explain what went wrong). - */ -@property (nonatomic, readonly, nullable) STPCustomer *customer; - -/** - If the deserializer failed to parse a customer, this property will explain why (and the `customer` property will be nil). - */ -@property (nonatomic, readonly, nullable) NSError *error; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPCustomerContext.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPCustomerContext.h deleted file mode 100644 index e6135e2..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPCustomerContext.h +++ /dev/null @@ -1,80 +0,0 @@ -// -// STPCustomerContext.h -// Stripe -// -// Created by Ben Guo on 5/2/17. -// Copyright © 2017 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPBackendAPIAdapter.h" - -NS_ASSUME_NONNULL_BEGIN - -@protocol STPCustomerEphemeralKeyProvider; -@class STPEphemeralKey, STPEphemeralKeyManager, STPAPIClient; - -/** - An `STPCustomerContext` retrieves and updates a Stripe customer and their attached - payment methods using an ephemeral key, a short-lived API key scoped to a specific - customer object. If your current user logs out of your app and a new user logs in, - be sure to either create a new instance of `STPCustomerContext` or clear the current - instance's cache. On your backend, be sure to create and return a - new ephemeral key for the Customer object associated with the new user. - */ -@interface STPCustomerContext : NSObject - -/** - Initializes a new `STPCustomerContext` with the specified key provider. - Upon initialization, a CustomerContext will fetch a new ephemeral key from - your backend and use it to prefetch the customer object specified in the key. - Subsequent customer and payment method retrievals (e.g. by `STPPaymentContext`) - will return the prefetched customer / attached payment methods immediately if - its age does not exceed 60 seconds. - - @param keyProvider The key provider the customer context will use. - @return the newly-instantiated customer context. - */ -- (instancetype)initWithKeyProvider:(id)keyProvider; - -/** -Initializes a new `STPCustomerContext` with the specified key provider. -Upon initialization, a CustomerContext will fetch a new ephemeral key from -your backend and use it to prefetch the customer object specified in the key. -Subsequent customer and payment method retrievals (e.g. by `STPPaymentContext`) -will return the prefetched customer / attached payment methods immediately if -its age does not exceed 60 seconds. - -@param keyProvider The key provider the customer context will use. -@param apiClient The API Client to use to make requests. -@return the newly-instantiated customer context. -*/ -- (instancetype)initWithKeyProvider:(id)keyProvider apiClient:(STPAPIClient *)apiClient; - - -/** - `STPCustomerContext` will cache its customer object and associated payment methods - for up to 60 seconds. If your current user logs out of your app and a new user logs - in, be sure to either call this method or create a new instance of `STPCustomerContext`. - On your backend, be sure to create and return a new ephemeral key for the - customer object associated with the new user. - */ -- (void)clearCache; - -/** - By default, `STPCustomerContext` will filter Apple Pay when it retrieves - Payment Methods. Apple Pay payment methods should generally not be re-used and - shouldn't be offered to customers as a new payment method (Apple Pay payment - methods may only be re-used for subscriptions). - - If you are using `STPCustomerContext` to back your own UI and would like to - disable Apple Pay filtering, set this property to YES. - - Note: If you are using `STPPaymentContext`, you should not change this property. - */ -@property (nonatomic, assign) BOOL includeApplePayPaymentMethods; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPEphemeralKeyProvider.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPEphemeralKeyProvider.h deleted file mode 100644 index 665331f..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPEphemeralKeyProvider.h +++ /dev/null @@ -1,82 +0,0 @@ -// -// STPEphemeralKeyProvider.h -// Stripe -// -// Created by Ben Guo on 5/9/17. -// Copyright © 2017 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPBlocks.h" - -NS_ASSUME_NONNULL_BEGIN - -@class STPEphemeralKey; - -/** - You should make your application's API client conform to this interface. - It provides a way for Stripe utility classes to request a new ephemeral key from - your backend, which it will use to retrieve and update Stripe API objects. - */ -@protocol STPCustomerEphemeralKeyProvider -/** - Creates a new ephemeral key for retrieving and updating a Stripe customer. - On your backend, you should create a new ephemeral key for the Stripe customer - associated with your user, and return the raw JSON response from the Stripe API. - For an example Ruby implementation of this API, refer to our example backend: - https://github.com/stripe/example-mobile-backend/blob/v18.1.0/web.rb - - Back in your iOS app, once you have a response from this API, call the provided - completion block with the JSON response, or an error if one occurred. - - @param apiVersion The Stripe API version to use when creating a key. - You should pass this parameter to your backend, and use it to set the API version - in your key creation request. Passing this version parameter ensures that the - Stripe SDK can always parse the ephemeral key response from your server. - @param completion Call this callback when you're done fetching a new ephemeral - key from your backend. For example, `completion(json, nil)` (if your call succeeds) - or `completion(nil, error)` if an error is returned. - */ -- (void)createCustomerKeyWithAPIVersion:(NSString *)apiVersion completion:(STPJSONResponseCompletionBlock)completion; -@end - -/** - You should make your application's API client conform to this interface. - It provides a way for Stripe utility classes to request a new ephemeral key from - your backend, which it will use to retrieve and update Stripe API objects. - */ -@protocol STPIssuingCardEphemeralKeyProvider -/** - Creates a new ephemeral key for retrieving and updating a Stripe Issuing Card. - On your backend, you should create a new ephemeral key for your logged-in user's - primary Issuing Card, and return the raw JSON response from the Stripe API. - For an example Ruby implementation of this API, refer to our example backend: - https://github.com/stripe/example-mobile-backend/blob/v18.1.0/web.rb - - Back in your iOS app, once you have a response from this API, call the provided - completion block with the JSON response, or an error if one occurred. - - @param apiVersion The Stripe API version to use when creating a key. - You should pass this parameter to your backend, and use it to set the API version - in your key creation request. Passing this version parameter ensures that the - Stripe SDK can always parse the ephemeral key response from your server. - @param completion Call this callback when you're done fetching a new ephemeral - key from your backend. For example, `completion(json, nil)` (if your call succeeds) - or `completion(nil, error)` if an error is returned. - */ -- (void)createIssuingCardKeyWithAPIVersion:(NSString *)apiVersion completion:(STPJSONResponseCompletionBlock)completion; -@end - -/** - You should make your application's API client conform to this interface. - It provides a way for Stripe utility classes to request a new ephemeral key from - your backend, which it will use to retrieve and update Stripe API objects. - @deprecated use `STPCustomerEphemeralKeyProvider` or `STPIssuingCardEphemeralKeyProvider` -depending on the type of key that will be fetched. - */ -__attribute__ ((deprecated("STPEphemeralKeyProvider has been renamed to STPCustomerEphemeralKeyProvider", "STPCustomerEphemeralKeyProvider"))) -@protocol STPEphemeralKeyProvider -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPFPXBankBrand.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPFPXBankBrand.h deleted file mode 100644 index 9b04ccf..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPFPXBankBrand.h +++ /dev/null @@ -1,151 +0,0 @@ -// -// STPFPXBankBrand.h -// StripeiOS -// -// Created by David Estes on 8/8/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -/** - The various bank brands available for FPX payments. - */ -typedef NS_ENUM(NSInteger, STPFPXBankBrand) { - - /** - Maybank2U - */ - STPFPXBankBrandMaybank2U, - - /** - CIMB Clicks - */ - STPFPXBankBrandCIMB, - - /** - Public Bank - */ - STPFPXBankBrandPublicBank, - - /** - RHB Bank - */ - STPFPXBankBrandRHB, - - /** - Hong Leong Bank - */ - STPFPXBankBrandHongLeongBank, - - /** - AmBank - */ - STPFPXBankBrandAmbank, - - /** - Affin Bank - */ - STPFPXBankBrandAffinBank, - - /** - Alliance Bank - */ - STPFPXBankBrandAllianceBank, - - /** - Bank Islam - */ - STPFPXBankBrandBankIslam, - - /** - Bank Muamalat - */ - STPFPXBankBrandBankMuamalat, - - /** - Bank Rakyat - */ - STPFPXBankBrandBankRakyat, - - /** - BSN - */ - STPFPXBankBrandBSN, - - /** - HSBC BANK - */ - STPFPXBankBrandHSBC, - - /** - KFH - */ - STPFPXBankBrandKFH, - - /** - Maybank2E - */ - STPFPXBankBrandMaybank2E, - - /** - OCBC Bank - */ - STPFPXBankBrandOcbc, - - /** - Standard Chartered - */ - STPFPXBankBrandStandardChartered, - - /** - UOB Bank - */ - STPFPXBankBrandUOB, - - /** - An unknown bank - */ - STPFPXBankBrandUnknown, -}; - -/** - Returns a string representation for the provided bank brand; - i.e. `[NSString stringFromBrand:STPCardBrandUob] == @"UOB Bank"`. - - @param brand The brand you want to convert to a string - - @return A string representing the brand, suitable for displaying to a user. - */ -NSString * STPStringFromFPXBankBrand(STPFPXBankBrand brand); - -/** - Returns a bank brand provided a string representation identifying a bank brand; - i.e. `STPFPXBankBrandFromIdentifier(@"uob") == STPCardBrandUob`. - - @param identifier The identifier for the brand - - @return The STPFPXBankBrand enum value - */ -STPFPXBankBrand STPFPXBankBrandFromIdentifier(NSString *identifier); - -/** - Returns a string representation identifying the provided bank brand; - i.e. `STPIdentifierFromFPXBankBrand(STPCardBrandUob) == @"uob"`. - - @param brand The brand you want to convert to a string - - @return A string representing the brand, suitable for using with the Stripe API. - */ -NSString * STPIdentifierFromFPXBankBrand(STPFPXBankBrand brand); - -/** - Returns the code identifying the provided bank brand in the FPX status API; - i.e. `STPIdentifierFromFPXBankBrand(STPCardBrandUob) == @"UOB0226"`. - - @param brand The brand you want to convert to an FPX bank code - @param isBusiness Requests the code for the business version of this bank brand, which may be different from the code used for individual accounts - - @return A string representing the brand, suitable for checking against the FPX status API. - */ -NSString * STPBankCodeFromFPXBankBrand(STPFPXBankBrand brand, BOOL isBusiness); diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPFakeAddPaymentPassViewController.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPFakeAddPaymentPassViewController.h deleted file mode 100644 index bbc7925..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPFakeAddPaymentPassViewController.h +++ /dev/null @@ -1,30 +0,0 @@ -// -// STPFakeAddPaymentPassViewController.h -// Stripe -// -// Created by Jack Flintermann on 9/28/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -/** -This class is a piece of fake UI that is intended to mimic `PKAddPaymentPassViewController`. That class is restricted to apps with a special entitlement from Apple, and as such can be difficult to build and test against. This class implements the same public API as `PKAddPaymentPassViewController`, and can be used to develop against the Stripe API in *testmode only*. (Obviously it will not actually place cards into the user's Apple Pay wallet either.) When it's time to go to production, you may simply replace all references to `STPFakeAddPaymentPassViewController` in your app with `PKAddPaymentPassViewController` and it will continue to function. For more information on developing against this API, please see https://stripe.com/docs/issuing/cards/digital-wallets . - */ -@interface STPFakeAddPaymentPassViewController : UIViewController - -/// @see PKAddPaymentPassViewController -+ (BOOL)canAddPaymentPass; - -/// @see PKAddPaymentPassViewController -- (nullable instancetype)initWithRequestConfiguration:(PKAddPaymentPassRequestConfiguration *)configuration - delegate:(nullable id)delegate NS_DESIGNATED_INITIALIZER; -/// @see PKAddPaymentPassViewController -@property (nonatomic, weak, nullable) id delegate; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPFile.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPFile.h deleted file mode 100644 index cde4fbc..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPFile.h +++ /dev/null @@ -1,77 +0,0 @@ -// -// STPFile.h -// Stripe -// -// Created by Charles Scalesse on 11/30/16. -// Copyright © 2016 Stripe, Inc. All rights reserved. -// - -#import -#import "STPAPIResponseDecodable.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - The purpose of the uploaded file. - - @see https://stripe.com/docs/file-upload - */ -typedef NS_ENUM(NSInteger, STPFilePurpose) { - - /** - Identity document file - */ - STPFilePurposeIdentityDocument, - - /** - Dispute evidence file - */ - STPFilePurposeDisputeEvidence, - - /** - A file of unknown purpose type - */ - STPFilePurposeUnknown, -}; - -/** - Representation of a file upload object in the Stripe API. - - @see https://stripe.com/docs/api#file_uploads - */ -@interface STPFile : NSObject - -/** - The token for this file. - */ -@property (nonatomic, readonly) NSString *fileId; - -/** - The date this file was created. - */ -@property (nonatomic, readonly) NSDate *created; - -/** - The purpose of this file. This can be either an identifing document or an evidence dispute. - @see https://stripe.com/docs/file-upload - */ -@property (nonatomic, readonly) STPFilePurpose purpose; - -/** - The file size in bytes. - */ -@property (nonatomic, readonly) NSNumber *size; - -/** - The file type. This can be "jpg", "png", or "pdf". - */ -@property (nonatomic, readonly) NSString *type; - -/** - Returns the string value for a purpose. - */ -+ (nullable NSString *)stringFromPurpose:(STPFilePurpose)purpose; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPFormEncodable.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPFormEncodable.h deleted file mode 100644 index 873f9a0..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPFormEncodable.h +++ /dev/null @@ -1,39 +0,0 @@ -// -// STPFormEncodable.h -// Stripe -// -// Created by Jack Flintermann on 10/14/15. -// Copyright © 2015 Stripe, Inc. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Objects conforming to STPFormEncodable can be automatically converted to a form-encoded string, which can then be used when making requests to the Stripe API. - */ -@protocol STPFormEncodable - -/** - The root object name to be used when converting this object to a form-encoded string. For example, if this returns @"card", then the form-encoded output will resemble @"card[foo]=bar" (where 'foo' and 'bar' are specified by `propertyNamesToFormFieldNamesMapping` below. - */ -+ (nullable NSString *)rootObjectName; - -/** - This maps properties on an object that is being form-encoded into parameter names in the Stripe API. For example, STPCardParams has a field called `expMonth`, but the Stripe API expects a field called `exp_month`. This dictionary represents a mapping from the former to the latter (in other words, [STPCardParams propertyNamesToFormFieldNamesMapping][@"expMonth"] == @"exp_month".) - */ -+ (NSDictionary *)propertyNamesToFormFieldNamesMapping; - -/** - You can use this property to add additional fields to an API request that are not explicitly defined by the object's interface. This can be useful when using beta features that haven't been added to the Stripe SDK yet. For example, if the /v1/tokens API began to accept a beta field called "test_field", you might do the following: - STPCardParams *cardParams = [STPCardParams new]; - // add card values - cardParams.additionalAPIParameters = @{@"test_field": @"example_value"}; - [[STPAPIClient sharedClient] createTokenWithCard:cardParams completion:...]; - */ -@property (nonatomic, readwrite, copy) NSDictionary *additionalAPIParameters; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPFormTextFieldContainer.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPFormTextFieldContainer.h deleted file mode 100644 index c684ad4..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPFormTextFieldContainer.h +++ /dev/null @@ -1,62 +0,0 @@ -// -// STPFormTextFieldContainer.h -// Stripe -// -// Created by Cameron Sabol on 3/12/20. -// Copyright © 2020 Stripe, Inc. All rights reserved. -// - -#import - -/** - STPFormTextFieldContainer is a protocol that views can conform to to provide customization properties for the field form views that they contain. - */ -@protocol STPFormTextFieldContainer - -/** - The font used in each child field. Default is [UIFont preferredFontForTextStyle:UIFontTextStyleBody]. - - Set this property to nil to reset to the default. - */ -@property (nonatomic, copy, null_resettable) UIFont *formFont UI_APPEARANCE_SELECTOR; - -/** - The text color to be used when entering valid text. Default is [UIColor labelColor] on iOS 13.0 and later an [UIColor darkTextColor] on earlier versions. - - Set this property to nil to reset to the default. - */ -@property (nonatomic, copy, null_resettable) UIColor *formTextColor UI_APPEARANCE_SELECTOR; - -/** - The text color to be used when the user has entered invalid information, - such as an invalid card number. - - Default is [UIColor redColor]. Set this property to nil to reset to the default. - */ -@property (nonatomic, copy, null_resettable) UIColor *formTextErrorColor UI_APPEARANCE_SELECTOR; - -/** - The text placeholder color used in each child field. - - This will also set the color of the card placeholder icon. - - Default is [UIColor placeholderTextColor] on iOS 13.0 and [UIColor lightGrayColor] on earlier versions. Set this property to nil to reset to the default. - */ -@property (nonatomic, copy, null_resettable) UIColor *formPlaceholderColor UI_APPEARANCE_SELECTOR; - -/** - The cursor color for the field. - - This is a proxy for the view's tintColor property, exposed for clarity only - (in other words, calling setCursorColor is identical to calling setTintColor). - */ -@property (nonatomic, copy, null_resettable) UIColor *formCursorColor UI_APPEARANCE_SELECTOR; - -/** - The keyboard appearance for the field. - - Default is UIKeyboardAppearanceDefault. - */ -@property (nonatomic, assign) UIKeyboardAppearance formKeyboardAppearance UI_APPEARANCE_SELECTOR; - -@end diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPImageLibrary.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPImageLibrary.h deleted file mode 100644 index ed2878e..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPImageLibrary.h +++ /dev/null @@ -1,104 +0,0 @@ -// -// STPImages.h -// Stripe -// -// Created by Jack Flintermann on 6/30/16. -// Copyright © 2016 Stripe, Inc. All rights reserved. -// - -#import -#import -#import "STPFPXBankBrand.h" -#import "STPCardBrand.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - This class lets you access card icons used by the Stripe SDK. All icons are 32 x 20 points. - */ -@interface STPImageLibrary : NSObject - -/** - An icon representing Apple Pay. - */ -+ (UIImage *)applePayCardImage; - -/** - An icon representing American Express. - */ -+ (UIImage *)amexCardImage; - -/** - An icon representing Diners Club. - */ -+ (UIImage *)dinersClubCardImage; - -/** - An icon representing Discover. - */ -+ (UIImage *)discoverCardImage; - -/** - An icon representing JCB. - */ -+ (UIImage *)jcbCardImage; - -/** - An icon representing Mastercard. - */ -+ (UIImage *)masterCardCardImage; - -/** - An icon representing UnionPay. - */ -+ (UIImage *)unionPayCardImage; - -/** - An icon representing Visa. - */ -+ (UIImage *)visaCardImage; - -/** - An icon to use when the type of the card is unknown. - */ -+ (UIImage *)unknownCardCardImage; - -/** - This returns the appropriate icon for the specified card brand. - */ -+ (UIImage *)brandImageForCardBrand:(STPCardBrand)brand; - -/** -This returns the appropriate icon for the specified bank brand. -*/ -+ (UIImage *)brandImageForFPXBankBrand:(STPFPXBankBrand)brand; - -/** - An icon representing FPX. - */ -+ (UIImage *)fpxLogo; - -/** - A large branding image for FPX. - */ -+ (UIImage *)largeFpxLogo; - -/** - This returns the appropriate icon for the specified card brand as a - single color template that can be tinted - */ -+ (UIImage *)templatedBrandImageForCardBrand:(STPCardBrand)brand; - -/** - This returns a small icon indicating the CVC location for the given card brand. - */ -+ (UIImage *)cvcImageForCardBrand:(STPCardBrand)brand; - -/** - This returns a small icon indicating a card number error for the given card brand. - */ -+ (UIImage *)errorImageForCardBrand:(STPCardBrand)brand; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPIntentAction.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPIntentAction.h deleted file mode 100644 index 9abb7e5..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPIntentAction.h +++ /dev/null @@ -1,81 +0,0 @@ -// -// STPIntentAction.h -// Stripe -// -// Created by Yuki Tokuhiro on 6/27/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPAPIResponseDecodable.h" - -@class STPIntentActionRedirectToURL, STPIntentActionRedirectToURL; - -NS_ASSUME_NONNULL_BEGIN - -/** - Types of next actions for `STPPaymentIntent` and `STPSetupIntent`. - - You shouldn't need to inspect this yourself; `STPPaymentHandler` will handle any next actions for you. - */ -typedef NS_ENUM(NSUInteger, STPIntentActionType) { - - /** - This is an unknown action, that's been added since the SDK - was last updated. - Update your SDK, or use the `nextAction.allResponseFields` - for custom handling. - */ - STPIntentActionTypeUnknown, - - /** - The payment intent needs to be authorized by the user. We provide - `STPPaymentHandler` to handle the url redirections necessary. - */ - STPIntentActionTypeRedirectToURL, - - /** - The payment intent requires additional action handled by `STPPaymentHandler`. - */ - STPIntentActionTypeUseStripeSDK, - -}; - -/** - Next action details for `STPPaymentIntent` and `STPSetupIntent`. - - This is a container for the various types that are available. - Check the `type` to see which one it is, and then use the related - property for the details necessary to handle it. - */ -@interface STPIntentAction : NSObject - -/** - You cannot directly instantiate an `STPIntentAction`. - */ -- (instancetype)init __attribute__((unavailable("You cannot directly instantiate an STPIntentAction."))); - -/** - The type of action needed. The value of this field determines which - property of this object contains further details about the action. - */ -@property (nonatomic, readonly) STPIntentActionType type; - -/** - The details for authorizing via URL, when `type == STPIntentActionRedirectToURL` - */ -@property (nonatomic, strong, nullable, readonly) STPIntentActionRedirectToURL *redirectToURL; - -#pragma mark - Deprecated - -/** - The details for authorizing via URL, when `type == STPIntentActionTypeRedirectToURL` - - @deprecated Use `redirectToURL` instead. - */ -@property (nonatomic, strong, nullable, readonly) STPIntentActionRedirectToURL *authorizeWithURL __attribute__((deprecated("Use `redirectToURL` instead", "redirectToURL"))); - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPIntentActionRedirectToURL.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPIntentActionRedirectToURL.h deleted file mode 100644 index 97e9052..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPIntentActionRedirectToURL.h +++ /dev/null @@ -1,38 +0,0 @@ -// -// STPIntentActionRedirectToURL.h -// Stripe -// -// Created by Yuki Tokuhiro on 6/27/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPAPIResponseDecodable.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - Contains instructions for authenticating a payment by redirecting your customer to another page or application. - */ -@interface STPIntentActionRedirectToURL : NSObject - -/** - You cannot directly instantiate an `STPIntentActionRedirectToURL`. - */ -- (instancetype)init __attribute__((unavailable("You cannot directly instantiate an STPIntentActionRedirectToURL."))); - -/** - The URL you must redirect your customer to in order to authenticate the payment. - */ -@property (nonatomic, readonly) NSURL *url; - -/** - The return URL that'll be redirected back to when the user is done - authenticating. - */ -@property (nonatomic, nullable, readonly) NSURL *returnURL; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPIssuingCardPin.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPIssuingCardPin.h deleted file mode 100644 index 073005e..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPIssuingCardPin.h +++ /dev/null @@ -1,36 +0,0 @@ -// -// STPIssuingCardPin.h -// Stripe -// -// Created by Arnaud Cavailhez on 4/29/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import -#import "STPAPIResponseDecodable.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - Information related to a Stripe Issuing card, including the PIN - */ -@interface STPIssuingCardPin : NSObject - -/** - You cannot directly instantiate an `STPIssuingCardPin`. - */ -- (instancetype)init __attribute__((unavailable("You cannot directly instantiate an STPIssuingCardPin"))); - -/** - The PIN for the card - */ -@property (nonatomic, nullable, readonly) NSString *pin; - -/** - If the PIN failed to be created, this error might be present - */ -@property (nonatomic, nullable, readonly) NSDictionary *error; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPKlarnaLineItem.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPKlarnaLineItem.h deleted file mode 100644 index c8b917f..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPKlarnaLineItem.h +++ /dev/null @@ -1,74 +0,0 @@ -// -// STPKlarnaLineItem.h -// Stripe -// -// Created by David Estes on 11/19/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - The type of the Klarna line item. -*/ -typedef NS_ENUM(NSUInteger, STPKlarnaLineItemType) { - /** - The line item for a product - */ - STPKlarnaLineItemTypeSKU, - /** - The line item for taxes - */ - STPKlarnaLineItemTypeTax, - /** - The line item for shipping costs - */ - STPKlarnaLineItemTypeShipping -}; - -/** - An object representing a line item in a Klarna source. - @see https://stripe.com/docs/sources/klarna#create-source - */ - -@interface STPKlarnaLineItem : NSObject - -/** - The line item's type. One of `sku` (for a product), `tax` (for taxes), or `shipping` (for shipping costs). - */ -@property (nonatomic) STPKlarnaLineItemType itemType; - -/** - The human-readable description for the line item. - */ -@property (nonatomic, copy) NSString *itemDescription; - -/** - The quantity to display for this line item. - */ -@property (nonatomic, copy) NSNumber *quantity; - -/** - The total price of this line item. - Note: This is the total price after multiplying by the quantity, not - the price of an individual item. It is denominated in the currency - of the STPSourceParams which contains it. - */ -@property (nonatomic, copy) NSNumber *totalAmount; - -/** -Initialize this `STPKlarnaLineItem` with a set of parameters. - - @param itemType The line item's type. - @param itemDescription The human-readable description for the line item. - @param quantity The quantity to display for this line item. - @param totalAmount The total price of this line item. - -*/ -- (instancetype)initWithItemType:(STPKlarnaLineItemType)itemType itemDescription:(NSString *)itemDescription quantity:(NSNumber *)quantity totalAmount:(NSNumber *)totalAmount; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPMandateCustomerAcceptanceParams.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPMandateCustomerAcceptanceParams.h deleted file mode 100644 index 075eb89..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPMandateCustomerAcceptanceParams.h +++ /dev/null @@ -1,46 +0,0 @@ -// -// STPMandateCustomerAcceptanceParams.h -// Stripe -// -// Created by Cameron Sabol on 10/17/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPFormEncodable.h" - -@class STPMandateOnlineParams; - -NS_ASSUME_NONNULL_BEGIN - -/** - The type of customer acceptance information included with the Mandate. - */ -typedef NS_ENUM(NSInteger, STPMandateCustomerAcceptanceType) { - /// A Mandate that was accepted online. - STPMandateCustomerAcceptanceTypeOnline, - - /// A Mandate that was accepted offline. - STPMandateCustomerAcceptanceTypeOffline, -}; - -/** - An object that contains details about the customer acceptance of the Mandate. @see https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-mandate_data-customer_acceptance - */ -@interface STPMandateCustomerAcceptanceParams : NSObject - -/** - The type of customer acceptance information included with the Mandate. - */ -@property (nonatomic) STPMandateCustomerAcceptanceType type; - -/** - If this is a Mandate accepted online, this object contains details about the online acceptance. - @note If `type == STPMandateCustomerAcceptanceTypeOnline`, this value must be non-nil. - */ -@property (nonatomic, nullable) STPMandateOnlineParams *onlineParams; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPMandateDataParams.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPMandateDataParams.h deleted file mode 100644 index 5c182b7..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPMandateDataParams.h +++ /dev/null @@ -1,29 +0,0 @@ -// -// STPMandateDataParams.h -// Stripe -// -// Created by Cameron Sabol on 10/17/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPFormEncodable.h" - -@class STPMandateCustomerAcceptanceParams; - -NS_ASSUME_NONNULL_BEGIN - -/** - This object contains details about the Mandate to create. @see https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-mandate_data - */ -@interface STPMandateDataParams : NSObject - -/** - Details about the customer acceptance of the Mandate. - */ -@property (nonatomic) STPMandateCustomerAcceptanceParams *customerAcceptance; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPMandateOnlineParams.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPMandateOnlineParams.h deleted file mode 100644 index c400354..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPMandateOnlineParams.h +++ /dev/null @@ -1,32 +0,0 @@ -// -// STPMandateOnlineParams.h -// Stripe -// -// Created by Cameron Sabol on 10/17/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPFormEncodable.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - Contains details about a Mandate accepted online. @see https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-mandate_data-customer_acceptance-online - */ -@interface STPMandateOnlineParams : NSObject - -/** - The IP address from which the Mandate was accepted by the customer. - */ -@property (nonatomic, copy) NSString *ipAddress; - -/** - The user agent of the browser from which the Mandate was accepted by the customer. - */ -@property (nonatomic, copy) NSString *userAgent; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPMultiFormTextField.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPMultiFormTextField.h deleted file mode 100644 index 13f2d6e..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPMultiFormTextField.h +++ /dev/null @@ -1,79 +0,0 @@ -// -// STPMultiFormTextField.h -// StripeiOS -// -// Created by Cameron Sabol on 3/4/20. -// Copyright © 2020 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPFormTextFieldContainer.h" - -@class STPFormTextField; - -NS_ASSUME_NONNULL_BEGIN - -@class STPMultiFormTextField; - -/** - STPMultiFormFieldDelegate provides methods for a delegate to respond to editing and text changes. - */ -@protocol STPMultiFormFieldDelegate - -/** - Called when the text field becomes the first responder. - */ -- (void)formTextFieldDidStartEditing:(STPFormTextField *)formTextField - inMultiFormField:(STPMultiFormTextField *)multiFormField; - -/** - Called when the text field resigns from being the first responder. - */ -- (void)formTextFieldDidEndEditing:(STPFormTextField *)formTextField - inMultiFormField:(STPMultiFormTextField *)multiFormField; - -/** - Called when the text within the form text field changes. - */ -- (void)formTextFieldTextDidChange:(STPFormTextField *)formTextField - inMultiFormField:(STPMultiFormTextField *)multiFormField; - -/** - Called to get any additional formatting from the delegate for the string input to the form text field. - */ -- (NSAttributedString *)modifiedIncomingTextChange:(NSAttributedString *)input - forTextField:(STPFormTextField *)formTextField - inMultiFormField:(STPMultiFormTextField *)multiFormField; - -/** - Delegates should implement this method so that STPMultiFormTextField when the contents of the form text field renders it complete. - */ -- (BOOL)isFormFieldComplete:(STPFormTextField *)formTextField - inMultiFormField:(STPMultiFormTextField *)multiFormField; -@end - -/** - STPMultiFormTextField is a lightweight UIControl that wraps a collection of STPFormTextFields and can automatically move to the next form field when one is completed. - */ -@interface STPMultiFormTextField : UIControl - -/** - The collection of STPFormTextFields that this instance manages. - */ -@property (nonatomic) NSArray *formTextFields; - -/** - The STPMultiFormTextField's delegate. - */ -@property (nonatomic, weak) id multiFormFieldDelegate; - -/** - Calling this method will make the next incomplete STPFormTextField in `formTextFields` become the first responder. - If all of the form text fields are already complete, then the last field in `formTextFields` will become the first responder. - */ -- (void)focusNextFormField; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentActivityIndicatorView.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentActivityIndicatorView.h deleted file mode 100644 index 41cb610..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentActivityIndicatorView.h +++ /dev/null @@ -1,32 +0,0 @@ -// -// STPPaymentActivityIndicatorView.h -// Stripe -// -// Created by Jack Flintermann on 5/12/16. -// Copyright © 2016 Stripe, Inc. All rights reserved. -// - -#import - -/** - This class can be used wherever you'd use a `UIActivityIndicatorView` and is intended to have a similar API. It renders as a spinning circle with a gap in it, similar to what you see in the App Store app or in the Apple Pay dialog when making a purchase. To change its color, set the `tintColor` property. - */ -@interface STPPaymentActivityIndicatorView : UIView - -/** - Tell the view to start or stop spinning. If `hidesWhenStopped` is true, it will fade in/out if animated is true. - */ -- (void)setAnimating:(BOOL)animating - animated:(BOOL)animated; - -/** - Whether or not the view is animating. - */ -@property (nonatomic) BOOL animating; - -/** - If true, the view will hide when it is not spinning. Default is true. - */ -@property (nonatomic) BOOL hidesWhenStopped; - -@end diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentCardTextField.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentCardTextField.h deleted file mode 100644 index d6b5c35..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentCardTextField.h +++ /dev/null @@ -1,399 +0,0 @@ -// -// STPPaymentCardTextField.h -// Stripe -// -// Created by Jack Flintermann on 7/16/15. -// Copyright (c) 2015 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPPaymentMethodCard.h" - -@class STPPaymentCardTextField, STPPaymentMethodCardParams; -@protocol STPPaymentCardTextFieldDelegate; - -/** - STPPaymentCardTextField is a text field with similar properties to UITextField, - but specialized for collecting credit/debit card information. It manages - multiple UITextFields under the hood to collect this information. It's - designed to fit on a single line, and from a design perspective can be used - anywhere a UITextField would be appropriate. - */ -IB_DESIGNABLE -@interface STPPaymentCardTextField : UIControl - -/** - @see STPPaymentCardTextFieldDelegate - */ -@property (nonatomic, weak, nullable) IBOutlet id delegate; - -/** - The font used in each child field. Default is [UIFont systemFontOfSize:18]. - - Set this property to nil to reset to the default. - */ -@property (nonatomic, copy, null_resettable) UIFont *font UI_APPEARANCE_SELECTOR; - -/** - The text color to be used when entering valid text. Default is [UIColor labelColor]. - - Set this property to nil to reset to the default. - */ -@property (nonatomic, copy, null_resettable) UIColor *textColor UI_APPEARANCE_SELECTOR; - -/** - The text color to be used when the user has entered invalid information, - such as an invalid card number. - - Default is [UIColor redColor]. Set this property to nil to reset to the default. - */ -@property (nonatomic, copy, null_resettable) UIColor *textErrorColor UI_APPEARANCE_SELECTOR; - -/** - The text placeholder color used in each child field. - - This will also set the color of the card placeholder icon. - - Default is [UIColor systemGray2Color]. Set this property to nil to reset to the default. - */ -@property (nonatomic, copy, null_resettable) UIColor *placeholderColor UI_APPEARANCE_SELECTOR; - -/** - The placeholder for the card number field. - - Default is @"4242424242424242". - - If this is set to something that resembles a card number, it will automatically - format it as such (in other words, you don't need to add spaces to this string). - */ -@property (nonatomic, copy, nullable) IBInspectable NSString *numberPlaceholder; - -/** - The placeholder for the expiration field. Defaults to @"MM/YY". - */ -@property (nonatomic, copy, nullable) IBInspectable NSString *expirationPlaceholder; - -/** - The placeholder for the cvc field. Defaults to @"CVC". - */ -@property (nonatomic, copy, nullable) IBInspectable NSString *cvcPlaceholder; - -/** - The placeholder for the postal code field. Defaults to @"ZIP" for United States - or @"Postal" for all other country codes. - */ -@property (nonatomic, copy, nullable) IBInspectable NSString *postalCodePlaceholder; - -/** - The cursor color for the field. - - This is a proxy for the view's tintColor property, exposed for clarity only - (in other words, calling setCursorColor is identical to calling setTintColor). - */ -@property (nonatomic, copy, null_resettable) UIColor *cursorColor UI_APPEARANCE_SELECTOR; - -/** - The border color for the field. - - Can be nil (in which case no border will be drawn). - - Default is [UIColor systemGray2Color]. - */ -@property (nonatomic, copy, nullable) UIColor *borderColor UI_APPEARANCE_SELECTOR; - -/** - The width of the field's border. - - Default is 1.0. - */ -@property (nonatomic, assign) CGFloat borderWidth UI_APPEARANCE_SELECTOR; - -/** - The corner radius for the field's border. - - Default is 5.0. - */ -@property (nonatomic, assign) CGFloat cornerRadius UI_APPEARANCE_SELECTOR; - -/** - The keyboard appearance for the field. - - Default is UIKeyboardAppearanceDefault. - */ -@property (nonatomic, assign) UIKeyboardAppearance keyboardAppearance UI_APPEARANCE_SELECTOR; - -/** - This behaves identically to setting the inputView for each child text field. - */ -@property (nonatomic, strong, nullable) UIView *inputView; - -/** - This behaves identically to setting the inputAccessoryView for each child text field. - */ -@property (nonatomic, strong, nullable) UIView *inputAccessoryView; - -/** -The curent brand image displayed in the receiver. - */ -@property (nonatomic, nullable, readonly) UIImage *brandImage; - -/** - Whether or not the form currently contains a valid card number, - expiration date, CVC, and postal code (if required). - - @see STPCardValidator - */ -@property (nonatomic, readonly) BOOL isValid; - -/** - Enable/disable selecting or editing the field. Useful when submitting card details to Stripe. - */ -@property(nonatomic, getter=isEnabled) BOOL enabled; - -/** - The current card number displayed by the field. - - May or may not be valid, unless `isValid` is true, in which case it is guaranteed - to be valid. - */ -@property (nonatomic, readonly, nullable) NSString *cardNumber; - -/** - The current expiration month displayed by the field (1 = January, etc). - - May or may not be valid, unless `isValid` is true, in which case it is - guaranteed to be valid. - */ -@property (nonatomic, readonly) NSUInteger expirationMonth; - -/** - The current expiration month displayed by the field, as a string. T - - This may or may not be a valid entry (i.e. "0") unless `isValid` is true. - It may be also 0-prefixed (i.e. "01" for January). - */ -@property (nonatomic, readonly, nullable) NSString *formattedExpirationMonth; - -/** - The current expiration year displayed by the field, modulo 100 - (e.g. the year 2015 will be represented as 15). - - May or may not be valid, unless `isValid` is true, in which case it is - guaranteed to be valid. - */ -@property (nonatomic, readonly) NSUInteger expirationYear; - -/** - The current expiration year displayed by the field, as a string. - - This is a 2-digit year (i.e. "15"), and may or may not be a valid entry - unless `isValid` is true. - */ -@property (nonatomic, readonly, nullable) NSString *formattedExpirationYear; - -/** - The current card CVC displayed by the field. - - May or may not be valid, unless `isValid` is true, in which case it - is guaranteed to be valid. - */ -@property (nonatomic, readonly, nullable) NSString *cvc; - -/** - The current card ZIP or postal code displayed by the field. - */ -@property (nonatomic, readonly, nullable) NSString *postalCode; - -/** - Controls if a postal code entry field can be displayed to the user. - - Default is YES. - - If YES, the type of code entry shown is controlled by the set `countryCode` - value. Some country codes may result in no postal code entry being shown if - those countries do not commonly use postal codes. - - If NO, no postal code entry will ever be displayed. - */ -@property (nonatomic, assign, readwrite) BOOL postalCodeEntryEnabled; - - -/** - The two-letter ISO country code that corresponds to the user's billing address. - - If `postalCodeEntryEnabled` is YES, this controls which type of entry is allowed. - If `postalCodeEntryEnabled` is NO, this property currently has no effect. - - If set to nil and postal code entry is enabled, the country from the user's current - locale will be filled in. Otherwise the specific country code set will be used. - - By default this will fetch the user's current country code from NSLocale. - */ -@property (nonatomic, copy, nullable) NSString *countryCode; - -/** - Convenience property for creating an `STPPaymentMethodCardParams` from the currently entered information - or programmatically setting the field's contents. For example, if you're using another library - to scan your user's credit card with a camera, you can assemble that data into an `STPPaymentMethodCardParams` - object and set this property to that object to prefill the fields you've collected. - - Accessing this property returns a *copied* `cardParams`. The only way to change properties in this - object is to make changes to a `STPPaymentMethodCardParams` you own (retrieved from this text field if desired), - and then set this property to the new value. - */ -@property (nonatomic, copy, readwrite, nonnull) STPPaymentMethodCardParams *cardParams; - -/** - Causes the text field to begin editing. Presents the keyboard. - - @return Whether or not the text field successfully began editing. - @see UIResponder - */ -- (BOOL)becomeFirstResponder; - -/** - Causes the text field to stop editing. Dismisses the keyboard. - - @return Whether or not the field successfully stopped editing. - @see UIResponder - */ -- (BOOL)resignFirstResponder; - -/** - Resets all of the contents of all of the fields. If the field is currently being edited, the number field will become selected. - */ -- (void)clear; - -/** - Returns the cvc image used for a card brand. - Override this method in a subclass if you would like to provide custom images. - @param cardBrand The brand of card entered. - @return The cvc image used for a card brand. - */ -+ (nullable UIImage *)cvcImageForCardBrand:(STPCardBrand)cardBrand; - -/** - Returns the brand image used for a card brand. - Override this method in a subclass if you would like to provide custom images. - @param cardBrand The brand of card entered. - @return The brand image used for a card brand. - */ -+ (nullable UIImage *)brandImageForCardBrand:(STPCardBrand)cardBrand; - -/** - Returns the error image used for a card brand. - Override this method in a subclass if you would like to provide custom images. - @param cardBrand The brand of card entered. - @return The error image used for a card brand. - */ -+ (nullable UIImage *)errorImageForCardBrand:(STPCardBrand)cardBrand; - -/** - Returns the rectangle in which the receiver draws its brand image. - @param bounds The bounding rectangle of the receiver. - @return the rectangle in which the receiver draws its brand image. - */ -- (CGRect)brandImageRectForBounds:(CGRect)bounds; - -/** - Returns the rectangle in which the receiver draws the text fields. - @param bounds The bounding rectangle of the receiver. - @return The rectangle in which the receiver draws the text fields. - */ -- (CGRect)fieldsRectForBounds:(CGRect)bounds; - -@end - -/** - This protocol allows a delegate to be notified when a payment text field's - contents change, which can in turn be used to take further actions depending - on the validity of its contents. - */ -@protocol STPPaymentCardTextFieldDelegate -@optional -/** - Called when either the card number, expiration, or CVC changes. At this point, - one can call `isValid` on the text field to determine, for example, - whether or not to enable a button to submit the form. Example: - - - (void)paymentCardTextFieldDidChange:(STPPaymentCardTextField *)textField { - self.paymentButton.enabled = textField.isValid; - } - - @param textField the text field that has changed - */ -- (void)paymentCardTextFieldDidChange:(nonnull STPPaymentCardTextField *)textField; - - -/** - Called when editing begins in the text field as a whole. - - After receiving this callback, you will always also receive a callback for which - specific subfield of the view began editing. - */ -- (void)paymentCardTextFieldDidBeginEditing:(nonnull STPPaymentCardTextField *)textField; - -/** - Notification that the user pressed the `return` key after completely filling - out the STPPaymentCardTextField with data that passes validation. - - The Stripe SDK is going to `resignFirstResponder` on the `STPPaymentCardTextField` - to dismiss the keyboard after this delegate method returns, however if your app wants - to do something more (ex: move first responder to another field), this is a good - opportunity to do that. - - This is delivered *before* the corresponding `paymentCardTextFieldDidEndEditing:` - - @param textField The STPPaymentCardTextField that was being edited when the user pressed return - */ -- (void)paymentCardTextFieldWillEndEditingForReturn:(nonnull STPPaymentCardTextField *)textField; - -/** - Called when editing ends in the text field as a whole. - - This callback is always preceded by an callback for which - specific subfield of the view ended its editing. - */ -- (void)paymentCardTextFieldDidEndEditing:(nonnull STPPaymentCardTextField *)textField; - -/** - Called when editing begins in the payment card field's number field. - */ -- (void)paymentCardTextFieldDidBeginEditingNumber:(nonnull STPPaymentCardTextField *)textField; - -/** - Called when editing ends in the payment card field's number field. - */ -- (void)paymentCardTextFieldDidEndEditingNumber:(nonnull STPPaymentCardTextField *)textField; - -/** - Called when editing begins in the payment card field's CVC field. - */ -- (void)paymentCardTextFieldDidBeginEditingCVC:(nonnull STPPaymentCardTextField *)textField; - -/** - Called when editing ends in the payment card field's CVC field. - */ -- (void)paymentCardTextFieldDidEndEditingCVC:(nonnull STPPaymentCardTextField *)textField; - -/** - Called when editing begins in the payment card field's expiration field. - */ -- (void)paymentCardTextFieldDidBeginEditingExpiration:(nonnull STPPaymentCardTextField *)textField; - -/** - Called when editing ends in the payment card field's expiration field. - */ -- (void)paymentCardTextFieldDidEndEditingExpiration:(nonnull STPPaymentCardTextField *)textField; - -/** - Called when editing begins in the payment card field's ZIP/postal code field. - */ -- (void)paymentCardTextFieldDidBeginEditingPostalCode:(nonnull STPPaymentCardTextField *)textField; - -/** - Called when editing ends in the payment card field's ZIP/postal code field. - */ -- (void)paymentCardTextFieldDidEndEditingPostalCode:(nonnull STPPaymentCardTextField *)textField; -@end diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentConfiguration.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentConfiguration.h deleted file mode 100644 index 22718a0..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentConfiguration.h +++ /dev/null @@ -1,141 +0,0 @@ -// -// STPPaymentConfiguration.h -// Stripe -// -// Created by Jack Flintermann on 5/18/16. -// Copyright © 2016 Stripe, Inc. All rights reserved. -// - -#import -#import "STPBackendAPIAdapter.h" -#import "STPPaymentOption.h" -#import "STPTheme.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - An `STPPaymentConfiguration` represents all the options you can set or change - around a payment. - - You provide an `STPPaymentConfiguration` object to your `STPPaymentContext` - when making a charge. The configuration generally has settings that - will not change from payment to payment and thus is reusable, while the context - is specific to a single particular payment instance. - */ -@interface STPPaymentConfiguration : NSObject - -/** - This is a convenience singleton configuration that uses the default values for - every property - */ -+ (instancetype)sharedConfiguration; - -/** - An enum value representing which payment options you will accept from your user - in addition to credit cards. - - The default value is `STPPaymentOptionTypeDefault`, which includes only Apple Pay. - */ -@property (nonatomic, assign, readwrite) STPPaymentOptionType additionalPaymentOptions; - -/** - The billing address fields the user must fill out when prompted for their - payment details. These fields will all be present on the returned PaymentMethod from - Stripe. - - The default value is `STPBillingAddressFieldsPostalCode`. - - @see https://stripe.com/docs/api/payment_methods/create#create_payment_method-billing_details - */ -@property (nonatomic, assign, readwrite) STPBillingAddressFields requiredBillingAddressFields; - -/** - The shipping address fields the user must fill out when prompted for their - shipping info. Set to nil if shipping address is not required. - - The default value is nil. - */ -@property (nonatomic, copy, nullable, readwrite) NSSet *requiredShippingAddressFields; - -/** - Whether the user should be prompted to verify prefilled shipping information. - - The default value is YES. - */ -@property (nonatomic, assign, readwrite) BOOL verifyPrefilledShippingAddress; - -/** - The type of shipping for this purchase. This property sets the labels displayed - when the user is prompted for shipping info, and whether they should also be - asked to select a shipping method. - - The default value is STPShippingTypeShipping. - */ -@property (nonatomic, assign, readwrite) STPShippingType shippingType; - -/** - The set of countries supported when entering an address. This property accepts - a set of ISO 2-character country codes. - - The default value is all known countries. Setting this property will limit - the available countries to your selected set. - */ -@property (nonatomic, copy, null_resettable, readwrite) NSSet *availableCountries; - -/** - The name of your company, for displaying to the user during payment flows. For - example, when using Apple Pay, the payment sheet's final line item will read - "PAY {companyName}". - - The default value is the name of your iOS application which is derived from the - `kCFBundleNameKey` of `[NSBundle mainBundle]`. - */ -@property (nonatomic, copy, readwrite) NSString *companyName; - -/** - The Apple Merchant Identifier to use during Apple Pay transactions. To create - one of these, see our guide at https://stripe.com/docs/mobile/apple-pay . You - must set this to a valid identifier in order to automatically enable Apple Pay. - */ -@property (nonatomic, copy, nullable, readwrite) NSString *appleMerchantIdentifier; - -/** - Determines whether or not the user is able to delete payment options - - This is only relevant to the `STPPaymentOptionsViewController` which, if - enabled, will allow the user to delete payment options by tapping the "Edit" - button in the navigation bar or by swiping left on a payment option and tapping - "Delete". Currently, the user is not allowed to delete the selected payment - option but this may change in the future. - - Default value is YES but will only work if `STPPaymentOptionsViewController` is - initialized with a `STPCustomerContext` either through the `STPPaymentContext` - or directly as an init parameter. - */ -@property (nonatomic, assign, readwrite) BOOL canDeletePaymentOptions; - -#pragma mark - Deprecated - -/** - If you used [STPPaymentConfiguration sharedConfiguration].publishableKey, use [STPAPIClient sharedClient].publishableKey instead. The SDK uses [STPAPIClient sharedClient] to make API requests by default. - - Your Stripe publishable key - - @see https://dashboard.stripe.com/account/apikeys - */ -@property (nonatomic, copy, readwrite) NSString *publishableKey DEPRECATED_MSG_ATTRIBUTE("If you used [STPPaymentConfiguration sharedConfiguration].publishableKey, use [STPAPIClient sharedClient].publishableKey instead. If you passed a STPPaymentConfiguration instance to an SDK component, create an STPAPIClient, set publishableKey on it, and set the SDK component's APIClient property."); - -/** - If you used [STPPaymentConfiguration sharedConfiguration].stripeAccount, use [STPAPIClient sharedClient].stripeAccount instead. The SDK uses [STPAPIClient sharedClient] to make API requests by default. - - In order to perform API requests on behalf of a connected account, e.g. to - create charges for a connected account, set this property to the ID of the - account for which this request is being made. - - @see https://stripe.com/docs/payments/payment-intents/use-cases#connected-accounts - */ -@property (nonatomic, copy, nullable) NSString *stripeAccount DEPRECATED_MSG_ATTRIBUTE("If you used [STPPaymentConfiguration sharedConfiguration].stripeAccount, use [STPAPIClient sharedClient].stripeAccount instead. If you passed a STPPaymentConfiguration instance to an SDK component, create an STPAPIClient, set stripeAccount on it, and set the SDK component's APIClient property.");; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentContext.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentContext.h deleted file mode 100644 index 1cbed35..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentContext.h +++ /dev/null @@ -1,432 +0,0 @@ -// -// STPPaymentContext.h -// Stripe -// -// Created by Jack Flintermann on 4/20/16. -// Copyright © 2016 Stripe, Inc. All rights reserved. -// - - -#import -#import - -#import "STPAddress.h" -#import "STPAuthenticationContext.h" -#import "STPBlocks.h" -#import "STPPaymentConfiguration.h" -#import "STPPaymentOption.h" -#import "STPPaymentResult.h" -#import "STPUserInformation.h" - -NS_ASSUME_NONNULL_BEGIN - -@class STPPaymentContext, STPAPIClient, STPTheme, STPCustomerContext; -@protocol STPBackendAPIAdapter, STPPaymentOption, STPPaymentContextDelegate; - -/** - An `STPPaymentContext` keeps track of all of the state around a payment. It will manage fetching a user's saved payment methods, tracking any information they select, and prompting them for required additional information before completing their purchase. It can be used to power your application's "payment confirmation" page with just a few lines of code. - - `STPPaymentContext` also provides a unified interface to multiple payment methods - for example, you can write a single integration to accept both credit card payments and Apple Pay. - - `STPPaymentContext` saves information about a user's payment methods to a Stripe customer object, and requires an `STPCustomerContext` to manage retrieving and modifying the customer. - */ -@interface STPPaymentContext : NSObject - -/** - This is a convenience initializer; it is equivalent to calling - `initWithCustomerContext:customerContext - configuration:[STPPaymentConfiguration sharedConfiguration] - theme:[STPTheme defaultTheme]`. - - @param customerContext The customer context the payment context will use to fetch - and modify its Stripe customer. @see STPCustomerContext.h - @return the newly-instantiated payment context - */ -- (instancetype)initWithCustomerContext:(STPCustomerContext *)customerContext; - -/** - Initializes a new Payment Context with the provided customer context, configuration, - and theme. After this class is initialized, you should also make sure to set its - `delegate` and `hostViewController` properties. - - @param customerContext The customer context the payment context will use to fetch - and modify its Stripe customer. @see STPCustomerContext.h - @param configuration The configuration for the payment context to use. This - lets you set your Stripe publishable API key, required billing address fields, etc. - @see STPPaymentConfiguration.h - @param theme The theme describing the visual appearance of all UI - that the payment context automatically creates for you. @see STPTheme.h - @return the newly-instantiated payment context - */ -- (instancetype)initWithCustomerContext:(STPCustomerContext *)customerContext - configuration:(STPPaymentConfiguration *)configuration - theme:(STPTheme *)theme; - -/** - Note: Instead of providing your own backend API adapter, we recommend using - `STPCustomerContext`, which will manage retrieving and updating a - Stripe customer for you. @see STPCustomerContext.h - - This is a convenience initializer; it is equivalent to calling - `initWithAPIAdapter:apiAdapter configuration:[STPPaymentConfiguration sharedConfiguration] theme:[STPTheme defaultTheme]`. - */ -- (instancetype)initWithAPIAdapter:(id)apiAdapter; - -/** - Note: Instead of providing your own backend API adapter, we recommend using - `STPCustomerContext`, which will manage retrieving and updating a - Stripe customer for you. @see STPCustomerContext.h - - Initializes a new Payment Context with the provided API adapter and configuration. - After this class is initialized, you should also make sure to set its `delegate` - and `hostViewController` properties. - - @param apiAdapter The API adapter the payment context will use to fetch and - modify its contents. You need to make a class conforming to this protocol that - talks to your server. @see STPBackendAPIAdapter.h - @param configuration The configuration for the payment context to use. This lets - you set your Stripe publishable API key, required billing address fields, etc. - @see STPPaymentConfiguration.h - @param theme The theme describing the visual appearance of all UI that - the payment context automatically creates for you. @see STPTheme.h - - @return the newly-instantiated payment context - */ -- (instancetype)initWithAPIAdapter:(id)apiAdapter - configuration:(STPPaymentConfiguration *)configuration - theme:(STPTheme *)theme; - -/** - Note: Instead of providing your own backend API adapter, we recommend using - `STPCustomerContext`, which will manage retrieving and updating a - Stripe customer for you. @see STPCustomerContext.h - - The API adapter the payment context will use to fetch and modify its contents. - You need to make a class conforming to this protocol that talks to your server. - @see STPBackendAPIAdapter.h - */ -@property (nonatomic, readonly) id apiAdapter; - -/** - The configuration for the payment context to use internally. @see STPPaymentConfiguration.h - */ -@property (nonatomic, readonly) STPPaymentConfiguration *configuration; - -/** - The visual appearance that will be used by any views that the context generates. @see STPTheme.h - */ -@property (nonatomic, readonly) STPTheme *theme; - -/** - If you've already collected some information from your user, you can set it here and it'll be automatically filled out when possible/appropriate in any UI that the payment context creates. - */ -@property (nonatomic, strong, nullable) STPUserInformation *prefilledInformation; - -/** - The view controller that any additional UI will be presented on. If you have a "checkout view controller" in your app, that should be used as the host view controller. - */ -@property (nonatomic, weak, nullable) UIViewController *hostViewController; - -/** - This delegate will be notified when the payment context's contents change. @see STPPaymentContextDelegate - */ -@property (nonatomic, weak, nullable) id delegate; - -/** - Whether or not the payment context is currently loading information from the network. - */ -@property (nonatomic, readonly) BOOL loading; - -/** - @note This is no longer recommended as of v18.3.0 - the SDK automatically saves the Stripe ID of the last selected - payment method using NSUserDefaults and displays it as the default pre-selected option. You can override this behavior - by setting this property. - - The Stripe ID of a payment method to display as the default pre-selected option. - - @note Set this property immediately after initializing STPPaymentContext, or call `retryLoading` afterwards. - */ -@property (nonatomic, copy, nullable) NSString *defaultPaymentMethod; - -/** - The user's currently selected payment option. May be nil. - */ -@property (nonatomic, readonly, nullable) id selectedPaymentOption; - -/** - The available payment options the user can choose between. May be nil. - */ -@property (nonatomic, readonly, nullable) NSArray> *paymentOptions; - -/** - The user's currently selected shipping method. May be nil. - */ -@property (nonatomic, readonly, nullable) PKShippingMethod *selectedShippingMethod; - -/** - An array of STPShippingMethod objects that describe the supported shipping methods. May be nil. - */ -@property (nonatomic, readonly, nullable) NSArray *shippingMethods; - -/** - The user's shipping address. May be nil. - If you've already collected a shipping address from your user, you may - prefill it by setting a shippingAddress in PaymentContext's prefilledInformation. - When your user enters a new shipping address, PaymentContext will save it to - the current customer object. When PaymentContext loads, if you haven't - manually set a prefilled value, any shipping information saved on the customer - will be used to prefill the shipping address form. Note that because your - customer's email may not be the same as the email provided with their shipping - info, PaymentContext will not prefill the shipping form's email using your - customer's email. - - You should not rely on the shipping information stored on the Stripe customer - for order fulfillment, as your user may change this information if they make - multiple purchases. We recommend adding shipping information when you create - a charge (which can also help prevent fraud), or saving it to your own - database. https://stripe.com/docs/api/payment_intents/create#create_payment_intent-shipping - - Note: by default, your user will still be prompted to verify a prefilled - shipping address. To change this behavior, you can set - `verifyPrefilledShippingAddress` to NO in your `STPPaymentConfiguration`. - */ -@property (nonatomic, readonly, nullable) STPAddress *shippingAddress; - -/** - The amount of money you're requesting from the user, in the smallest currency - unit for the selected currency. For example, to indicate $10 USD, use 1000 - (i.e. 1000 cents). For more information, see https://stripe.com/docs/api/payment_intents/create#create_payment_intent-amount - - @note This value must be present and greater than zero in order for Apple Pay - to be automatically enabled. - - @note You should only set either this or `paymentSummaryItems`, not both. - The other will be automatically calculated on demand using your `paymentCurrency`. - */ -@property (nonatomic) NSInteger paymentAmount; - -/** - The three-letter currency code for the currency of the payment (i.e. USD, GBP, - JPY, etc). Defaults to "USD". - - @note Changing this property may change the return value of `paymentAmount` - or `paymentSummaryItems` (whichever one you didn't directly set yourself). - */ -@property (nonatomic, copy) NSString *paymentCurrency; - -/** - The two-letter country code for the country where the payment will be processed. - You should set this to the country your Stripe account is in. Defaults to "US". - - @note Changing this property will change the `countryCode` of your Apple Pay - payment requests. - @see PKPaymentRequest for more information. - */ -@property (nonatomic, copy) NSString *paymentCountry; - -/** - If you support Apple Pay, you can optionally set the PKPaymentSummaryItems - you want to display here instead of using `paymentAmount`. Note that the - grand total (the amount of the last summary item) must be greater than zero. - If not set, a single summary item will be automatically generated using - `paymentAmount` and your configuration's `companyName`. - @see PKPaymentRequest for more information - - @note You should only set either this or `paymentAmount`, not both. - The other will be automatically calculated on demand using your `paymentCurrency.` - */ -@property (nonatomic, copy) NSArray *paymentSummaryItems; - -/** - The presentation style used for all view controllers presented modally by the context. - Since custom transition styles are not supported, you should set this to either - `UIModalPresentationFullScreen`, `UIModalPresentationPageSheet`, or `UIModalPresentationFormSheet`. - The default value is `UIModalPresentationFullScreen`. - */ -@property (nonatomic, assign) UIModalPresentationStyle modalPresentationStyle; - -/** - The mode to use when displaying the title of the navigation bar in all view - controllers presented by the context. The default value is `automatic`, - which causes the title to use the same styling as the previously displayed - navigation item (if the view controller is pushed onto the `hostViewController`). - - If the `prefersLargeTitles` property of the `hostViewController`'s navigation bar - is false, this property has no effect and the navigation item's title is always - displayed as a small title. - - If the view controller is presented modally, `automatic` and - `never` always result in a navigation bar with a small title. - */ -@property (nonatomic, assign) UINavigationItemLargeTitleDisplayMode largeTitleDisplayMode NS_AVAILABLE_IOS(11_0); - -/** - A view that will be placed as the footer of the payment options selection - view controller. - - When the footer view needs to be resized, it will be sent a - `sizeThatFits:` call. The view should respond correctly to this method in order - to be sized and positioned properly. - */ -@property (nonatomic, strong) UIView *paymentOptionsViewControllerFooterView; - -/** - A view that will be placed as the footer of the add card view controller. - - When the footer view needs to be resized, it will be sent a - `sizeThatFits:` call. The view should respond correctly to this method in order - to be sized and positioned properly. - */ -@property (nonatomic, strong) UIView *addCardViewControllerFooterView; - -/** - The API Client to use to make requests. - - Defaults to [STPAPIClient sharedClient] - */ -@property (nonatomic, strong) STPAPIClient *apiClient; - -/** - If `paymentContext:didFailToLoadWithError:` is called on your delegate, you - can in turn call this method to try loading again (if that hasn't been called, - calling this will do nothing). If retrying in turn fails, `paymentContext:didFailToLoadWithError:` - will be called again (and you can again call this to keep retrying, etc). - */ -- (void)retryLoading; - -/** - This creates, configures, and appropriately presents an `STPPaymentOptionsViewController` - on top of the payment context's `hostViewController`. It'll be dismissed automatically - when the user is done selecting their payment method. - - @note This method will do nothing if it is called while STPPaymentContext is - already showing a view controller or in the middle of requesting a payment. - */ -- (void)presentPaymentOptionsViewController; - -/** - This creates, configures, and appropriately pushes an `STPPaymentOptionsViewController` - onto the navigation stack of the context's `hostViewController`. It'll be popped - automatically when the user is done selecting their payment method. - - @note This method will do nothing if it is called while STPPaymentContext is - already showing a view controller or in the middle of requesting a payment. - */ -- (void)pushPaymentOptionsViewController; - -/** - This creates, configures, and appropriately presents a view controller for - collecting shipping address and shipping method on top of the payment context's - `hostViewController`. It'll be dismissed automatically when the user is done - entering their shipping info. - - @note This method will do nothing if it is called while STPPaymentContext is - already showing a view controller or in the middle of requesting a payment. - */ -- (void)presentShippingViewController; - -/** - This creates, configures, and appropriately pushes a view controller for - collecting shipping address and shipping method onto the navigation stack of - the context's `hostViewController`. It'll be popped automatically when the - user is done entering their shipping info. - - @note This method will do nothing if it is called while STPPaymentContext is - already showing a view controller, or in the middle of requesting a payment. - */ -- (void)pushShippingViewController; - -/** - Requests payment from the user. This may need to present some supplemental UI - to the user, in which case it will be presented on the payment context's - `hostViewController`. For instance, if they've selected Apple Pay as their - payment method, calling this method will show the payment sheet. If the user - has a card on file, this will use that without presenting any additional UI. - After this is called, the `paymentContext:didCreatePaymentResult:completion:` - and `paymentContext:didFinishWithStatus:error:` methods will be called on the - context's `delegate`. - - @note This method will do nothing if it is called while STPPaymentContext is - already showing a view controller, or in the middle of requesting a payment. - */ -- (void)requestPayment; - -@end - -/** - Implement `STPPaymentContextDelegate` to get notified when a payment context changes, finishes, encounters errors, etc. In practice, if your app has a "checkout screen view controller", that is a good candidate to implement this protocol. - */ -@protocol STPPaymentContextDelegate - -/** - Called when the payment context encounters an error when fetching its initial set of data. A few ways to handle this are: - - If you're showing the user a checkout page, dismiss the checkout page when this is called and present the error to the user. - - Present the error to the user using a `UIAlertController` with two buttons: Retry and Cancel. If they cancel, dismiss your UI. If they Retry, call `retryLoading` on the payment context. - - To make it harder to get your UI into a bad state, this won't be called until the context's `hostViewController` has finished appearing. - - @param paymentContext the payment context that encountered the error - @param error the error that was encountered - */ -- (void)paymentContext:(STPPaymentContext *)paymentContext didFailToLoadWithError:(NSError *)error; - -/** - This is called every time the contents of the payment context change. When this is called, you should update your app's UI to reflect the current state of the payment context. For example, if you have a checkout page with a "selected payment method" row, you should update its payment method with `paymentContext.selectedPaymentOption.label`. If that checkout page has a "buy" button, you should enable/disable it depending on the result of `[paymentContext isReadyForPayment]`. - - @param paymentContext the payment context that changed - */ -- (void)paymentContextDidChange:(STPPaymentContext *)paymentContext; - -/** - Inside this method, you should make a call to your backend API to make a PaymentIntent with that Customer + payment method, and invoke the `completion` block when that is done. - - @param paymentContext The context that succeeded - @param paymentResult Information associated with the payment that you can pass to your server. You should go to your backend API with this payment result and use the PaymentIntent API to complete the payment. See https://stripe.com/docs/mobile/ios/standard#submit-payment-intents. Once that's done call the `completion` block with any error that occurred (or none, if the payment succeeded). @see STPPaymentResult.h - @param completion Call this block when you're done creating a payment intent (or subscription, etc) on your backend. If it succeeded, call `completion(STPPaymentStatusSuccess, nil)`. If it failed with an error, call `completion(STPPaymentStatusError, error)`. If the user canceled, call `completion(STPPaymentStatusUserCancellation, nil)`. - */ -- (void)paymentContext:(STPPaymentContext *)paymentContext -didCreatePaymentResult:(STPPaymentResult *)paymentResult - completion:(STPPaymentStatusBlock)completion; - -/** - This is invoked by an `STPPaymentContext` when it is finished. This will be called after the payment is done and all necessary UI has been dismissed. You should inspect the returned `status` and behave appropriately. For example: if it's `STPPaymentStatusSuccess`, show the user a receipt. If it's `STPPaymentStatusError`, inform the user of the error. If it's `STPPaymentStatusUserCancellation`, do nothing. - - @param paymentContext The payment context that finished - @param status The status of the payment - `STPPaymentStatusSuccess` if it succeeded, `STPPaymentStatusError` if it failed with an error (in which case the `error` parameter will be non-nil), `STPPaymentStatusUserCancellation` if the user canceled the payment. - @param error An error that occurred, if any. - */ -- (void)paymentContext:(STPPaymentContext *)paymentContext - didFinishWithStatus:(STPPaymentStatus)status - error:(nullable NSError *)error; - -@optional - -/** - Inside this method, you should verify that you can ship to the given address. - You should call the completion block with the results of your validation - and the available shipping methods for the given address. If you don't implement - this method, the user won't be prompted to select a shipping method and all - addresses will be valid. If you call the completion block with nil or an - empty array of shipping methods, the user won't be prompted to select a - shipping method. - - @note If a user updates their shipping address within the Apple Pay dialog, - this address will be anonymized. For example, in the US, it will only include the - city, state, and zip code. The payment context will have the user's complete - shipping address by the time `paymentContext:didFinishWithStatus:error` is - called. - - @param paymentContext The context that updated its shipping address - @param address The current shipping address - @param completion Call this block when you're done validating the shipping - address and calculating available shipping methods. If you call the completion - block with nil or an empty array of shipping methods, the user won't be prompted - to select a shipping method. - */ -- (void)paymentContext:(STPPaymentContext *)paymentContext -didUpdateShippingAddress:(STPAddress *)address - completion:(STPShippingMethodsCompletionBlock)completion; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentHandler.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentHandler.h deleted file mode 100644 index 6fb355e..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentHandler.h +++ /dev/null @@ -1,213 +0,0 @@ -// -// STPPaymentHandler.h -// StripeiOS -// -// Created by Cameron Sabol on 5/10/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -@class STPAPIClient; -@class STPPaymentIntent; -@class STPPaymentIntentParams; -@class STPSetupIntent; -@class STPSetupIntentConfirmParams; -@class STPThreeDSCustomizationSettings; -@protocol STPAuthenticationContext; - -/** - `STPPaymentHandlerActionStatus` represents the possible outcomes of requesting an action by `STPPaymentHandler`. An action could be confirming and/or handling the next action for a PaymentIntent. - */ -typedef NS_ENUM(NSInteger, STPPaymentHandlerActionStatus) { - /** - The action succeeded. - */ - STPPaymentHandlerActionStatusSucceeded, - - /** - The action was cancelled by the cardholder/user. - */ - STPPaymentHandlerActionStatusCanceled, - - /** - The action failed. See the error code for more details. - */ - STPPaymentHandlerActionStatusFailed, -} NS_SWIFT_NAME(STPPaymentHandler.ActionStatus); - -/** - The error domain for errors in `STPPaymentHandler`. - */ -FOUNDATION_EXPORT NSString * const STPPaymentHandlerErrorDomain; - -/** - Error codes generated by `STPPaymentHandler` - */ -typedef NS_ERROR_ENUM(STPPaymentHandlerErrorDomain, STPPaymentHandlerErrorCode) { - /** - Indicates that the action requires an authentication method not recognized or supported by the SDK. - */ - STPPaymentHandlerUnsupportedAuthenticationErrorCode NS_SWIFT_NAME(unsupportedAuthentication), - - /** - Attach a payment method to the PaymentIntent or SetupIntent before using `STPPaymentHandler`. - */ - STPPaymentHandlerRequiresPaymentMethodErrorCode NS_SWIFT_NAME(requiresPaymentMethod), - - /** - The PaymentIntent or SetupIntent status cannot be resolved by `STPPaymentHandler`. - */ - STPPaymentHandlerIntentStatusErrorCode NS_SWIFT_NAME(intentStatus), - - /** - The action timed out. - */ - STPPaymentHandlerTimedOutErrorCode NS_SWIFT_NAME(timedOut), - - /** - There was an error in the Stripe3DS2 SDK. - */ - STPPaymentHandlerStripe3DS2ErrorCode NS_SWIFT_NAME(stripe3DS2), - - /** - The transaction did not authenticate (e.g. user entered the wrong code). - */ - STPPaymentHandlerNotAuthenticatedErrorCode NS_SWIFT_NAME(notAuthenticated), - - /** - `STPPaymentHandler` does not support concurrent actions. - */ - STPPaymentHandlerNoConcurrentActionsErrorCode NS_SWIFT_NAME(noConcurrentActions), - - /** - Payment requires a valid `STPAuthenticationContext`. Make sure your presentingViewController isn't already presenting. - */ - STPPaymentHandlerRequiresAuthenticationContextErrorCode NS_SWIFT_NAME(requiresAuthenticationContext), - - /** - There was an error confirming the Intent. - - Inspect the `paymentIntent.lastPaymentError` or `setupIntent.lastSetupError` property. - */ - STPPaymentHandlerPaymentErrorCode NS_SWIFT_NAME(payment), - - /** - The provided PaymentIntent of SetupIntent client secret does not match the expected pattern for client secrets. - - Make sure that your server is returning the correct value and that is being passed to `STPPaymentHandler`. - */ - STPPaymentHandlerInvalidClientSecret NS_SWIFT_NAME(invalidClientSecret), - -} NS_SWIFT_NAME(STPPaymentHandlerError); - - -/** - Completion block typedef for use in `STPPaymentHandler` methods for Payment Intents. - */ -typedef void (^STPPaymentHandlerActionPaymentIntentCompletionBlock)(STPPaymentHandlerActionStatus status, STPPaymentIntent * _Nullable paymentIntent, NSError * _Nullable error); - -/** - Completion block typedef for use in `STPPaymentHandler` methods for Setup Intents. - */ -typedef void (^STPPaymentHandlerActionSetupIntentCompletionBlock)(STPPaymentHandlerActionStatus status, STPSetupIntent * _Nullable setupIntent, NSError * _Nullable error); - -/** - `STPPaymentHandler` is a utility class that confirms PaymentIntents/SetupIntents and handles any authentication required, such as 3DS1/3DS2 for Strong Customer Authentication. - It can present authentication UI on top of your app or redirect users out of your app (to e.g. their banking app). - - @see https://stripe.com/docs/mobile/ios/authentication - */ -NS_EXTENSION_UNAVAILABLE("STPPaymentHandler is not available in extensions") -@interface STPPaymentHandler : NSObject - -/** - The globally shared instance of `STPPaymentHandler`. - */ -+ (instancetype)sharedHandler; - -/** - `STPPaymentHandler` should not be directly initialized. - */ -- (instancetype)init NS_UNAVAILABLE; - -/** - By default `sharedHandler` initializes with [STPAPIClient sharedClient]. - */ -@property (nonatomic) STPAPIClient *apiClient; - -/** - Customizable settings to use when performing 3DS2 authentication. - - Note: Configure this before calling any methods. - Defaults to `[STPThreeDSCustomizationSettings defaultSettings]`. - */ -@property (nonatomic) STPThreeDSCustomizationSettings *threeDSCustomizationSettings; - -/** - Confirms the PaymentIntent with the provided parameters and handles any `nextAction` required - to authenticate the PaymentIntent. - - Call this method if you are using automatic confirmation. @see https://stripe.com/docs/payments/payment-intents/ios - - @param paymentParams The params used to confirm the PaymentIntent. Note that this method overrides the value of `paymentParams.useStripeSDK` to `@YES`. - @param authenticationContext The authentication context used to authenticate the payment. - @param completion The completion block. If the status returned is `STPPaymentHandlerActionStatusSucceeded`, the PaymentIntent status will always be either STPPaymentIntentStatusSucceeded or STPPaymentIntentStatusRequiresCapture if you are using manual capture. In the latter case, capture the PaymentIntent to complete the payment. - */ -- (void)confirmPayment:(STPPaymentIntentParams *)paymentParams -withAuthenticationContext:(id)authenticationContext - completion:(STPPaymentHandlerActionPaymentIntentCompletionBlock)completion -NS_SWIFT_NAME(confirmPayment(withParams:authenticationContext:completion:)); - -/** - Handles any `nextAction` required to authenticate the PaymentIntent. - - Call this method if you are using manual confirmation. @see https://stripe.com/docs/payments/payment-intents/ios - - @param paymentIntentClientSecret The client secret of the PaymentIntent to handle next actions for. - @param authenticationContext The authentication context used to authenticate the payment. - @param returnURL An optional URL to redirect your customer back to after they authenticate or cancel in a webview. This should match the returnURL you specified during PaymentIntent confirmation. - @param completion The completion block. If the status returned is `STPPaymentHandlerActionStatusSucceeded`, the PaymentIntent status will always be either STPPaymentIntentStatusSucceeded, or STPPaymentIntentStatusRequiresConfirmation, or STPPaymentIntentStatusRequiresCapture if you are using manual capture. In the latter two cases, confirm or capture the PaymentIntent on your backend to complete the payment. - */ -- (void)handleNextActionForPayment:(NSString *)paymentIntentClientSecret - withAuthenticationContext:(id)authenticationContext - returnURL:(nullable NSString *)returnURL - completion:(STPPaymentHandlerActionPaymentIntentCompletionBlock)completion -NS_SWIFT_NAME(handleNextAction(forPayment:authenticationContext:returnURL:completion:)); - -/** - Confirms the SetupIntent with the provided parameters and handles any `nextAction` required - to authenticate the SetupIntent. - - @see https://stripe.com/docs/payments/cards/saving-cards#saving-card-without-payment - - @param setupIntentConfirmParams The params used to confirm the SetupIntent. Note that this method overrides the value of `setupIntentConfirmParams.useStripeSDK` to `@YES`. - @param authenticationContext The authentication context used to authenticate the SetupIntent. - @param completion The completion block. If the status returned is `STPPaymentHandlerActionStatusSucceeded`, the SetupIntent status will always be STPSetupIntentStatusSucceeded. - */ -- (void)confirmSetupIntent:(STPSetupIntentConfirmParams *)setupIntentConfirmParams - withAuthenticationContext:(id)authenticationContext - completion:(STPPaymentHandlerActionSetupIntentCompletionBlock)completion -NS_SWIFT_NAME(confirmSetupIntent(withParams:authenticationContext:completion:)); - -/** - Handles any `nextAction` required to authenticate the SetupIntent. - - Call this method if you are confirming the SetupIntent on your backend and get a status of requires_action. - - @param setupIntentClientSecret The client secret of the SetupIntent to handle next actions for. - @param authenticationContext The authentication context used to authenticate the SetupIntent. - @param returnURL An optional URL to redirect your customer back to after they authenticate or cancel in a webview. This should match the returnURL you specified during SetupIntent confirmation. - @param completion The completion block. If the status returned is `STPPaymentHandlerActionStatusSucceeded`, the SetupIntent status will always be STPSetupIntentStatusSucceeded. - */ -- (void)handleNextActionForSetupIntent:(NSString *)setupIntentClientSecret - withAuthenticationContext:(id)authenticationContext - returnURL:(nullable NSString *)returnURL - completion:(STPPaymentHandlerActionSetupIntentCompletionBlock)completion -NS_SWIFT_NAME(handleNextAction(forSetupIntent:authenticationContext:returnURL:completion:)); - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntent.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntent.h deleted file mode 100644 index 4d1eceb..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntent.h +++ /dev/null @@ -1,143 +0,0 @@ -// -// STPPaymentIntent.h -// Stripe -// -// Created by Daniel Jackson on 6/27/18. -// Copyright © 2018 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPAPIResponseDecodable.h" -#import "STPPaymentIntentEnums.h" -#import "STPPaymentMethodEnums.h" - -NS_ASSUME_NONNULL_BEGIN - -@class STPIntentAction, STPPaymentIntentLastPaymentError, STPPaymentIntentShippingDetails; - -/** - A PaymentIntent tracks the process of collecting a payment from your customer. - - @see https://stripe.com/docs/api#payment_intents - @see https://stripe.com/docs/payments/dynamic-authentication - */ -@interface STPPaymentIntent : NSObject - -/** - You cannot directly instantiate an `STPPaymentIntent`. You should only use one that - has been returned from an `STPAPIClient` callback. - */ -- (instancetype)init __attribute__((unavailable("You cannot directly instantiate an STPPaymentIntent. You should only use one that has been returned from an STPAPIClient callback."))); - -/** - The Stripe ID of the PaymentIntent. - */ -@property (nonatomic, readonly) NSString *stripeId; - -/** - The client secret used to fetch this PaymentIntent - */ -@property (nonatomic, readonly) NSString *clientSecret; - -/** - Amount intended to be collected by this PaymentIntent. - */ -@property (nonatomic, readonly) NSNumber *amount; - -/** - If status is `STPPaymentIntentStatusCanceled`, when the PaymentIntent was canceled. - */ -@property (nonatomic, nullable, readonly) NSDate *canceledAt; - -/** - Capture method of this PaymentIntent - */ -@property (nonatomic, readonly) STPPaymentIntentCaptureMethod captureMethod; - -/** - Confirmation method of this PaymentIntent - */ -@property (nonatomic, readonly) STPPaymentIntentConfirmationMethod confirmationMethod; - -/** - When the PaymentIntent was created. - */ -@property (nonatomic, nullable, readonly) NSDate *created; - -/** - The currency associated with the PaymentIntent. - */ -@property (nonatomic, readonly) NSString *currency; - -/** - The `description` field of the PaymentIntent. - An arbitrary string attached to the object. Often useful for displaying to users. - */ -@property (nonatomic, nullable, readonly) NSString *stripeDescription; - -/** - Whether or not this PaymentIntent was created in livemode. - */ -@property (nonatomic, readonly) BOOL livemode; - -/** - If `status == STPPaymentIntentStatusRequiresAction`, this - property contains the next action to take for this PaymentIntent. -*/ -@property (nonatomic, nullable, readonly) STPIntentAction *nextAction; - -/** - Email address that the receipt for the resulting payment will be sent to. - */ -@property (nonatomic, nullable, readonly) NSString *receiptEmail; - -/** - The Stripe ID of the Source used in this PaymentIntent. - */ -@property (nonatomic, nullable, readonly) NSString *sourceId; - -/** - The Stripe ID of the PaymentMethod used in this PaymentIntent. - */ -@property (nonatomic, nullable, readonly) NSString *paymentMethodId; - -/** - Status of the PaymentIntent - */ -@property (nonatomic, readonly) STPPaymentIntentStatus status; - -/** - The list of payment method types (e.g. `@[@(STPPaymentMethodTypeCard)]`) that this PaymentIntent is allowed to use. - */ -@property (nonatomic, nullable, readonly) NSArray *paymentMethodTypes; - -/** - When provided, this property indicates how you intend to use the payment method that your customer provides after the current payment completes. If applicable, additional authentication may be performed to comply with regional legislation or network rules required to enable the usage of the same payment method for additional payments. - Use on_session if you intend to only reuse the payment method when the customer is in your checkout flow. Use off_session if your customer may or may not be in your checkout flow. - */ -@property (nonatomic, readonly) STPPaymentIntentSetupFutureUsage setupFutureUsage; - -/** - The payment error encountered in the previous PaymentIntent confirmation. - */ -@property (nonatomic, nullable, readonly) STPPaymentIntentLastPaymentError *lastPaymentError; - -/** - Shipping information for this PaymentIntent. - */ -@property (nonatomic, nullable, readonly) STPPaymentIntentShippingDetails *shipping; - -#pragma mark - Deprecated - -/** - If `status == STPPaymentIntentStatusRequiresAction`, this - property contains the next source action to take for this PaymentIntent. - - @deprecated Use nextAction instead - */ -@property (nonatomic, nullable, readonly) STPIntentAction *nextSourceAction __attribute__((deprecated("Use nextAction instead", "nextAction"))); - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntentAction.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntentAction.h deleted file mode 100644 index 0cbf495..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntentAction.h +++ /dev/null @@ -1,21 +0,0 @@ -// -// STPPaymentIntentAction.h -// Stripe -// -// Created by Yuki Tokuhiro on 3/8/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPIntentAction.h" - -/** - Action details for an STPPaymentIntent. This is a container for - the various types that are available. Check the `type` to see which one - it is, and then use the related property for the details necessary to handle it. - - @deprecated Use `STPIntentAction` instead. - */ -__attribute__((deprecated("Use STPIntentAction instead", "STPIntentAction"))) -typedef STPIntentAction STPPaymentIntentAction; diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntentActionRedirectToURL.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntentActionRedirectToURL.h deleted file mode 100644 index 6303354..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntentActionRedirectToURL.h +++ /dev/null @@ -1,19 +0,0 @@ -// -// STPPaymentIntentActionRedirectToURL.h -// Stripe -// -// Created by Yuki Tokuhiro on 3/8/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPIntentActionRedirectToURL.h" - -/** - Contains instructions for authenticating a payment by redirecting your customer to another page or application. - - @deprecated Use `STPIntentActionRedirectToURL` instead. - */ -__attribute__((deprecated("Use STPIntentActionRedirectToURL instead", "STPIntentActionRedirectToURL"))) -typedef STPIntentActionRedirectToURL STPPaymentIntentActionRedirectToURL; diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntentEnums.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntentEnums.h deleted file mode 100644 index d9c9e61..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntentEnums.h +++ /dev/null @@ -1,188 +0,0 @@ -// -// STPPaymentIntentEnums.h -// Stripe -// -// Created by Daniel Jackson on 6/27/18. -// Copyright © 2018 Stripe, Inc. All rights reserved. -// - -#import "STPIntentAction.h" - -/** - Status types for an STPPaymentIntent - */ -typedef NS_ENUM(NSInteger, STPPaymentIntentStatus) { - /** - Unknown status - */ - STPPaymentIntentStatusUnknown, - - /** - This PaymentIntent requires a PaymentMethod or Source - */ - STPPaymentIntentStatusRequiresPaymentMethod, - - /** - This PaymentIntent requires a Source - @deprecated Use STPPaymentIntentStatusRequiresPaymentMethod instead. - */ - STPPaymentIntentStatusRequiresSource __attribute__((deprecated("Use STPPaymentIntentStatusRequiresPaymentMethod", "STPPaymentIntentStatusRequiresPaymentMethod"))) = STPPaymentIntentStatusRequiresPaymentMethod, - - /** - This PaymentIntent needs to be confirmed - */ - STPPaymentIntentStatusRequiresConfirmation, - - /** - The selected PaymentMethod or Source requires additional authentication steps. - Additional actions found via `next_action` - */ - STPPaymentIntentStatusRequiresAction, - - /** - The selected Source requires additional authentication steps. - Additional actions found via `next_source_action` - @deprecated Use STPPaymentIntentStatusRequiresAction instead. - */ - STPPaymentIntentStatusRequiresSourceAction __attribute__((deprecated("Use STPPaymentIntentStatusRequiresAction", "STPPaymentIntentStatusRequiresAction"))) = STPPaymentIntentStatusRequiresAction, - - /** - Stripe is processing this PaymentIntent - */ - STPPaymentIntentStatusProcessing, - - /** - The payment has succeeded - */ - STPPaymentIntentStatusSucceeded, - - /** - Indicates the payment must be captured, for STPPaymentIntentCaptureMethodManual - */ - STPPaymentIntentStatusRequiresCapture, - - /** - This PaymentIntent was canceled and cannot be changed. - */ - STPPaymentIntentStatusCanceled, -}; - -/** - Capture methods for a STPPaymentIntent - */ -typedef NS_ENUM(NSInteger, STPPaymentIntentCaptureMethod) { - /** - Unknown capture method - */ - STPPaymentIntentCaptureMethodUnknown, - - /** - The PaymentIntent will be automatically captured - */ - STPPaymentIntentCaptureMethodAutomatic, - - /** - The PaymentIntent must be manually captured once it has the status - `STPPaymentIntentStatusRequiresCapture` - */ - STPPaymentIntentCaptureMethodManual, -}; - -/** - Confirmation methods for a STPPaymentIntent - */ -typedef NS_ENUM(NSInteger, STPPaymentIntentConfirmationMethod) { - /** - Unknown confirmation method - */ - STPPaymentIntentConfirmationMethodUnknown, - - /** - Confirmed via publishable key - */ - STPPaymentIntentConfirmationMethodManual, - - /** - Confirmed via secret key - */ - STPPaymentIntentConfirmationMethodAutomatic, -}; - -/** - Indicates how you intend to use the payment method that your customer provides after the current payment completes. - - If applicable, additional authentication may be performed to comply with regional legislation or network rules required to enable the usage of the same payment method for additional payments. - - @see https://stripe.com/docs/api/payment_intents/object#payment_intent_object-setup_future_usage - */ -typedef NS_ENUM(NSInteger, STPPaymentIntentSetupFutureUsage) { - - /** - Unknown value. Update your SDK, or use `allResponseFields` for custom handling. - */ - STPPaymentIntentSetupFutureUsageUnknown, - - /** - No value was provided. - */ - STPPaymentIntentSetupFutureUsageNone, - - /** - Indicates you intend to only reuse the payment method when the customer is in your checkout flow. - */ - STPPaymentIntentSetupFutureUsageOnSession, - - /** - Indicates you intend to reuse the payment method when the customer may or may not be in your checkout flow. - */ - STPPaymentIntentSetupFutureUsageOffSession, -}; - -#pragma mark - Deprecated - -/** - Types of Actions from a `STPPaymentIntent`, when the payment intent - status is `STPPaymentIntentStatusRequiresAction`. - */ -__attribute__((deprecated("Use STPIntentActionType instead", "STPIntentActionType"))) -typedef NS_ENUM(NSUInteger, STPPaymentIntentActionType) { - /** - This is an unknown action, that's been added since the SDK - was last updated. - Update your SDK, or use the `nextAction.allResponseFields` - for custom handling. - */ - STPPaymentIntentActionTypeUnknown __attribute__((deprecated("Use STPIntentActionTypeUnknown instead", "STPIntentActionTypeUnknown"))) = STPIntentActionTypeUnknown, - - /** - The payment intent needs to be authorized by the user. We provide - `STPRedirectContext` to handle the url redirections necessary. - */ - STPPaymentIntentActionTypeRedirectToURL __attribute__((deprecated("Use STPIntentActionTypeRedirectToURL instead", "STPIntentActionTypeRedirectToURL"))) = STPIntentActionTypeRedirectToURL, -}; - -/** - Types of Source Actions from a `STPPaymentIntent`, when the payment intent - status is `STPPaymentIntentStatusRequiresSourceAction`. - - @deprecated Use`STPPaymentIntentActionType` instead. - */ -__attribute__((deprecated("Use STPIntentActionType instead", "STPIntentActionType"))) -typedef NS_ENUM(NSUInteger, STPPaymentIntentSourceActionType) { - /** - This is an unknown source action, that's been added since the SDK - was last updated. - Update your SDK, or use the `nextSourceAction.allResponseFields` - for custom handling. - */ - STPPaymentIntentSourceActionTypeUnknown __attribute__((deprecated("Use STPIntentActionTypeUnknown instead", "STPIntentActionTypeUnknown"))) = STPIntentActionTypeUnknown, - - /** - The payment intent needs to be authorized by the user. We provide - `STPRedirectContext` to handle the url redirections necessary. - */ - STPPaymentIntentSourceActionTypeAuthorizeWithURL __attribute__((deprecated("Use STPIntentActionTypeRedirectToURL instead", "STPIntentActionTypeRedirectToURL"))) = STPIntentActionTypeRedirectToURL, -}; - - - diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntentLastPaymentError.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntentLastPaymentError.h deleted file mode 100644 index 5fe5944..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntentLastPaymentError.h +++ /dev/null @@ -1,125 +0,0 @@ -// -// STPPaymentIntentLastPaymentError.h -// Stripe -// -// Created by Yuki Tokuhiro on 8/8/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPAPIResponseDecodable.h" - -@class STPPaymentMethod; - -/** - The type of the error represented by `STPPaymentIntentLastPaymentError`. - - Some STPPaymentIntentLastPaymentError properties are only populated for certain error types. - */ -typedef NS_ENUM(NSUInteger, STPPaymentIntentLastPaymentErrorType) { - /** - An unknown error type. - */ - STPPaymentIntentLastPaymentErrorTypeUnknown, - - /** - An error connecting to Stripe's API. - */ - STPPaymentIntentLastPaymentErrorTypeAPIConnection, - - /** - An error with the Stripe API. - */ - STPPaymentIntentLastPaymentErrorTypeAPI, - - /** - A failure to authenticate your customer. - */ - STPPaymentIntentLastPaymentErrorTypeAuthentication, - - /** - Card errors are the most common type of error you should expect to handle. - They result when the user enters a card that can't be charged for some reason. - - Check the `declineCode` property for the decline code. The `message` property contains a message you can show to your users. - */ - STPPaymentIntentLastPaymentErrorTypeCard, - - /** - Keys for idempotent requests can only be used with the same parameters they were first used with. - */ - STPPaymentIntentLastPaymentErrorTypeIdempotency, - - /** - Invalid request errors. Typically, this is because your request has invalid parameters. - */ - STPPaymentIntentLastPaymentErrorTypeInvalidRequest, - - /** - Too many requests hit the API too quickly. - */ - STPPaymentIntentLastPaymentErrorTypeRateLimit, -}; - -NS_ASSUME_NONNULL_BEGIN - -/** - A value for `code` indicating the provided payment method failed authentication. - */ -extern NSString *const STPPaymentIntentLastPaymentErrorCodeAuthenticationFailure; - -/** - The payment error encountered in the previous PaymentIntent confirmation. - - @see https://stripe.com/docs/api/payment_intents/object#payment_intent_object-last_payment_error - */ -@interface STPPaymentIntentLastPaymentError : NSObject - -/** - For some errors that could be handled programmatically, a short string indicating the error code reported. - - @see https://stripe.com/docs/error-codes - */ -@property (nonatomic, nullable, readonly) NSString *code; - -/** - For card (`STPPaymentIntentLastPaymentErrorTypeCard`) errors resulting from a card issuer decline, - a short string indicating the card issuer’s reason for the decline if they provide one. - - @see https://stripe.com/docs/declines#issuer-declines - */ -@property (nonatomic, nullable, readonly) NSString *declineCode; - -/** - A URL to more information about the error code reported. - - @see https://stripe.com/docs/error-codes - */ -@property (nonatomic, readonly) NSString *docURL; - -/** - A human-readable message providing more details about the error. - For card (`STPPaymentIntentLastPaymentErrorTypeCard`) errors, these messages can be shown to your users. - */ -@property (nonatomic, readonly) NSString *message; - -/** - If the error is parameter-specific, the parameter related to the error. - For example, you can use this to display a message near the correct form field. - */ -@property (nonatomic, nullable, readonly) NSString *param; - -/** - The PaymentMethod object for errors returned on a request involving a PaymentMethod. - */ -@property (nonatomic, nullable, readonly) STPPaymentMethod *paymentMethod; - -/** - The type of error. - */ -@property (nonatomic, readonly) STPPaymentIntentLastPaymentErrorType type; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntentParams+Utilities.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntentParams+Utilities.h deleted file mode 100644 index ba31d24..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntentParams+Utilities.h +++ /dev/null @@ -1,26 +0,0 @@ -// -// STPPaymentIntentParams+Utilities.h -// Stripe -// -// Created by Cameron Sabol on 12/17/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import "STPPaymentIntentParams.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - Utility methods for dealing `STPPaymentIntentParams`. - */ -@interface STPPaymentIntentParams (Utilities) - -/** - Verifies whether the provided client secret matches the expected format. - Does NOT validate that the client secret represents an actual object in an account. - */ -+ (BOOL)isClientSecretValid:(NSString *)clientSecret; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntentParams.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntentParams.h deleted file mode 100644 index 079002c..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntentParams.h +++ /dev/null @@ -1,171 +0,0 @@ -// -// STPPaymentIntentParams.h -// Stripe -// -// Created by Daniel Jackson on 7/3/18. -// Copyright © 2018 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPFormEncodable.h" - -NS_ASSUME_NONNULL_BEGIN - -@class STPConfirmPaymentMethodOptions, -STPMandateDataParams, -STPSourceParams, -STPPaymentMethodParams, -STPPaymentResult, -STPPaymentIntentShippingDetailsParams; - -/** - An object representing parameters used to confirm a PaymentIntent object. - - A PaymentIntent must have a PaymentMethod or Source associated in order to successfully confirm it. - - That PaymentMethod or Source can either be: - - - created during confirmation, by passing in a `STPPaymentMethodParams` or `STPSourceParams` object in the `paymentMethodParams` or `sourceParams` field - - a pre-existing PaymentMethod or Source can be associated by passing its id in the `paymentMethodId` or `sourceId` field - - or already set via your backend, either when creating or updating the PaymentIntent - - @see https://stripe.com/docs/api#confirm_payment_intent - */ -@interface STPPaymentIntentParams : NSObject - -/** - Initialize this `STPPaymentIntentParams` with a `clientSecret`, which is the only required - field. - - @param clientSecret the client secret for this PaymentIntent - */ -- (instancetype)initWithClientSecret:(NSString *)clientSecret; - -/** - The Stripe id of the PaymentIntent, extracted from the clientSecret. - */ -@property (nonatomic, copy, nullable, readonly) NSString *stripeId; - -/** - The client secret of the PaymentIntent. Required - */ -@property (nonatomic, copy) NSString *clientSecret; - -/** - Provide a supported `STPPaymentMethodParams` object, and Stripe will create a - PaymentMethod during PaymentIntent confirmation. - - @note alternative to `paymentMethodId` - */ -@property (nonatomic, strong, nullable) STPPaymentMethodParams *paymentMethodParams; - -/** - Provide an already created PaymentMethod's id, and it will be used to confirm the PaymentIntent. - - @note alternative to `paymentMethodParams` - */ -@property (nonatomic, copy, nullable) NSString *paymentMethodId; - -/** - Provide an STPPaymentResult from STPPaymentContext, and this will populate - the proper field (either paymentMethodId or paymentMethodParams) for your PaymentMethod. - */ -- (void)configureWithPaymentResult:(STPPaymentResult *)paymentResult; - -/** - Provide a supported `STPSourceParams` object into here, and Stripe will create a Source - during PaymentIntent confirmation. - - @note alternative to `sourceId` - */ -@property (nonatomic, strong, nullable) STPSourceParams *sourceParams; - -/** - Provide an already created Source's id, and it will be used to confirm the PaymentIntent. - - @note alternative to `sourceParams` - */ -@property (nonatomic, copy, nullable) NSString *sourceId; - -/** - Email address that the receipt for the resulting payment will be sent to. - */ -@property (nonatomic, copy, nullable) NSString *receiptEmail; - -/** - `@YES` to save this PaymentIntent’s PaymentMethod or Source to the associated Customer, - if the PaymentMethod/Source is not already attached. - - This should be a boolean NSNumber, so that it can be `nil` - */ -@property (nonatomic, strong, nullable) NSNumber *savePaymentMethod; - -/** - The URL to redirect your customer back to after they authenticate or cancel - their payment on the payment method’s app or site. - This should probably be a URL that opens your iOS app. - */ -@property (nonatomic, copy, nullable) NSString *returnURL; - -/** - When provided, this property indicates how you intend to use the payment method that your customer provides after the current payment completes. - - If applicable, additional authentication may be performed to comply with regional legislation or network rules required to enable the usage of the same payment method for additional payments. - - @see STPPaymentIntentSetupFutureUsage for more details on what values you can provide. - */ -@property (nonatomic, nullable) NSNumber *setupFutureUsage; - -/** - A boolean number to indicate whether you intend to use the Stripe SDK's functionality to handle any PaymentIntent next actions. - If set to false, STPPaymentIntent.nextAction will only ever contain a redirect url that can be opened in a webview or mobile browser. - When set to true, the nextAction may contain information that the Stripe SDK can use to perform native authentication within your - app. - */ -@property (nonatomic, nullable) NSNumber *useStripeSDK; - -/** - Details about the Mandate to create. - @note If this value is null and the (self.paymentMethod.type == STPPaymentMethodTypeSEPADebit | | self.paymentMethodParams.type == STPPaymentMethodTypeAUBECSDebit || self.paymentMethodParams.type == STPPaymentMethodTypeBacsDebit) && self.mandate == nil`, the SDK will set this to an internal value indicating that the mandate data should be inferred from the current context. - */ -@property (nonatomic, nullable) STPMandateDataParams *mandateData; - -/** - The ID of the Mandate to be used for this payment. - */ -@property (nonatomic, nullable) NSString *mandate; - -/** - Options to update the associated PaymentMethod during confirmation. - @see STPPaymentMethodOptions - */ -@property (nonatomic, nullable) STPConfirmPaymentMethodOptions *paymentMethodOptions; - -/** - Shipping information. - */ -@property (nonatomic, nullable) STPPaymentIntentShippingDetailsParams *shipping; - -/** - The URL to redirect your customer back to after they authenticate or cancel - their payment on the payment method’s app or site. - - This property has been renamed to `returnURL` and deprecated. - */ -@property (nonatomic, copy, nullable) NSString *returnUrl __attribute__((deprecated("returnUrl has been renamed to returnURL", "returnURL"))); - - -/** - `@YES` to save this PaymentIntent’s Source to the associated Customer, - if the Source is not already attached. - - This should be a boolean NSNumber, so that it can be `nil` - - This property has been renamed to `savePaymentMethod` and deprecated. - */ -@property (nonatomic, strong, nullable) NSNumber *saveSourceToCustomer __attribute__((deprecated("saveSourceToCustomer has been renamed to savePaymentMethod", "saveSourceToCustomer"))); - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntentShippingDetails.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntentShippingDetails.h deleted file mode 100644 index c89b164..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntentShippingDetails.h +++ /dev/null @@ -1,57 +0,0 @@ -// -// STPPaymentIntentShippingDetails.h -// Stripe -// -// Created by Yuki Tokuhiro on 4/27/20. -// Copyright © 2020 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPAPIResponseDecodable.h" - -@class STPPaymentIntentShippingDetailsAddress; - -NS_ASSUME_NONNULL_BEGIN - -/** - Shipping information for a PaymentIntent - - @see https://stripe.com/docs/api/payment_intents/object#payment_intent_object-shipping - */ -@interface STPPaymentIntentShippingDetails : NSObject - -/** - Shipping address. - */ -@property (nonatomic, nullable, readonly) STPPaymentIntentShippingDetailsAddress *address; - -/** - Recipient name. - */ -@property (nonatomic, nullable, copy, readonly) NSString *name; - -/** - The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc. - */ -@property (nonatomic, nullable, copy, readonly) NSString *carrier; - -/** - Recipient phone (including extension). - */ -@property (nonatomic, nullable, copy, readonly) NSString *phone; - -/** - The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas. - */ -@property (nonatomic, nullable, copy, readonly) NSString *trackingNumber; - -/** - You cannot directly instantiate an `STPPaymentIntentShippingDetails`. - You should only use one that is part of an existing `STPPaymentMethod` object. - */ -- (instancetype)init NS_UNAVAILABLE; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntentShippingDetailsAddress.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntentShippingDetailsAddress.h deleted file mode 100644 index e8d5157..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntentShippingDetailsAddress.h +++ /dev/null @@ -1,60 +0,0 @@ -// -// STPPaymentIntentShippingDetailsAddress.h -// Stripe -// -// Created by Yuki Tokuhiro on 4/27/20. -// Copyright © 2020 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPAPIResponseDecodable.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - Shipping address for a PaymentIntent's shipping details. - - @see https://stripe.com/docs/api/payment_intents/object#payment_intent_object-shipping - */ -@interface STPPaymentIntentShippingDetailsAddress : NSObject - -/** - City/District/Suburb/Town/Village. -*/ -@property (nonatomic, copy, nullable, readonly) NSString *city; - -/** - Two-letter country code (ISO 3166-1 alpha-2). - */ -@property (nonatomic, copy, nullable, readonly) NSString *country; - -/** - Address line 1 (Street address/PO Box/Company name). - */ -@property (nonatomic, copy, nullable, readonly) NSString *line1; - -/** - Address line 2 (Apartment/Suite/Unit/Building). - */ -@property (nonatomic, copy, nullable, readonly) NSString *line2; - -/** - ZIP or postal code. - */ -@property (nonatomic, copy, nullable, readonly) NSString *postalCode; - -/** - State/County/Province/Region. - */ -@property (nonatomic, copy, nullable, readonly) NSString *state; - -/** - You cannot directly instantiate an `STPPaymentIntentShippingDetailsAddress`. - You should only use one that is part of an existing `STPPaymentMethod` object. - */ -- (instancetype)init NS_UNAVAILABLE; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntentShippingDetailsAddressParams.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntentShippingDetailsAddressParams.h deleted file mode 100644 index 4ed96e1..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntentShippingDetailsAddressParams.h +++ /dev/null @@ -1,64 +0,0 @@ -// -// STPPaymentIntentShippingDetailsAddressParams.h -// Stripe -// -// Created by Yuki Tokuhiro on 4/27/20. -// Copyright © 2020 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPFormEncodable.h" - -NS_ASSUME_NONNULL_BEGIN - -/** -Shipping address for a PaymentIntent's shipping details. - -@see https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-shipping-address -*/ -@interface STPPaymentIntentShippingDetailsAddressParams : NSObject - -/** - City/District/Suburb/Town/Village. -*/ -@property (nonatomic, copy, nullable) NSString *city; - -/** - Two-letter country code (ISO 3166-1 alpha-2). - */ -@property (nonatomic, copy, nullable) NSString *country; - -/** - Address line 1 (Street address/PO Box/Company name). - */ -@property (nonatomic, copy) NSString *line1; - -/** - Address line 2 (Apartment/Suite/Unit/Building). - */ -@property (nonatomic, copy, nullable) NSString *line2; - -/** - ZIP or postal code. - */ -@property (nonatomic, copy, nullable) NSString *postalCode; - -/** - State/County/Province/Region. - */ -@property (nonatomic, copy, nullable) NSString *state; - -/** - Initialize an `STPPaymentIntentShippingDetailsAddressParams` instance with required properties. - */ -- (instancetype)initWithLine1:(NSString *)line1; - -/** - Use `initWithLine1:` instead. - */ -- (instancetype)init NS_UNAVAILABLE; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntentShippingDetailsParams.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntentShippingDetailsParams.h deleted file mode 100644 index ddcff40..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntentShippingDetailsParams.h +++ /dev/null @@ -1,61 +0,0 @@ -// -// STPPaymentIntentShippingDetailsParams.h -// Stripe -// -// Created by Yuki Tokuhiro on 4/27/20. -// Copyright © 2020 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPFormEncodable.h" - -@class STPPaymentIntentShippingDetailsAddressParams; - -NS_ASSUME_NONNULL_BEGIN - -/** -Shipping information for a PaymentIntent - -@see https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-shipping -*/ -@interface STPPaymentIntentShippingDetailsParams : NSObject - -/** - Shipping address. - */ -@property (nonatomic) STPPaymentIntentShippingDetailsAddressParams *address; - -/** - Recipient name. - */ -@property (nonatomic, copy) NSString *name; - -/** - The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc. - */ -@property (nonatomic, nullable, copy) NSString *carrier; - -/** - Recipient phone (including extension). - */ -@property (nonatomic, nullable, copy) NSString *phone; - -/** - The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas. - */ -@property (nonatomic, nullable, copy) NSString *trackingNumber; - -/** - Initialize an `STPPaymentIntentShippingDetailsParams` with required properties. - */ -- (instancetype)initWithAddress:(STPPaymentIntentShippingDetailsAddressParams *)address name:(NSString *)name; - -/** - Use `initWithAddress:name:` instead. - */ -- (instancetype)init NS_UNAVAILABLE; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntentSourceAction.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntentSourceAction.h deleted file mode 100644 index 659aa4b..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntentSourceAction.h +++ /dev/null @@ -1,22 +0,0 @@ -// -// STPPaymentIntentSourceAction.h -// Stripe -// -// Created by Daniel Jackson on 11/7/18. -// Copyright © 2018 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPPaymentIntentAction.h" - -/** - Source Action details for an STPPaymentIntent. This is a container for - the various types that are available. Check the `type` to see which one - it is, and then use the related property for the details necessary to handle - it. - - @deprecated Use `STPPaymentIntentAction` instead. - */ -__attribute__((deprecated("Use STPIntentAction instead", "STPIntentAction"))) -typedef STPIntentAction STPPaymentIntentSourceAction; diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntentSourceActionAuthorizeWithURL.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntentSourceActionAuthorizeWithURL.h deleted file mode 100644 index fde9e75..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentIntentSourceActionAuthorizeWithURL.h +++ /dev/null @@ -1,21 +0,0 @@ -// -// STPPaymentIntentSourceActionAuthorizeWithURL.h -// Stripe -// -// Created by Daniel Jackson on 11/7/18. -// Copyright © 2018 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPIntentActionRedirectToURL.h" - -/** - The `STPPaymentIntentSourceAction` details when type is `STPPaymentIntentSourceActionTypeAuthorizeWithURL`. - - These are created & owned by the containing `STPPaymentIntent`. - - @deprecated Use `STPIntentActionRedirectToURL` instead. - */ -__attribute__((deprecated("Use STPIntentActionRedirectToURL instead", "STPIntentActionRedirectToURL"))) -typedef STPIntentActionRedirectToURL STPPaymentIntentSourceActionAuthorizeWithURL; diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethod.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethod.h deleted file mode 100644 index 9ec67d1..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethod.h +++ /dev/null @@ -1,108 +0,0 @@ -// -// STPPaymentMethod.h -// Stripe -// -// Created by Yuki Tokuhiro on 3/5/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPAPIResponseDecodable.h" -#import "STPPaymentMethodEnums.h" -#import "STPPaymentOption.h" - -@class STPPaymentMethodAUBECSDebit, -STPPaymentMethodBillingDetails, -STPPaymentMethodCard, -STPPaymentMethodCardPresent, -STPPaymentMethodFPX, -STPPaymentMethodiDEAL, -STPPaymentMethodSEPADebit, -STPPaymentMethodBacsDebit; - -NS_ASSUME_NONNULL_BEGIN - -/** - PaymentMethod objects represent your customer's payment instruments. They can be used with PaymentIntents to collect payments. - - @see https://stripe.com/docs/api/payment_methods - */ -@interface STPPaymentMethod : NSObject - -/** - Unique identifier for the object. - */ -@property (nonatomic, readonly) NSString *stripeId; - -/** - Time at which the object was created. Measured in seconds since the Unix epoch. - */ -@property (nonatomic, nullable, readonly) NSDate *created; - -/** - `YES` if the object exists in live mode or the value `NO` if the object exists in test mode. - */ -@property (nonatomic, readonly) BOOL liveMode; - -/** - The type of the PaymentMethod. The corresponding, similarly named property contains additional information specific to the PaymentMethod type. - e.g. if the type is `STPPaymentMethodTypeCard`, the `card` property is also populated. - */ -@property (nonatomic, readonly) STPPaymentMethodType type; - -/** - Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods. - */ -@property (nonatomic, nullable, readonly) STPPaymentMethodBillingDetails *billingDetails; - -/** - If this is a card PaymentMethod (ie `self.type == STPPaymentMethodTypeCard`), this contains additional details. - */ -@property (nonatomic, nullable, readonly) STPPaymentMethodCard *card; - -/** - If this is a iDEAL PaymentMethod (ie `self.type == STPPaymentMethodTypeiDEAL`), this contains additional details. - */ -@property (nonatomic, nullable, readonly) STPPaymentMethodiDEAL *iDEAL; - -/** - If this is an FPX PaymentMethod (ie `self.type == STPPaymentMethodTypeFPX`), this contains additional details. - */ -@property (nonatomic, nullable, readonly) STPPaymentMethodFPX *fpx; - -/** - If this is a card present PaymentMethod (ie `self.type == STPPaymentMethodTypeCardPresent`), this contains additional details. - */ -@property (nonatomic, nullable, readonly) STPPaymentMethodCardPresent *cardPresent; - -/** - If this is a SEPA Debit PaymentMethod (ie `self.type == STPPaymentMethodTypeSEPADebit`), this contains additional details. - */ -@property (nonatomic, nullable, readonly) STPPaymentMethodSEPADebit *sepaDebit; - -/** - If this is a Bacs Debit PaymentMethod (ie `self.type == STPPaymentMethodTypeBacsDebit`), this contains additional details. - */ -@property (nonatomic, nullable, readonly) STPPaymentMethodBacsDebit *bacsDebit; - -/** - If this is an AU BECS Debit PaymentMethod (i.e. `self.type == STPPaymentMethodTypeAUBECSDebit`), this contains additional details. -*/ -@property (nonatomic, nullable, readonly) STPPaymentMethodAUBECSDebit *auBECSDebit; - -/** - The ID of the Customer to which this PaymentMethod is saved. Nil when the PaymentMethod has not been saved to a Customer. - */ -@property (nonatomic, nullable, readonly) NSString *customerId; - -/** - Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - - @see https://stripe.com/docs/api#metadata - */ -@property (nonatomic, nullable, readonly) NSDictionary *metadata; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodAUBECSDebit.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodAUBECSDebit.h deleted file mode 100644 index 99daa14..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodAUBECSDebit.h +++ /dev/null @@ -1,45 +0,0 @@ -// -// STPPaymentMethodAUBECSDebit.h -// StripeiOS -// -// Created by Cameron Sabol on 3/3/20. -// Copyright © 2020 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPAPIResponseDecodable.h" - -NS_ASSUME_NONNULL_BEGIN - -/** -An AU BECS Debit Payment Method. - -@see https://stripe.com/docs/api/payment_methods/object#payment_method_object-au_becs_debit -*/ -@interface STPPaymentMethodAUBECSDebit : NSObject - -/** -You cannot directly instantiate an `STPPaymentMethodAUBECSDebit`. -You should only use one that is part of an existing `STPPaymentMethod` object. -*/ -- (instancetype)init NS_UNAVAILABLE; - -/** - Six-digit number identifying bank and branch associated with this bank account. - */ -@property (nonatomic, readonly, copy) NSString *bsbNumber; - -/** - Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. - */ -@property (nonatomic, readonly, copy) NSString *fingerprint; - -/** - Last four digits of the bank account number. - */ -@property (nonatomic, readonly, copy) NSString *last4; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodAUBECSDebitParams.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodAUBECSDebitParams.h deleted file mode 100644 index 48335dd..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodAUBECSDebitParams.h +++ /dev/null @@ -1,32 +0,0 @@ -// -// STPPaymentMethodAUBECSDebitParams.h -// StripeiOS -// -// Created by Cameron Sabol on 3/3/20. -// Copyright © 2020 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPFormEncodable.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - An object representing parameters used to create an AU BECS Debit Payment Method - */ -@interface STPPaymentMethodAUBECSDebitParams : NSObject - -/** - The account number to debit. - */ -@property (nonatomic, copy) NSString *accountNumber; - -/** - Six-digit number identifying bank and branch associated with this bank account. - */ -@property (nonatomic, copy) NSString *bsbNumber; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodAddress.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodAddress.h deleted file mode 100644 index 1ba9d60..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodAddress.h +++ /dev/null @@ -1,60 +0,0 @@ -// -// STPPaymentMethodAddress.h -// Stripe -// -// Created by Yuki Tokuhiro on 3/5/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPAPIResponseDecodable.h" -#import "STPFormEncodable.h" - -NS_ASSUME_NONNULL_BEGIN - -@class STPAddress; - -/** - The billing address, a property on `STPPaymentMethodBillingDetails` - */ -@interface STPPaymentMethodAddress : NSObject - -/** - City/District/Suburb/Town/Village. -*/ -@property (nonatomic, copy, nullable, readwrite) NSString *city; - -/** - 2-letter country code. - */ -@property (nonatomic, copy, nullable, readwrite) NSString *country; - -/** - Address line 1 (Street address/PO Box/Company name). - */ -@property (nonatomic, copy, nullable, readwrite) NSString *line1; - -/** - Address line 2 (Apartment/Suite/Unit/Building). - */ -@property (nonatomic, copy, nullable, readwrite) NSString *line2; - -/** - ZIP or postal code. - */ -@property (nonatomic, copy, nullable, readwrite) NSString *postalCode; - -/** - State/County/Province/Region. - */ -@property (nonatomic, copy, nullable, readwrite) NSString *state; - -/** - Convenience initializer for creating a STPPaymentMethodAddress from an STPAddress. - */ -- (instancetype)initWithAddress:(STPAddress *)address; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodBacsDebit.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodBacsDebit.h deleted file mode 100644 index 57a5eaf..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodBacsDebit.h +++ /dev/null @@ -1,44 +0,0 @@ -// -// STPPaymentMethodBacsDebit.h -// StripeiOS -// -// Created by Yuki Tokuhiro on 1/28/20. -// Copyright © 2020 Stripe, Inc. All rights reserved. -// - -#import -#import "STPAPIResponseDecodable.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - A Bacs Debit Payment Method. - - @see https://stripe.com/docs/api/payment_methods/object#payment_method_object-bacs_debit - */ -@interface STPPaymentMethodBacsDebit : NSObject - -/** -You cannot directly instantiate an `STPPaymentMethodBacsDebit`. -You should only use one that is part of an existing `STPPaymentMethod` object. -*/ -- (instancetype)init NS_UNAVAILABLE; - -/** - This payment method's fingerprint. - */ -@property (nonatomic, nullable, readonly) NSString *fingerprint; - -/** - The last four digits of the bank account. - */ -@property (nonatomic, nullable, readonly) NSString *last4; - -/** - The sort code of the bank account (eg 10-88-00) - */ -@property (nonatomic, nullable, readonly) NSString *sortCode; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodBacsDebitParams.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodBacsDebitParams.h deleted file mode 100644 index 937c89b..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodBacsDebitParams.h +++ /dev/null @@ -1,34 +0,0 @@ -// -// STPPaymentMethodBacsDebitParams.h -// Stripe -// -// Created by Yuki Tokuhiro on 1/29/20. -// Copyright © 2020 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPFormEncodable.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - The user's bank account details. - - @see https://stripe.com/docs/api/payment_methods/create#create_payment_method-bacs_debit - */ -@interface STPPaymentMethodBacsDebitParams : NSObject - -/** - The bank account number (eg 00012345) - */ -@property (nonatomic, copy) NSString *accountNumber; - -/** - The sort code of the bank account (eg 10-88-00) -*/ -@property (nonatomic, copy) NSString *sortCode; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodBillingDetails.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodBillingDetails.h deleted file mode 100644 index 5343562..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodBillingDetails.h +++ /dev/null @@ -1,47 +0,0 @@ -// -// STPPaymentMethodBillingDetails.h -// Stripe -// -// Created by Yuki Tokuhiro on 3/5/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPAPIResponseDecodable.h" -#import "STPFormEncodable.h" - -@class STPPaymentMethodAddress; - -NS_ASSUME_NONNULL_BEGIN - -/** - Billing information associated with a `STPPaymentMethod` that may be used or required by particular types of payment methods. - - @see https://stripe.com/docs/api/payment_methods/object#payment_method_object-billing_details - */ -@interface STPPaymentMethodBillingDetails : NSObject - -/** - Billing address. - */ -@property (nonatomic, strong, nullable) STPPaymentMethodAddress *address; - -/** - Email address. - */ -@property (nonatomic, copy, nullable) NSString *email; - -/** - Full name. - */ -@property (nonatomic, copy, nullable) NSString *name; - -/** - Billing phone number (including extension). - */ -@property (nonatomic, copy, nullable) NSString *phone; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodCard.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodCard.h deleted file mode 100644 index 97bab80..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodCard.h +++ /dev/null @@ -1,92 +0,0 @@ -// -// STPPaymentMethodCard.h -// Stripe -// -// Created by Yuki Tokuhiro on 3/5/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPAPIResponseDecodable.h" -#import "STPCardBrand.h" - -@class STPPaymentMethodThreeDSecureUsage, STPPaymentMethodCardChecks, STPPaymentMethodCardWallet; - -NS_ASSUME_NONNULL_BEGIN - -/** - Contains details about a user's credit card. - - @see https://stripe.com/docs/api/payment_methods/object#payment_method_object-card - */ -@interface STPPaymentMethodCard : NSObject - -/** - You cannot directly instantiate an `STPPaymentMethodCard`. You should only use one that is part of an existing `STPPaymentMethod` object. - */ -- (instancetype)init __attribute__((unavailable("You cannot directly instantiate an STPPaymentMethodCard. You should only use one that is part of an existing STPPaymentMethod object."))); - -/** - The issuer of the card. - */ -@property (nonatomic, readonly) STPCardBrand brand; - -/** - Checks on Card address and CVC if provided. - */ -@property (nonatomic, nullable, readonly) STPPaymentMethodCardChecks *checks; - -/** - Two-letter ISO code representing the country of the card. - */ -@property (nonatomic, nullable, readonly) NSString *country; - -/** - Two-digit number representing the card’s expiration month. - */ -@property (nonatomic, readonly) NSInteger expMonth; - -/** - Four-digit number representing the card’s expiration year. - */ -@property (nonatomic, readonly) NSInteger expYear; - -/** - Card funding type. Can be credit, debit, prepaid, or unknown. - */ -@property (nonatomic, nullable, readonly) NSString *funding; - -/** - The last four digits of the card. - */ -@property (nonatomic, nullable, readonly) NSString *last4; - -/** - Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. - */ -@property (nonatomic, nullable, readonly) NSString *fingerprint; - -/** - Contains details on how this Card maybe be used for 3D Secure authentication. - */ -@property (nonatomic, nullable, readonly) STPPaymentMethodThreeDSecureUsage *threeDSecureUsage; - -/** - If this Card is part of a Card Wallet, this contains the details of the Card Wallet. - */ -@property (nonatomic, nullable, readonly) STPPaymentMethodCardWallet *wallet; - -/** - Returns a string representation for the provided card brand; - i.e. `[NSString stringFromBrand:STPCardBrandVisa] == @"Visa"`. - - @param brand the brand you want to convert to a string - - @return A string representing the brand, suitable for displaying to a user. - */ -+ (NSString *)stringFromBrand:(STPCardBrand)brand; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodCardChecks.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodCardChecks.h deleted file mode 100644 index ce4119a..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodCardChecks.h +++ /dev/null @@ -1,83 +0,0 @@ -// -// STPPaymentMethodCardChecks.h -// Stripe -// -// Created by Yuki Tokuhiro on 3/5/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPAPIResponseDecodable.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - The result of a check on a Card address or CVC. - */ -typedef NS_ENUM(NSUInteger, STPPaymentMethodCardCheckResult) { - /** - The check passed. - */ - STPPaymentMethodCardCheckResultPass, - - /** - The check failed. - */ - STPPaymentMethodCardCheckResultFailed, - - /** - The check is unavailable. - */ - STPPaymentMethodCardCheckResultUnavailable, - - /** - The value was not checked. - */ - STPPaymentMethodCardCheckResultUnchecked, - - /** - Represents an unknown or null value. - */ - STPPaymentMethodCardCheckResultUnknown, -}; - -/** - Checks on Card address and CVC. - - @see https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-checks - */ -@interface STPPaymentMethodCardChecks : NSObject - -/** - You cannot directly instantiate an `STPPaymentMethodCardChecks`. - */ -- (instancetype)init __attribute__((unavailable("You cannot directly instantiate an STPPaymentMethodCardChecks."))); - -#pragma mark - Deprecated -/** - If a address line1 was provided, results of the check. - - @deprecated Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using you secret key instead. - */ -@property (nonatomic, readonly) STPPaymentMethodCardCheckResult addressLine1Check DEPRECATED_MSG_ATTRIBUTE("Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using you secret key instead."); - -/** - If a address postal code was provided, results of the check. - - - @deprecated Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using you secret key instead. - */ -@property (nonatomic, readonly) STPPaymentMethodCardCheckResult addressPostalCodeCheck DEPRECATED_MSG_ATTRIBUTE("Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using you secret key instead."); - -/** - If a CVC was provided, results of the check. - - - @deprecated Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using you secret key instead. - */ -@property (nonatomic, readonly) STPPaymentMethodCardCheckResult cvcCheck DEPRECATED_MSG_ATTRIBUTE("Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using you secret key instead."); - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodCardParams.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodCardParams.h deleted file mode 100644 index 947c358..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodCardParams.h +++ /dev/null @@ -1,60 +0,0 @@ -// -// STPPaymentMethodCardParams.h -// Stripe -// -// Created by Yuki Tokuhiro on 3/6/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPFormEncodable.h" - -@class STPCardParams; - -NS_ASSUME_NONNULL_BEGIN - -/** - The user's card details. - */ -@interface STPPaymentMethodCardParams : NSObject - -/** - A convenience initializer for creating a payment method from a card source. - This should be used to help with migrations to Payment Methods from Sources. - */ -- (instancetype)initWithCardSourceParams:(STPCardParams *)cardSourceParams; - -/** - The card number, as a string without any separators. Ex. @"4242424242424242" - */ -@property (nonatomic, copy, nullable) NSString *number; - -/** - Number representing the card's expiration month. Ex. @1 - */ -@property (nonatomic, nullable) NSNumber *expMonth; - -/** - Two- or four-digit number representing the card's expiration year. - */ -@property (nonatomic, nullable) NSNumber *expYear; - -/** - For backwards compatibility, you can alternatively set this as a Stripe token (e.g., for apple pay) - */ -@property (nonatomic, copy, nullable) NSString *token; - -/** - Card security code. It is highly recommended to always include this value. - */ -@property (nonatomic, copy, nullable) NSString *cvc; - -/** -The last 4 digits of the card. -*/ -@property (nonatomic, readonly, nullable) NSString *last4; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodCardPresent.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodCardPresent.h deleted file mode 100644 index a49b464..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodCardPresent.h +++ /dev/null @@ -1,22 +0,0 @@ -// -// STPPaymentMethodCardPresent.h -// Stripe -// -// Created by Yuki Tokuhiro on 3/11/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPAPIResponseDecodable.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - Details about the Card Present payment method - */ -@interface STPPaymentMethodCardPresent : NSObject - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodCardWallet.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodCardWallet.h deleted file mode 100644 index ddb0224..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodCardWallet.h +++ /dev/null @@ -1,82 +0,0 @@ -// -// STPPaymentMethodCardWallet.h -// Stripe -// -// Created by Yuki Tokuhiro on 3/9/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPAPIResponseDecodable.h" - -@class STPPaymentMethodCardWalletVisaCheckout, STPPaymentMethodCardWalletMasterpass; - -NS_ASSUME_NONNULL_BEGIN - -/** - The type of Card Wallet. - */ -typedef NS_ENUM(NSUInteger, STPPaymentMethodCardWalletType) { - - /** - Amex Express Checkout - */ - STPPaymentMethodCardWalletTypeAmexExpressCheckout, - - /** - Apple Pay - */ - STPPaymentMethodCardWalletTypeApplePay, - - /** - Google Pay - */ - STPPaymentMethodCardWalletTypeGooglePay, - - /** - Masterpass - */ - STPPaymentMethodCardWalletTypeMasterpass, - - /** - Samsung Pay - */ - STPPaymentMethodCardWalletTypeSamsungPay, - - /** - Visa Checkout - */ - STPPaymentMethodCardWalletTypeVisaCheckout, - - /** - An unknown Card Wallet type. - */ - STPPaymentMethodCardWalletTypeUnknown, -}; - -/** - A Card Wallet. - - @see https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-wallet - */ -@interface STPPaymentMethodCardWallet : NSObject - -/** - The type of the Card Wallet. A matching property is populated if the type is `STPPaymentMethodCardWalletTypeMasterpass` or `STPPaymentMethodCardWalletTypeVisaCheckout` containing additional information specific to the Card Wallet type. - */ -@property (nonatomic, readonly) STPPaymentMethodCardWalletType type; - -/** - Contains additional Masterpass information, if the type of the Card Wallet is `STPPaymentMethodCardWalletTypeMasterpass` - */ -@property (nonatomic, nullable, readonly) STPPaymentMethodCardWalletMasterpass *masterpass; - -/** - Contains additional Visa Checkout information, if the type of the Card Wallet is `STPPaymentMethodCardWalletTypeVisaCheckout` - */ -@property (nonatomic, nullable, readonly) STPPaymentMethodCardWalletVisaCheckout *visaCheckout; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodCardWalletMasterpass.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodCardWalletMasterpass.h deleted file mode 100644 index a383df8..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodCardWalletMasterpass.h +++ /dev/null @@ -1,46 +0,0 @@ -// -// STPPaymentMethodCardWalletMasterpass.h -// Stripe -// -// Created by Yuki Tokuhiro on 3/9/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPAPIResponseDecodable.h" - -@class STPPaymentMethodAddress; - -NS_ASSUME_NONNULL_BEGIN - -/** - A Masterpass Card Wallet - - @see https://stripe.com/docs/masterpass - */ -@interface STPPaymentMethodCardWalletMasterpass : NSObject - -/** - Owner’s verified email. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. - */ -@property (nonatomic, nullable, readonly) NSString *email; - -/** - Owner’s verified email. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. - */ -@property (nonatomic, nullable, readonly) NSString *name; - -/** - Owner’s verified billing address. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. - */ -@property (nonatomic, nullable, readonly) STPPaymentMethodAddress *billingAddress; - -/** - Owner’s verified shipping address. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. - */ -@property (nonatomic, nullable, readonly) STPPaymentMethodAddress *shippingAddress; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodCardWalletVisaCheckout.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodCardWalletVisaCheckout.h deleted file mode 100644 index 7a50b21..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodCardWalletVisaCheckout.h +++ /dev/null @@ -1,46 +0,0 @@ -// -// STPPaymentMethodCardWalletVisaCheckout.h -// Stripe -// -// Created by Yuki Tokuhiro on 3/9/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPAPIResponseDecodable.h" - -@class STPPaymentMethodAddress; - -NS_ASSUME_NONNULL_BEGIN - -/** - A Visa Checkout Card Wallet - - @see https://stripe.com/docs/visa-checkout - */ -@interface STPPaymentMethodCardWalletVisaCheckout : NSObject - -/** - Owner’s verified email. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. - */ -@property (nonatomic, nullable, readonly) NSString *email; - -/** - Owner’s verified email. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. - */ -@property (nonatomic, nullable, readonly) NSString *name; - -/** - Owner’s verified billing address. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. - */ -@property (nonatomic, nullable, readonly) STPPaymentMethodAddress *billingAddress; - -/** - Owner’s verified shipping address. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. - */ -@property (nonatomic, nullable, readonly) STPPaymentMethodAddress *shippingAddress; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodEnums.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodEnums.h deleted file mode 100644 index 1b857b7..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodEnums.h +++ /dev/null @@ -1,52 +0,0 @@ -// -// STPPaymentMethodEnums.h -// Stripe -// -// Created by Yuki Tokuhiro on 3/12/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -/** - The type of the PaymentMethod. - */ -typedef NS_ENUM(NSUInteger, STPPaymentMethodType) { - /** - A card payment method. - */ - STPPaymentMethodTypeCard, - - /** - An iDEAL payment method. - */ - STPPaymentMethodTypeiDEAL, - - /** - An FPX payment method. - */ - STPPaymentMethodTypeFPX, - - /** - A card present payment method. - */ - STPPaymentMethodTypeCardPresent, - - /** - A SEPA Debit payment method. - */ - STPPaymentMethodTypeSEPADebit, - - /** - An AU BECS Debit payment method. - */ - STPPaymentMethodTypeAUBECSDebit, - - /** - A Bacs Debit payment method. - */ - STPPaymentMethodTypeBacsDebit, - - /** - An unknown type. - */ - STPPaymentMethodTypeUnknown, -}; diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodFPX.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodFPX.h deleted file mode 100644 index a5d0063..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodFPX.h +++ /dev/null @@ -1,30 +0,0 @@ -// -// STPPaymentMethodFPX.h -// Stripe -// -// Created by David Estes on 7/30/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPAPIResponseDecodable.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - An FPX Payment Method. - - @see https://stripe.com/docs/api/payment_methods/object#payment_method_object-fpx - */ -@interface STPPaymentMethodFPX : NSObject - -/** - The customer’s bank identifier code. - */ -@property (nonatomic, nullable, readonly) NSString *bankIdentifierCode; - -@end - -NS_ASSUME_NONNULL_END - diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodFPXParams.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodFPXParams.h deleted file mode 100644 index 1e5d028..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodFPXParams.h +++ /dev/null @@ -1,40 +0,0 @@ -// -// STPPaymentMethodFPXParams.h -// Stripe -// -// Created by David Estes on 7/30/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPFormEncodable.h" -#import "STPFPXBankBrand.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - An object representing parameters used to create an FPX Payment Method - */ -@interface STPPaymentMethodFPXParams : NSObject - -/** - The customer's bank. Required. - */ -@property (nonatomic, assign) STPFPXBankBrand bank; - -/** - The raw underlying bank string sent to the server. - - Generally you should use `bank` instead unless you have a reason not to. - You can use this if you want to create a param of a bank not yet supported - by the current version of the SDK's `STPFPXBankBrand` enum. - - Setting this to a value not known by the SDK causes `bank` to - return `STPFPXBankBrandUnknown` - */ -@property (nonatomic, copy, nullable) NSString *rawBankString; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodParams.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodParams.h deleted file mode 100644 index 9e63a49..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodParams.h +++ /dev/null @@ -1,168 +0,0 @@ -// -// STPPaymentMethodParams.h -// Stripe -// -// Created by Yuki Tokuhiro on 3/6/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPFormEncodable.h" -#import "STPPaymentMethodEnums.h" -#import "STPPaymentOption.h" - -@class STPPaymentMethod, -STPPaymentMethodBacsDebitParams, -STPPaymentMethodAUBECSDebitParams, -STPPaymentMethodBillingDetails, -STPPaymentMethodCardParams, -STPPaymentMethodFPXParams, -STPPaymentMethodiDEALParams, -STPPaymentMethodSEPADebitParams; - -NS_ASSUME_NONNULL_BEGIN - -/** - An object representing parameters used to create a PaymentMethod object. - - @note To create a PaymentMethod from an Apple Pay PKPaymentToken, see `STPAPIClient createPaymentMethodWithPayment:completion:` - - @see https://stripe.com/docs/api/payment_methods/create - */ -@interface STPPaymentMethodParams : NSObject - -/** - The type of payment method. The associated property will contain additional information (e.g. `type == STPPaymentMethodTypeCard` means `card` should also be populated). - */ -@property (nonatomic, readonly) STPPaymentMethodType type; - -/** - The raw underlying type string sent to the server. - - Generally you should use `type` instead unless you have a reason not to. - You can use this if you want to create a param of a type not yet supported - by the current version of the SDK's `STPPaymentMethodType` enum. - - Setting this to a value not known by the SDK causes `type` to - return `STPPaymentMethodTypeUnknown` - */ -@property (nonatomic, copy) NSString *rawTypeString; - -/** - Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods. - */ -@property (nonatomic, strong, nullable) STPPaymentMethodBillingDetails *billingDetails; - -/** - If this is a card PaymentMethod, this contains the user’s card details. - */ -@property (nonatomic, strong, nullable) STPPaymentMethodCardParams *card; - -/** - If this is a iDEAL PaymentMethod, this contains details about user's bank. - */ -@property (nonatomic, nullable) STPPaymentMethodiDEALParams *iDEAL; - -/** - If this is a FPX PaymentMethod, this contains details about user's bank. - */ -@property (nonatomic, nullable) STPPaymentMethodFPXParams *fpx; - -/** - If this is a SEPA Debit PaymentMethod, this contains details about the bank to debit. - */ -@property (nonatomic, nullable) STPPaymentMethodSEPADebitParams *sepaDebit; - -/** - If this is a Bacs Debit PaymentMethod, this contains details about the bank account to debit. - */ -@property (nonatomic, nullable) STPPaymentMethodBacsDebitParams *bacsDebit; - -/** - If this is an AU BECS Debit PaymentMethod, this contains details about the bank to debit. - */ -@property (nonatomic, nullable) STPPaymentMethodAUBECSDebitParams *auBECSDebit; - -/** - Set of key-value pairs that you can attach to the PaymentMethod. This can be useful for storing additional information about the PaymentMethod in a structured format. - */ -@property (nonatomic, copy, nullable) NSDictionary *metadata; - -/** - Creates params for a card PaymentMethod. - - @param card An object containing the user's card details. - @param billingDetails An object containing the user's billing details. - @param metadata Additional information to attach to the PaymentMethod. - */ -+ (STPPaymentMethodParams *)paramsWithCard:(STPPaymentMethodCardParams *)card - billingDetails:(nullable STPPaymentMethodBillingDetails *)billingDetails - metadata:(nullable NSDictionary *)metadata; - -/** - Creates params for an iDEAL PaymentMethod. - - @param iDEAL An object containing the user's iDEAL bank details. - @param billingDetails An object containing the user's billing details. - @param metadata Additional information to attach to the PaymentMethod. - */ -+ (STPPaymentMethodParams *)paramsWithiDEAL:(STPPaymentMethodiDEALParams *)iDEAL - billingDetails:(nullable STPPaymentMethodBillingDetails *)billingDetails - metadata:(nullable NSDictionary *)metadata; - -/** - Creates params for an FPX PaymentMethod. - - @param fpx An object containing the user's FPX bank details. - @param billingDetails An object containing the user's billing details. - @param metadata Additional information to attach to the PaymentMethod. - */ -+ (STPPaymentMethodParams *)paramsWithFPX:(STPPaymentMethodFPXParams *)fpx - billingDetails:(nullable STPPaymentMethodBillingDetails *)billingDetails - metadata:(nullable NSDictionary *)metadata; - -/** - Creates params for a SEPA Debit PaymentMethod; - - @param sepaDebit An object containing the SEPA bank debit details. - @param billingDetails An object containing the user's billing details. Note that `billingDetails.name` is required for SEPA Debit PaymentMethods. - @param metadata Additional information to attach to the PaymentMethod. - */ -+ (nullable STPPaymentMethodParams *)paramsWithSEPADebit:(STPPaymentMethodSEPADebitParams *)sepaDebit - billingDetails:(STPPaymentMethodBillingDetails *)billingDetails - metadata:(nullable NSDictionary *)metadata; - -/** - Creates params for a Bacs Debit PaymentMethod; - - @param bacsDebit An object containing the Bacs bank debit details. - @param billingDetails An object containing the user's billing details. Note that name, email, and address are required for Bacs Debit PaymentMethods. - @param metadata Additional information to attach to the PaymentMethod. - */ -+ (nullable STPPaymentMethodParams *)paramsWithBacsDebit:(STPPaymentMethodBacsDebitParams *)bacsDebit - billingDetails:(STPPaymentMethodBillingDetails *)billingDetails - metadata:(nullable NSDictionary *)metadata; - -/** - Creates params for an AU BECS Debit PaymentMethod; - - @param auBECSDebit An object containing the AU BECS bank debit details. - @param billingDetails An object containing the user's billing details. Note that `billingDetails.name` and `billingDetails.email` are required for AU BECS Debit PaymentMethods. - @param metadata Additional information to attach to the PaymentMethod. - */ -+ (nullable STPPaymentMethodParams *)paramsWithAUBECSDebit:(STPPaymentMethodAUBECSDebitParams *)auBECSDebit - billingDetails:(STPPaymentMethodBillingDetails *)billingDetails - metadata:(nullable NSDictionary *)metadata; - -/** - Creates params from a single-use PaymentMethod. This is useful for recreating a new payment method - with similar settings. It will return nil if used with a reusable PaymentMethod. - - @param paymentMethod An object containing the original single-use PaymentMethod. - */ -+ (nullable STPPaymentMethodParams *)paramsWithSingleUsePaymentMethod:(STPPaymentMethod *)paymentMethod; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodSEPADebit.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodSEPADebit.h deleted file mode 100644 index d4ff4b3..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodSEPADebit.h +++ /dev/null @@ -1,60 +0,0 @@ -// -// STPPaymentMethodSEPADebit.h -// StripeiOS -// -// Created by Cameron Sabol on 10/7/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPAPIResponseDecodable.h" - -NS_ASSUME_NONNULL_BEGIN - -/** -A SEPA Debit Payment Method. - -@see https://stripe.com/docs/api/payment_methods/object#payment_method_object-sepa_debit -*/ -@interface STPPaymentMethodSEPADebit : NSObject - -/** -You cannot directly instantiate an `STPPaymentMethodSEPADebit`. -You should only use one that is part of an existing `STPPaymentMethod` object. -*/ -- (instancetype)init NS_UNAVAILABLE; - -/** - The last 4 digits of the account number. - */ -@property (nonatomic, nullable, readonly) NSString *last4; - -/** - The account's bank code. - */ -@property (nonatomic, nullable, readonly) NSString *bankCode; - -/** - The account's branch code - */ -@property (nonatomic, nullable, readonly) NSString *branchCode; - -/** - Two-letter ISO code representing the country of the bank account. - */ -@property (nonatomic, nullable, readonly) NSString *country; - -/** - The account's fingerprint. - */ -@property (nonatomic, nullable, readonly) NSString *fingerprint; - -/** - The reference of the mandate accepted by your customer. @see https://stripe.com/docs/api/sources/create#create_source-mandate - */ -@property (nonatomic, nullable, readonly) NSString *mandate; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodSEPADebitParams.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodSEPADebitParams.h deleted file mode 100644 index 88fcd52..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodSEPADebitParams.h +++ /dev/null @@ -1,27 +0,0 @@ -// -// STPPaymentMethodSEPADebitParams.h -// StripeiOS -// -// Created by Cameron Sabol on 10/7/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPFormEncodable.h" - -NS_ASSUME_NONNULL_BEGIN - -/** -An object representing parameters used to create a SEPA Debit Payment Method -*/ -@interface STPPaymentMethodSEPADebitParams : NSObject - -/** - The IBAN number for the bank account you wish to debit. Required. - */ -@property (nonatomic, nullable, copy) NSString *iban; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodThreeDSecureUsage.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodThreeDSecureUsage.h deleted file mode 100644 index f89aed9..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodThreeDSecureUsage.h +++ /dev/null @@ -1,32 +0,0 @@ -// -// STPPaymentMethodThreeDSecureUsage.h -// Stripe -// -// Created by Yuki Tokuhiro on 3/5/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPAPIResponseDecodable.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - Contains details on how an `STPPaymentMethodCard` maybe be used for 3D Secure authentication. - */ -@interface STPPaymentMethodThreeDSecureUsage : NSObject - -/** - You cannot directly instantiate an `STPPaymentMethodThreeDSecureUsage`. - */ -- (instancetype)init __attribute__((unavailable("You cannot directly instantiate an STPPaymentMethodThreeDSecureUsage."))); - -/** - `YES` if 3D Secure is supported on this card. - */ -@property (nonatomic, readonly) BOOL supported; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodiDEAL.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodiDEAL.h deleted file mode 100644 index 5317220..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodiDEAL.h +++ /dev/null @@ -1,35 +0,0 @@ -// -// STPPaymentMethodiDEAL.h -// Stripe -// -// Created by Yuki Tokuhiro on 3/9/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPAPIResponseDecodable.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - An iDEAL Payment Method. - - @see https://stripe.com/docs/api/payment_methods/object#payment_method_object-ideal - */ -@interface STPPaymentMethodiDEAL : NSObject - -/** - The customer’s bank. - */ -@property (nonatomic, nullable, readonly) NSString *bankName; - -/** - The Bank Identifier Code of the customer’s bank. - */ -@property (nonatomic, nullable, readonly) NSString *bankIdentifierCode; - -@end - -NS_ASSUME_NONNULL_END - diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodiDEALParams.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodiDEALParams.h deleted file mode 100644 index cf463b1..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentMethodiDEALParams.h +++ /dev/null @@ -1,27 +0,0 @@ -// -// STPPaymentMethodiDEALParams.h -// Stripe -// -// Created by Yuki Tokuhiro on 3/9/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPFormEncodable.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - An object representing parameters used to create an iDEAL Payment Method - */ -@interface STPPaymentMethodiDEALParams : NSObject - -/** - The customer’s bank. - */ -@property (nonatomic, nullable, copy) NSString *bankName; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentOption.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentOption.h deleted file mode 100644 index 2540571..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentOption.h +++ /dev/null @@ -1,87 +0,0 @@ -// -// STPPaymentOption.h -// Stripe -// -// Created by Ben Guo on 4/19/16. -// Copyright © 2016 Stripe, Inc. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - This represents all of the payment methods available to your user when - configuring an `STPPaymentContext`. This is in addition to card payments, which - are always enabled. - */ -typedef NS_OPTIONS(NSUInteger, STPPaymentOptionType) { - /** - Don't allow any payment methods except for cards. - */ - STPPaymentOptionTypeNone = 0, - - /** - The user is allowed to pay with Apple Pay if it's configured and available - on their device. - */ - STPPaymentOptionTypeApplePay = 1 << 0, - - /** - The user is allowed to pay with FPX. - */ - STPPaymentOptionTypeFPX = 1 << 1, - - /** - The user is allowed to use the default payment methods to pay. - */ - STPPaymentOptionTypeAll __attribute__((deprecated("use STPPaymentOptionTypeDefault instead"))) = STPPaymentOptionTypeApplePay, - STPPaymentOptionTypeDefault = STPPaymentOptionTypeApplePay -}; - -/** - This protocol represents a payment method that a user can select and use to - pay. - - The classes that conform to it and are supported by the UI: - - - `STPApplePay`, which represents that the user wants to pay with - Apple Pay - - `STPPaymentMethod`. Only `STPPaymentMethod.type == STPPaymentMethodTypeCard` and -`STPPaymentMethod.type == STPPaymentMethodTypeFPX` are supported by `STPPaymentContext` - and `STPPaymentOptionsViewController` - - `STPPaymentMethodParams`. This should be used with non-reusable payment method, such - as FPX and iDEAL. Instead of reaching out to Stripe to create a PaymentMethod, you can - pass an STPPaymentMethodParams directly to Stripe when confirming a PaymentIntent. - - @note card-based Sources, Cards, and FPX support this protocol for use - in a custom integration. - */ -@protocol STPPaymentOption - -/** - A small (32 x 20 points) logo image representing the payment method. For - example, the Visa logo for a Visa card, or the Apple Pay logo. - */ -@property (nonatomic, strong, readonly) UIImage *image; - -/** - A small (32 x 20 points) logo image representing the payment method that can be - used as template for tinted icons. - */ -@property (nonatomic, strong, readonly) UIImage *templateImage; - -/** - A string describing the payment method, such as "Apple Pay" or "Visa 4242". - */ -@property (nonatomic, strong, readonly) NSString *label; - -/** - Describes whether this payment option may be used multiple times. If it is not reusable, - the payment method must be discarded after use. - */ -@property (nonatomic, readonly, getter=isReusable) BOOL reusable; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentOptionsViewController.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentOptionsViewController.h deleted file mode 100644 index d2769fe..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentOptionsViewController.h +++ /dev/null @@ -1,229 +0,0 @@ -// -// STPPaymentOptionsViewController.h -// Stripe -// -// Created by Jack Flintermann on 1/12/16. -// Copyright © 2016 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPBackendAPIAdapter.h" -#import "STPCoreViewController.h" -#import "STPPaymentConfiguration.h" -#import "STPPaymentOption.h" -#import "STPUserInformation.h" - -NS_ASSUME_NONNULL_BEGIN - -@protocol STPPaymentOption, STPPaymentOptionsViewControllerDelegate; -@class STPPaymentContext, STPPaymentOptionsViewController, STPCustomerContext, STPAPIClient; - -/** - This view controller presents a list of payment method options to the user, - which they can select between. They can also add credit cards to the list. - - It must be displayed inside a `UINavigationController`, so you can either - create a `UINavigationController` with an `STPPaymentOptionsViewController` - as the `rootViewController` and then present the `UINavigationController`, - or push a new `STPPaymentOptionsViewController` onto an existing - `UINavigationController`'s stack. You can also have `STPPaymentContext` do this - for you automatically, by calling `presentPaymentOptionsViewController` - or `pushPaymentOptionsViewController` on it. - */ -@interface STPPaymentOptionsViewController : STPCoreViewController - -/** - The delegate for the view controller. - - The delegate receives callbacks when the user selects a method or cancels, - and is responsible for dismissing the payments methods view controller when - it is finished. - */ -@property (nonatomic, nullable, weak, readonly) iddelegate; - -/** - Creates a new payment methods view controller. - - @param paymentContext A payment context to power the view controller's view. - The payment context will in turn use its backend API adapter to fetch the - information it needs from your application. - - @return an initialized view controller. - */ -- (instancetype)initWithPaymentContext:(STPPaymentContext *)paymentContext; - -/** - Initializes a new payment methods view controller without using a - payment context. - - @param configuration The configuration to use to determine what types of - payment method to offer your user. @see STPPaymentConfiguration.h - - @param theme The theme to inform the appearance of the UI. - @param customerContext The customer context the view controller will use to - fetch and modify its Stripe customer - @param delegate A delegate that will be notified when the payment - methods view controller's selection changes. - - @return an initialized view controller. - */ -- (instancetype)initWithConfiguration:(STPPaymentConfiguration *)configuration - theme:(STPTheme *)theme - customerContext:(STPCustomerContext *)customerContext - delegate:(id)delegate; - -/** - Note: Instead of providing your own backend API adapter, we recommend using - `STPCustomerContext`, which will manage retrieving and updating a - Stripe customer for you. @see STPCustomerContext.h - - Initializes a new payment methods view controller without using - a payment context. - - @param configuration The configuration to use to determine what types of - payment method to offer your user. - @param theme The theme to inform the appearance of the UI. - @param apiAdapter The API adapter to use to retrieve a customer's stored - payment methods and save new ones. - @param delegate A delegate that will be notified when the payment methods - view controller's selection changes. - */ -- (instancetype)initWithConfiguration:(STPPaymentConfiguration *)configuration - theme:(STPTheme *)theme - apiAdapter:(id)apiAdapter - delegate:(id)delegate; - -/** - If you've already collected some information from your user, you can set it - here and it'll be automatically filled out when possible/appropriate in any UI - that the payment context creates. -*/ -@property (nonatomic, strong, nullable) STPUserInformation *prefilledInformation; - -/** - @note This is no longer recommended as of v18.3.0 - the SDK automatically saves the Stripe ID of the last selected - payment method using NSUserDefaults and displays it as the default pre-selected option. You can override this behavior - by setting this property. - - The Stripe ID of a payment method to display as the default pre-selected option. - - @note Setting this after the view controller's view has loaded has no effect. - */ -@property (nonatomic, copy, nullable) NSString *defaultPaymentMethod; - -/** - A view that will be placed as the footer of the view controller when it is - showing a list of saved payment methods to select from. - - When the footer view needs to be resized, it will be sent a - `sizeThatFits:` call. The view should respond correctly to this method in order - to be sized and positioned properly. - */ -@property (nonatomic, strong) UIView *paymentOptionsViewControllerFooterView; - -/** - A view that will be placed as the footer of the view controller when it is - showing the add card view. - - When the footer view needs to be resized, it will be sent a - `sizeThatFits:` call. The view should respond correctly to this method in order - to be sized and positioned properly. - */ -@property (nonatomic, strong) UIView *addCardViewControllerFooterView; - -/** - The API Client to use to make requests. - - Defaults to [STPAPIClient sharedClient] - */ -@property (nonatomic, strong) STPAPIClient *apiClient; - -/** - If you're pushing `STPPaymentOptionsViewController` onto an existing - `UINavigationController`'s stack, you should use this method to dismiss it, - since it may have pushed an additional add card view controller onto the - navigation controller's stack. - - @param completion The callback to run after the view controller is dismissed. - You may specify nil for this parameter. - */ -- (void)dismissWithCompletion:(nullable STPVoidBlock)completion; - -/** - Use one of the initializers declared in this interface. - */ -- (instancetype)initWithTheme:(STPTheme *)theme NS_UNAVAILABLE; - -/** - Use one of the initializers declared in this interface. - */ -- (instancetype)initWithNibName:(nullable NSString *)nibNameOrNil - bundle:(nullable NSBundle *)nibBundleOrNil NS_UNAVAILABLE; - -/** - Use one of the initializers declared in this interface. - */ -- (nullable instancetype)initWithCoder:(NSCoder *)aDecoder NS_UNAVAILABLE; - -@end - -#pragma mark - STPPaymentOptionsViewControllerDelegate - -/** - An `STPPaymentOptionsViewControllerDelegate` responds when a user selects a - payment option from (or cancels) an `STPPaymentOptionsViewController`. In both - of these instances, you should dismiss the view controller (either by popping - it off the navigation stack, or dismissing it). - */ -@protocol STPPaymentOptionsViewControllerDelegate - -/** - This is called when the view controller encounters an error fetching the user's - payment options from its API adapter. You should dismiss the view controller - when this is called. - - @param paymentOptionsViewController the view controller in question - @param error the error that occurred - */ -- (void)paymentOptionsViewController:(STPPaymentOptionsViewController *)paymentOptionsViewController - didFailToLoadWithError:(NSError *)error; - -/** - This is called when the user selects or adds a payment method, so it will often - be called immediately after calling `paymentOptionsViewController:didSelectPaymentOption:`. - You should dismiss the view controller when this is called. - - @param paymentOptionsViewController the view controller that has finished - */ -- (void)paymentOptionsViewControllerDidFinish:(STPPaymentOptionsViewController *)paymentOptionsViewController; - -/** - This is called when the user taps "cancel". - You should dismiss the view controller when this is called. - - @param paymentOptionsViewController the view controller that has finished - */ -- (void)paymentOptionsViewControllerDidCancel:(STPPaymentOptionsViewController *)paymentOptionsViewController; - -@optional -/** - This is called when the user either makes a selection, or adds a new card. - This will be triggered after the view controller loads with the user's current - selection (if they have one) and then subsequently when they change their - choice. You should use this callback to update any necessary UI in your app - that displays the user's currently selected payment method. You should *not* - dismiss the view controller at this point, instead do this in - `paymentOptionsViewControllerDidFinish:`. `STPPaymentOptionsViewController` - will also call the necessary methods on your API adapter, so you don't need to - call them directly during this method. - - @param paymentOptionsViewController the view controller in question - @param paymentOption the selected payment method - */ -- (void)paymentOptionsViewController:(STPPaymentOptionsViewController *)paymentOptionsViewController - didSelectPaymentOption:(id)paymentOption; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentResult.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentResult.h deleted file mode 100644 index 4ef6ef8..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPaymentResult.h +++ /dev/null @@ -1,48 +0,0 @@ -// -// STPPaymentResult.h -// Stripe -// -// Created by Jack Flintermann on 1/15/16. -// Copyright © 2016 Stripe, Inc. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -@protocol STPPaymentOption; -@class STPPaymentMethod; -@class STPPaymentMethodParams; - -/** - When you're using `STPPaymentContext` to request your user's payment details, this is the object that will be returned to your application when they've successfully made a payment. - See https://stripe.com/docs/mobile/ios/standard#submit-payment-intents. - */ -@interface STPPaymentResult : NSObject - -/** - The payment method that the user has selected. This may come from a variety of different payment methods, such as an Apple Pay payment or a stored credit card. @see STPPaymentMethod.h - If paymentMethod is nil, paymentMethodParams will be populated instead. - */ -@property (nonatomic, nullable, readonly) STPPaymentMethod *paymentMethod; - -/** - The parameters for a payment method that the user has selected. This is - populated for non-reusable payment methods, such as FPX and iDEAL. @see STPPaymentMethodParams.h - If paymentMethodParams is nil, paymentMethod will be populated instead. - */ -@property (nonatomic, nullable, readonly) STPPaymentMethodParams *paymentMethodParams; - -/** - The STPPaymentOption that was used to initialize this STPPaymentResult, either an STPPaymentMethod or an STPPaymentMethodParams. - */ -@property (nonatomic, nonnull, readonly) id paymentOption; - -/** - Initializes the payment result with a given payment option. This is invoked by `STPPaymentContext` internally; you shouldn't have to call it directly. - */ -- (instancetype)initWithPaymentOption:(id)paymentOption; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPinManagementService.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPinManagementService.h deleted file mode 100644 index 969bc2d..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPinManagementService.h +++ /dev/null @@ -1,49 +0,0 @@ -// -// STPAPIClient+PinManagement.h -// Stripe -// -// Created by Arnaud Cavailhez on 4/29/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import -#import "STPAPIClient.h" -#import "STPEphemeralKeyProvider.h" - -/** - STPAPIClient extensions to manage PIN on Stripe Issuing cards - */ -@interface STPPinManagementService : NSObject - -/** - The API Client to use to make requests. - - Defaults to [STPAPIClient sharedClient] - */ -@property (nonatomic, strong) STPAPIClient *apiClient; - -/** - Create a STPPinManagementService, you must provide an implementation of STPIssuingCardEphemeralKeyProvider - */ -- (instancetype)initWithKeyProvider:(id)keyProvider; - -/** - Retrieves a PIN number for a given card, - this call is asynchronous, implement the completion block to receive the updates - */ -- (void)retrievePin:(NSString *) cardId - verificationId:(NSString *) verificationId - oneTimeCode:(NSString *) oneTimeCode - completion:(STPPinCompletionBlock) completion; - -/** - Updates a PIN number for a given card, - this call is asynchronous, implement the completion block to receive the updates - */ -- (void)updatePin:(NSString *) cardId - newPin:(NSString *) newPin - verificationId:(NSString *) verificationId - oneTimeCode:(NSString *) oneTimeCode - completion:(STPPinCompletionBlock) completion; - -@end diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPushProvisioningContext.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPushProvisioningContext.h deleted file mode 100644 index eacf0b3..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPushProvisioningContext.h +++ /dev/null @@ -1,59 +0,0 @@ -// -// STPPushProvisioningContext.h -// Stripe -// -// Created by Jack Flintermann on 9/27/18. -// Copyright © 2018 Stripe, Inc. All rights reserved. -// - -#import -#import -#import "STPEphemeralKeyProvider.h" -#import "STPCard.h" - -@class STPAPIClient; - -NS_ASSUME_NONNULL_BEGIN - -/** - This class makes it easier to implement "Push Provisioning", the process by which an end-user can add a card to their Apple Pay wallet without having to type their number. This process is mediated by an Apple class called `PKAddPaymentPassViewController`; this class will help you implement that class' delegate methods. Note that this flow requires a special entitlement from Apple; for more information please see https://stripe.com/docs/issuing/cards/digital-wallets . - */ -@interface STPPushProvisioningContext : NSObject - -/** - The API Client to use to make requests. - - Defaults to [STPAPIClient sharedClient] - */ -@property (nonatomic, strong) STPAPIClient *apiClient; - -/** - This is a helper method to generate a PKAddPaymentPassRequestConfiguration that will work with - Stripe's Issuing APIs. Pass the returned configuration object to `PKAddPaymentPassViewController`'s `initWithRequestConfiguration:delegate:` initializer. - - @param name Your cardholder's name. Example: John Appleseed - @param description A localized description of your card's name. This will appear in Apple's UI as "{description} will be available in Wallet". Example: Platinum Rewards Card - @param last4 The last 4 of the card to be added to the user's Apple Pay wallet. Example: 4242 - @param brand The brand of the card. Example: `STPCardBrandVisa` - */ -+ (PKAddPaymentPassRequestConfiguration *)requestConfigurationWithName:(NSString *)name - description:(nullable NSString *)description - last4:(nullable NSString *)last4 - brand:(STPCardBrand)brand; - -/** - In order to retreive the encrypted payload that PKAddPaymentPassViewController expects, the Stripe SDK must talk to the Stripe API. As this requires privileged access, you must write a "key provider" that generates an Ephemeral Key on your backend and provides it to the SDK when requested. For more information, see https://stripe.com/docs/mobile/ios/basic#ephemeral-key - */ -- (instancetype)initWithKeyProvider:(id)keyProvider; - -/** - This method lines up with the method of the same name on `PKAddPaymentPassViewControllerDelegate`. You should implement that protocol in your own app, and when that method is called, call this method on your `STPPushProvisioningContext`. This in turn will first initiate a call to your `keyProvider` (see above) to obtain an Ephemeral Key, then make a call to the Stripe Issuing API to fetch an encrypted payload for the card in question, then return that payload to iOS. - */ -- (void)addPaymentPassViewController:(PKAddPaymentPassViewController *)controller - generateRequestWithCertificateChain:(NSArray *)certificates - nonce:(NSData *)nonce - nonceSignature:(NSData *)nonceSignature - completionHandler:(void (^)(PKAddPaymentPassRequest *))handler; -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPushProvisioningDetailsParams.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPPushProvisioningDetailsParams.h deleted file mode 100644 index fc2b13e..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPPushProvisioningDetailsParams.h +++ /dev/null @@ -1,43 +0,0 @@ -// -// STPPushProvisioningDetailsParams.h -// Stripe -// -// Created by Jack Flintermann on 9/26/18. -// Copyright © 2018 Stripe, Inc. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - A helper class for turning the raw certificate array, nonce, and nonce signature emitted by PKAddPaymentPassViewController into a format that is understandable by the Stripe API. - If you are using STPPushProvisioningContext to implement your integration, you do not need to use this class. - */ -@interface STPPushProvisioningDetailsParams : NSObject - -/// The Stripe ID of the Issuing card object to retrieve details for. -@property (nonatomic, readonly) NSString *cardId; -/// An array of certificates that should be used to encrypt the card details. -@property (nonatomic, readonly) NSArray *certificates; -/// A nonce that should be used during the encryption of the card details. -@property (nonatomic, readonly) NSData *nonce; -/// A nonce signature that should be used during the encryption of the card details. -@property (nonatomic, readonly) NSData *nonceSignature; - -/// Implemented for convenience - the Stripe API expects the certificate chain as an array of base64-encoded strings. -@property (nonatomic, readonly) NSArray *certificatesBase64; -/// Implemented for convenience - the Stripe API expects the nonce as a hex-encoded string. -@property (nonatomic, readonly) NSString *nonceHex; -/// Implemented for convenience - the Stripe API expects the nonce signature as a hex-encoded string. -@property (nonatomic, readonly) NSString *nonceSignatureHex; - -/// Instantiates a new params object with the provided attributes. -+(instancetype)paramsWithCardId:(NSString *)cardId - certificates:(NSArray*)certificates - nonce:(NSData *)nonce - nonceSignature:(NSData *)nonceSignature; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPRedirectContext.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPRedirectContext.h deleted file mode 100644 index 2704baa..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPRedirectContext.h +++ /dev/null @@ -1,241 +0,0 @@ -// -// STPRedirectContext.h -// Stripe -// -// Created by Brian Dorfman on 3/29/17. -// Copyright © 2017 Stripe, Inc. All rights reserved. -// - -#import -#import "STPBlocks.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - The domain for NSErrors specific to `STPRedirectContext` - */ -FOUNDATION_EXPORT NSString *const STPRedirectContextErrorDomain; - -/** - Error codes specific to `STPRedirectContext` - */ -typedef NS_ERROR_ENUM(STPRedirectContextErrorDomain, STPRedirectContextErrorCode) { - /** - `STPRedirectContext` failed to redirect to the app to complete the payment. - This could be because the app is not installed on the user's device. - */ - STPRedirectContextAppRedirectError, -}; - -/** - Possible states for the redirect context to be in - */ -typedef NS_ENUM(NSUInteger, STPRedirectContextState) { - /** - Initialized, but redirect not started. - */ - STPRedirectContextStateNotStarted, - - /** - Redirect is in progress. - */ - STPRedirectContextStateInProgress, - - /** - Redirect has been cancelled programmatically before completing. - */ - STPRedirectContextStateCancelled, - - /** - Redirect has completed. - */ - STPRedirectContextStateCompleted -}; - -/** - A callback that is executed when the context believes the redirect action has been completed. - - @param sourceID The stripe id of the source. - @param clientSecret The client secret of the source. - @param error An error if one occured. Note that a lack of an error does not - mean that the action was completed successfully, the presence of one confirms - that it was not. Currently the only possible error the context can know about - is if SFSafariViewController fails its initial load (e.g. the user has no - internet connection, or servers are down). - */ -typedef void (^STPRedirectContextSourceCompletionBlock)(NSString *sourceID, NSString * __nullable clientSecret, NSError * __nullable error); - -/** - A callback that is executed when the context believes the redirect action has been completed. - - This type has been renamed to `STPRedirectContextSourceCompletionBlock` and deprecated. - */ -__attribute__((deprecated("STPRedirectContextCompletionBlock has been renamed to STPRedirectContextSourceCompletionBlock", "STPRedirectContextSourceCompletionBlock"))) -typedef STPRedirectContextSourceCompletionBlock STPRedirectContextCompletionBlock; - - -/** - A callback that is executed when the context believes the redirect action has been completed. - - @note The STPPaymentIntent originally provided to this class may be out of date, - so you should re-fetch it using the clientSecret. - - @param clientSecret The client secret of the PaymentIntent. - @param error An error if one occured. Note that a lack of an error does not - mean that the action was completed successfully, the presence of one confirms - that it was not. Currently the only possible error the context can know about - is if SFSafariViewController fails its initial load (e.g. the user has no - internet connection, or servers are down). - */ -typedef void(^STPRedirectContextPaymentIntentCompletionBlock)(NSString *clientSecret, NSError * __nullable error); - -/** - This is a helper class for handling redirects associated with STPSource and - STPPaymentIntents. - - Init and retain an instance with the Source or PaymentIntent you want to handle, - then choose a redirect method. The context will fire the completion handler - when the redirect completes. - - Due to the nature of iOS, very little concrete information can be gained - during this process, as all actions take place in either the Safari app - or the sandboxed SFSafariViewController class. The context attempts to - detect when the user has completed the necessary redirect action by listening - for both app foregrounds and url callbacks received in the app delegate. - However, it is possible the when the redirect is "completed", the user may - have not actually completed the necessary actions to authorize the charge. - - You should not use either this class, nor `STPAPIClient`, as a way - to determine when you should charge the Source or to determine if the redirect - was successful. Use Stripe webhooks on your backend server to listen for Source - state changes and to make the charge. - - @note You must retain this instance for the duration of the redirect flow. - This class dismisses any presented view controller upon deallocation. - - See https://stripe.com/docs/sources/best-practices - */ -NS_EXTENSION_UNAVAILABLE("STPRedirectContext is not available in extensions") -@interface STPRedirectContext : NSObject - -/** - The current state of the context. - */ -@property (nonatomic, readonly) STPRedirectContextState state; - -/** - Initializer for context from an `STPSource`. - - @note You must ensure that the returnURL set up in the created source - correctly goes to your app so that users can be returned once - they complete the redirect in the web broswer. - - @param source The source that needs user redirect action to be taken. - @param completion A block to fire when the action is believed to have - been completed. - - @return nil if the specified source is not a redirect-flow source. Otherwise - a new context object. - - @note Execution of the completion block does not necessarily mean the user - successfully performed the redirect action. You should listen for source status - change webhooks on your backend to determine the result of a redirect. - */ -- (nullable instancetype)initWithSource:(STPSource *)source - completion:(STPRedirectContextSourceCompletionBlock)completion; - -/** - Initializer for context from an `STPPaymentIntent`. - - This should be used when the `status` is `STPPaymentIntentStatusRequiresAction`. - If the next action involves a redirect, this init method will return a non-nil object. - - @param paymentIntent The STPPaymentIntent that needs a redirect. - @param completion A block to fire when the action is believed to have - been completed. - - @return nil if the provided PaymentIntent does not need a redirect. Otherwise - a new context object. - - @note Execution of the completion block does not necessarily mean the user - successfully performed the redirect action. - */ -- (nullable instancetype)initWithPaymentIntent:(STPPaymentIntent *)paymentIntent - completion:(STPRedirectContextPaymentIntentCompletionBlock)completion; - -/** - Use `initWithSource:completion:` - */ -- (instancetype)init NS_UNAVAILABLE; - -/** - Starts a redirect flow. - - You must ensure that your app delegate listens for the `returnURL` that you - set on the Stripe object, and forwards it to the Stripe SDK so that the - context can be notified when the redirect is completed and dismiss the - view controller. See `[Stripe handleStripeURLCallbackWithURL:]` - - The context will listen for both received URLs and app open notifications - and fire its completion block when either the URL is received, or the next - time the app is foregrounded. - - The context will initiate the flow by presenting a SFSafariViewController - instance from the passsed in view controller. If you want more manual control - over the redirect method, you can use `startSafariViewControllerRedirectFlowFromViewController` - or `startSafariAppRedirectFlow` - - If the redirect supports a native app, and that app is is installed on the user's - device, this call will do a direct app-to-app redirect instead of showing - a web url. - - @note This method does nothing if the context is not in the - `STPRedirectContextStateNotStarted` state. - - @param presentingViewController The view controller to present the Safari - view controller from. - */ -- (void)startRedirectFlowFromViewController:(UIViewController *)presentingViewController; - -/** - Starts a redirect flow by presenting an SFSafariViewController in your app - from the passed in view controller. - - You must ensure that your app delegate listens for the `returnURL` that you - set on the Stripe object, and forwards it to the Stripe SDK so that the - context can be notified when the redirect is completed and dismiss the - view controller. See `[Stripe handleStripeURLCallbackWithURL:]` - - The context will listen for both received URLs and app open notifications - and fire its completion block when either the URL is received, or the next - time the app is foregrounded. - - @note This method does nothing if the context is not in the - `STPRedirectContextStateNotStarted` state. - - @param presentingViewController The view controller to present the Safari - view controller from. - */ -- (void)startSafariViewControllerRedirectFlowFromViewController:(UIViewController *)presentingViewController; - -/** - Starts a redirect flow by calling `openURL` to bounce the user out to - the Safari app. - - The context will listen for app open notifications and fire its completion - block the next time the user re-opens the app (either manually or via url) - - @note This method does nothing if the context is not in the - `STPRedirectContextStateNotStarted` state. - */ -- (void)startSafariAppRedirectFlow; - -/** - Dismisses any presented views and stops listening for any - app opens or callbacks. The completion block will not be fired. - */ -- (void)cancel; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPSetupIntent.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPSetupIntent.h deleted file mode 100644 index 34d9ee5..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPSetupIntent.h +++ /dev/null @@ -1,94 +0,0 @@ -// -// STPSetupIntent.h -// StripeiOS -// -// Created by Yuki Tokuhiro on 6/27/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPAPIResponseDecodable.h" -#import "STPSetupIntentEnums.h" - -@class STPIntentAction, STPSetupIntentLastSetupError; - -NS_ASSUME_NONNULL_BEGIN - -/** - A SetupIntent guides you through the process of setting up a customer's payment credentials for future payments. - - @see https://stripe.com/docs/api/setup_intents - */ -@interface STPSetupIntent : NSObject - -/** - The Stripe ID of the SetupIntent. - */ -@property (nonatomic, readonly) NSString *stripeID; - -/** - The client secret of this SetupIntent. Used for client-side retrieval using a publishable key. - */ -@property (nonatomic, readonly) NSString *clientSecret; - -/** - Time at which the object was created. - */ -@property (nonatomic, readonly) NSDate *created; - -/** - ID of the Customer this SetupIntent belongs to, if one exists. - */ -@property (nonatomic, nullable, readonly) NSString *customerID; - -/** - An arbitrary string attached to the object. Often useful for displaying to users. - */ -@property (nonatomic, nullable, readonly) NSString *stripeDescription; - -/** - Has the value `YES` if the object exists in live mode or the value `NO` if the object exists in test mode. - */ -@property (nonatomic, readonly) BOOL livemode; - -/** - Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - - @see https://stripe.com/docs/api#metadata - */ -@property (nonatomic, nullable, readonly) NSDictionary *metadata; - -/** - If present, this property tells you what actions you need to take in order for your customer to set up this payment method. - */ -@property (nonatomic, nullable, readonly) STPIntentAction *nextAction; - -/** - ID of the payment method used with this SetupIntent. - */ -@property (nonatomic, nullable, readonly) NSString *paymentMethodID; - -/** - The list of payment method types (e.g. `@[@(STPPaymentMethodTypeCard)]`) that this SetupIntent is allowed to set up. - */ -@property (nonatomic, readonly) NSArray *paymentMethodTypes; - -/** - Status of this SetupIntent. - */ -@property (nonatomic, readonly) STPSetupIntentStatus status; - -/** - Indicates how the payment method is intended to be used in the future. - */ -@property (nonatomic, readonly) STPSetupIntentUsage usage; - -/** - The setup error encountered in the previous SetupIntent confirmation. - */ -@property (nonatomic, nullable, readonly) STPSetupIntentLastSetupError *lastSetupError; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPSetupIntentConfirmParams+Utilities.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPSetupIntentConfirmParams+Utilities.h deleted file mode 100644 index e48ecdf..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPSetupIntentConfirmParams+Utilities.h +++ /dev/null @@ -1,26 +0,0 @@ -// -// STPSetupIntentConfirmParams+Utilities.h -// Stripe -// -// Created by Cameron Sabol on 12/17/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import "STPSetupIntentConfirmParams.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - Utility methods for dealing `STPSetupIntentConfirmParams`. - */ -@interface STPSetupIntentConfirmParams (Utilities) - -/** - Verifies whether the provided client secret matches the expected format. - Does NOT validate that the client secret represents an actual object in an account. - */ -+ (BOOL)isClientSecretValid:(NSString *)clientSecret; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPSetupIntentConfirmParams.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPSetupIntentConfirmParams.h deleted file mode 100644 index cb5ce8f..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPSetupIntentConfirmParams.h +++ /dev/null @@ -1,85 +0,0 @@ -// -// STPSetupIntentConfirmParams.h -// Stripe -// -// Created by Yuki Tokuhiro on 6/27/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPFormEncodable.h" - -NS_ASSUME_NONNULL_BEGIN - -@class STPMandateDataParams, STPPaymentMethodParams; - -/** - An object representing parameters to confirm a SetupIntent object. - - For example, you would confirm a SetupIntent when a customer hits the “Save” button on a payment method management view in your app. - - If the selected payment method does not require any additional steps from the customer, the SetupIntent's status will transition to `STPSetupIntentStatusSucceeded`. Otherwise, it will transition to `STPSetupIntentStatusRequiresAction`, and suggest additional actions via `nextAction`. - Instead of passing this to `[STPAPIClient confirmSetupIntent...]` directly, we recommend using `STPPaymentHandler` to handle any additional steps for you. - - @see https://stripe.com/docs/api/setup_intents/confirm - */ -@interface STPSetupIntentConfirmParams : NSObject - -/** - Initialize this `STPSetupIntentConfirmParams` with a `clientSecret`. - - @param clientSecret the client secret for this SetupIntent - */ -- (instancetype)initWithClientSecret:(NSString *)clientSecret; - -/** - The client secret of the SetupIntent. Required. - */ -@property (nonatomic, copy) NSString *clientSecret; - -/** - Provide a supported `STPPaymentMethodParams` object, and Stripe will create a - PaymentMethod during PaymentIntent confirmation. - - @note alternative to `paymentMethodId` - */ -@property (nonatomic, strong, nullable) STPPaymentMethodParams *paymentMethodParams; - -/** - Provide an already created PaymentMethod's id, and it will be used to confirm the SetupIntent. - - @note alternative to `paymentMethodParams` - */ -@property (nonatomic, copy, nullable) NSString *paymentMethodID; - -/** - The URL to redirect your customer back to after they authenticate or cancel - their payment on the payment method’s app or site. - - This should probably be a URL that opens your iOS app. - */ -@property (nonatomic, copy, nullable) NSString *returnURL; - -/** - A boolean number to indicate whether you intend to use the Stripe SDK's functionality to handle any SetupIntent next actions. - If set to false, STPSetupIntent.nextAction will only ever contain a redirect url that can be opened in a webview or mobile browser. - When set to true, the nextAction may contain information that the Stripe SDK can use to perform native authentication within your - app. - */ -@property (nonatomic, nullable) NSNumber *useStripeSDK; - -/** - Details about the Mandate to create. - @note If this value is null and the `(self.paymentMethod.type == STPPaymentMethodTypeSEPADebit | | self.paymentMethodParams.type == STPPaymentMethodTypeAUBECSDebit || self.paymentMethodParams.type == STPPaymentMethodTypeBacsDebit) && self.mandate == nil`, the SDK will set this to an internal value indicating that the mandate data should be inferred from the current context. - */ -@property (nonatomic, nullable) STPMandateDataParams *mandateData; - -/** - The ID of the Mandate to be used for this payment. - */ -@property (nonatomic, nullable) NSString *mandate; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPSetupIntentEnums.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPSetupIntentEnums.h deleted file mode 100644 index 34a54ae..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPSetupIntentEnums.h +++ /dev/null @@ -1,77 +0,0 @@ -// -// STPSetupIntentEnums.h -// Stripe -// -// Created by Yuki Tokuhiro on 6/27/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -/** - Status types for an STPSetupIntent - */ -typedef NS_ENUM(NSInteger, STPSetupIntentStatus) { - - /** - Unknown status - */ - STPSetupIntentStatusUnknown, - - /** - This SetupIntent requires a PaymentMethod - */ - STPSetupIntentStatusRequiresPaymentMethod, - - /** - This SetupIntent needs to be confirmed - */ - STPSetupIntentStatusRequiresConfirmation, - - /** - The selected PaymentMethod requires additional authentication steps. - Additional actions found via the `nextAction` property of `STPSetupIntent` - */ - STPSetupIntentStatusRequiresAction, - - /** - Stripe is processing this SetupIntent - */ - STPSetupIntentStatusProcessing, - - /** - The SetupIntent has succeeded - */ - STPSetupIntentStatusSucceeded, - - /** - This SetupIntent was canceled and cannot be changed. - */ - STPSetupIntentStatusCanceled, -}; - -/** - Indicates how the payment method is intended to be used in the future. - - @see https://stripe.com/docs/api/setup_intents/create#create_setup_intent-usage - */ -typedef NS_ENUM(NSInteger, STPSetupIntentUsage) { - - /** - Unknown value. Update your SDK, or use `allResponseFields` for custom handling. - */ - STPSetupIntentUsageUnknown, - - /** - No value was provided. - */ - STPSetupIntentUsageNone, - - /** - Indicates you intend to only reuse the payment method when the customer is in your checkout flow. - */ - STPSetupIntentUsageOnSession, - - /** - Indicates you intend to reuse the payment method when the customer may or may not be in your checkout flow. - */ - STPSetupIntentUsageOffSession, -}; diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPSetupIntentLastSetupError.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPSetupIntentLastSetupError.h deleted file mode 100644 index 97f1492..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPSetupIntentLastSetupError.h +++ /dev/null @@ -1,127 +0,0 @@ -// -// STPSetupIntentLastSetupError.h -// Stripe -// -// Created by Yuki Tokuhiro on 8/9/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPAPIResponseDecodable.h" - -@class STPPaymentMethod; - -/** - The type of the error represented by `STPSetupIntentLastSetupError`. - - Some STPSetupIntentLastError properties are only populated for certain error types. - */ -typedef NS_ENUM(NSUInteger, STPSetupIntentLastSetupErrorType) { - /** - An unknown error type. - */ - STPSetupIntentLastSetupErrorTypeUnknown, - - /** - An error connecting to Stripe's API. - */ - STPSetupIntentLastSetupErrorTypeAPIConnection, - - /** - An error with the Stripe API. - */ - STPSetupIntentLastSetupErrorTypeAPI, - - /** - A failure to authenticate your customer. - */ - STPSetupIntentLastSetupErrorTypeAuthentication, - - /** - Card errors are the most common type of error you should expect to handle. - They result when the user enters a card that can't be charged for some reason. - - Check the `declineCode` property for the decline code. The `message` property contains a message you can show to your users. - */ - STPSetupIntentLastSetupErrorTypeCard, - - /** - Keys for idempotent requests can only be used with the same parameters they were first used with. - */ - STPSetupIntentLastSetupErrorTypeIdempotency, - - /** - Invalid request errors. Typically, this is because your request has invalid parameters. - */ - STPSetupIntentLastSetupErrorTypeInvalidRequest, - - /** - Too many requests hit the API too quickly. - */ - STPSetupIntentLastSetupErrorTypeRateLimit, -}; - -NS_ASSUME_NONNULL_BEGIN - -#pragma mark - Error Codes - -/** - A value for `code` indicating the provided payment method failed authentication. - */ -extern NSString *const STPSetupIntentLastSetupErrorCodeAuthenticationFailure; - -/** - The error encountered in the previous SetupIntent confirmation. - - @see https://stripe.com/docs/api/setup_intents/object#setup_intent_object-last_setup_error -*/ -@interface STPSetupIntentLastSetupError : NSObject - -/** - For some errors that could be handled programmatically, a short string indicating the error code reported. - - @see https://stripe.com/docs/error-codes - */ -@property (nonatomic, nullable, readonly) NSString *code; - -/** - For card (`STPSetupIntentLastSetupErrorTypeCard`) errors resulting from a card issuer decline, - a short string indicating the card issuer’s reason for the decline if they provide one. - - @see https://stripe.com/docs/declines#issuer-declines - */ -@property (nonatomic, nullable, readonly) NSString *declineCode; - -/** - A URL to more information about the error code reported. - - @see https://stripe.com/docs/error-codes - */ -@property (nonatomic, readonly) NSString *docURL; - -/** - A human-readable message providing more details about the error. - For card (`STPSetupIntentLastSetupErrorTypeCard`) errors, these messages can be shown to your users. - */ -@property (nonatomic, readonly) NSString *message; - -/** - If the error is parameter-specific, the parameter related to the error. - For example, you can use this to display a message near the correct form field. - */ -@property (nonatomic, nullable, readonly) NSString *param; - -/** - The PaymentMethod object for errors returned on a request involving a PaymentMethod. - */ -@property (nonatomic, nullable, readonly) STPPaymentMethod *paymentMethod; - -/** - The type of error. - */ -@property (nonatomic, readonly) STPSetupIntentLastSetupErrorType type; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPShippingAddressViewController.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPShippingAddressViewController.h deleted file mode 100644 index 07c7bf1..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPShippingAddressViewController.h +++ /dev/null @@ -1,123 +0,0 @@ -// -// STPShippingAddressViewController.h -// Stripe -// -// Created by Ben Guo on 8/29/16. -// Copyright © 2016 Stripe, Inc. All rights reserved. -// - -#import -#import - -#import "STPCoreTableViewController.h" -#import "STPPaymentContext.h" - -NS_ASSUME_NONNULL_BEGIN - -@protocol STPShippingAddressViewControllerDelegate; - -/** This view controller contains a shipping address collection form. It renders a right bar button item that submits the form, so it must be shown inside a `UINavigationController`. Depending on your configuration's shippingType, the view controller may present a shipping method selection form after the user enters an address. - */ -@interface STPShippingAddressViewController : STPCoreTableViewController - -/** - A convenience initializer; equivalent to calling `initWithConfiguration:[STPPaymentConfiguration sharedConfiguration] theme:[STPTheme defaultTheme] currency:nil shippingAddress:nil selectedShippingMethod:nil prefilledInformation:nil`. - */ -- (instancetype)init; - -/** - Initializes a new `STPShippingAddressViewController` with the given payment context and sets the payment context as its delegate. - - @param paymentContext The payment context to use. - */ -- (instancetype)initWithPaymentContext:(STPPaymentContext *)paymentContext; - -/** - Initializes a new `STPShippingAddressCardViewController` with the provided parameters. - - @param configuration The configuration to use (this determines the required shipping address fields and shipping type). @see STPPaymentConfiguration - @param theme The theme to use to inform the view controller's visual appearance. @see STPTheme - @param currency The currency to use when displaying amounts for shipping methods. The default is USD. - @param shippingAddress If set, the shipping address view controller will be pre-filled with this address. @see STPAddress - @param selectedShippingMethod If set, the shipping methods view controller will use this method as the selected shipping method. If `selectedShippingMethod` is nil, the first shipping method in the array of methods returned by your delegate will be selected. - @param prefilledInformation If set, the shipping address view controller will be pre-filled with this information. @see STPUserInformation - */ -- (instancetype)initWithConfiguration:(STPPaymentConfiguration *)configuration - theme:(STPTheme *)theme - currency:(nullable NSString *)currency - shippingAddress:(nullable STPAddress *)shippingAddress - selectedShippingMethod:(nullable PKShippingMethod *)selectedShippingMethod - prefilledInformation:(nullable STPUserInformation *)prefilledInformation; - -/** - The view controller's delegate. This must be set before showing the view controller in order for it to work properly. @see STPShippingAddressViewControllerDelegate - */ -@property (nonatomic, weak) id delegate; - -/** - If you're pushing `STPShippingAddressViewController` onto an existing `UINavigationController`'s stack, you should use this method to dismiss it, since it may have pushed an additional shipping method view controller onto the navigation controller's stack. - - @param completion The callback to run after the view controller is dismissed. You may specify nil for this parameter. - */ -- (void)dismissWithCompletion:(nullable STPVoidBlock)completion; - -/** - Use one of the initializers declared in this interface. - */ -- (instancetype)initWithTheme:(STPTheme *)theme NS_UNAVAILABLE; - -/** - Use one of the initializers declared in this interface. - */ -- (instancetype)initWithNibName:(nullable NSString *)nibNameOrNil - bundle:(nullable NSBundle *)nibBundleOrNil NS_UNAVAILABLE; - -/** - Use one of the initializers declared in this interface. - */ -- (nullable instancetype)initWithCoder:(NSCoder *)aDecoder NS_UNAVAILABLE; - -@end - -/** - An `STPShippingAddressViewControllerDelegate` is notified when an `STPShippingAddressViewController` receives an address, completes with an address, or is cancelled. - */ -@protocol STPShippingAddressViewControllerDelegate - -/** - Called when the user cancels entering a shipping address. You should dismiss (or pop) the view controller at this point. - - @param addressViewController the view controller that has been cancelled - */ -- (void)shippingAddressViewControllerDidCancel:(STPShippingAddressViewController *)addressViewController; - -/** - This is called when the user enters a shipping address and taps next. You - should validate the address and determine what shipping methods are available, - and call the `completion` block when finished. If an error occurrs, call - the `completion` block with the error. Otherwise, call the `completion` - block with a nil error and an array of available shipping methods. If you don't - need to collect a shipping method, you may pass an empty array or nil. - - @param addressViewController the view controller where the address was entered - @param address the address that was entered. @see STPAddress - @param completion call this callback when you're done validating the address and determining available shipping methods. - */ -- (void)shippingAddressViewController:(STPShippingAddressViewController *)addressViewController - didEnterAddress:(STPAddress *)address - completion:(STPShippingMethodsCompletionBlock)completion; - -/** - This is called when the user selects a shipping method. If no shipping methods are given, or if the shipping type doesn't require a shipping method, this will be called after the user has a shipping address and your validation has succeeded. After updating your app with the user's shipping info, you should dismiss (or pop) the view controller. Note that if `shippingMethod` is non-nil, there will be an additional shipping methods view controller on the navigation controller's stack. - - @param addressViewController the view controller where the address was entered - @param address the address that was entered. @see STPAddress - @param method the shipping method that was selected. - */ -- (void)shippingAddressViewController:(STPShippingAddressViewController *)addressViewController - didFinishWithAddress:(STPAddress *)address - shippingMethod:(nullable PKShippingMethod *)method; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPSource.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPSource.h deleted file mode 100644 index c151ea0..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPSource.h +++ /dev/null @@ -1,143 +0,0 @@ -// -// STPSource.h -// Stripe -// -// Created by Ben Guo on 1/23/17. -// Copyright © 2017 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPAPIResponseDecodable.h" -#import "STPSourceCardDetails.h" -#import "STPSourceEnums.h" -#import "STPSourceOwner.h" -#import "STPSourceProtocol.h" -#import "STPSourceReceiver.h" -#import "STPSourceRedirect.h" -#import "STPSourceSEPADebitDetails.h" -#import "STPSourceVerification.h" - -NS_ASSUME_NONNULL_BEGIN - -@class STPSourceOwner, STPSourceReceiver, STPSourceRedirect, STPSourceVerification, STPSourceKlarnaDetails, STPSourceWeChatPayDetails; - -/** - Representation of a customer's payment instrument created with the Stripe API. @see https://stripe.com/docs/api#sources - */ -@interface STPSource : NSObject - -/** - You cannot directly instantiate an `STPSource`. You should only use one that - has been returned from an `STPAPIClient` callback. - */ -- (instancetype)init __attribute__((unavailable("You cannot directly instantiate an STPSource. You should only use one that has been returned from an STPAPIClient callback."))); - -/** - The amount associated with the source. - */ -@property (nonatomic, nullable, readonly) NSNumber *amount; - -/** - The client secret of the source. Used for client-side fetching of a source - using a publishable key. - */ -@property (nonatomic, nullable, readonly) NSString *clientSecret; - -/** - When the source was created. - */ -@property (nonatomic, nullable, readonly) NSDate *created; - -/** - The currency associated with the source. - */ -@property (nonatomic, nullable, readonly) NSString *currency; - -/** - The authentication flow of the source. - */ -@property (nonatomic, readonly) STPSourceFlow flow; - -/** - Whether or not this source was created in livemode. - */ -@property (nonatomic, readonly) BOOL livemode; - -/** - A set of key/value pairs associated with the source object. - - @see https://stripe.com/docs/api#metadata - */ -@property (nonatomic, copy, nullable, readonly) NSDictionary *metadata; - -/** - Information about the owner of the payment instrument. - */ -@property (nonatomic, nullable, readonly) STPSourceOwner *owner; - -/** - Information related to the receiver flow. Present if the source's flow - is receiver. - */ -@property (nonatomic, nullable, readonly) STPSourceReceiver *receiver; - -/** - Information related to the redirect flow. Present if the source's flow - is redirect. - */ -@property (nonatomic, nullable, readonly) STPSourceRedirect *redirect; - -/** - The status of the source. - */ -@property (nonatomic, readonly) STPSourceStatus status; - -/** - The type of the source. - */ -@property (nonatomic, readonly) STPSourceType type; - -/** - Whether this source should be reusable or not. - */ -@property (nonatomic, readonly) STPSourceUsage usage; - -/** - Information related to the verification flow. Present if the source's flow - is verification. - */ -@property (nonatomic, nullable, readonly) STPSourceVerification *verification; - -/** - Information about the source specific to its type - */ -@property (nonatomic, nullable, readonly) NSDictionary *details; - -/** - If this is a card source, this property provides typed access to the - contents of the `details` dictionary. - */ -@property (nonatomic, nullable, readonly) STPSourceCardDetails *cardDetails; - -/** - If this is a Klarna source, this property provides typed access to the - contents of the `details` dictionary. - */ -@property (nonatomic, nullable, readonly) STPSourceKlarnaDetails *klarnaDetails; - -/** - If this is a SEPA Debit source, this property provides typed access to the - contents of the `details` dictionary. - */ -@property (nonatomic, nullable, readonly) STPSourceSEPADebitDetails *sepaDebitDetails; - -/** - If this is a WeChat Pay source, this property provides typed access to the - contents of the `details` dictionary. - */ -@property (nonatomic, nullable, readonly) STPSourceWeChatPayDetails *weChatPayDetails; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPSourceCardDetails.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPSourceCardDetails.h deleted file mode 100644 index 79bead0..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPSourceCardDetails.h +++ /dev/null @@ -1,106 +0,0 @@ -// -// STPSourceCardDetails.h -// Stripe -// -// Created by Brian Dorfman on 2/23/17. -// Copyright © 2017 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPAPIResponseDecodable.h" -#import "STPCard.h" - -NS_ASSUME_NONNULL_BEGIN - - -/** - The status of this card's 3D Secure support. - - @see https://stripe.com/docs/sources/three-d-secure#check-requirement - */ -typedef NS_ENUM(NSInteger, STPSourceCard3DSecureStatus) { - /** - 3D Secure is required. This card must be converted into a 3D Secure - source for a charge on it to be successful. - */ - STPSourceCard3DSecureStatusRequired, - - /** - 3D Secure is optional. It is not required nor recommended for successful charging, - but can be performed to help reduce the likelihood of fraud. - */ - STPSourceCard3DSecureStatusOptional, - - /** - 3D Secure is not supported on this card. - */ - STPSourceCard3DSecureStatusNotSupported, - - /** - 3D Secure is recommended. The process is not required, but it is highly recommended - and has minimal impact to your conversion rate. - */ - STPSourceCard3DSecureStatusRecommended, - - /** - The status of 3D Secure support on this card is unknown. - */ - STPSourceCard3DSecureStatusUnknown -}; - -/** - This class provides typed access to the contents of an STPSource `details` - dictionary for card sources. - */ -@interface STPSourceCardDetails : NSObject - -/** - You cannot directly instantiate an `STPSourceCardDetails`. You should only - use one that is part of an existing `STPSource` object. - */ -- (instancetype)init __attribute__((unavailable("You cannot directly instantiate an STPSourceCardDetails. You should only use one that is part of an existing STPSource object."))); - -/** - The last 4 digits of the card. - */ -@property (nonatomic, nullable, readonly) NSString *last4; - -/** - The card's expiration month. 1-indexed (i.e. 1 == January) - */ -@property (nonatomic, readonly) NSUInteger expMonth; - -/** - The card's expiration year. - */ -@property (nonatomic, readonly) NSUInteger expYear; - -/** - The issuer of the card. - */ -@property (nonatomic, readonly) STPCardBrand brand; - -/** - The funding source for the card (credit, debit, prepaid, or other) - */ -@property (nonatomic, readonly) STPCardFundingType funding; - -/** - Two-letter ISO code representing the issuing country of the card. - */ -@property (nonatomic, nullable, readonly) NSString *country; - -/** - Whether 3D Secure is supported or required by the card. - */ -@property (nonatomic, readonly) STPSourceCard3DSecureStatus threeDSecure; - -/** - True if this card was created through Apple Pay, false otherwise. - */ -@property (nonatomic, readonly) BOOL isApplePayCard; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPSourceEnums.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPSourceEnums.h deleted file mode 100644 index 3253d69..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPSourceEnums.h +++ /dev/null @@ -1,196 +0,0 @@ -// -// STPSourceEnums.h -// Stripe -// -// Created by Brian Dorfman on 8/4/17. -// Copyright © 2017 Stripe, Inc. All rights reserved. -// - -/** - Authentication flows for a Source - */ -typedef NS_ENUM(NSInteger, STPSourceFlow) { - /** - No action is required from your customer. - - @note WeChat Pay Sources also have this flow type. - */ - STPSourceFlowNone, - - /** - Your customer must be redirected to their online banking service (either a website or mobile banking app) to approve the payment. - */ - STPSourceFlowRedirect, - - /** - Your customer must verify ownership of their account by providing a code that you post to the Stripe API for authentication. - */ - STPSourceFlowCodeVerification, - - /** - Your customer must push funds to the account information provided. - */ - STPSourceFlowReceiver, - - /** - The source's flow is unknown. - */ - STPSourceFlowUnknown -}; - -/** - Usage types for a Source - */ -typedef NS_ENUM(NSInteger, STPSourceUsage) { - /** - The source can be reused. - */ - STPSourceUsageReusable, - - /** - The source can only be used once. - */ - STPSourceUsageSingleUse, - - /** - The source's usage is unknown. - */ - STPSourceUsageUnknown -}; - -/** - Status types for a Source - */ -typedef NS_ENUM(NSInteger, STPSourceStatus) { - /** - The source has been created and is awaiting customer action. - */ - STPSourceStatusPending, - - /** - The source is ready to use. The customer action has been completed or the - payment method requires no customer action. - */ - STPSourceStatusChargeable, - - /** - The source has been used. This status only applies to single-use sources. - */ - STPSourceStatusConsumed, - - /** - The source, which was chargeable, has expired because it was not used to - make a charge request within a specified amount of time. - */ - STPSourceStatusCanceled, - - /** - Your customer has not taken the required action or revoked your access - (e.g., did not authorize the payment with their bank or canceled their - mandate acceptance for SEPA direct debits). - */ - STPSourceStatusFailed, - - /** - The source status is unknown. - */ - STPSourceStatusUnknown, -}; - -/** - Types for a Source - - @see https://stripe.com/docs/sources - */ -typedef NS_ENUM(NSInteger, STPSourceType) { - /** - A Bancontact source. @see https://stripe.com/docs/sources/bancontact - */ - STPSourceTypeBancontact, - - /** - A card source. @see https://stripe.com/docs/sources/cards - */ - STPSourceTypeCard, - - /** - A Giropay source. @see https://stripe.com/docs/sources/giropay - */ - STPSourceTypeGiropay, - - /** - An iDEAL source. @see https://stripe.com/docs/sources/ideal - */ - STPSourceTypeIDEAL, - - /** - A SEPA Direct Debit source. @see https://stripe.com/docs/sources/sepa-debit - */ - STPSourceTypeSEPADebit, - - /** - A SOFORT source. @see https://stripe.com/docs/sources/sofort - */ - STPSourceTypeSofort, - - /** - A 3DS card source. @see https://stripe.com/docs/sources/three-d-secure - */ - STPSourceTypeThreeDSecure, - - /** - An Alipay source. @see https://stripe.com/docs/sources/alipay - */ - STPSourceTypeAlipay, - - /** - A P24 source. @see https://stripe.com/docs/sources/p24 - */ - STPSourceTypeP24, - - /** - An EPS source. @see https://stripe.com/docs/sources/eps - */ - STPSourceTypeEPS, - - /** - A Multibanco source. @see https://stripe.com/docs/sources/multibanco - */ - STPSourceTypeMultibanco, - - /** - A WeChat Pay source. @see https://stripe.com/docs/sources/wechat-pay - */ - STPSourceTypeWeChatPay, - - /** - A Klarna source. @see https://stripe.com/docs/sources/klarna - */ - STPSourceTypeKlarna, - - /** - An unknown type of source. - */ - STPSourceTypeUnknown, -}; - -/** - Custom payment methods for Klarna - @see https://stripe.com/docs/sources/klarna#create-source - */ -typedef NS_OPTIONS(NSUInteger, STPKlarnaPaymentMethods) { - /** - Don't specify any custom payment methods. - */ - STPKlarnaPaymentMethodsNone = 0, - - /** - Offer payments over 4 installments. (a.k.a. Pay Later in 4) - */ - STPKlarnaPaymentMethodsPayIn4 = 1 << 0, - - /** - Offer payments over an arbitrary number of installments. (a.k.a. Slice It) - */ - STPKlarnaPaymentMethodsInstallments = 1 << 1, -}; diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPSourceKlarnaDetails.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPSourceKlarnaDetails.h deleted file mode 100644 index b336afc..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPSourceKlarnaDetails.h +++ /dev/null @@ -1,34 +0,0 @@ -// -// STPSourceKlarnaDetails.h -// Stripe -// -// Created by David Estes on 11/19/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPAPIResponseDecodable.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - Details of a Klarna source. - */ -@interface STPSourceKlarnaDetails : NSObject - -/** - The Klarna-specific client token. This may be used with the Klarna SDK. - @see https://developers.klarna.com/documentation/in-app/ios/steps-klarna-payments-native/#initialization -*/ -@property (nonatomic, readonly) NSString *clientToken; - -/** - The ISO-3166 2-letter country code of the customer's location. -*/ -@property (nonatomic, readonly) NSString *purchaseCountry; - -@end - - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPSourceOwner.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPSourceOwner.h deleted file mode 100644 index 86788ae..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPSourceOwner.h +++ /dev/null @@ -1,70 +0,0 @@ -// -// STPSourceOwner.h -// Stripe -// -// Created by Ben Guo on 1/25/17. -// Copyright © 2017 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPAPIResponseDecodable.h" - -NS_ASSUME_NONNULL_BEGIN - -@class STPAddress; - -/** - Information about a source's owner. - */ -@interface STPSourceOwner : NSObject - -/** - You cannot directly instantiate an `STPSourceOwner`. You should only use one - that is part of an existing `STPSource` object. - */ -- (instancetype)init __attribute__((unavailable("You cannot directly instantiate an STPSourceOwner. You should only use one that is part of an existing STPSource object."))); - -/** - Owner's address. - */ -@property (nonatomic, nullable, readonly) STPAddress *address; - -/** - Owner's email address. - */ -@property (nonatomic, nullable, readonly) NSString *email; - -/** - Owner's full name. - */ -@property (nonatomic, nullable, readonly) NSString *name; - -/** - Owner's phone number. - */ -@property (nonatomic, nullable, readonly) NSString *phone; - -/** - Verified owner's address. - */ -@property (nonatomic, nullable, readonly) STPAddress *verifiedAddress; - -/** - Verified owner's email address. - */ -@property (nonatomic, nullable, readonly) NSString *verifiedEmail; - -/** - Verified owner's full name. - */ -@property (nonatomic, nullable, readonly) NSString *verifiedName; - -/** - Verified owner's phone number. - */ -@property (nonatomic, nullable, readonly) NSString *verifiedPhone; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPSourceParams.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPSourceParams.h deleted file mode 100644 index 53c918d..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPSourceParams.h +++ /dev/null @@ -1,417 +0,0 @@ -// -// STPSourceParams.h -// Stripe -// -// Created by Ben Guo on 1/23/17. -// Copyright © 2017 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPFormEncodable.h" -#import "STPSource.h" - -NS_ASSUME_NONNULL_BEGIN - -@class STPCardParams, STPDateOfBirth, STPKlarnaLineItem; - -/** - An object representing parameters used to create a Source object. - @see https://stripe.com/docs/api#create_source - */ -@interface STPSourceParams : NSObject - -/** - The type of the source to create. Required. - */ -@property (nonatomic, assign) STPSourceType type; - -/** - The raw underlying type string sent to the server. - - Generally you should use `type` instead unless you have a reason not to. - You can use this if you want to create a param of a type not yet supported - by the current version of the SDK's `STPSourceType` enum. - - Setting this to a value not known by the SDK causes `type` to - return `STPSourceTypeUnknown` - */ -@property (nonatomic, copy, nullable) NSString *rawTypeString; - -/** - A positive integer in the smallest currency unit representing the - amount to charge the customer (e.g., @1099 for a €10.99 payment). - Required for `single_use` sources. - */ -@property (nonatomic, copy, nullable) NSNumber *amount; - -/** - The currency associated with the source. This is the currency for which the source - will be chargeable once ready. - */ -@property (nonatomic, copy, nullable) NSString *currency; - -/** - The authentication flow of the source to create. `flow` may be "redirect", - "receiver", "verification", or "none". It is generally inferred unless a type - supports multiple flows. - */ -@property (nonatomic, assign) STPSourceFlow flow; - -/** - A set of key/value pairs that you can attach to a source object. - */ -@property (nonatomic, copy, nullable) NSDictionary *metadata; - -/** - Information about the owner of the payment instrument. May be used or required - by particular source types. - */ -@property (nonatomic, copy, nullable) NSDictionary *owner; - -/** - Parameters required for the redirect flow. Required if the source is - authenticated by a redirect (`flow` is "redirect"). - */ -@property (nonatomic, copy, nullable) NSDictionary *redirect; - -/** - An optional token used to create the source. When passed, token properties will - override source parameters. - */ -@property (nonatomic, copy, nullable) NSString *token; - -/** - Whether this source should be reusable or not. `usage` may be "reusable" or - "single_use". Some source types may or may not be reusable by construction, - while other may leave the option at creation. - */ -@property (nonatomic, assign) STPSourceUsage usage; - -/** - Creates params for a Bancontact source. - @see https://stripe.com/docs/bancontact#create-source - - @param amount The amount to charge the customer in EUR. - @param name The full name of the account holder. - @param returnURL The URL the customer should be redirected to after - they have successfully verified the payment. - @param statementDescriptor (Optional) A custom statement descriptor for - the payment. - - @note The currency for Bancontact must be "eur". This will be set automatically - for you. - - @return an STPSourceParams object populated with the provided values. - */ -+ (STPSourceParams *)bancontactParamsWithAmount:(NSUInteger)amount - name:(NSString *)name - returnURL:(NSString *)returnURL - statementDescriptor:(nullable NSString *)statementDescriptor; - -/** - Creates params for a Card source. - @see https://stripe.com/docs/sources/cards#create-source - - @param card An object containing the user's card details - - @return an STPSourceParams object populated with the provided card details. - */ -+ (STPSourceParams *)cardParamsWithCard:(STPCardParams *)card; - -/** - Creates params for a Giropay source. - @see https://stripe.com/docs/sources/giropay#create-source - - @param amount The amount to charge the customer in EUR. - @param name The full name of the account holder. - @param returnURL The URL the customer should be redirected to after - they have successfully verified the payment. - @param statementDescriptor (Optional) A custom statement descriptor for - the payment. - - @note The currency for Giropay must be "eur". This will be set automatically - for you. - - @return an STPSourceParams object populated with the provided values. - */ -+ (STPSourceParams *)giropayParamsWithAmount:(NSUInteger)amount - name:(NSString *)name - returnURL:(NSString *)returnURL - statementDescriptor:(nullable NSString *)statementDescriptor; - -/** - Creates params for an iDEAL source. - @see https://stripe.com/docs/sources/ideal#create-source - - @param amount The amount to charge the customer in EUR. - @param name (Optional) The full name of the account holder. - @param returnURL The URL the customer should be redirected to after - they have successfully verified the payment. - @param statementDescriptor (Optional) A custom statement descriptor for t - he payment. - @param bank (Optional) The customer's bank. - - @note The currency for iDEAL must be "eur". This will be set automatically - for you. - - @return an STPSourceParams object populated with the provided values. - */ -+ (STPSourceParams *)idealParamsWithAmount:(NSUInteger)amount - name:(nullable NSString *)name - returnURL:(NSString *)returnURL - statementDescriptor:(nullable NSString *)statementDescriptor - bank:(nullable NSString *)bank; - -/** - Creates params for a SEPA Debit source. - @see https://stripe.com/docs/sources/sepa-debit#create-source - - @param name The full name of the account holder. - @param iban The IBAN number for the bank account you wish to debit. - @param addressLine1 (Optional) The bank account holder's first address line. - @param city (Optional) The bank account holder's city. - @param postalCode (Optional) The bank account holder's postal code. - @param country (Optional) The bank account holder's two-letter - country code. - - @note The currency for SEPA Debit must be "eur". This will be set automatically - for you. - - @return an STPSourceParams object populated with the provided values. - */ -+ (STPSourceParams *)sepaDebitParamsWithName:(NSString *)name - iban:(NSString *)iban - addressLine1:(nullable NSString *)addressLine1 - city:(nullable NSString *)city - postalCode:(nullable NSString *)postalCode - country:(nullable NSString *)country; - -/** - Creates params for a Sofort source. - @see https://stripe.com/docs/sources/sofort#create-source - - @param amount The amount to charge the customer in EUR. - @param returnURL The URL the customer should be redirected to after - they have successfully verified the payment. - @param country The country code of the customer's bank. - @param statementDescriptor (Optional) A custom statement descriptor for - the payment. - - @note The currency for Sofort must be "eur". This will be set automatically - for you. - - @return an STPSourceParams object populated with the provided values. - */ -+ (STPSourceParams *)sofortParamsWithAmount:(NSUInteger)amount - returnURL:(NSString *)returnURL - country:(NSString *)country - statementDescriptor:(nullable NSString *)statementDescriptor; - -/** - Creates params for a Klarna source. - @see https://stripe.com/docs/sources/klarna#create-source - - @param returnURL The URL the customer should be redirected to after - they have successfully verified the payment. - @param currency The currency the payment is being created in. - @param purchaseCountry The ISO-3166 2-letter country code of the customer's location. - @param items An array of STPKlarnaLineItems. Klarna will present these on the confirmation - page. The total amount charged will be a sum of the `totalAmount` of each of these items. - @param customPaymentMethods Required for customers located in the US. This determines whether Pay Later and/or Slice It - is offered to a US customer. - @param address An STPAddress for the customer. At a minimum, an `email`, `line1`, `postalCode`, `city`, and `country` must be provided. - The address' `name` will be ignored in favor of the `firstName and `lastName` parameters. - @param firstName The customer's first name. - @param lastName The customer's last name. - - If the provided information is missing a line1, postal code, city, email, or first/last name, or if the country code is - outside the specified country, no address information will be sent to Klarna, and Klarna will prompt the customer to provide their address. - - @param dateOfBirth The customer's date of birth. This will be used by Klarna for a credit check in some EU countries. - - The optional fields (address, firstName, lastName, and dateOfBirth) can be provided to skip Klarna's customer information form. - If this information is missing, Klarna will prompt the customer for these values during checkout. - Be careful with this option: If the provided information is invalid, - Klarna may reject the transaction without giving the customer a chance to correct it. - - @return an STPSourceParams object populated with the provided values. - */ -+ (STPSourceParams *)klarnaParamsWithReturnURL:(NSString *)returnURL - currency:(NSString *)currency - purchaseCountry:(NSString *)purchaseCountry - items:(NSArray *)items - customPaymentMethods:(STPKlarnaPaymentMethods)customPaymentMethods - billingAddress:(nullable STPAddress *)address - billingFirstName:(nullable NSString *)firstName - billingLastName:(nullable NSString *)lastName - billingDOB:(nullable STPDateOfBirth *)dateOfBirth; - -/** - Creates params for a Klarna source. - @see https://stripe.com/docs/sources/klarna#create-source - - @param returnURL The URL the customer should be redirected to after - they have successfully verified the payment. - @param currency The currency the payment is being created in. - @param purchaseCountry The ISO-3166 2-letter country code of the customer's location. - @param items An array of STPKlarnaLineItems. Klarna will present these in the confirmation - dialog. The total amount charged will be a sum of the `totalAmount` of each of these items. - @param customPaymentMethods Required for customers located in the US. This determines whether Pay Later and/or Slice It - is offered to a US customer. - - @return an STPSourceParams object populated with the provided values. - */ -+ (STPSourceParams *)klarnaParamsWithReturnURL:(NSString *)returnURL - currency:(NSString *)currency - purchaseCountry:(NSString *)purchaseCountry - items:(NSArray *)items - customPaymentMethods:(STPKlarnaPaymentMethods)customPaymentMethods; - -/** - Creates params for a 3DS source. - @see https://stripe.com/docs/sources/three-d-secure#create-3ds-source - - @param amount The amount to charge the customer. - @param currency The currency the payment is being created in. - @param returnURL The URL the customer should be redirected to after they have - successfully verified the payment. - @param card The ID of the card source. - - @return an STPSourceParams object populated with the provided card details. - */ -+ (STPSourceParams *)threeDSecureParamsWithAmount:(NSUInteger)amount - currency:(NSString *)currency - returnURL:(NSString *)returnURL - card:(NSString *)card; - -/** - Creates params for a single-use Alipay source - @see https://stripe.com/docs/sources/alipay#create-source - - @param amount The amount to charge the customer. - @param currency The currency the payment is being created in. - @param returnURL The URL the customer should be redirected to after they have - successfully verified the payment. - - @return An STPSourceParams object populated with the provided values - */ -+ (STPSourceParams *)alipayParamsWithAmount:(NSUInteger)amount - currency:(NSString *)currency - returnURL:(NSString *)returnURL; - -/** - Creates params for a reusable Alipay source - @see https://stripe.com/docs/sources/alipay#create-source - - @param currency The currency the payment is being created in. - @param returnURL The URL the customer should be redirected to after they have - successfully verified the payment. - - @return An STPSourceParams object populated with the provided values - */ -+ (STPSourceParams *)alipayReusableParamsWithCurrency:(NSString *)currency - returnURL:(NSString *)returnURL; - -/** - Creates params for a P24 source - @see https://stripe.com/docs/sources/p24#create-source - - @param amount The amount to charge the customer. - @param currency The currency the payment is being created in (this must be - EUR or PLN) - @param email The email address of the account holder. - @param name The full name of the account holder (optional). - @param returnURL The URL the customer should be redirected to after they have - - @return An STPSourceParams object populated with the provided values. - */ -+ (STPSourceParams *)p24ParamsWithAmount:(NSUInteger)amount - currency:(NSString *)currency - email:(NSString *)email - name:(nullable NSString *)name - returnURL:(NSString *)returnURL; - - -/** - Creates params for a card source created from Visa Checkout. - @see https://stripe.com/docs/visa-checkout - - @note Creating an STPSource with these params will give you a - source with type == STPSourceTypeCard - - @param callId The callId property from a `VisaCheckoutResult` object. - @return An STPSourceParams object populated with the provided values. - */ -+ (STPSourceParams *)visaCheckoutParamsWithCallId:(NSString *)callId; - - -/** - Creates params for a card source created from Masterpass. - @see https://stripe.com/docs/masterpass - - @note Creating an STPSource with these params will give you a - source with type == STPSourceTypeCard - - @param cartId The cartId from a `MCCCheckoutResponse` object. - @param transactionId The transactionid from a `MCCCheckoutResponse` object. - @return An STPSourceParams object populated with the provided values. - */ -+ (STPSourceParams *)masterpassParamsWithCartId:(NSString *)cartId - transactionId:(NSString *)transactionId; - -/** - Create params for an EPS source - @see https://stripe.com/docs/sources/eps - - @param amount The amount to charge the customer. - @param name The full name of the account holder. - @param returnURL The URL the customer should be redirected to - after the authorization process. - @param statementDescriptor A custom statement descriptor for the - payment (optional). - - @return An STPSourceParams object populated with the provided values. - */ -+ (STPSourceParams *)epsParamsWithAmount:(NSUInteger)amount - name:(NSString *)name - returnURL:(NSString *)returnURL - statementDescriptor:(nullable NSString *)statementDescriptor; - -/** - Create params for a Multibanco source - @see https://stripe.com/docs/sources/multibanco - - @param amount The amount to charge the customer. - @param returnURL The URL the customer should be redirected to after the - authorization process. - @param email The full email address of the customer. - - @return An STPSourceParams object populated with the provided values. - */ -+ (STPSourceParams *)multibancoParamsWithAmount:(NSUInteger)amount - returnURL:(NSString *)returnURL - email:(NSString *)email; - -/** - Create params for a WeChat Pay native app redirect source - - @note This feature is in private beta. For participating users, see - https://stripe.com/docs/sources/wechat-pay/ios - - @param amount The amount to charge the customer. - @param currency The currency of the payment - @param appId Your WeChat-provided application id. WeChat Pay uses - this as the redirect URL scheme - @param statementDescriptor A custom statement descriptor for the payment (optional). - - @return An STPSourceParams object populated with the provided values. - */ -+ (STPSourceParams *)wechatPayParamsWithAmount:(NSUInteger)amount - currency:(NSString *)currency - appId:(NSString *)appId - statementDescriptor:(nullable NSString *)statementDescriptor; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPSourceProtocol.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPSourceProtocol.h deleted file mode 100644 index 996a813..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPSourceProtocol.h +++ /dev/null @@ -1,29 +0,0 @@ -// -// STPSourceProtocol.h -// Stripe -// -// Created by Jack Flintermann on 1/15/16. -// Copyright © 2016 Stripe, Inc. All rights reserved. -// - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - Objects conforming to this protocol can be attached to a Stripe Customer object - as a payment source. - - @see https://stripe.com/docs/api#customer_object-sources - */ -@protocol STPSourceProtocol - -/** - The Stripe ID of the source. - */ -@property (nonatomic, readonly) NSString *stripeID; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPSourceReceiver.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPSourceReceiver.h deleted file mode 100644 index 4deb312..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPSourceReceiver.h +++ /dev/null @@ -1,46 +0,0 @@ -// -// STPSourceReceiver.h -// Stripe -// -// Created by Ben Guo on 1/25/17. -// Copyright © 2017 Stripe, Inc. All rights reserved. -// - -#import -#import "STPAPIResponseDecodable.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - Information related to a source's receiver flow. - */ -@interface STPSourceReceiver : NSObject - -/** - You cannot directly instantiate an `STPSourceReceiver`. You should only use one that is part of an existing `STPSource` object. - */ -- (instancetype)init __attribute__((unavailable("You cannot directly instantiate an STPSourceReceiver. You should only use one that is part of an existing STPSource object."))); - -/** - The address of the receiver source. This is the value that should be communicated to the customer to send their funds to. - */ -@property (nonatomic, nullable, readonly) NSString *address; - -/** - The total amount charged by you. - */ -@property (nonatomic, nullable, readonly) NSNumber *amountCharged; - -/** - The total amount received by the receiver source. - */ -@property (nonatomic, nullable, readonly) NSNumber *amountReceived; - -/** - The total amount that was returned to the customer. - */ -@property (nonatomic, nullable, readonly) NSNumber *amountReturned; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPSourceRedirect.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPSourceRedirect.h deleted file mode 100644 index 45cf6e5..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPSourceRedirect.h +++ /dev/null @@ -1,73 +0,0 @@ -// -// STPSourceRedirect.h -// Stripe -// -// Created by Ben Guo on 1/25/17. -// Copyright © 2017 Stripe, Inc. All rights reserved. -// - -#import -#import "STPAPIResponseDecodable.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - Redirect status types for a Source. - */ -typedef NS_ENUM(NSInteger, STPSourceRedirectStatus) { - - /** - The redirect is pending. - */ - STPSourceRedirectStatusPending, - - /** - The redirect has succeeded. - */ - STPSourceRedirectStatusSucceeded, - - /** - The redirect has failed. - */ - STPSourceRedirectStatusFailed, - - /** - The redirect should not be used. - */ - STPSourceRedirectStatusNotRequired, - - /** - The state of the redirect is unknown. - */ - STPSourceRedirectStatusUnknown -}; - -/** - Information related to a source's redirect flow. - */ -@interface STPSourceRedirect : NSObject - -/** - You cannot directly instantiate an `STPSourceRedirect`. You should only use - one that is part of an existing `STPSource` object. - */ -- (instancetype)init __attribute__((unavailable("You cannot directly instantiate an STPSourceRedirect. You should only use one that is part of an existing STPSource object."))); - -/** - The URL you provide to redirect the customer to after they authenticated their payment. - */ -@property (nonatomic, nullable, readonly) NSURL *returnURL; - -/** - The status of the redirect. - */ -@property (nonatomic, readonly) STPSourceRedirectStatus status; - -/** - The URL provided to you to redirect a customer to as part of a redirect authentication flow. - */ -@property (nonatomic, nullable, readonly) NSURL *url; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPSourceSEPADebitDetails.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPSourceSEPADebitDetails.h deleted file mode 100644 index cec97be..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPSourceSEPADebitDetails.h +++ /dev/null @@ -1,59 +0,0 @@ -// -// STPSourceSEPADebitDetails.h -// Stripe -// -// Created by Brian Dorfman on 2/24/17. -// Copyright © 2017 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPAPIResponseDecodable.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - This class provides typed access to the contents of an STPSource `details` - dictionary for SEPA Debit sources. - */ -@interface STPSourceSEPADebitDetails : NSObject - -/** - You cannot directly instantiate an `STPSourceSEPADebitDetails`. - You should only use one that is part of an existing `STPSource` object. - */ -- (instancetype)init __attribute__((unavailable("You cannot directly instantiate an STPSourceSEPADebitDetails. You should only use one that is part of an existing STPSource object."))); - -/** - The last 4 digits of the account number. - */ -@property (nonatomic, nullable, readonly) NSString *last4; - -/** - The account's bank code. - */ -@property (nonatomic, nullable, readonly) NSString *bankCode; - -/** - Two-letter ISO code representing the country of the bank account. - */ -@property (nonatomic, nullable, readonly) NSString *country; - -/** - The account's fingerprint. - */ -@property (nonatomic, nullable, readonly) NSString *fingerprint; - -/** - The reference of the mandate accepted by your customer. - */ -@property (nonatomic, nullable, readonly) NSString *mandateReference; - -/** - The details of the mandate accepted by your customer. - */ -@property (nonatomic, nullable, readonly) NSURL *mandateURL; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPSourceVerification.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPSourceVerification.h deleted file mode 100644 index fa20087..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPSourceVerification.h +++ /dev/null @@ -1,64 +0,0 @@ -// -// STPSourceVerification.h -// Stripe -// -// Created by Ben Guo on 1/25/17. -// Copyright © 2017 Stripe, Inc. All rights reserved. -// - -#import -#import "STPAPIResponseDecodable.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - Verification status types for a Source. - */ -typedef NS_ENUM(NSInteger, STPSourceVerificationStatus) { - - /** - The verification is pending. - */ - STPSourceVerificationStatusPending, - - /** - The verification has succeeeded. - */ - STPSourceVerificationStatusSucceeded, - - /** - The verification has failed. - */ - STPSourceVerificationStatusFailed, - - /** - The state of the verification is unknown. - */ - STPSourceVerificationStatusUnknown -}; - -/** - Information related to a source's verification flow. - */ -@interface STPSourceVerification : NSObject - -/** - You cannot directly instantiate an `STPSourceVerification`. You should only use - one that is part of an existing `STPSource` object. - */ -- (instancetype)init __attribute__((unavailable("You cannot directly instantiate an STPSourceVerification. You should only use one that is part of an existing STPSource object."))); - -/** - The number of attempts remaining to authenticate the source object with a - verification code. - */ -@property (nonatomic, nullable, readonly) NSNumber *attemptsRemaining; - -/** - The status of the verification. - */ -@property (nonatomic, readonly) STPSourceVerificationStatus status; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPSourceWeChatPayDetails.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPSourceWeChatPayDetails.h deleted file mode 100644 index 39996e9..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPSourceWeChatPayDetails.h +++ /dev/null @@ -1,29 +0,0 @@ -// -// STPSourceWeChatPayDetails.h -// StripeiOS -// -// Created by Yuki Tokuhiro on 6/4/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPAPIResponseDecodable.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - Details of a WeChat Pay Source. - */ -@interface STPSourceWeChatPayDetails : NSObject - -/** - A URL to the WeChat App. - - Use `STPRedirectContext` instead of redirecting users yourself. - */ -@property (nonatomic, readonly) NSString *weChatAppURL; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPTheme.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPTheme.h deleted file mode 100644 index 236122c..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPTheme.h +++ /dev/null @@ -1,103 +0,0 @@ -// -// STPTheme.h -// Stripe -// -// Created by Jack Flintermann on 5/3/16. -// Copyright © 2016 Stripe, Inc. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - STPTheme objects can be used to visually style Stripe-provided UI. See https://stripe.com/docs/mobile/ios/standard#theming for more information. - */ -@interface STPTheme : NSObject - -/** - The default theme used by all Stripe UI. All themable UI classes, such as `STPAddCardViewController`, have one initializer that takes a `theme` and one that does not. If you use the one that does not, the default theme will be used to customize that view controller's appearance. - */ -+ (STPTheme *)defaultTheme; - -/** - The primary background color of the theme. This will be used as the `backgroundColor` for any views with this theme. - */ -@property (nonatomic, copy, null_resettable) UIColor *primaryBackgroundColor; - -/** - The secondary background color of this theme. This will be used as the `backgroundColor` for any supplemental views inside a view with this theme - for example, a `UITableView` will set it's cells' background color to this value. - */ -@property (nonatomic, copy, null_resettable) UIColor *secondaryBackgroundColor; - -/** - This color is automatically derived by reducing the alpha of the `primaryBackgroundColor` and is used as a section border color in table view cells. - */ -@property (nonatomic, readonly) UIColor *tertiaryBackgroundColor; - -/** - This color is automatically derived by reducing the brightness of the `primaryBackgroundColor` and is used as a separator color in table view cells. - */ -@property (nonatomic, readonly) UIColor *quaternaryBackgroundColor; - -/** - The primary foreground color of this theme. This will be used as the text color for any important labels in a view with this theme (such as the text color for a text field that the user needs to fill out). - */ -@property (nonatomic, copy, null_resettable) UIColor *primaryForegroundColor; - -/** - The secondary foreground color of this theme. This will be used as the text color for any supplementary labels in a view with this theme (such as the placeholder color for a text field that the user needs to fill out). - */ -@property (nonatomic, copy, null_resettable) UIColor *secondaryForegroundColor; - -/** - This color is automatically derived from the `secondaryForegroundColor` with a lower alpha component, used for disabled text. - */ -@property (nonatomic, readonly) UIColor *tertiaryForegroundColor; - -/** - The accent color of this theme - it will be used for any buttons and other elements on a view that are important to highlight. - */ -@property (nonatomic, copy, null_resettable) UIColor *accentColor; - -/** - The error color of this theme - it will be used for rendering any error messages or views. - */ -@property (nonatomic, copy, null_resettable) UIColor *errorColor; - -/** - The font to be used for all views using this theme. Make sure to select an appropriate size. - */ -@property (nonatomic, copy, null_resettable) UIFont *font; - -/** - The medium-weight font to be used for all bold text in views using this theme. Make sure to select an appropriate size. - */ -@property (nonatomic, copy, null_resettable) UIFont *emphasisFont; - -/** - The navigation bar style to use for any view controllers presented modally - by the SDK. The default value will be determined based on the brightness - of the theme's `secondaryBackgroundColor`. - */ -@property (nonatomic) UIBarStyle barStyle; - -/** - A Boolean value indicating whether the navigation bar for any view controllers - presented modally by the SDK should be translucent. The default value is YES. - */ -@property (nonatomic) BOOL translucentNavigationBar; - -/** - This font is automatically derived from the font, with a slightly lower point size, and will be used for supplementary labels. - */ -@property (nonatomic, readonly) UIFont *smallFont; - -/** - This font is automatically derived from the font, with a larger point size, and will be used for large labels such as SMS code entry. - */ -@property (nonatomic, readonly) UIFont *largeFont; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPThreeDSButtonCustomization.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPThreeDSButtonCustomization.h deleted file mode 100644 index 41cae5c..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPThreeDSButtonCustomization.h +++ /dev/null @@ -1,88 +0,0 @@ -// -// STPThreeDSButtonCustomization.h -// StripeiOS -// -// Created by Yuki Tokuhiro on 6/17/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import -#import - -/// An enum that defines the different types of buttons that are able to be customized. -typedef NS_ENUM(NSInteger, STPThreeDSCustomizationButtonType) { - - /// The submit button type. - STPThreeDSCustomizationButtonTypeSubmit = 0, - - /// The continue button type. - STPThreeDSCustomizationButtonTypeContinue = 1, - - /// The next button type. - STPThreeDSCustomizationButtonTypeNext = 2, - - /// The cancel button type. - STPThreeDSCustomizationButtonTypeCancel = 3, - - /// The resend button type. - STPThreeDSCustomizationButtonTypeResend = 4, -}; - -/// An enumeration of the case transformations that can be applied to the button's title -typedef NS_ENUM(NSInteger, STPThreeDSButtonTitleStyle) { - /// Default style, doesn't modify the title - STPThreeDSButtonTitleStyleDefault, - - /// Applies localizedUppercaseString to the title - STPThreeDSButtonTitleStyleUppercase, - - /// Applies localizedLowercaseString to the title - STPThreeDSButtonTitleStyleLowercase, - - /// Applies localizedCapitalizedString to the title - STPThreeDSButtonTitleStyleSentenceCapitalized, -}; - -NS_ASSUME_NONNULL_BEGIN - -/// A customization object to use to configure the UI of a button. -@interface STPThreeDSButtonCustomization: NSObject - -/// The default settings for the provided button type. -+ (instancetype)defaultSettingsForButtonType:(STPThreeDSCustomizationButtonType)type; - -/** - Initializes an instance of STDSButtonCustomization with the given backgroundColor and colorRadius. - */ -- (instancetype)initWithBackgroundColor:(UIColor *)backgroundColor cornerRadius:(CGFloat)cornerRadius; - -/** - This is unavailable because there are no sensible default property values without a button type. - Use `defaultSettingsForButtonType:` or `initWithBackgroundColor:cornerRadius:` instead. - */ -- (instancetype)init NS_UNAVAILABLE; - -/** - The background color of the button. - The default for .resend and .cancel is clear. - The default for .submit, .continue, and .next is blue. - */ -@property (nonatomic, strong) UIColor *backgroundColor; - -/// The corner radius of the button. Defaults to 8. -@property (nonatomic) CGFloat cornerRadius; - -/** - The capitalization style of the button title. - */ -@property (nonatomic) STPThreeDSButtonTitleStyle titleStyle; - -/// The font of the title. -@property (nonatomic, strong) UIFont *font; - -/// The text color of the title. -@property (nonatomic, strong) UIColor *textColor; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPThreeDSCustomizationSettings.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPThreeDSCustomizationSettings.h deleted file mode 100644 index 0a00f6b..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPThreeDSCustomizationSettings.h +++ /dev/null @@ -1,49 +0,0 @@ -// -// STPThreeDSCustomizationSettings.h -// StripeiOS -// -// Created by Cameron Sabol on 5/30/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -@class STPThreeDSUICustomization; - -NS_ASSUME_NONNULL_BEGIN - -/** - `STPThreeDSCustomizationSettings` provides customization options for 3DS2 authentication flows in your app. - */ -@interface STPThreeDSCustomizationSettings : NSObject - -/** - Returns an `STPThreeDSCustomizationSettings` preconfigured with the default - Stripe UI settings and a 10 minute `authenticationTimeout`. - */ -+ (instancetype)defaultSettings; - -/** - `uiCustomization` can be used to provide custom UI settings for the authentication - challenge screens presented during a Three Domain Secure authentication. For more information see - our guide on supporting 3DS2 in your iOS application. - - Note: It's important to configure this object appropriately before calling any `STPPaymentHandler` APIs. - The API makes a copy of the customization settings you provide; it ignores any subsequent changes you - make to your `STPThreeDSUICustomization` instance. - - Defaults to `[STPThreeDSUICustomization defaultSettings]`. - */ -@property (nonatomic) STPThreeDSUICustomization *uiCustomization; - -/** - `authenticationTimeout` is the total time allowed for a user to complete a 3DS2 authentication - interaction, in minutes. This value *must* be at least 5 minutes. - - Defaults to 5 minutes. - */ -@property (nonatomic) NSInteger authenticationTimeout; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPThreeDSFooterCustomization.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPThreeDSFooterCustomization.h deleted file mode 100644 index 24fca0c..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPThreeDSFooterCustomization.h +++ /dev/null @@ -1,46 +0,0 @@ -// -// STPThreeDSFooterCustomization.h -// StripeiOS -// -// Created by Yuki Tokuhiro on 6/17/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - The Challenge view displays a footer with additional details that - expand when tapped. This object configures the appearance of that view. - */ -@interface STPThreeDSFooterCustomization : NSObject - -/// The default settings. -+ (instancetype)defaultSettings; - -/** - The background color of the footer. - Defaults to gray. - */ -@property (nonatomic, strong) UIColor *backgroundColor; - -/// The color of the chevron. Defaults to a dark gray. -@property (nonatomic, strong) UIColor *chevronColor; - -/// The color of the heading text. Defaults to black. -@property (nonatomic, strong) UIColor *headingTextColor; - -/// The font to use for the heading text. -@property (nonatomic, strong) UIFont *headingFont; - -/// The font of the text. -@property (nonatomic, strong) UIFont *font; - -/// The color of the text. -@property (nonatomic, strong) UIColor *textColor; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPThreeDSLabelCustomization.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPThreeDSLabelCustomization.h deleted file mode 100644 index 104915e..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPThreeDSLabelCustomization.h +++ /dev/null @@ -1,36 +0,0 @@ -// -// STPThreeDSLabelCustomization.h -// StripeiOS -// -// Created by Yuki Tokuhiro on 6/17/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - A customization object to use to configure the UI of a text label. - */ -@interface STPThreeDSLabelCustomization : NSObject - -/// The default settings. -+ (instancetype)defaultSettings; - -/// The font to use for heading text. -@property (nonatomic, strong) UIFont *headingFont; - -/// The color of heading text. Defaults to black. -@property (nonatomic, strong) UIColor *headingTextColor; - -/// The font to use for non-heading text. -@property (nonatomic, strong) UIFont *font; - -/// The color to use for non-heading text. Defaults to black. -@property (nonatomic, strong) UIColor *textColor; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPThreeDSNavigationBarCustomization.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPThreeDSNavigationBarCustomization.h deleted file mode 100644 index a0cb5c2..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPThreeDSNavigationBarCustomization.h +++ /dev/null @@ -1,64 +0,0 @@ -// -// STPThreeDSNavigationBarCustomization.h -// StripeiOS -// -// Created by Yuki Tokuhiro on 6/17/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - A customization object to use to configure a UINavigationBar. - */ -@interface STPThreeDSNavigationBarCustomization : NSObject - -/// The default settings. -+ (instancetype)defaultSettings; - -/** - The tint color of the navigation bar background. - Defaults to nil. - */ -@property (nonatomic, nullable) UIColor *barTintColor; - -/** - The navigation bar style. - Defaults to UIBarStyleDefault. - - @note This property controls the `UIStatusBarStyle`. Set this to `UIBarStyleBlack` - to change the `statusBarStyle` to `UIStatusBarStyleLightContent` - even if you also set - `barTintColor` to change the actual color of the navigation bar. - */ -@property (nonatomic) UIBarStyle barStyle; - -/** - A Boolean value indicating whether the navigation bar is translucent or not. - Defaults to YES. - */ -@property (nonatomic, getter=isTranslucent) BOOL translucent; - -/** - The text to display in the title of the navigation bar. - Defaults to "Secure checkout". - */ -@property (nonatomic, copy) NSString *headerText; - -/** - The text to display for the button in the navigation bar. - Defaults to "Cancel". - */ -@property (nonatomic, copy) NSString *buttonText; - -/// The font to use for the title. Defaults to nil. -@property (nonatomic, nullable) UIFont *font; - -/// The color to use for the title. Defaults to nil. -@property (nonatomic, nullable) UIColor *textColor; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPThreeDSSelectionCustomization.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPThreeDSSelectionCustomization.h deleted file mode 100644 index 7f8bc3f..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPThreeDSSelectionCustomization.h +++ /dev/null @@ -1,49 +0,0 @@ -// -// STPThreeDSSelectionCustomization.h -// StripeiOS -// -// Created by Yuki Tokuhiro on 6/18/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - A customization object that configures the appearance of - radio buttons and checkboxes. - */ -@interface STPThreeDSSelectionCustomization : NSObject - -/// The default settings. -+ (instancetype)defaultSettings; - -/** - The primary color of the selected state. - Defaults to blue. - */ -@property (nonatomic) UIColor *primarySelectedColor; - -/** - The secondary color of the selected state (e.g. the checkmark color). - Defaults to white. - */ -@property (nonatomic) UIColor *secondarySelectedColor; - -/** - The background color displayed in the unselected state. - Defaults to light blue. - */ -@property (nonatomic) UIColor *unselectedBackgroundColor; - -/** - The color of the border drawn around the view in the unselected state. - Defaults to blue. - */ -@property (nonatomic) UIColor *unselectedBorderColor; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPThreeDSTextFieldCustomization.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPThreeDSTextFieldCustomization.h deleted file mode 100644 index 1cb50f7..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPThreeDSTextFieldCustomization.h +++ /dev/null @@ -1,44 +0,0 @@ -// -// STPThreeDSTextFieldCustomization.h -// StripeiOS -// -// Created by Yuki Tokuhiro on 6/18/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -NS_ASSUME_NONNULL_BEGIN - -/** - A customization object to use to configure the UI of a text field. - */ -@interface STPThreeDSTextFieldCustomization : NSObject - -/// The default settings. -+ (instancetype)defaultSettings; - -/// The border width of the text field. Defaults to 2. -@property (nonatomic) CGFloat borderWidth; - -/// The color of the border of the text field. Defaults to clear. -@property (nonatomic, strong) UIColor *borderColor; - -/// The corner radius of the edges of the text field. Defaults to 8. -@property (nonatomic) CGFloat cornerRadius; - -/// The appearance of the keyboard. Defaults to UIKeyboardAppearanceDefault. -@property (nonatomic) UIKeyboardAppearance keyboardAppearance; - -/// The color of the placeholder text. Defaults to light gray. -@property (nonatomic, strong) UIColor *placeholderTextColor; - -/// The font to use for text. -@property (nonatomic, strong) UIFont *font; - -/// The color to use for the text. Defaults to black. -@property (nonatomic, strong) UIColor *textColor; - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPThreeDSUICustomization.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPThreeDSUICustomization.h deleted file mode 100644 index 0b80322..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPThreeDSUICustomization.h +++ /dev/null @@ -1,102 +0,0 @@ -// -// STPThreeDSUICustomization.h -// StripeiOS -// -// Created by Yuki Tokuhiro on 6/17/19. -// Copyright © 2019 Stripe, Inc. All rights reserved. -// - -#import - -#import "STPThreeDSButtonCustomization.h" -#import "STPThreeDSFooterCustomization.h" -#import "STPThreeDSLabelCustomization.h" -#import "STPThreeDSNavigationBarCustomization.h" -#import "STPThreeDSSelectionCustomization.h" -#import "STPThreeDSTextFieldCustomization.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - The `STPThreeDSUICustomization` provides configuration for UI elements displayed during 3D Secure authentication. - - Note: It's important to configure this object appropriately before calling any `STPPaymentHandler` APIs. - The API makes a copy of the customization settings you provide; it ignores any subsequent changes you - make to your `STPThreeDSUICustomization` instance. - - @see https://stripe.com/docs/mobile/ios/authentication - */ -@interface STPThreeDSUICustomization : NSObject - -/// The default settings. See individual properties for their default values. -+ (instancetype)defaultSettings; - -/** - Provides custom settings for the UINavigationBar of all UIViewControllers displayed during 3D Secure authentication. - The default is `[STPThreeDSNavigationBarCustomization defaultSettings]`. - */ -@property (nonatomic, strong) STPThreeDSNavigationBarCustomization *navigationBarCustomization; - -/** - Provides custom settings for labels. - The default is `[STPThreeDSLabelCustomization defaultSettings]`. - */ -@property (nonatomic, strong) STPThreeDSLabelCustomization *labelCustomization; - -/** - Provides custom settings for text fields. - The default is `[STPThreeDSTextFieldCustomization defaultSettings]`. - */ -@property (nonatomic) STPThreeDSTextFieldCustomization *textFieldCustomization; - -/** - The primary background color of all UIViewControllers displayed during 3D Secure authentication. - Defaults to white. - */ -@property (nonatomic) UIColor *backgroundColor; - -/** - Provides custom settings for the footer the challenge view can display containing additional details. - The default is `[STPThreeDSFooterCustomization defaultSettings]`. - */ -@property (nonatomic, strong) STPThreeDSFooterCustomization *footerCustomization; - -/** - Sets a given button customization for the specified type. - - @param buttonCustomization The buttom customization to use. - @param buttonType The type of button to use the customization for. - */ -- (void)setButtonCustomization:(STPThreeDSButtonCustomization *)buttonCustomization forType:(STPThreeDSCustomizationButtonType)buttonType; - -/** - Retrieves a button customization object for the given button type. - - @param buttonType The button type to retrieve a customization object for. - @return A button customization object, or the default if none was set. - @see STPThreeDSButtonCustomization - */ -- (STPThreeDSButtonCustomization *)buttonCustomizationForButtonType:(STPThreeDSCustomizationButtonType)buttonType; - -/** - Provides custom settings for radio buttons and checkboxes. - The default is `[STPThreeDSSelectionCustomization defaultSettings]`. - */ -@property (nonatomic, strong) STPThreeDSSelectionCustomization *selectionCustomization; - -#pragma mark - Progress View - -/** - The style of `UIActivityIndicatorView`s displayed. - This should contrast with `backgroundColor`. Defaults to gray. - */ -@property (nonatomic) UIActivityIndicatorViewStyle activityIndicatorViewStyle; - -/** - The style of the `UIBlurEffect` displayed underneath the `UIActivityIndicatorView`. - Defaults to `UIBlurEffectStyleLight`. - */ -@property (nonatomic) UIBlurEffectStyle blurStyle; -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPToken.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPToken.h deleted file mode 100644 index 11ccd28..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPToken.h +++ /dev/null @@ -1,88 +0,0 @@ -// -// STPToken.h -// Stripe -// -// Created by Saikat Chakrabarti on 11/5/12. -// -// - -#import -#import "STPAPIResponseDecodable.h" -#import "STPSourceProtocol.h" - -@class STPCard; -@class STPBankAccount; - -/** - Possible Token types - */ -typedef NS_ENUM(NSInteger, STPTokenType) { - /** - Account token type - */ - STPTokenTypeAccount = 0, - - /** - Bank account token type - */ - STPTokenTypeBankAccount, - - /** - Card token type - */ - STPTokenTypeCard, - - /** - PII token type - */ - STPTokenTypePII, - - /** - CVC update token type - */ - STPTokenTypeCVCUpdate, -}; - -/** - A token returned from submitting payment details to the Stripe API. You should not have to instantiate one of these directly. - */ -@interface STPToken : NSObject - -/** - You cannot directly instantiate an `STPToken`. You should only use one that has been returned from an `STPAPIClient` callback. - */ -- (nonnull instancetype) init __attribute__((unavailable("You cannot directly instantiate an STPToken. You should only use one that has been returned from an STPAPIClient callback."))); - -/** - The value of the token. You can store this value on your server and use it to make charges and customers. - @see https://stripe.com/docs/charges - */ -@property (nonatomic, readonly, nonnull) NSString *tokenId; - -/** - Whether or not this token was created in livemode. Will be YES if you used your Live Publishable Key, and NO if you used your Test Publishable Key. - */ -@property (nonatomic, readonly) BOOL livemode; - -/** - The type of this token. - */ -@property (nonatomic, readonly) STPTokenType type; - -/** - The credit card details that were used to create the token. Will only be set if the token was created via a credit card or Apple Pay, otherwise it will be - nil. - */ -@property (nonatomic, readonly, nullable) STPCard *card; - -/** - The bank account details that were used to create the token. Will only be set if the token was created with a bank account, otherwise it will be nil. - */ -@property (nonatomic, readonly, nullable) STPBankAccount *bankAccount; - -/** - When the token was created. - */ -@property (nonatomic, readonly, nullable) NSDate *created; - -@end diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STPUserInformation.h b/stripe_ios/ios/platform/Stripe.framework/Headers/STPUserInformation.h deleted file mode 100644 index 367a62e..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/STPUserInformation.h +++ /dev/null @@ -1,51 +0,0 @@ -// -// STPUserInformation.h -// Stripe -// -// Created by Jack Flintermann on 6/15/16. -// Copyright © 2016 Stripe, Inc. All rights reserved. -// - -#import -#import "STPAddress.h" - -@class STPPaymentMethodBillingDetails; - -NS_ASSUME_NONNULL_BEGIN - -/** - You can use this class to specify information that you've already collected - from your user. You can then set the `prefilledInformation` property on - `STPPaymentContext`, `STPAddCardViewController`, etc and it will pre-fill - this information whenever possible. - */ -@interface STPUserInformation : NSObject - -/** - The user's billing address. When set, the add card form will be filled with - this address. The user will also have the option to fill their shipping address - using this address. - - @note Set this using `setBillingAddressWithBillingDetails:` to use the billing - details from an `STPPaymentMethod` or `STPPaymentMethodParams` instance. - */ -@property (nonatomic, strong, nullable) STPAddress *billingAddress; - -/** - The user's shipping address. When set, the shipping address form will be filled - with this address. The user will also have the option to fill their billing - address using this address. - */ -@property (nonatomic, strong, nullable) STPAddress *shippingAddress; - -/** - A convenience method to populate `billingAddress` with a PaymentMethod's billing details. - - @note Calling this overwrites the value of `billingAddress`. - */ -- (void)setBillingAddressWithBillingDetails:(STPPaymentMethodBillingDetails *)billingDetails -NS_SWIFT_NAME(setBillingAddress(with:)); - -@end - -NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/Stripe.h b/stripe_ios/ios/platform/Stripe.framework/Headers/Stripe.h deleted file mode 100644 index 315f87d..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/Stripe.h +++ /dev/null @@ -1,137 +0,0 @@ -// -// Stripe.h -// Stripe -// -// Created by Saikat Chakrabarti on 10/30/12. -// Copyright (c) 2012 Stripe. All rights reserved. -// - -#import "FauxPasAnnotations.h" -#import "STPAddCardViewController.h" -#import "STPAddress.h" -#import "STPAppInfo.h" -#import "STPApplePayContext.h" -#import "STPAUBECSDebitFormView.h" -#import "STPAuthenticationContext.h" -#import "STPIssuingCardPin.h" -#import "STPPinManagementService.h" -#import "STPAPIClient+ApplePay.h" -#import "STPAPIClient.h" -#import "STPAPIResponseDecodable.h" -#import "STPApplePayPaymentOption.h" -#import "STPBackendAPIAdapter.h" -#import "STPBankAccount.h" -#import "STPBankAccountParams.h" -#import "STPBankSelectionViewController.h" -#import "STPBlocks.h" -#import "STPCard.h" -#import "STPCardBrand.h" -#import "STPCardParams.h" -#import "STPCardValidationState.h" -#import "STPCardValidator.h" -#import "STPConfirmCardOptions.h" -#import "STPConfirmPaymentMethodOptions.h" -#import "STPConnectAccountAddress.h" -#import "STPConnectAccountParams.h" -#import "STPConnectAccountCompanyParams.h" -#import "STPConnectAccountIndividualParams.h" -#import "STPCoreScrollViewController.h" -#import "STPCoreTableViewController.h" -#import "STPCoreViewController.h" -#import "STPCustomer.h" -#import "STPCustomerContext.h" -#import "STPEphemeralKeyProvider.h" -#import "STPFakeAddPaymentPassViewController.h" -#import "STPFile.h" -#import "STPFormEncodable.h" -#import "STPFormTextFieldContainer.h" -#import "STPFPXBankBrand.h" -#import "STPImageLibrary.h" -#import "STPIntentAction.h" -#import "STPIntentActionRedirectToURL.h" -#import "STPKlarnaLineItem.h" -#import "STPMandateCustomerAcceptanceParams.h" -#import "STPMandateDataParams.h" -#import "STPMandateOnlineParams.h" -#import "STPPaymentActivityIndicatorView.h" -#import "STPPaymentCardTextField.h" -#import "STPPaymentConfiguration.h" -#import "STPPaymentContext.h" -#import "STPPaymentHandler.h" -#import "STPPaymentIntent.h" -#import "STPPaymentIntentAction.h" -#import "STPPaymentIntentActionRedirectToURL.h" -#import "STPPaymentIntentEnums.h" -#import "STPPaymentIntentLastPaymentError.h" -#import "STPPaymentIntentParams.h" -#import "STPPaymentIntentParams+Utilities.h" -#import "STPPaymentIntentShippingDetails.h" -#import "STPPaymentIntentShippingDetailsAddress.h" -#import "STPPaymentIntentShippingDetailsAddressParams.h" -#import "STPPaymentIntentShippingDetailsParams.h" -#import "STPPaymentIntentSourceAction.h" -#import "STPPaymentIntentSourceActionAuthorizeWithURL.h" -#import "STPPaymentMethod.h" -#import "STPPaymentMethodAddress.h" -#import "STPPaymentMethodBacsDebit.h" -#import "STPPaymentMethodBacsDebitParams.h" -#import "STPPaymentMethodAUBECSDebit.h" -#import "STPPaymentMethodAUBECSDebitParams.h" -#import "STPPaymentMethodBillingDetails.h" -#import "STPPaymentMethodCard.h" -#import "STPPaymentMethodCardPresent.h" -#import "STPPaymentMethodCardWallet.h" -#import "STPPaymentMethodCardWalletMasterpass.h" -#import "STPPaymentMethodCardWalletVisaCheckout.h" -#import "STPPaymentMethodCardChecks.h" -#import "STPPaymentMethodCardParams.h" -#import "STPPaymentMethodEnums.h" -#import "STPPaymentMethodiDEAL.h" -#import "STPPaymentMethodiDEALParams.h" -#import "STPPaymentMethodFPX.h" -#import "STPPaymentMethodFPXParams.h" -#import "STPPaymentMethodParams.h" -#import "STPPaymentMethodSEPADebit.h" -#import "STPPaymentMethodSEPADebitParams.h" -#import "STPPaymentMethodThreeDSecureUsage.h" -#import "STPPaymentOption.h" -#import "STPPaymentOptionsViewController.h" -#import "STPPaymentResult.h" -#import "STPPushProvisioningContext.h" -#import "STPPushProvisioningDetailsParams.h" -#import "STPRedirectContext.h" -#import "STPSetupIntent.h" -#import "STPSetupIntentConfirmParams.h" -#import "STPSetupIntentConfirmParams+Utilities.h" -#import "STPSetupIntentEnums.h" -#import "STPSetupIntentLastSetupError.h" -#import "STPShippingAddressViewController.h" -#import "STPMultiFormTextField.h" -#import "STPSource.h" -#import "STPSourceCardDetails.h" -#import "STPSourceEnums.h" -#import "STPSourceKlarnaDetails.h" -#import "STPSourceOwner.h" -#import "STPSourceParams.h" -#import "STPSourceProtocol.h" -#import "STPSourceReceiver.h" -#import "STPSourceRedirect.h" -#import "STPSourceSEPADebitDetails.h" -#import "STPSourceVerification.h" -#import "STPSourceWeChatPayDetails.h" -#import "STPTheme.h" -#import "STPThreeDSButtonCustomization.h" -#import "STPThreeDSCustomizationSettings.h" -#import "STPThreeDSFooterCustomization.h" -#import "STPThreeDSLabelCustomization.h" -#import "STPThreeDSNavigationBarCustomization.h" -#import "STPThreeDSSelectionCustomization.h" -#import "STPThreeDSTextFieldCustomization.h" -#import "STPThreeDSUICustomization.h" -#import "STPToken.h" -#import "STPUserInformation.h" -#import "StripeError.h" -#import "UINavigationBar+Stripe_Theme.h" - -// 3DS2 -#import "Stripe3DS2.h" diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/Stripe3DS2.h b/stripe_ios/ios/platform/Stripe.framework/Headers/Stripe3DS2.h deleted file mode 100644 index b604b9b..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/Stripe3DS2.h +++ /dev/null @@ -1,50 +0,0 @@ -// -// Stripe3DS2.h -// Stripe3DS2 -// -// Created by Cameron Sabol on 1/16/19. -// Copyright © 2019 Stripe. All rights reserved. -// - -#import - -//! Project version number for Stripe3DS2. -FOUNDATION_EXPORT double Stripe3DS2VersionNumber; - -//! Project version string for Stripe3DS2. -FOUNDATION_EXPORT const unsigned char Stripe3DS2VersionString[]; - -#import "STDSConfigParameters.h" -#import "STDSThreeDS2Service.h" -#import "STDSUICustomization.h" -#import "STDSWarning.h" - -#import "STDSAlreadyInitializedException.h" -#import "STDSInvalidInputException.h" -#import "STDSNotInitializedException.h" -#import "STDSRuntimeException.h" - -#import "STDSErrorMessage.h" -#import "STDSProtocolErrorEvent.h" -#import "STDSRuntimeErrorEvent.h" -#import "STDSStripe3DS2Error.h" -#import "STDSThreeDSProtocolVersion.h" - -#import "STDSAuthenticationRequestParameters.h" -#import "STDSAuthenticationResponse.h" -#import "STDSChallengeParameters.h" -#import "STDSChallengeStatusReceiver.h" -#import "STDSCompletionEvent.h" -#import "STDSJSONDecodable.h" -#import "STDSJSONEncoder.h" -#import "STDSTransaction.h" - -#import "STDSButtonCustomization.h" -#import "STDSCustomization.h" -#import "STDSException.h" -#import "STDSFooterCustomization.h" -#import "STDSJSONEncodable.h" -#import "STDSLabelCustomization.h" -#import "STDSNavigationBarCustomization.h" -#import "STDSSelectionCustomization.h" -#import "STDSTextFieldCustomization.h" diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/StripeError.h b/stripe_ios/ios/platform/Stripe.framework/Headers/StripeError.h deleted file mode 100644 index 89d091c..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/StripeError.h +++ /dev/null @@ -1,186 +0,0 @@ -// -// StripeError.h -// Stripe -// -// Created by Saikat Chakrabarti on 11/4/12. -// -// - -#import - -/** - All Stripe iOS errors will be under this domain. - */ -FOUNDATION_EXPORT NSString * __nonnull const StripeDomain; - -// ObjC <-> Swift error bridging code from https://gist.github.com/bdash/bf29e26c429b78cc155f1a2e1d851f8b -#if __has_attribute(ns_error_domain) -#define STP_ERROR_ENUM(type, name, domain) \ -_Pragma("clang diagnostic push") \ -_Pragma("clang diagnostic ignored \"-Wignored-attributes\"") \ -NS_ENUM(type, __attribute__((ns_error_domain(domain))) name) \ -_Pragma("clang diagnostic pop") -#else -#define STP_ERROR_ENUM(type, name, domain) NS_ENUM(type, name) -#endif - -/** - Possible error code values for NSError's with the `StripeDomain` domain - */ -typedef STP_ERROR_ENUM(NSInteger, STPErrorCode, StripeDomain) { - /** - Trouble connecting to Stripe. - */ - STPConnectionError = 40, - - /** - Your request had invalid parameters. - */ - STPInvalidRequestError = 50, - - /** - General-purpose API error. - */ - STPAPIError = 60, - - /** - Something was wrong with the given card details. - */ - STPCardError = 70, - - /** - The operation was cancelled. - */ - STPCancellationError = 80, - - /** - The ephemeral key could not be decoded. Make sure your backend is sending - the unmodified JSON of the ephemeral key to your app. - https://stripe.com/docs/mobile/ios/standard#prepare-your-api - */ - STPEphemeralKeyDecodingError = 1000, -}; - -#pragma mark userInfo keys - -/** - A developer-friendly error message that explains what went wrong. You probably - shouldn't show this to your users, but might want to use it yourself. - */ -FOUNDATION_EXPORT NSString * __nonnull const STPErrorMessageKey; - -/** - What went wrong with your STPCard (e.g., STPInvalidCVC. See below for full list). - */ -FOUNDATION_EXPORT NSString * __nonnull const STPCardErrorCodeKey; - -/** - Which parameter on the STPCard had an error (e.g., "cvc"). Useful for marking up the - right UI element. - */ -FOUNDATION_EXPORT NSString * __nonnull const STPErrorParameterKey; - -/** - The error code returned by the Stripe API. - - @see https://stripe.com/docs/api#errors-code - @see https://stripe.com/docs/error-codes - */ -FOUNDATION_EXPORT NSString * __nonnull const STPStripeErrorCodeKey; - -/** - The error type returned by the Stripe API. - - @see https://stripe.com/docs/api#errors-type - */ -FOUNDATION_EXPORT NSString * __nonnull const STPStripeErrorTypeKey; - -#pragma mark STPCardErrorCodeKeys - -/** - Possible string values you may receive when there was an error tokenizing - a card. These values will come back in the error `userInfo` dictionary - under the `STPCardErrorCodeKey` key. - */ -typedef NSString * STPCardErrorCode -#ifdef NS_STRING_ENUM -NS_STRING_ENUM -#endif -; - -/** - The card number is not a valid credit card number. - */ -FOUNDATION_EXPORT STPCardErrorCode __nonnull const STPInvalidNumber; - -/** - The card has an invalid expiration month. - */ -FOUNDATION_EXPORT STPCardErrorCode __nonnull const STPInvalidExpMonth; - -/** - The card has an invalid expiration year. - */ -FOUNDATION_EXPORT STPCardErrorCode __nonnull const STPInvalidExpYear; - -/** - The card has an invalid CVC. - */ -FOUNDATION_EXPORT STPCardErrorCode __nonnull const STPInvalidCVC; - -/** - The card number is incorrect. - */ -FOUNDATION_EXPORT STPCardErrorCode __nonnull const STPIncorrectNumber; - -/** - The card is expired. - */ -FOUNDATION_EXPORT STPCardErrorCode __nonnull const STPExpiredCard; - -/** - The card was declined. - */ -FOUNDATION_EXPORT STPCardErrorCode __nonnull const STPCardDeclined; - -/** - The card has an incorrect CVC. - */ -FOUNDATION_EXPORT STPCardErrorCode __nonnull const STPIncorrectCVC; - -/** - An error occured while processing this card. - */ -FOUNDATION_EXPORT STPCardErrorCode __nonnull const STPProcessingError; - -/** - The postal code is incorrect. - */ -FOUNDATION_EXPORT STPCardErrorCode __nonnull const STPIncorrectZip; - -/** - NSError extensions for creating error objects from Stripe API responses. - */ -@interface NSError(Stripe) - -/** - Creates an NSError object from a given Stripe API json response. - - @param jsonDictionary The root dictionary from the JSON response. - - @return An NSError object with the error information from the JSON response, - or nil if there was no error information included in the JSON dictionary. - */ -+ (nullable NSError *)stp_errorFromStripeResponse:(nullable NSDictionary *)jsonDictionary; - -@end - -/** - This function should not be called directly. - - It is used by the SDK when it is built as a static library to force the - compiler to link in category methods regardless of the integrating - app's compiler flags. - */ -void linkNSErrorCategory(void); - diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/UINavigationBar+Stripe_Theme.h b/stripe_ios/ios/platform/Stripe.framework/Headers/UINavigationBar+Stripe_Theme.h deleted file mode 100644 index 1d3b4e2..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Headers/UINavigationBar+Stripe_Theme.h +++ /dev/null @@ -1,50 +0,0 @@ -// -// UINavigationBar+Stripe_Theme.h -// Stripe -// -// Created by Jack Flintermann on 5/17/16. -// Copyright © 2016 Stripe, Inc. All rights reserved. -// - -#import -#import "STPTheme.h" - -NS_ASSUME_NONNULL_BEGIN - -/** - This allows quickly setting the appearance of a `UINavigationBar` to match your - application. This is useful if you're presenting an `STPAddCardViewController` - or `STPPaymentOptionsViewController` inside a `UINavigationController`. - */ -@interface UINavigationBar (Stripe_Theme) - -/** - Sets the navigation bar's appearance to the desired theme. This will affect the - bar's `tintColor` and `barTintColor` properties, as well as the color of the - single-pixel line at the bottom of the navbar. - - @param theme the theme to use to style the navigation bar. @see STPTheme.h - @deprecated Use the `stp_theme` property instead - */ -- (void)stp_setTheme:(STPTheme *)theme DEPRECATED_MSG_ATTRIBUTE("Use the `stp_theme` property."); - -/** - Sets the navigation bar's appearance to the desired theme. This will affect the bar's `tintColor` and `barTintColor` properties, as well as the color of the single-pixel line at the bottom of the navbar. - Stripe view controllers will use their navigation bar's theme for their UIBarButtonItems instead of their own theme if it is not nil. - - @see STPTheme.h - */ -@property (nonatomic, nullable, strong) STPTheme *stp_theme; - -@end - -NS_ASSUME_NONNULL_END - -/** - This function should not be called directly. - - It is used by the SDK when it is built as a static library to force the - compiler to link in category methods regardless of the integrating - app's compiler flags. - */ -void linkUINavigationBarThemeCategory(void); diff --git a/stripe_ios/ios/platform/Stripe.framework/Info.plist b/stripe_ios/ios/platform/Stripe.framework/Info.plist deleted file mode 100644 index 1ff4787..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/Info.plist and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/Modules/module.modulemap b/stripe_ios/ios/platform/Stripe.framework/Modules/module.modulemap deleted file mode 100644 index 0a49680..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Modules/module.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Stripe { - umbrella header "Stripe.h" - - export * - module * { export * } -} diff --git a/stripe_ios/ios/platform/Stripe.framework/Stripe b/stripe_ios/ios/platform/Stripe.framework/Stripe deleted file mode 100755 index 4defe26..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/Stripe and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/Assets.car b/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/Assets.car deleted file mode 100644 index 1b5faa2..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/Assets.car and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/Info.plist b/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/Info.plist deleted file mode 100644 index 40b4e2a..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/Info.plist +++ /dev/null @@ -1,20 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleIdentifier - com.stripe.stripe-3ds2 - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - Stripe3DS2 - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/en.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/en.lproj/Localizable.strings deleted file mode 100644 index c9be612..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/en.lproj/Localizable.strings and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/da.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.framework/da.lproj/Localizable.strings deleted file mode 100644 index f14cc61..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/da.lproj/Localizable.strings and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/de.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.framework/de.lproj/Localizable.strings deleted file mode 100644 index e283ce9..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/de.lproj/Localizable.strings and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/en-GB.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.framework/en-GB.lproj/Localizable.strings deleted file mode 100644 index 9a50f2d..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/en-GB.lproj/Localizable.strings and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/en.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.framework/en.lproj/Localizable.strings deleted file mode 100644 index 26611ac..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/en.lproj/Localizable.strings and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/es-AR.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.framework/es-AR.lproj/Localizable.strings deleted file mode 100644 index f98dcd3..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/es-AR.lproj/Localizable.strings and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/es.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.framework/es.lproj/Localizable.strings deleted file mode 100644 index d3153b9..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/es.lproj/Localizable.strings and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/fi.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.framework/fi.lproj/Localizable.strings deleted file mode 100644 index c15ad1f..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/fi.lproj/Localizable.strings and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/fr-CA.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.framework/fr-CA.lproj/Localizable.strings deleted file mode 100644 index 4818960..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/fr-CA.lproj/Localizable.strings and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/fr.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.framework/fr.lproj/Localizable.strings deleted file mode 100644 index 2e23d01..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/fr.lproj/Localizable.strings and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/integrate-dynamic-framework.sh b/stripe_ios/ios/platform/Stripe.framework/integrate-dynamic-framework.sh deleted file mode 100755 index 80814ab..0000000 --- a/stripe_ios/ios/platform/Stripe.framework/integrate-dynamic-framework.sh +++ /dev/null @@ -1,72 +0,0 @@ -################################################################################ -# -# Copyright 2015 Realm Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -################################################################################ - -# This script strips all non-valid architectures from dynamic libraries in -# the application's `Frameworks` directory. -# -# The following environment variables are required: -# -# BUILT_PRODUCTS_DIR -# FRAMEWORKS_FOLDER_PATH -# VALID_ARCHS -# EXPANDED_CODE_SIGN_IDENTITY - - -# Signs a framework with the provided identity -code_sign() { - # Use the current code_sign_identitiy - echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" - echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements $1" - /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1" -} - -# Set working directory to product’s embedded frameworks -cd "${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}" - -if [ "$ACTION" = "install" ]; then - echo "Copy .bcsymbolmap files to .xcarchive" - find . -name '*.bcsymbolmap' -type f -exec mv {} "${CONFIGURATION_BUILD_DIR}" \; -else - # Delete *.bcsymbolmap files from framework bundle unless archiving - find . -name '*.bcsymbolmap' -type f -exec rm -rf "{}" +\; -fi - -echo "Stripping frameworks" - -for file in $(find . -type f -perm +111); do - # Skip non-dynamic libraries - if ! [[ "$(file "$file")" == *"dynamically linked shared library"* ]]; then - continue - fi - # Get architectures for current file - archs="$(lipo -info "${file}" | rev | cut -d ':' -f1 | rev)" - stripped="" - for arch in $archs; do - if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then - # Strip non-valid architectures in-place - lipo -remove "$arch" -output "$file" "$file" || exit 1 - stripped="$stripped $arch" - fi - done - if [[ "$stripped" != "" ]]; then - echo "Stripped $file of architectures:$stripped" - if [ "${CODE_SIGNING_REQUIRED}" == "YES" ]; then - code_sign "${file}" - fi - fi -done diff --git a/stripe_ios/ios/platform/Stripe.framework/it.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.framework/it.lproj/Localizable.strings deleted file mode 100644 index 6e91a93..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/it.lproj/Localizable.strings and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/ja.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.framework/ja.lproj/Localizable.strings deleted file mode 100644 index 8424a89..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/ja.lproj/Localizable.strings and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/ko.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.framework/ko.lproj/Localizable.strings deleted file mode 100644 index 07c5927..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/ko.lproj/Localizable.strings and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/nb.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.framework/nb.lproj/Localizable.strings deleted file mode 100644 index c0c9ddb..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/nb.lproj/Localizable.strings and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/nl.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.framework/nl.lproj/Localizable.strings deleted file mode 100644 index 85b2fd2..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/nl.lproj/Localizable.strings and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/nn-NO.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.framework/nn-NO.lproj/Localizable.strings deleted file mode 100644 index f315324..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/nn-NO.lproj/Localizable.strings and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/pt-BR.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.framework/pt-BR.lproj/Localizable.strings deleted file mode 100644 index 6e03e21..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/pt-BR.lproj/Localizable.strings and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/pt-PT.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.framework/pt-PT.lproj/Localizable.strings deleted file mode 100644 index 78fc313..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/pt-PT.lproj/Localizable.strings and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/ru.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.framework/ru.lproj/Localizable.strings deleted file mode 100644 index 6862ab9..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/ru.lproj/Localizable.strings and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_affin_bank.png b/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_affin_bank.png deleted file mode 100644 index d8f1206..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_affin_bank.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_affin_bank@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_affin_bank@2x.png deleted file mode 100644 index ba8b86f..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_affin_bank@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_alliance_bank.png b/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_alliance_bank.png deleted file mode 100644 index 5a8e8b1..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_alliance_bank.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_alliance_bank@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_alliance_bank@2x.png deleted file mode 100644 index e1a452e..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_alliance_bank@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_ambank.png b/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_ambank.png deleted file mode 100644 index a14e88c..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_ambank.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_ambank@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_ambank@2x.png deleted file mode 100644 index 9a7650e..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_ambank@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_bank_islam.png b/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_bank_islam.png deleted file mode 100644 index 548fc2b..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_bank_islam.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_bank_islam@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_bank_islam@2x.png deleted file mode 100644 index 21a5caf..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_bank_islam@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_bank_muamalat.png b/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_bank_muamalat.png deleted file mode 100644 index e3e240b..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_bank_muamalat.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_bank_muamalat@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_bank_muamalat@2x.png deleted file mode 100644 index 8eaac7a..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_bank_muamalat@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_bank_rakyat.png b/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_bank_rakyat.png deleted file mode 100644 index e4d6522..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_bank_rakyat.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_bank_rakyat@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_bank_rakyat@2x.png deleted file mode 100644 index eb15641..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_bank_rakyat@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_bsn.png b/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_bsn.png deleted file mode 100644 index c2a03ca..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_bsn.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_bsn@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_bsn@2x.png deleted file mode 100644 index 212a654..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_bsn@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_cimb.png b/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_cimb.png deleted file mode 100644 index 2a556de..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_cimb.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_cimb@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_cimb@2x.png deleted file mode 100644 index e1a317f..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_cimb@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_hong_leong_bank.png b/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_hong_leong_bank.png deleted file mode 100644 index 7286276..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_hong_leong_bank.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_hong_leong_bank@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_hong_leong_bank@2x.png deleted file mode 100644 index 9efa89b..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_hong_leong_bank@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_hsbc.png b/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_hsbc.png deleted file mode 100644 index 7e6a6f7..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_hsbc.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_hsbc@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_hsbc@2x.png deleted file mode 100644 index d00d776..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_hsbc@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_kfh.png b/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_kfh.png deleted file mode 100644 index a62c71b..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_kfh.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_kfh@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_kfh@2x.png deleted file mode 100644 index e85935c..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_kfh@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_maybank2e.png b/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_maybank2e.png deleted file mode 100644 index d1b7a10..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_maybank2e.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_maybank2e@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_maybank2e@2x.png deleted file mode 100644 index e81986e..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_maybank2e@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_maybank2u.png b/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_maybank2u.png deleted file mode 100644 index d1b7a10..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_maybank2u.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_maybank2u@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_maybank2u@2x.png deleted file mode 100644 index e81986e..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_maybank2u@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_ocbc.png b/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_ocbc.png deleted file mode 100644 index dd7214f..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_ocbc.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_ocbc@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_ocbc@2x.png deleted file mode 100644 index f37c71b..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_ocbc@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_public_bank.png b/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_public_bank.png deleted file mode 100644 index 42c95b2..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_public_bank.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_public_bank@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_public_bank@2x.png deleted file mode 100644 index 1e3e233..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_public_bank@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_rhb.png b/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_rhb.png deleted file mode 100644 index 7c90e89..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_rhb.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_rhb@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_rhb@2x.png deleted file mode 100644 index 1aeb72d..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_rhb@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_standard_chartered.png b/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_standard_chartered.png deleted file mode 100644 index 409dd6f..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_standard_chartered.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_standard_chartered@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_standard_chartered@2x.png deleted file mode 100644 index fd2fa6f..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_standard_chartered@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_uob.png b/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_uob.png deleted file mode 100644 index 2d2ed52..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_uob.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_uob@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_uob@2x.png deleted file mode 100644 index ad1e434..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_uob@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_amex.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_amex.png deleted file mode 100644 index 43ffa0f..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_amex.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_amex@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_amex@2x.png deleted file mode 100644 index 0ec400e..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_amex@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_amex@3x.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_amex@3x.png deleted file mode 100644 index 1a16fe4..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_amex@3x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_amex_template.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_amex_template.png deleted file mode 100644 index 0fcec50..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_amex_template.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_amex_template@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_amex_template@2x.png deleted file mode 100644 index c525c07..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_amex_template@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_amex_template@3x.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_amex_template@3x.png deleted file mode 100644 index 856eb4f..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_amex_template@3x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_applepay.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_applepay.png deleted file mode 100644 index f19fb02..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_applepay.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_applepay@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_applepay@2x.png deleted file mode 100644 index 0f4caea..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_applepay@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_cvc.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_cvc.png deleted file mode 100644 index 30c2e31..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_cvc.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_cvc@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_cvc@2x.png deleted file mode 100644 index f365352..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_cvc@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_cvc_amex.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_cvc_amex.png deleted file mode 100644 index 3d4a584..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_cvc_amex.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_cvc_amex@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_cvc_amex@2x.png deleted file mode 100644 index 6dde446..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_cvc_amex@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_diners.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_diners.png deleted file mode 100644 index 4a2e23d..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_diners.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_diners@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_diners@2x.png deleted file mode 100644 index c171d5a..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_diners@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_diners@3x.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_diners@3x.png deleted file mode 100644 index f2efaa1..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_diners@3x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_diners_template.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_diners_template.png deleted file mode 100644 index 0aa14b1..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_diners_template.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_diners_template@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_diners_template@2x.png deleted file mode 100644 index 602eebc..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_diners_template@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_discover.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_discover.png deleted file mode 100644 index 336395b..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_discover.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_discover@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_discover@2x.png deleted file mode 100644 index 2144d09..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_discover@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_discover@3x.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_discover@3x.png deleted file mode 100644 index e759bab..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_discover@3x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_discover_template.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_discover_template.png deleted file mode 100644 index 28e282e..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_discover_template.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_discover_template@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_discover_template@2x.png deleted file mode 100644 index d7893a0..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_discover_template@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_error.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_error.png deleted file mode 100644 index c1dbd96..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_error.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_error@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_error@2x.png deleted file mode 100644 index 4b9b8de..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_error@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_error_amex.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_error_amex.png deleted file mode 100644 index 1a7a075..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_error_amex.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_error_amex@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_error_amex@2x.png deleted file mode 100644 index 9a8c72d..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_error_amex@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_form_amex_cvc.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_form_amex_cvc.png deleted file mode 100644 index 9504a84..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_form_amex_cvc.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_form_amex_cvc@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_form_amex_cvc@2x.png deleted file mode 100644 index 8119d80..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_form_amex_cvc@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_form_back.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_form_back.png deleted file mode 100644 index 740112e..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_form_back.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_form_back@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_form_back@2x.png deleted file mode 100644 index e7ead5b..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_form_back@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_form_front.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_form_front.png deleted file mode 100644 index aa95a0a..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_form_front.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_form_front@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_form_front@2x.png deleted file mode 100644 index 5dd40a3..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_form_front@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_jcb.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_jcb.png deleted file mode 100644 index 01e7f87..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_jcb.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_jcb@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_jcb@2x.png deleted file mode 100644 index dc3f674..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_jcb@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_jcb_template.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_jcb_template.png deleted file mode 100644 index 4e5b0d0..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_jcb_template.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_jcb_template@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_jcb_template@2x.png deleted file mode 100644 index 4483c2e..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_jcb_template@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_mastercard.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_mastercard.png deleted file mode 100644 index 8578921..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_mastercard.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_mastercard@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_mastercard@2x.png deleted file mode 100644 index 140ee2c..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_mastercard@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_mastercard@3x.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_mastercard@3x.png deleted file mode 100644 index 5f23ee3..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_mastercard@3x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_mastercard_template.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_mastercard_template.png deleted file mode 100644 index e0af7e5..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_mastercard_template.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_mastercard_template@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_mastercard_template@2x.png deleted file mode 100644 index 276b9c0..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_mastercard_template@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_unionpay_en.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_unionpay_en.png deleted file mode 100644 index 2e9ff6c..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_unionpay_en.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_unionpay_en@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_unionpay_en@2x.png deleted file mode 100644 index 4823fff..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_unionpay_en@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_unionpay_template_en.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_unionpay_template_en.png deleted file mode 100644 index 948c70f..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_unionpay_template_en.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_unionpay_template_en@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_unionpay_template_en@2x.png deleted file mode 100644 index 3588430..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_unionpay_template_en@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_unionpay_template_zh.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_unionpay_template_zh.png deleted file mode 100644 index 75e9aa5..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_unionpay_template_zh.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_unionpay_template_zh@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_unionpay_template_zh@2x.png deleted file mode 100644 index 67df2b3..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_unionpay_template_zh@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_unionpay_zh.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_unionpay_zh.png deleted file mode 100644 index a62a91a..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_unionpay_zh.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_unionpay_zh@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_unionpay_zh@2x.png deleted file mode 100644 index e3ea92b..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_unionpay_zh@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_unknown.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_unknown.png deleted file mode 100644 index 85b863c..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_unknown.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_unknown@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_unknown@2x.png deleted file mode 100644 index 1f8ea69..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_unknown@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_visa.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_visa.png deleted file mode 100644 index 9f98206..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_visa.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_visa@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_visa@2x.png deleted file mode 100644 index 40f7af8..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_visa@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_visa@3x.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_visa@3x.png deleted file mode 100644 index b965281..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_visa@3x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_visa_template.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_visa_template.png deleted file mode 100644 index 01cc4be..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_visa_template.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_visa_template@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_card_visa_template@2x.png deleted file mode 100644 index 685eaff..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_card_visa_template@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_fpx_big_logo.png b/stripe_ios/ios/platform/Stripe.framework/stp_fpx_big_logo.png deleted file mode 100644 index 78c5d1c..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_fpx_big_logo.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_fpx_big_logo@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_fpx_big_logo@2x.png deleted file mode 100644 index e126da7..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_fpx_big_logo@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_fpx_logo.png b/stripe_ios/ios/platform/Stripe.framework/stp_fpx_logo.png deleted file mode 100644 index d81a866..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_fpx_logo.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_fpx_logo@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_fpx_logo@2x.png deleted file mode 100644 index a718328..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_fpx_logo@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_icon_add.png b/stripe_ios/ios/platform/Stripe.framework/stp_icon_add.png deleted file mode 100644 index 2acf080..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_icon_add.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_icon_add@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_icon_add@2x.png deleted file mode 100644 index 8b8f17b..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_icon_add@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_icon_bank.png b/stripe_ios/ios/platform/Stripe.framework/stp_icon_bank.png deleted file mode 100644 index 9e3bb07..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_icon_bank.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_icon_bank@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_icon_bank@2x.png deleted file mode 100644 index 62ee506..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_icon_bank@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_icon_checkmark.png b/stripe_ios/ios/platform/Stripe.framework/stp_icon_checkmark.png deleted file mode 100644 index a3ddd63..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_icon_checkmark.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_icon_checkmark@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_icon_checkmark@2x.png deleted file mode 100644 index c7c5610..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_icon_checkmark@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_shipping_form.png b/stripe_ios/ios/platform/Stripe.framework/stp_shipping_form.png deleted file mode 100644 index c3208b0..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_shipping_form.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_shipping_form@2x.png b/stripe_ios/ios/platform/Stripe.framework/stp_shipping_form@2x.png deleted file mode 100644 index f81269d..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/stp_shipping_form@2x.png and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/sv.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.framework/sv.lproj/Localizable.strings deleted file mode 100644 index 4a8095d..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/sv.lproj/Localizable.strings and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/tr.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.framework/tr.lproj/Localizable.strings deleted file mode 100644 index 1295e71..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/tr.lproj/Localizable.strings and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/zh-HK.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.framework/zh-HK.lproj/Localizable.strings deleted file mode 100644 index feb9c64..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/zh-HK.lproj/Localizable.strings and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/zh-Hans.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.framework/zh-Hans.lproj/Localizable.strings deleted file mode 100644 index a3ca6a3..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/zh-Hans.lproj/Localizable.strings and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.framework/zh-Hant.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.framework/zh-Hant.lproj/Localizable.strings deleted file mode 100644 index 6a0252c..0000000 Binary files a/stripe_ios/ios/platform/Stripe.framework/zh-Hant.lproj/Localizable.strings and /dev/null differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/Info.plist b/stripe_ios/ios/platform/Stripe.xcframework/Info.plist new file mode 100644 index 0000000..6a96378 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe.xcframework/Info.plist @@ -0,0 +1,55 @@ + + + + + AvailableLibraries + + + LibraryIdentifier + ios-arm64 + LibraryPath + Stripe.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + Stripe.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + LibraryIdentifier + ios-arm64_x86_64-maccatalyst + LibraryPath + Stripe.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/Headers/Stripe-Swift.h b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/Headers/Stripe-Swift.h new file mode 100644 index 0000000..30255a5 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/Headers/Stripe-Swift.h @@ -0,0 +1,8000 @@ +// Generated by Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +#ifndef STRIPE_SWIFT_H +#define STRIPE_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# 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 +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import CoreGraphics; +@import Foundation; +@import ObjectiveC; +@import PassKit; +@import SafariServices; +@import StripeApplePay; +@import StripeCore; +@import UIKit; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="Stripe",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + + + + +@interface NSError (SWIFT_EXTENSION(Stripe)) +/// Creates an NSError object from a given Stripe API json response. +/// \param jsonDictionary The root dictionary from the JSON response. +/// +/// +/// returns: +/// An NSError object with the error information from the JSON response, +/// or nil if there was no error information included in the JSON dictionary. ++ (NSError * _Nullable)stp_errorFromStripeResponse:(NSDictionary * _Nullable)jsonDictionary SWIFT_WARN_UNUSED_RESULT; +@end + + + + +/// Objects conforming to STPAPIResponseDecodable can be automatically converted +/// from a JSON dictionary that was returned from the Stripe API. +SWIFT_PROTOCOL("_TtP6Stripe23STPAPIResponseDecodable_") +@protocol STPAPIResponseDecodable +/// Parses an response from the Stripe API (in JSON format; represented as +/// an NSDictionary) into an instance of the class. +/// \param response The JSON dictionary that represents an object of this type +/// +/// +/// returns: +/// The object represented by the JSON dictionary, or nil if the object +/// could not be decoded (i.e. if one of its requiredFields is nil). ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +/// The raw JSON response used to create the object. This can be useful for accessing +/// fields that haven’t yet been made into native properties in the SDK. +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +@end + +@class UIFont; +@class UIColor; + +/// STPFormTextFieldContainer is a protocol that views can conform to to provide customization properties for the field form views that they contain. +SWIFT_PROTOCOL("_TtP6Stripe25STPFormTextFieldContainer_") +@protocol STPFormTextFieldContainer +/// The font used in each child field. Default is .body. +@property (nonatomic, strong) UIFont * _Nonnull formFont; +/// The text color to be used when entering valid text. Default is .label on iOS 13.0 and later and .darkText on earlier versions. +@property (nonatomic, strong) UIColor * _Nonnull formTextColor; +/// The text color to be used when the user has entered invalid information, +/// such as an invalid card number. +/// Default is .red. +@property (nonatomic, strong) UIColor * _Nonnull formTextErrorColor; +/// The text placeholder color used in each child field. +/// This will also set the color of the card placeholder icon. +/// Default is .placeholderText on iOS 13.0 and .lightGray on earlier versions. +@property (nonatomic, strong) UIColor * _Nonnull formPlaceholderColor; +/// The cursor color for the field. +/// This is a proxy for the view’s tintColor property, exposed for clarity only +/// (in other words, calling setCursorColor is identical to calling setTintColor). +@property (nonatomic, strong) UIColor * _Nonnull formCursorColor; +/// The keyboard appearance for the field. +/// Default is .default. +@property (nonatomic) UIKeyboardAppearance formKeyboardAppearance; +@end + +@class UITextField; +@class NSCoder; + +/// STPMultiFormTextField is a lightweight UIView that wraps a collection of STPFormTextFields and can automatically move to the next form field when one is completed. +SWIFT_CLASS("_TtC6Stripe21STPMultiFormTextField") +@interface STPMultiFormTextField : UIView +/// :nodoc: +- (BOOL)textField:(UITextField * _Nonnull)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString * _Nonnull)string SWIFT_WARN_UNUSED_RESULT; +/// Calling this method will make the next incomplete STPFormTextField in formTextFields become the first responder. +/// If all of the form text fields are already complete, then the last field in formTextFields will become the first responder. +- (void)focusNextForm; +/// :nodoc: +@property (nonatomic, readonly) BOOL canResignFirstResponder; +/// :nodoc: +- (BOOL)resignFirstResponder SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) BOOL isFirstResponder; +/// :nodoc: +@property (nonatomic, readonly) BOOL canBecomeFirstResponder; +/// :nodoc: +- (BOOL)becomeFirstResponder SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)textFieldDidEndEditing:(UITextField * _Nonnull)textField; +/// :nodoc: +- (void)textFieldDidBeginEditing:(UITextField * _Nonnull)textField; +/// :nodoc: +- (BOOL)textFieldShouldReturn:(UITextField * _Nonnull)textField SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, strong) UIFont * _Nonnull formFont; +@property (nonatomic, strong) UIColor * _Nonnull formTextColor; +@property (nonatomic, strong) UIColor * _Nonnull formTextErrorColor; +@property (nonatomic, strong) UIColor * _Nonnull formPlaceholderColor; +@property (nonatomic, strong) UIColor * _Nonnull formCursorColor; +@property (nonatomic) UIKeyboardAppearance formKeyboardAppearance; +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; +@end + +@protocol STPAUBECSDebitFormViewDelegate; +@class STPPaymentMethodParams; +@class UITextView; + +/// STPAUBECSDebitFormView is a subclass of UIControl that contains all of the necessary fields and legal text for collecting AU BECS Debit payments. +/// For additional customization options - seealso: STPFormTextFieldContainer +SWIFT_CLASS("_TtC6Stripe22STPAUBECSDebitFormView") +@interface STPAUBECSDebitFormView : STPMultiFormTextField +/// \param companyName The name of the company collecting AU BECS Debit payment details information. This will be used to provide the required service agreement text. - seealso: https://stripe.com/au-becs/legal +/// +- (nonnull instancetype)initWithCompanyName:(NSString * _Nonnull)companyName OBJC_DESIGNATED_INITIALIZER; +/// Use initWithCompanyName instead. +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; +/// Use initWithCompanyName instead. +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +/// The background color for the form text fields. Defaults to .systemBackground on iOS 13.0 and later, .white on earlier iOS versions. +@property (nonatomic, strong) UIColor * _Nonnull formBackgroundColor; +/// The delegate to inform about changes to this STPAUBECSDebitFormView instance. +@property (nonatomic, weak) id _Nullable becsDebitFormDelegate; +/// This property will return a non-nil value if and only if the form is in a complete state. The STPPaymentMethodParams instance +/// will have it’s auBECSDebit property populated with the values input in this form. +@property (nonatomic, readonly, strong) STPPaymentMethodParams * _Nullable paymentMethodParams; +/// :nodoc: +- (CGSize)systemLayoutSizeFittingSize:(CGSize)targetSize withHorizontalFittingPriority:(UILayoutPriority)horizontalFittingPriority verticalFittingPriority:(UILayoutPriority)verticalFittingPriority SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (BOOL)textView:(UITextView * _Nonnull)textView shouldInteractWithURL:(NSURL * _Nonnull)URL inRange:(NSRange)characterRange interaction:(UITextItemInteraction)interaction SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, strong) UIFont * _Nonnull formFont; +/// :nodoc: +@property (nonatomic, strong) UIColor * _Nonnull formTextColor; +@end + + + +/// STPAUBECSDebitFormViewDelegate provides methods for STPAUBECSDebitFormView to inform its delegate +/// of when the form has been completed. +SWIFT_PROTOCOL("_TtP6Stripe30STPAUBECSDebitFormViewDelegate_") +@protocol STPAUBECSDebitFormViewDelegate +/// Called when the form transitions from complete to incomplete or vice-versa. +/// \param form The STPAUBECSDebitFormView instance whose completion state has changed +/// +/// \param complete Whether the form is considered complete and can generate an STPPaymentMethodParams instance. +/// +- (void)auBECSDebitForm:(STPAUBECSDebitFormView * _Nonnull)form didChangeToStateComplete:(BOOL)complete; +@end + +@class STPPaymentCardTextField; + +/// This protocol allows a delegate to be notified when a payment text field’s +/// contents change, which can in turn be used to take further actions depending +/// on the validity of its contents. +SWIFT_PROTOCOL("_TtP6Stripe31STPPaymentCardTextFieldDelegate_") +@protocol STPPaymentCardTextFieldDelegate +@optional +/// Called when either the card number, expiration, or CVC changes. At this point, +/// one can call isValid on the text field to determine, for example, +/// whether or not to enable a button to submit the form. Example: +///
    +///
  • +/// (void)paymentCardTextFieldDidChange:(STPPaymentCardTextField *)textField { +/// self.paymentButton.enabled = textField.isValid; +/// } +///
  • +///
+/// \param textField the text field that has changed +/// +- (void)paymentCardTextFieldDidChange:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing begins in the text field as a whole. +/// After receiving this callback, you will always also receive a callback for which +/// specific subfield of the view began editing. +- (void)paymentCardTextFieldDidBeginEditing:(STPPaymentCardTextField * _Nonnull)textField; +/// Notification that the user pressed the return key after completely filling +/// out the STPPaymentCardTextField with data that passes validation. +/// The Stripe SDK is going to resignFirstResponder on the STPPaymentCardTextField +/// to dismiss the keyboard after this delegate method returns, however if your app wants +/// to do something more (ex: move first responder to another field), this is a good +/// opportunity to do that. +/// This is delivered before the corresponding paymentCardTextFieldDidEndEditing: +/// \param textField The STPPaymentCardTextField that was being edited when the user pressed return +/// +- (void)paymentCardTextFieldWillEndEditingForReturn:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing ends in the text field as a whole. +/// This callback is always preceded by an callback for which +/// specific subfield of the view ended its editing. +- (void)paymentCardTextFieldDidEndEditing:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing begins in the payment card field’s number field. +- (void)paymentCardTextFieldDidBeginEditingNumber:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing ends in the payment card field’s number field. +- (void)paymentCardTextFieldDidEndEditingNumber:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing begins in the payment card field’s CVC field. +- (void)paymentCardTextFieldDidBeginEditingCVC:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing ends in the payment card field’s CVC field. +- (void)paymentCardTextFieldDidEndEditingCVC:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing begins in the payment card field’s expiration field. +- (void)paymentCardTextFieldDidBeginEditingExpiration:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing ends in the payment card field’s expiration field. +- (void)paymentCardTextFieldDidEndEditingExpiration:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing begins in the payment card field’s ZIP/postal code field. +- (void)paymentCardTextFieldDidBeginEditingPostalCode:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing ends in the payment card field’s ZIP/postal code field. +- (void)paymentCardTextFieldDidEndEditingPostalCode:(STPPaymentCardTextField * _Nonnull)textField; +@end + +@class STPTheme; +@class NSBundle; + +/// This is the base class for all Stripe view controllers. It is intended for use +/// only by Stripe classes, you should not subclass it yourself in your app. +/// It theming, back/cancel button management, and other shared logic for +/// Stripe view controllers. +SWIFT_CLASS("_TtC6Stripe21STPCoreViewController") +@interface STPCoreViewController : UIViewController +/// A convenience initializer; equivalent to calling init(theme: STPTheme.defaultTheme). +- (nonnull instancetype)init; +/// Initializes a new view controller with the specified theme +/// \param theme The theme to use to inform the view controller’s visual appearance. - seealso: STPTheme +/// +- (nonnull instancetype)initWithTheme:(STPTheme * _Nullable)theme OBJC_DESIGNATED_INITIALIZER; +/// Passes through to the default UIViewController behavior for this initializer, +/// and then also sets the default theme as in init +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER; +/// Passes through to the default UIViewController behavior for this initializer, +/// and then also sets the default theme as in init +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +- (void)viewDidLoad; +/// :nodoc: +- (void)viewWillAppear:(BOOL)animated; +/// :nodoc: +- (void)viewWillDisappear:(BOOL)animated; +/// :nodoc: +@property (nonatomic, readonly) UIStatusBarStyle preferredStatusBarStyle; +@end + +@class UIScrollView; + +/// This is the base class for all Stripe scroll view controllers. It is intended +/// for use only by Stripe classes, you should not subclass it yourself in your app. +SWIFT_CLASS("_TtC6Stripe27STPCoreScrollViewController") +@interface STPCoreScrollViewController : STPCoreViewController +/// This returns the scroll view being managed by the view controller +@property (nonatomic, strong) UIScrollView * _Nonnull scrollView; +/// :nodoc: +- (void)viewDidLoad; +/// :nodoc: +- (void)viewDidLayoutSubviews; +- (nonnull instancetype)initWithTheme:(STPTheme * _Nullable)theme OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER; +@end + +@class UITableView; + +/// This is the base class for all Stripe scroll view controllers. It is intended +/// for use only by Stripe classes, you should not subclass it yourself in your app. +/// It inherits from STPCoreScrollViewController and changes the type of the +/// created scroll view to UITableView, as well as other shared table view logic. +SWIFT_CLASS("_TtC6Stripe26STPCoreTableViewController") +@interface STPCoreTableViewController : STPCoreScrollViewController +/// This points to the same object as STPCoreScrollViewController’s scrollView +/// property but with the type cast to UITableView +@property (nonatomic, readonly, strong) UITableView * _Nullable tableView; +/// :nodoc: +- (void)viewWillAppear:(BOOL)animated; +/// :nodoc: +- (CGFloat)tableView:(UITableView * _Nonnull)tableView heightForHeaderInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)initWithTheme:(STPTheme * _Nullable)theme OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER; +@end + +@class STPPaymentConfiguration; +@protocol STPAddCardViewControllerDelegate; +@class STPUserInformation; +@class STPAPIClient; +@class UITableViewCell; +@protocol UIViewControllerTransitionCoordinator; + +/// This view controller contains a credit card entry form that the user can fill out. On submission, it will use the Stripe API to convert the user’s card details to a Stripe token. It renders a right bar button item that submits the form, so it must be shown inside a UINavigationController. +SWIFT_CLASS("_TtC6Stripe24STPAddCardViewController") +@interface STPAddCardViewController : STPCoreTableViewController +/// A convenience initializer; equivalent to calling init(configuration: STPPaymentConfiguration.shared, theme: STPTheme.defaultTheme). +- (nonnull instancetype)init; +/// Initializes a new STPAddCardViewController with the provided configuration and theme. Don’t forget to set the delegate property after initialization. +/// \param configuration The configuration to use (this determines the Stripe publishable key to use, the required billing address fields, whether or not to use SMS autofill, etc). - seealso: STPPaymentConfiguration +/// +/// \param theme The theme to use to inform the view controller’s visual appearance. - seealso: STPTheme +/// +- (nonnull instancetype)initWithConfiguration:(STPPaymentConfiguration * _Nonnull)configuration theme:(STPTheme * _Nonnull)theme OBJC_DESIGNATED_INITIALIZER; +/// The view controller’s delegate. This must be set before showing the view controller in order for it to work properly. - seealso: STPAddCardViewControllerDelegate +@property (nonatomic, weak) id _Nullable delegate; +/// You can set this property to pre-fill any information you’ve already collected from your user. - seealso: STPUserInformation.h +@property (nonatomic, strong) STPUserInformation * _Nullable prefilledInformation; +/// Provide this view controller with a footer view. +/// When the footer view needs to be resized, it will be sent a +/// sizeThatFits: call. The view should respond correctly to this method in order +/// to be sized and positioned properly. +@property (nonatomic, strong) UIView * _Nullable customFooterView; +/// The API Client to use to make requests. +/// Defaults to STPAPIClient.shared. +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +/// Use init: or initWithConfiguration:theme: +- (nonnull instancetype)initWithTheme:(STPTheme * _Nullable)theme SWIFT_UNAVAILABLE; +/// Use init: or initWithConfiguration:theme: +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE; +/// Use init: or initWithConfiguration:theme: +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE; +/// :nodoc: +- (CGFloat)tableView:(UITableView * _Nonnull)tableView estimatedHeightForRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)viewDidLayoutSubviews; +/// :nodoc: +- (void)updateAppearance; +/// :nodoc: +- (void)viewDidAppear:(BOOL)animated; +/// :nodoc: +- (void)handleCancelTapped:(id _Nullable)sender; +- (void)paymentCardTextFieldDidChange:(STPPaymentCardTextField * _Nonnull)textField; +- (void)paymentCardTextFieldWillEndEditingForReturn:(STPPaymentCardTextField * _Nonnull)textField; +- (void)paymentCardTextFieldDidBeginEditingCVC:(STPPaymentCardTextField * _Nonnull)textField; +- (void)paymentCardTextFieldDidEndEditingCVC:(STPPaymentCardTextField * _Nonnull)textField; +- (void)paymentCardTextFieldDidBeginEditing:(STPPaymentCardTextField * _Nonnull)textField; +/// :nodoc: +- (NSInteger)numberOfSectionsInTableView:(UITableView * _Nonnull)tableView SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (NSInteger)tableView:(UITableView * _Nonnull)tableView numberOfRowsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (UITableViewCell * _Nonnull)tableView:(UITableView * _Nonnull)tableView cellForRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)tableView:(UITableView * _Nonnull)tableView willDisplayCell:(UITableViewCell * _Nonnull)cell forRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath; +/// :nodoc: +- (CGFloat)tableView:(UITableView * _Nonnull)tableView heightForFooterInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (CGFloat)tableView:(UITableView * _Nonnull)tableView heightForHeaderInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (UIView * _Nullable)tableView:(UITableView * _Nonnull)tableView viewForHeaderInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (UIView * _Nullable)tableView:(UITableView * _Nonnull)tableView viewForFooterInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id _Nonnull)coordinator; +@end + + +@class STPPaymentMethod; +@class STPToken; +@class STPSource; + +/// An STPAddCardViewControllerDelegate is notified when an STPAddCardViewController +/// successfully creates a card token or is cancelled. It has internal error-handling +/// logic, so there’s no error case to deal with. +SWIFT_PROTOCOL("_TtP6Stripe32STPAddCardViewControllerDelegate_") +@protocol STPAddCardViewControllerDelegate +/// Called when the user cancels adding a card. You should dismiss (or pop) the +/// view controller at this point. +/// \param addCardViewController the view controller that has been cancelled +/// +- (void)addCardViewControllerDidCancel:(STPAddCardViewController * _Nonnull)addCardViewController; +/// This is called when the user successfully adds a card and Stripe returns a +/// Payment Method. +/// You should send the PaymentMethod to your backend to store it on a customer, and then +/// call the provided completion block when that call is finished. If an error +/// occurs while talking to your backend, call completion(error), otherwise, +/// dismiss (or pop) the view controller. +/// \param addCardViewController the view controller that successfully created a token +/// +/// \param paymentMethod the Payment Method that was created. - seealso: STPPaymentMethod +/// +/// \param completion call this callback when you’re done sending the token to your backend +/// +- (void)addCardViewController:(STPAddCardViewController * _Nonnull)addCardViewController didCreatePaymentMethod:(STPPaymentMethod * _Nonnull)paymentMethod completion:(void (^ _Nonnull)(NSError * _Nullable))completion; +@optional +/// This method is deprecated as of v16.0.0 (https://github.com/stripe/stripe-ios/blob/master/MIGRATING.md#migrating-from-versions–1600). +/// To use this class, migrate your integration from Charges to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read +- (void)addCardViewController:(STPAddCardViewController * _Nonnull)addCardViewController didCreateToken:(STPToken * _Nonnull)token completion:(SWIFT_NOESCAPE void (^ _Nonnull)(NSError * _Nullable))completion SWIFT_DEPRECATED_MSG("Use addCardViewController(_:didCreatePaymentMethod:completion:) instead and migrate your integration to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read", "addCardViewController:didCreatePaymentMethod:completion:"); +/// This method is deprecated as of v16.0.0 (https://github.com/stripe/stripe-ios/blob/master/MIGRATING.md#migrating-from-versions–1600). +/// To use this class, migrate your integration from Charges to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read +- (void)addCardViewController:(STPAddCardViewController * _Nonnull)addCardViewController didCreateSource:(STPSource * _Nonnull)source completion:(SWIFT_NOESCAPE void (^ _Nonnull)(NSError * _Nullable))completion SWIFT_DEPRECATED_MSG("Use addCardViewController(_:didCreatePaymentMethod:completion:) instead and migrate your integration to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read", "addCardViewController:didCreatePaymentMethod:completion:"); +@end + +@class PKShippingMethod; +@class STPPaymentMethodBillingDetails; +@class PKContact; +@class CNContact; +enum STPBillingAddressFields : NSUInteger; +@class STPContactField; + +/// STPAddress Contains an address as represented by the Stripe API. +SWIFT_CLASS("_TtC6Stripe10STPAddress") +@interface STPAddress : NSObject +/// The user’s full name (e.g. “Jane Doe”) +@property (nonatomic, copy) NSString * _Nullable name; +/// The first line of the user’s street address (e.g. “123 Fake St”) +@property (nonatomic, copy) NSString * _Nullable line1; +/// The apartment, floor number, etc of the user’s street address (e.g. “Apartment 1A”) +@property (nonatomic, copy) NSString * _Nullable line2; +/// The city in which the user resides (e.g. “San Francisco”) +@property (nonatomic, copy) NSString * _Nullable city; +/// The state in which the user resides (e.g. “CA”) +@property (nonatomic, copy) NSString * _Nullable state; +/// The postal code in which the user resides (e.g. “90210”) +@property (nonatomic, copy) NSString * _Nullable postalCode; +/// The ISO country code of the address (e.g. “US”) +@property (nonatomic, copy) NSString * _Nullable country; +/// The phone number of the address (e.g. “8885551212”) +@property (nonatomic, copy) NSString * _Nullable phone; +/// The email of the address (e.g. “jane@doe.com”) +@property (nonatomic, copy) NSString * _Nullable email; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// When creating a charge on your backend, you can attach shipping information +/// to prevent fraud on a physical good. You can use this method to turn your user’s +/// shipping address and selected shipping method into a hash suitable for attaching +/// to a charge. You should pass this to your backend, and use it as the shipping +/// parameter when creating a charge. +/// seealso: +/// https://stripe.com/docs/api#create_charge-shipping +/// \param address The user’s shipping address. If nil, this method will return nil. +/// +/// \param method The user’s selected shipping method. May be nil. +/// ++ (NSDictionary * _Nullable)shippingInfoForChargeWithAddress:(STPAddress * _Nullable)address shippingMethod:(PKShippingMethod * _Nullable)method SWIFT_WARN_UNUSED_RESULT; +/// Initializes an empty STPAddress. +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +/// Initializes a new STPAddress with data from STPPaymentMethodBillingDetails. +/// \param billingDetails The STPPaymentMethodBillingDetails instance you want to populate the STPAddress from. +/// +/// +/// returns: +/// A new STPAddress instance with data copied from the passed in billing details. +- (nonnull instancetype)initWithPaymentMethodBillingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails OBJC_DESIGNATED_INITIALIZER; +/// Initializes a new STPAddress with data from an PassKit contact. +/// \param contact The PassKit contact you want to populate the STPAddress from. +/// +/// +/// returns: +/// A new STPAddress instance with data copied from the passed in contact. +- (nonnull instancetype)initWithPKContact:(PKContact * _Nonnull)contact OBJC_DESIGNATED_INITIALIZER; +/// Generates a PassKit contact representation of this STPAddress. +/// +/// returns: +/// A new PassKit contact with data copied from this STPAddress instance. +- (PKContact * _Nonnull)PKContactValue SWIFT_WARN_UNUSED_RESULT; +/// Initializes a new STPAddress with a contact from the Contacts framework. +/// \param contact The CNContact you want to populate the STPAddress from. +/// +/// +/// returns: +/// A new STPAddress instance with data copied from the passed in contact. +- (nonnull instancetype)initWithCNContact:(CNContact * _Nonnull)contact OBJC_DESIGNATED_INITIALIZER; +/// Checks if this STPAddress has the level of valid address information +/// required by the passed in setting. +/// \param requiredFields The required level of billing address information to +/// check against. +/// +/// +/// returns: +/// YES if this address contains at least the necessary information, +/// NO otherwise. +- (BOOL)containsRequiredFields:(enum STPBillingAddressFields)requiredFields SWIFT_WARN_UNUSED_RESULT; +/// Checks if this STPAddress has any content (possibly invalid) in any of the +/// desired billing address fields. +/// Where containsRequiredFields: validates that this STPAddress contains valid data in +/// all of the required fields, this method checks for the existence of any data. +/// For example, if desiredFields is STPBillingAddressFieldsZip, this will check +/// if the postalCode is empty. +/// Note: When desiredFields == STPBillingAddressFieldsNone, this method always returns +/// NO. +/// @parameter desiredFields The billing address information the caller is interested in. +/// +/// returns: +/// YES if there is any data in this STPAddress that’s relevant for those fields. +- (BOOL)containsContentForBillingAddressFields:(enum STPBillingAddressFields)desiredFields SWIFT_WARN_UNUSED_RESULT; +/// Checks if this STPAddress has the level of valid address information +/// required by the passed in setting. +/// Note: When requiredFields == nil, this method always returns +/// YES. +/// \param requiredFields The required shipping address information to check against. +/// +/// +/// returns: +/// YES if this address contains at least the necessary information, +/// NO otherwise. +- (BOOL)containsRequiredShippingAddressFields:(NSSet * _Nullable)requiredFields SWIFT_WARN_UNUSED_RESULT; +/// Checks if this STPAddress has any content (possibly invalid) in any of the +/// desired shipping address fields. +/// Where containsRequiredShippingAddressFields: validates that this STPAddress +/// contains valid data in all of the required fields, this method checks for the +/// existence of any data. +/// Note: When desiredFields == nil, this method always returns +/// NO. +/// @parameter desiredFields The shipping address information the caller is interested in. +/// +/// returns: +/// YES if there is any data in this STPAddress that’s relevant for those fields. +- (BOOL)containsContentForShippingAddressFields:(NSSet * _Nullable)desiredFields SWIFT_WARN_UNUSED_RESULT; +/// Converts an STPBillingAddressFields enum value into the closest equivalent +/// representation of PKContactField options +/// \param billingAddressFields Stripe billing address fields enum value to convert. +/// +/// +/// returns: +/// The closest representation of the billing address requirement as +/// a PKContactField value. ++ (NSSet * _Nonnull)applePayContactFieldsFromBillingAddressFields:(enum STPBillingAddressFields)billingAddressFields SWIFT_WARN_UNUSED_RESULT; +/// Converts a set of STPContactField values into the closest equivalent +/// representation of PKContactField options +/// \param contactFields Stripe contact fields values to convert. +/// +/// +/// returns: +/// The closest representation of the contact fields as +/// a PKContactField value. ++ (NSSet * _Nullable)pkContactFieldsFromStripeContactFields:(NSSet * _Nullable)contactFields SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +@end + + +@interface STPAddress (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface STPAddress (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Objects conforming to STPFormEncodable can be automatically converted to a form-encoded string, which can then be used when making requests to the Stripe API. +SWIFT_PROTOCOL("_TtP6Stripe16STPFormEncodable_") +@protocol STPFormEncodable +/// The root object name to be used when converting this object to a form-encoded string. For example, if this returns “card”, then the form-encoded output will resemble “card[foo]=bar” (where ‘foo’ and ‘bar’ are specified by propertyNamesToFormFieldNamesMapping below. ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +/// This maps properties on an object that is being form-encoded into parameter names in the Stripe API. For example, STPCardParams has a field called expMonth, but the Stripe API expects a field called exp_month. This dictionary represents a mapping from the former to the latter (in other words, STPCardParams.propertyNamesToFormFieldNamesMapping()[“expMonth”] == “exp_month”.) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +/// You can use this property to add additional fields to an API request that are not explicitly defined by the object’s interface. This can be useful when using beta features that haven’t been added to the Stripe SDK yet. For example, if the /v1/tokens API began to accept a beta field called “test_field”, you might do the following: +/// var cardParams = STPCardParams() +/// // add card values +/// cardParams.additionalAPIParameters = [“test_field”: “example_value”] +/// STPAPIClient.shared.createToken(withParameters: cardParams completion:…); +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +@end + + +@interface STPAddress (SWIFT_EXTENSION(Stripe)) ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +@end + + + + + + + + + +@class _stpinternal_APContextSwift; +@class PKPayment; +enum STPPaymentStatus : NSInteger; + +/// Implement the required methods of this delegate to supply a PaymentIntent to STPApplePayContext and be notified of the completion of the Apple Pay payment. +/// You may also implement the optional delegate methods to handle shipping methods and shipping address changes e.g. to verify you can ship to the address, or update the payment amount. +SWIFT_PROTOCOL_NAMED("STPApplePayContextDelegate") +@protocol _stpinternal_apContextDelegate <_stpinternal_STPApplePayContextDelegateBase> +/// Called after the customer has authorized Apple Pay. Implement this method to call the completion block with the client secret of a PaymentIntent or SetupIntent. +/// \param paymentMethod The PaymentMethod that represents the customer’s Apple Pay payment method. +/// If you create the PaymentIntent with confirmation_method=manual, pass paymentMethod.stripeId as the payment_method and confirm=true. Otherwise, you can ignore this parameter. +/// +/// \param paymentInformation The underlying PKPayment created by Apple Pay. +/// If you create the PaymentIntent with confirmation_method=manual, you can collect shipping information using its shippingContact and shippingMethod properties. +/// +/// \param completion Call this with the PaymentIntent or SetupIntent client secret, or the error that occurred creating the PaymentIntent or SetupIntent. +/// +- (void)applePayContext:(_stpinternal_APContextSwift * _Nonnull)context didCreatePaymentMethod:(STPPaymentMethod * _Nonnull)paymentMethod paymentInformation:(PKPayment * _Nonnull)paymentInformation completion:(void (^ _Nonnull)(NSString * _Nullable, NSError * _Nullable))completion; +/// Called after the Apple Pay sheet is dismissed with the result of the payment. +/// Your implementation could stop a spinner and display a receipt view or error to the customer, for example. +/// \param status The status of the payment +/// +/// \param error The error that occurred, if any. +/// +- (void)applePayContext:(_stpinternal_APContextSwift * _Nonnull)context didCompleteWithStatus:(enum STPPaymentStatus)status error:(NSError * _Nullable)error; +@end + +@class UIImage; + +/// This protocol represents a payment method that a user can select and use to +/// pay. +/// The classes that conform to it and are supported by the UI: +///
    +///
  • +/// STPApplePay, which represents that the user wants to pay with +/// Apple Pay +///
  • +///
  • +/// STPPaymentMethod. Only STPPaymentMethod.type == STPPaymentMethodTypeCard and +/// STPPaymentMethod.type == STPPaymentMethodTypeFPX are supported by STPPaymentContext +/// and STPPaymentOptionsViewController +///
  • +///
  • +/// STPPaymentMethodParams. This should be used with non-reusable payment method, such +/// as FPX and iDEAL. Instead of reaching out to Stripe to create a PaymentMethod, you can +/// pass an STPPaymentMethodParams directly to Stripe when confirming a PaymentIntent. +/// @note card-based Sources, Cards, and FPX support this protocol for use +/// in a custom integration. +///
  • +///
+SWIFT_PROTOCOL("_TtP6Stripe16STPPaymentOption_") +@protocol STPPaymentOption +/// A small (32 x 20 points) logo image representing the payment method. For +/// example, the Visa logo for a Visa card, or the Apple Pay logo. +@property (nonatomic, readonly, strong) UIImage * _Nonnull image; +/// A small (32 x 20 points) logo image representing the payment method that can be +/// used as template for tinted icons. +@property (nonatomic, readonly, strong) UIImage * _Nonnull templateImage; +/// A string describing the payment method, such as “Apple Pay” or “Visa 4242”. +@property (nonatomic, readonly, copy) NSString * _Nonnull label; +/// Describes whether this payment option may be used multiple times. If it is not reusable, +/// the payment method must be discarded after use. +@property (nonatomic, readonly) BOOL isReusable; +@end + + +/// An empty class representing that the user wishes to pay via Apple Pay. This can +/// be checked on an STPPaymentContext, e.g: +/// \code +/// if paymentContext.selectedPaymentOption is STPApplePayPaymentOption { +/// // Don't ask the user for their card number; they want to pay with apple pay. +/// } +/// +/// \endcode +SWIFT_CLASS("_TtC6Stripe24STPApplePayPaymentOption") +@interface STPApplePayPaymentOption : NSObject +@property (nonatomic, readonly, strong) UIImage * _Nonnull image; +@property (nonatomic, readonly, strong) UIImage * _Nonnull templateImage; +@property (nonatomic, readonly, copy) NSString * _Nonnull label; +@property (nonatomic, readonly) BOOL isReusable; +/// :nodoc: +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) NSUInteger hash; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class SFSafariViewController; + +/// STPAuthenticationContext provides information required to present authentication challenges +/// to a user. +SWIFT_PROTOCOL("_TtP6Stripe24STPAuthenticationContext_") +@protocol STPAuthenticationContext +/// The Stripe SDK will modally present additional view controllers on top +/// of the authenticationPresentingViewController when required for user +/// authentication, like in the Challenge Flow for 3DS2 transactions. +- (UIViewController * _Nonnull)authenticationPresentingViewController SWIFT_WARN_UNUSED_RESULT; +@optional +/// This method is called before presenting a UIViewController for authentication. +/// @note STPPaymentHandler will not proceed until completion is called. +- (void)prepareAuthenticationContextForPresentation:(void (^ _Nonnull)(void))completion; +/// This method is called before presenting an SFSafariViewController for web-based authentication. +/// Implement this method to configure the SFSafariViewController instance, e.g. viewController.preferredBarTintColor = MyBarTintColor +/// @note Setting the delegate property has no effect. +- (void)configureSafariViewController:(SFSafariViewController * _Nonnull)viewController; +/// This method is called when an authentication UIViewController is about to be dismissed. +/// Implement this method to prepare your UI for the authentication view controller to be dismissed. For example, +/// if you requested authentication while displaying an STPBankSelectionViewController, you may want to hide +/// it to return the user to your desired view controller. +- (void)authenticationContextWillDismissViewController:(UIViewController * _Nonnull)viewController; +@end + +@class STPCustomer; + +/// A “bridge” from our pre-built UI (STPPaymentContext, STPPaymentOptionsViewController) +/// to your backend to fetch Customer-related information needed to power those views. +/// Typically, you will not need to implement this protocol yourself. You +/// should instead use STPCustomerContext, which implements +/// and manages retrieving and updating a Stripe customer for you. +/// seealso: +/// STPCustomerContext.h +/// If you would prefer retrieving and updating your Stripe customer object via +/// your own backend instead of using STPCustomerContext, you should make your +/// application’s API client conform to this interface. +SWIFT_PROTOCOL("_TtP6Stripe20STPBackendAPIAdapter_") +@protocol STPBackendAPIAdapter +/// Retrieve the customer to be displayed inside a payment context. +/// If you are not using STPCustomerContext: +/// On your backend, retrieve the Stripe customer associated with your currently +/// logged-in user ( https://stripe.com/docs/api#retrieve_customer ), and return +/// the raw JSON response from the Stripe API. Back in your iOS app, after you’ve +/// called this API, deserialize your API response into an STPCustomer object +/// (you can use the STPCustomerDeserializer class to do this). +/// seealso: +/// STPCard +/// \param completion call this callback when you’re done fetching and parsing the above information from your backend. For example, completion(customer, nil) (if your call succeeds) or completion(nil, error) if an error is returned. +/// +- (void)retrieveCustomer:(void (^ _Nullable)(STPCustomer * _Nullable, NSError * _Nullable))completion; +/// Retrieves a list of Payment Methods attached to a customer. +/// If you are implementing your own : +/// Call the list method ( https://stripe.com/docs/api/payment_methods/lists ) +/// with the Stripe customer. If this API call succeeds, call completion(paymentMethods) +/// with the list of PaymentMethods. Otherwise, call completion(error) with the error +/// that occurred. +/// \param completion Call this callback with the list of Payment Methods attached to the +/// customer. For example, completion(paymentMethods) (if your call succeeds) or +/// completion(error) if an error is returned. +/// +- (void)listPaymentMethodsForCustomerWithCompletion:(void (^ _Nullable)(NSArray * _Nullable, NSError * _Nullable))completion; +/// Adds a Payment Method to a customer. +/// If you are implementing your own : +/// On your backend, retrieve the Stripe customer associated with your logged-in user. +/// Then, call the Attach method on the Payment Method with that customer’s ID +/// ( https://stripe.com/docs/api/payment_methods/attach ). If this API call succeeds, +/// call completion(nil). Otherwise, call completion(error) with the error that +/// occurred. +/// \param paymentMethod A valid Payment Method +/// +/// \param completion Call this callback when you’re done adding the payment method +/// to the customer on your backend. For example, completion(nil) (if your call succeeds) +/// or completion(error) if an error is returned. +/// +- (void)attachPaymentMethodToCustomer:(STPPaymentMethod * _Nonnull)paymentMethod completion:(void (^ _Nullable)(NSError * _Nullable))completion; +@optional +/// Deletes the given Payment Method from the customer. +/// If you are implementing your own : +/// Call the Detach method ( https://stripe.com/docs/api/payment_methods/detach ) +/// on the Payment Method. If this API call succeeds, call completion(nil). +/// Otherwise, call completion(error) with the error that occurred. +/// \param paymentMethod The Payment Method to delete from the customer +/// +/// \param completion Call this callback when you’re done deleting the Payment Method +/// from the customer on your backend. For example, completion(nil) (if your call +/// succeeds) or completion(error) if an error is returned. +/// +- (void)detachPaymentMethodFromCustomer:(STPPaymentMethod * _Nonnull)paymentMethod completion:(void (^ _Nullable)(NSError * _Nullable))completion; +/// Sets the given shipping address on the customer. +/// If you are implementing your own : +/// On your backend, retrieve the Stripe customer associated with your logged-in user. +/// Then, call the Customer Update method ( https://stripe.com/docs/api#update_customer ) +/// specifying shipping to be the given shipping address. If this API call succeeds, +/// call completion(nil). Otherwise, call completion(error) with the error that occurred. +/// seealso: +/// https://stripe.com/docs/api#update_customer +/// \param shipping The shipping address to set on the customer +/// +/// \param completion call this callback when you’re done updating the customer on +/// your backend. For example, completion(nil) (if your call succeeds) or +/// completion(error) if an error is returned. +/// +- (void)updateCustomerWithShippingAddress:(STPAddress * _Nonnull)shipping completion:(void (^ _Nullable)(NSError * _Nullable))completion; +@end + + +/// Objects conforming to this protocol can be attached to a Stripe Customer object +/// as a payment source. +/// seealso: +/// https://stripe.com/docs/api#customer_object-sources +SWIFT_PROTOCOL("_TtP6Stripe17STPSourceProtocol_") +@protocol STPSourceProtocol +/// The Stripe ID of the source. +@property (nonatomic, readonly, copy) NSString * _Nonnull stripeID; +@end + +enum STPBankAccountHolderType : NSInteger; +enum STPBankAccountStatus : NSInteger; + +/// Representation of a user’s bank account details that have been tokenized with +/// the Stripe API. +/// seealso: +/// https://stripe.com/docs/api#bank_accounts +SWIFT_CLASS("_TtC6Stripe14STPBankAccount") +@interface STPBankAccount : NSObject +/// You cannot directly instantiate an STPBankAccount. You should only use one +/// that has been returned from an STPAPIClient callback. +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// The routing number for the bank account. This should be the ACH routing number, +/// not the wire routing number. +@property (nonatomic, readonly, copy) NSString * _Nullable routingNumber; +/// Two-letter ISO code representing the country the bank account is located in. +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// The default currency for the bank account. +@property (nonatomic, readonly, copy) NSString * _Nullable currency; +/// The last 4 digits of the account number. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// The name of the bank that owns the account. +@property (nonatomic, readonly, copy) NSString * _Nullable bankName; +/// The name of the person or business that owns the bank account. +@property (nonatomic, readonly, copy) NSString * _Nullable accountHolderName; +/// The type of entity that holds the account. +@property (nonatomic, readonly) enum STPBankAccountHolderType accountHolderType; +/// A proxy for the account number, this uniquely identifies the account and can be +/// used to compare equality of different bank accounts. +@property (nonatomic, readonly, copy) NSString * _Nullable fingerprint; +/// The validation status of the bank account. - seealso: STPBankAccountStatus +@property (nonatomic, readonly) enum STPBankAccountStatus status; +/// The Stripe ID for the bank account. +@property (nonatomic, readonly, copy) NSString * _Nullable bankAccountId SWIFT_DEPRECATED_MSG("Use stripeID (defined in STPSourceProtocol)"); +@property (nonatomic, readonly, copy) NSString * _Nonnull stripeID; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +- (BOOL)isEqual:(id _Nullable)bankAccount SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) NSUInteger hash; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// The type of entity that holds a bank account. +typedef SWIFT_ENUM(NSInteger, STPBankAccountHolderType, open) { +/// An individual holds this bank account. + STPBankAccountHolderTypeIndividual = 0, +/// A company holds this bank account. + STPBankAccountHolderTypeCompany = 1, +}; + + +/// Representation of a user’s bank account details. You can assemble these with +/// information that your user enters and then create Stripe tokens with them using +/// an STPAPIClient. +/// seealso: +/// https://stripe.com/docs/api#create_bank_account_token +SWIFT_CLASS("_TtC6Stripe20STPBankAccountParams") +@interface STPBankAccountParams : NSObject +/// The account number for the bank account. Currently must be a checking account. +@property (nonatomic, copy) NSString * _Nullable accountNumber; +/// The last 4 digits of the bank account’s account number, if it’s been set, +/// otherwise nil. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// The routing number for the bank account. This should be the ACH routing number, +/// not the wire routing number. +@property (nonatomic, copy) NSString * _Nullable routingNumber; +/// Two-letter ISO code representing the country the bank account is located in. +@property (nonatomic, copy) NSString * _Nullable country; +/// The default currency for the bank account. +@property (nonatomic, copy) NSString * _Nullable currency; +/// The name of the person or business that owns the bank account. +@property (nonatomic, copy) NSString * _Nullable accountHolderName; +/// The type of entity that holds the account. +/// Defaults to STPBankAccountHolderTypeIndividual. +@property (nonatomic) enum STPBankAccountHolderType accountHolderType; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initializes an empty STPBankAccountParams. +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +@end + +/// Possible validation states for a bank account. +typedef SWIFT_ENUM(NSInteger, STPBankAccountStatus, open) { +/// The account has had no activity or validation performed + STPBankAccountStatusNew = 0, +/// Stripe has determined this bank account exists. + STPBankAccountStatusValidated = 1, +/// Bank account verification has succeeded. + STPBankAccountStatusVerified = 2, +/// Verification for this bank account has failed. + STPBankAccountStatusVerificationFailed = 3, +/// A transfer sent to this bank account has failed. + STPBankAccountStatusErrored = 4, +}; + +/// The payment methods supported by STPBankSelectionViewController. +typedef SWIFT_ENUM(NSInteger, STPBankSelectionMethod, open) { +/// FPX (Malaysia) + STPBankSelectionMethodFPX = 0, +/// An unknown payment method + STPBankSelectionMethodUnknown = 1, +}; + +@protocol STPBankSelectionViewControllerDelegate; + +/// This view controller displays a list of banks of the specified type, allowing the user to select one to pay from. +/// Once a bank is selected, it will return a PaymentMethodParams object, which you can use to confirm a PaymentIntent +/// or inspect to obtain details about the selected bank. +SWIFT_CLASS("_TtC6Stripe30STPBankSelectionViewController") +@interface STPBankSelectionViewController : STPCoreTableViewController +/// A convenience initializer; equivalent to calling init( bankMethod:bankMethod configuration:STPPaymentConfiguration.shared theme:STPTheme.defaultTheme. +- (nonnull instancetype)initWithBankMethod:(enum STPBankSelectionMethod)bankMethod; +- (nonnull instancetype)initWithTheme:(STPTheme * _Nullable)theme; +/// Initializes a new STPBankSelectionViewController with the provided configuration and theme. Don’t forget to set the delegate property after initialization. +/// \param bankMethod The user will be presented with a list of banks for this payment method. STPBankSelectionMethodFPX is currently the only supported payment method. +/// +/// \param configuration The configuration to use. This determines the Stripe publishable key to use when querying metadata about the banks. - seealso: STPPaymentConfiguration +/// +/// \param theme The theme to use to inform the view controller’s visual appearance. - seealso: STPTheme +/// +- (nonnull instancetype)initWithBankMethod:(enum STPBankSelectionMethod)bankMethod configuration:(STPPaymentConfiguration * _Nonnull)configuration theme:(STPTheme * _Nonnull)theme OBJC_DESIGNATED_INITIALIZER; +/// The view controller’s delegate. This must be set before showing the view controller in order for it to work properly. - seealso: STPBankSelectionViewControllerDelegate +@property (nonatomic, weak) id _Nullable delegate; +/// The API Client to use to make requests. +/// Defaults to STPAPIClient.shared +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +/// :nodoc: +- (NSInteger)numberOfSectionsInTableView:(UITableView * _Nonnull)tableView SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (NSInteger)tableView:(UITableView * _Nonnull)tableView numberOfRowsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (UITableViewCell * _Nonnull)tableView:(UITableView * _Nonnull)tableView cellForRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)tableView:(UITableView * _Nonnull)tableView willDisplayCell:(UITableViewCell * _Nonnull)cell forRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath; +/// :nodoc: +- (CGFloat)tableView:(UITableView * _Nonnull)tableView heightForFooterInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (BOOL)tableView:(UITableView * _Nonnull)tableView shouldHighlightRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)tableView:(UITableView * _Nonnull)tableView didSelectRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE; +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE; +@end + + + +/// An STPBankSelectionViewControllerDelegate is notified when a user selects a bank. +SWIFT_PROTOCOL("_TtP6Stripe38STPBankSelectionViewControllerDelegate_") +@protocol STPBankSelectionViewControllerDelegate +/// This is called when the user selects a bank. +/// You can use the returned PaymentMethodParams to confirm a PaymentIntent, or inspect +/// it to obtain details about the selected bank. +/// Once you’re done, you’ll want to dismiss (or pop) the view controller. +/// \param bankViewController the view controller that created the PaymentMethodParams +/// +/// \param paymentMethodParams the PaymentMethodParams that was created. - seealso: STPPaymentMethodParams +/// +- (void)bankSelectionViewController:(STPBankSelectionViewController * _Nonnull)bankViewController didCreatePaymentMethodParams:(STPPaymentMethodParams * _Nonnull)paymentMethodParams; +@end + +/// What set of billing address information you need to collect from your user. +/// @note If the user is from a country that does not use zip/postal codes, +/// the user may not be asked for one regardless of this setting. +typedef SWIFT_ENUM(NSUInteger, STPBillingAddressFields, open) { +/// No billing address information + STPBillingAddressFieldsNone = 0, +/// Just request the user’s billing postal code + STPBillingAddressFieldsPostalCode = 1, +/// Request the user’s full billing address + STPBillingAddressFieldsFull = 2, +/// Just request the user’s billing name + STPBillingAddressFieldsName = 3, +/// Just request the user’s billing ZIP (synonym for STPBillingAddressFieldsZip) + STPBillingAddressFieldsZip = 4, +}; + +enum STPCardBrand : NSInteger; +enum STPCardFundingType : NSInteger; + +/// Representation of a user’s credit card details that have been tokenized with +/// the Stripe API +/// seealso: +/// https://stripe.com/docs/api#cards +SWIFT_CLASS("_TtC6Stripe7STPCard") +@interface STPCard : NSObject +/// The last 4 digits of the card. +@property (nonatomic, readonly, copy) NSString * _Nonnull last4; +/// For cards made with Apple Pay, this refers to the last 4 digits of the +/// “Device Account Number” for the tokenized card. For regular cards, it will +/// be nil. +@property (nonatomic, readonly, copy) NSString * _Nullable dynamicLast4; +/// Whether or not the card originated from Apple Pay. +@property (nonatomic, readonly) BOOL isApplePayCard; +/// The card’s expiration month. 1-indexed (i.e. 1 == January) +@property (nonatomic, readonly) NSInteger expMonth; +/// The card’s expiration year. +@property (nonatomic, readonly) NSInteger expYear; +/// The cardholder’s name. +@property (nonatomic, readonly, copy) NSString * _Nullable name; +/// The cardholder’s address. +@property (nonatomic, readonly, strong) STPAddress * _Nullable address; +/// The issuer of the card. +@property (nonatomic, readonly) enum STPCardBrand brand; +/// The funding source for the card (credit, debit, prepaid, or other) +@property (nonatomic, readonly) enum STPCardFundingType funding; +/// Two-letter ISO code representing the issuing country of the card. +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// This is only applicable when tokenizing debit cards to issue payouts to managed +/// accounts. You should not set it otherwise. The card can then be used as a +/// transfer destination for funds in this currency. +@property (nonatomic, readonly, copy) NSString * _Nullable currency; +/// Returns a string representation for the provided card brand; +/// i.e. STPCard.string(from brand: .visa) == "Visa". +/// \param brand the brand you want to convert to a string +/// +/// +/// returns: +/// A string representing the brand, suitable for displaying to a user. ++ (NSString * _Nonnull)stringFromBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// This parses a string representing a card’s brand into the appropriate +/// STPCardBrand enum value, +/// i.e. STPCard.brand(from string: "American Express") == .amex. +/// The string values themselves are specific to Stripe as listed in the Stripe API +/// documentation. +/// seealso: +/// https://stripe.com/docs/api#card_object-brand +/// \param string a string representing the card’s brand as returned from +/// the Stripe API +/// +/// +/// returns: +/// an enum value mapped to that string. If the string is unrecognized, +/// returns STPCardBrandUnknown. ++ (enum STPCardBrand)brandFromString:(NSString * _Nonnull)string SWIFT_WARN_UNUSED_RESULT; +/// Create an STPCard from a Stripe API response. +/// \param cardID The Stripe ID of the card, e.g. card_185iQx4JYtv6MPZKfcuXwkOx +/// +/// \param brand The brand of the card (e.g. “Visa”. To obtain this enum value +/// from a string, use STPCardBrand.brand(from string:string); +/// +/// \param last4 The last 4 digits of the card, e.g. 4242 +/// +/// \param expMonth The card’s expiration month, 1-indexed (i.e. 1 = January) +/// +/// \param expYear The card’s expiration year +/// +/// \param funding The card’s funding type (credit, debit, or prepaid). To obtain +/// this enum value from a string, use STPCardBrand.funding(from string:). +/// +/// +/// returns: +/// an STPCard instance populated with the provided values. +- (nonnull instancetype)initWithID:(NSString * _Nonnull)cardID brand:(enum STPCardBrand)brand last4:(NSString * _Nonnull)last4 expMonth:(NSInteger)expMonth expYear:(NSInteger)expYear funding:(enum STPCardFundingType)funding OBJC_DESIGNATED_INITIALIZER SWIFT_DEPRECATED_MSG("You cannot directly instantiate an STPCard. You should only use one that has been returned from an STPAPIClient callback."); +/// This parses a string representing a card’s funding type into the appropriate +/// STPCardFundingType enum value, +/// i.e. STPCard.funding(from string:"prepaid") == .prepaid. +/// \param string a string representing the card’s funding type as returned from +/// the Stripe API +/// +/// +/// returns: +/// an enum value mapped to that string. If the string is unrecognized, +/// returns STPCardFundingTypeOther. ++ (enum STPCardFundingType)fundingFromString:(NSString * _Nonnull)string SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, copy) NSString * _Nonnull stripeID; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +- (BOOL)isEqual:(id _Nullable)other SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) NSUInteger hash; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, strong) UIImage * _Nonnull image; +@property (nonatomic, readonly, strong) UIImage * _Nonnull templateImage; +@property (nonatomic, readonly, copy) NSString * _Nonnull label; +@property (nonatomic, readonly) BOOL isReusable; +/// A set of key/value pairs associated with the card object. +/// @deprecated Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead. +/// seealso: +/// https://stripe.com/docs/api#metadata +@property (nonatomic, readonly, copy) NSDictionary * _Nullable metadata SWIFT_DEPRECATED_MSG("Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead."); +/// The Stripe ID for the card. +@property (nonatomic, readonly, copy) NSString * _Nullable cardId SWIFT_DEPRECATED_MSG("Use stripeID (defined in STPSourceProtocol)"); +/// The first line of the cardholder’s address +@property (nonatomic, readonly, copy) NSString * _Nullable addressLine1 SWIFT_DEPRECATED_MSG("Use address.line1"); +/// The second line of the cardholder’s address +@property (nonatomic, readonly, copy) NSString * _Nullable addressLine2 SWIFT_DEPRECATED_MSG("Use address.line2"); +/// The city of the cardholder’s address +@property (nonatomic, readonly, copy) NSString * _Nullable addressCity SWIFT_DEPRECATED_MSG("Use address.city"); +/// The state of the cardholder’s address +@property (nonatomic, readonly, copy) NSString * _Nullable addressState SWIFT_DEPRECATED_MSG("Use address.state"); +/// The zip code of the cardholder’s address +@property (nonatomic, readonly, copy) NSString * _Nullable addressZip SWIFT_DEPRECATED_MSG("Use address.postalCode"); +/// The country of the cardholder’s address +@property (nonatomic, readonly, copy) NSString * _Nullable addressCountry SWIFT_DEPRECATED_MSG("Use address.country"); +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// The various card brands to which a payment card can belong. +typedef SWIFT_ENUM(NSInteger, STPCardBrand, open) { +/// Visa card + STPCardBrandVisa = 0, +/// American Express card + STPCardBrandAmex = 1, +/// Mastercard card + STPCardBrandMastercard = 2, +/// Discover card + STPCardBrandDiscover = 3, +/// JCB card + STPCardBrandJCB = 4, +/// Diners Club card + STPCardBrandDinersClub = 5, +/// UnionPay card + STPCardBrandUnionPay = 6, +/// An unknown card brand type + STPCardBrandUnknown = 7, +}; + + +/// Contains STPStringFromCardBrand +SWIFT_CLASS("_TtC6Stripe21STPCardBrandUtilities") +@interface STPCardBrandUtilities : NSObject +/// Returns a string representation for the provided card brand; +/// i.e. STPCardBrandUtilities.stringFrom(brand: .visa) == "Visa". +/// \param brand the brand you want to convert to a string +/// +/// +/// returns: +/// A string representing the brand, suitable for displaying to a user. ++ (NSString * _Nullable)stringFromCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// STPFormView is a base class for the Stripe SDK’s form input UI. You should use one of the available subclasses +/// (STPCardFormView) rather than instantiating an STPFormView instance directly. +SWIFT_CLASS("_TtC6Stripe11STPFormView") +@interface STPFormView : UIView +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; +/// :nodoc: +@property (nonatomic, readonly) BOOL canResignFirstResponder; +/// :nodoc: +- (BOOL)resignFirstResponder SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) BOOL isFirstResponder; +/// :nodoc: +@property (nonatomic, readonly) BOOL canBecomeFirstResponder; +/// :nodoc: +- (BOOL)becomeFirstResponder SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, getter=isUserInteractionEnabled) BOOL userInteractionEnabled; +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +@end + +@protocol STPCardFormViewDelegate; +enum STPCardFormViewStyle : NSInteger; + +/// STPCardFormView provides a multiline interface for users to input their +/// credit card details as well as billing postal code and provides an interface to access +/// the created STPPaymentMethodParams. +/// STPCardFormView includes both the input fields as well as an error label that +/// is displayed when invalid input is detected. +SWIFT_CLASS("_TtC6Stripe15STPCardFormView") +@interface STPCardFormView : STPFormView +/// The delegate to notify when the card form transitions to or from being complete. +/// seealso: +/// STPCardFormViewDelegate +@property (nonatomic, weak) id _Nullable delegate; +/// :nodoc: +@property (nonatomic, strong) UIColor * _Nullable backgroundColor; +/// The background color that is automatically applied to the input fields when isUserInteractionEnabled is set to false. @note STPCardFormView` uses text colors, most of which are iOS system colors, that are designed to be as +/// accessible as possible, so any customization should avoid decreasing contrast between the text and background. +@property (nonatomic, strong) UIColor * _Nullable disabledBackgroundColor; +/// A configured STPPaymentMethodParams with the entered card number, expiration date, cvc, and +/// postal code (if applicable). If any field is invalid or incomplete then this property will return nil. +/// You can monitor when STPCardFormView has complete details by implementing +/// STPFormViewDelegate and setting the STPCardFormView's delegate +/// property. +@property (nonatomic, readonly, strong) STPPaymentMethodParams * _Nullable cardParams; +@property (nonatomic, getter=isUserInteractionEnabled) BOOL userInteractionEnabled; +/// Public initializer for STPCardFormView. +/// @param style The visual style to use for this instance. @see STPCardFormViewStyle +- (nonnull instancetype)initWithStyle:(enum STPCardFormViewStyle)style; +@end + + + + +SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable) SWIFT_AVAILABILITY(ios_app_extension,unavailable) SWIFT_AVAILABILITY(ios,introduced=13.0) +@interface STPCardFormView (SWIFT_EXTENSION(Stripe)) +@end + + + +/// STPCardFormViewDelegate defines the interface that should be adopted to receive +/// updates from STPCardFormView instances. +SWIFT_PROTOCOL("_TtP6Stripe23STPCardFormViewDelegate_") +@protocol STPCardFormViewDelegate +/// Delegate method that is called when all of the form view’s required inputs +/// are complete or transition away from all being complete. These transitions +/// correspond to cardForView.cardParams returning a nil value or not. +- (void)cardFormView:(STPCardFormView * _Nonnull)form didChangeToStateComplete:(BOOL)complete; +@end + +/// Options for configuring the display of an STPCardFormView instance. +typedef SWIFT_ENUM(NSInteger, STPCardFormViewStyle, open) { +/// Draws the form in a rounded rect with full separators between +/// each input field. + STPCardFormViewStyleStandard = 0, +/// Draws the form without an outer border and underlines under +/// each input field. + STPCardFormViewStyleBorderless = 1, +}; + +/// The various funding sources for a payment card. +typedef SWIFT_ENUM(NSInteger, STPCardFundingType, open) { +/// Debit card funding + STPCardFundingTypeDebit = 0, +/// Credit card funding + STPCardFundingTypeCredit = 1, +/// Prepaid card funding + STPCardFundingTypePrepaid = 2, +/// An other or unknown type of funding source. + STPCardFundingTypeOther = 3, +}; + + +/// Representation of a user’s credit card details. You can assemble these with +/// information that your user enters and then create Stripe tokens with them using +/// an STPAPIClient. +/// seealso: +/// https://stripe.com/docs/api#cards +SWIFT_CLASS("_TtC6Stripe13STPCardParams") +@interface STPCardParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// A convenience initializer for creating a card params from a card payment method params. +- (nonnull instancetype)initWithPaymentMethodParams:(STPPaymentMethodParams * _Nonnull)paymentMethodParams; +/// The card’s number. +@property (nonatomic, copy) NSString * _Nullable number; +/// The last 4 digits of the card’s number, if it’s been set, otherwise nil. +- (NSString * _Nullable)last4 SWIFT_WARN_UNUSED_RESULT; +/// The card’s expiration month. +@property (nonatomic) NSUInteger expMonth; +/// The card’s expiration year. +@property (nonatomic) NSUInteger expYear; +/// The card’s security code, found on the back. +@property (nonatomic, copy) NSString * _Nullable cvc; +/// The cardholder’s name. +/// @note Changing this property will also changing the name of the +/// param’s address property. +@property (nonatomic, copy) NSString * _Nullable name; +/// The cardholder’s address. +/// @note Setting address to a new value will also change the name property to +/// be the value of address.name. However, changing address.name directly will +/// not* change name. +@property (nonatomic, strong) STPAddress * _Nonnull address; +/// Three-letter ISO currency code representing the currency paid out to the bank +/// account. This is only applicable when tokenizing debit cards to issue payouts +/// to managed accounts. You should not set it otherwise. The card can then be +/// used as a transfer destination for funds in this currency. +@property (nonatomic, copy) NSString * _Nullable currency; +/// The first line of the cardholder’s address +@property (nonatomic, copy) NSString * _Nullable addressLine1; +/// The second line of the cardholder’s address +@property (nonatomic, copy) NSString * _Nullable addressLine2; +/// The city of the cardholder’s address +@property (nonatomic, copy) NSString * _Nullable addressCity; +/// The state of the cardholder’s address +@property (nonatomic, copy) NSString * _Nullable addressState; +/// The zip code of the cardholder’s address +@property (nonatomic, copy) NSString * _Nullable addressZip; +/// The country of the cardholder’s address +@property (nonatomic, copy) NSString * _Nullable addressCountry; +/// Initializes an empty STPCardParams. +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +@end + +/// These fields indicate whether a card field represents a valid value, invalid +/// value, or incomplete value. +typedef SWIFT_ENUM(NSInteger, STPCardValidationState, open) { +/// The field’s contents are valid. For example, a valid, 16-digit card number. +/// Note that valid values may not be complete. For example: a US Zip code can +/// be 5 or 9 digits. A 5-digit code is Valid, but more text could be entered +/// to transition to incomplete again. American Express CVC codes can be 3 or +/// 4 digits and both will be treated as Valid. + STPCardValidationStateValid = 0, +/// The field’s contents are invalid. For example, an expiration date +/// of “13/42”. + STPCardValidationStateInvalid = 1, +/// The field’s contents are not currently valid, but could be by typing +/// additional characters. For example, a CVC of “1”. + STPCardValidationStateIncomplete = 2, +}; + + +/// This class contains static methods to validate card numbers, expiration dates, +/// and CVCs. For a list of test card numbers to use with this code, +/// see https://stripe.com/docs/testing +SWIFT_CLASS("_TtC6Stripe16STPCardValidator") +@interface STPCardValidator : NSObject +/// Returns a copy of the passed string with all non-numeric characters removed. ++ (NSString * _Nonnull)sanitizedNumericStringForString:(NSString * _Nonnull)string SWIFT_WARN_UNUSED_RESULT; +/// Returns a copy of the passed string with all characters removed that do not exist within a postal code. ++ (NSString * _Nonnull)sanitizedPostalStringForString:(NSString * _Nonnull)string SWIFT_WARN_UNUSED_RESULT; +/// Whether or not the target string contains only numeric characters. ++ (BOOL)stringIsNumeric:(NSString * _Nonnull)string SWIFT_WARN_UNUSED_RESULT; +/// Validates a card number, passed as a string. This will return +/// STPCardValidationStateInvalid for numbers that are too short or long, contain +/// invalid characters, do not pass Luhn validation, or (optionally) do not match +/// a number format issued by a major card brand. +/// \param cardNumber The card number to validate. Ex. @“4242424242424242” +/// +/// \param validatingCardBrand Whether or not to enforce that the number appears to +/// be issued by a major card brand (or could be). For example, no issuing card +/// network currently issues card numbers beginning with the digit 9; if an +/// otherwise correct-length and luhn-valid card number beginning with 9 +/// (example: 9999999999999995) were passed to this method, it would return +/// STPCardValidationStateInvalid if this parameter were YES and +/// STPCardValidationStateValid if this parameter were NO. If unsure, you should +/// use YES for this value. +/// +/// +/// returns: +/// STPCardValidationStateValid if the number is valid, +/// STPCardValidationStateInvalid if the number is invalid, or +/// STPCardValidationStateIncomplete if the number is a substring of a valid +/// card (e.g. @“4242”). ++ (enum STPCardValidationState)validationStateForNumber:(NSString * _Nullable)cardNumber validatingCardBrand:(BOOL)validatingCardBrand SWIFT_WARN_UNUSED_RESULT; +/// The card brand for a card number or substring thereof. +/// \param cardNumber A card number, or partial card number. For +/// example, @“4242”, @“5555555555554444”, or @“123”. +/// +/// +/// returns: +/// The brand for that card number. The example parameters would +/// return STPCardBrandVisa, STPCardBrandMasterCard, and +/// STPCardBrandUnknown, respectively. ++ (enum STPCardBrand)brandForNumber:(NSString * _Nonnull)cardNumber SWIFT_WARN_UNUSED_RESULT; +/// The possible number lengths for cards associated with a card brand. For +/// example, Discover card numbers contain 16 characters, while American Express +/// cards contain 15 characters. +/// \param brand The brand to return lengths for. +/// +/// +/// returns: +/// The set of possible lengths cards associated with that brand can be. ++ (NSSet * _Nonnull)lengthsForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// The maximum possible length the number of a card associated with the specified +/// brand could be. +/// For example, Visa cards could be either 13 or 16 characters, so this method +/// would return 16 for the that card brand. +/// \param brand The brand to return the max length for. +/// +/// +/// returns: +/// The maximum length card numbers associated with that brand could be. ++ (NSInteger)maxLengthForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// The length of the final grouping of digits to use when formatting a card number +/// for display. +/// For example, Visa cards display their final 4 numbers, e.g. “4242”, while +/// American Express cards display their final 5 digits, e.g. “10005”. +/// \param brand The brand to return the fragment length for. +/// +/// +/// returns: +/// The final fragment length card numbers associated with that brand use. ++ (NSInteger)fragmentLengthForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// Validates an expiration month, passed as an (optionally 0-padded) string. +/// Example valid values are “3”, “12”, and “08”. Example invalid values are “99”, +/// “a”, and “00”. Incomplete values include “0” and “1”. +/// \param expirationMonth A string representing a 2-digit expiration month for a +/// payment card. +/// +/// +/// returns: +/// STPCardValidationStateValid if the month is valid, +/// STPCardValidationStateInvalid if the month is invalid, or +/// STPCardValidationStateIncomplete if the month is a substring of a valid +/// month (e.g. @“0” or @“1”). ++ (enum STPCardValidationState)validationStateForExpirationMonth:(NSString * _Nonnull)expirationMonth SWIFT_WARN_UNUSED_RESULT; +/// Validates an expiration year, passed as a string representing the final +/// 2 digits of the year. +/// This considers the period between the current year until 2099 as valid times. +/// An example valid year value would be “16” (assuming the current year, as +/// determined by NSDate.date, is 2015). +/// Will return STPCardValidationStateInvalid for a month/year combination that +/// is earlier than the current date (i.e. @“15” and @“04” in October 2015). +/// Example invalid year values are “00”, “a”, and “13”. Any 1-digit year string +/// will return STPCardValidationStateIncomplete. +/// \param expirationYear A string representing a 2-digit expiration year for a +/// payment card. +/// +/// \param expirationMonth A string representing a valid 2-digit expiration month +/// for a payment card. If the month is invalid +/// (see validationStateForExpirationMonth), this will +/// return STPCardValidationStateInvalid. +/// +/// +/// returns: +/// STPCardValidationStateValid if the year is valid, +/// STPCardValidationStateInvalid if the year is invalid, or +/// STPCardValidationStateIncomplete if the year is a substring of a valid +/// year (e.g. @“1” or @“2”). ++ (enum STPCardValidationState)validationStateForExpirationYear:(NSString * _Nonnull)expirationYear inMonth:(NSString * _Nonnull)expirationMonth SWIFT_WARN_UNUSED_RESULT; +/// The max CVC length for a card brand (for example, American Express CVCs are +/// 4 digits, while all others are 3). +/// \param brand The brand to return the max CVC length for. +/// +/// +/// returns: +/// The maximum length of CVC numbers for cards associated with that brand. ++ (NSUInteger)maxCVCLengthForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// Validates a card’s CVC, passed as a numeric string, for the given card brand. +/// \param cvc the CVC to validate +/// +/// \param brand the card brand (can be determined from the card’s number +/// using brandForNumber) +/// +/// +/// returns: +/// Whether the CVC represents a valid CVC for that card brand. For +/// example, would return STPCardValidationStateValid for @“123” and +/// STPCardBrandVisa, STPCardValidationStateValid for @“1234” and +/// STPCardBrandAmericanExpress, STPCardValidationStateIncomplete for @“12” and +/// STPCardBrandVisa, and STPCardValidationStateInvalid for @“12345” and any brand. ++ (enum STPCardValidationState)validationStateForCVC:(NSString * _Nonnull)cvc cardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// Validates the given card details. +/// \param card The card details to validate. +/// +/// +/// returns: +/// STPCardValidationStateValid if all fields are valid, +/// STPCardValidationStateInvalid if any field is invalid, or +/// STPCardValidationStateIncomplete if all fields are either incomplete or valid. ++ (enum STPCardValidationState)validationStateForCard:(STPCardParams * _Nonnull)card SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + +/// Alipay options to pass to `STPConfirmPaymentMethodOptions`` +SWIFT_CLASS("_TtC6Stripe23STPConfirmAlipayOptions") +@interface STPConfirmAlipayOptions : NSObject +/// The app bundle ID. +/// @note This is automatically populated by the SDK. +@property (nonatomic, readonly, copy) NSString * _Nonnull appBundleID; +/// The app version. +/// @note This is automatically populated by the SDK. +@property (nonatomic, readonly, copy) NSString * _Nonnull appVersionKey; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPConfirmAlipayOptions (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// BLIK options to pass to `STPConfirmPaymentMethodOptions`` +/// seealso: +/// https://site-admin.stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-blik +SWIFT_CLASS("_TtC6Stripe21STPConfirmBLIKOptions") +@interface STPConfirmBLIKOptions : NSObject +/// The 6-digit BLIK code that a customer has generated using their banking application. +@property (nonatomic, copy) NSString * _Nonnull code; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// Initializes STPConfirmBLIKOptions +/// \param code The 6-digit BLIK code that a customer has generated using their banking application. +/// +- (nonnull instancetype)initWithCode:(NSString * _Nonnull)code OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPConfirmBLIKOptions (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Options to update a Card PaymentMethod during PaymentIntent confirmation. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card +SWIFT_CLASS("_TtC6Stripe21STPConfirmCardOptions") +@interface STPConfirmCardOptions : NSObject +/// CVC value with which to update the Card PaymentMethod. +@property (nonatomic, copy) NSString * _Nullable cvc; +/// Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time. +@property (nonatomic, copy) NSString * _Nullable network; +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPConfirmCardOptions (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + +@class STPConfirmWeChatPayOptions; + +/// Options to update the associated PaymentMethod during PaymentIntent confirmation. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-payment_method_options +SWIFT_CLASS("_TtC6Stripe30STPConfirmPaymentMethodOptions") +@interface STPConfirmPaymentMethodOptions : NSObject +/// Options to update a Card PaymentMethod. +/// seealso: +/// STPConfirmCardOptions +@property (nonatomic, strong) STPConfirmCardOptions * _Nullable cardOptions; +/// Options for an Alipay Payment Method. +@property (nonatomic, strong) STPConfirmAlipayOptions * _Nullable alipayOptions; +/// Options for a BLIK Payment Method. +@property (nonatomic, strong) STPConfirmBLIKOptions * _Nullable blikOptions; +/// Options for a WeChat Pay Payment Method. +@property (nonatomic, strong) STPConfirmWeChatPayOptions * _Nullable weChatPayOptions; +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + +@interface STPConfirmPaymentMethodOptions (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// WeChat Pay options to pass to `STPConfirmPaymentMethodOptions`` +/// seealso: +/// https://site-admin.stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-wechat_pay +SWIFT_CLASS("_TtC6Stripe26STPConfirmWeChatPayOptions") +@interface STPConfirmWeChatPayOptions : NSObject +/// Your WeChat-provided application ID. WeChat Pay uses +/// this as the redirect URL scheme. +@property (nonatomic, copy) NSString * _Nullable appId; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// Initializes STPConfirmWeChatPayOptions +/// \param appId Your WeChat-provided application ID. WeChat Pay +/// uses this as the redirect URL scheme. +/// +- (nonnull instancetype)initWithAppId:(NSString * _Nonnull)appId OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPConfirmWeChatPayOptions (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An address to use with STPConnectAccountParams. +SWIFT_CLASS("_TtC6Stripe24STPConnectAccountAddress") +@interface STPConnectAccountAddress : NSObject +/// City, district, suburb, town, or village. +/// For addresses in Japan: City or ward. +@property (nonatomic, copy) NSString * _Nullable city; +/// Two-letter country code (ISO 3166-1 alpha-2). +/// seealso: +/// https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 +@property (nonatomic, copy) NSString * _Nullable country; +/// Address line 1 (e.g., street, PO Box, or company name). +/// For addresses in Japan: Block or building number. +@property (nonatomic, copy) NSString * _Nullable line1; +/// Address line 2 (e.g., apartment, suite, unit, or building). +/// For addresses in Japan: Building details. +@property (nonatomic, copy) NSString * _Nullable line2; +/// ZIP or postal code. +@property (nonatomic, copy) NSString * _Nullable postalCode; +/// State, county, province, or region. +/// For addresses in Japan: Prefecture. +@property (nonatomic, copy) NSString * _Nullable state; +/// Town or cho-me. +/// This property only applies to Japanese addresses. +@property (nonatomic, copy) NSString * _Nullable town; +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPConnectAccountAddress (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + +/// The business type of the Connect account. +typedef SWIFT_ENUM(NSInteger, STPConnectAccountBusinessType, open) { +/// This Connect account represents an individual. + STPConnectAccountBusinessTypeIndividual = 0, +/// This Connect account represents a company. + STPConnectAccountBusinessTypeCompany = 1, +}; + +@class NSNumber; + +/// Information about the company or business to use with STPConnectAccountParams. +/// seealso: +/// https://stripe.com/docs/api/tokens/create_account#create_account_token-account-company +SWIFT_CLASS("_TtC6Stripe30STPConnectAccountCompanyParams") +@interface STPConnectAccountCompanyParams : NSObject +/// The company’s primary address. +@property (nonatomic, strong) STPConnectAccountAddress * _Null_unspecified address; +/// The Kana variation of the company’s primary address (Japan only). +@property (nonatomic, strong) STPConnectAccountAddress * _Nullable kanaAddress; +/// The Kanji variation of the company’s primary address (Japan only). +@property (nonatomic, strong) STPConnectAccountAddress * _Nullable kanjiAddress; +/// Whether the company’s directors have been provided. +/// Set this Boolean to true after creating all the company’s directors with the Persons API (https://stripe.com/docs/api/persons) for accounts with a relationship.director requirement. +/// This value is not automatically set to true after creating directors, so it needs to be updated to indicate all directors have been provided. +@property (nonatomic, strong) NSNumber * _Nullable directorsProvided; +/// The company’s legal name. +@property (nonatomic, copy) NSString * _Nullable name; +/// The Kana variation of the company’s legal name (Japan only). +@property (nonatomic, copy) NSString * _Nullable kanaName; +/// The Kanji variation of the company’s legal name (Japan only). +@property (nonatomic, copy) NSString * _Nullable kanjiName; +/// Whether the company’s owners have been provided. +/// Set this Boolean to true after creating all the company’s owners with the Persons API (https://stripe.com/docs/api/persons) for accounts with a relationship.owner requirement. +@property (nonatomic, strong) NSNumber * _Nullable ownersProvided; +/// The company’s phone number (used for verification). +@property (nonatomic, copy) NSString * _Nullable phone; +/// The business ID number of the company, as appropriate for the company’s country. +/// (Examples are an Employer ID Number in the U.S., a Business Number in Canada, or a Company Number in the UK.) +@property (nonatomic, copy) NSString * _Nullable taxID; +/// The jurisdiction in which the taxID is registered (Germany-based companies only). +@property (nonatomic, copy) NSString * _Nullable taxIDRegistrar; +/// The VAT number of the company. +@property (nonatomic, copy) NSString * _Nullable vatID; +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPConnectAccountCompanyParams (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + +@class STPConnectAccountIndividualVerification; + +/// Information about the person represented by the account for use with STPConnectAccountParams. +/// seealso: +/// https://stripe.com/docs/api/tokens/create_account#create_account_token-account-individual +SWIFT_CLASS("_TtC6Stripe33STPConnectAccountIndividualParams") +@interface STPConnectAccountIndividualParams : NSObject +/// The individual’s primary address. +@property (nonatomic, strong) STPConnectAccountAddress * _Nullable address; +/// The Kana variation of the the individual’s primary address (Japan only). +@property (nonatomic, strong) STPConnectAccountAddress * _Nullable kanaAddress; +/// The Kanji variation of the the individual’s primary address (Japan only). +@property (nonatomic, strong) STPConnectAccountAddress * _Nullable kanjiAddress; +/// The individual’s date of birth. +/// Must include day, month, and year, and only those fields are used. +@property (nonatomic, copy) NSDateComponents * _Nullable dateOfBirth; +/// The individual’s email address. +@property (nonatomic, copy) NSString * _Nullable email; +/// The individual’s first name. +@property (nonatomic, copy) NSString * _Nullable firstName; +/// The Kana variation of the the individual’s first name (Japan only). +@property (nonatomic, copy) NSString * _Nullable kanaFirstName; +/// The Kanji variation of the individual’s first name (Japan only). +@property (nonatomic, copy) NSString * _Nullable kanjiFirstName; +/// The individual’s gender +/// International regulations require either “male” or “female”. +@property (nonatomic, copy) NSString * _Nullable gender; +/// The government-issued ID number of the individual, as appropriate for the representative’s country. +/// Examples are a Social Security Number in the U.S., or a Social Insurance Number in Canada. +/// Instead of the number itself, you can also provide a PII token created with Stripe.js (see https://stripe.com/docs/stripe-js/reference#collecting-pii-data). +@property (nonatomic, copy) NSString * _Nullable idNumber; +/// The individual’s last name. +@property (nonatomic, copy) NSString * _Nullable lastName; +/// The Kana varation of the individual’s last name (Japan only). +@property (nonatomic, copy) NSString * _Nullable kanaLastName; +/// The Kanji varation of the individual’s last name (Japan only). +@property (nonatomic, copy) NSString * _Nullable kanjiLastName; +/// The individual’s maiden name. +@property (nonatomic, copy) NSString * _Nullable maidenName; +/// Set of key-value pairs that you can attach to an object. +/// This can be useful for storing additional information about the object in a structured format. +@property (nonatomic, copy) NSDictionary * _Nullable metadata; +/// The individual’s phone number. +@property (nonatomic, copy) NSString * _Nullable phone; +/// The last four digits of the individual’s Social Security Number (U.S. only). +@property (nonatomic, copy) NSString * _Nullable ssnLast4; +/// The individual’s verification document information. +@property (nonatomic, strong) STPConnectAccountIndividualVerification * _Nullable verification; +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPConnectAccountIndividualParams (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + +@class STPConnectAccountVerificationDocument; + +/// The individual’s verification document information for use with STPConnectAccountIndividualParams. +SWIFT_CLASS("_TtC6Stripe39STPConnectAccountIndividualVerification") +@interface STPConnectAccountIndividualVerification : NSObject +/// An identifying document, either a passport or local ID card. +@property (nonatomic, strong) STPConnectAccountVerificationDocument * _Nullable document; +/// A document showing address, either a passport, local ID card, or utility bill from a well-known utility company. +@property (nonatomic, strong) STPConnectAccountVerificationDocument * _Nullable additionalDocument; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPConnectAccountIndividualVerification (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Parameters for creating a Connect Account token. +/// seealso: +/// https://stripe.com/docs/api/tokens/create_account +SWIFT_CLASS("_TtC6Stripe23STPConnectAccountParams") +@interface STPConnectAccountParams : NSObject +/// Boolean indicating that the Terms Of Service were shown to the user & +/// the user accepted them. +@property (nonatomic, readonly, strong) NSNumber * _Nullable tosShownAndAccepted; +/// The business type. +@property (nonatomic, readonly) enum STPConnectAccountBusinessType businessType; +/// Information about the individual represented by the account. +@property (nonatomic, readonly, strong) STPConnectAccountIndividualParams * _Nullable individual; +/// Information about the company or business. +@property (nonatomic, readonly, strong) STPConnectAccountCompanyParams * _Nullable company; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initialize STPConnectAccountParams with tosShownAndAccepted = YES +/// This method cannot be called with wasAccepted == NO, guarded by a NSParameterAssert(). +/// Use this init method if you want to set the tosShownAndAccepted parameter. If you +/// don’t, use the initWithIndividual: version instead. +/// \param wasAccepted Must be YES, but only if the user was shown & accepted the ToS +/// +/// \param individual Information about the person represented by the account. See STPConnectAccountIndividualParams. +/// +- (nullable instancetype)initWithTosShownAndAccepted:(BOOL)wasAccepted individual:(STPConnectAccountIndividualParams * _Nonnull)individual OBJC_DESIGNATED_INITIALIZER; +/// Initialize STPConnectAccountParams with tosShownAndAccepted = YES +/// This method cannot be called with wasAccepted == NO, guarded by a NSParameterAssert(). +/// Use this init method if you want to set the tosShownAndAccepted parameter. If you +/// don’t, use the initWithCompany: version instead. +/// \param wasAccepted Must be YES, but only if the user was shown & accepted the ToS +/// +/// \param company Information about the company or business. See STPConnectAccountCompanyParams. +/// +- (nullable instancetype)initWithTosShownAndAccepted:(BOOL)wasAccepted company:(STPConnectAccountCompanyParams * _Nonnull)company OBJC_DESIGNATED_INITIALIZER; +/// Initialize STPConnectAccountParams with the provided individual dictionary. +/// \param individual Information about the person represented by the account +/// This init method cannot change the tosShownAndAccepted parameter. Use +/// initWithTosShownAndAccepted:individual: instead if you need to do that. +/// +- (nonnull instancetype)initWithIndividual:(STPConnectAccountIndividualParams * _Nonnull)individual OBJC_DESIGNATED_INITIALIZER; +/// Initialize STPConnectAccountParams with the provided company dictionary. +/// \param company Information about the company or business +/// This init method cannot change the tosShownAndAccepted parameter. Use +/// initWithTosShownAndAccepted:company: instead if you need to do that. +/// +- (nonnull instancetype)initWithCompany:(STPConnectAccountCompanyParams * _Nonnull)company OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPConnectAccountParams (SWIFT_EXTENSION(Stripe)) ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An identifying document, either a passport or local ID card for use with STPConnectAccountIndividualVerification. +SWIFT_CLASS("_TtC6Stripe37STPConnectAccountVerificationDocument") +@interface STPConnectAccountVerificationDocument : NSObject +/// The back of an ID returned by a file upload with a purpose value of identity_document. +/// seealso: +/// https://stripe.com/docs/api/files/create for file uploads +@property (nonatomic, copy) NSString * _Nullable back; +/// The front of an ID returned by a file upload with a purpose value of identity_document. +/// seealso: +/// https://stripe.com/docs/api/files/create for file uploads +@property (nonatomic, copy) NSString * _Nullable front; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPConnectAccountVerificationDocument (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Contains constants that represent different parts of a users contact/address information. +SWIFT_CLASS("_TtC6Stripe15STPContactField") +@interface STPContactField : NSObject +/// The contact’s full physical address. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPContactField * _Nonnull postalAddress;) ++ (STPContactField * _Nonnull)postalAddress SWIFT_WARN_UNUSED_RESULT; +/// The contact’s email address +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPContactField * _Nonnull emailAddress;) ++ (STPContactField * _Nonnull)emailAddress SWIFT_WARN_UNUSED_RESULT; +/// The contact’s phone number. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPContactField * _Nonnull phoneNumber;) ++ (STPContactField * _Nonnull)phoneNumber SWIFT_WARN_UNUSED_RESULT; +/// The contact’s name. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPContactField * _Nonnull name;) ++ (STPContactField * _Nonnull)name SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + + + +/// An STPCustomer represents a deserialized Customer object from the Stripe API. +/// You shouldn’t need to instantiate an STPCustomer – you should instead use +/// STPCustomerContext to manage retrieving and updating a customer. +SWIFT_CLASS("_TtC6Stripe11STPCustomer") +@interface STPCustomer : NSObject +/// The Stripe ID of the customer, e.g. cus_1234 +@property (nonatomic, readonly, copy) NSString * _Nonnull stripeID; +/// The default source used to charge the customer. +@property (nonatomic, readonly, strong) id _Nullable defaultSource; +/// The available payment sources the customer has (this may be an empty array). +@property (nonatomic, readonly, copy) NSArray> * _Nonnull sources; +/// The customer’s email address. +@property (nonatomic, readonly, copy) NSString * _Nullable email; +/// The customer’s shipping address. +@property (nonatomic, strong) STPAddress * _Nullable shippingAddress; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// Initialize a customer object with the provided values. +/// \param stripeID The ID of the customer, e.g. cus_abc +/// +/// \param defaultSource The default source of the customer, such as an STPCard object. Can be nil. +/// +/// \param sources All of the customer’s payment sources. This might be an empty array. +/// +/// +/// returns: +/// an instance of STPCustomer +- (nonnull instancetype)initWithStripeID:(NSString * _Nonnull)stripeID defaultSource:(id _Nullable)defaultSource sources:(NSArray> * _Nonnull)sources; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// Replaces the customer’s sources and defaultSource based on whether or not +/// they should include Apple Pay sources. More details on documentation for +/// STPCustomerContext includeApplePaySources +/// @param filteringApplePay If YES, Apple Pay sources will be ignored +- (void)updateSourcesFilteringApplePay:(BOOL)filteringApplePay; +@end + + +@interface STPCustomer (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +@protocol STPCustomerEphemeralKeyProvider; + +/// An STPCustomerContext retrieves and updates a Stripe customer and their attached +/// payment methods using an ephemeral key, a short-lived API key scoped to a specific +/// customer object. If your current user logs out of your app and a new user logs in, +/// be sure to either create a new instance of STPCustomerContext or clear the current +/// instance’s cache. On your backend, be sure to create and return a +/// new ephemeral key for the Customer object associated with the new user. +SWIFT_CLASS("_TtC6Stripe18STPCustomerContext") +@interface STPCustomerContext : NSObject +/// Initializes a new STPCustomerContext with the specified key provider. +/// Upon initialization, a CustomerContext will fetch a new ephemeral key from +/// your backend and use it to prefetch the customer object specified in the key. +/// Subsequent customer and payment method retrievals (e.g. by STPPaymentContext) +/// will return the prefetched customer / attached payment methods immediately if +/// its age does not exceed 60 seconds. +/// \param keyProvider The key provider the customer context will use. +/// +/// +/// returns: +/// the newly-instantiated customer context. +- (nonnull instancetype)initWithKeyProvider:(id _Nonnull)keyProvider; +/// Initializes a new STPCustomerContext with the specified key provider. +/// Upon initialization, a CustomerContext will fetch a new ephemeral key from +/// your backend and use it to prefetch the customer object specified in the key. +/// Subsequent customer and payment method retrievals (e.g. by STPPaymentContext) +/// will return the prefetched customer / attached payment methods immediately if +/// its age does not exceed 60 seconds. +/// \param keyProvider The key provider the customer context will use. +/// +/// \param apiClient The API Client to use to make requests. +/// +/// +/// returns: +/// the newly-instantiated customer context. +- (nonnull instancetype)initWithKeyProvider:(id _Nullable)keyProvider apiClient:(STPAPIClient * _Nonnull)apiClient; +/// STPCustomerContext will cache its customer object and associated payment methods +/// for up to 60 seconds. If your current user logs out of your app and a new user logs +/// in, be sure to either call this method or create a new instance of STPCustomerContext. +/// On your backend, be sure to create and return a new ephemeral key for the +/// customer object associated with the new user. +- (void)clearCache; +/// By default, STPCustomerContext will filter Apple Pay when it retrieves +/// Payment Methods. Apple Pay payment methods should generally not be re-used and +/// shouldn’t be offered to customers as a new payment method (Apple Pay payment +/// methods may only be re-used for subscriptions). +/// If you are using STPCustomerContext to back your own UI and would like to +/// disable Apple Pay filtering, set this property to YES. +/// Note: If you are using STPPaymentContext, you should not change this property. +@property (nonatomic) BOOL includeApplePayPaymentMethods; +- (void)retrieveCustomer:(void (^ _Nullable)(STPCustomer * _Nullable, NSError * _Nullable))completion; +- (void)updateCustomerWithShippingAddress:(STPAddress * _Nonnull)shipping completion:(void (^ _Nullable)(NSError * _Nullable))completion; +/// A convenience method for attaching the PaymentMethod to the current Customer +- (void)attachPaymentMethodToCustomerWithPaymentMethodId:(NSString * _Nonnull)paymentMethodId completion:(void (^ _Nullable)(NSError * _Nullable))completion; +- (void)attachPaymentMethodToCustomer:(STPPaymentMethod * _Nonnull)paymentMethod completion:(void (^ _Nullable)(NSError * _Nullable))completion; +/// A convenience method for detaching the PaymentMethod to the current Customer +- (void)detachPaymentMethodFromCustomerWithPaymentMethodId:(NSString * _Nonnull)paymentMethodId completion:(void (^ _Nullable)(NSError * _Nullable))completion; +- (void)detachPaymentMethodFromCustomer:(STPPaymentMethod * _Nonnull)paymentMethod completion:(void (^ _Nullable)(NSError * _Nullable))completion; +- (void)listPaymentMethodsForCustomerWithCompletion:(void (^ _Nullable)(NSArray * _Nullable, NSError * _Nullable))completion; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@class NSURLResponse; + +/// Use STPCustomerDeserializer to convert a response from the Stripe API into an STPCustomer object. STPCustomerDeserializer expects the JSON response to be in the exact same format as the Stripe API. +SWIFT_CLASS("_TtC6Stripe23STPCustomerDeserializer") +@interface STPCustomerDeserializer : NSObject +/// If a customer was successfully parsed from the response, it will be set here. Otherwise, this value wil be nil (and the error property will explain what went wrong). +@property (nonatomic, readonly, strong) STPCustomer * _Nullable customer; +/// If the deserializer failed to parse a customer, this property will explain why (and the customer property will be nil). +@property (nonatomic, readonly) NSError * _Nullable error; +/// Initialize a customer deserializer. The data, urlResponse, and error +/// parameters are intended to be passed from an NSURLSessionDataTask callback. +/// After it has been initialized, you can inspect the error and customer +/// properties to see if the deserialization was successful. If error is nil, +/// customer will be non-nil (and vice versa). +/// \param data An NSData object representing encoded JSON for a Customer object +/// +/// \param urlResponse The URL response obtained from the NSURLSessionTask +/// +/// \param error Any error that occurred from the URL session task (if this +/// is non-nil, the error property will be set to this value after initialization). +/// +- (nonnull instancetype)initWithData:(NSData * _Nullable)data urlResponse:(NSURLResponse * _Nullable)urlResponse error:(NSError * _Nullable)error; +/// Initializes a customer deserializer with a JSON dictionary. This JSON should be +/// in the exact same format as what the Stripe API returns. If it’s successfully +/// parsed, the customer parameter will be present after initialization; +/// otherwise error will be present. +/// \param json a JSON dictionary. +/// +- (nonnull instancetype)initWithJsonResponse:(id _Nullable)json; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// You should make your application’s API client conform to this interface. +/// It provides a way for Stripe utility classes to request a new ephemeral key from +/// your backend, which it will use to retrieve and update Stripe API objects. +SWIFT_PROTOCOL("_TtP6Stripe31STPCustomerEphemeralKeyProvider_") +@protocol STPCustomerEphemeralKeyProvider +/// Creates a new ephemeral key for retrieving and updating a Stripe customer. +/// On your backend, you should create a new ephemeral key for the Stripe customer +/// associated with your user, and return the raw JSON response from the Stripe API. +/// For an example Ruby implementation of this API, refer to our example backend: +/// https://github.com/stripe/example-mobile-backend/blob/v18.1.0/web.rb +/// Back in your iOS app, once you have a response from this API, call the provided +/// completion block with the JSON response, or an error if one occurred. +/// \param apiVersion The Stripe API version to use when creating a key. +/// You should pass this parameter to your backend, and use it to set the API version +/// in your key creation request. Passing this version parameter ensures that the +/// Stripe SDK can always parse the ephemeral key response from your server. +/// +/// \param completion Call this callback when you’re done fetching a new ephemeral +/// key from your backend. For example, completion(json, nil) (if your call succeeds) +/// or completion(nil, error) if an error is returned. +/// +- (void)createCustomerKeyWithAPIVersion:(NSString * _Nonnull)apiVersion completion:(void (^ _Nonnull)(NSDictionary * _Nullable, NSError * _Nullable))completion; +@end + + +/// An individual’s date of birth. +/// See https://stripe.com/docs/api/tokens/create_account#create_account_token-account-individual-dob +SWIFT_CLASS("_TtC6Stripe14STPDateOfBirth") +@interface STPDateOfBirth : NSObject +/// The day of birth, between 1 and 31. +@property (nonatomic) NSInteger day; +/// The month of birth, between 1 and 12. +@property (nonatomic) NSInteger month; +/// The four-digit year of birth. +@property (nonatomic) NSInteger year; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPDateOfBirth (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// You should make your application’s API client conform to this interface. +/// It provides a way for Stripe utility classes to request a new ephemeral key from +/// your backend, which it will use to retrieve and update Stripe API objects. +/// @deprecated use STPCustomerEphemeralKeyProvider or STPIssuingCardEphemeralKeyProvider +/// depending on the type of key that will@objc be fetched. +SWIFT_PROTOCOL("_TtP6Stripe23STPEphemeralKeyProvider_") SWIFT_DEPRECATED_MSG("use `STPCustomerEphemeralKeyProvider` or `STPIssuingCardEphemeralKeyProvider` depending on the type of key that will be fetched.") +@protocol STPEphemeralKeyProvider +@end + +enum STPFPXBankBrand : NSInteger; + +/// Convenience methods for using FPX bank brands. +SWIFT_CLASS("_TtC6Stripe10STPFPXBank") +@interface STPFPXBank : NSObject +/// Returns a string representation for the provided bank brand; +/// i.e. STPFPXBank.stringFrom(brand:.uob) == "UOB Bank". +/// \param brand The brand you want to convert to a string +/// +/// +/// returns: +/// A string representing the brand, suitable for displaying to a user. ++ (NSString * _Nullable)stringFrom:(enum STPFPXBankBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// Returns a bank brand provided a string representation identifying a bank brand; +/// i.e. STPFPXBankBrandFromIdentifier(@"uob") == STPCardBrandUob. +/// \param identifier The identifier for the brand +/// +/// +/// returns: +/// The STPFPXBankBrand enum value ++ (enum STPFPXBankBrand)brandFrom:(NSString * _Nullable)identifier SWIFT_WARN_UNUSED_RESULT; +/// Returns a string representation identifying the provided bank brand; +/// i.e. STPIdentifierFromFPXBankBrand(STPCardBrandUob) == @"uob". +/// \param brand The brand you want to convert to a string +/// +/// +/// returns: +/// A string representing the brand, suitable for using with the Stripe API. ++ (NSString * _Nullable)identifierFrom:(enum STPFPXBankBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// Returns the code identifying the provided bank brand in the FPX status API; +/// i.e. STPIdentifierFromFPXBankBrand(STPCardBrandUob) == @"UOB0226". +/// \param brand The brand you want to convert to an FPX bank code +/// +/// \param isBusiness Requests the code for the business version of this bank brand, which may be different from the code used for individual accounts +/// +/// +/// returns: +/// A string representing the brand, suitable for checking against the FPX status API. ++ (NSString * _Nullable)bankCodeFrom:(enum STPFPXBankBrand)brand :(BOOL)isBusiness SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +/// The various bank brands available for FPX payments. +typedef SWIFT_ENUM(NSInteger, STPFPXBankBrand, open) { +/// Maybank2U + STPFPXBankBrandMaybank2U = 0, +/// CIMB Clicks + STPFPXBankBrandCIMB = 1, +/// Public Bank + STPFPXBankBrandPublicBank = 2, +/// RHB Bank + STPFPXBankBrandRHB = 3, +/// Hong Leong Bank + STPFPXBankBrandHongLeongBank = 4, +/// AmBank + STPFPXBankBrandAmbank = 5, +/// Affin Bank + STPFPXBankBrandAffinBank = 6, +/// Alliance Bank + STPFPXBankBrandAllianceBank = 7, +/// Bank Islam + STPFPXBankBrandBankIslam = 8, +/// Bank Muamalat + STPFPXBankBrandBankMuamalat = 9, +/// Bank Rakyat + STPFPXBankBrandBankRakyat = 10, +/// BSN + STPFPXBankBrandBSN = 11, +/// HSBC BANK + STPFPXBankBrandHSBC = 12, +/// KFH + STPFPXBankBrandKFH = 13, +/// Maybank2E + STPFPXBankBrandMaybank2E = 14, +/// OCBC Bank + STPFPXBankBrandOcbc = 15, +/// Standard Chartered + STPFPXBankBrandStandardChartered = 16, +/// UOB Bank + STPFPXBankBrandUOB = 17, +/// An unknown bank + STPFPXBankBrandUnknown = 18, +}; + +@class PKAddPaymentPassRequestConfiguration; +@protocol PKAddPaymentPassViewControllerDelegate; + +/// This class is a piece of fake UI that is intended to mimic PKAddPaymentPassViewController. That class is restricted to apps with a special entitlement from Apple, and as such can be difficult to build and test against. This class implements the same public API as PKAddPaymentPassViewController, and can be used to develop against the Stripe API in testmode only. (Obviously it will not actually place cards into the user’s Apple Pay wallet either.) When it’s time to go to production, you may simply replace all references to STPFakeAddPaymentPassViewController in your app with PKAddPaymentPassViewController and it will continue to function. For more information on developing against this API, please see https://stripe.com/docs/issuing/cards/digital-wallets . +SWIFT_CLASS("_TtC6Stripe35STPFakeAddPaymentPassViewController") +@interface STPFakeAddPaymentPassViewController : UIViewController +/// @see PKAddPaymentPassViewController ++ (BOOL)canAddPaymentPass SWIFT_WARN_UNUSED_RESULT; +/// @see PKAddPaymentPassViewController +- (nullable instancetype)initWithRequestConfiguration:(PKAddPaymentPassRequestConfiguration * _Nonnull)configuration delegate:(id _Nullable)delegate OBJC_DESIGNATED_INITIALIZER; +/// @see PKAddPaymentPassViewController +@property (nonatomic, weak) id _Nullable delegate; +/// :nodoc: +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil; +/// :nodoc: +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder; +/// :nodoc: +- (void)viewDidLoad; +@end + +enum STPFilePurpose : NSInteger; + +/// Representation of a file upload object in the Stripe API. +/// seealso: +/// https://stripe.com/docs/api#file_uploads +SWIFT_CLASS("_TtC6Stripe7STPFile") +@interface STPFile : NSObject +/// The token for this file. +@property (nonatomic, readonly, copy) NSString * _Nullable fileId; +/// The date this file was created. +@property (nonatomic, readonly, copy) NSDate * _Nullable created; +/// The purpose of this file. This can be either an identifing document or an evidence dispute. +/// seealso: +/// https://stripe.com/docs/file-upload +@property (nonatomic, readonly) enum STPFilePurpose purpose; +/// The file size in bytes. +@property (nonatomic, readonly, strong) NSNumber * _Nullable size; +/// The file type. This can be “jpg”, “png”, or “pdf”. +@property (nonatomic, readonly, copy) NSString * _Nullable type; +/// Returns the string value for a purpose. ++ (NSString * _Nullable)stringFromPurpose:(enum STPFilePurpose)purpose SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// :nodoc: +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) NSUInteger hash; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// The purpose of the uploaded file. +/// seealso: +/// https://stripe.com/docs/file-upload +typedef SWIFT_ENUM(NSInteger, STPFilePurpose, open) { +/// Identity document file + STPFilePurposeIdentityDocument = 0, +/// Dispute evidence file + STPFilePurposeDisputeEvidence = 1, +/// A file of unknown purpose type + STPFilePurposeUnknown = 2, +}; + + + + + + + +/// This class lets you access card icons used by the Stripe SDK. All icons are 32 x 20 points. +SWIFT_CLASS("_TtC6Stripe15STPImageLibrary") +@interface STPImageLibrary : NSObject +/// An icon representing Apple Pay. ++ (UIImage * _Nonnull)applePayCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon representing American Express. ++ (UIImage * _Nonnull)amexCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon representing Diners Club. ++ (UIImage * _Nonnull)dinersClubCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon representing Discover. ++ (UIImage * _Nonnull)discoverCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon representing JCB. ++ (UIImage * _Nonnull)jcbCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon representing Mastercard. ++ (UIImage * _Nonnull)mastercardCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon representing UnionPay. ++ (UIImage * _Nonnull)unionPayCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon representing Visa. ++ (UIImage * _Nonnull)visaCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon to use when the type of the card is unknown. ++ (UIImage * _Nonnull)unknownCardCardImage SWIFT_WARN_UNUSED_RESULT; +/// This returns the appropriate icon for the specified card brand. ++ (UIImage * _Nonnull)brandImageForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// This returns the appropriate icon for the specified bank brand. ++ (UIImage * _Nonnull)brandImageForFPXBankBrand:(enum STPFPXBankBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// An icon representing FPX. ++ (UIImage * _Nonnull)fpxLogo SWIFT_WARN_UNUSED_RESULT; +/// A large branding image for FPX. ++ (UIImage * _Nonnull)largeFpxLogo SWIFT_WARN_UNUSED_RESULT; +/// An icon representing Afterpay. ++ (UIImage * _Nonnull)afterpayLogo SWIFT_WARN_UNUSED_RESULT; +/// This returns the appropriate icon for the specified card brand as a +/// single color template that can be tinted ++ (UIImage * _Nonnull)templatedBrandImageForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// This returns a small icon indicating the CVC location for the given card brand. ++ (UIImage * _Nonnull)cvcImageForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// This returns a small icon indicating a card number error for the given card brand. ++ (UIImage * _Nonnull)errorImageForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +enum STPIntentActionType : NSInteger; +@class STPIntentActionRedirectToURL; +@class STPIntentActionOXXODisplayDetails; +@class STPIntentActionAlipayHandleRedirect; +@class STPIntentActionWechatPayRedirectToApp; +@class STPIntentActionBoletoDisplayDetails; + +/// Next action details for STPPaymentIntent and STPSetupIntent. +/// This is a container for the various types that are available. +/// Check the type to see which one it is, and then use the related +/// property for the details necessary to handle it. +/// You cannot directly instantiate an STPIntentAction. +SWIFT_CLASS("_TtC6Stripe15STPIntentAction") +@interface STPIntentAction : NSObject +/// The type of action needed. The value of this field determines which +/// property of this object contains further details about the action. +@property (nonatomic, readonly) enum STPIntentActionType type; +/// The details for authorizing via URL, when type == .redirectToURL +@property (nonatomic, readonly, strong) STPIntentActionRedirectToURL * _Nullable redirectToURL; +/// The details for displaying OXXO voucher via URL, when type == .OXXODisplayDetails +@property (nonatomic, readonly, strong) STPIntentActionOXXODisplayDetails * _Nullable oxxoDisplayDetails; +/// Contains instructions for authenticating a payment by redirecting your customer to Alipay App or website. +@property (nonatomic, readonly, strong) STPIntentActionAlipayHandleRedirect * _Nullable alipayHandleRedirect; +/// Contains instructions for authenticating a payment by redirecting your customer to the WeChat Pay app. +@property (nonatomic, readonly, strong) STPIntentActionWechatPayRedirectToApp * _Nullable weChatPayRedirectToApp; +/// The details for displaying Boleto voucher via URL, when type == .boleto +@property (nonatomic, readonly, strong) STPIntentActionBoletoDisplayDetails * _Nullable boletoDisplayDetails; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPIntentAction (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface STPIntentAction (SWIFT_EXTENSION(Stripe)) +/// The details for authorizing via URL, when type == STPIntentActionTypeRedirectToURL +/// @deprecated Use redirectToURL instead. +@property (nonatomic, readonly, strong) STPIntentActionRedirectToURL * _Nullable authorizeWithURL SWIFT_DEPRECATED_MSG("Use `redirectToURL` instead.", "redirectToURL"); +@end + + +/// Contains instructions for authenticating a payment by redirecting your customer to Alipay App or website. +/// You cannot directly instantiate an STPPaymentIntentActionAlipayHandleRedirect. +SWIFT_CLASS("_TtC6Stripe35STPIntentActionAlipayHandleRedirect") +@interface STPIntentActionAlipayHandleRedirect : NSObject +/// The native URL you must redirect your customer to in order to authenticate the payment. +@property (nonatomic, readonly, copy) NSURL * _Nullable nativeURL; +/// If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion. +@property (nonatomic, readonly, copy) NSURL * _Nonnull returnURL; +/// The URL you must redirect your customer to in order to authenticate the payment. +@property (nonatomic, readonly, copy) NSURL * _Nonnull url; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPIntentActionAlipayHandleRedirect (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + + +/// Contains Boleto details necessary for the customer to complete the payment. +SWIFT_CLASS("_TtC6Stripe35STPIntentActionBoletoDisplayDetails") +@interface STPIntentActionBoletoDisplayDetails : NSObject +/// The boleto voucher number. +@property (nonatomic, readonly, copy) NSString * _Nonnull number; +/// The expiry date of the boleto voucher. +@property (nonatomic, readonly, copy) NSDate * _Nonnull expiresAt; +/// The URL to the hosted boleto voucher page, which allows customers to view the boleto voucher. +@property (nonatomic, readonly, copy) NSURL * _Nonnull hostedVoucherURL; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// Contains OXXO details necessary for the customer to complete the payment. +SWIFT_CLASS("_TtC6Stripe33STPIntentActionOXXODisplayDetails") +@interface STPIntentActionOXXODisplayDetails : NSObject +/// The timestamp after which the OXXO voucher expires. +@property (nonatomic, readonly, copy) NSDate * _Nonnull expiresAfter; +/// The URL for the hosted OXXO voucher page, which allows customers to view and print an OXXO voucher. +@property (nonatomic, readonly, copy) NSURL * _Nonnull hostedVoucherURL; +/// OXXO reference number. +@property (nonatomic, readonly, copy) NSString * _Nonnull number; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// Contains instructions for authenticating a payment by redirecting your customer to another page or application. +/// You cannot directly instantiate an STPIntentActionRedirectToURL. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/object#payment_intent_object-next_action +SWIFT_CLASS("_TtC6Stripe28STPIntentActionRedirectToURL") +@interface STPIntentActionRedirectToURL : NSObject +/// The URL you must redirect your customer to in order to authenticate the payment. +@property (nonatomic, readonly, copy) NSURL * _Nonnull url; +/// The return URL that’ll be redirected back to when the user is done +/// authenticating. +@property (nonatomic, readonly, copy) NSURL * _Nullable returnURL; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPIntentActionRedirectToURL (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// Types of next actions for STPPaymentIntent and STPSetupIntent. +/// You shouldn’t need to inspect this yourself; STPPaymentHandler will handle any next actions for you. +typedef SWIFT_ENUM(NSInteger, STPIntentActionType, open) { +/// This is an unknown action that’s been added since the SDK +/// was last updated. +/// Update your SDK, or use the nextAction.allResponseFields +/// for custom handling. + STPIntentActionTypeUnknown = 0, +/// The payment intent needs to be authorized by the user. We provide +/// STPPaymentHandler to handle the url redirections necessary. + STPIntentActionTypeRedirectToURL = 1, +/// The payment intent requires additional action handled by STPPaymentHandler. + STPIntentActionTypeUseStripeSDK = 2, +/// The action type is OXXO payment. We provide STPPaymentHandler to display +/// the OXXO voucher. + STPIntentActionTypeOXXODisplayDetails = 3, +/// Contains instructions for authenticating a payment by redirecting your customer to Alipay App or website. + STPIntentActionTypeAlipayHandleRedirect = 4, +/// The action type for BLIK payment methods. The customer must authorize the transaction in their banking app within 1 minute. + STPIntentActionTypeBLIKAuthorize = 5, +/// Contains instructions for authenticating a payment by redirecting your customer to the WeChat Pay App. + STPIntentActionTypeWeChatPayRedirectToApp = 6, +/// The payment intent requires authorization with Payment Sheet. + STPIntentActionTypeLinkAuthenticateAccount = 7, +/// The action type is Boleto payment. We provide STPPaymentHandler to display the Boleto voucher. + STPIntentActionTypeBoletoDisplayDetails = 8, +}; + + +/// Contains instructions for authenticating a payment by redirecting your customer to WeChat Pay app. +/// You cannot directly instantiate an STPIntentActionWechatPayRedirectToApp. +SWIFT_CLASS("_TtC6Stripe37STPIntentActionWechatPayRedirectToApp") +@interface STPIntentActionWechatPayRedirectToApp : NSObject +/// The native URL you must redirect your customer to in order to authenticate the payment. +@property (nonatomic, readonly, copy) NSURL * _Nullable nativeURL; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPIntentActionWechatPayRedirectToApp (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// You should make your application’s API client conform to this interface. +/// It provides a way for Stripe utility classes to request a new ephemeral key from +/// your backend, which it will use to retrieve and update Stripe API objects. +SWIFT_PROTOCOL("_TtP6Stripe34STPIssuingCardEphemeralKeyProvider_") +@protocol STPIssuingCardEphemeralKeyProvider +/// Creates a new ephemeral key for retrieving and updating a Stripe Issuing Card. +/// On your backend, you should create a new ephemeral key for your logged-in user’s +/// primary Issuing Card, and return the raw JSON response from the Stripe API. +/// For an example Ruby implementation of this API, refer to our example backend: +/// https://github.com/stripe/example-mobile-backend/blob/v18.1.0/web.rb +/// Back in your iOS app, once you have a response from this API, call the provided +/// completion block with the JSON response, or an error if one occurred. +/// \param apiVersion The Stripe API version to use when creating a key. +/// You should pass this parameter to your backend, and use it to set the API version +/// in your key creation request. Passing this version parameter ensures that the +/// Stripe SDK can always parse the ephemeral key response from your server. +/// +/// \param completion Call this callback when you’re done fetching a new ephemeral +/// key from your backend. For example, completion(json, nil) (if your call succeeds) +/// or completion(nil, error) if an error is returned. +/// +- (void)createIssuingCardKeyWithAPIVersion:(NSString * _Nonnull)apiVersion completion:(void (^ _Nonnull)(NSDictionary * _Nullable, NSError * _Nullable))completion; +@end + + +/// Information related to a Stripe Issuing card, including the PIN +SWIFT_CLASS("_TtC6Stripe17STPIssuingCardPin") +@interface STPIssuingCardPin : NSObject +/// The PIN for the card +@property (nonatomic, readonly, copy) NSString * _Nullable pin; +/// If the PIN failed to be created, this error might be present +@property (nonatomic, readonly, copy) NSDictionary * _Nullable error; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPIssuingCardPin (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +enum STPKlarnaLineItemType : NSInteger; + +/// An object representing a line item in a Klarna source. +/// seealso: +/// https://stripe.com/docs/sources/klarna#create-source +SWIFT_CLASS("_TtC6Stripe17STPKlarnaLineItem") +@interface STPKlarnaLineItem : NSObject +/// The line item’s type. One of sku (for a product), tax (for taxes), or shipping (for shipping costs). +@property (nonatomic) enum STPKlarnaLineItemType itemType; +/// The human-readable description for the line item. +@property (nonatomic, copy) NSString * _Nonnull itemDescription; +/// The quantity to display for this line item. +@property (nonatomic, strong) NSNumber * _Nonnull quantity; +/// The total price of this line item. +/// Note: This is the total price after multiplying by the quantity, not +/// the price of an individual item. It is denominated in the currency +/// of the STPSourceParams which contains it. +@property (nonatomic, strong) NSNumber * _Nonnull totalAmount; +/// Initialize this STPKlarnaLineItem with a set of parameters. +/// \param itemType The line item’s type. +/// +/// \param itemDescription The human-readable description for the line item. +/// +/// \param quantity The quantity to display for this line item. +/// +/// \param totalAmount The total price of this line item. +/// +- (nonnull instancetype)initWithItemType:(enum STPKlarnaLineItemType)itemType itemDescription:(NSString * _Nonnull)itemDescription quantity:(NSNumber * _Nonnull)quantity totalAmount:(NSNumber * _Nonnull)totalAmount OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// The type of the Klarna line item. +typedef SWIFT_ENUM(NSInteger, STPKlarnaLineItemType, open) { +/// The line item for a product + STPKlarnaLineItemTypeSKU = 0, +/// The line item for taxes + STPKlarnaLineItemTypeTax = 1, +/// The line item for shipping costs + STPKlarnaLineItemTypeShipping = 2, +}; + +/// Custom payment methods for Klarna +/// seealso: +/// https://stripe.com/docs/sources/klarna#create-source +typedef SWIFT_ENUM(NSInteger, STPKlarnaPaymentMethods, open) { +/// Don’t specify any custom payment methods. + STPKlarnaPaymentMethodsNone = 0, +/// Offer payments over 4 installments. (a.k.a. Pay Later in 4) + STPKlarnaPaymentMethodsPayIn4 = 1, +/// Offer payments over an arbitrary number of installments. (a.k.a. Slice It) + STPKlarnaPaymentMethodsInstallments = 2, +/// Offer payments over 4 or an arbitrary number of installments. + STPKlarnaPaymentMethodsPayIn4OrInstallments = 3, +}; + +enum STPMandateCustomerAcceptanceType : NSInteger; +@class STPMandateOnlineParams; + +/// An object that contains details about the customer acceptance of the Mandate. - seealso: https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-mandate_data-customer_acceptance +SWIFT_CLASS("_TtC6Stripe34STPMandateCustomerAcceptanceParams") +@interface STPMandateCustomerAcceptanceParams : NSObject +/// The type of customer acceptance information included with the Mandate. +@property (nonatomic) enum STPMandateCustomerAcceptanceType type; +/// If this is a Mandate accepted online, this object contains details about the online acceptance. +/// @note If type == STPMandateCustomerAcceptanceTypeOnline, this value must be non-nil. +@property (nonatomic, strong) STPMandateOnlineParams * _Nullable onlineParams; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initializes an empty STPMandateCustomerAcceptanceParams. +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + +/// The type of customer acceptance information included with the Mandate. +typedef SWIFT_ENUM(NSInteger, STPMandateCustomerAcceptanceType, open) { +/// A Mandate that was accepted online. + STPMandateCustomerAcceptanceTypeOnline = 0, +/// A Mandate that was accepted offline. + STPMandateCustomerAcceptanceTypeOffline = 1, +}; + + +/// This object contains details about the Mandate to create. - seealso: https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-mandate_data +SWIFT_CLASS("_TtC6Stripe20STPMandateDataParams") +@interface STPMandateDataParams : NSObject +/// Details about the customer acceptance of the Mandate. +@property (nonatomic, readonly, strong) STPMandateCustomerAcceptanceParams * _Nonnull customerAcceptance; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initializes an STPMandateDataParams from an STPMandateCustomerAcceptanceParams. +- (nonnull instancetype)initWithCustomerAcceptance:(STPMandateCustomerAcceptanceParams * _Nonnull)customerAcceptance OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPMandateDataParams (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Contains details about a Mandate accepted online. - seealso: https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-mandate_data-customer_acceptance-online +SWIFT_CLASS("_TtC6Stripe22STPMandateOnlineParams") +@interface STPMandateOnlineParams : NSObject +/// The IP address from which the Mandate was accepted by the customer. +@property (nonatomic, readonly, copy) NSString * _Nonnull ipAddress; +/// The user agent of the browser from which the Mandate was accepted by the customer. +@property (nonatomic, readonly, copy) NSString * _Nonnull userAgent; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initializes an STPMandateOnlineParams. +/// \param ipAddress The IP address from which the Mandate was accepted by the customer. +/// +/// \param userAgent The user agent of the browser from which the Mandate was accepted by the customer. +/// +/// +/// returns: +/// A new STPMandateOnlineParams instance with the specified parameters. +- (nonnull instancetype)initWithIPAddress:(NSString * _Nonnull)ipAddress userAgent:(NSString * _Nonnull)userAgent OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPMandateOnlineParams (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + + +/// This class can be used wherever you’d use a UIActivityIndicatorView and is intended to have a similar API. It renders as a spinning circle with a gap in it, similar to what you see in the App Store app or in the Apple Pay dialog when making a purchase. To change its color, set the tintColor property. +SWIFT_CLASS("_TtC6Stripe31STPPaymentActivityIndicatorView") +@interface STPPaymentActivityIndicatorView : UIView +/// Tell the view to start or stop spinning. If hidesWhenStopped is true, it will fade in/out if animated is true. +- (void)setAnimating:(BOOL)animating animated:(BOOL)animated; +/// Whether or not the view is animating. +@property (nonatomic) BOOL animating; +/// If true, the view will hide when it is not spinning. Default is true. +@property (nonatomic) BOOL hidesWhenStopped; +/// :nodoc: +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +/// :nodoc: +@property (nonatomic, strong) UIColor * _Null_unspecified tintColor; +/// :nodoc: +- (void)layoutSubviews; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE; +@end + +@class STPPaymentMethodCardParams; +@class UITraitCollection; + +/// STPPaymentCardTextField is a text field with similar properties to UITextField, +/// but specialized for credit/debit card information. It manages +/// multiple UITextFields under the hood to collect this information. It’s +/// designed to fit on a single line, and from a design perspective can be used +/// anywhere a UITextField would be appropriate. +IB_DESIGNABLE +SWIFT_CLASS("_TtC6Stripe23STPPaymentCardTextField") +@interface STPPaymentCardTextField : UIControl +/// :nodoc: +- (BOOL)textField:(UITextField * _Nonnull)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString * _Nonnull)string SWIFT_WARN_UNUSED_RESULT; +/// seealso: +/// STPPaymentCardTextFieldDelegate +@property (nonatomic, weak) IBOutlet id _Nullable delegate; +/// The font used in each child field. Default is UIFont.systemFont(ofSize:18). +@property (nonatomic, strong) UIFont * _Nonnull font; +/// The text color to be used when entering valid text. Default is .label. +@property (nonatomic, strong) UIColor * _Nonnull textColor; +/// The text color to be used when the user has entered invalid information, +/// such as an invalid card number. +/// Default is .red. +@property (nonatomic, strong) UIColor * _Nonnull textErrorColor; +/// The text placeholder color used in each child field. +/// This will also set the color of the card placeholder icon. +/// Default is .systemGray2. +@property (nonatomic, strong) UIColor * _Nonnull placeholderColor; +/// The placeholder for the card number field. +/// Default is “4242424242424242”. +/// If this is set to something that resembles a card number, it will automatically +/// format it as such (in other words, you don’t need to add spaces to this string). +@property (nonatomic, copy) IBInspectable NSString * _Nullable numberPlaceholder; +/// The placeholder for the expiration field. Defaults to “MM/YY”. +@property (nonatomic, copy) IBInspectable NSString * _Nullable expirationPlaceholder; +/// The placeholder for the cvc field. Defaults to “CVC”. +@property (nonatomic, copy) IBInspectable NSString * _Nullable cvcPlaceholder; +/// The placeholder for the postal code field. Defaults to “ZIP” for United States +/// or @“Postal” for all other country codes. +@property (nonatomic, copy) IBInspectable NSString * _Nullable postalCodePlaceholder; +/// The cursor color for the field. +/// This is a proxy for the view’s tintColor property, exposed for clarity only +/// (in other words, calling setCursorColor is identical to calling setTintColor). +@property (nonatomic, strong) UIColor * _Nonnull cursorColor; +/// The border color for the field. +/// Can be nil (in which case no border will be drawn). +/// Default is .systemGray2. +@property (nonatomic, strong) UIColor * _Nullable borderColor; +/// The width of the field’s border. +/// Default is 1.0. +@property (nonatomic) CGFloat borderWidth; +/// The corner radius for the field’s border. +/// Default is 5.0. +@property (nonatomic) CGFloat cornerRadius; +/// The keyboard appearance for the field. +/// Default is UIKeyboardAppearanceDefault. +@property (nonatomic) UIKeyboardAppearance keyboardAppearance; +/// This behaves identically to setting the inputView for each child text field. +@property (nonatomic, strong) UIView * _Nullable inputView; +/// This behaves identically to setting the inputAccessoryView for each child text field. +@property (nonatomic, strong) UIView * _Nullable inputAccessoryView; +/// The curent brand image displayed in the receiver. +@property (nonatomic, readonly, strong) UIImage * _Nullable brandImage; +/// Whether or not the form currently contains a valid card number, +/// expiration date, CVC, and postal code (if required). +/// seealso: +/// STPCardValidator +@property (nonatomic, readonly) BOOL isValid; +/// Enable/disable selecting or editing the field. Useful when submitting card details to Stripe. +@property (nonatomic, getter=isEnabled) BOOL enabled; +/// The current card number displayed by the field. +/// May or may not be valid, unless isValid is true, in which case it is guaranteed +/// to be valid. +@property (nonatomic, readonly, copy) NSString * _Nullable cardNumber; +/// The current expiration month displayed by the field (1 = January, etc). +/// May or may not be valid, unless isValid is true, in which case it is +/// guaranteed to be valid. +@property (nonatomic, readonly) NSInteger expirationMonth; +/// The current expiration month displayed by the field, as a string. T +/// This may or may not be a valid entry (i.e. “0”) unless isValid is true. +/// It may be also 0-prefixed (i.e. “01” for January). +@property (nonatomic, readonly, copy) NSString * _Nullable formattedExpirationMonth; +/// The current expiration year displayed by the field, modulo 100 +/// (e.g. the year 2015 will be represented as 15). +/// May or may not be valid, unless isValid is true, in which case it is +/// guaranteed to be valid. +@property (nonatomic, readonly) NSInteger expirationYear; +/// The current expiration year displayed by the field, as a string. +/// This is a 2-digit year (i.e. “15”), and may or may not be a valid entry +/// unless isValid is true. +@property (nonatomic, readonly, copy) NSString * _Nullable formattedExpirationYear; +/// The current card CVC displayed by the field. +/// May or may not be valid, unless isValid is true, in which case it +/// is guaranteed to be valid. +@property (nonatomic, readonly, copy) NSString * _Nullable cvc; +/// The current card ZIP or postal code displayed by the field. +@property (nonatomic, copy) NSString * _Nullable postalCode; +/// Controls if a postal code entry field can be displayed to the user. +/// Default is YES. +/// If YES, the type of code entry shown is controlled by the set countryCode +/// value. Some country codes may result in no postal code entry being shown if +/// those countries do not commonly use postal codes. +/// If NO, no postal code entry will ever be displayed. +@property (nonatomic) BOOL postalCodeEntryEnabled; +/// The two-letter ISO country code that corresponds to the user’s billing address. +/// If postalCodeEntryEnabled is YES, this controls which type of entry is allowed. +/// If postalCodeEntryEnabled is NO, this property currently has no effect. +/// If set to nil and postal code entry is enabled, the country from the user’s current +/// locale will be filled in. Otherwise the specific country code set will be used. +/// By default this will fetch the user’s current country code from NSLocale. +@property (nonatomic, copy) NSString * _Nullable countryCode; +/// Convenience property for creating an STPPaymentMethodCardParams from the currently entered information +/// or programmatically setting the field’s contents. For example, if you’re using another library +/// to scan your user’s credit card with a camera, you can assemble that data into an STPPaymentMethodCardParams +/// object and set this property to that object to prefill the fields you’ve collected. +/// Accessing this property returns a copied cardParams. The only way to change properties in this +/// object is to make changes to a STPPaymentMethodCardParams you own (retrieved from this text field if desired), +/// and then set this property to the new value. +@property (nonatomic, strong) STPPaymentMethodCardParams * _Nonnull cardParams; +/// Causes the text field to begin editing. Presents the keyboard. +/// seealso: +/// UIResponder +/// +/// returns: +/// Whether or not the text field successfully began editing. +- (BOOL)becomeFirstResponder; +/// Causes the text field to stop editing. Dismisses the keyboard. +/// seealso: +/// UIResponder +/// +/// returns: +/// Whether or not the field successfully stopped editing. +- (BOOL)resignFirstResponder; +/// Resets all of the contents of all of the fields. If the field is currently being edited, the number field will become selected. +- (void)clear; +/// Returns the cvc image used for a card brand. +/// Override this method in a subclass if you would like to provide custom images. +/// \param cardBrand The brand of card entered. +/// +/// +/// returns: +/// The cvc image used for a card brand. ++ (UIImage * _Nullable)cvcImageForCardBrand:(enum STPCardBrand)cardBrand SWIFT_WARN_UNUSED_RESULT; +/// Returns the brand image used for a card brand. +/// Override this method in a subclass if you would like to provide custom images. +/// \param cardBrand The brand of card entered. +/// +/// +/// returns: +/// The brand image used for a card brand. ++ (UIImage * _Nullable)brandImageForCardBrand:(enum STPCardBrand)cardBrand SWIFT_WARN_UNUSED_RESULT; +/// Returns the error image used for a card brand. +/// Override this method in a subclass if you would like to provide custom images. +/// \param cardBrand The brand of card entered. +/// +/// +/// returns: +/// The error image used for a card brand. ++ (UIImage * _Nullable)errorImageForCardBrand:(enum STPCardBrand)cardBrand SWIFT_WARN_UNUSED_RESULT; +/// Returns the rectangle in which the receiver draws its brand image. +/// \param bounds The bounding rectangle of the receiver. +/// +/// +/// returns: +/// the rectangle in which the receiver draws its brand image. +- (CGRect)brandImageRectForBounds:(CGRect)bounds SWIFT_WARN_UNUSED_RESULT; +/// Returns the rectangle in which the receiver draws the text fields. +/// \param bounds The bounding rectangle of the receiver. +/// +/// +/// returns: +/// The rectangle in which the receiver draws the text fields. +- (CGRect)fieldsRectForBounds:(CGRect)bounds SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (void)traitCollectionDidChange:(UITraitCollection * _Nullable)previousTraitCollection; +/// :nodoc: +@property (nonatomic, strong) UIColor * _Nullable backgroundColor; +/// :nodoc: +@property (nonatomic) UIControlContentVerticalAlignment contentVerticalAlignment; +/// :nodoc: +@property (nonatomic, readonly) BOOL isFirstResponder; +/// :nodoc: +@property (nonatomic, readonly) BOOL canBecomeFirstResponder; +/// :nodoc: +@property (nonatomic, readonly) BOOL canResignFirstResponder; +/// :nodoc: +@property (nonatomic, readonly) CGSize intrinsicContentSize; +/// :nodoc: +- (void)layoutSubviews; +/// :nodoc: +- (BOOL)textFieldShouldBeginEditing:(UITextField * _Nonnull)textField SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)textFieldDidBeginEditing:(UITextField * _Nonnull)textField; +/// :nodoc: +- (BOOL)textFieldShouldEndEditing:(UITextField * _Nonnull)textField SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)textFieldDidEndEditing:(UITextField * _Nonnull)textField; +/// :nodoc: +- (BOOL)textFieldShouldReturn:(UITextField * _Nonnull)textField SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) BOOL hasText; +/// :nodoc: +- (void)insertText:(NSString * _Nonnull)text; +/// :nodoc: +- (void)deleteBackward; +/// :nodoc: ++ (NSSet * _Nonnull)keyPathsForValuesAffectingIsValid SWIFT_WARN_UNUSED_RESULT; +@end + + + + +enum STPShippingType : NSInteger; + +/// An STPPaymentConfiguration represents all the options you can set or change +/// around a payment. +/// You provide an STPPaymentConfiguration object to your STPPaymentContext +/// when making a charge. The configuration generally has settings that +/// will not change from payment to payment and thus is reusable, while the context +/// is specific to a single particular payment instance. +SWIFT_CLASS("_TtC6Stripe23STPPaymentConfiguration") +@interface STPPaymentConfiguration : NSObject +/// This is a convenience singleton configuration that uses the default values for +/// every property +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) STPPaymentConfiguration * _Nonnull sharedConfiguration;) ++ (STPPaymentConfiguration * _Nonnull)sharedConfiguration SWIFT_WARN_UNUSED_RESULT; ++ (void)setSharedConfiguration:(STPPaymentConfiguration * _Nonnull)value; +/// The user is allowed to pay with Apple Pay if it’s configured and available on their device. +@property (nonatomic) BOOL applePayEnabled; +/// The user is allowed to pay with FPX. +@property (nonatomic) BOOL fpxEnabled; +/// The billing address fields the user must fill out when prompted for their +/// payment details. These fields will all be present on the returned PaymentMethod from +/// Stripe. +/// The default value is STPBillingAddressFieldsPostalCode. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/create#create_payment_method-billing_details +@property (nonatomic) enum STPBillingAddressFields requiredBillingAddressFields; +/// The shipping address fields the user must fill out when prompted for their +/// shipping info. Set to nil if shipping address is not required. +/// The default value is nil. +@property (nonatomic, copy) NSSet * _Nullable requiredShippingAddressFields; +/// Whether the user should be prompted to verify prefilled shipping information. +/// The default value is YES. +@property (nonatomic) BOOL verifyPrefilledShippingAddress; +/// The type of shipping for this purchase. This property sets the labels displayed +/// when the user is prompted for shipping info, and whether they should also be +/// asked to select a shipping method. +/// The default value is STPShippingTypeShipping. +@property (nonatomic) enum STPShippingType shippingType; +/// The set of countries supported when entering an address. This property accepts +/// a set of ISO 2-character country codes. +/// The default value is all known countries. Setting this property will limit +/// the available countries to your selected set. +@property (nonatomic, copy) NSSet * _Nonnull availableCountries; +/// The name of your company, for displaying to the user during payment flows. For +/// example, when using Apple Pay, the payment sheet’s final line item will read +/// “PAY {companyName}”. +/// The default value is the name of your iOS application which is derived from the +/// kCFBundleNameKey of Bundle.main. +@property (nonatomic, copy) NSString * _Nonnull companyName; +/// The Apple Merchant Identifier to use during Apple Pay transactions. To create +/// one of these, see our guide at https://stripe.com/docs/mobile/apple-pay . You +/// must set this to a valid identifier in order to automatically enable Apple Pay. +@property (nonatomic, copy) NSString * _Nullable appleMerchantIdentifier; +/// Determines whether or not the user is able to delete payment options +/// This is only relevant to the STPPaymentOptionsViewController which, if +/// enabled, will allow the user to delete payment options by tapping the “Edit” +/// button in the navigation bar or by swiping left on a payment option and tapping +/// “Delete”. Currently, the user is not allowed to delete the selected payment +/// option but this may change in the future. +/// Default value is YES but will only work if STPPaymentOptionsViewController is +/// initialized with a STPCustomerContext either through the STPPaymentContext +/// or directly as an init parameter. +@property (nonatomic) BOOL canDeletePaymentOptions; +/// Determines whether STPAddCardViewController allows the user to +/// scan cards using the camera on devices running iOS 13 or later. +/// To use this feature, you must also set the NSCameraUsageDescription +/// value in your app’s Info.plist. +/// @note This feature is currently in beta. Please file bugs at +/// https://github.com/stripe/stripe-ios/issues +/// The default value is currently NO. This will be changed in a future update. +@property (nonatomic) BOOL cardScanningEnabled; +/// An enum value representing which payment options you will accept from your user +/// in addition to credit cards. +@property (nonatomic) NSInteger additionalPaymentOptions SWIFT_DEPRECATED_MSG("additionalPaymentOptions has been removed. Set applePayEnabled and fpxEnabled on STPPaymentConfiguration instead."); +/// If you used STPPaymentConfiguration.shared.publishableKey, use STPAPIClient.shared.publishableKey instead. The SDK uses STPAPIClient.shared to make API requests by default. +/// Your Stripe publishable key +/// seealso: +/// https://dashboard.stripe.com/account/apikeys +@property (nonatomic, copy) NSString * _Nullable publishableKey SWIFT_DEPRECATED_MSG("If you used STPPaymentConfiguration.shared.publishableKey, use STPAPIClient.shared.publishableKey instead. If you passed a STPPaymentConfiguration instance to an SDK component, create an STPAPIClient, set publishableKey on it, and set the SDK component's APIClient property."); +/// If you used STPPaymentConfiguration.shared.stripeAccount, use STPAPIClient.shared.stripeAccount instead. The SDK uses STPAPIClient.shared to make API requests by default. +/// In order to perform API requests on behalf of a connected account, e.g. to +/// create charges for a connected account, set this property to the ID of the +/// account for which this request is being made. +/// seealso: +/// https://stripe.com/docs/payments/payment-intents/use-cases#connected-accounts +@property (nonatomic, copy) NSString * _Nullable stripeAccount SWIFT_DEPRECATED_MSG("If you used STPPaymentConfiguration.shared.stripeAccount, use STPAPIClient.shared.stripeAccount instead. If you passed a STPPaymentConfiguration instance to an SDK component, create an STPAPIClient, set stripeAccount on it, and set the SDK component's APIClient property."); +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class STPShippingAddressViewController; +enum STPShippingStatus : NSInteger; + +/// An STPShippingAddressViewControllerDelegate is notified when an STPShippingAddressViewController receives an address, completes with an address, or is cancelled. +SWIFT_PROTOCOL("_TtP6Stripe40STPShippingAddressViewControllerDelegate_") +@protocol STPShippingAddressViewControllerDelegate +/// Called when the user cancels entering a shipping address. You should dismiss (or pop) the view controller at this point. +/// \param addressViewController the view controller that has been cancelled +/// +- (void)shippingAddressViewControllerDidCancel:(STPShippingAddressViewController * _Nonnull)addressViewController; +/// This is called when the user enters a shipping address and taps next. You +/// should validate the address and determine what shipping methods are available, +/// and call the completion block when finished. If an error occurrs, call +/// the completion block with the error. Otherwise, call the completion +/// block with a nil error and an array of available shipping methods. If you don’t +/// need to collect a shipping method, you may pass an empty array or nil. +/// \param addressViewController the view controller where the address was entered +/// +/// \param address the address that was entered. - seealso: STPAddress +/// +/// \param completion call this callback when you’re done validating the address and determining available shipping methods. +/// +- (void)shippingAddressViewController:(STPShippingAddressViewController * _Nonnull)addressViewController didEnterAddress:(STPAddress * _Nonnull)address completion:(void (^ _Nonnull)(enum STPShippingStatus, NSError * _Nullable, NSArray * _Nullable, PKShippingMethod * _Nullable))completion; +/// This is called when the user selects a shipping method. If no shipping methods are given, or if the shipping type doesn’t require a shipping method, this will be called after the user has a shipping address and your validation has succeeded. After updating your app with the user’s shipping info, you should dismiss (or pop) the view controller. Note that if shippingMethod is non-nil, there will be an additional shipping methods view controller on the navigation controller’s stack. +/// \param addressViewController the view controller where the address was entered +/// +/// \param address the address that was entered. - seealso: STPAddress +/// +/// \param method the shipping method that was selected. +/// +- (void)shippingAddressViewController:(STPShippingAddressViewController * _Nonnull)addressViewController didFinishWithAddress:(STPAddress * _Nonnull)address shippingMethod:(PKShippingMethod * _Nullable)method; +@end + +@class STPPaymentOptionsViewController; + +/// An STPPaymentOptionsViewControllerDelegate responds when a user selects a +/// payment option from (or cancels) an STPPaymentOptionsViewController. In both +/// of these instances, you should dismiss the view controller (either by popping +/// it off the navigation stack, or dismissing it). +SWIFT_PROTOCOL("_TtP6Stripe39STPPaymentOptionsViewControllerDelegate_") +@protocol STPPaymentOptionsViewControllerDelegate +/// This is called when the view controller encounters an error fetching the user’s +/// payment options from its API adapter. You should dismiss the view controller +/// when this is called. +/// \param paymentOptionsViewController the view controller in question +/// +/// \param error the error that occurred +/// +- (void)paymentOptionsViewController:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController didFailToLoadWithError:(NSError * _Nonnull)error; +/// This is called when the user selects or adds a payment method, so it will often +/// be called immediately after calling paymentOptionsViewController:didSelectPaymentOption:. +/// You should dismiss the view controller when this is called. +/// \param paymentOptionsViewController the view controller that has finished +/// +- (void)paymentOptionsViewControllerDidFinish:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController; +/// This is called when the user taps “cancel”. +/// You should dismiss the view controller when this is called. +/// \param paymentOptionsViewController the view controller that has finished +/// +- (void)paymentOptionsViewControllerDidCancel:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController; +@optional +/// This is called when the user either makes a selection, or adds a new card. +/// This will be triggered after the view controller loads with the user’s current +/// selection (if they have one) and then subsequently when they change their +/// choice. You should use this callback to update any necessary UI in your app +/// that displays the user’s currently selected payment method. You should not +/// dismiss the view controller at this point, instead do this in +/// paymentOptionsViewControllerDidFinish:. STPPaymentOptionsViewController +/// will also call the necessary methods on your API adapter, so you don’t need to +/// call them directly during this method. +/// \param paymentOptionsViewController the view controller in question +/// +/// \param paymentOption the selected payment method +/// +- (void)paymentOptionsViewController:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController didSelectPaymentOption:(id _Nonnull)paymentOption; +@end + +@protocol STPPaymentContextDelegate; +@class PKPaymentSummaryItem; + +/// An STPPaymentContext keeps track of all of the state around a payment. It will manage fetching a user’s saved payment methods, tracking any information they select, and prompting them for required additional information before completing their purchase. It can be used to power your application’s “payment confirmation” page with just a few lines of code. +/// STPPaymentContext also provides a unified interface to multiple payment methods - for example, you can write a single integration to accept both credit card payments and Apple Pay. +/// STPPaymentContext saves information about a user’s payment methods to a Stripe customer object, and requires an STPCustomerContext to manage retrieving and modifying the customer. +SWIFT_CLASS_NAMED("STPPaymentContext") +@interface STPPaymentContext : NSObject +/// This is a convenience initializer; it is equivalent to calling +/// init(customerContext:customerContext configuration:STPPaymentConfiguration.shared theme:STPTheme.defaultTheme. +/// \param customerContext The customer context the payment context will use to fetch +/// and modify its Stripe customer. - seealso: STPCustomerContext.h +/// +/// +/// returns: +/// the newly-instantiated payment context +- (nonnull instancetype)initWithCustomerContext:(STPCustomerContext * _Nonnull)customerContext; +/// Initializes a new Payment Context with the provided customer context, configuration, +/// and theme. After this class is initialized, you should also make sure to set its +/// delegate and hostViewController properties. +/// seealso: +/// STPPaymentConfiguration.h +///
    +///
  • +/// theme: The theme describing the visual appearance of all UI +/// that the payment context automatically creates for you. - seealso: STPTheme.h +///
  • +///
+/// \param customerContext The customer context the payment context will use to fetch +/// and modify its Stripe customer. - seealso: STPCustomerContext.h +/// +/// \param configuration The configuration for the payment context to use. This +/// lets you set your Stripe publishable API key, required billing address fields, etc. +/// +/// +/// returns: +/// the newly-instantiated payment context +- (nonnull instancetype)initWithCustomerContext:(STPCustomerContext * _Nonnull)customerContext configuration:(STPPaymentConfiguration * _Nonnull)configuration theme:(STPTheme * _Nonnull)theme; +/// Note: Instead of providing your own backend API adapter, we recommend using +/// STPCustomerContext, which will manage retrieving and updating a +/// Stripe customer for you. - seealso: STPCustomerContext.h +/// This is a convenience initializer; it is equivalent to calling +/// init(apiAdapter:apiAdapter configuration:STPPaymentConfiguration.shared theme:STPTheme.defaultTheme). +- (nonnull instancetype)initWithApiAdapter:(id _Nonnull)apiAdapter; +/// Note: Instead of providing your own backend API adapter, we recommend using +/// STPCustomerContext, which will manage retrieving and updating a +/// Stripe customer for you. - seealso: STPCustomerContext.h +/// Initializes a new Payment Context with the provided API adapter and configuration. +/// After this class is initialized, you should also make sure to set its delegate +/// and hostViewController properties. +/// seealso: +/// STPPaymentConfiguration.h +///
    +///
  • +/// theme: The theme describing the visual appearance of all UI that +/// the payment context automatically creates for you. - seealso: STPTheme.h +///
  • +///
+/// \param apiAdapter The API adapter the payment context will use to fetch and +/// modify its contents. You need to make a class conforming to this protocol that +/// talks to your server. - seealso: STPBackendAPIAdapter.h +/// +/// \param configuration The configuration for the payment context to use. This lets +/// you set your Stripe publishable API key, required billing address fields, etc. +/// +/// +/// returns: +/// the newly-instantiated payment context +- (nonnull instancetype)initWithApiAdapter:(id _Nonnull)apiAdapter configuration:(STPPaymentConfiguration * _Nonnull)configuration theme:(STPTheme * _Nonnull)theme OBJC_DESIGNATED_INITIALIZER; +/// Note: Instead of providing your own backend API adapter, we recommend using +/// STPCustomerContext, which will manage retrieving and updating a +/// Stripe customer for you. - seealso: STPCustomerContext.h +/// The API adapter the payment context will use to fetch and modify its contents. +/// You need to make a class conforming to this protocol that talks to your server. +/// seealso: +/// STPBackendAPIAdapter.h +@property (nonatomic, readonly, strong) id _Nonnull apiAdapter; +/// The configuration for the payment context to use internally. - seealso: STPPaymentConfiguration.h +@property (nonatomic, readonly, strong) STPPaymentConfiguration * _Nonnull configuration; +/// The visual appearance that will be used by any views that the context generates. - seealso: STPTheme.h +@property (nonatomic, readonly, strong) STPTheme * _Nonnull theme; +/// If you’ve already collected some information from your user, you can set it here and it’ll be automatically filled out when possible/appropriate in any UI that the payment context creates. +@property (nonatomic, strong) STPUserInformation * _Nullable prefilledInformation; +/// The view controller that any additional UI will be presented on. If you have a “checkout view controller” in your app, that should be used as the host view controller. +@property (nonatomic, weak) UIViewController * _Nullable hostViewController; +/// This delegate will be notified when the payment context’s contents change. - seealso: STPPaymentContextDelegate +@property (nonatomic, weak) id _Nullable delegate; +/// Whether or not the payment context is currently loading information from the network. +@property (nonatomic, readonly) BOOL loading; +/// @note This is no longer recommended as of v18.3.0 - the SDK automatically saves the Stripe ID of the last selected +/// payment method using NSUserDefaults and displays it as the default pre-selected option. You can override this behavior +/// by setting this property. +/// The Stripe ID of a payment method to display as the default pre-selected option. +/// @note Set this property immediately after initializing STPPaymentContext, or call retryLoading afterwards. +@property (nonatomic, copy) NSString * _Nullable defaultPaymentMethod; +/// The user’s currently selected payment option. May be nil. +@property (nonatomic, readonly, strong) id _Nullable selectedPaymentOption; +/// The available payment options the user can choose between. May be nil. +@property (nonatomic, readonly, copy) NSArray> * _Nullable paymentOptions; +/// The user’s currently selected shipping method. May be nil. +@property (nonatomic, readonly, strong) PKShippingMethod * _Nullable selectedShippingMethod; +/// An array of STPShippingMethod objects that describe the supported shipping methods. May be nil. +@property (nonatomic, readonly, copy) NSArray * _Nullable shippingMethods; +/// The user’s shipping address. May be nil. +/// If you’ve already collected a shipping address from your user, you may +/// prefill it by setting a shippingAddress in PaymentContext’s prefilledInformation. +/// When your user enters a new shipping address, PaymentContext will save it to +/// the current customer object. When PaymentContext loads, if you haven’t +/// manually set a prefilled value, any shipping information saved on the customer +/// will be used to prefill the shipping address form. Note that because your +/// customer’s email may not be the same as the email provided with their shipping +/// info, PaymentContext will not prefill the shipping form’s email using your +/// customer’s email. +/// You should not rely on the shipping information stored on the Stripe customer +/// for order fulfillment, as your user may change this information if they make +/// multiple purchases. We recommend adding shipping information when you create +/// a charge (which can also help prevent fraud), or saving it to your own +/// database. https://stripe.com/docs/api/payment_intents/create#create_payment_intent-shipping +/// Note: by default, your user will still be prompted to verify a prefilled +/// shipping address. To change this behavior, you can set +/// verifyPrefilledShippingAddress to NO in your STPPaymentConfiguration. +@property (nonatomic, readonly, strong) STPAddress * _Nullable shippingAddress; +/// The amount of money you’re requesting from the user, in the smallest currency +/// unit for the selected currency. For example, to indicate $10 USD, use 1000 +/// (i.e. 1000 cents). For more information, see https://stripe.com/docs/api/payment_intents/create#create_payment_intent-amount +/// @note This value must be present and greater than zero in order for Apple Pay +/// to be automatically enabled. +/// @note You should only set either this or paymentSummaryItems, not both. +/// The other will be automatically calculated on demand using your paymentCurrency. +@property (nonatomic) NSInteger paymentAmount; +/// The three-letter currency code for the currency of the payment (i.e. USD, GBP, +/// JPY, etc). Defaults to “USD”. +/// @note Changing this property may change the return value of paymentAmount +/// or paymentSummaryItems (whichever one you didn’t directly set yourself). +@property (nonatomic, copy) NSString * _Nonnull paymentCurrency; +/// The two-letter country code for the country where the payment will be processed. +/// You should set this to the country your Stripe account is in. Defaults to “US”. +/// @note Changing this property will change the countryCode of your Apple Pay +/// payment requests. +/// seealso: +/// PKPaymentRequest for more information. +@property (nonatomic, copy) NSString * _Nonnull paymentCountry; +/// If you support Apple Pay, you can optionally set the PKPaymentSummaryItems +/// you want to display here instead of using paymentAmount. Note that the +/// grand total (the amount of the last summary item) must be greater than zero. +/// If not set, a single summary item will be automatically generated using +/// paymentAmount and your configuration’s companyName. +/// seealso: +/// PKPaymentRequest for more information +/// @note You should only set either this or paymentAmount, not both. +/// The other will be automatically calculated on demand using your paymentCurrency. +@property (nonatomic, copy) NSArray * _Nonnull paymentSummaryItems; +/// The presentation style used for all view controllers presented modally by the context. +/// Since custom transition styles are not supported, you should set this to either +/// UIModalPresentationFullScreen, UIModalPresentationPageSheet, or UIModalPresentationFormSheet. +/// The default value is UIModalPresentationFullScreen. +@property (nonatomic) UIModalPresentationStyle modalPresentationStyle; +/// The mode to use when displaying the title of the navigation bar in all view +/// controllers presented by the context. The default value is automatic, +/// which causes the title to use the same styling as the previously displayed +/// navigation item (if the view controller is pushed onto the hostViewController). +/// If the prefersLargeTitles property of the hostViewController‘s navigation bar +/// is false, this property has no effect and the navigation item’s title is always +/// displayed as a small title. +/// If the view controller is presented modally, automatic and +/// never always result in a navigation bar with a small title. +@property (nonatomic) UINavigationItemLargeTitleDisplayMode largeTitleDisplayMode; +/// A view that will be placed as the footer of the payment options selection +/// view controller. +/// When the footer view needs to be resized, it will be sent a +/// sizeThatFits: call. The view should respond correctly to this method in order +/// to be sized and positioned properly. +@property (nonatomic, strong) UIView * _Nullable paymentOptionsViewControllerFooterView; +/// A view that will be placed as the footer of the add card view controller. +/// When the footer view needs to be resized, it will be sent a +/// sizeThatFits: call. The view should respond correctly to this method in order +/// to be sized and positioned properly. +@property (nonatomic, strong) UIView * _Nullable addCardViewControllerFooterView; +/// The STPAPIClient instance to use to make API requests. +/// Defaults to STPAPIClient.shared. +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +/// If paymentContext:didFailToLoadWithError: is called on your delegate, you +/// can in turn call this method to try loading again (if that hasn’t been called, +/// calling this will do nothing). If retrying in turn fails, paymentContext:didFailToLoadWithError: +/// will be called again (and you can again call this to keep retrying, etc). +- (void)retryLoading; +/// This creates, configures, and appropriately presents an STPPaymentOptionsViewController +/// on top of the payment context’s hostViewController. It’ll be dismissed automatically +/// when the user is done selecting their payment method. +/// @note This method will do nothing if it is called while STPPaymentContext is +/// already showing a view controller or in the middle of requesting a payment. +- (void)presentPaymentOptionsViewController; +/// This creates, configures, and appropriately pushes an STPPaymentOptionsViewController +/// onto the navigation stack of the context’s hostViewController. It’ll be popped +/// automatically when the user is done selecting their payment method. +/// @note This method will do nothing if it is called while STPPaymentContext is +/// already showing a view controller or in the middle of requesting a payment. +- (void)pushPaymentOptionsViewController; +/// This creates, configures, and appropriately presents a view controller for +/// collecting shipping address and shipping method on top of the payment context’s +/// hostViewController. It’ll be dismissed automatically when the user is done +/// entering their shipping info. +/// @note This method will do nothing if it is called while STPPaymentContext is +/// already showing a view controller or in the middle of requesting a payment. +- (void)presentShippingViewController; +/// This creates, configures, and appropriately pushes a view controller for +/// collecting shipping address and shipping method onto the navigation stack of +/// the context’s hostViewController. It’ll be popped automatically when the +/// user is done entering their shipping info. +/// @note This method will do nothing if it is called while STPPaymentContext is +/// already showing a view controller, or in the middle of requesting a payment. +- (void)pushShippingViewController; +/// Requests payment from the user. This may need to present some supplemental UI +/// to the user, in which case it will be presented on the payment context’s +/// hostViewController. For instance, if they’ve selected Apple Pay as their +/// payment method, calling this method will show the payment sheet. If the user +/// has a card on file, this will use that without presenting any additional UI. +/// After this is called, the paymentContext:didCreatePaymentResult:completion: +/// and paymentContext:didFinishWithStatus:error: methods will be called on the +/// context’s delegate. +/// @note This method will do nothing if it is called while STPPaymentContext is +/// already showing a view controller, or in the middle of requesting a payment. +- (void)requestPayment; +- (void)paymentOptionsViewController:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController didSelectPaymentOption:(id _Nonnull)paymentOption; +- (void)paymentOptionsViewControllerDidFinish:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController; +- (void)paymentOptionsViewControllerDidCancel:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController; +- (void)paymentOptionsViewController:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController didFailToLoadWithError:(NSError * _Nonnull)error; +- (void)shippingAddressViewControllerDidCancel:(STPShippingAddressViewController * _Nonnull)addressViewController; +- (void)shippingAddressViewController:(STPShippingAddressViewController * _Nonnull)addressViewController didEnterAddress:(STPAddress * _Nonnull)address completion:(void (^ _Nonnull)(enum STPShippingStatus, NSError * _Nullable, NSArray * _Nullable, PKShippingMethod * _Nullable))completion; +- (void)shippingAddressViewController:(STPShippingAddressViewController * _Nonnull)addressViewController didFinishWithAddress:(STPAddress * _Nonnull)address shippingMethod:(PKShippingMethod * _Nullable)method; +- (UIViewController * _Nonnull)authenticationPresentingViewController SWIFT_WARN_UNUSED_RESULT; +- (void)prepareAuthenticationContextForPresentation:(void (^ _Nonnull)(void))completion; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@class STPPaymentResult; + +/// Implement STPPaymentContextDelegate to get notified when a payment context changes, finishes, encounters errors, etc. In practice, if your app has a “checkout screen view controller”, that is a good candidate to implement this protocol. +SWIFT_PROTOCOL("_TtP6Stripe25STPPaymentContextDelegate_") +@protocol STPPaymentContextDelegate +/// Called when the payment context encounters an error when fetching its initial set of data. A few ways to handle this are: +///
    +///
  • +/// If you’re showing the user a checkout page, dismiss the checkout page when this is called and present the error to the user. +///
  • +///
  • +/// Present the error to the user using a UIAlertController with two buttons: Retry and Cancel. If they cancel, dismiss your UI. If they Retry, call retryLoading on the payment context. +/// To make it harder to get your UI into a bad state, this won’t be called until the context’s hostViewController has finished appearing. +///
  • +///
+/// \param paymentContext the payment context that encountered the error +/// +/// \param error the error that was encountered +/// +- (void)paymentContext:(STPPaymentContext * _Nonnull)paymentContext didFailToLoadWithError:(NSError * _Nonnull)error; +/// This is called every time the contents of the payment context change. When this is called, you should update your app’s UI to reflect the current state of the payment context. For example, if you have a checkout page with a “selected payment method” row, you should update its payment method with paymentContext.selectedPaymentOption.label. If that checkout page has a “buy” button, you should enable/disable it depending on the result of paymentContext.isReadyForPayment. +/// \param paymentContext the payment context that changed +/// +- (void)paymentContextDidChange:(STPPaymentContext * _Nonnull)paymentContext; +/// Inside this method, you should make a call to your backend API to make a PaymentIntent with that Customer + payment method, and invoke the completion block when that is done. +/// \param paymentContext The context that succeeded +/// +/// \param paymentResult Information associated with the payment that you can pass to your server. You should go to your backend API with this payment result and use the PaymentIntent API to complete the payment. See https://stripe.com/docs/mobile/ios/standard#submit-payment-intents. Once that’s done call the completion block with any error that occurred (or none, if the payment succeeded). - seealso: STPPaymentResult.h +/// +/// \param completion Call this block when you’re done creating a payment intent (or subscription, etc) on your backend. If it succeeded, call completion(STPPaymentStatusSuccess, nil). If it failed with an error, call completion(STPPaymentStatusError, error). If the user canceled, call completion(STPPaymentStatusUserCancellation, nil). +/// +- (void)paymentContext:(STPPaymentContext * _Nonnull)paymentContext didCreatePaymentResult:(STPPaymentResult * _Nonnull)paymentResult completion:(void (^ _Nonnull)(enum STPPaymentStatus, NSError * _Nullable))completion; +/// This is invoked by an STPPaymentContext when it is finished. This will be called after the payment is done and all necessary UI has been dismissed. You should inspect the returned status and behave appropriately. For example: if it’s STPPaymentStatusSuccess, show the user a receipt. If it’s STPPaymentStatusError, inform the user of the error. If it’s STPPaymentStatusUserCancellation, do nothing. +/// \param paymentContext The payment context that finished +/// +/// \param status The status of the payment - STPPaymentStatusSuccess if it succeeded, STPPaymentStatusError if it failed with an error (in which case the error parameter will be non-nil), STPPaymentStatusUserCancellation if the user canceled the payment. +/// +/// \param error An error that occurred, if any. +/// +- (void)paymentContext:(STPPaymentContext * _Nonnull)paymentContext didFinishWith:(enum STPPaymentStatus)status error:(NSError * _Nullable)error; +@optional +/// Inside this method, you should verify that you can ship to the given address. +/// You should call the completion block with the results of your validation +/// and the available shipping methods for the given address. If you don’t implement +/// this method, the user won’t be prompted to select a shipping method and all +/// addresses will be valid. If you call the completion block with nil or an +/// empty array of shipping methods, the user won’t be prompted to select a +/// shipping method. +/// @note If a user updates their shipping address within the Apple Pay dialog, +/// this address will be anonymized. For example, in the US, it will only include the +/// city, state, and zip code. The payment context will have the user’s complete +/// shipping address by the time paymentContext:didFinishWithStatus:error is +/// called. +/// \param paymentContext The context that updated its shipping address +/// +/// \param address The current shipping address +/// +/// \param completion Call this block when you’re done validating the shipping +/// address and calculating available shipping methods. If you call the completion +/// block with nil or an empty array of shipping methods, the user won’t be prompted +/// to select a shipping method. +/// +- (void)paymentContext:(STPPaymentContext * _Nonnull)paymentContext didUpdateShippingAddress:(STPAddress * _Nonnull)address completion:(void (^ _Nonnull)(enum STPShippingStatus, NSError * _Nullable, NSArray * _Nullable, PKShippingMethod * _Nullable))completion; +@end + +@class STPThreeDSCustomizationSettings; +@class STPPaymentIntentParams; +enum STPPaymentHandlerActionStatus : NSInteger; +@class STPPaymentIntent; +@class STPSetupIntentConfirmParams; +@class STPSetupIntent; + +/// STPPaymentHandler is a utility class that confirms PaymentIntents/SetupIntents and handles any authentication required, such as 3DS1/3DS2 for Strong Customer Authentication. +/// It can present authentication UI on top of your app or redirect users out of your app (to e.g. their banking app). +/// seealso: +/// https://stripe.com/docs/mobile/ios/authentication +SWIFT_CLASS("_TtC6Stripe17STPPaymentHandler") SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable) SWIFT_AVAILABILITY(ios_app_extension,unavailable) +@interface STPPaymentHandler : NSObject +/// The error domain for errors in STPPaymentHandler. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull errorDomain;) ++ (NSString * _Nonnull)errorDomain SWIFT_WARN_UNUSED_RESULT; +/// The globally shared instance of STPPaymentHandler. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPPaymentHandler * _Nonnull sharedHandler;) ++ (STPPaymentHandler * _Nonnull)sharedHandler SWIFT_WARN_UNUSED_RESULT; +/// The globally shared instance of STPPaymentHandler. ++ (STPPaymentHandler * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; +/// By default sharedHandler initializes with STPAPIClient.shared. +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +/// Customizable settings to use when performing 3DS2 authentication. +/// Note: Configure this before calling any methods. +/// Defaults to STPThreeDSCustomizationSettings(). +@property (nonatomic, strong) STPThreeDSCustomizationSettings * _Nonnull threeDSCustomizationSettings; +/// When this flag is enabled, STPPaymentHandler will confirm certain PaymentMethods using +/// Safari instead of SFSafariViewController. If you’d like to use this in your own +/// testing or Continuous Integration platform, please see the IntegrationTester app +/// for usage examples. +/// Note: This flag is only intended for development, and only impacts payments made with testmode keys. +/// Setting this to true with a livemode key will fail. +@property (nonatomic) BOOL simulateAppToAppRedirect; +/// Confirms the PaymentIntent with the provided parameters and handles any nextAction required +/// to authenticate the PaymentIntent. +/// Call this method if you are using automatic confirmation. - seealso: https://stripe.com/docs/payments/payment-intents/ios +/// \param paymentParams The params used to confirm the PaymentIntent. Note that this method overrides the value of paymentParams.useStripeSDK to @YES. +/// +/// \param authenticationContext The authentication context used to authenticate the payment. +/// +/// \param completion The completion block. If the status returned is STPPaymentHandlerActionStatusSucceeded, the PaymentIntent status is not necessarily STPPaymentIntentStatusSucceeded (e.g. some bank payment methods take days before the PaymentIntent succeeds). +/// +- (void)confirmPayment:(STPPaymentIntentParams * _Nonnull)paymentParams withAuthenticationContext:(id _Nonnull)authenticationContext completion:(void (^ _Nonnull)(enum STPPaymentHandlerActionStatus, STPPaymentIntent * _Nullable, NSError * _Nullable))completion; +/// Handles any nextAction required to authenticate the PaymentIntent. +/// Call this method if you are using manual confirmation. - seealso: https://stripe.com/docs/payments/payment-intents/ios +/// \param paymentIntentClientSecret The client secret of the PaymentIntent to handle next actions for. +/// +/// \param authenticationContext The authentication context used to authenticate the payment. +/// +/// \param returnURL An optional URL to redirect your customer back to after they authenticate or cancel in a webview. This should match the returnURL you specified during PaymentIntent confirmation. +/// +/// \param completion The completion block. If the status returned is STPPaymentHandlerActionStatusSucceeded, the PaymentIntent status will always be either STPPaymentIntentStatusSucceeded, or STPPaymentIntentStatusRequiresConfirmation, or STPPaymentIntentStatusRequiresCapture if you are using manual capture. In the latter two cases, confirm or capture the PaymentIntent on your backend to complete the payment. +/// +- (void)handleNextActionForPayment:(NSString * _Nonnull)paymentIntentClientSecret withAuthenticationContext:(id _Nonnull)authenticationContext returnURL:(NSString * _Nullable)returnURL completion:(void (^ _Nonnull)(enum STPPaymentHandlerActionStatus, STPPaymentIntent * _Nullable, NSError * _Nullable))completion; +/// Confirms the SetupIntent with the provided parameters and handles any nextAction required +/// to authenticate the SetupIntent. +/// seealso: +/// https://stripe.com/docs/payments/cards/saving-cards#saving-card-without-payment +/// \param setupIntentConfirmParams The params used to confirm the SetupIntent. Note that this method overrides the value of setupIntentConfirmParams.useStripeSDK to @YES. +/// +/// \param authenticationContext The authentication context used to authenticate the SetupIntent. +/// +/// \param completion The completion block. If the status returned is STPPaymentHandlerActionStatusSucceeded, the SetupIntent status will always be STPSetupIntentStatusSucceeded. +/// +- (void)confirmSetupIntent:(STPSetupIntentConfirmParams * _Nonnull)setupIntentConfirmParams withAuthenticationContext:(id _Nonnull)authenticationContext completion:(void (^ _Nonnull)(enum STPPaymentHandlerActionStatus, STPSetupIntent * _Nullable, NSError * _Nullable))completion; +/// Handles any nextAction required to authenticate the SetupIntent. +/// Call this method if you are confirming the SetupIntent on your backend and get a status of requires_action. +/// \param setupIntentClientSecret The client secret of the SetupIntent to handle next actions for. +/// +/// \param authenticationContext The authentication context used to authenticate the SetupIntent. +/// +/// \param returnURL An optional URL to redirect your customer back to after they authenticate or cancel in a webview. This should match the returnURL you specified during SetupIntent confirmation. +/// +/// \param completion The completion block. If the status returned is STPPaymentHandlerActionStatusSucceeded, the SetupIntent status will always be STPSetupIntentStatusSucceeded. +/// +- (void)handleNextActionForSetupIntent:(NSString * _Nonnull)setupIntentClientSecret withAuthenticationContext:(id _Nonnull)authenticationContext returnURL:(NSString * _Nullable)returnURL completion:(void (^ _Nonnull)(enum STPPaymentHandlerActionStatus, STPSetupIntent * _Nullable, NSError * _Nullable))completion; +/// :nodoc: +- (void)safariViewControllerDidFinish:(SFSafariViewController * _Nonnull)controller; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable) SWIFT_AVAILABILITY(ios_app_extension,unavailable) +@interface STPPaymentHandler (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (BOOL)handleURLCallback:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; +@end + + +/// STPPaymentHandlerActionStatus represents the possible outcomes of requesting an action by STPPaymentHandler. An action could be confirming and/or handling the next action for a PaymentIntent. +typedef SWIFT_ENUM(NSInteger, STPPaymentHandlerActionStatus, open) { +/// The action succeeded. + STPPaymentHandlerActionStatusSucceeded = 0, +/// The action was cancelled by the cardholder/user. + STPPaymentHandlerActionStatusCanceled = 1, +/// The action failed. See the error code for more details. + STPPaymentHandlerActionStatusFailed = 2, +}; + +/// Error codes generated by STPPaymentHandler +typedef SWIFT_ENUM(NSInteger, STPPaymentHandlerErrorCode, open) { +/// Indicates that the action requires an authentication method not recognized or supported by the SDK. + STPPaymentHandlerUnsupportedAuthenticationErrorCode SWIFT_COMPILE_NAME("unsupportedAuthenticationErrorCode") = 0, +/// Indicates that the action requires an authentication app, but either the app is not installed or the request to switch to the app was denied. + STPPaymentHandlerRequiredAppNotAvailableErrorCode SWIFT_COMPILE_NAME("requiredAppNotAvailable") = 1, +/// Attach a payment method to the PaymentIntent or SetupIntent before using STPPaymentHandler. + STPPaymentHandlerRequiresPaymentMethodErrorCode SWIFT_COMPILE_NAME("requiresPaymentMethodErrorCode") = 2, +/// The PaymentIntent or SetupIntent status cannot be resolved by STPPaymentHandler. + STPPaymentHandlerIntentStatusErrorCode SWIFT_COMPILE_NAME("intentStatusErrorCode") = 3, +/// The action timed out. + STPPaymentHandlerTimedOutErrorCode SWIFT_COMPILE_NAME("timedOutErrorCode") = 4, +/// There was an error in the Stripe3DS2 SDK. + STPPaymentHandlerStripe3DS2ErrorCode SWIFT_COMPILE_NAME("stripe3DS2ErrorCode") = 5, +/// The transaction did not authenticate (e.g. user entered the wrong code). + STPPaymentHandlerNotAuthenticatedErrorCode SWIFT_COMPILE_NAME("notAuthenticatedErrorCode") = 6, +/// STPPaymentHandler does not support concurrent actions. + STPPaymentHandlerNoConcurrentActionsErrorCode SWIFT_COMPILE_NAME("noConcurrentActionsErrorCode") = 7, +/// Payment requires a valid STPAuthenticationContext. Make sure your presentingViewController isn’t already presenting. + STPPaymentHandlerRequiresAuthenticationContextErrorCode SWIFT_COMPILE_NAME("requiresAuthenticationContextErrorCode") = 8, +/// There was an error confirming the Intent. +/// Inspect the paymentIntent.lastPaymentError or setupIntent.lastSetupError property. + STPPaymentHandlerPaymentErrorCode SWIFT_COMPILE_NAME("paymentErrorCode") = 9, +/// The provided PaymentIntent of SetupIntent client secret does not match the expected pattern for client secrets. +/// Make sure that your server is returning the correct value and that is being passed to STPPaymentHandler. + STPPaymentHandlerInvalidClientSecret SWIFT_COMPILE_NAME("invalidClientSecret") = 10, +}; + +enum STPPaymentIntentCaptureMethod : NSInteger; +enum STPPaymentIntentConfirmationMethod : NSInteger; +enum STPPaymentIntentStatus : NSInteger; +enum STPPaymentIntentSetupFutureUsage : NSInteger; +@class STPPaymentIntentLastPaymentError; +@class STPPaymentIntentShippingDetails; + +/// A PaymentIntent tracks the process of collecting a payment from your customer. +/// seealso: +/// https://stripe.com/docs/api#payment_intents +/// seealso: +/// https://stripe.com/docs/payments/dynamic-authentication +SWIFT_CLASS("_TtC6Stripe16STPPaymentIntent") +@interface STPPaymentIntent : NSObject +/// The Stripe ID of the PaymentIntent. +@property (nonatomic, readonly, copy) NSString * _Nonnull stripeId; +/// The client secret used to fetch this PaymentIntent +@property (nonatomic, readonly, copy) NSString * _Nonnull clientSecret; +/// Amount intended to be collected by this PaymentIntent. +@property (nonatomic, readonly) NSInteger amount; +/// If status is .canceled, when the PaymentIntent was canceled. +@property (nonatomic, readonly, copy) NSDate * _Nullable canceledAt; +/// Capture method of this PaymentIntent +@property (nonatomic, readonly) enum STPPaymentIntentCaptureMethod captureMethod; +/// Confirmation method of this PaymentIntent +@property (nonatomic, readonly) enum STPPaymentIntentConfirmationMethod confirmationMethod; +/// When the PaymentIntent was created. +@property (nonatomic, readonly, copy) NSDate * _Nonnull created; +/// The currency associated with the PaymentIntent. +@property (nonatomic, readonly, copy) NSString * _Nonnull currency; +/// The description field of the PaymentIntent. +/// An arbitrary string attached to the object. Often useful for displaying to users. +@property (nonatomic, readonly, copy) NSString * _Nullable stripeDescription; +/// Whether or not this PaymentIntent was created in livemode. +@property (nonatomic, readonly) BOOL livemode; +/// If status == .requiresAction, this +/// property contains the next action to take for this PaymentIntent. +@property (nonatomic, readonly, strong) STPIntentAction * _Nullable nextAction; +/// Email address that the receipt for the resulting payment will be sent to. +@property (nonatomic, readonly, copy) NSString * _Nullable receiptEmail; +/// The Stripe ID of the Source used in this PaymentIntent. +@property (nonatomic, readonly, copy) NSString * _Nullable sourceId; +/// The Stripe ID of the PaymentMethod used in this PaymentIntent. +@property (nonatomic, readonly, copy) NSString * _Nullable paymentMethodId; +/// Status of the PaymentIntent +@property (nonatomic, readonly) enum STPPaymentIntentStatus status; +/// The list of payment method types (e.g. [NSNumber(value: STPPaymentMethodType.card.rawValue)]) that this PaymentIntent is allowed to use. +@property (nonatomic, readonly, copy) NSArray * _Nonnull paymentMethodTypes; +/// When provided, this property indicates how you intend to use the payment method that your customer provides after the current payment completes. If applicable, additional authentication may be performed to comply with regional legislation or network rules required to enable the usage of the same payment method for additional payments. +/// Use on_session if you intend to only reuse the payment method when the customer is in your checkout flow. Use off_session if your customer may or may not be in your checkout flow. +@property (nonatomic, readonly) enum STPPaymentIntentSetupFutureUsage setupFutureUsage; +/// The payment error encountered in the previous PaymentIntent confirmation. +@property (nonatomic, readonly, strong) STPPaymentIntentLastPaymentError * _Nullable lastPaymentError; +/// Shipping information for this PaymentIntent. +@property (nonatomic, readonly, strong) STPPaymentIntentShippingDetails * _Nullable shipping; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +@interface STPPaymentIntent (SWIFT_EXTENSION(Stripe)) +/// If status == STPPaymentIntentStatusRequiresAction, this +/// property contains the next source action to take for this PaymentIntent. +/// @deprecated Use nextAction instead +@property (nonatomic, readonly, strong) STPIntentAction * _Nullable nextSourceAction SWIFT_DEPRECATED_MSG("Use nextAction instead", "nextAction"); +@end + + +@interface STPPaymentIntent (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Action details for an STPPaymentIntent. This is a container for +/// the various types that are available. Check the type to see which one +/// it is, and then use the related property for the details necessary to handle it. +/// @deprecated Use STPIntentAction instead. +SWIFT_CLASS("_TtC6Stripe22STPPaymentIntentAction") SWIFT_DEPRECATED_MSG("Use `STPIntentAction` instead.", "_TtC6Stripe15STPIntentAction") +@interface STPPaymentIntentAction : STPIntentAction +@end + + +/// Contains instructions for authenticating a payment by redirecting your customer to another page or application. +/// @deprecated Use STPIntentActionRedirectToURL instead. +SWIFT_CLASS("_TtC6Stripe35STPPaymentIntentActionRedirectToURL") SWIFT_UNAVAILABLE_MSG("'STPPaymentIntentActionRedirectToURL' has been renamed to '_TtC6Stripe28STPIntentActionRedirectToURL': Use `STPIntentActionRedirectToURL` instead.") +@interface STPPaymentIntentActionRedirectToURL : STPIntentActionRedirectToURL +@end + +/// Types of Actions from a STPPaymentIntent, when the payment intent +/// status is STPPaymentIntentStatusRequiresAction. +typedef SWIFT_ENUM(NSInteger, STPPaymentIntentActionType, open) { +/// This is an unknown action, that’s been added since the SDK +/// was last updated. +/// Update your SDK, or use the nextAction.allResponseFields +/// for custom handling. + STPPaymentIntentActionTypeUnknown = 0, +/// The payment intent needs to be authorized by the user. We provide +/// STPRedirectContext to handle the url redirections necessary. + STPPaymentIntentActionTypeRedirectToURL = 1, +}; + +/// Capture methods for a STPPaymentIntent +typedef SWIFT_ENUM(NSInteger, STPPaymentIntentCaptureMethod, open) { +/// Unknown capture method + STPPaymentIntentCaptureMethodUnknown = 0, +/// The PaymentIntent will be automatically captured + STPPaymentIntentCaptureMethodAutomatic = 1, +/// The PaymentIntent must be manually captured once it has the status +/// STPPaymentIntentStatusRequiresCapture + STPPaymentIntentCaptureMethodManual = 2, +}; + +/// Confirmation methods for a STPPaymentIntent +typedef SWIFT_ENUM(NSInteger, STPPaymentIntentConfirmationMethod, open) { +/// Unknown confirmation method + STPPaymentIntentConfirmationMethodUnknown = 0, +/// Confirmed via publishable key + STPPaymentIntentConfirmationMethodManual = 1, +/// Confirmed via secret key + STPPaymentIntentConfirmationMethodAutomatic = 2, +}; + +enum STPPaymentIntentLastPaymentErrorType : NSInteger; + +/// A value for code indicating the provided payment method failed authentication./// The payment error encountered in the previous PaymentIntent confirmation. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/object#payment_intent_object-last_payment_error +SWIFT_CLASS("_TtC6Stripe32STPPaymentIntentLastPaymentError") +@interface STPPaymentIntentLastPaymentError : NSObject +/// A value for code indicating the provided payment method failed authentication. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull ErrorCodeAuthenticationFailure;) ++ (NSString * _Nonnull)ErrorCodeAuthenticationFailure SWIFT_WARN_UNUSED_RESULT; +/// For some errors that could be handled programmatically, a short string indicating the error code reported. +/// seealso: +/// https://stripe.com/docs/error-codes +@property (nonatomic, readonly, copy) NSString * _Nullable code; +/// For card (STPPaymentIntentLastPaymentErrorType.card) errors resulting from a card issuer decline, +/// a short string indicating the card issuer’s reason for the decline if they provide one. +/// seealso: +/// https://stripe.com/docs/declines#issuer-declines +@property (nonatomic, readonly, copy) NSString * _Nullable declineCode; +/// A URL to more information about the error code reported. +/// seealso: +/// https://stripe.com/docs/error-codes +@property (nonatomic, readonly, copy) NSString * _Nullable docURL; +/// A human-readable message providing more details about the error. +/// For card (STPPaymentIntentLastPaymentErrorType.card) errors, these messages can be shown to your users. +@property (nonatomic, readonly, copy) NSString * _Nullable message; +/// If the error is parameter-specific, the parameter related to the error. +/// For example, you can use this to display a message near the correct form field. +@property (nonatomic, readonly, copy) NSString * _Nullable param; +/// The PaymentMethod object for errors returned on a request involving a PaymentMethod. +@property (nonatomic, readonly, strong) STPPaymentMethod * _Nullable paymentMethod; +/// The type of error. +@property (nonatomic, readonly) enum STPPaymentIntentLastPaymentErrorType type; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPPaymentIntentLastPaymentError (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// The type of the error represented by STPPaymentIntentLastPaymentError. +/// Some STPPaymentIntentLastPaymentError properties are only populated for certain error types. +typedef SWIFT_ENUM(NSInteger, STPPaymentIntentLastPaymentErrorType, open) { +/// An unknown error type. + STPPaymentIntentLastPaymentErrorTypeUnknown = 0, +/// An error connecting to Stripe’s API. + STPPaymentIntentLastPaymentErrorTypeAPIConnection SWIFT_COMPILE_NAME("apiConnection") = 1, +/// An error with the Stripe API. + STPPaymentIntentLastPaymentErrorTypeAPI SWIFT_COMPILE_NAME("api") = 2, +/// A failure to authenticate your customer. + STPPaymentIntentLastPaymentErrorTypeAuthentication = 3, +/// Card errors are the most common type of error you should expect to handle. +/// They result when the user enters a card that can’t be charged for some reason. +/// Check the declineCode property for the decline code. The message property contains a message you can show to your users. + STPPaymentIntentLastPaymentErrorTypeCard = 4, +/// Keys for idempotent requests can only be used with the same parameters they were first used with. + STPPaymentIntentLastPaymentErrorTypeIdempotency = 5, +/// Invalid request errors. Typically, this is because your request has invalid parameters. + STPPaymentIntentLastPaymentErrorTypeInvalidRequest = 6, +/// Too many requests hit the API too quickly. + STPPaymentIntentLastPaymentErrorTypeRateLimit = 7, +}; + +@class STPSourceParams; +@class STPPaymentIntentShippingDetailsParams; + +/// An object representing parameters used to confirm a PaymentIntent object. +/// A PaymentIntent must have a PaymentMethod or Source associated in order to successfully confirm it. +/// That PaymentMethod or Source can either be: +/// seealso: +/// https://stripe.com/docs/api#confirm_payment_intent +///
    +///
  • +/// created during confirmation, by passing in a STPPaymentMethodParams or STPSourceParams object in the paymentMethodParams or sourceParams field +///
  • +///
  • +/// a pre-existing PaymentMethod or Source can be associated by passing its id in the paymentMethodId or sourceId field +///
  • +///
  • +/// or already set via your backend, either when creating or updating the PaymentIntent +///
  • +///
+SWIFT_CLASS("_TtC6Stripe22STPPaymentIntentParams") +@interface STPPaymentIntentParams : NSObject +/// Initialize this STPPaymentIntentParams with a clientSecret, which is the only required +/// field. +/// \param clientSecret the client secret for this PaymentIntent +/// +- (nonnull instancetype)initWithClientSecret:(NSString * _Nonnull)clientSecret OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// The Stripe id of the PaymentIntent, extracted from the clientSecret. +@property (nonatomic, readonly, copy) NSString * _Nullable stripeId; +/// The client secret of the PaymentIntent. Required +@property (nonatomic, copy) NSString * _Nonnull clientSecret; +/// Provide a supported STPPaymentMethodParams object, and Stripe will create a +/// PaymentMethod during PaymentIntent confirmation. +/// @note alternative to paymentMethodId +@property (nonatomic, strong) STPPaymentMethodParams * _Nullable paymentMethodParams; +/// Provide an already created PaymentMethod’s id, and it will be used to confirm the PaymentIntent. +/// @note alternative to paymentMethodParams +@property (nonatomic, copy) NSString * _Nullable paymentMethodId; +/// Provide a supported STPSourceParams object into here, and Stripe will create a Source +/// during PaymentIntent confirmation. +/// @note alternative to sourceId +@property (nonatomic, strong) STPSourceParams * _Nullable sourceParams; +/// Provide an already created Source’s id, and it will be used to confirm the PaymentIntent. +/// @note alternative to sourceParams +@property (nonatomic, copy) NSString * _Nullable sourceId; +/// Email address that the receipt for the resulting payment will be sent to. +@property (nonatomic, copy) NSString * _Nullable receiptEmail; +/// @YES to save this PaymentIntent’s PaymentMethod or Source to the associated Customer, +/// if the PaymentMethod/Source is not already attached. +/// This should be a boolean NSNumber, so that it can be nil +@property (nonatomic, strong) NSNumber * _Nullable savePaymentMethod; +/// The URL to redirect your customer back to after they authenticate or cancel +/// their payment on the payment method’s app or site. +/// This should probably be a URL that opens your iOS app. +@property (nonatomic, copy) NSString * _Nullable returnURL; +/// When provided, this property indicates how you intend to use the payment method that your customer provides after the current payment completes. +/// If applicable, additional authentication may be performed to comply with regional legislation or network rules required to enable the usage of the same payment method for additional payments. +/// This property should only be used in Objective-C. In Swift, use setupFutureUsage. +/// seealso: +/// STPPaymentIntentSetupFutureUsage for more details on what values you can provide. +@property (nonatomic, strong) NSNumber * _Nullable setupFutureUsage; +/// A boolean number to indicate whether you intend to use the Stripe SDK’s functionality to handle any PaymentIntent next actions. +/// If set to false, STPPaymentIntent.nextAction will only ever contain a redirect url that can be opened in a webview or mobile browser. +/// When set to true, the nextAction may contain information that the Stripe SDK can use to perform native authentication within your +/// app. +@property (nonatomic, strong) NSNumber * _Nullable useStripeSDK; +/// Details about the Mandate to create. +/// @note If this value is null and the (self.paymentMethod.type == STPPaymentMethodTypeSEPADebit | | self.paymentMethodParams.type == STPPaymentMethodTypeAUBECSDebit || self.paymentMethodParams.type == STPPaymentMethodTypeBacsDebit) && self.mandate == nil`, the SDK will set this to an internal value indicating that the mandate data should be inferred from the current context. +@property (nonatomic, strong) STPMandateDataParams * _Nullable mandateData; +/// Options to update the associated PaymentMethod during confirmation. +/// seealso: +/// STPConfirmPaymentMethodOptions +@property (nonatomic, strong) STPConfirmPaymentMethodOptions * _Nullable paymentMethodOptions; +/// Shipping information. +@property (nonatomic, strong) STPPaymentIntentShippingDetailsParams * _Nullable shipping; +/// The URL to redirect your customer back to after they authenticate or cancel +/// their payment on the payment method’s app or site. +/// This property has been renamed to returnURL and deprecated. +@property (nonatomic, copy) NSString * _Nullable returnUrl SWIFT_DEPRECATED_MSG("", "returnURL"); +/// @YES to save this PaymentIntent’s Source to the associated Customer, +/// if the Source is not already attached. +/// This should be a boolean NSNumber, so that it can be nil +/// This property has been renamed to savePaymentMethod and deprecated. +@property (nonatomic, strong) NSNumber * _Nullable saveSourceToCustomer SWIFT_DEPRECATED_MSG("", "savePaymentMethod"); +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Provide an STPPaymentResult from STPPaymentContext, and this will populate +/// the proper field (either paymentMethodId or paymentMethodParams) for your PaymentMethod. +- (void)configureWith:(STPPaymentResult * _Nonnull)paymentResult; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +@end + + +@interface STPPaymentIntentParams (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface STPPaymentIntentParams (SWIFT_EXTENSION(Stripe)) ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +@end + +/// Indicates how you intend to use the payment method that your customer provides after the current payment completes. +/// If applicable, additional authentication may be performed to comply with regional legislation or network rules required to enable the usage of the same payment method for additional payments. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/object#payment_intent_object-setup_future_usage +typedef SWIFT_ENUM(NSInteger, STPPaymentIntentSetupFutureUsage, open) { +/// Unknown value. Update your SDK, or use allResponseFields for custom handling. + STPPaymentIntentSetupFutureUsageUnknown = 0, +/// No value was provided. + STPPaymentIntentSetupFutureUsageNone = 1, +/// Indicates you intend to only reuse the payment method when the customer is in your checkout flow. + STPPaymentIntentSetupFutureUsageOnSession = 2, +/// Indicates you intend to reuse the payment method when the customer may or may not be in your checkout flow. + STPPaymentIntentSetupFutureUsageOffSession = 3, +}; + +@class STPPaymentIntentShippingDetailsAddress; + +/// Shipping information for a PaymentIntent +/// You cannot directly instantiate an STPPaymentIntentShippingDetails. +/// You should only use one that is part of an existing STPPaymentMethod object. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/object#payment_intent_object-shipping +SWIFT_CLASS("_TtC6Stripe31STPPaymentIntentShippingDetails") +@interface STPPaymentIntentShippingDetails : NSObject +/// Shipping address. +@property (nonatomic, readonly, strong) STPPaymentIntentShippingDetailsAddress * _Nullable address; +/// Recipient name. +@property (nonatomic, readonly, copy) NSString * _Nullable name; +/// The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc. +@property (nonatomic, readonly, copy) NSString * _Nullable carrier; +/// Recipient phone (including extension). +@property (nonatomic, readonly, copy) NSString * _Nullable phone; +/// The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas. +@property (nonatomic, readonly, copy) NSString * _Nullable trackingNumber; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPPaymentIntentShippingDetails (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Shipping address for a PaymentIntent’s shipping details. +/// You cannot directly instantiate an STPPaymentIntentShippingDetailsAddress. +/// You should only use one that is part of an existing STPPaymentMethod object. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/object#payment_intent_object-shipping +SWIFT_CLASS("_TtC6Stripe38STPPaymentIntentShippingDetailsAddress") +@interface STPPaymentIntentShippingDetailsAddress : NSObject +/// City/District/Suburb/Town/Village. +@property (nonatomic, readonly, copy) NSString * _Nullable city; +/// Two-letter country code (ISO 3166-1 alpha-2). +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// Address line 1 (Street address/PO Box/Company name). +@property (nonatomic, readonly, copy) NSString * _Nullable line1; +/// Address line 2 (Apartment/Suite/Unit/Building). +@property (nonatomic, readonly, copy) NSString * _Nullable line2; +/// ZIP or postal code. +@property (nonatomic, readonly, copy) NSString * _Nullable postalCode; +/// State/County/Province/Region. +@property (nonatomic, readonly, copy) NSString * _Nullable state; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPPaymentIntentShippingDetailsAddress (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Shipping address for a PaymentIntent’s shipping details. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-shipping-address +SWIFT_CLASS("_TtC6Stripe44STPPaymentIntentShippingDetailsAddressParams") +@interface STPPaymentIntentShippingDetailsAddressParams : NSObject +/// City/District/Suburb/Town/Village. +@property (nonatomic, copy) NSString * _Nullable city; +/// Two-letter country code (ISO 3166-1 alpha-2). +@property (nonatomic, copy) NSString * _Nullable country; +/// Address line 1 (Street address/PO Box/Company name). +@property (nonatomic, copy) NSString * _Nonnull line1; +/// Address line 2 (Apartment/Suite/Unit/Building). +@property (nonatomic, copy) NSString * _Nullable line2; +/// ZIP or postal code. +@property (nonatomic, copy) NSString * _Nullable postalCode; +/// State/County/Province/Region. +@property (nonatomic, copy) NSString * _Nullable state; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initialize an STPPaymentIntentShippingDetailsAddressParams instance with required properties. +- (nonnull instancetype)initWithLine1:(NSString * _Nonnull)line1 OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPPaymentIntentShippingDetailsAddressParams (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface STPPaymentIntentShippingDetailsAddressParams (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Shipping information for a PaymentIntent +/// seealso: +/// https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-shipping +SWIFT_CLASS("_TtC6Stripe37STPPaymentIntentShippingDetailsParams") +@interface STPPaymentIntentShippingDetailsParams : NSObject +/// Shipping address. +@property (nonatomic, strong) STPPaymentIntentShippingDetailsAddressParams * _Nonnull address; +/// Recipient name. +@property (nonatomic, copy) NSString * _Nonnull name; +/// The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc. +@property (nonatomic, copy) NSString * _Nullable carrier; +/// Recipient phone (including extension). +@property (nonatomic, copy) NSString * _Nullable phone; +/// The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas. +@property (nonatomic, copy) NSString * _Nullable trackingNumber; +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initialize an STPPaymentIntentShippingDetailsParams with required properties. +- (nonnull instancetype)initWithAddress:(STPPaymentIntentShippingDetailsAddressParams * _Nonnull)address name:(NSString * _Nonnull)name OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPPaymentIntentShippingDetailsParams (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface STPPaymentIntentShippingDetailsParams (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Source Action details for an STPPaymentIntent. This is a container for +/// the various types that are available. Check the type to see which one +/// it is, and then use the related property for the details necessary to handle +/// it. +/// @deprecated Use STPIntentAction instead. +SWIFT_CLASS("_TtC6Stripe28STPPaymentIntentSourceAction") SWIFT_UNAVAILABLE_MSG("'STPPaymentIntentSourceAction' has been renamed to '_TtC6Stripe15STPIntentAction': Use `STPIntentAction` instead.") +@interface STPPaymentIntentSourceAction : STPIntentAction +@end + + +/// The STPPaymentIntentSourceAction details when type is STPPaymentIntentSourceActionTypeAuthorizeWithURL. +/// These are created & owned by the containing STPPaymentIntent. +/// @deprecated Use STPIntentActionRedirectToURL instead. +SWIFT_CLASS("_TtC6Stripe44STPPaymentIntentSourceActionAuthorizeWithURL") SWIFT_UNAVAILABLE_MSG("'STPPaymentIntentSourceActionAuthorizeWithURL' has been renamed to '_TtC6Stripe28STPIntentActionRedirectToURL': Use `STPIntentActionRedirectToURL` instead.") +@interface STPPaymentIntentSourceActionAuthorizeWithURL : STPIntentActionRedirectToURL +@end + +/// Types of Source Actions from a STPPaymentIntent, when the payment intent +/// status is STPPaymentIntentStatusRequiresSourceAction. +/// @deprecated UseSTPPaymentIntentActionType instead. +typedef SWIFT_ENUM(NSInteger, STPPaymentIntentSourceActionType, open) { +/// This is an unknown source action, that’s been added since the SDK +/// was last updated. +/// Update your SDK, or use the nextSourceAction.allResponseFields +/// for custom handling. + STPPaymentIntentSourceActionTypeUnknown = 0, +/// The payment intent needs to be authorized by the user. We provide +/// STPRedirectContext to handle the url redirections necessary. + STPPaymentIntentSourceActionTypeAuthorizeWithURL = 1, +}; + +/// Status types for an STPPaymentIntent +typedef SWIFT_ENUM(NSInteger, STPPaymentIntentStatus, open) { +/// Unknown status + STPPaymentIntentStatusUnknown = 0, +/// This PaymentIntent requires a PaymentMethod or Source + STPPaymentIntentStatusRequiresPaymentMethod = 1, +/// This PaymentIntent requires a Source +/// Deprecated: Use STPPaymentIntentStatusRequiresPaymentMethod instead. + STPPaymentIntentStatusRequiresSource = 2, +/// This PaymentIntent needs to be confirmed + STPPaymentIntentStatusRequiresConfirmation = 3, +/// The selected PaymentMethod or Source requires additional authentication steps. +/// Additional actions found via next_action + STPPaymentIntentStatusRequiresAction = 4, +/// The selected Source requires additional authentication steps. +/// Additional actions found via next_source_action +/// Deprecated: Use STPPaymentIntentStatusRequiresAction instead. + STPPaymentIntentStatusRequiresSourceAction = 5, +/// Stripe is processing this PaymentIntent + STPPaymentIntentStatusProcessing = 6, +/// The payment has succeeded + STPPaymentIntentStatusSucceeded = 7, +/// Indicates the payment must be captured, for STPPaymentIntentCaptureMethodManual + STPPaymentIntentStatusRequiresCapture = 8, +/// This PaymentIntent was canceled and cannot be changed. + STPPaymentIntentStatusCanceled = 9, +}; + +enum STPPaymentMethodType : NSInteger; +@class STPPaymentMethodAlipay; +@class STPPaymentMethodGrabPay; +@class STPPaymentMethodCard; +@class STPPaymentMethodiDEAL; +@class STPPaymentMethodFPX; +@class STPPaymentMethodCardPresent; +@class STPPaymentMethodSEPADebit; +@class STPPaymentMethodBacsDebit; +@class STPPaymentMethodAUBECSDebit; +@class STPPaymentMethodGiropay; +@class STPPaymentMethodEPS; +@class STPPaymentMethodPrzelewy24; +@class STPPaymentMethodBancontact; +@class STPPaymentMethodNetBanking; +@class STPPaymentMethodOXXO; +@class STPPaymentMethodSofort; +@class STPPaymentMethodUPI; +@class STPPaymentMethodPayPal; +@class STPPaymentMethodAfterpayClearpay; +@class STPPaymentMethodBLIK; +@class STPPaymentMethodBoleto; +@class STPPaymentMethodLink; +@class STPPaymentMethodKlarna; + +/// PaymentMethod objects represent your customer’s payment instruments. They can be used with PaymentIntents to collect payments. +/// seealso: +/// https://stripe.com/docs/api/payment_methods +SWIFT_CLASS("_TtC6Stripe16STPPaymentMethod") +@interface STPPaymentMethod : NSObject +/// Unique identifier for the object. +@property (nonatomic, readonly, copy) NSString * _Nonnull stripeId; +/// Time at which the object was created. Measured in seconds since the Unix epoch. +@property (nonatomic, readonly, copy) NSDate * _Nullable created; +/// YES if the object exists in live mode or the value NO if the object exists in test mode. +@property (nonatomic, readonly) BOOL liveMode; +/// The type of the PaymentMethod. The corresponding, similarly named property contains additional information specific to the PaymentMethod type. +/// e.g. if the type is STPPaymentMethodTypeCard, the card property is also populated. +@property (nonatomic, readonly) enum STPPaymentMethodType type; +/// Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods. +@property (nonatomic, readonly, strong) STPPaymentMethodBillingDetails * _Nullable billingDetails; +/// If this is an Alipay PaymentMethod (ie self.type == STPPaymentMethodTypeAlipay), this contains additional detailsl +@property (nonatomic, readonly, strong) STPPaymentMethodAlipay * _Nullable alipay; +/// If this is a GrabPay PaymentMethod (ie self.type == STPPaymentMethodTypeGrabPay), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodGrabPay * _Nullable grabPay; +/// If this is a card PaymentMethod (ie self.type == STPPaymentMethodTypeCard), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodCard * _Nullable card; +/// If this is a iDEAL PaymentMethod (ie self.type == STPPaymentMethodTypeiDEAL), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodiDEAL * _Nullable iDEAL; +/// If this is an FPX PaymentMethod (ie self.type == STPPaymentMethodTypeFPX), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodFPX * _Nullable fpx; +/// If this is a card present PaymentMethod (ie self.type == STPPaymentMethodTypeCardPresent), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodCardPresent * _Nullable cardPresent; +/// If this is a SEPA Debit PaymentMethod (ie self.type == STPPaymentMethodTypeSEPADebit), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodSEPADebit * _Nullable sepaDebit; +/// If this is a Bacs Debit PaymentMethod (ie self.type == STPPaymentMethodTypeBacsDebit), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodBacsDebit * _Nullable bacsDebit; +/// If this is an AU BECS Debit PaymentMethod (i.e. self.type == STPPaymentMethodTypeAUBECSDebit), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodAUBECSDebit * _Nullable auBECSDebit; +/// If this is a giropay PaymentMethod (i.e. self.type == STPPaymentMethodTypeGiropay), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodGiropay * _Nullable giropay; +/// If this is an EPS PaymentMethod (i.e. self.type == STPPaymentMethodTypeEPS), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodEPS * _Nullable eps; +/// If this is a Przelewy24 PaymentMethod (i.e. self.type == STPPaymentMethodTypePrzelewy24), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodPrzelewy24 * _Nullable przelewy24; +/// If this is a Bancontact PaymentMethod (i.e. self.type == STPPaymentMethodTypeBancontact), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodBancontact * _Nullable bancontact; +/// If this is a NetBanking PaymentMethod (i.e. self.type == STPPaymentMethodTypeNetBanking), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodNetBanking * _Nullable netBanking; +/// If this is an OXXO PaymentMethod (i.e. self.type == STPPaymentMethodTypeOXXO), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodOXXO * _Nullable oxxo; +/// If this is a Sofort PaymentMethod (i.e. self.type == STPPaymentMethodTypeSofort), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodSofort * _Nullable sofort; +/// If this is a UPI PaymentMethod (i.e. self.type == STPPaymentMethodTypeUPI), this contains additional details. :nodoc: +@property (nonatomic, readonly, strong) STPPaymentMethodUPI * _Nullable upi; +/// If this is a PayPal PaymentMethod (i.e. self.type == STPPaymentMethodTypePayPal), this contains additional details. :nodoc: +@property (nonatomic, readonly, strong) STPPaymentMethodPayPal * _Nullable payPal; +/// If this is an AfterpayClearpay PaymentMethod (i.e. self.type == STPPaymentMethodTypeAfterpayClearpay), this contains additional details. :nodoc: +@property (nonatomic, readonly, strong) STPPaymentMethodAfterpayClearpay * _Nullable afterpayClearpay; +/// If this is a BLIK PaymentMethod (i.e. self.type == STPPaymentMethodTypeBLIK), this contains additional details. :nodoc: +@property (nonatomic, readonly, strong) STPPaymentMethodBLIK * _Nullable blik; +/// If this is an Boleto PaymentMethod (i.e. self.type == STPPaymentMethodTypeBoleto), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodBoleto * _Nullable boleto; +/// If this is a Link PaymentMethod (i.e. self.type == STPPaymentMethodTypeLink), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodLink * _Nullable link; +/// If this is an Boleto PaymentMethod (i.e. self.type == STPPaymentMethodTypeKlarna), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodKlarna * _Nullable klarna; +/// The ID of the Customer to which this PaymentMethod is saved. Nil when the PaymentMethod has not been saved to a Customer. +@property (nonatomic, readonly, copy) NSString * _Nullable customerId; +/// Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. +/// @deprecated Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead. +/// seealso: +/// https://stripe.com/docs/api#metadata +@property (nonatomic, readonly, copy) NSDictionary * _Nullable metadata SWIFT_DEPRECATED_MSG("Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead."); +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, strong) UIImage * _Nonnull image; +@property (nonatomic, readonly, strong) UIImage * _Nonnull templateImage; +@property (nonatomic, readonly, copy) NSString * _Nonnull label; +@property (nonatomic, readonly) BOOL isReusable; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + + + +/// An AU BECS Debit Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-au_becs_debit +SWIFT_CLASS("_TtC6Stripe27STPPaymentMethodAUBECSDebit") +@interface STPPaymentMethodAUBECSDebit : NSObject +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// Six-digit number identifying bank and branch associated with this bank account. +@property (nonatomic, readonly, copy) NSString * _Nonnull bsbNumber; +/// Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. +@property (nonatomic, readonly, copy) NSString * _Nonnull fingerprint; +/// Last four digits of the bank account number. +@property (nonatomic, readonly, copy) NSString * _Nonnull last4; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create an AU BECS Debit Payment Method +SWIFT_CLASS("_TtC6Stripe33STPPaymentMethodAUBECSDebitParams") +@interface STPPaymentMethodAUBECSDebitParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// The account number to debit. +@property (nonatomic, copy) NSString * _Nullable accountNumber; +/// Six-digit number identifying bank and branch associated with this bank account. +@property (nonatomic, copy) NSString * _Nullable bsbNumber; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// The billing address, a property on STPPaymentMethodBillingDetails +SWIFT_CLASS("_TtC6Stripe23STPPaymentMethodAddress") +@interface STPPaymentMethodAddress : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// City/District/Suburb/Town/Village. +@property (nonatomic, copy) NSString * _Nullable city; +/// 2-letter country code. +@property (nonatomic, copy) NSString * _Nullable country; +/// Address line 1 (Street address/PO Box/Company name). +@property (nonatomic, copy) NSString * _Nullable line1; +/// Address line 2 (Apartment/Suite/Unit/Building). +@property (nonatomic, copy) NSString * _Nullable line2; +/// ZIP or postal code. +@property (nonatomic, copy) NSString * _Nullable postalCode; +/// State/County/Province/Region. +@property (nonatomic, copy) NSString * _Nullable state; +/// Convenience initializer for creating a STPPaymentMethodAddress from an STPAddress. +- (nonnull instancetype)initWithAddress:(STPAddress * _Nonnull)address OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + + +/// An AfterpayClearpay Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-afterpay_clearpay +SWIFT_CLASS("_TtC6Stripe32STPPaymentMethodAfterpayClearpay") +@interface STPPaymentMethodAfterpayClearpay : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create an AfterpayClearpay Payment Method +SWIFT_CLASS("_TtC6Stripe38STPPaymentMethodAfterpayClearpayParams") +@interface STPPaymentMethodAfterpayClearpayParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// Contains details for an Alipay Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-alipay +SWIFT_CLASS("_TtC6Stripe22STPPaymentMethodAlipay") +@interface STPPaymentMethodAlipay : NSObject +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// :nodoc: ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create an Alipay Payment Method. +/// There are currently no parameters to pass. +/// seealso: +/// https://site-admin.stripe.com/docs/api/payment_methods/create#create_payment_method-alipay +SWIFT_CLASS("_TtC6Stripe28STPPaymentMethodAlipayParams") +@interface STPPaymentMethodAlipayParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// Contains details for a BLIK Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-blik +SWIFT_CLASS("_TtC6Stripe20STPPaymentMethodBLIK") +@interface STPPaymentMethodBLIK : NSObject +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// :nodoc: ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a BLIK Payment Method +/// There are currently no parameters to pass. +/// seealso: +/// https://site-admin.stripe.com/docs/api/payment_methods/create#create_payment_method-blik +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodBLIKParams") +@interface STPPaymentMethodBLIKParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A Bacs Debit Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-bacs_debit +SWIFT_CLASS("_TtC6Stripe25STPPaymentMethodBacsDebit") +@interface STPPaymentMethodBacsDebit : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// This payment method’s fingerprint. +@property (nonatomic, readonly, copy) NSString * _Nullable fingerprint; +/// The last four digits of the bank account. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// The sort code of the bank account (eg 10-88-00) +@property (nonatomic, readonly, copy) NSString * _Nullable sortCode; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// The user’s bank account details. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/create#create_payment_method-bacs_debit +SWIFT_CLASS("_TtC6Stripe31STPPaymentMethodBacsDebitParams") +@interface STPPaymentMethodBacsDebitParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// The bank account number (eg 00012345) +@property (nonatomic, copy) NSString * _Nullable accountNumber; +/// The sort code of the bank account (eg 10-88-00) +@property (nonatomic, copy) NSString * _Nullable sortCode; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A Bancontact Payment Method. +/// seealso: +/// https://stripe.com/docs/payments/bancontact +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodBancontact") +@interface STPPaymentMethodBancontact : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a Bancontact Payment Method +SWIFT_CLASS("_TtC6Stripe32STPPaymentMethodBancontactParams") +@interface STPPaymentMethodBancontactParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// Billing information associated with a STPPaymentMethod that may be used or required by particular types of payment methods. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-billing_details +SWIFT_CLASS("_TtC6Stripe30STPPaymentMethodBillingDetails") +@interface STPPaymentMethodBillingDetails : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Billing address. +@property (nonatomic, strong) STPPaymentMethodAddress * _Nullable address; +/// Email address. +@property (nonatomic, copy) NSString * _Nullable email; +/// Full name. +@property (nonatomic, copy) NSString * _Nullable name; +/// Billing phone number (including extension). +@property (nonatomic, copy) NSString * _Nullable phone; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// :nodoc: +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + + + +/// A Boleto Payment Method. +/// seealso: +/// https://stripe.com/docs/payments/boleto +SWIFT_CLASS("_TtC6Stripe22STPPaymentMethodBoleto") +@interface STPPaymentMethodBoleto : NSObject +/// The tax ID of the customer (CPF for individuals or CNPJ for businesses). +@property (nonatomic, readonly, copy) NSString * _Nonnull taxID; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a Boleto Payment Method +SWIFT_CLASS("_TtC6Stripe28STPPaymentMethodBoletoParams") +@interface STPPaymentMethodBoletoParams : NSObject +/// The tax ID of the customer (CPF for individuals or CNPJ for businesses). +/// Supported formats: +///
    +///
  • +/// XXX.XXX.XXX-XX or XXXXXXXXXXX for CPF +///
  • +///
  • +/// XX.XXX.XXX/XXXX-XX or XXXXXXXXXXXXXX for CNPJ +///
  • +///
+@property (nonatomic, copy) NSString * _Nullable taxID; +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class STPPaymentMethodCardChecks; +@class STPPaymentMethodCardNetworks; +@class STPPaymentMethodThreeDSecureUsage; +@class STPPaymentMethodCardWallet; + +/// Contains details about a user’s credit card. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-card +SWIFT_CLASS("_TtC6Stripe20STPPaymentMethodCard") +@interface STPPaymentMethodCard : NSObject +/// You cannot directly instantiate an STPPaymentMethodCard. You should only use one that is part of an existing STPPaymentMethod object. +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// The issuer of the card. +@property (nonatomic, readonly) enum STPCardBrand brand; +/// Checks on Card address and CVC if provided. +@property (nonatomic, readonly, strong) STPPaymentMethodCardChecks * _Nullable checks; +/// Two-letter ISO code representing the country of the card. +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// Two-digit number representing the card’s expiration month. +@property (nonatomic, readonly) NSInteger expMonth; +/// Four-digit number representing the card’s expiration year. +@property (nonatomic, readonly) NSInteger expYear; +/// Card funding type. Can be credit, debit, prepaid, or unknown. +@property (nonatomic, readonly, copy) NSString * _Nullable funding; +/// The last four digits of the card. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. +@property (nonatomic, readonly, copy) NSString * _Nullable fingerprint; +/// Contains information about card networks that can be used to process the payment. +@property (nonatomic, readonly, strong) STPPaymentMethodCardNetworks * _Nullable networks; +/// Contains details on how this Card maybe be used for 3D Secure authentication. +@property (nonatomic, readonly, strong) STPPaymentMethodThreeDSecureUsage * _Nullable threeDSecureUsage; +/// If this Card is part of a Card Wallet, this contains the details of the Card Wallet. +@property (nonatomic, readonly, strong) STPPaymentMethodCardWallet * _Nullable wallet; +/// Returns a string representation for the provided card brand; +/// i.e. STPPaymentMethodCard.string(from brand:.visa) == "Visa". +/// \param brand the brand you want to convert to a string +/// +/// +/// returns: +/// A string representing the brand, suitable for displaying to a user. ++ (NSString * _Nonnull)stringFromBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// The result of a check on a Card address or CVC. +typedef SWIFT_ENUM(NSInteger, STPPaymentMethodCardCheckResult, open) { +/// The check passed. + STPPaymentMethodCardCheckResultPass = 0, +/// The check failed. + STPPaymentMethodCardCheckResultFailed = 1, +/// The check is unavailable. + STPPaymentMethodCardCheckResultUnavailable = 2, +/// The value was not checked. + STPPaymentMethodCardCheckResultUnchecked = 3, +/// Represents an unknown or null value. + STPPaymentMethodCardCheckResultUnknown = 4, +}; + + +/// Checks on Card address and CVC. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-checks +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodCardChecks") +@interface STPPaymentMethodCardChecks : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// If a address line1 was provided, results of the check. +@property (nonatomic, readonly) enum STPPaymentMethodCardCheckResult addressLine1Check SWIFT_DEPRECATED_MSG("Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead."); +/// If a address postal code was provided, results of the check. +/// deprecated Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead. +@property (nonatomic, readonly) enum STPPaymentMethodCardCheckResult addressPostalCodeCheck SWIFT_DEPRECATED_MSG("Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead."); +/// If a CVC was provided, results of the check. +/// deprecated Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead. +@property (nonatomic, readonly) enum STPPaymentMethodCardCheckResult cvcCheck SWIFT_DEPRECATED_MSG("Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead."); +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// STPPaymentMethodCardNetworks contains information about card networks that can be used to process a payment. +SWIFT_CLASS("_TtC6Stripe28STPPaymentMethodCardNetworks") +@interface STPPaymentMethodCardNetworks : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// All available networks for the card. +@property (nonatomic, readonly, copy) NSArray * _Nonnull available; +/// The preferred network for the card if one exists. +@property (nonatomic, readonly, copy) NSString * _Nullable preferred; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// The user’s card details. +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodCardParams") +@interface STPPaymentMethodCardParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// A convenience initializer for creating a payment method from a card source. +/// This should be used to help with migrations to Payment Methods from Sources. +- (nonnull instancetype)initWithCardSourceParams:(STPCardParams * _Nonnull)cardSourceParams; +/// Initializes an empty STPPaymentMethodCardParams. +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +/// The card number, as a string without any separators. Ex. @“4242424242424242” +@property (nonatomic, copy) NSString * _Nullable number; +/// Number representing the card’s expiration month. Ex. @1 +@property (nonatomic, strong) NSNumber * _Nullable expMonth; +/// Two- or four-digit number representing the card’s expiration year. +@property (nonatomic, strong) NSNumber * _Nullable expYear; +/// For backwards compatibility, you can alternatively set this as a Stripe token (e.g., for apple pay) +@property (nonatomic, copy) NSString * _Nullable token; +/// Card security code. It is highly recommended to always include this value. +@property (nonatomic, copy) NSString * _Nullable cvc; +/// The last 4 digits of the card. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (BOOL)isEqual:(id _Nullable)other SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Details about the Card Present payment method +SWIFT_CLASS("_TtC6Stripe27STPPaymentMethodCardPresent") +@interface STPPaymentMethodCardPresent : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +enum STPPaymentMethodCardWalletType : NSInteger; +@class STPPaymentMethodCardWalletMasterpass; +@class STPPaymentMethodCardWalletVisaCheckout; + +/// A Card Wallet. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-wallet +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodCardWallet") +@interface STPPaymentMethodCardWallet : NSObject +/// The type of the Card Wallet. A matching property is populated if the type is STPPaymentMethodCardWalletTypeMasterpass or STPPaymentMethodCardWalletTypeVisaCheckout containing additional information specific to the Card Wallet type. +@property (nonatomic, readonly) enum STPPaymentMethodCardWalletType type; +/// Contains additional Masterpass information, if the type of the Card Wallet is STPPaymentMethodCardWalletTypeMasterpass +@property (nonatomic, readonly, strong) STPPaymentMethodCardWalletMasterpass * _Nullable masterpass; +/// Contains additional Visa Checkout information, if the type of the Card Wallet is STPPaymentMethodCardWalletTypeVisaCheckout +@property (nonatomic, readonly, strong) STPPaymentMethodCardWalletVisaCheckout * _Nullable visaCheckout; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + + +/// A Masterpass Card Wallet +/// seealso: +/// https://stripe.com/docs/masterpass +SWIFT_CLASS("_TtC6Stripe36STPPaymentMethodCardWalletMasterpass") +@interface STPPaymentMethodCardWalletMasterpass : NSObject +/// Owner’s verified email. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, copy) NSString * _Nullable email; +/// Owner’s verified email. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, copy) NSString * _Nullable name; +/// Owner’s verified billing address. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, strong) STPPaymentMethodAddress * _Nullable billingAddress; +/// Owner’s verified shipping address. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, strong) STPPaymentMethodAddress * _Nullable shippingAddress; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// The type of Card Wallet. +typedef SWIFT_ENUM(NSInteger, STPPaymentMethodCardWalletType, open) { +/// Amex Express Checkout + STPPaymentMethodCardWalletTypeAmexExpressCheckout = 0, +/// Apple Pay + STPPaymentMethodCardWalletTypeApplePay = 1, +/// Google Pay + STPPaymentMethodCardWalletTypeGooglePay = 2, +/// Masterpass + STPPaymentMethodCardWalletTypeMasterpass = 3, +/// Samsung Pay + STPPaymentMethodCardWalletTypeSamsungPay = 4, +/// Visa Checkout + STPPaymentMethodCardWalletTypeVisaCheckout = 5, +/// An unknown Card Wallet type. + STPPaymentMethodCardWalletTypeUnknown = 6, +}; + + +/// A Visa Checkout Card Wallet +/// seealso: +/// https://stripe.com/docs/visa-checkout +SWIFT_CLASS("_TtC6Stripe38STPPaymentMethodCardWalletVisaCheckout") +@interface STPPaymentMethodCardWalletVisaCheckout : NSObject +/// Owner’s verified email. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, copy) NSString * _Nullable email; +/// Owner’s verified email. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, copy) NSString * _Nullable name; +/// Owner’s verified billing address. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, strong) STPPaymentMethodAddress * _Nullable billingAddress; +/// Owner’s verified shipping address. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, strong) STPPaymentMethodAddress * _Nullable shippingAddress; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An EPS Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-eps +SWIFT_CLASS("_TtC6Stripe19STPPaymentMethodEPS") +@interface STPPaymentMethodEPS : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a EPS Payment Method +SWIFT_CLASS("_TtC6Stripe25STPPaymentMethodEPSParams") +@interface STPPaymentMethodEPSParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// An FPX Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-fpx +SWIFT_CLASS("_TtC6Stripe19STPPaymentMethodFPX") +@interface STPPaymentMethodFPX : NSObject +/// The customer’s bank identifier code. +@property (nonatomic, readonly, copy) NSString * _Nullable bankIdentifierCode; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An object representing parameters used to create an FPX Payment Method +SWIFT_CLASS("_TtC6Stripe25STPPaymentMethodFPXParams") +@interface STPPaymentMethodFPXParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// The customer’s bank. Required. +@property (nonatomic) enum STPFPXBankBrand bank; +/// The raw underlying bank string sent to the server. +/// Generally you should use bank instead unless you have a reason not to. +/// You can use this if you want to create a param of a bank not yet supported +/// by the current version of the SDK’s STPFPXBankBrand enum. +/// Setting this to a value not known by the SDK causes bank to +/// return STPFPXBankBrandUnknown +@property (nonatomic, copy) NSString * _Nullable rawBankString; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A giropay Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-giropay +SWIFT_CLASS("_TtC6Stripe23STPPaymentMethodGiropay") +@interface STPPaymentMethodGiropay : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a giropay Payment Method +SWIFT_CLASS("_TtC6Stripe29STPPaymentMethodGiropayParams") +@interface STPPaymentMethodGiropayParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A GrabPay PaymentMethod +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-grabpay +SWIFT_CLASS("_TtC6Stripe23STPPaymentMethodGrabPay") +@interface STPPaymentMethodGrabPay : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a GrabPay Payment Method +SWIFT_CLASS("_TtC6Stripe29STPPaymentMethodGrabPayParams") +@interface STPPaymentMethodGrabPayParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// The Klarna Payment Method. +/// seealso: +/// https://stripe.com/docs/payments/klarna +SWIFT_CLASS("_TtC6Stripe22STPPaymentMethodKlarna") +@interface STPPaymentMethodKlarna : NSObject +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create an Klarna Payment Method +SWIFT_CLASS("_TtC6Stripe28STPPaymentMethodKlarnaParams") +@interface STPPaymentMethodKlarnaParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A Link Payment Method. +SWIFT_CLASS("_TtC6Stripe20STPPaymentMethodLink") +@interface STPPaymentMethodLink : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create an Link Payment Method +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodLinkParams") +@interface STPPaymentMethodLinkParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A NetBanking Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-netbanking +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodNetBanking") +@interface STPPaymentMethodNetBanking : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// Customer’s Bank Name +@property (nonatomic, readonly, copy) NSString * _Nonnull bank; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a NetBanking Payment Method +SWIFT_CLASS("_TtC6Stripe32STPPaymentMethodNetBankingParams") +@interface STPPaymentMethodNetBankingParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Customer’s Bank Name. Required. +@property (nonatomic, copy) NSString * _Nullable bank; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// An OXXO Payment Method. +/// seealso: +/// https://stripe.com/docs/payments/oxxo +SWIFT_CLASS("_TtC6Stripe20STPPaymentMethodOXXO") +@interface STPPaymentMethodOXXO : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An object representing parameters used to create an OXXO Payment Method +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodOXXOParams") +@interface STPPaymentMethodOXXOParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class STPPaymentMethodiDEALParams; +@class STPPaymentMethodSEPADebitParams; +@class STPPaymentMethodPayPalParams; +@class STPPaymentMethodPrzelewy24Params; +@class STPPaymentMethodSofortParams; +@class STPPaymentMethodUPIParams; + +/// An object representing parameters used to create a PaymentMethod object. +/// @note To create a PaymentMethod from an Apple Pay PKPaymentToken, see STPAPIClient createPaymentMethodWithPayment:completion: +/// seealso: +/// https://stripe.com/docs/api/payment_methods/create +SWIFT_CLASS("_TtC6Stripe22STPPaymentMethodParams") +@interface STPPaymentMethodParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// The type of payment method. The associated property will contain additional information (e.g. type == STPPaymentMethodTypeCard means card should also be populated). +@property (nonatomic) enum STPPaymentMethodType type; +/// The raw underlying type string sent to the server. +/// Generally you should use type instead unless you have a reason not to. +/// You can use this if you want to create a param of a type not yet supported +/// by the current version of the SDK’s STPPaymentMethodType enum. +/// Setting this to a value not known by the SDK causes type to +/// return STPPaymentMethodTypeUnknown +@property (nonatomic, copy) NSString * _Nullable rawTypeString; +/// Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods. +@property (nonatomic, strong) STPPaymentMethodBillingDetails * _Nullable billingDetails; +/// If this is a card PaymentMethod, this contains the user’s card details. +@property (nonatomic, strong) STPPaymentMethodCardParams * _Nullable card; +/// If this is an Alipay PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodAlipayParams * _Nullable alipay; +/// If this is a iDEAL PaymentMethod, this contains details about user’s bank. +@property (nonatomic, strong) STPPaymentMethodiDEALParams * _Nullable iDEAL; +/// If this is a FPX PaymentMethod, this contains details about user’s bank. +@property (nonatomic, strong) STPPaymentMethodFPXParams * _Nullable fpx; +/// If this is a SEPA Debit PaymentMethod, this contains details about the bank to debit. +@property (nonatomic, strong) STPPaymentMethodSEPADebitParams * _Nullable sepaDebit; +/// If this is a Bacs Debit PaymentMethod, this contains details about the bank account to debit. +@property (nonatomic, strong) STPPaymentMethodBacsDebitParams * _Nullable bacsDebit; +/// If this is an AU BECS Debit PaymentMethod, this contains details about the bank to debit. +@property (nonatomic, strong) STPPaymentMethodAUBECSDebitParams * _Nullable auBECSDebit; +/// If this is a giropay PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodGiropayParams * _Nullable giropay; +/// If this is a PayPal PaymentMethod, this contains additional details. :nodoc: +@property (nonatomic, strong) STPPaymentMethodPayPalParams * _Nullable payPal; +/// If this is a Przelewy24 PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodPrzelewy24Params * _Nullable przelewy24; +/// If this is an EPS PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodEPSParams * _Nullable eps; +/// If this is a Bancontact PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodBancontactParams * _Nullable bancontact; +/// If this is a NetBanking PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodNetBankingParams * _Nullable netBanking; +/// If this is an OXXO PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodOXXOParams * _Nullable oxxo; +/// If this is a Sofort PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodSofortParams * _Nullable sofort; +/// If this is a UPI PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodUPIParams * _Nullable upi; +/// If this is a GrabPay PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodGrabPayParams * _Nullable grabPay; +/// If this is a Afterpay PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodAfterpayClearpayParams * _Nullable afterpayClearpay; +/// If this is a BLIK PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodBLIKParams * _Nullable blik; +/// If this is an Boleto PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodBoletoParams * _Nullable boleto; +/// If this is a Link PaymentMethod, this contains additional details +@property (nonatomic, strong) STPPaymentMethodLinkParams * _Nullable link; +/// If this is an Klarna PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodKlarnaParams * _Nullable klarna; +/// Set of key-value pairs that you can attach to the PaymentMethod. This can be useful for storing additional information about the PaymentMethod in a structured format. +@property (nonatomic, copy) NSDictionary * _Nullable metadata; +/// Creates params for a card PaymentMethod. +/// \param card An object containing the user’s card details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithCard:(STPPaymentMethodCardParams * _Nonnull)card billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an iDEAL PaymentMethod. +/// \param iDEAL An object containing the user’s iDEAL bank details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithIDEAL:(STPPaymentMethodiDEALParams * _Nonnull)iDEAL billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an FPX PaymentMethod. +/// \param fpx An object containing the user’s FPX bank details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithFpx:(STPPaymentMethodFPXParams * _Nonnull)fpx billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a SEPA Debit PaymentMethod; +/// \param sepaDebit An object containing the SEPA bank debit details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for SEPA Debit PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithSepaDebit:(STPPaymentMethodSEPADebitParams * _Nonnull)sepaDebit billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a Bacs Debit PaymentMethod; +/// \param bacsDebit An object containing the Bacs bank debit details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that name, email, and address are required for Bacs Debit PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithBacsDebit:(STPPaymentMethodBacsDebitParams * _Nonnull)bacsDebit billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an AU BECS Debit PaymentMethod; +/// \param auBECSDebit An object containing the AU BECS bank debit details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name and billingDetails.email are required for AU BECS Debit PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithAubecsDebit:(STPPaymentMethodAUBECSDebitParams * _Nonnull)auBECSDebit billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a giropay PaymentMethod; +/// \param giropay An object containing additional giropay details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for giropay PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithGiropay:(STPPaymentMethodGiropayParams * _Nonnull)giropay billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an EPS PaymentMethod; +/// \param eps An object containing additional EPS details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for EPS PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithEps:(STPPaymentMethodEPSParams * _Nonnull)eps billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a Przelewy24 PaymentMethod; +/// \param przelewy24 An object containing additional Przelewy24 details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.email is required for Przelewy24 PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithPrzelewy24:(STPPaymentMethodPrzelewy24Params * _Nonnull)przelewy24 billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a Bancontact PaymentMethod; +/// \param bancontact An object containing additional Bancontact details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for Bancontact PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithBancontact:(STPPaymentMethodBancontactParams * _Nonnull)bancontact billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a NetBanking PaymentMethod; +/// \param netBanking An object containing additional NetBanking details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithNetBanking:(STPPaymentMethodNetBankingParams * _Nonnull)netBanking billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a GrabPay PaymentMethod; +/// \param grabPay An object containing additional GrabPay details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithGrabPay:(STPPaymentMethodGrabPayParams * _Nonnull)grabPay billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an OXXO PaymentMethod; +/// \param oxxo An object containing additional OXXO details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithOxxo:(STPPaymentMethodOXXOParams * _Nonnull)oxxo billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a Sofort PaymentMethod; +/// \param sofort An object containing additional Sofort details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name and billingDetails.email are required to save bank details from a Sofort payment. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithSofort:(STPPaymentMethodSofortParams * _Nonnull)sofort billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a UPI PaymentMethod; +/// \param upi An object containing additional UPI details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithUpi:(STPPaymentMethodUPIParams * _Nonnull)upi billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an Alipay PaymentMethod. +/// \param alipay An object containing additional Alipay details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithAlipay:(STPPaymentMethodAlipayParams * _Nonnull)alipay billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a PayPal PaymentMethod. :nodoc: +/// \param payPal An object containing additional PayPal details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithPayPal:(STPPaymentMethodPayPalParams * _Nonnull)payPal billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an AfterpayClearpay PaymentMethod. :nodoc: +/// \param afterpayClearpay An object containing additional AfterpayClearpay details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithAfterpayClearpay:(STPPaymentMethodAfterpayClearpayParams * _Nonnull)afterpayClearpay billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a BLIK PaymentMethod. +/// \param blik An object containing additional BLIK details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithBlik:(STPPaymentMethodBLIKParams * _Nonnull)blik billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an Boleto PaymentMethod; +/// \param boleto An object containing additional Boleto details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithBoleto:(STPPaymentMethodBoletoParams * _Nonnull)boleto billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an Klarna PaymentMethod. :nodoc: +/// \param klarna An object containing additional Klarna details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithKlarna:(STPPaymentMethodKlarnaParams * _Nonnull)klarna billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params from a single-use PaymentMethod. This is useful for recreating a new payment method +/// with similar settings. It will return nil if used with a reusable PaymentMethod. +/// \param paymentMethod An object containing the original single-use PaymentMethod. +/// +- (nullable instancetype)initWithSingleUsePaymentMethod:(STPPaymentMethod * _Nonnull)paymentMethod; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, strong) UIImage * _Nonnull image; +@property (nonatomic, readonly, strong) UIImage * _Nonnull templateImage; +@property (nonatomic, readonly, copy) NSString * _Nonnull label; +@property (nonatomic, readonly) BOOL isReusable; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + + + +@interface STPPaymentMethodParams (SWIFT_EXTENSION(Stripe)) +/// Creates params for a card PaymentMethod. +/// \param card An object containing the user’s card details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithCard:(STPPaymentMethodCardParams * _Nonnull)card billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an iDEAL PaymentMethod. +/// \param iDEAL An object containing the user’s iDEAL bank details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithiDEAL:(STPPaymentMethodiDEALParams * _Nonnull)iDEAL billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an FPX PaymentMethod. +/// \param fpx An object containing the user’s FPX bank details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithFPX:(STPPaymentMethodFPXParams * _Nonnull)fpx billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a SEPA Debit PaymentMethod; +/// \param sepaDebit An object containing the SEPA bank debit details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for SEPA Debit PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithSEPADebit:(STPPaymentMethodSEPADebitParams * _Nonnull)sepaDebit billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Bacs Debit PaymentMethod; +/// \param bacsDebit An object containing the Bacs bank debit details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that name, email, and address are required for Bacs Debit PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithBacsDebit:(STPPaymentMethodBacsDebitParams * _Nonnull)bacsDebit billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an AU BECS Debit PaymentMethod; +/// \param auBECSDebit An object containing the AU BECS bank debit details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name and billingDetails.email are required for AU BECS Debit PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithAUBECSDebit:(STPPaymentMethodAUBECSDebitParams * _Nonnull)auBECSDebit billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a giropay PaymentMethod; +/// \param giropay An object containing additional giropay details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for giropay PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithGiropay:(STPPaymentMethodGiropayParams * _Nonnull)giropay billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an EPS PaymentMethod; +/// \param eps An object containing additional EPS details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for EPS PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithEPS:(STPPaymentMethodEPSParams * _Nonnull)eps billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Przelewy24 PaymentMethod; +/// \param przelewy24 An object containing additional Przelewy24 details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.email is required for Przelewy24 PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithPrzelewy24:(STPPaymentMethodPrzelewy24Params * _Nonnull)przelewy24 billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Bancontact PaymentMethod; +/// \param bancontact An object containing additional Bancontact details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for Bancontact PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithBancontact:(STPPaymentMethodBancontactParams * _Nonnull)bancontact billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a NetBanking PaymentMethod; +/// \param netBanking An object containing additional NetBanking details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for Bancontact PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithNetBanking:(STPPaymentMethodNetBankingParams * _Nonnull)netBanking billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an OXXO PaymentMethod; +/// \param oxxo An object containing additional OXXO details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for OXXO PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithOXXO:(STPPaymentMethodOXXOParams * _Nonnull)oxxo billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a GrabPay PaymentMethod; +/// \param grabPay An object containing additional GrabPay details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithGrabPay:(STPPaymentMethodGrabPayParams * _Nonnull)grabPay billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Sofort PaymentMethod; +/// \param sofort An object containing additional Sofort details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name and billingDetails.email are required to save bank details from a Sofort payment. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithSofort:(STPPaymentMethodSofortParams * _Nonnull)sofort billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a UPI PaymentMethod; +/// \param upi An object containing additional UPI details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name and billingDetails.email are required to save bank details from a UPI payment. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithUPI:(STPPaymentMethodUPIParams * _Nonnull)upi billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an Alipay PaymentMethod. +/// \param alipay An object containing additional Alipay details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithAlipay:(STPPaymentMethodAlipayParams * _Nonnull)alipay billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a PayPal PaymentMethod. +/// \param payPal An object containing additional PayPal details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithPayPal:(STPPaymentMethodPayPalParams * _Nonnull)payPal billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an AfterpayClearpay PaymentMethod. +/// \param afterpayClearpay An object containing additional AfterpayClearpay details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithAfterpayClearpay:(STPPaymentMethodAfterpayClearpayParams * _Nonnull)afterpayClearpay billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a BLIK PaymentMethod. +/// \param blik An object containing additional BLIK details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithBLIK:(STPPaymentMethodBLIKParams * _Nonnull)blik billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an Klarna PaymentMethod. +/// \param klarna An object containing additional Klarna details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithKlarna:(STPPaymentMethodKlarnaParams * _Nonnull)klarna billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +@end + + +/// A PayPal Payment Method. :nodoc: +/// seealso: +/// https://stripe.com/docs/payments/paypal +SWIFT_CLASS("_TtC6Stripe22STPPaymentMethodPayPal") +@interface STPPaymentMethodPayPal : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a PayPal Payment Method :nodoc: +SWIFT_CLASS("_TtC6Stripe28STPPaymentMethodPayPalParams") +@interface STPPaymentMethodPayPalParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A Przelewy24 Payment Method. +/// seealso: +/// https://stripe.com/docs/payments/p24 +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodPrzelewy24") +@interface STPPaymentMethodPrzelewy24 : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a Przelewy24 Payment Method +SWIFT_CLASS("_TtC6Stripe32STPPaymentMethodPrzelewy24Params") +@interface STPPaymentMethodPrzelewy24Params : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A SEPA Debit Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-sepa_debit +SWIFT_CLASS("_TtC6Stripe25STPPaymentMethodSEPADebit") +@interface STPPaymentMethodSEPADebit : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// The last 4 digits of the account number. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// The account’s bank code. +@property (nonatomic, readonly, copy) NSString * _Nullable bankCode; +/// The account’s branch code +@property (nonatomic, readonly, copy) NSString * _Nullable branchCode; +/// Two-letter ISO code representing the country of the bank account. +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// The account’s fingerprint. +@property (nonatomic, readonly, copy) NSString * _Nullable fingerprint; +/// The reference of the mandate accepted by your customer. - seealso: https://stripe.com/docs/api/sources/create#create_source-mandate +@property (nonatomic, readonly, copy) NSString * _Nullable mandate; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a SEPA Debit Payment Method +SWIFT_CLASS("_TtC6Stripe31STPPaymentMethodSEPADebitParams") +@interface STPPaymentMethodSEPADebitParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// The IBAN number for the bank account you wish to debit. Required. +@property (nonatomic, copy) NSString * _Nullable iban; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A Sofort Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-Sofort +SWIFT_CLASS("_TtC6Stripe22STPPaymentMethodSofort") +@interface STPPaymentMethodSofort : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// Two-letter ISO code representing the country the bank account is located in. +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a Sofort Payment Method +SWIFT_CLASS("_TtC6Stripe28STPPaymentMethodSofortParams") +@interface STPPaymentMethodSofortParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Two-letter ISO code representing the country the bank account is located in. Required. +@property (nonatomic, copy) NSString * _Nullable country; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// Contains details on how an STPPaymentMethodCard maybe be used for 3D Secure authentication. +SWIFT_CLASS("_TtC6Stripe33STPPaymentMethodThreeDSecureUsage") +@interface STPPaymentMethodThreeDSecureUsage : NSObject +/// YES if 3D Secure is supported on this card. +@property (nonatomic, readonly) BOOL supported; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// The type of the PaymentMethod. +typedef SWIFT_ENUM(NSInteger, STPPaymentMethodType, open) { +/// A card payment method. + STPPaymentMethodTypeCard = 0, +/// An Alipay payment method. + STPPaymentMethodTypeAlipay = 1, +/// A GrabPay payment method. + STPPaymentMethodTypeGrabPay = 2, +/// An iDEAL payment method. + STPPaymentMethodTypeiDEAL SWIFT_COMPILE_NAME("iDEAL") = 3, +/// An FPX payment method. + STPPaymentMethodTypeFPX = 4, +/// A card present payment method. + STPPaymentMethodTypeCardPresent = 5, +/// A SEPA Debit payment method. + STPPaymentMethodTypeSEPADebit SWIFT_COMPILE_NAME("SEPADebit") = 6, +/// An AU BECS Debit payment method. + STPPaymentMethodTypeAUBECSDebit SWIFT_COMPILE_NAME("AUBECSDebit") = 7, +/// A Bacs Debit payment method. + STPPaymentMethodTypeBacsDebit = 8, +/// A giropay payment method. + STPPaymentMethodTypeGiropay = 9, +/// A Przelewy24 Debit payment method. + STPPaymentMethodTypePrzelewy24 = 10, +/// An EPS payment method. + STPPaymentMethodTypeEPS SWIFT_COMPILE_NAME("EPS") = 11, +/// A Bancontact payment method. + STPPaymentMethodTypeBancontact = 12, +/// A NetBanking payment method. + STPPaymentMethodTypeNetBanking = 13, +/// An OXXO payment method. + STPPaymentMethodTypeOXXO SWIFT_COMPILE_NAME("OXXO") = 14, +/// A Sofort payment method. + STPPaymentMethodTypeSofort = 15, +/// A UPI payment method. + STPPaymentMethodTypeUPI = 16, +/// A PayPal payment method. :nodoc: + STPPaymentMethodTypePayPal = 17, +/// An AfterpayClearpay payment method + STPPaymentMethodTypeAfterpayClearpay = 18, +/// A BLIK payment method + STPPaymentMethodTypeBLIK SWIFT_COMPILE_NAME("blik") = 19, +/// A WeChat Pay payment method + STPPaymentMethodTypeWeChatPay = 20, +/// A Boleto payment method. + STPPaymentMethodTypeBoleto = 21, +/// A Link payment method + STPPaymentMethodTypeLink = 22, +/// A Klarna payment method. + STPPaymentMethodTypeKlarna = 23, +/// A Link Instant Debit payment method + STPPaymentMethodTypeLinkInstantDebit = 24, +/// An unknown type. + STPPaymentMethodTypeUnknown = 25, +}; + + +/// A UPI Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-upi +SWIFT_CLASS("_TtC6Stripe19STPPaymentMethodUPI") +@interface STPPaymentMethodUPI : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// Customer’s Virtual Payment Address (VPA). +@property (nonatomic, readonly, copy) NSString * _Nonnull vpa; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a UPI Payment Method +SWIFT_CLASS("_TtC6Stripe25STPPaymentMethodUPIParams") +@interface STPPaymentMethodUPIParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Customer’s Virtual Payment Address (VPA). Required. +@property (nonatomic, copy) NSString * _Nullable vpa; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// An iDEAL Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-ideal +SWIFT_CLASS("_TtC6Stripe21STPPaymentMethodiDEAL") +@interface STPPaymentMethodiDEAL : NSObject +/// The customer’s bank. +@property (nonatomic, readonly, copy) NSString * _Nullable bankName; +/// The Bank Identifier Code of the customer’s bank. +@property (nonatomic, readonly, copy) NSString * _Nullable bankIdentifierCode; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An object representing parameters used to create an iDEAL Payment Method +SWIFT_CLASS("_TtC6Stripe27STPPaymentMethodiDEALParams") +@interface STPPaymentMethodiDEALParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// The customer’s bank. +@property (nonatomic, copy) NSString * _Nullable bankName; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + +/// This view controller presents a list of payment method options to the user, +/// which they can select between. They can also add credit cards to the list. +/// It must be displayed inside a UINavigationController, so you can either +/// create a UINavigationController with an STPPaymentOptionsViewController +/// as the rootViewController and then present the UINavigationController, +/// or push a new STPPaymentOptionsViewController onto an existing +/// UINavigationController’s stack. You can also have STPPaymentContext do this +/// for you automatically, by calling presentPaymentOptionsViewController +/// or pushPaymentOptionsViewController on it. +SWIFT_CLASS("_TtC6Stripe31STPPaymentOptionsViewController") +@interface STPPaymentOptionsViewController : STPCoreViewController +/// Creates a new payment methods view controller. +/// \param paymentContext A payment context to power the view controller’s view. +/// The payment context will in turn use its backend API adapter to fetch the +/// information it needs from your application. +/// +/// +/// returns: +/// an initialized view controller. +- (nonnull instancetype)initWithPaymentContext:(STPPaymentContext * _Nonnull)paymentContext; +/// Initializes a new payment methods view controller without using a +/// payment context. +/// \param configuration The configuration to use to determine what types of +/// payment method to offer your user. - seealso: STPPaymentConfiguration.h +/// +/// \param theme The theme to inform the appearance of the UI. +/// +/// \param customerContext The customer context the view controller will use to +/// fetch and modify its Stripe customer +/// +/// \param delegate A delegate that will be notified when the payment +/// methods view controller’s selection changes. +/// +/// +/// returns: +/// an initialized view controller. +- (nonnull instancetype)initWithConfiguration:(STPPaymentConfiguration * _Nonnull)configuration theme:(STPTheme * _Nonnull)theme customerContext:(STPCustomerContext * _Nonnull)customerContext delegate:(id _Nonnull)delegate; +/// Note: Instead of providing your own backend API adapter, we recommend using +/// STPCustomerContext, which will manage retrieving and updating a +/// Stripe customer for you. - seealso: STPCustomerContext.h +/// Initializes a new payment methods view controller without using +/// a payment context. +/// \param configuration The configuration to use to determine what types of +/// payment method to offer your user. +/// +/// \param theme The theme to inform the appearance of the UI. +/// +/// \param apiAdapter The API adapter to use to retrieve a customer’s stored +/// payment methods and save new ones. +/// +/// \param delegate A delegate that will be notified when the payment methods +/// view controller’s selection changes. +/// +- (nonnull instancetype)initWithConfiguration:(STPPaymentConfiguration * _Nonnull)configuration theme:(STPTheme * _Nonnull)theme apiAdapter:(id _Nonnull)apiAdapter delegate:(id _Nonnull)delegate OBJC_DESIGNATED_INITIALIZER; +/// If you’ve already collected some information from your user, you can set it +/// here and it’ll be automatically filled out when possible/appropriate in any UI +/// that the payment context creates. +@property (nonatomic, strong) STPUserInformation * _Nullable prefilledInformation; +/// @note This is no longer recommended as of v18.3.0 - the SDK automatically saves the Stripe ID of the last selected +/// payment method using NSUserDefaults and displays it as the default pre-selected option. You can override this behavior +/// by setting this property. +/// The Stripe ID of a payment method to display as the default pre-selected option. +/// @note Setting this after the view controller’s view has loaded has no effect. +@property (nonatomic, copy) NSString * _Nullable defaultPaymentMethod; +/// A view that will be placed as the footer of the view controller when it is +/// showing a list of saved payment methods to select from. +/// When the footer view needs to be resized, it will be sent a +/// sizeThatFits: call. The view should respond correctly to this method in order +/// to be sized and positioned properly. +@property (nonatomic, strong) UIView * _Nullable paymentOptionsViewControllerFooterView; +/// A view that will be placed as the footer of the view controller when it is +/// showing the add card view. +/// When the footer view needs to be resized, it will be sent a +/// sizeThatFits: call. The view should respond correctly to this method in order +/// to be sized and positioned properly. +@property (nonatomic, strong) UIView * _Nullable addCardViewControllerFooterView; +/// The STPAPIClient instance to use to make API requests. +/// Defaults to STPAPIClient.shared. +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +/// If you’re pushing STPPaymentOptionsViewController onto an existing +/// UINavigationController‘s stack, you should use this method to dismiss it, +/// since it may have pushed an additional add card view controller onto the +/// navigation controller’s stack. +/// \param completion The callback to run after the view controller is dismissed. +/// You may specify nil for this parameter. +/// +- (void)dismissWithCompletion:(void (^ _Nullable)(void))completion; +/// Use one of the initializers declared in this interface. +- (nonnull instancetype)initWithTheme:(STPTheme * _Nullable)theme OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE_MSG("Use one of the initializers declared in this interface instead."); +/// Use one of the initializers declared in this interface. +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE_MSG("Use one of the initializers declared in this interface instead."); +/// Use one of the initializers declared in this interface. +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE_MSG("Use one of the initializers declared in this interface instead."); +/// :nodoc: +- (void)viewDidLayoutSubviews; +/// :nodoc: +- (void)viewDidAppear:(BOOL)animated; +- (void)addCardViewControllerDidCancel:(STPAddCardViewController * _Nonnull)addCardViewController; +- (void)addCardViewController:(STPAddCardViewController * _Nonnull)addCardViewController didCreatePaymentMethod:(STPPaymentMethod * _Nonnull)paymentMethod completion:(void (^ _Nonnull)(NSError * _Nullable))completion; +@end + + + + +/// When you’re using STPPaymentContext to request your user’s payment details, this is the object that will be returned to your application when they’ve successfully made a payment. +/// See https://stripe.com/docs/mobile/ios/standard#submit-payment-intents. +SWIFT_CLASS("_TtC6Stripe16STPPaymentResult") +@interface STPPaymentResult : NSObject +/// The payment method that the user has selected. This may come from a variety of different payment methods, such as an Apple Pay payment or a stored credit card. - seealso: STPPaymentMethod.h +/// If paymentMethod is nil, paymentMethodParams will be populated instead. +@property (nonatomic, readonly, strong) STPPaymentMethod * _Nullable paymentMethod; +/// The parameters for a payment method that the user has selected. This is +/// populated for non-reusable payment methods, such as FPX and iDEAL. - seealso: STPPaymentMethodParams.h +/// If paymentMethodParams is nil, paymentMethod will be populated instead. +@property (nonatomic, readonly, strong) STPPaymentMethodParams * _Nullable paymentMethodParams; +/// The STPPaymentOption that was used to initialize this STPPaymentResult, either an STPPaymentMethod or an STPPaymentMethodParams. +@property (nonatomic, readonly, weak) id _Nullable paymentOption; +/// Initializes the payment result with a given payment option. This is invoked by STPPaymentContext internally; you shouldn’t have to call it directly. +- (nonnull instancetype)initWithPaymentOption:(id _Nullable)paymentOption OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// An enum representing the status of a payment requested from the user. +typedef SWIFT_ENUM(NSInteger, STPPaymentStatus, open) { +/// The payment succeeded. + STPPaymentStatusSuccess = 0, +/// The payment failed due to an unforeseen error, such as the user’s Internet connection being offline. + STPPaymentStatusError = 1, +/// The user cancelled the payment (for example, by hitting “cancel” in the Apple Pay dialog). + STPPaymentStatusUserCancellation = 2, +}; + +enum STPPinStatus : NSInteger; + +/// STPAPIClient extensions to manage PIN on Stripe Issuing cards +SWIFT_CLASS("_TtC6Stripe23STPPinManagementService") +@interface STPPinManagementService : NSObject +/// The STPAPIClient instance to use to make API requests to Stripe. +/// Defaults to STPAPIClient.shared. +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +/// Create a STPPinManagementService, you must provide an implementation of STPIssuingCardEphemeralKeyProvider +- (nonnull instancetype)initWithKeyProvider:(id _Nonnull)keyProvider OBJC_DESIGNATED_INITIALIZER; +/// Retrieves a PIN number for a given card, +/// this call is asynchronous, implement the completion block to receive the updates +- (void)retrievePin:(NSString * _Nonnull)cardId verificationId:(NSString * _Nonnull)verificationId oneTimeCode:(NSString * _Nonnull)oneTimeCode completion:(void (^ _Nonnull)(STPIssuingCardPin * _Nullable, enum STPPinStatus, NSError * _Nullable))completion; +/// Updates a PIN number for a given card, +/// this call is asynchronous, implement the completion block to receive the updates +- (void)updatePin:(NSString * _Nonnull)cardId newPin:(NSString * _Nonnull)newPin verificationId:(NSString * _Nonnull)verificationId oneTimeCode:(NSString * _Nonnull)oneTimeCode completion:(void (^ _Nonnull)(STPIssuingCardPin * _Nullable, enum STPPinStatus, NSError * _Nullable))completion; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// An enum representing the success and error states of PIN management +typedef SWIFT_ENUM(NSInteger, STPPinStatus, open) { +/// The verification object was already redeemed + STPPinStatusSuccess = 0, +/// The verification object was already redeemed + STPPinStatusErrorVerificationAlreadyRedeemed = 1, +/// The one-time code was incorrect + STPPinStatusErrorVerificationCodeIncorrect = 2, +/// The verification object was expired + STPPinStatusErrorVerificationExpired = 3, +/// The verification object has been attempted too many times + STPPinStatusErrorVerificationTooManyAttempts = 4, +/// An error occured while retrieving the ephemeral key + STPPinStatusEphemeralKeyError = 5, +/// An unknown error occured + STPPinStatusUnknownError = 6, +}; + +@class PKAddPaymentPassViewController; +@class PKAddPaymentPassRequest; + +/// This class makes it easier to implement “Push Provisioning”, the process by which an end-user can add a card to their Apple Pay wallet without having to type their number. This process is mediated by an Apple class called PKAddPaymentPassViewController; this class will help you implement that class’ delegate methods. Note that this flow requires a special entitlement from Apple; for more information please see https://stripe.com/docs/issuing/cards/digital-wallets . +SWIFT_CLASS("_TtC6Stripe26STPPushProvisioningContext") +@interface STPPushProvisioningContext : NSObject +/// The STPAPIClient instance to use to make API requests to Stripe. +/// Defaults to STPAPIClient.shared. +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +/// This is a helper method to generate a PKAddPaymentPassRequestConfiguration that will work with +/// Stripe’s Issuing APIs. Pass the returned configuration object to PKAddPaymentPassViewController’s initWithRequestConfiguration:delegate: initializer. +/// \param name Your cardholder’s name. Example: John Appleseed +/// +/// \param description A localized description of your card’s name. This will appear in Apple’s UI as “{description} will be available in Wallet”. Example: Platinum Rewards Card +/// +/// \param last4 The last 4 of the card to be added to the user’s Apple Pay wallet. Example: 4242 +/// +/// \param brand The brand of the card. Example: STPCardBrandVisa +/// ++ (PKAddPaymentPassRequestConfiguration * _Nonnull)requestConfigurationWithName:(NSString * _Nonnull)name description:(NSString * _Nullable)description last4:(NSString * _Nullable)last4 brand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// In order to retreive the encrypted payload that PKAddPaymentPassViewController expects, the Stripe SDK must talk to the Stripe API. As this requires privileged access, you must write a “key provider” that generates an Ephemeral Key on your backend and provides it to the SDK when requested. For more information, see https://stripe.com/docs/mobile/ios/basic#ephemeral-key +- (nonnull instancetype)initWithKeyProvider:(id _Nonnull)keyProvider OBJC_DESIGNATED_INITIALIZER; +/// This method lines up with the method of the same name on PKAddPaymentPassViewControllerDelegate. You should implement that protocol in your own app, and when that method is called, call this method on your STPPushProvisioningContext. This in turn will first initiate a call to your keyProvider (see above) to obtain an Ephemeral Key, then make a call to the Stripe Issuing API to fetch an encrypted payload for the card in question, then return that payload to iOS. +- (void)addPaymentPassViewController:(PKAddPaymentPassViewController * _Nonnull)controller generateRequestWithCertificateChain:(NSArray * _Nonnull)certificates nonce:(NSData * _Nonnull)nonce nonceSignature:(NSData * _Nonnull)nonceSignature completionHandler:(void (^ _Nonnull)(PKAddPaymentPassRequest * _Nonnull))handler; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// A helper class for turning the raw certificate array, nonce, and nonce signature emitted by PKAddPaymentPassViewController into a format that is understandable by the Stripe API. +/// If you are using STPPushProvisioningContext to implement your integration, you do not need to use this class. +SWIFT_CLASS("_TtC6Stripe32STPPushProvisioningDetailsParams") +@interface STPPushProvisioningDetailsParams : NSObject +/// The Stripe ID of the Issuing card object to retrieve details for. +@property (nonatomic, readonly, copy) NSString * _Nonnull cardId; +/// An array of certificates that should be used to encrypt the card details. +@property (nonatomic, readonly, copy) NSArray * _Nonnull certificates; +/// A nonce that should be used during the encryption of the card details. +@property (nonatomic, readonly, copy) NSData * _Nonnull nonce; +/// A nonce signature that should be used during the encryption of the card details. +@property (nonatomic, readonly, copy) NSData * _Nonnull nonceSignature; +/// Implemented for convenience - the Stripe API expects the certificate chain as an array of base64-encoded strings. +@property (nonatomic, readonly, copy) NSArray * _Nonnull certificatesBase64; +/// Implemented for convenience - the Stripe API expects the nonce as a hex-encoded string. +@property (nonatomic, readonly, copy) NSString * _Nonnull nonceHex; +/// Implemented for convenience - the Stripe API expects the nonce signature as a hex-encoded string. +@property (nonatomic, readonly, copy) NSString * _Nonnull nonceSignatureHex; +/// Instantiates a new params object with the provided attributes. +- (nonnull instancetype)initWithCardId:(NSString * _Nonnull)cardId certificates:(NSArray * _Nonnull)certificates nonce:(NSData * _Nonnull)nonce nonceSignature:(NSData * _Nonnull)nonceSignature OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// A Radar Session. +/// note: +/// This API and the guide linked above require special permissions to use. Contact support@stripe.com if you’re interested. +SWIFT_CLASS("_TtC6Stripe15STPRadarSession") +@interface STPRadarSession : NSObject +/// The Stripe identifier of the RadarSession +@property (nonatomic, readonly, copy) NSString * _Nonnull id; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; ++ (STPRadarSession * _Nullable)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +enum STPRedirectContextState : NSInteger; +@class UIPresentationController; + +/// This is a helper class for handling redirects associated with STPSource and +/// STPPaymentIntents. +/// Init and retain an instance with the Source or PaymentIntent you want to handle, +/// then choose a redirect method. The context will fire the completion handler +/// when the redirect completes. +/// Due to the nature of iOS, very little concrete information can be gained +/// during this process, as all actions take place in either the Safari app +/// or the sandboxed SFSafariViewController class. The context attempts to +/// detect when the user has completed the necessary redirect action by listening +/// for both app foregrounds and url callbacks received in the app delegate. +/// However, it is possible the when the redirect is “completed”, the user may +/// have not actually completed the necessary actions to authorize the charge. +/// You should not use either this class, nor STPAPIClient, as a way +/// to determine when you should charge the Source or to determine if the redirect +/// was successful. Use Stripe webhooks on your backend server to listen for Source +/// state changes and to make the charge. +/// @note You must retain this instance for the duration of the redirect flow. +/// This class dismisses any presented view controller upon deallocation. +/// See https://stripe.com/docs/sources/best-practices +SWIFT_CLASS("_TtC6Stripe18STPRedirectContext") SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable) SWIFT_AVAILABILITY(ios_app_extension,unavailable) +@interface STPRedirectContext : NSObject +/// The domain for NSErrors specific to STPRedirectContext +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull STPRedirectContextErrorDomain;) ++ (NSString * _Nonnull)STPRedirectContextErrorDomain SWIFT_WARN_UNUSED_RESULT; +/// The current state of the context. +@property (nonatomic, readonly) enum STPRedirectContextState state; +/// Initializer for context from an STPSource. +/// @note You must ensure that the returnURL set up in the created source +/// correctly goes to your app so that users can be returned once +/// they complete the redirect in the web broswer. +/// \param source The source that needs user redirect action to be taken. +/// +/// \param completion A block to fire when the action is believed to have +/// been completed. +/// +/// +/// returns: +/// nil if the specified source is not a redirect-flow source. Otherwise +/// a new context object. +/// @note Execution of the completion block does not necessarily mean the user +/// successfully performed the redirect action. You should listen for source status +/// change webhooks on your backend to determine the result of a redirect. +- (nullable instancetype)initWithSource:(STPSource * _Nonnull)source completion:(void (^ _Nonnull)(NSString * _Nonnull, NSString * _Nullable, NSError * _Nullable))completion; +/// Initializer for context from an STPPaymentIntent. +/// This should be used when the status is STPPaymentIntentStatusRequiresAction. +/// If the next action involves a redirect, this init method will return a non-nil object. +/// \param paymentIntent The STPPaymentIntent that needs a redirect. +/// +/// \param completion A block to fire when the action is believed to have +/// been completed. +/// +/// +/// returns: +/// nil if the provided PaymentIntent does not need a redirect. Otherwise +/// a new context object. +/// @note Execution of the completion block does not necessarily mean the user +/// successfully performed the redirect action. +- (nullable instancetype)initWithPaymentIntent:(STPPaymentIntent * _Nonnull)paymentIntent completion:(void (^ _Nonnull)(NSString * _Nonnull, NSError * _Nullable))completion; +/// Starts a redirect flow. +/// You must ensure that your app delegate listens for the returnURL that you +/// set on the Stripe object, and forwards it to the Stripe SDK so that the +/// context can be notified when the redirect is completed and dismiss the +/// view controller. See StripeAPI.handleURLCallback(with url:) +/// The context will listen for both received URLs and app open notifications +/// and fire its completion block when either the URL is received, or the next +/// time the app is foregrounded. +/// The context will initiate the flow by presenting a SFSafariViewController +/// instance from the passsed in view controller. If you want more manual control +/// over the redirect method, you can use startSafariViewControllerRedirectFlowFromViewController +/// or startSafariAppRedirectFlow +/// If the redirect supports a native app, and that app is is installed on the user’s +/// device, this call will do a direct app-to-app redirect instead of showing +/// a web url. +/// @note This method does nothing if the context is not in the +/// STPRedirectContextStateNotStarted state. +/// \param presentingViewController The view controller to present the Safari +/// view controller from. +/// +- (void)startRedirectFlowFromViewController:(UIViewController * _Nonnull)presentingViewController; +/// Starts a redirect flow by presenting an SFSafariViewController in your app +/// from the passed in view controller. +/// You must ensure that your app delegate listens for the returnURL that you +/// set on the Stripe object, and forwards it to the Stripe SDK so that the +/// context can be notified when the redirect is completed and dismiss the +/// view controller. See StripeAPI.handleStripeURLCallback(with url:)] +/// The context will listen for both received URLs and app open notifications +/// and fire its completion block when either the URL is received, or the next +/// time the app is foregrounded. +/// @note This method does nothing if the context is not in the +/// STPRedirectContextStateNotStarted state. +/// \param presentingViewController The view controller to present the Safari +/// view controller from. +/// +- (void)startSafariViewControllerRedirectFlowFromViewController:(UIViewController * _Nonnull)presentingViewController; +/// Starts a redirect flow by calling openURL to bounce the user out to +/// the Safari app. +/// The context will listen for app open notifications and fire its completion +/// block the next time the user re-opens the app (either manually or via url) +/// @note This method does nothing if the context is not in the +/// STPRedirectContextStateNotStarted state. +- (void)startSafariAppRedirectFlow; +/// Dismisses any presented views and stops listening for any +/// app opens or callbacks. The completion block will not be fired. +- (void)cancel; +/// :nodoc: +- (void)safariViewControllerDidFinish:(SFSafariViewController * _Nonnull)controller; +/// :nodoc: +- (void)safariViewController:(SFSafariViewController * _Nonnull)controller didCompleteInitialLoad:(BOOL)didLoadSuccessfully; +/// :nodoc: +- (void)safariViewController:(SFSafariViewController * _Nonnull)controller initialLoadDidRedirectToURL:(NSURL * _Nonnull)URL; +/// :nodoc: +- (UIPresentationController * _Nullable)presentationControllerForPresentedViewController:(UIViewController * _Nonnull)presented presentingViewController:(UIViewController * _Nullable)presenting sourceViewController:(UIViewController * _Nonnull)source SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable) SWIFT_AVAILABILITY(ios_app_extension,unavailable) +@interface STPRedirectContext (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (BOOL)handleURLCallback:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; +@end + +/// Error codes specific to STPRedirectContext +typedef SWIFT_ENUM(NSInteger, STPRedirectContextError, open) { +/// STPRedirectContext failed to redirect to the app to complete the payment. +/// This could be because the app is not installed on the user’s device. + STPRedirectContextAppRedirectError SWIFT_COMPILE_NAME("appRedirectError") = 0, +}; + +/// Possible states for the redirect context to be in +typedef SWIFT_ENUM(NSInteger, STPRedirectContextState, open) { +/// Initialized, but redirect not started. + STPRedirectContextStateNotStarted = 0, +/// Redirect is in progress. + STPRedirectContextStateInProgress = 1, +/// Redirect has been cancelled programmatically before completing. + STPRedirectContextStateCancelled = 2, +/// Redirect has completed. + STPRedirectContextStateCompleted = 3, +}; + +enum STPSetupIntentStatus : NSInteger; +enum STPSetupIntentUsage : NSInteger; +@class STPSetupIntentLastSetupError; + +/// A SetupIntent guides you through the process of setting up a customer’s payment credentials for future payments. +/// seealso: +/// https://stripe.com/docs/api/setup_intents +SWIFT_CLASS("_TtC6Stripe14STPSetupIntent") +@interface STPSetupIntent : NSObject +/// The Stripe ID of the SetupIntent. +@property (nonatomic, readonly, copy) NSString * _Nonnull stripeID; +/// The client secret of this SetupIntent. Used for client-side retrieval using a publishable key. +@property (nonatomic, readonly, copy) NSString * _Nonnull clientSecret; +/// Time at which the object was created. +@property (nonatomic, readonly, copy) NSDate * _Nonnull created; +/// ID of the Customer this SetupIntent belongs to, if one exists. +@property (nonatomic, readonly, copy) NSString * _Nullable customerID; +/// An arbitrary string attached to the object. Often useful for displaying to users. +@property (nonatomic, readonly, copy) NSString * _Nullable stripeDescription; +/// Has the value YES if the object exists in live mode or the value NO if the object exists in test mode. +@property (nonatomic, readonly) BOOL livemode; +/// If present, this property tells you what actions you need to take in order for your customer to set up this payment method. +@property (nonatomic, readonly, strong) STPIntentAction * _Nullable nextAction; +/// ID of the payment method used with this SetupIntent. +@property (nonatomic, readonly, copy) NSString * _Nullable paymentMethodID; +/// The list of payment method types (e.g. [STPPaymentMethodType.card]) that this SetupIntent is allowed to set up. +@property (nonatomic, readonly, copy) NSArray * _Nonnull paymentMethodTypes; +/// Status of this SetupIntent. +@property (nonatomic, readonly) enum STPSetupIntentStatus status; +/// Indicates how the payment method is intended to be used in the future. +@property (nonatomic, readonly) enum STPSetupIntentUsage usage; +/// The setup error encountered in the previous SetupIntent confirmation. +@property (nonatomic, readonly, strong) STPSetupIntentLastSetupError * _Nullable lastSetupError; +/// Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. +/// @deprecated Metadata is not returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead. +/// seealso: +/// https://stripe.com/docs/api#metadata +@property (nonatomic, readonly, copy) NSDictionary * _Nullable metadata SWIFT_DEPRECATED_MSG("Metadata is not returned to clients using publishable keys. Retrieve them on your server using your secret key instead."); +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters to confirm a SetupIntent object. +/// For example, you would confirm a SetupIntent when a customer hits the “Save” button on a payment method management view in your app. +/// If the selected payment method does not require any additional steps from the customer, the SetupIntent’s status will transition to STPSetupIntentStatusSucceeded. Otherwise, it will transition to STPSetupIntentStatusRequiresAction, and suggest additional actions via nextAction. +/// Instead of passing this to STPAPIClient.confirmSetupIntent(...) directly, we recommend using STPPaymentHandler to handle any additional steps for you. +/// seealso: +/// https://stripe.com/docs/api/setup_intents/confirm +SWIFT_CLASS("_TtC6Stripe27STPSetupIntentConfirmParams") +@interface STPSetupIntentConfirmParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initialize this STPSetupIntentConfirmParams with a clientSecret. +/// \param clientSecret the client secret for this SetupIntent +/// +- (nonnull instancetype)initWithClientSecret:(NSString * _Nonnull)clientSecret OBJC_DESIGNATED_INITIALIZER; +/// The client secret of the SetupIntent. Required. +@property (nonatomic, copy) NSString * _Nonnull clientSecret; +/// Provide a supported STPPaymentMethodParams object, and Stripe will create a +/// PaymentMethod during PaymentIntent confirmation. +/// @note alternative to paymentMethodId +@property (nonatomic, strong) STPPaymentMethodParams * _Nullable paymentMethodParams; +/// Provide an already created PaymentMethod’s id, and it will be used to confirm the SetupIntent. +/// @note alternative to paymentMethodParams +@property (nonatomic, copy) NSString * _Nullable paymentMethodID; +/// The URL to redirect your customer back to after they authenticate or cancel +/// their payment on the payment method’s app or site. +/// This should probably be a URL that opens your iOS app. +@property (nonatomic, copy) NSString * _Nullable returnURL; +/// A boolean number to indicate whether you intend to use the Stripe SDK’s functionality to handle any SetupIntent next actions. +/// If set to false, STPSetupIntent.nextAction will only ever contain a redirect url that can be opened in a webview or mobile browser. +/// When set to true, the nextAction may contain information that the Stripe SDK can use to perform native authentication within your +/// app. +@property (nonatomic, strong) NSNumber * _Nullable useStripeSDK; +/// Details about the Mandate to create. +/// @note If this value is null and the (self.paymentMethod.type == STPPaymentMethodTypeSEPADebit | | self.paymentMethodParams.type == STPPaymentMethodTypeAUBECSDebit || self.paymentMethodParams.type == STPPaymentMethodTypeBacsDebit) && self.mandate == nil, the SDK will set this to an internal value indicating that the mandate data should be inferred from the current context. +@property (nonatomic, strong) STPMandateDataParams * _Nullable mandateData; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +@end + +enum STPSetupIntentLastSetupErrorType : NSUInteger; + +/// A value for code indicating the provided payment method failed authentication./// The error encountered in the previous SetupIntent confirmation. +/// seealso: +/// https://stripe.com/docs/api/setup_intents/object#setup_intent_object-last_setup_error +SWIFT_CLASS("_TtC6Stripe28STPSetupIntentLastSetupError") +@interface STPSetupIntentLastSetupError : NSObject +/// For some errors that could be handled programmatically, a short string indicating the error code reported. +/// seealso: +/// https://stripe.com/docs/error-codes +@property (nonatomic, readonly, copy) NSString * _Nullable code; +/// For card (STPSetupIntentLastSetupErrorTypeCard) errors resulting from a card issuer decline, +/// a short string indicating the card issuer’s reason for the decline if they provide one. +/// seealso: +/// https://stripe.com/docs/declines#issuer-declines +@property (nonatomic, readonly, copy) NSString * _Nullable declineCode; +/// A URL to more information about the error code reported. +/// seealso: +/// https://stripe.com/docs/error-codes +@property (nonatomic, readonly, copy) NSString * _Nullable docURL; +/// A human-readable message providing more details about the error. +/// For card (STPSetupIntentLastSetupErrorTypeCard) errors, these messages can be shown to your users. +@property (nonatomic, readonly, copy) NSString * _Nullable message; +/// If the error is parameter-specific, the parameter related to the error. +/// For example, you can use this to display a message near the correct form field. +@property (nonatomic, readonly, copy) NSString * _Nullable param; +/// The PaymentMethod object for errors returned on a request involving a PaymentMethod. +@property (nonatomic, readonly, strong) STPPaymentMethod * _Nullable paymentMethod; +/// The type of error. +@property (nonatomic, readonly) enum STPSetupIntentLastSetupErrorType type; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface STPSetupIntentLastSetupError (SWIFT_EXTENSION(Stripe)) +/// A possible value for the error property. The provided payment method has failed authentication. Provide a new payment method to attempt to fulfill this SetupIntent again. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull CodeAuthenticationFailure;) ++ (NSString * _Nonnull)CodeAuthenticationFailure SWIFT_WARN_UNUSED_RESULT; +@end + +/// The type of the error represented by STPSetupIntentLastSetupError. +/// Some STPSetupIntentLastError properties are only populated for certain error types. +typedef SWIFT_ENUM(NSUInteger, STPSetupIntentLastSetupErrorType, open) { +/// An unknown error type. + STPSetupIntentLastSetupErrorTypeUnknown = 0, +/// An error connecting to Stripe’s API. + STPSetupIntentLastSetupErrorTypeAPIConnection SWIFT_COMPILE_NAME("apiConnection") = 1, +/// An error with the Stripe API. + STPSetupIntentLastSetupErrorTypeAPI = 2, +/// A failure to authenticate your customer. + STPSetupIntentLastSetupErrorTypeAuthentication = 3, +/// Card errors are the most common type of error you should expect to handle. +/// They result when the user enters a card that can’t be charged for some reason. +/// Check the declineCode property for the decline code. The message property contains a message you can show to your users. + STPSetupIntentLastSetupErrorTypeCard = 4, +/// Keys for idempotent requests can only be used with the same parameters they were first used with. + STPSetupIntentLastSetupErrorTypeIdempotency = 5, +/// Invalid request errors. Typically, this is because your request has invalid parameters. + STPSetupIntentLastSetupErrorTypeInvalidRequest = 6, +/// Too many requests hit the API too quickly. + STPSetupIntentLastSetupErrorTypeRateLimit = 7, +}; + +/// Status types for an STPSetupIntent +typedef SWIFT_ENUM(NSInteger, STPSetupIntentStatus, open) { +/// Unknown status + STPSetupIntentStatusUnknown = 0, +/// This SetupIntent requires a PaymentMethod + STPSetupIntentStatusRequiresPaymentMethod = 1, +/// This SetupIntent needs to be confirmed + STPSetupIntentStatusRequiresConfirmation = 2, +/// The selected PaymentMethod requires additional authentication steps. +/// Additional actions found via the nextAction property of STPSetupIntent + STPSetupIntentStatusRequiresAction = 3, +/// Stripe is processing this SetupIntent + STPSetupIntentStatusProcessing = 4, +/// The SetupIntent has succeeded + STPSetupIntentStatusSucceeded = 5, +/// This SetupIntent was canceled and cannot be changed. + STPSetupIntentStatusCanceled = 6, +}; + +/// Indicates how the payment method is intended to be used in the future. +/// seealso: +/// https://stripe.com/docs/api/setup_intents/create#create_setup_intent-usage +typedef SWIFT_ENUM(NSInteger, STPSetupIntentUsage, open) { +/// Unknown value. Update your SDK, or use allResponseFields for custom handling. + STPSetupIntentUsageUnknown = 0, +/// No value was provided. + STPSetupIntentUsageNone = 1, +/// Indicates you intend to only reuse the payment method when the customer is in your checkout flow. + STPSetupIntentUsageOnSession = 2, +/// Indicates you intend to reuse the payment method when the customer may or may not be in your checkout flow. + STPSetupIntentUsageOffSession = 3, +}; + + +/// This view controller contains a shipping address collection form. It renders a right bar button item that submits the form, so it must be shown inside a UINavigationController. Depending on your configuration’s shippingType, the view controller may present a shipping method selection form after the user enters an address. +SWIFT_CLASS("_TtC6Stripe32STPShippingAddressViewController") +@interface STPShippingAddressViewController : STPCoreTableViewController +/// A convenience initializer; equivalent to calling init(configuration: STPPaymentConfiguration.shared theme: STPTheme.defaultTheme currency:"" shippingAddress:nil selectedShippingMethod:nil prefilledInformation:nil). +- (nonnull instancetype)init; +/// Initializes a new STPShippingAddressViewController with the given payment context and sets the payment context as its delegate. +/// \param paymentContext The payment context to use. +/// +- (nonnull instancetype)initWithPaymentContext:(STPPaymentContext * _Nonnull)paymentContext; +/// Initializes a new STPShippingAddressCardViewController with the provided parameters. +/// \param configuration The configuration to use (this determines the required shipping address fields and shipping type). - seealso: STPPaymentConfiguration +/// +/// \param theme The theme to use to inform the view controller’s visual appearance. - seealso: STPTheme +/// +/// \param currency The currency to use when displaying amounts for shipping methods. The default is USD. +/// +/// \param shippingAddress If set, the shipping address view controller will be pre-filled with this address. - seealso: STPAddress +/// +/// \param selectedShippingMethod If set, the shipping methods view controller will use this method as the selected shipping method. If selectedShippingMethod is nil, the first shipping method in the array of methods returned by your delegate will be selected. +/// +/// \param prefilledInformation If set, the shipping address view controller will be pre-filled with this information. - seealso: STPUserInformation +/// +- (nonnull instancetype)initWithConfiguration:(STPPaymentConfiguration * _Nonnull)configuration theme:(STPTheme * _Nonnull)theme currency:(NSString * _Nullable)currency shippingAddress:(STPAddress * _Nullable)shippingAddress selectedShippingMethod:(PKShippingMethod * _Nullable)selectedShippingMethod prefilledInformation:(STPUserInformation * _Nullable)prefilledInformation OBJC_DESIGNATED_INITIALIZER; +/// The view controller’s delegate. This must be set before showing the view controller in order for it to work properly. - seealso: STPShippingAddressViewControllerDelegate +@property (nonatomic, weak) id _Nullable delegate; +/// If you’re pushing STPShippingAddressViewController onto an existing UINavigationController‘s stack, you should use this method to dismiss it, since it may have pushed an additional shipping method view controller onto the navigation controller’s stack. +/// \param completion The callback to run after the view controller is dismissed. You may specify nil for this parameter. +/// +- (void)dismissWithCompletion:(void (^ _Nullable)(void))completion; +/// Use one of the initializers declared in this interface. +- (nonnull instancetype)initWithTheme:(STPTheme * _Nullable)theme OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE_MSG("Use one of the initializers declared in this interface instead."); +/// Use one of the initializers declared in this interface. +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE_MSG("Use one of the initializers declared in this interface instead."); +/// Use one of the initializers declared in this interface. +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE; +/// :nodoc: +- (void)viewDidAppear:(BOOL)animated; +/// :nodoc: +- (CGFloat)tableView:(UITableView * _Nonnull)tableView heightForHeaderInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +@end + + + +@interface STPShippingAddressViewController (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (NSInteger)numberOfSectionsInTableView:(UITableView * _Nonnull)tableView SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (NSInteger)tableView:(UITableView * _Nonnull)tableView numberOfRowsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (UITableViewCell * _Nonnull)tableView:(UITableView * _Nonnull)tableView cellForRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)tableView:(UITableView * _Nonnull)tableView willDisplayCell:(UITableViewCell * _Nonnull)cell forRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath; +/// :nodoc: +- (CGFloat)tableView:(UITableView * _Nonnull)tableView heightForFooterInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (UIView * _Nullable)tableView:(UITableView * _Nonnull)tableView viewForFooterInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (UIView * _Nullable)tableView:(UITableView * _Nonnull)tableView viewForHeaderInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An enum representing the status of a shipping address validation. +typedef SWIFT_ENUM(NSInteger, STPShippingStatus, open) { +/// The shipping address is valid. + STPShippingStatusValid = 0, +/// The shipping address is invalid. + STPShippingStatusInvalid = 1, +}; + +/// These values control the labels used in the shipping info collection form. +typedef SWIFT_ENUM(NSInteger, STPShippingType, open) { +/// Shipping the purchase to the provided address using a third-party +/// shipping company. + STPShippingTypeShipping = 0, +/// Delivering the purchase by the seller. + STPShippingTypeDelivery = 1, +}; + +enum STPSourceFlow : NSInteger; +@class STPSourceOwner; +@class STPSourceReceiver; +@class STPSourceRedirect; +enum STPSourceStatus : NSInteger; +enum STPSourceType : NSInteger; +enum STPSourceUsage : NSInteger; +@class STPSourceVerification; +@class STPSourceCardDetails; +@class STPSourceKlarnaDetails; +@class STPSourceSEPADebitDetails; +@class STPSourceWeChatPayDetails; + +/// Representation of a customer’s payment instrument created with the Stripe API. - seealso: https://stripe.com/docs/api#sources +SWIFT_CLASS("_TtC6Stripe9STPSource") +@interface STPSource : NSObject +/// You cannot directly instantiate an STPSource. You should only use one that +/// has been returned from an STPAPIClient callback. +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// The amount associated with the source. +@property (nonatomic, readonly, strong) NSNumber * _Nullable amount; +/// The client secret of the source. Used for client-side fetching of a source +/// using a publishable key. +@property (nonatomic, readonly, copy) NSString * _Nullable clientSecret; +/// When the source was created. +@property (nonatomic, readonly, copy) NSDate * _Nullable created; +/// The currency associated with the source. +@property (nonatomic, readonly, copy) NSString * _Nullable currency; +/// The authentication flow of the source. +@property (nonatomic, readonly) enum STPSourceFlow flow; +/// Whether or not this source was created in livemode. +@property (nonatomic, readonly) BOOL livemode; +/// Information about the owner of the payment instrument. +@property (nonatomic, readonly, strong) STPSourceOwner * _Nullable owner; +/// Information related to the receiver flow. Present if the source’s flow +/// is receiver. +@property (nonatomic, readonly, strong) STPSourceReceiver * _Nullable receiver; +/// Information related to the redirect flow. Present if the source’s flow +/// is redirect. +@property (nonatomic, readonly, strong) STPSourceRedirect * _Nullable redirect; +/// The status of the source. +@property (nonatomic, readonly) enum STPSourceStatus status; +/// The type of the source. +@property (nonatomic, readonly) enum STPSourceType type; +/// Whether this source should be reusable or not. +@property (nonatomic, readonly) enum STPSourceUsage usage; +/// Information related to the verification flow. Present if the source’s flow +/// is verification. +@property (nonatomic, readonly, strong) STPSourceVerification * _Nullable verification; +/// Information about the source specific to its type +@property (nonatomic, readonly, copy) NSDictionary * _Nullable details; +/// If this is a card source, this property provides typed access to the +/// contents of the details dictionary. +@property (nonatomic, readonly, strong) STPSourceCardDetails * _Nullable cardDetails; +/// If this is a Klarna source, this property provides typed access to the +/// contents of the details dictionary. +@property (nonatomic, readonly, strong) STPSourceKlarnaDetails * _Nullable klarnaDetails; +/// If this is a SEPA Debit source, this property provides typed access to the +/// contents of the details dictionary. +@property (nonatomic, readonly, strong) STPSourceSEPADebitDetails * _Nullable sepaDebitDetails; +/// If this is a WeChat Pay source, this property provides typed access to the +/// contents of the details dictionary. +@property (nonatomic, readonly, strong) STPSourceWeChatPayDetails * _Nullable weChatPayDetails; +/// A set of key/value pairs associated with the source object. +/// @deprecated Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead. +/// seealso: +/// https://stripe.com/docs/api#metadata +@property (nonatomic, readonly, copy) NSDictionary * _Nullable metadata SWIFT_DEPRECATED_MSG("Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead."); +@property (nonatomic, copy) NSString * _Nonnull stripeID; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) NSUInteger hash; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, strong) UIImage * _Nonnull image; +@property (nonatomic, readonly, strong) UIImage * _Nonnull templateImage; +@property (nonatomic, readonly, copy) NSString * _Nonnull label; +@property (nonatomic, readonly) BOOL isReusable; +@end + +/// The status of this card’s 3D Secure support. +/// seealso: +/// https://stripe.com/docs/sources/three-d-secure#check-requirement +typedef SWIFT_ENUM(NSInteger, STPSourceCard3DSecureStatus, open) { +/// 3D Secure is required. This card must be converted into a 3D Secure +/// source for a charge on it to be successful. + STPSourceCard3DSecureStatusRequired = 0, +/// 3D Secure is optional. It is not required nor recommended for successful charging, +/// but can be performed to help reduce the likelihood of fraud. + STPSourceCard3DSecureStatusOptional = 1, +/// 3D Secure is not supported on this card. + STPSourceCard3DSecureStatusNotSupported = 2, +/// 3D Secure is recommended. The process is not required, but it is highly recommended +/// and has minimal impact to your conversion rate. + STPSourceCard3DSecureStatusRecommended = 3, +/// The status of 3D Secure support on this card is unknown. + STPSourceCard3DSecureStatusUnknown = 4, +}; + + +/// This class provides typed access to the contents of an STPSource details +/// dictionary for card sources. +SWIFT_CLASS("_TtC6Stripe20STPSourceCardDetails") +@interface STPSourceCardDetails : NSObject +/// The last 4 digits of the card. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// The card’s expiration month. 1-indexed (i.e. 1 == January) +@property (nonatomic, readonly) NSUInteger expMonth; +/// The card’s expiration year. +@property (nonatomic, readonly) NSUInteger expYear; +/// The issuer of the card. +@property (nonatomic, readonly) enum STPCardBrand brand; +/// The funding source for the card (credit, debit, prepaid, or other) +@property (nonatomic, readonly) enum STPCardFundingType funding; +/// Two-letter ISO code representing the issuing country of the card. +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// Whether 3D Secure is supported or required by the card. +@property (nonatomic, readonly) enum STPSourceCard3DSecureStatus threeDSecure; +/// True if this card was created through Apple Pay, false otherwise. +@property (nonatomic, readonly) BOOL isApplePayCard; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// Authentication flows for a Source +typedef SWIFT_ENUM(NSInteger, STPSourceFlow, open) { +/// No action is required from your customer. +/// @note WeChat Pay Sources also have this flow type. + STPSourceFlowNone = 0, +/// Your customer must be redirected to their online banking service (either a website or mobile banking app) to approve the payment. + STPSourceFlowRedirect = 1, +/// Your customer must verify ownership of their account by providing a code that you post to the Stripe API for authentication. + STPSourceFlowCodeVerification = 2, +/// Your customer must push funds to the account information provided. + STPSourceFlowReceiver = 3, +/// The source’s flow is unknown. + STPSourceFlowUnknown = 4, +}; + + +/// Details of a Klarna source. +SWIFT_CLASS("_TtC6Stripe22STPSourceKlarnaDetails") +@interface STPSourceKlarnaDetails : NSObject +/// The Klarna-specific client token. This may be used with the Klarna SDK. +/// seealso: +/// https://developers.klarna.com/documentation/in-app/ios/steps-klarna-payments-native/#initialization +@property (nonatomic, readonly, copy) NSString * _Nullable clientToken; +/// The ISO-3166 2-letter country code of the customer’s location. +@property (nonatomic, readonly, copy) NSString * _Nullable purchaseCountry; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Information about a source’s owner. +SWIFT_CLASS("_TtC6Stripe14STPSourceOwner") +@interface STPSourceOwner : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// Owner’s address. +@property (nonatomic, readonly, strong) STPAddress * _Nullable address; +/// Owner’s email address. +@property (nonatomic, readonly, copy) NSString * _Nullable email; +/// Owner’s full name. +@property (nonatomic, readonly, copy) NSString * _Nullable name; +/// Owner’s phone number. +@property (nonatomic, readonly, copy) NSString * _Nullable phone; +/// Verified owner’s address. +@property (nonatomic, readonly, strong) STPAddress * _Nullable verifiedAddress; +/// Verified owner’s email address. +@property (nonatomic, readonly, copy) NSString * _Nullable verifiedEmail; +/// Verified owner’s full name. +@property (nonatomic, readonly, copy) NSString * _Nullable verifiedName; +/// Verified owner’s phone number. +@property (nonatomic, readonly, copy) NSString * _Nullable verifiedPhone; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An object representing parameters used to create a Source object. +/// seealso: +/// https://stripe.com/docs/api#create_source +SWIFT_CLASS("_TtC6Stripe15STPSourceParams") +@interface STPSourceParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// The type of the source to create. Required. +@property (nonatomic) enum STPSourceType type; +/// The raw underlying type string sent to the server. +/// Generally you should use type instead unless you have a reason not to. +/// You can use this if you want to create a param of a type not yet supported +/// by the current version of the SDK’s STPSourceType enum. +/// Setting this to a value not known by the SDK causes type to +/// return STPSourceTypeUnknown +@property (nonatomic, copy) NSString * _Nullable rawTypeString; +/// A positive integer in the smallest currency unit representing the +/// amount to charge the customer (e.g., @1099 for a €10.99 payment). +/// Required for single_use sources. +@property (nonatomic, strong) NSNumber * _Nullable amount; +/// The currency associated with the source. This is the currency for which the source +/// will be chargeable once ready. +@property (nonatomic, copy) NSString * _Nullable currency; +/// The authentication flow of the source to create. flow may be “redirect”, +/// “receiver”, “verification”, or “none”. It is generally inferred unless a type +/// supports multiple flows. +@property (nonatomic) enum STPSourceFlow flow; +/// A set of key/value pairs that you can attach to a source object. +@property (nonatomic, copy) NSDictionary * _Nullable metadata; +/// Information about the owner of the payment instrument. May be used or required +/// by particular source types. +@property (nonatomic, copy) NSDictionary * _Nullable owner; +/// Parameters required for the redirect flow. Required if the source is +/// authenticated by a redirect (flow is “redirect”). +@property (nonatomic, copy) NSDictionary * _Nullable redirect; +/// An optional token used to create the source. When passed, token properties will +/// override source parameters. +@property (nonatomic, copy) NSString * _Nullable token; +/// Whether this source should be reusable or not. usage may be “reusable” or +/// “single_use”. Some source types may or may not be reusable by construction, +/// while other may leave the option at creation. +@property (nonatomic) enum STPSourceUsage usage; +/// Initializes an empty STPSourceParams. +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPSourceParams (SWIFT_EXTENSION(Stripe)) +/// Creates params for a Bancontact source. +/// seealso: +/// https://stripe.com/docs/bancontact#create-source +/// \param amount The amount to charge the customer in EUR. +/// +/// \param name The full name of the account holder. +/// +/// \param returnURL The URL the customer should be redirected to after +/// they have successfully verified the payment. +/// +/// \param statementDescriptor (Optional) A custom statement descriptor for +/// the payment. +/// @note The currency for Bancontact must be “eur”. This will be set automatically +/// for you. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)bancontactParamsWithAmount:(NSInteger)amount name:(NSString * _Nonnull)name returnURL:(NSString * _Nonnull)returnURL statementDescriptor:(NSString * _Nullable)statementDescriptor SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Card source. +/// seealso: +/// https://stripe.com/docs/sources/cards#create-source +/// \param card An object containing the user’s card details +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided card details. ++ (STPSourceParams * _Nonnull)cardParamsWithCard:(STPCardParams * _Nonnull)card SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Giropay source. +/// seealso: +/// https://stripe.com/docs/sources/giropay#create-source +/// \param amount The amount to charge the customer in EUR. +/// +/// \param name The full name of the account holder. +/// +/// \param returnURL The URL the customer should be redirected to after +/// they have successfully verified the payment. +/// +/// \param statementDescriptor (Optional) A custom statement descriptor for +/// the payment. +/// @note The currency for Giropay must be “eur”. This will be set automatically +/// for you. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)giropayParamsWithAmount:(NSInteger)amount name:(NSString * _Nonnull)name returnURL:(NSString * _Nonnull)returnURL statementDescriptor:(NSString * _Nullable)statementDescriptor SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an iDEAL source. +/// seealso: +/// https://stripe.com/docs/sources/ideal#create-source +/// \param amount The amount to charge the customer in EUR. +/// +/// \param name (Optional) The full name of the account holder. +/// +/// \param returnURL The URL the customer should be redirected to after +/// they have successfully verified the payment. +/// +/// \param statementDescriptor (Optional) A custom statement descriptor for t +/// he payment. +/// +/// \param bank (Optional) The customer’s bank. +/// @note The currency for iDEAL must be “eur”. This will be set automatically +/// for you. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)idealParamsWithAmount:(NSInteger)amount name:(NSString * _Nullable)name returnURL:(NSString * _Nonnull)returnURL statementDescriptor:(NSString * _Nullable)statementDescriptor bank:(NSString * _Nullable)bank SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a SEPA Debit source. +/// seealso: +/// https://stripe.com/docs/sources/sepa-debit#create-source +/// \param name The full name of the account holder. +/// +/// \param iban The IBAN number for the bank account you wish to debit. +/// +/// \param addressLine1 (Optional) The bank account holder’s first address line. +/// +/// \param city (Optional) The bank account holder’s city. +/// +/// \param postalCode (Optional) The bank account holder’s postal code. +/// +/// \param country (Optional) The bank account holder’s two-letter +/// country code. +/// @note The currency for SEPA Debit must be “eur”. This will be set automatically +/// for you. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)sepaDebitParamsWithName:(NSString * _Nonnull)name iban:(NSString * _Nonnull)iban addressLine1:(NSString * _Nullable)addressLine1 city:(NSString * _Nullable)city postalCode:(NSString * _Nullable)postalCode country:(NSString * _Nullable)country SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Sofort source. +/// seealso: +/// https://stripe.com/docs/sources/sofort#create-source +/// \param amount The amount to charge the customer in EUR. +/// +/// \param returnURL The URL the customer should be redirected to after +/// they have successfully verified the payment. +/// +/// \param country The country code of the customer’s bank. +/// +/// \param statementDescriptor (Optional) A custom statement descriptor for +/// the payment. +/// @note The currency for Sofort must be “eur”. This will be set automatically +/// for you. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)sofortParamsWithAmount:(NSInteger)amount returnURL:(NSString * _Nonnull)returnURL country:(NSString * _Nonnull)country statementDescriptor:(NSString * _Nullable)statementDescriptor SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Klarna source. +/// seealso: +/// https://stripe.com/docs/sources/klarna#create-source +/// \param returnURL The URL the customer should be redirected to after +/// they have successfully verified the payment. +/// +/// \param currency The currency the payment is being created in. +/// +/// \param purchaseCountry The ISO-3166 2-letter country code of the customer’s location. +/// +/// \param items An array of STPKlarnaLineItems. Klarna will present these on the confirmation +/// page. The total amount charged will be a sum of the totalAmount of each of these items. +/// +/// \param customPaymentMethods Required for customers located in the US. This determines whether Pay Later and/or Slice It +/// is offered to a US customer. +/// +/// \param address An STPAddress for the customer. At a minimum, an email, line1, postalCode, city, and country must be provided. +/// The address’ name will be ignored in favor of the firstName and lastName` parameters. +/// +/// \param firstName The customer’s first name. +/// +/// \param lastName The customer’s last name. +/// If the provided information is missing a line1, postal code, city, email, or first/last name, or if the country code is +/// outside the specified country, no address information will be sent to Klarna, and Klarna will prompt the customer to provide their address. +/// +/// \param dateOfBirth The customer’s date of birth. This will be used by Klarna for a credit check in some EU countries. +/// The optional fields (address, firstName, lastName, and dateOfBirth) can be provided to skip Klarna’s customer information form. +/// If this information is missing, Klarna will prompt the customer for these values during checkout. +/// Be careful with this option: If the provided information is invalid, +/// Klarna may reject the transaction without giving the customer a chance to correct it. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)klarnaParamsWithReturnURL:(NSString * _Nonnull)returnURL currency:(NSString * _Nonnull)currency purchaseCountry:(NSString * _Nonnull)purchaseCountry items:(NSArray * _Nonnull)items customPaymentMethods:(NSArray * _Nonnull)customPaymentMethods billingAddress:(STPAddress * _Nullable)address billingFirstName:(NSString * _Nullable)firstName billingLastName:(NSString * _Nullable)lastName billingDOB:(STPDateOfBirth * _Nullable)dateOfBirth SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Klarna source. +/// seealso: +/// https://stripe.com/docs/sources/klarna#create-source +/// \param returnURL The URL the customer should be redirected to after +/// they have successfully verified the payment. +/// +/// \param currency The currency the payment is being created in. +/// +/// \param purchaseCountry The ISO-3166 2-letter country code of the customer’s location. +/// +/// \param items An array of STPKlarnaLineItems. Klarna will present these in the confirmation +/// dialog. The total amount charged will be a sum of the totalAmount of each of these items. +/// +/// \param customPaymentMethods Required for customers located in the US. This determines whether Pay Later and/or Slice It +/// is offered to a US customer. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)klarnaParamsWithReturnURL:(NSString * _Nonnull)returnURL currency:(NSString * _Nonnull)currency purchaseCountry:(NSString * _Nonnull)purchaseCountry items:(NSArray * _Nonnull)items customPaymentMethods:(NSArray * _Nonnull)customPaymentMethods SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a 3DS source. +/// seealso: +/// https://stripe.com/docs/sources/three-d-secure#create-3ds-source +/// \param amount The amount to charge the customer. +/// +/// \param currency The currency the payment is being created in. +/// +/// \param returnURL The URL the customer should be redirected to after they have +/// successfully verified the payment. +/// +/// \param card The ID of the card source. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided card details. ++ (STPSourceParams * _Nonnull)threeDSecureParamsWithAmount:(NSInteger)amount currency:(NSString * _Nonnull)currency returnURL:(NSString * _Nonnull)returnURL card:(NSString * _Nonnull)card SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a single-use Alipay source +/// seealso: +/// https://stripe.com/docs/sources/alipay#create-source +/// \param amount The amount to charge the customer. +/// +/// \param currency The currency the payment is being created in. +/// +/// \param returnURL The URL the customer should be redirected to after they have +/// successfully verified the payment. +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values ++ (STPSourceParams * _Nonnull)alipayParamsWithAmount:(NSInteger)amount currency:(NSString * _Nonnull)currency returnURL:(NSString * _Nonnull)returnURL SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a reusable Alipay source +/// seealso: +/// https://stripe.com/docs/sources/alipay#create-source +/// \param currency The currency the payment is being created in. +/// +/// \param returnURL The URL the customer should be redirected to after they have +/// successfully verified the payment. +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values ++ (STPSourceParams * _Nonnull)alipayReusableParamsWithCurrency:(NSString * _Nonnull)currency returnURL:(NSString * _Nonnull)returnURL SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a P24 source +/// seealso: +/// https://stripe.com/docs/sources/p24#create-source +/// \param amount The amount to charge the customer. +/// +/// \param currency The currency the payment is being created in (this must be +/// EUR or PLN) +/// +/// \param email The email address of the account holder. +/// +/// \param name The full name of the account holder (optional). +/// +/// \param returnURL The URL the customer should be redirected to after they have +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)p24ParamsWithAmount:(NSInteger)amount currency:(NSString * _Nonnull)currency email:(NSString * _Nonnull)email name:(NSString * _Nullable)name returnURL:(NSString * _Nonnull)returnURL SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a card source created from Visa Checkout. +/// seealso: +/// https://stripe.com/docs/visa-checkout +/// @note Creating an STPSource with these params will give you a +/// source with type == STPSourceTypeCard +/// \param callId The callId property from a VisaCheckoutResult object. +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)visaCheckoutParamsWithCallId:(NSString * _Nonnull)callId SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a card source created from Masterpass. +/// seealso: +/// https://stripe.com/docs/masterpass +/// @note Creating an STPSource with these params will give you a +/// source with type == STPSourceTypeCard +/// \param cartId The cartId from a MCCCheckoutResponse object. +/// +/// \param transactionId The transactionid from a MCCCheckoutResponse object. +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)masterpassParamsWithCartId:(NSString * _Nonnull)cartId transactionId:(NSString * _Nonnull)transactionId SWIFT_WARN_UNUSED_RESULT; +/// Create params for an EPS source +/// seealso: +/// https://stripe.com/docs/sources/eps +/// \param amount The amount to charge the customer. +/// +/// \param name The full name of the account holder. +/// +/// \param returnURL The URL the customer should be redirected to +/// after the authorization process. +/// +/// \param statementDescriptor A custom statement descriptor for the +/// payment (optional). +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)epsParamsWithAmount:(NSInteger)amount name:(NSString * _Nonnull)name returnURL:(NSString * _Nonnull)returnURL statementDescriptor:(NSString * _Nullable)statementDescriptor SWIFT_WARN_UNUSED_RESULT; +/// Create params for a Multibanco source +/// seealso: +/// https://stripe.com/docs/sources/multibanco +/// \param amount The amount to charge the customer. +/// +/// \param returnURL The URL the customer should be redirected to after the +/// authorization process. +/// +/// \param email The full email address of the customer. +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)multibancoParamsWithAmount:(NSInteger)amount returnURL:(NSString * _Nonnull)returnURL email:(NSString * _Nonnull)email SWIFT_WARN_UNUSED_RESULT; +/// Create params for a WeChat Pay native app redirect source +/// @note This feature is in private beta. For participating users, see +/// https://stripe.com/docs/sources/wechat-pay/ios +/// \param amount The amount to charge the customer. +/// +/// \param currency The currency of the payment +/// +/// \param appId Your WeChat-provided application id. WeChat Pay uses +/// this as the redirect URL scheme +/// +/// \param statementDescriptor A custom statement descriptor for the payment (optional). +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)wechatPayParamsWithAmount:(NSInteger)amount currency:(NSString * _Nonnull)currency appId:(NSString * _Nonnull)appId statementDescriptor:(NSString * _Nullable)statementDescriptor SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// Private setter allows for setting the name of the app in the returnURL so +/// that it can be displayed on hooks.stripe.com if the automatic redirect back +/// to the app fails. +/// We intercept the reading of redirect dictionary from STPFormEncoder and replace +/// the value of return_url if necessary +- (NSDictionary * _Nonnull)redirectDictionaryWithMerchantNameIfNecessary SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +@end + + + +/// Information related to a source’s receiver flow. +SWIFT_CLASS("_TtC6Stripe17STPSourceReceiver") +@interface STPSourceReceiver : NSObject +/// The address of the receiver source. This is the value that should be communicated to the customer to send their funds to. +@property (nonatomic, readonly, copy) NSString * _Nullable address; +/// The total amount charged by you. +@property (nonatomic, readonly, strong) NSNumber * _Nullable amountCharged; +/// The total amount received by the receiver source. +@property (nonatomic, readonly, strong) NSNumber * _Nullable amountReceived; +/// The total amount that was returned to the customer. +@property (nonatomic, readonly, strong) NSNumber * _Nullable amountReturned; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +enum STPSourceRedirectStatus : NSInteger; + +/// Information related to a source’s redirect flow. +SWIFT_CLASS("_TtC6Stripe17STPSourceRedirect") +@interface STPSourceRedirect : NSObject +/// The URL you provide to redirect the customer to after they authenticated their payment. +@property (nonatomic, readonly, copy) NSURL * _Nonnull returnURL; +/// The status of the redirect. +@property (nonatomic, readonly) enum STPSourceRedirectStatus status; +/// The URL provided to you to redirect a customer to as part of a redirect authentication flow. +@property (nonatomic, readonly, copy) NSURL * _Nonnull url; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// Redirect status types for a Source. +typedef SWIFT_ENUM(NSInteger, STPSourceRedirectStatus, open) { +/// The redirect is pending. + STPSourceRedirectStatusPending = 0, +/// The redirect has succeeded. + STPSourceRedirectStatusSucceeded = 1, +/// The redirect has failed. + STPSourceRedirectStatusFailed = 2, +/// The redirect should not be used. + STPSourceRedirectStatusNotRequired = 3, +/// The state of the redirect is unknown. + STPSourceRedirectStatusUnknown = 4, +}; + + +/// This class provides typed access to the contents of an STPSource details +/// dictionary for SEPA Debit sources. +SWIFT_CLASS("_TtC6Stripe25STPSourceSEPADebitDetails") +@interface STPSourceSEPADebitDetails : NSObject +/// You cannot directly instantiate an STPSourceSEPADebitDetails. +/// You should only use one that is part of an existing STPSource object. +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// The last 4 digits of the account number. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// The account’s bank code. +@property (nonatomic, readonly, copy) NSString * _Nullable bankCode; +/// Two-letter ISO code representing the country of the bank account. +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// The account’s fingerprint. +@property (nonatomic, readonly, copy) NSString * _Nullable fingerprint; +/// The reference of the mandate accepted by your customer. +@property (nonatomic, readonly, copy) NSString * _Nullable mandateReference; +/// The details of the mandate accepted by your customer. +@property (nonatomic, readonly, copy) NSURL * _Nullable mandateURL; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// Status types for a Source +typedef SWIFT_ENUM(NSInteger, STPSourceStatus, open) { +/// The source has been created and is awaiting customer action. + STPSourceStatusPending = 0, +/// The source is ready to use. The customer action has been completed or the +/// payment method requires no customer action. + STPSourceStatusChargeable = 1, +/// The source has been used. This status only applies to single-use sources. + STPSourceStatusConsumed = 2, +/// The source, which was chargeable, has expired because it was not used to +/// make a charge request within a specified amount of time. + STPSourceStatusCanceled = 3, +/// Your customer has not taken the required action or revoked your access +/// (e.g., did not authorize the payment with their bank or canceled their +/// mandate acceptance for SEPA direct debits). + STPSourceStatusFailed = 4, +/// The source status is unknown. + STPSourceStatusUnknown = 5, +}; + +/// Types for a Source +/// seealso: +/// https://stripe.com/docs/sources +typedef SWIFT_ENUM(NSInteger, STPSourceType, open) { +/// A Bancontact source. - seealso: https://stripe.com/docs/sources/bancontact + STPSourceTypeBancontact = 0, +/// A card source. - seealso: https://stripe.com/docs/sources/cards + STPSourceTypeCard = 1, +/// A Giropay source. - seealso: https://stripe.com/docs/sources/giropay + STPSourceTypeGiropay = 2, +/// An iDEAL source. - seealso: https://stripe.com/docs/sources/ideal + STPSourceTypeiDEAL SWIFT_COMPILE_NAME("iDEAL") = 3, +/// A SEPA Direct Debit source. - seealso: https://stripe.com/docs/sources/sepa-debit + STPSourceTypeSEPADebit = 4, +/// A Sofort source. - seealso: https://stripe.com/docs/sources/sofort + STPSourceTypeSofort = 5, +/// A 3DS card source. - seealso: https://stripe.com/docs/sources/three-d-secure + STPSourceTypeThreeDSecure = 6, +/// An Alipay source. - seealso: https://stripe.com/docs/sources/alipay + STPSourceTypeAlipay = 7, +/// A P24 source. - seealso: https://stripe.com/docs/sources/p24 + STPSourceTypeP24 = 8, +/// An EPS source. - seealso: https://stripe.com/docs/sources/eps + STPSourceTypeEPS = 9, +/// A Multibanco source. - seealso: https://stripe.com/docs/sources/multibanco + STPSourceTypeMultibanco = 10, +/// A WeChat Pay source. - seealso: https://stripe.com/docs/sources/wechat-pay + STPSourceTypeWeChatPay = 11, +/// A Klarna source. - seealso: https://stripe.com/docs/sources/klarna + STPSourceTypeKlarna = 12, +/// An unknown type of source. + STPSourceTypeUnknown = 13, +}; + +/// Usage types for a Source +typedef SWIFT_ENUM(NSInteger, STPSourceUsage, open) { +/// The source can be reused. + STPSourceUsageReusable = 0, +/// The source can only be used once. + STPSourceUsageSingleUse = 1, +/// The source’s usage is unknown. + STPSourceUsageUnknown = 2, +}; + +enum STPSourceVerificationStatus : NSInteger; + +/// Information related to a source’s verification flow. +SWIFT_CLASS("_TtC6Stripe21STPSourceVerification") +@interface STPSourceVerification : NSObject +/// The number of attempts remaining to authenticate the source object with a +/// verification code. +@property (nonatomic, readonly, strong) NSNumber * _Nullable attemptsRemaining; +/// The status of the verification. +@property (nonatomic, readonly) enum STPSourceVerificationStatus status; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// Verification status types for a Source. +typedef SWIFT_ENUM(NSInteger, STPSourceVerificationStatus, open) { +/// The verification is pending. + STPSourceVerificationStatusPending = 0, +/// The verification has succeeeded. + STPSourceVerificationStatusSucceeded = 1, +/// The verification has failed. + STPSourceVerificationStatusFailed = 2, +/// The state of the verification is unknown. + STPSourceVerificationStatusUnknown = 3, +}; + + +/// Details of a WeChat Pay Source. +SWIFT_CLASS("_TtC6Stripe25STPSourceWeChatPayDetails") +@interface STPSourceWeChatPayDetails : NSObject +/// A URL to the WeChat App. +/// Use STPRedirectContext instead of redirecting users yourself. +@property (nonatomic, readonly, copy) NSString * _Nullable weChatAppURL; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// :nodoc: +SWIFT_CLASS("_TtC6Stripe22STPStringFromCardBrand") SWIFT_DEPRECATED_MSG("STPStringFromCardBrand has been replaced with STPCardBrandUtilities.stringFrom(brand)") +@interface STPStringFromCardBrand : NSObject +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// STPTheme objects can be used to visually style Stripe-provided UI. See https://stripe.com/docs/mobile/ios/standard#theming for more information. +SWIFT_CLASS("_TtC6Stripe8STPTheme") +@interface STPTheme : NSObject +/// The default theme used by all Stripe UI. All themable UI classes, such as STPAddCardViewController, have one initializer that takes a theme and one that does not. If you use the one that does not, the default theme will be used to customize that view controller’s appearance. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPTheme * _Nonnull defaultTheme;) ++ (STPTheme * _Nonnull)defaultTheme SWIFT_WARN_UNUSED_RESULT; +/// The primary background color of the theme. This will be used as the backgroundColor for any views with this theme. +@property (nonatomic, strong) UIColor * _Nonnull primaryBackgroundColor; +/// The secondary background color of this theme. This will be used as the backgroundColor for any supplemental views inside a view with this theme - for example, a UITableView will set it’s cells’ background color to this value. +@property (nonatomic, strong) UIColor * _Nonnull secondaryBackgroundColor; +/// This color is automatically derived by reducing the alpha of the primaryBackgroundColor and is used as a section border color in table view cells. +@property (nonatomic, readonly, strong) UIColor * _Nonnull tertiaryBackgroundColor; +/// This color is automatically derived by reducing the brightness of the primaryBackgroundColor and is used as a separator color in table view cells. +@property (nonatomic, readonly, strong) UIColor * _Nonnull quaternaryBackgroundColor; +/// The primary foreground color of this theme. This will be used as the text color for any important labels in a view with this theme (such as the text color for a text field that the user needs to fill out). +@property (nonatomic, strong) UIColor * _Nonnull primaryForegroundColor; +/// The secondary foreground color of this theme. This will be used as the text color for any supplementary labels in a view with this theme (such as the placeholder color for a text field that the user needs to fill out). +@property (nonatomic, strong) UIColor * _Nonnull secondaryForegroundColor; +/// This color is automatically derived from the secondaryForegroundColor with a lower alpha component, used for disabled text. +@property (nonatomic, readonly, strong) UIColor * _Nonnull tertiaryForegroundColor; +/// The accent color of this theme - it will be used for any buttons and other elements on a view that are important to highlight. +@property (nonatomic, strong) UIColor * _Nonnull accentColor; +/// The error color of this theme - it will be used for rendering any error messages or views. +@property (nonatomic, strong) UIColor * _Nonnull errorColor; +/// The font to be used for all views using this theme. Make sure to select an appropriate size. +@property (nonatomic, strong) UIFont * _Nonnull font; +/// The medium-weight font to be used for all bold text in views using this theme. Make sure to select an appropriate size. +@property (nonatomic, strong) UIFont * _Nonnull emphasisFont; +/// The navigation bar style to use for any view controllers presented modally +/// by the SDK. The default value will be determined based on the brightness +/// of the theme’s secondaryBackgroundColor. +@property (nonatomic) UIBarStyle barStyle; +/// A Boolean value indicating whether the navigation bar for any view controllers +/// presented modally by the SDK should be translucent. The default value is YES. +@property (nonatomic) BOOL translucentNavigationBar; +/// This font is automatically derived from the font, with a slightly lower point size, and will be used for supplementary labels. +@property (nonatomic, readonly, strong) UIFont * _Nonnull smallFont; +/// This font is automatically derived from the font, with a larger point size, and will be used for large labels such as SMS code entry. +@property (nonatomic, readonly, strong) UIFont * _Nonnull largeFont; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPTheme (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +@end + +enum STPThreeDSCustomizationButtonType : NSInteger; +enum STPThreeDSButtonTitleStyle : NSInteger; + +/// A customization object to use to configure the UI of a button. +SWIFT_CLASS("_TtC6Stripe29STPThreeDSButtonCustomization") +@interface STPThreeDSButtonCustomization : NSObject +/// The default settings for the provided button type. ++ (STPThreeDSButtonCustomization * _Nonnull)defaultSettingsForButtonType:(enum STPThreeDSCustomizationButtonType)type SWIFT_WARN_UNUSED_RESULT; +/// Initializes an instance of STDSButtonCustomization with the given backgroundColor and colorRadius. +- (nonnull instancetype)initWithBackgroundColor:(UIColor * _Nonnull)backgroundColor cornerRadius:(CGFloat)cornerRadius OBJC_DESIGNATED_INITIALIZER; +/// The background color of the button. +/// The default for .resend and .cancel is clear. +/// The default for .submit, .continue, and .next is blue. +@property (nonatomic, strong) UIColor * _Nonnull backgroundColor; +/// The corner radius of the button. Defaults to 8. +@property (nonatomic) CGFloat cornerRadius; +/// The capitalization style of the button title. +@property (nonatomic) enum STPThreeDSButtonTitleStyle titleStyle; +/// The font of the title. +@property (nonatomic, strong) UIFont * _Nullable font; +/// The text color of the title. +@property (nonatomic, strong) UIColor * _Nullable textColor; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// An enumeration of the case transformations that can be applied to the button’s title +typedef SWIFT_ENUM(NSInteger, STPThreeDSButtonTitleStyle, open) { +/// Default style, doesn’t modify the title + STPThreeDSButtonTitleStyleDefault = 0, +/// Applies localizedUppercaseString to the title + STPThreeDSButtonTitleStyleUppercase = 1, +/// Applies localizedLowercaseString to the title + STPThreeDSButtonTitleStyleLowercase = 2, +/// Applies localizedCapitalizedString to the title + STPThreeDSButtonTitleStyleSentenceCapitalized = 3, +}; + +/// An enum that defines the different types of buttons that are able to be customized. +typedef SWIFT_ENUM(NSInteger, STPThreeDSCustomizationButtonType, open) { +/// The submit button type. + STPThreeDSCustomizationButtonTypeSubmit = 0, +/// The continue button type. + STPThreeDSCustomizationButtonTypeContinue = 1, +/// The next button type. + STPThreeDSCustomizationButtonTypeNext = 2, +/// The cancel button type. + STPThreeDSCustomizationButtonTypeCancel = 3, +/// The resend button type. + STPThreeDSCustomizationButtonTypeResend = 4, +}; + +@class STPThreeDSUICustomization; + +/// STPThreeDSCustomizationSettings provides customization options for 3DS2 authentication flows in your app. +SWIFT_CLASS("_TtC6Stripe31STPThreeDSCustomizationSettings") +@interface STPThreeDSCustomizationSettings : NSObject +/// Returns an STPThreeDSCustomizationSettings preconfigured with the default +/// Stripe UI settings and a 10 minute authenticationTimeout. +/// @deprecated Use STPThreeDSCustomizationSettings() instead. The default settings are the same. ++ (STPThreeDSCustomizationSettings * _Nonnull)defaultSettings SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("Use STPThreeDSCustomizationSettings() instead of STPThreeDSCustomizationSettings.defaultSettings()."); +/// uiCustomization can be used to provide custom UI settings for the authentication +/// challenge screens presented during a Three Domain Secure authentication. For more information see +/// our guide on supporting 3DS2 in your iOS application. +/// Note: It’s important to configure this object appropriately before calling any STPPaymentHandler APIs. +/// The API makes a copy of the customization settings you provide; it ignores any subsequent changes you +/// make to your STPThreeDSUICustomization instance. +/// Defaults to STPThreeDSUICustomization.defaultSettings(). +@property (nonatomic, strong) STPThreeDSUICustomization * _Nonnull uiCustomization; +/// authenticationTimeout is the total time allowed for a user to complete a 3DS2 authentication +/// interaction, in minutes. This value must be at least 5 minutes. +/// Defaults to 10 minutes. +@property (nonatomic) NSInteger authenticationTimeout; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// The Challenge view displays a footer with additional details that +/// expand when tapped. This object configures the appearance of that view. +SWIFT_CLASS("_TtC6Stripe29STPThreeDSFooterCustomization") +@interface STPThreeDSFooterCustomization : NSObject +/// The default settings. ++ (STPThreeDSFooterCustomization * _Nonnull)defaultSettings SWIFT_WARN_UNUSED_RESULT; +/// The background color of the footer. +/// Defaults to gray. +@property (nonatomic, strong) UIColor * _Nonnull backgroundColor; +/// The color of the chevron. Defaults to a dark gray. +@property (nonatomic, strong) UIColor * _Nonnull chevronColor; +/// The color of the heading text. Defaults to black. +@property (nonatomic, strong) UIColor * _Nonnull headingTextColor; +/// The font to use for the heading text. +@property (nonatomic, strong) UIFont * _Nonnull headingFont; +/// The font of the text. +@property (nonatomic, strong) UIFont * _Nullable font; +/// The color of the text. +@property (nonatomic, strong) UIColor * _Nullable textColor; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A customization object to use to configure the UI of a text label. +SWIFT_CLASS("_TtC6Stripe28STPThreeDSLabelCustomization") +@interface STPThreeDSLabelCustomization : NSObject +/// The default settings. ++ (STPThreeDSLabelCustomization * _Nonnull)defaultSettings SWIFT_WARN_UNUSED_RESULT; +/// The font to use for heading text. +@property (nonatomic, strong) UIFont * _Nonnull headingFont; +/// The color of heading text. Defaults to black. +@property (nonatomic, strong) UIColor * _Nonnull headingTextColor; +/// The font to use for non-heading text. +@property (nonatomic, strong) UIFont * _Nullable font; +/// The color to use for non-heading text. Defaults to black. +@property (nonatomic, strong) UIColor * _Nullable textColor; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A customization object to use to configure a UINavigationBar. +SWIFT_CLASS("_TtC6Stripe36STPThreeDSNavigationBarCustomization") +@interface STPThreeDSNavigationBarCustomization : NSObject +/// The default settings. ++ (STPThreeDSNavigationBarCustomization * _Nonnull)defaultSettings SWIFT_WARN_UNUSED_RESULT; +/// The tint color of the navigation bar background. +/// Defaults to nil. +@property (nonatomic, strong) UIColor * _Nullable barTintColor; +/// The navigation bar style. +/// Defaults to UIBarStyleDefault. +/// @note This property controls the UIStatusBarStyle. Set this to UIBarStyleBlack +/// to change the statusBarStyle to UIStatusBarStyleLightContent - even if you also set +/// barTintColor to change the actual color of the navigation bar. +@property (nonatomic) UIBarStyle barStyle; +/// A Boolean value indicating whether the navigation bar is translucent or not. +/// Defaults to YES. +@property (nonatomic) BOOL translucent; +/// The text to display in the title of the navigation bar. +/// Defaults to “Secure checkout”. +@property (nonatomic, copy) NSString * _Nonnull headerText; +/// The text to display for the button in the navigation bar. +/// Defaults to “Cancel”. +@property (nonatomic, copy) NSString * _Nonnull buttonText; +/// The font to use for the title. Defaults to nil. +@property (nonatomic, strong) UIFont * _Nullable font; +/// The color to use for the title. Defaults to nil. +@property (nonatomic, strong) UIColor * _Nullable textColor; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A customization object that configures the appearance of +/// radio buttons and checkboxes. +SWIFT_CLASS("_TtC6Stripe32STPThreeDSSelectionCustomization") +@interface STPThreeDSSelectionCustomization : NSObject +/// The default settings. ++ (STPThreeDSSelectionCustomization * _Nonnull)defaultSettings SWIFT_WARN_UNUSED_RESULT; +/// The primary color of the selected state. +/// Defaults to blue. +@property (nonatomic, strong) UIColor * _Nonnull primarySelectedColor; +/// The secondary color of the selected state (e.g. the checkmark color). +/// Defaults to white. +@property (nonatomic, strong) UIColor * _Nonnull secondarySelectedColor; +/// The background color displayed in the unselected state. +/// Defaults to light blue. +@property (nonatomic, strong) UIColor * _Nonnull unselectedBackgroundColor; +/// The color of the border drawn around the view in the unselected state. +/// Defaults to blue. +@property (nonatomic, strong) UIColor * _Nonnull unselectedBorderColor; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A customization object to use to configure the UI of a text field. +SWIFT_CLASS("_TtC6Stripe32STPThreeDSTextFieldCustomization") +@interface STPThreeDSTextFieldCustomization : NSObject +/// The default settings. ++ (STPThreeDSTextFieldCustomization * _Nonnull)defaultSettings SWIFT_WARN_UNUSED_RESULT; +/// The border width of the text field. Defaults to 2. +@property (nonatomic) CGFloat borderWidth; +/// The color of the border of the text field. Defaults to clear. +@property (nonatomic, strong) UIColor * _Nonnull borderColor; +/// The corner radius of the edges of the text field. Defaults to 8. +@property (nonatomic) CGFloat cornerRadius; +/// The appearance of the keyboard. Defaults to UIKeyboardAppearanceDefault. +@property (nonatomic) UIKeyboardAppearance keyboardAppearance; +/// The color of the placeholder text. Defaults to light gray. +@property (nonatomic, strong) UIColor * _Nonnull placeholderTextColor; +/// The font to use for text. +@property (nonatomic, strong) UIFont * _Nullable font; +/// The color to use for the text. Defaults to black. +@property (nonatomic, strong) UIColor * _Nullable textColor; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// The STPThreeDSUICustomization provides configuration for UI elements displayed during 3D Secure authentication. +/// Note: It’s important to configure this object appropriately before calling any STPPaymentHandler APIs. +/// The API makes a copy of the customization settings you provide; it ignores any subsequent changes you +/// make to your STPThreeDSUICustomization instance. +/// seealso: +/// https://stripe.com/docs/mobile/ios/authentication +SWIFT_CLASS("_TtC6Stripe25STPThreeDSUICustomization") +@interface STPThreeDSUICustomization : NSObject +/// The default settings. See individual properties for their default values. ++ (STPThreeDSUICustomization * _Nonnull)defaultSettings SWIFT_WARN_UNUSED_RESULT; +/// Provides custom settings for the UINavigationBar of all UIViewControllers displayed during 3D Secure authentication. +/// The default is STPThreeDSNavigationBarCustomization.defaultSettings(). +@property (nonatomic, strong) STPThreeDSNavigationBarCustomization * _Nonnull navigationBarCustomization; +/// Provides custom settings for labels. +/// The default is STPThreeDSLabelCustomization.defaultSettings(). +@property (nonatomic, strong) STPThreeDSLabelCustomization * _Nonnull labelCustomization; +/// Provides custom settings for text fields. +/// The default is STPThreeDSTextFieldCustomization.defaultSettings(). +@property (nonatomic, strong) STPThreeDSTextFieldCustomization * _Nonnull textFieldCustomization; +/// The primary background color of all UIViewControllers displayed during 3D Secure authentication. +/// Defaults to white. +@property (nonatomic, strong) UIColor * _Nonnull backgroundColor; +/// Provides custom settings for the footer the challenge view can display containing additional details. +/// The default is STPThreeDSFooterCustomization.defaultSettings(). +@property (nonatomic, strong) STPThreeDSFooterCustomization * _Nonnull footerCustomization; +/// Sets a given button customization for the specified type. +/// \param buttonCustomization The buttom customization to use. +/// +/// \param buttonType The type of button to use the customization for. +/// +- (void)setButtonCustomization:(STPThreeDSButtonCustomization * _Nonnull)buttonCustomization forType:(enum STPThreeDSCustomizationButtonType)buttonType; +/// Retrieves a button customization object for the given button type. +/// seealso: +/// STPThreeDSButtonCustomization +/// \param buttonType The button type to retrieve a customization object for. +/// +/// +/// returns: +/// A button customization object, or the default if none was set. +- (STPThreeDSButtonCustomization * _Nonnull)buttonCustomizationForButtonType:(enum STPThreeDSCustomizationButtonType)buttonType SWIFT_WARN_UNUSED_RESULT; +/// Provides custom settings for radio buttons and checkboxes. +/// The default is STPThreeDSSelectionCustomization.defaultSettings(). +@property (nonatomic, strong) STPThreeDSSelectionCustomization * _Nonnull selectionCustomization; +/// The style of UIActivityIndicatorViews displayed. +/// This should contrast with backgroundColor. Defaults to gray. +@property (nonatomic) UIActivityIndicatorViewStyle activityIndicatorViewStyle; +/// The style of the UIBlurEffect displayed underneath the UIActivityIndicatorView. +/// Defaults to UIBlurEffectStyleLight. +@property (nonatomic) UIBlurEffectStyle blurStyle; +/// :nodoc: +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +enum STPTokenType : NSInteger; + +/// A token returned from submitting payment details to the Stripe API. You should not have to instantiate one of these directly. +SWIFT_CLASS("_TtC6Stripe8STPToken") +@interface STPToken : NSObject +/// You cannot directly instantiate an STPToken. You should only use one that has been returned from an STPAPIClient callback. +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// The value of the token. You can store this value on your server and use it to make charges and customers. +/// seealso: +/// https://stripe.com/docs/charges +@property (nonatomic, readonly, copy) NSString * _Nonnull tokenId; +/// Whether or not this token was created in livemode. Will be YES if you used your Live Publishable Key, and NO if you used your Test Publishable Key. +@property (nonatomic, readonly) BOOL livemode; +/// The type of this token. +@property (nonatomic, readonly) enum STPTokenType type; +/// The credit card details that were used to create the token. Will only be set if the token was created via a credit card or Apple Pay, otherwise it will be +/// nil. +@property (nonatomic, readonly, strong) STPCard * _Nullable card; +/// The bank account details that were used to create the token. Will only be set if the token was created with a bank account, otherwise it will be nil. +@property (nonatomic, readonly, strong) STPBankAccount * _Nullable bankAccount; +/// When the token was created. +@property (nonatomic, readonly, copy) NSDate * _Nullable created; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull debugDescription; +/// :nodoc: +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) NSUInteger hash; +@property (nonatomic, readonly, copy) NSString * _Nonnull stripeID; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// Possible Token types +typedef SWIFT_ENUM(NSInteger, STPTokenType, open) { +/// Account token type + STPTokenTypeAccount = 0, +/// Bank account token type + STPTokenTypeBankAccount = 1, +/// Card token type + STPTokenTypeCard = 2, +/// PII token type + STPTokenTypePII = 3, +/// CVC update token type + STPTokenTypeCvcUpdate = 4, +}; + + +/// You can use this class to specify information that you’ve already collected +/// from your user. You can then set the prefilledInformation property on +/// STPPaymentContext, STPAddCardViewController, etc and it will pre-fill +/// this information whenever possible. +SWIFT_CLASS("_TtC6Stripe18STPUserInformation") +@interface STPUserInformation : NSObject +/// The user’s billing address. When set, the add card form will be filled with +/// this address. The user will also have the option to fill their shipping address +/// using this address. +/// @note Set this using setBillingAddressWithBillingDetails: to use the billing +/// details from an STPPaymentMethod or STPPaymentMethodParams instance. +@property (nonatomic, strong) STPAddress * _Nullable billingAddress; +/// The user’s shipping address. When set, the shipping address form will be filled +/// with this address. The user will also have the option to fill their billing +/// address using this address. +@property (nonatomic, strong) STPAddress * _Nullable shippingAddress; +/// A convenience method to populate billingAddress with a PaymentMethod’s billing details. +/// @note Calling this overwrites the value of billingAddress. +- (void)setBillingAddressWithBillingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails; +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + + + + + + + +@interface UINavigationBar (SWIFT_EXTENSION(Stripe)) +/// Sets the navigation bar’s appearance to the desired theme. This will affect the +/// bar’s tintColor and barTintColor properties, as well as the color of the +/// single-pixel line at the bottom of the navbar. +/// \param theme the theme to use to style the navigation bar. - seealso: STPTheme.h +/// @deprecated Use the stp_theme property instead +/// +- (void)stp_setTheme:(STPTheme * _Nonnull)theme SWIFT_DEPRECATED_MSG("Use the `stp_theme` property instead"); +/// Sets the navigation bar’s appearance to the desired theme. This will affect the bar’s tintColor and barTintColor properties, as well as the color of the single-pixel line at the bottom of the navbar. +/// Stripe view controllers will use their navigation bar’s theme for their UIBarButtonItems instead of their own theme if it is not nil. +/// seealso: +/// STPTheme.h +@property (nonatomic, strong) STPTheme * _Nullable stp_theme; +@end + + + + + + + + + + + + + + + + + + +@class PKPaymentRequest; +@protocol STPApplePayContextDelegate; +@class UIWindow; + +/// An Objective-C bridge for STPApplePayContext. +/// :nodoc: +SWIFT_CLASS_NAMED("_stpobjc_APContext") +@interface STPApplePayContext : NSObject +/// Initializes this class. +/// @note This may return nil if the request is invalid e.g. the user is restricted by parental controls, or can’t make payments on any of the request’s supported networks +/// \param paymentRequest The payment request to use with Apple Pay. +/// +/// \param delegate The delegate. +/// +- (nullable instancetype)initWithPaymentRequest:(PKPaymentRequest * _Nonnull)paymentRequest delegate:(id _Nullable)delegate OBJC_DESIGNATED_INITIALIZER; +/// Presents the Apple Pay sheet from the specified view controller, starting the payment process. +/// @note This method should only be called once; create a new instance of STPApplePayContext every time you present Apple Pay. +/// @deprecated A presenting UIViewController is no longer needed. Use presentApplePay(completion:) instead. +/// \param viewController The UIViewController instance to present the Apple Pay sheet on +/// +/// \param completion Called after the Apple Pay sheet is presented +/// +- (void)presentApplePayOnViewController:(UIViewController * _Nonnull)viewController completion:(void (^ _Nullable)(void))completion SWIFT_DEPRECATED_MSG("Use `presentApplePay(completion:)` instead.", "presentApplePayWithCompletion:"); +/// Presents the Apple Pay sheet from the key window, starting the payment process. +/// @note This method should only be called once; create a new instance of STPApplePayContext every time you present Apple Pay. +/// \param completion Called after the Apple Pay sheet is presented +/// +- (void)presentApplePayWithCompletion:(void (^ _Nullable)(void))completion SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable,message="Use `presentApplePay(from:completion:)` in App Extensions.") SWIFT_AVAILABILITY(ios_app_extension,unavailable,message="Use `presentApplePay(from:completion:)` in App Extensions."); +/// Presents the Apple Pay sheet from the specified window, starting the payment process. +/// @note This method should only be called once; create a new instance of STPApplePayContext every time you present Apple Pay. +/// \param window The UIWindow to host the Apple Pay sheet +/// +/// \param completion Called after the Apple Pay sheet is presented +/// +- (void)presentApplePayFromWindow:(UIWindow * _Nullable)window withCompletion:(void (^ _Nullable)(void))completion; +/// The STPAPIClient instance to use to make API requests to Stripe. +/// Defaults to STPAPIClient.shared. +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@class PKPaymentRequestShippingMethodUpdate; +@class PKPaymentRequestShippingContactUpdate; + +/// Implement the required methods of this delegate to supply a PaymentIntent to STPApplePayContext and be notified of the completion of the Apple Pay payment. +/// You may also implement the optional delegate methods to handle shipping methods and shipping address changes e.g. to verify you can ship to the address, or update the payment amount. +/// :nodoc: +SWIFT_PROTOCOL_NAMED("_stpobjc_APContextDelegate") +@protocol STPApplePayContextDelegate +/// Called after the customer has authorized Apple Pay. Implement this method to call the completion block with the client secret of a PaymentIntent or SetupIntent. +/// \param paymentMethod The PaymentMethod that represents the customer’s Apple Pay payment method. +/// If you create the PaymentIntent with confirmation_method=manual, pass paymentMethod.stripeId as the payment_method and confirm=true. Otherwise, you can ignore this parameter. +/// +/// \param paymentInformation The underlying PKPayment created by Apple Pay. +/// If you create the PaymentIntent with confirmation_method=manual, you can collect shipping information using its shippingContact and shippingMethod properties. +/// +/// \param completion Call this with the PaymentIntent or SetupIntent client secret, or the error that occurred creating the PaymentIntent or SetupIntent. +/// +- (void)applePayContext:(STPApplePayContext * _Nonnull)context didCreatePaymentMethod:(STPPaymentMethod * _Nonnull)paymentMethod paymentInformation:(PKPayment * _Nonnull)paymentInformation completion:(void (^ _Nonnull)(NSString * _Nullable, NSError * _Nullable))completion; +/// Called after the Apple Pay sheet is dismissed with the result of the payment. +/// Your implementation could stop a spinner and display a receipt view or error to the customer, for example. +/// \param status The status of the payment +/// +/// \param error The error that occurred, if any. +/// +- (void)applePayContext:(STPApplePayContext * _Nonnull)context didCompleteWithStatus:(enum STPPaymentStatus)status error:(NSError * _Nullable)error; +@optional +/// Called when the user selects a new shipping method. The delegate should determine +/// shipping costs based on the shipping method and either the shipping address supplied in the original +/// PKPaymentRequest or the address fragment provided by the last call to paymentAuthorizationController: +/// didSelectShippingContact:completion:. +/// You must invoke the completion block with an updated array of PKPaymentSummaryItem objects. +- (void)applePayContext:(STPApplePayContext * _Nonnull)context didSelectShippingMethod:(PKShippingMethod * _Nonnull)shippingMethod handler:(void (^ _Nonnull)(PKPaymentRequestShippingMethodUpdate * _Nonnull))handler; +/// Called when the user has selected a new shipping address. You should inspect the +/// address and must invoke the completion block with an updated array of PKPaymentSummaryItem objects. +/// @note To maintain privacy, the shipping information is anonymized. For example, in the United States it only includes the city, state, and zip code. This provides enough information to calculate shipping costs, without revealing sensitive information until the user actually approves the purchase. +/// Receive full shipping information in the paymentInformation passed to applePayContext:didCreatePaymentMethod:paymentInformation:completion: +- (void)applePayContext:(STPApplePayContext * _Nonnull)context didSelectShippingContact:(PKContact * _Nonnull)contact handler:(void (^ _Nonnull)(PKPaymentRequestShippingContactUpdate * _Nonnull))handler; +@end + +@class STPAppInfo; + +/// An Objective-C bridge for STPAPIClient. +/// :nodoc: +SWIFT_CLASS_NAMED("_stpobjc_STPAPIClient") +@interface STPAPIClient : NSObject +/// The current version of this library. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull STPSDKVersion;) ++ (NSString * _Nonnull)STPSDKVersion SWIFT_WARN_UNUSED_RESULT; +/// A shared singleton API client. +/// By default, the SDK uses this instance to make API requests +/// eg in STPPaymentHandler, STPPaymentContext, STPCustomerContext, etc. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPAPIClient * _Nonnull sharedClient;) ++ (STPAPIClient * _Nonnull)sharedClient SWIFT_WARN_UNUSED_RESULT; +/// The client’s publishable key. +/// The default value is StripeAPI.defaultPublishableKey. +@property (nonatomic, copy) NSString * _Nullable publishableKey; +/// The client’s configuration. +/// Defaults to STPPaymentConfiguration.shared. +@property (nonatomic, strong) STPPaymentConfiguration * _Nonnull configuration; +/// In order to perform API requests on behalf of a connected account, e.g. to +/// create a Source or Payment Method on a connected account, set this property to the ID of the +/// account for which this request is being made. +/// seealso: +/// https://stripe.com/docs/connect/authentication#authentication-via-the-stripe-account-header +@property (nonatomic, copy) NSString * _Nullable stripeAccount; +/// Libraries wrapping the Stripe SDK should set this, so that Stripe can contact you about future issues or critical updates. +/// seealso: +/// https://stripe.com/docs/building-plugins#setappinfo +@property (nonatomic, strong) STPAppInfo * _Nullable appInfo; +/// The API version used to communicate with Stripe. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull apiVersion;) ++ (NSString * _Nonnull)apiVersion SWIFT_WARN_UNUSED_RESULT; +/// Initializes an API client with the given publishable key. +/// \param publishableKey The publishable key to use. +/// +/// +/// returns: +/// An instance of STPAPIClient. +- (nonnull instancetype)initWithPublishableKey:(NSString * _Nonnull)publishableKey OBJC_DESIGNATED_INITIALIZER; +/// Initializes an API client with the given configuration. +/// \param configuration The configuration to use. +/// +/// +/// returns: +/// An instance of STPAPIClient. +- (nonnull instancetype)initWithConfiguration:(STPPaymentConfiguration * _Nonnull)configuration OBJC_DESIGNATED_INITIALIZER SWIFT_DEPRECATED_MSG("This initializer previously configured publishableKey and stripeAccount via the STPPaymentConfiguration instance. This behavior is deprecated; set the STPAPIClient configuration, publishableKey, and stripeAccount properties directly on the STPAPIClient instead."); +/// Converts an STPBankAccount object into a Stripe token using the Stripe API. +/// \param bankAccount The user’s bank account details. Cannot be nil. - seealso: https://stripe.com/docs/api#create_bank_account_token +/// +/// \param completion The callback to run with the returned Stripe token (and any errors that may have occurred). +/// +- (void)createTokenWithBankAccount:(STPBankAccountParams * _Nonnull)bankAccount completion:(void (^ _Nonnull)(STPToken * _Nullable, NSError * _Nullable))completion; +/// Converts a personal identification number into a Stripe token using the Stripe API. +/// \param pii The user’s personal identification number. Cannot be nil. - seealso: https://stripe.com/docs/api#create_pii_token +/// +/// \param completion The callback to run with the returned Stripe token (and any errors that may have occurred). +/// +- (void)createTokenWithPersonalIDNumber:(NSString * _Nonnull)pii completion:(void (^ _Nullable)(STPToken * _Nullable, NSError * _Nullable))completion; +/// Converts the last 4 SSN digits into a Stripe token using the Stripe API. +/// \param ssnLast4 The last 4 digits of the user’s SSN. Cannot be nil. +/// +/// \param completion The callback to run with the returned Stripe token (and any errors that may have occurred). +/// +- (void)createTokenWithSSNLast4:(NSString * _Nonnull)ssnLast4 completion:(void (^ _Nonnull)(STPToken * _Nullable, NSError * _Nullable))completion; +/// Converts an STPConnectAccountParams object into a Stripe token using the Stripe API. +/// This allows the connected account to accept the Terms of Service, and/or send Legal Entity information. +/// \param account The Connect Account parameters. Cannot be nil. +/// +/// \param completion The callback to run with the returned Stripe token (and any errors that may have occurred). +/// +- (void)createTokenWithConnectAccount:(STPConnectAccountParams * _Nonnull)account completion:(void (^ _Nullable)(STPToken * _Nullable, NSError * _Nullable))completion; +/// Uses the Stripe file upload API to upload an image. This can be used for +/// identity verification and evidence disputes. +/// seealso: +/// https://stripe.com/docs/file-upload +/// \param image The image to be uploaded. The maximum allowed file size is 4MB +/// for identity documents and 8MB for evidence disputes. Cannot be nil. +/// Your image will be automatically resized down if you pass in one that +/// is too large +/// +/// \param purpose The purpose of this file. This can be either an identifing +/// document or an evidence dispute. +/// +/// \param completion The callback to run with the returned Stripe file +/// (and any errors that may have occurred). +/// +- (void)uploadImage:(UIImage * _Nonnull)image purpose:(enum STPFilePurpose)purpose completion:(void (^ _Nullable)(STPFile * _Nullable, NSError * _Nullable))completion; +/// Converts an STPCardParams object into a Stripe token using the Stripe API. +/// \param cardParams The user’s card details. Cannot be nil. - seealso: https://stripe.com/docs/api#create_card_token +/// +/// \param completion The callback to run with the returned Stripe token (and any errors that may have occurred). +/// +- (void)createTokenWithCard:(STPCardParams * _Nonnull)cardParams completion:(void (^ _Nonnull)(STPToken * _Nullable, NSError * _Nullable))completion; +/// Converts a CVC string into a Stripe token using the Stripe API. +/// \param cvc The CVC/CVV number used to create the token. Cannot be nil. +/// +/// \param completion The callback to run with the returned Stripe token (and any errors that may have occurred). +/// +- (void)createTokenForCVCUpdate:(NSString * _Nonnull)cvc completion:(void (^ _Nullable)(STPToken * _Nullable, NSError * _Nullable))completion; +/// Creates a Source object using the provided details. +/// Note: in order to create a source on a connected account, you can set your +/// API client’s stripeAccount property to the ID of the account. +/// seealso: +/// https://stripe.com/docs/sources/connect#creating-direct-charges +/// \param sourceParams The details of the source to create. Cannot be nil. - seealso: https://stripe.com/docs/api#create_source +/// +/// \param completion The callback to run with the returned Source object, or an error. +/// +- (void)createSourceWithParams:(STPSourceParams * _Nonnull)sourceParams completion:(void (^ _Nonnull)(STPSource * _Nullable, NSError * _Nullable))completion; +/// Retrieves the Source object with the given ID. - seealso: https://stripe.com/docs/api#retrieve_source +/// \param identifier The identifier of the source to be retrieved. Cannot be nil. +/// +/// \param secret The client secret of the source. Cannot be nil. +/// +/// \param completion The callback to run with the returned Source object, or an error. +/// +- (void)retrieveSourceWithId:(NSString * _Nonnull)identifier clientSecret:(NSString * _Nonnull)secret completion:(void (^ _Nonnull)(STPSource * _Nullable, NSError * _Nullable))completion; +/// Starts polling the Source object with the given ID. For payment methods that require +/// additional customer action (e.g. authorizing a payment with their bank), polling +/// allows you to determine if the action was successful. Polling will stop and the +/// provided callback will be called once the source’s status is no longer pending, +/// or if the given timeout is reached and the source is still pending. If polling +/// stops due to an error, the callback will be fired with the latest retrieved +/// source and the error. +/// Note that if a poll is already running for a source, subsequent calls to startPolling +/// with the same source ID will do nothing. +/// \param identifier The identifier of the source to be retrieved. Cannot be nil. +/// +/// \param secret The client secret of the source. Cannot be nil. +/// +/// \param timeout The timeout for the polling operation, in seconds. Timeouts are capped at 5 minutes. +/// +/// \param completion The callback to run with the returned Source object, or an error. +/// +- (void)startPollingSourceWithId:(NSString * _Nonnull)identifier clientSecret:(NSString * _Nonnull)secret timeout:(NSTimeInterval)timeout completion:(void (^ _Nonnull)(STPSource * _Nullable, NSError * _Nullable))completion SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable) SWIFT_AVAILABILITY(ios_app_extension,unavailable); +/// Stops polling the Source object with the given ID. Note that the completion block passed to +/// startPolling will not be fired when stopPolling is called. +/// \param identifier The identifier of the source to be retrieved. Cannot be nil. +/// +- (void)stopPollingSourceWithId:(NSString * _Nonnull)identifier SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable) SWIFT_AVAILABILITY(ios_app_extension,unavailable); +/// Retrieves the PaymentIntent object using the given secret. - seealso: https://stripe.com/docs/api#retrieve_payment_intent +/// \param secret The client secret of the payment intent to be retrieved. Cannot be nil. +/// +/// \param completion The callback to run with the returned PaymentIntent object, or an error. +/// +- (void)retrievePaymentIntentWithClientSecret:(NSString * _Nonnull)secret completion:(void (^ _Nonnull)(STPPaymentIntent * _Nullable, NSError * _Nullable))completion; +/// Retrieves the PaymentIntent object using the given secret. - seealso: https://stripe.com/docs/api#retrieve_payment_intent +/// \param secret The client secret of the payment intent to be retrieved. Cannot be nil. +/// +/// \param expand An array of string keys to expand on the returned PaymentIntent object. These strings should match one or more of the parameter names that are marked as expandable. - seealso: https://stripe.com/docs/api/payment_intents/object +/// +/// \param completion The callback to run with the returned PaymentIntent object, or an error. +/// +- (void)retrievePaymentIntentWithClientSecret:(NSString * _Nonnull)secret expand:(NSArray * _Nullable)expand completion:(void (^ _Nonnull)(STPPaymentIntent * _Nullable, NSError * _Nullable))completion; +/// Confirms the PaymentIntent object with the provided params object. +/// At a minimum, the params object must include the clientSecret. +/// seealso: +/// https://stripe.com/docs/api#confirm_payment_intent +/// @note Use the confirmPayment:withAuthenticationContext:completion: method on STPPaymentHandler instead +/// of calling this method directly. It handles any authentication necessary for you. - seealso: https://stripe.com/docs/mobile/ios/authentication +/// \param paymentIntentParams The STPPaymentIntentParams to pass to /confirm +/// +/// \param completion The callback to run with the returned PaymentIntent object, or an error. +/// +- (void)confirmPaymentIntentWithParams:(STPPaymentIntentParams * _Nonnull)paymentIntentParams completion:(void (^ _Nonnull)(STPPaymentIntent * _Nullable, NSError * _Nullable))completion; +/// Confirms the PaymentIntent object with the provided params object. +/// At a minimum, the params object must include the clientSecret. +/// seealso: +/// https://stripe.com/docs/api#confirm_payment_intent +/// @note Use the confirmPayment:withAuthenticationContext:completion: method on STPPaymentHandler instead +/// of calling this method directly. It handles any authentication necessary for you. - seealso: https://stripe.com/docs/mobile/ios/authentication +/// \param paymentIntentParams The STPPaymentIntentParams to pass to /confirm +/// +/// \param expand An array of string keys to expand on the returned PaymentIntent object. These strings should match one or more of the parameter names that are marked as expandable. - seealso: https://stripe.com/docs/api/payment_intents/object +/// +/// \param completion The callback to run with the returned PaymentIntent object, or an error. +/// +- (void)confirmPaymentIntentWithParams:(STPPaymentIntentParams * _Nonnull)paymentIntentParams expand:(NSArray * _Nullable)expand completion:(void (^ _Nonnull)(STPPaymentIntent * _Nullable, NSError * _Nullable))completion; +/// Retrieves the SetupIntent object using the given secret. - seealso: https://stripe.com/docs/api/setup_intents/retrieve +/// \param secret The client secret of the SetupIntent to be retrieved. Cannot be nil. +/// +/// \param completion The callback to run with the returned SetupIntent object, or an error. +/// +- (void)retrieveSetupIntentWithClientSecret:(NSString * _Nonnull)secret completion:(void (^ _Nonnull)(STPSetupIntent * _Nullable, NSError * _Nullable))completion; +/// Confirms the SetupIntent object with the provided params object. +/// At a minimum, the params object must include the clientSecret. +/// seealso: +/// https://stripe.com/docs/api/setup_intents/confirm +/// @note Use the confirmSetupIntent:withAuthenticationContext:completion: method on STPPaymentHandler instead +/// of calling this method directly. It handles any authentication necessary for you. - seealso: https://stripe.com/docs/mobile/ios/authentication +/// \param setupIntentParams The STPSetupIntentConfirmParams to pass to /confirm +/// +/// \param completion The callback to run with the returned PaymentIntent object, or an error. +/// +- (void)confirmSetupIntentWithParams:(STPSetupIntentConfirmParams * _Nonnull)setupIntentParams completion:(void (^ _Nonnull)(STPSetupIntent * _Nullable, NSError * _Nullable))completion; +/// Creates a PaymentMethod object with the provided params object. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/create +/// \param paymentMethodParams The STPPaymentMethodParams to pass to /v1/payment_methods. Cannot be nil. +/// +/// \param completion The callback to run with the returned PaymentMethod object, or an error. +/// +- (void)createPaymentMethodWithParams:(STPPaymentMethodParams * _Nonnull)paymentMethodParams completion:(void (^ _Nonnull)(STPPaymentMethod * _Nullable, NSError * _Nullable))completion; +/// Creates a Radar Session. +/// note: +/// See https://stripe.com/docs/radar/radar-session +/// note: +/// This API and the guide linked above require special permissions to use. Contact support@stripe.com. +/// note: +/// StripeAPI.advancedFraudSignalsEnabled must be true to use this method. +/// note: +/// See STPRadarSession +/// \param completion The callback to run with the returned STPRadarSession (and any errors that may have occurred). +/// +- (void)createRadarSessionWithCompletion:(void (^ _Nonnull)(STPRadarSession * _Nullable, NSError * _Nullable))completion; +/// Converts a PKPayment object into a Stripe token using the Stripe API. +/// \param payment The user’s encrypted payment information as returned from a PKPaymentAuthorizationController. Cannot be nil. +/// +/// \param completion The callback to run with the returned Stripe token (and any errors that may have occurred). +/// +- (void)createTokenWithPayment:(PKPayment * _Nonnull)payment completion:(void (^ _Nonnull)(STPToken * _Nullable, NSError * _Nullable))completion; +/// Converts a PKPayment object into a Stripe source using the Stripe API. +/// \param payment The user’s encrypted payment information as returned from a PKPaymentAuthorizationController. Cannot be nil. +/// +/// \param completion The callback to run with the returned Stripe source (and any errors that may have occurred). +/// +- (void)createSourceWithPayment:(PKPayment * _Nonnull)payment completion:(void (^ _Nonnull)(STPSource * _Nullable, NSError * _Nullable))completion; +/// Converts a PKPayment object into a Stripe Payment Method using the Stripe API. +/// \param payment The user’s encrypted payment information as returned from a PKPaymentAuthorizationController. Cannot be nil. +/// +/// \param completion The callback to run with the returned Stripe source (and any errors that may have occurred). +/// +- (void)createPaymentMethodWithPayment:(PKPayment * _Nonnull)payment completion:(void (^ _Nonnull)(STPPaymentMethod * _Nullable, NSError * _Nullable))completion; +/// Converts Stripe errors into the appropriate Apple Pay error, for use in PKPaymentAuthorizationResult. +/// If the error can be fixed by the customer within the Apple Pay sheet, we return an NSError that can be displayed in the Apple Pay sheet. +/// Otherwise, the original error is returned, resulting in the Apple Pay sheet being dismissed. You should display the error message to the customer afterwards. +/// Currently, we convert billing address related errors into a PKPaymentError that helpfully points to the billing address field in the Apple Pay sheet. +/// Note that Apple Pay should prevent most card errors (e.g. invalid CVC, expired cards) when you add a card to the wallet. +/// \param stripeError An error from the Stripe SDK. +/// ++ (NSError * _Nullable)pkPaymentErrorForStripeError:(NSError * _Nullable)stripeError SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +/// Libraries wrapping the Stripe SDK should use this object to provide information about the library, and set it +/// in on STPAPIClient. This information is passed to Stripe so that we can contact you about future issues or critical updates. +/// seealso: +/// https://stripe.com/docs/building-plugins#setappinfo +/// :nodoc: +SWIFT_CLASS_NAMED("_stpobjc_STPAppInfo") +@interface STPAppInfo : NSObject +/// Initializes an instance of STPAppInfo. +/// \param name The name of your library (e.g. “MyAwesomeLibrary”). +/// +/// \param partnerId Your Stripe Partner ID (e.g. “pp_partner_1234”). Required for Stripe Verified Partners, optional otherwise. +/// +/// \param version The version of your library (e.g. “1.2.34”). Optional. +/// +/// \param url The website for your library (e.g. “https://myawesomelibrary.info”). Optional. +/// +- (nonnull instancetype)initWithName:(NSString * _Nonnull)name partnerId:(NSString * _Nullable)partnerId version:(NSString * _Nullable)version url:(NSString * _Nullable)url OBJC_DESIGNATED_INITIALIZER; +/// The name of your library (e.g. “MyAwesomeLibrary”). +@property (nonatomic, readonly, copy) NSString * _Nonnull name; +/// Your Stripe Partner ID (e.g. “pp_partner_1234”). +@property (nonatomic, readonly, copy) NSString * _Nullable partnerId; +/// The version of your library (e.g. “1.2.34”). +@property (nonatomic, readonly, copy) NSString * _Nullable version; +/// The website for your library (e.g. “https://myawesomelibrary.info”). +@property (nonatomic, readonly, copy) NSString * _Nullable url; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// :nodoc: +/// Top-level class for Stripe error constants. +SWIFT_CLASS_NAMED("_stpobjc_STPError") +@interface STPError : NSObject +/// All Stripe iOS errors will be under this domain. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull stripeDomain;) ++ (NSString * _Nonnull)stripeDomain SWIFT_WARN_UNUSED_RESULT; +/// A human-readable message providing more details about the error. +/// For card errors, these messages can be shown to your users. +/// seealso: +/// https://stripe.com/docs/api/errors#errors-message +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull errorMessageKey;) ++ (NSString * _Nonnull)errorMessageKey SWIFT_WARN_UNUSED_RESULT; +/// An SDK-supplied “hint” that is intended to help you, the developer, fix the error +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull hintKey;) ++ (NSString * _Nonnull)hintKey SWIFT_WARN_UNUSED_RESULT; +/// What went wrong with your STPCard (e.g., STPInvalidCVC. See below for full list). +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull cardErrorCodeKey;) ++ (NSString * _Nonnull)cardErrorCodeKey SWIFT_WARN_UNUSED_RESULT; +/// Which parameter on the STPCard had an error (e.g., “cvc”). Useful for marking up the +/// right UI element. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull errorParameterKey;) ++ (NSString * _Nonnull)errorParameterKey SWIFT_WARN_UNUSED_RESULT; +/// The error code returned by the Stripe API. +/// seealso: +/// https://stripe.com/docs/api#errors-code +/// seealso: +/// https://stripe.com/docs/error-codes +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull stripeErrorCodeKey;) ++ (NSString * _Nonnull)stripeErrorCodeKey SWIFT_WARN_UNUSED_RESULT; +/// The error type returned by the Stripe API. +/// seealso: +/// https://stripe.com/docs/api#errors-type +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull stripeErrorTypeKey;) ++ (NSString * _Nonnull)stripeErrorTypeKey SWIFT_WARN_UNUSED_RESULT; +/// If the value of userInfo[stripeErrorCodeKey] is STPError.cardDeclined, +/// the value for this key contains the decline code. +/// seealso: +/// https://stripe.com/docs/declines/codes +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull stripeDeclineCodeKey;) ++ (NSString * _Nonnull)stripeDeclineCodeKey SWIFT_WARN_UNUSED_RESULT; +/// The card number is not a valid credit card number. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull invalidNumber;) ++ (NSString * _Nonnull)invalidNumber SWIFT_WARN_UNUSED_RESULT; +/// The card has an invalid expiration month. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull invalidExpMonth;) ++ (NSString * _Nonnull)invalidExpMonth SWIFT_WARN_UNUSED_RESULT; +/// The card has an invalid expiration year. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull invalidExpYear;) ++ (NSString * _Nonnull)invalidExpYear SWIFT_WARN_UNUSED_RESULT; +/// The card has an invalid CVC. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull invalidCVC;) ++ (NSString * _Nonnull)invalidCVC SWIFT_WARN_UNUSED_RESULT; +/// The card number is incorrect. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull incorrectNumber;) ++ (NSString * _Nonnull)incorrectNumber SWIFT_WARN_UNUSED_RESULT; +/// The card is expired. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull expiredCard;) ++ (NSString * _Nonnull)expiredCard SWIFT_WARN_UNUSED_RESULT; +/// The card was declined. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull cardDeclined;) ++ (NSString * _Nonnull)cardDeclined SWIFT_WARN_UNUSED_RESULT; +/// An error occured while processing this card. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull processingError;) ++ (NSString * _Nonnull)processingError SWIFT_WARN_UNUSED_RESULT; +/// The card has an incorrect CVC. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull incorrectCVC;) ++ (NSString * _Nonnull)incorrectCVC SWIFT_WARN_UNUSED_RESULT; +/// The postal code is incorrect. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull incorrectZip;) ++ (NSString * _Nonnull)incorrectZip SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +/// :nodoc: +/// Possible error code values for NSErrors with the StripeDomain domain +typedef SWIFT_ENUM_NAMED(NSInteger, STPErrorCode, "_stpobjc_STPErrorCode", open) { +/// Trouble connecting to Stripe. + STPConnectionError SWIFT_COMPILE_NAME("connectionError") = 40, +/// Your request had invalid parameters. + STPInvalidRequestError SWIFT_COMPILE_NAME("invalidRequestError") = 50, +/// No valid publishable API key provided. + STPAuthenticationError SWIFT_COMPILE_NAME("authenticationError") = 51, +/// General-purpose API error. + STPAPIError SWIFT_COMPILE_NAME("apiError") = 60, +/// Something was wrong with the given card details. + STPCardError SWIFT_COMPILE_NAME("cardError") = 70, +/// The operation was cancelled. + STPCancellationError SWIFT_COMPILE_NAME("cancellationError") = 80, +/// The ephemeral key could not be decoded. Make sure your backend is sending +/// the unmodified JSON of the ephemeral key to your app. +/// https://stripe.com/docs/mobile/ios/standard#prepare-your-api + STPEphemeralKeyDecodingError SWIFT_COMPILE_NAME("ephemeralKeyDecodingError") = 1000, +}; + + +/// A top-level class that imports the rest of the Stripe SDK. +/// :nodoc: +SWIFT_CLASS_NAMED("_stpobjc_StripeAPI") +@interface StripeAPI : NSObject +/// Set this to your Stripe publishable API key, obtained from https://dashboard.stripe.com/apikeys. +/// Set this as early as possible in your application’s lifecycle, preferably in your AppDelegate or SceneDelegate. +/// New instances of STPAPIClient will be initialized with this value. +/// @warning Make sure not to ship your test API keys to the App Store! This will log a warning if you use your test key in a release build. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, copy) NSString * _Nullable defaultPublishableKey;) ++ (NSString * _Nullable)defaultPublishableKey SWIFT_WARN_UNUSED_RESULT; ++ (void)setDefaultPublishableKey:(NSString * _Nullable)newValue; +/// A Boolean value that determines whether additional device data is sent to Stripe for fraud prevention. +/// If YES, additional device signals will be sent to Stripe. +/// For more details on the information we collect, visit https://stripe.com/docs/disputes/prevention/advanced-fraud-detection +/// Disabling this setting will reduce Stripe’s ability to protect your business from fraudulent payments. +/// The default value is YES. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL advancedFraudSignalsEnabled;) ++ (BOOL)advancedFraudSignalsEnabled SWIFT_WARN_UNUSED_RESULT; ++ (void)setAdvancedFraudSignalsEnabled:(BOOL)newValue; +/// If the SDK receives a “Too Many Requests” (429) status code from Stripe, +/// it will automatically retry the request. +/// The default value is 3. +/// See https://stripe.com/docs/rate-limits for more information. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class) NSInteger maxRetries;) ++ (NSInteger)maxRetries SWIFT_WARN_UNUSED_RESULT; ++ (void)setMaxRetries:(NSInteger)newValue; +/// Call this method in your app delegate whenever you receive an URL in your +/// app delegate for a Stripe callback. +/// For convenience, you can pass all URL’s you receive in your app delegate +/// to this method first, and check the return value +/// to easily determine whether it is a callback URL that Stripe will handle +/// or if your app should process it normally. +/// If you are using a universal link URL, you will receive the callback in application:continueUserActivity:restorationHandler: +/// To learn more about universal links, see https://developer.apple.com/library/content/documentation/General/Conceptual/AppSearch/UniversalLinks.html +/// If you are using a native scheme URL, you will receive the callback in application:openURL:options: +/// To learn more about native url schemes, see https://developer.apple.com/library/content/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/Inter-AppCommunication/Inter-AppCommunication.html#//apple_ref/doc/uid/TP40007072-CH6-SW10 +/// \param url The URL that you received in your app delegate +/// +/// +/// returns: +/// YES if the URL is expected and will be handled by Stripe. NO otherwise. ++ (BOOL)handleStripeURLCallbackWithURL:(NSURL * _Nonnull)url; +/// Japanese users can enable JCB for Apple Pay by setting this to YES, after they have been approved by JCB. +/// The default value is NO. +/// @note JCB is only supported on iOS 10.1+ +SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL jcbPaymentNetworkSupported;) ++ (BOOL)jcbPaymentNetworkSupported SWIFT_WARN_UNUSED_RESULT; ++ (void)setJcbPaymentNetworkSupported:(BOOL)newValue; +/// The SDK accepts Amex, Mastercard, Visa, and Discover for Apple Pay. +/// Set this property to enable other card networks in addition to these. +/// For example, additionalEnabledApplePayNetworks = [.JCB] enables JCB (note this requires onboarding from JCB and Stripe). +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, copy) NSArray * _Nonnull additionalEnabledApplePayNetworks;) ++ (NSArray * _Nonnull)additionalEnabledApplePayNetworks SWIFT_WARN_UNUSED_RESULT; ++ (void)setAdditionalEnabledApplePayNetworks:(NSArray * _Nonnull)newValue; +/// Whether or not this device is capable of using Apple Pay. This checks both +/// whether the device supports Apple Pay, as well as whether or not they have +/// stored Apple Pay cards on their device. +/// \param paymentRequest The return value of this method depends on the +/// supportedNetworks property of this payment request, which by default should be +/// [.amex, .masterCard, .visa, .discover]. +/// +/// +/// returns: +/// whether or not the user is currently able to pay with Apple Pay. ++ (BOOL)canSubmitPaymentRequest:(PKPaymentRequest * _Nonnull)paymentRequest SWIFT_WARN_UNUSED_RESULT; +/// Whether or not this can make Apple Pay payments via a card network supported +/// by Stripe. +/// The Stripe supported Apple Pay card networks are: +/// American Express, Visa, Mastercard, Discover, Maestro. +/// Japanese users can enable JCB by setting JCBPaymentNetworkSupported to YES, +/// after they have been approved by JCB. +/// +/// returns: +/// YES if the device is currently able to make Apple Pay payments via one +/// of the supported networks. NO if the user does not have a saved card of a +/// supported type, or other restrictions prevent payment (such as parental controls). ++ (BOOL)deviceSupportsApplePay SWIFT_WARN_UNUSED_RESULT; +/// A convenience method to build a PKPaymentRequest with sane default values. +/// You will still need to configure the paymentSummaryItems property to indicate +/// what the user is purchasing, as well as the optional requiredShippingAddressFields, +/// requiredBillingAddressFields, and shippingMethods properties to indicate +/// what contact information your application requires. +/// Note that this method sets the payment request’s countryCode to “US” and its +/// currencyCode to “USD”. +/// \param merchantIdentifier Your Apple Merchant ID. +/// +/// +/// returns: +/// a PKPaymentRequest with proper default values. Returns nil if running on < iOS8. +/// @deprecated Use paymentRequestWithMerchantIdentifier:country:currency: instead. +/// Apple Pay is available in many countries and currencies, and you should use +/// the appropriate values for your business. ++ (PKPaymentRequest * _Nonnull)paymentRequestWithMerchantIdentifier:(NSString * _Nonnull)merchantIdentifier SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("Use `paymentRequestWithMerchantIdentifier:country:currency:` instead."); +/// A convenience method to build a PKPaymentRequest with sane default values. +/// You will still need to configure the paymentSummaryItems property to indicate +/// what the user is purchasing, as well as the optional requiredShippingContactFields, +/// requiredBillingContactFields, and shippingMethods properties to indicate +/// what additional contact information your application requires. +/// \param merchantIdentifier Your Apple Merchant ID. +/// +/// \param countryCode The two-letter code for the country where the payment +/// will be processed. This should be the country of your Stripe account. +/// +/// \param currencyCode The three-letter code for the currency used by this +/// payment request. Apple Pay interprets the amounts provided by the summary items +/// attached to this request as amounts in this currency. +/// +/// +/// returns: +/// a PKPaymentRequest with proper default values. ++ (PKPaymentRequest * _Nonnull)paymentRequestWithMerchantIdentifier:(NSString * _Nonnull)merchantIdentifier country:(NSString * _Nonnull)countryCode currency:(NSString * _Nonnull)currencyCode SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/Headers/Stripe-umbrella.h b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/Headers/Stripe-umbrella.h new file mode 100644 index 0000000..b062ed0 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/Headers/Stripe-umbrella.h @@ -0,0 +1,11 @@ +// +// Stripe-umbrella.h +// StripeiOS +// +// Copyright © 2020 Stripe, Inc. All rights reserved. +// + +#ifndef Stripe_umbrella_h +#define Stripe_umbrella_h + +#endif /* Stripe_umbrella_h */ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/Info.plist b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/Info.plist new file mode 100644 index 0000000..4ee3abf Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/Info.plist differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/Modules/Stripe.swiftmodule/arm64-apple-ios.swiftdoc b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/Modules/Stripe.swiftmodule/arm64-apple-ios.swiftdoc new file mode 100644 index 0000000..cd4becd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/Modules/Stripe.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/Modules/Stripe.swiftmodule/arm64-apple-ios.swiftinterface b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/Modules/Stripe.swiftmodule/arm64-apple-ios.swiftinterface new file mode 100644 index 0000000..05c4efe --- /dev/null +++ b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/Modules/Stripe.swiftmodule/arm64-apple-ios.swiftinterface @@ -0,0 +1,4764 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name Stripe +import AVFoundation +import CommonCrypto +import Contacts +import CoreLocation +import Foundation +import ObjectiveC +import PassKit +import SafariServices +import Security +@_exported import Stripe +import Stripe3DS2 +@_exported import StripeApplePay +@_exported import StripeCore +import StripeUICore +import Swift +import SwiftUI +import UIKit +import Vision +extension STPAPIClient { + public var configuration: Stripe.STPPaymentConfiguration { + get + set + } + @available(*, deprecated, message: "This initializer previously configured publishableKey and stripeAccount via the STPPaymentConfiguration instance. This behavior is deprecated; set the STPAPIClient configuration, publishableKey, and stripeAccount properties directly on the STPAPIClient instead.") + convenience public init(configuration: Stripe.STPPaymentConfiguration) +} +extension STPAPIClient { + public func createToken(withBankAccount bankAccount: Stripe.STPBankAccountParams, completion: @escaping Stripe.STPTokenCompletionBlock) +} +extension STPAPIClient { + public func createToken(withPersonalIDNumber pii: Swift.String, completion: Stripe.STPTokenCompletionBlock?) + public func createToken(withSSNLast4 ssnLast4: Swift.String, completion: @escaping Stripe.STPTokenCompletionBlock) +} +extension STPAPIClient { + public func createToken(withConnectAccount account: Stripe.STPConnectAccountParams, completion: Stripe.STPTokenCompletionBlock?) +} +extension STPAPIClient { + public func uploadImage(_ image: UIKit.UIImage, purpose: Stripe.STPFilePurpose, completion: Stripe.STPFileCompletionBlock?) +} +extension STPAPIClient { + public func createToken(withCard cardParams: Stripe.STPCardParams, completion: @escaping Stripe.STPTokenCompletionBlock) + public func createToken(forCVCUpdate cvc: Swift.String, completion: Stripe.STPTokenCompletionBlock? = nil) +} +extension STPAPIClient { + public func createSource(with sourceParams: Stripe.STPSourceParams, completion: @escaping Stripe.STPSourceCompletionBlock) + public func retrieveSource(withId identifier: Swift.String, clientSecret secret: Swift.String, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public func startPollingSource(withId identifier: Swift.String, clientSecret secret: Swift.String, timeout: Foundation.TimeInterval, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public func stopPollingSource(withId identifier: Swift.String) +} +extension STPAPIClient { + public func retrievePaymentIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + public func retrievePaymentIntent(withClientSecret secret: Swift.String, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) +} +extension STPAPIClient { + public func retrieveSetupIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPSetupIntentCompletionBlock) + public func confirmSetupIntent(with setupIntentParams: Stripe.STPSetupIntentConfirmParams, completion: @escaping Stripe.STPSetupIntentCompletionBlock) +} +extension STPAPIClient { + public func createPaymentMethod(with paymentMethodParams: Stripe.STPPaymentMethodParams, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSLabelCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSLabelCustomization + @objc public var headingFont: UIKit.UIFont { + @objc get + @objc set(headingFont) + } + @objc public var headingTextColor: UIKit.UIColor { + @objc get + @objc set(headingTextColor) + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set(textColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodUPI : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var vpa: Swift.String { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPSourceVerificationStatus : Swift.Int { + case pending + case succeeded + case failed + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceVerification : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var attemptsRemaining: Foundation.NSNumber? { + get + } + @objc public var status: Stripe.STPSourceVerificationStatus { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodOXXO : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public enum STPBankSelectionMethod : Swift.Int { + case FPX + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPBankSelectionViewController : Stripe.STPCoreTableViewController, UIKit.UITableViewDataSource, UIKit.UITableViewDelegate { + @objc convenience public init(bankMethod: Stripe.STPBankSelectionMethod) + @objc convenience required public init(theme: Stripe.STPTheme?) + @objc public init(bankMethod: Stripe.STPBankSelectionMethod, configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc weak public var delegate: Stripe.STPBankSelectionViewControllerDelegate? + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc deinit + @objc public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell + @objc public func tableView(_ tableView: UIKit.UITableView, willDisplay cell: UIKit.UITableViewCell, forRowAt indexPath: Foundation.IndexPath) + @objc public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc public func tableView(_ tableView: UIKit.UITableView, shouldHighlightRowAt indexPath: Foundation.IndexPath) -> Swift.Bool + @objc public func tableView(_ tableView: UIKit.UITableView, didSelectRowAt indexPath: Foundation.IndexPath) +} +@objc public protocol STPBankSelectionViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc(bankSelectionViewController:didCreatePaymentMethodParams:) func bankSelectionViewController(_ bankViewController: Stripe.STPBankSelectionViewController, didCreatePaymentMethodParams paymentMethodParams: Stripe.STPPaymentMethodParams) +} +@objc @_inheritsConvenienceInitializers public class STPSetupIntentConfirmParams : ObjectiveC.NSObject, Foundation.NSCopying, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(clientSecret: Swift.String) + @objc public var clientSecret: Swift.String + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? + @objc public var paymentMethodID: Swift.String? + @objc public var returnURL: Swift.String? + @objc public var useStripeSDK: Foundation.NSNumber? + @objc public var mandateData: Stripe.STPMandateDataParams? { + @objc get + @objc set(newMandateData) + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSUICustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSUICustomization + @objc public var navigationBarCustomization: Stripe.STPThreeDSNavigationBarCustomization { + @objc get + @objc set(navigationBarCustomization) + } + @objc public var labelCustomization: Stripe.STPThreeDSLabelCustomization { + @objc get + @objc set(labelCustomization) + } + @objc public var textFieldCustomization: Stripe.STPThreeDSTextFieldCustomization { + @objc get + @objc set(textFieldCustomization) + } + @objc public var backgroundColor: UIKit.UIColor { + @objc get + @objc set(backgroundColor) + } + @objc public var footerCustomization: Stripe.STPThreeDSFooterCustomization { + @objc get + @objc set(footerCustomization) + } + @objc(setButtonCustomization:forType:) public func setButtonCustomization(_ buttonCustomization: Stripe.STPThreeDSButtonCustomization, for buttonType: Stripe.STPThreeDSCustomizationButtonType) + @objc(buttonCustomizationForButtonType:) public func buttonCustomization(for buttonType: Stripe.STPThreeDSCustomizationButtonType) -> Stripe.STPThreeDSButtonCustomization + @objc public var selectionCustomization: Stripe.STPThreeDSSelectionCustomization { + @objc get + @objc set(selectionCustomization) + } + @objc public var activityIndicatorViewStyle: UIKit.UIActivityIndicatorView.Style { + @objc get + @objc set(activityIndicatorViewStyle) + } + @objc public var blurStyle: UIKit.UIBlurEffect.Style { + @objc get + @objc set(blurStyle) + } + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceWeChatPayDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var weChatAppURL: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@_inheritsConvenienceInitializers @available(swift, obsoleted: 0.0.1, message: "Use 'StripeAPI' instead.") +@objc(StripeAPI) public class _stpobjc_StripeAPI : ObjectiveC.NSObject { + @objc public static var defaultPublishableKey: Swift.String? { + @objc get + @objc set + } + @objc public static var advancedFraudSignalsEnabled: Swift.Bool { + @objc get + @objc set + } + @objc public static var maxRetries: Swift.Int { + @objc get + @objc set + } + @discardableResult + @objc(handleStripeURLCallbackWithURL:) public static func handleURLCallback(with url: Foundation.URL) -> Swift.Bool + @objc public class var jcbPaymentNetworkSupported: Swift.Bool { + @objc get + @objc set + } + @objc public static var additionalEnabledApplePayNetworks: [PassKit.PKPaymentNetwork] { + @objc get + @objc set + } + @objc public class func canSubmitPaymentRequest(_ paymentRequest: PassKit.PKPaymentRequest) -> Swift.Bool + @objc dynamic public class func deviceSupportsApplePay() -> Swift.Bool + @available(*, deprecated, message: "Use `paymentRequestWithMerchantIdentifier:country:currency:` instead.") + @objc public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String) -> PassKit.PKPaymentRequest + @objc public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String, country countryCode: Swift.String, currency currencyCode: Swift.String) -> PassKit.PKPaymentRequest + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPBankAccountHolderType : Swift.Int { + case individual + case company + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPBankAccountParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var accountNumber: Swift.String? + @objc public var last4: Swift.String? { + @objc get + } + @objc public var routingNumber: Swift.String? + @objc public var country: Swift.String? + @objc public var currency: Swift.String? + @objc public var accountHolderName: Swift.String? + @objc public var accountHolderType: Stripe.STPBankAccountHolderType + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public init() + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit +} +@objc public class STPMandateOnlineParams : ObjectiveC.NSObject { + @objc final public let ipAddress: Swift.String + @objc final public let userAgent: Swift.String + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc(initWithIPAddress:userAgent:) public init(ipAddress: Swift.String, userAgent: Swift.String) + @objc override dynamic public init() + @objc deinit +} +extension STPMandateOnlineParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPSetupIntentStatus : Swift.Int { + case unknown + case requiresPaymentMethod + case requiresConfirmation + case requiresAction + case processing + case succeeded + case canceled + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPSetupIntentUsage : Swift.Int { + case unknown + case none + case onSession + case offSession + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionAlipayHandleRedirect : ObjectiveC.NSObject { + @objc final public let nativeURL: Foundation.URL? + @objc final public let returnURL: Foundation.URL + @objc final public let url: Foundation.URL + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPIntentActionAlipayHandleRedirect : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_hasMissingDesignatedInitializers open class STPCustomerContext : ObjectiveC.NSObject, Stripe.STPBackendAPIAdapter { + @objc(initWithKeyProvider:) convenience public init(keyProvider: Stripe.STPCustomerEphemeralKeyProvider) + convenience public init(keyProvider: Stripe.STPCustomerEphemeralKeyProvider?, apiClient: StripeCore.STPAPIClient) + @available(swift, deprecated: 0.0.1, renamed: "init(keyProvider:apiClient:)") + @objc(initWithKeyProvider:apiClient:) convenience public init(keyProvider: Stripe.STPCustomerEphemeralKeyProvider?, apiClient: Stripe._stpobjc_STPAPIClient) + @objc public func clearCache() + @objc public var includeApplePayPaymentMethods: Swift.Bool { + @objc get + @objc set(includeApplePayMethods) + } + @objc public func retrieveCustomer(_ completion: Stripe.STPCustomerCompletionBlock? = nil) + @objc public func updateCustomer(withShippingAddress shipping: Stripe.STPAddress, completion: Stripe.STPErrorBlock?) + @objc public func attachPaymentMethodToCustomer(paymentMethodId: Swift.String, completion: Stripe.STPErrorBlock?) + @objc public func attachPaymentMethod(toCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc public func detachPaymentMethodFromCustomer(paymentMethodId: Swift.String, completion: Stripe.STPErrorBlock?) + @objc public func detachPaymentMethod(fromCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc public func listPaymentMethodsForCustomer(completion: Stripe.STPPaymentMethodsCompletionBlock? = nil) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodLinkParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodEPS : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPConnectAccountBusinessType : Swift.Int { + case individual + case company + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public class STPConnectAccountParams : ObjectiveC.NSObject { + @objc final public let tosShownAndAccepted: Foundation.NSNumber? + @objc final public let businessType: Stripe.STPConnectAccountBusinessType + @objc final public let individual: Stripe.STPConnectAccountIndividualParams? + @objc final public let company: Stripe.STPConnectAccountCompanyParams? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init?(tosShownAndAccepted wasAccepted: Swift.Bool, individual: Stripe.STPConnectAccountIndividualParams) + @objc public init?(tosShownAndAccepted wasAccepted: Swift.Bool, company: Stripe.STPConnectAccountCompanyParams) + @objc public init(individual: Stripe.STPConnectAccountIndividualParams) + @objc public init(company: Stripe.STPConnectAccountCompanyParams) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountParams : Stripe.STPFormEncodable { + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodFPX : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var bankIdentifierCode: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPCoreTableViewController : Stripe.STPCoreScrollViewController { + @objc public var tableView: UIKit.UITableView? { + @objc get + } + @objc override dynamic public func viewWillAppear(_ animated: Swift.Bool) + @objc public func tableView(_ tableView: UIKit.UITableView, heightForHeaderInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc required public init(theme: Stripe.STPTheme?) + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc deinit +} +@objc public enum STPShippingType : Swift.Int { + case shipping + case delivery + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPShippingStatus : Swift.Int { + case valid + case invalid + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentStatus : Swift.Int { + case success + case error + case userCancellation + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPErrorBlock = (Swift.Error?) -> Swift.Void +public typealias STPBooleanSuccessBlock = (Swift.Bool, Swift.Error?) -> Swift.Void +public typealias STPJSONResponseCompletionBlock = ([Swift.AnyHashable : Any]?, Swift.Error?) -> Swift.Void +public typealias STPTokenCompletionBlock = (Stripe.STPToken?, Swift.Error?) -> Swift.Void +public typealias STPSourceCompletionBlock = (Stripe.STPSource?, Swift.Error?) -> Swift.Void +public typealias STPSourceProtocolCompletionBlock = (Stripe.STPSourceProtocol?, Swift.Error?) -> Swift.Void +public typealias STPPaymentIntentCompletionBlock = (Stripe.STPPaymentIntent?, Swift.Error?) -> Swift.Void +public typealias STPSetupIntentCompletionBlock = (Stripe.STPSetupIntent?, Swift.Error?) -> Swift.Void +public typealias STPPaymentMethodCompletionBlock = (Stripe.STPPaymentMethod?, Swift.Error?) -> Swift.Void +public typealias STPPaymentMethodsCompletionBlock = ([Stripe.STPPaymentMethod]?, Swift.Error?) -> Swift.Void +public typealias STPShippingMethodsCompletionBlock = (Stripe.STPShippingStatus, Swift.Error?, [PassKit.PKShippingMethod]?, PassKit.PKShippingMethod?) -> Swift.Void +public typealias STPFileCompletionBlock = (Stripe.STPFile?, Swift.Error?) -> Swift.Void +public typealias STPCustomerCompletionBlock = (Stripe.STPCustomer?, Swift.Error?) -> Swift.Void +@objc public enum STPPinStatus : Swift.Int { + case success + case errorVerificationAlreadyRedeemed + case errorVerificationCodeIncorrect + case errorVerificationExpired + case errorVerificationTooManyAttempts + case ephemeralKeyError + case unknownError + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPPinCompletionBlock = (Stripe.STPIssuingCardPin?, Stripe.STPPinStatus, Swift.Error?) -> Swift.Void +public typealias STPPaymentStatusBlock = (Stripe.STPPaymentStatus, Swift.Error?) -> Swift.Void +public typealias STPRadarSessionCompletionBlock = (Stripe.STPRadarSession?, Swift.Error?) -> Swift.Void +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceKlarnaDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var clientToken: Swift.String? { + get + } + @objc public var purchaseCountry: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public class STPConfirmBLIKOptions : ObjectiveC.NSObject { + @objc public var code: Swift.String + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc required public init(code: Swift.String) + @objc deinit + @objc override dynamic public init() +} +extension STPConfirmBLIKOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPRedirectContextError : Swift.Int { + @objc(STPRedirectContextAppRedirectError) case appRedirectError + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPRedirectContextState : Swift.Int { + case notStarted + case inProgress + case cancelled + case completed + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPRedirectContextSourceCompletionBlock = (Swift.String, Swift.String?, Swift.Error?) -> Swift.Void +public typealias STPRedirectContextCompletionBlock = Stripe.STPRedirectContextSourceCompletionBlock +public typealias STPRedirectContextPaymentIntentCompletionBlock = (Swift.String, Swift.Error?) -> Swift.Void +@objc @_hasMissingDesignatedInitializers @available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +public class STPRedirectContext : ObjectiveC.NSObject, SafariServices.SFSafariViewControllerDelegate, UIKit.UIViewControllerTransitioningDelegate { + @objc public static let STPRedirectContextErrorDomain: Swift.String + @objc public var state: Stripe.STPRedirectContextState { + get + } + @objc convenience public init?(source: Stripe.STPSource, completion: @escaping Stripe.STPRedirectContextSourceCompletionBlock) + @objc convenience public init?(paymentIntent: Stripe.STPPaymentIntent, completion: @escaping Stripe.STPRedirectContextPaymentIntentCompletionBlock) + @objc(startRedirectFlowFromViewController:) public func startRedirectFlow(from presentingViewController: UIKit.UIViewController) + @objc(startSafariViewControllerRedirectFlowFromViewController:) dynamic public func startSafariViewControllerRedirectFlow(from presentingViewController: UIKit.UIViewController) + @objc public func startSafariAppRedirectFlow() + @objc public func cancel() + @objc deinit + @objc public func safariViewControllerDidFinish(_ controller: SafariServices.SFSafariViewController) + @objc public func safariViewController(_ controller: SafariServices.SFSafariViewController, didCompleteInitialLoad didLoadSuccessfully: Swift.Bool) + @objc public func safariViewController(_ controller: SafariServices.SFSafariViewController, initialLoadDidRedirectTo URL: Foundation.URL) + @objc public func presentationController(forPresented presented: UIKit.UIViewController, presenting: UIKit.UIViewController?, source: UIKit.UIViewController) -> UIKit.UIPresentationController? + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers final public class STPRadarSession : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let id: Swift.String + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc public static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Stripe.STPRadarSession? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPKlarnaLineItemType : Swift.Int { + case SKU + case tax + case shipping + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public class STPKlarnaLineItem : ObjectiveC.NSObject { + @objc public var itemType: Stripe.STPKlarnaLineItemType + @objc public var itemDescription: Swift.String + @objc public var quantity: Foundation.NSNumber + @objc public var totalAmount: Foundation.NSNumber + @objc public init(itemType: Stripe.STPKlarnaLineItemType, itemDescription: Swift.String, quantity: Foundation.NSNumber, totalAmount: Foundation.NSNumber) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodOXXOParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @IBDesignable open class STPPaymentCardTextField : UIKit.UIControl, UIKit.UIKeyInput { + @objc open func textField(_ textField: UIKit.UITextField, shouldChangeCharactersIn range: Foundation.NSRange, replacementString string: Swift.String) -> Swift.Bool + @objc @IBOutlet weak open var delegate: Stripe.STPPaymentCardTextFieldDelegate? + @objc open var font: UIKit.UIFont { + @objc get + @objc set + } + @objc open var textColor: UIKit.UIColor { + @objc get + @objc set + } + @objc open var textErrorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc open var placeholderColor: UIKit.UIColor { + @objc get + @objc set + } + @objc @IBInspectable open var numberPlaceholder: Swift.String? { + @objc get + @objc set(numberPlaceholder) + } + @objc @IBInspectable open var expirationPlaceholder: Swift.String? { + @objc get + @objc set(expirationPlaceholder) + } + @objc @IBInspectable open var cvcPlaceholder: Swift.String? { + @objc get + @objc set(cvcPlaceholder) + } + @objc @IBInspectable open var postalCodePlaceholder: Swift.String? { + @objc get + @objc set(postalCodePlaceholder) + } + @objc open var cursorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc open var borderColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc open var borderWidth: CoreGraphics.CGFloat { + @objc get + @objc set + } + @objc open var cornerRadius: CoreGraphics.CGFloat { + @objc get + @objc set + } + @objc open var keyboardAppearance: UIKit.UIKeyboardAppearance { + @objc get + @objc set + } + @objc override dynamic open var inputView: UIKit.UIView? { + @objc get + @objc set(inputView) + } + @objc override dynamic open var inputAccessoryView: UIKit.UIView? { + @objc get + @objc set(inputAccessoryView) + } + @objc open var brandImage: UIKit.UIImage? { + get + } + @objc dynamic open var isValid: Swift.Bool { + @objc get + } + @objc override dynamic open var isEnabled: Swift.Bool { + @objc get + @objc set(enabled) + } + @objc open var cardNumber: Swift.String? { + @objc get + } + @objc open var expirationMonth: Swift.Int { + @objc get + } + @objc open var formattedExpirationMonth: Swift.String? { + @objc get + } + @objc open var expirationYear: Swift.Int { + @objc get + } + @objc open var formattedExpirationYear: Swift.String? { + @objc get + } + @objc open var cvc: Swift.String? { + @objc get + } + @objc open var postalCode: Swift.String? { + @objc get + @objc set + } + @objc open var postalCodeEntryEnabled: Swift.Bool { + @objc get + @objc set(postalCodeEntryEnabled) + } + @objc open var countryCode: Swift.String? { + @objc get + @objc set(cCode) + } + @objc open var cardParams: Stripe.STPPaymentMethodCardParams { + @objc get + @objc set(callersCardParams) + } + @discardableResult + @objc override dynamic open func becomeFirstResponder() -> Swift.Bool + @discardableResult + @objc override dynamic open func resignFirstResponder() -> Swift.Bool + @objc open func clear() + @objc(cvcImageForCardBrand:) open class func cvcImage(for cardBrand: Stripe.STPCardBrand) -> UIKit.UIImage? + @objc(brandImageForCardBrand:) open class func brandImage(for cardBrand: Stripe.STPCardBrand) -> UIKit.UIImage? + @objc(errorImageForCardBrand:) open class func errorImage(for cardBrand: Stripe.STPCardBrand) -> UIKit.UIImage? + @objc(brandImageRectForBounds:) open func brandImageRect(forBounds bounds: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @objc(fieldsRectForBounds:) open func fieldsRect(forBounds bounds: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc override dynamic open func traitCollectionDidChange(_ previousTraitCollection: UIKit.UITraitCollection?) + @objc override dynamic open var backgroundColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc override dynamic open var contentVerticalAlignment: UIKit.UIControl.ContentVerticalAlignment { + @objc get + @objc set(contentVerticalAlignment) + } + @objc override dynamic open var isFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic open var canBecomeFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic open var canResignFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic open var intrinsicContentSize: CoreGraphics.CGSize { + @objc get + } + @objc override dynamic open func layoutSubviews() + @objc open func textFieldShouldBeginEditing(_ textField: UIKit.UITextField) -> Swift.Bool + @objc open func textFieldDidBeginEditing(_ textField: UIKit.UITextField) + @objc open func textFieldShouldEndEditing(_ textField: UIKit.UITextField) -> Swift.Bool + @objc open func textFieldDidEndEditing(_ textField: UIKit.UITextField) + @objc open func textFieldShouldReturn(_ textField: UIKit.UITextField) -> Swift.Bool + @objc open var hasText: Swift.Bool { + @objc get + } + @objc open func insertText(_ text: Swift.String) + @objc open func deleteBackward() + @objc open class func keyPathsForValuesAffectingIsValid() -> Swift.Set + @objc deinit +} +@objc public protocol STPPaymentCardTextFieldDelegate : ObjectiveC.NSObjectProtocol { + @objc optional func paymentCardTextFieldDidChange(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditing(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldWillEndEditing(forReturn textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditing(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingNumber(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingNumber(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingExpiration(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingExpiration(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingPostalCode(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingPostalCode(_ textField: Stripe.STPPaymentCardTextField) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceSEPADebitDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var last4: Swift.String? { + get + } + @objc public var bankCode: Swift.String? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var mandateReference: Swift.String? { + get + } + @objc public var mandateURL: Foundation.URL? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBacsDebitParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var accountNumber: Swift.String? + @objc public var sortCode: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodiDEALParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var bankName: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPAPIResponseDecodable : ObjectiveC.NSObjectProtocol { + @objc static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc var allResponseFields: [Swift.AnyHashable : Any] { get } +} +extension STPAPIClient { + public func createToken(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPTokenCompletionBlock) + public func createSource(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPSourceCompletionBlock) + public func createPaymentMethod(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) +} +@objc @_inheritsConvenienceInitializers public class STPPaymentIntentParams : ObjectiveC.NSObject { + @objc public init(clientSecret: Swift.String) + @objc public var stripeId: Swift.String? { + @objc get + } + @objc public var clientSecret: Swift.String + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? + @objc public var paymentMethodId: Swift.String? + @objc public var sourceParams: Stripe.STPSourceParams? + @objc public var sourceId: Swift.String? + @objc public var receiptEmail: Swift.String? + @objc public var savePaymentMethod: Foundation.NSNumber? + @objc public var returnURL: Swift.String? + public var setupFutureUsage: Stripe.STPPaymentIntentSetupFutureUsage? + @available(swift, obsoleted: 1.0, renamed: "setupFutureUsage") + @objc(setupFutureUsage) public var setupFutureUsage_objc: Foundation.NSNumber? { + @objc get + @objc set + } + @objc public var useStripeSDK: Foundation.NSNumber? + @objc public var mandateData: Stripe.STPMandateDataParams? { + @objc get + @objc set + } + @objc public var paymentMethodOptions: Stripe.STPConfirmPaymentMethodOptions? + @objc public var shipping: Stripe.STPPaymentIntentShippingDetailsParams? + @available(*, deprecated, renamed: "returnURL") + @objc public var returnUrl: Swift.String? { + @objc get + @objc set(returnUrl) + } + @available(*, deprecated, renamed: "savePaymentMethod") + @objc public var saveSourceToCustomer: Foundation.NSNumber? { + @objc get + @objc set(saveSourceToCustomer) + } + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public func configure(with paymentResult: Stripe.STPPaymentResult) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit +} +extension STPPaymentIntentParams : Stripe.STPFormEncodable { + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] +} +extension STPPaymentIntentParams : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodSEPADebit : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var bankCode: Swift.String? { + get + } + @objc public var branchCode: Swift.String? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var mandate: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@_hasMissingDesignatedInitializers @available(swift, deprecated: 0.0.1, renamed: "STPAPIClient") +@objc(STPAPIClient) public class _stpobjc_STPAPIClient : ObjectiveC.NSObject { + @objc public static let STPSDKVersion: Swift.String + @available(swift, deprecated: 0.0.1) + @objc(sharedClient) public static let shared: Stripe._stpobjc_STPAPIClient + @objc public var publishableKey: Swift.String? { + @objc get + @objc set + } + @objc public var configuration: Stripe.STPPaymentConfiguration { + @objc get + @objc set + } + @objc public var stripeAccount: Swift.String? { + @objc get + @objc set + } + @objc public var appInfo: Stripe._stpobjc_STPAppInfo? { + @objc get + @objc set + } + @objc public static let apiVersion: Swift.String + @objc public init(publishableKey: Swift.String) + @available(*, deprecated, message: "This initializer previously configured publishableKey and stripeAccount via the STPPaymentConfiguration instance. This behavior is deprecated; set the STPAPIClient configuration, publishableKey, and stripeAccount properties directly on the STPAPIClient instead.") + @objc public init(configuration: Stripe.STPPaymentConfiguration) + @objc public func createToken(withBankAccount bankAccount: Stripe.STPBankAccountParams, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc public func createToken(withPersonalIDNumber pii: Swift.String, completion: Stripe.STPTokenCompletionBlock?) + @objc public func createToken(withSSNLast4 ssnLast4: Swift.String, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc public func createToken(withConnectAccount account: Stripe.STPConnectAccountParams, completion: Stripe.STPTokenCompletionBlock?) + @objc public func uploadImage(_ image: UIKit.UIImage, purpose: Stripe.STPFilePurpose, completion: Stripe.STPFileCompletionBlock?) + @objc public func createToken(withCard cardParams: Stripe.STPCardParams, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc public func createToken(forCVCUpdate cvc: Swift.String, completion: Stripe.STPTokenCompletionBlock? = nil) + @objc(createSourceWithParams:completion:) public func createSource(with sourceParams: Stripe.STPSourceParams, completion: @escaping Stripe.STPSourceCompletionBlock) + @objc public func retrieveSource(withId identifier: Swift.String, clientSecret secret: Swift.String, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + @objc public func startPollingSource(withId identifier: Swift.String, clientSecret secret: Swift.String, timeout: Foundation.TimeInterval, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + @objc public func stopPollingSource(withId identifier: Swift.String) + @objc public func retrievePaymentIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc public func retrievePaymentIntent(withClientSecret secret: Swift.String, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc(confirmPaymentIntentWithParams:completion:) dynamic public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc(confirmPaymentIntentWithParams:expand:completion:) public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc public func retrieveSetupIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPSetupIntentCompletionBlock) + @objc(confirmSetupIntentWithParams:completion:) dynamic public func confirmSetupIntent(with setupIntentParams: Stripe.STPSetupIntentConfirmParams, completion: @escaping Stripe.STPSetupIntentCompletionBlock) + @objc(createPaymentMethodWithParams:completion:) public func createPaymentMethod(with paymentMethodParams: Stripe.STPPaymentMethodParams, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) + @objc public func createRadarSession(completion: @escaping Stripe.STPRadarSessionCompletionBlock) + @objc(createTokenWithPayment:completion:) public func createToken(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc(createSourceWithPayment:completion:) public func createSource(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPSourceCompletionBlock) + @objc(createPaymentMethodWithPayment:completion:) public func createPaymentMethod(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) + @objc public class func pkPaymentError(forStripeError stripeError: Swift.Error?) -> Swift.Error? + @objc override dynamic public init() + @objc deinit +} +@objc(STPPaymentContext) public class STPPaymentContext : ObjectiveC.NSObject, Stripe.STPAuthenticationContext, Stripe.STPPaymentOptionsViewControllerDelegate, Stripe.STPShippingAddressViewControllerDelegate { + @objc convenience public init(customerContext: Stripe.STPCustomerContext) + @objc convenience public init(customerContext: Stripe.STPCustomerContext, configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc convenience public init(apiAdapter: Stripe.STPBackendAPIAdapter) + @objc public init(apiAdapter: Stripe.STPBackendAPIAdapter, configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc public var apiAdapter: Stripe.STPBackendAPIAdapter { + get + } + @objc public var configuration: Stripe.STPPaymentConfiguration { + get + } + @objc public var theme: Stripe.STPTheme { + get + } + @objc public var prefilledInformation: Stripe.STPUserInformation? { + @objc get + @objc set(prefilledInformation) + } + @objc weak public var hostViewController: UIKit.UIViewController? { + @objc get + @objc set(hostViewController) + } + @objc weak public var delegate: Stripe.STPPaymentContextDelegate? { + @objc get + @objc set(delegate) + } + @objc public var loading: Swift.Bool { + @objc get + } + @objc public var defaultPaymentMethod: Swift.String? + @objc public var selectedPaymentOption: Stripe.STPPaymentOption? { + @objc get + } + @objc public var paymentOptions: [Stripe.STPPaymentOption]? { + @objc get + } + @objc public var selectedShippingMethod: PassKit.PKShippingMethod? { + get + } + @objc public var shippingMethods: [PassKit.PKShippingMethod]? { + @objc get + } + @objc public var shippingAddress: Stripe.STPAddress? { + get + } + @objc public var paymentAmount: Swift.Int { + @objc get + @objc set(paymentAmount) + } + @objc public var paymentCurrency: Swift.String + @objc public var paymentCountry: Swift.String + @objc public var paymentSummaryItems: [PassKit.PKPaymentSummaryItem] { + @objc get + @objc set(paymentSummaryItems) + } + @objc public var modalPresentationStyle: UIKit.UIModalPresentationStyle + @objc public var largeTitleDisplayMode: UIKit.UINavigationItem.LargeTitleDisplayMode + @objc public var paymentOptionsViewControllerFooterView: UIKit.UIView? + @objc public var addCardViewControllerFooterView: UIKit.UIView? + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public func retryLoading() + @objc public func presentPaymentOptionsViewController() + @objc public func pushPaymentOptionsViewController() + @objc public func presentShippingViewController() + @objc public func pushShippingViewController() + @objc public func requestPayment() + @objc public func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didSelect paymentOption: Stripe.STPPaymentOption) + @objc public func paymentOptionsViewControllerDidFinish(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc public func paymentOptionsViewControllerDidCancel(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc public func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didFailToLoadWithError error: Swift.Error) + @objc public func shippingAddressViewControllerDidCancel(_ addressViewController: Stripe.STPShippingAddressViewController) + @objc public func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didEnter address: Stripe.STPAddress, completion: @escaping Stripe.STPShippingMethodsCompletionBlock) + @objc public func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didFinishWith address: Stripe.STPAddress, shippingMethod method: PassKit.PKShippingMethod?) + @objc public func authenticationPresentingViewController() -> UIKit.UIViewController + @objc public func prepare(forPresentation completion: @escaping StripeApplePay.STPVoidBlock) + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPPaymentContextDelegate : ObjectiveC.NSObjectProtocol { + @objc func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didFailToLoadWithError error: Swift.Error) + @objc func paymentContextDidChange(_ paymentContext: Stripe.STPPaymentContext) + @objc func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didCreatePaymentResult paymentResult: Stripe.STPPaymentResult, completion: @escaping Stripe.STPPaymentStatusBlock) + @objc func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didFinishWith status: Stripe.STPPaymentStatus, error: Swift.Error?) + @objc optional func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didUpdateShippingAddress address: Stripe.STPAddress, completion: @escaping Stripe.STPShippingMethodsCompletionBlock) +} +@_hasMissingDesignatedInitializers @objc(STPAppInfo) public class _stpobjc_STPAppInfo : ObjectiveC.NSObject { + @objc public init(name: Swift.String, partnerId: Swift.String?, version: Swift.String?, url: Swift.String?) + @objc public var name: Swift.String { + @objc get + } + @objc public var partnerId: Swift.String? { + @objc get + } + @objc public var version: Swift.String? { + @objc get + } + @objc public var url: Swift.String? { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +@objc public class STPPaymentIntentShippingDetailsParams : ObjectiveC.NSObject { + @objc public var address: Stripe.STPPaymentIntentShippingDetailsAddressParams + @objc public var name: Swift.String + @objc public var carrier: Swift.String? + @objc public var phone: Swift.String? + @objc public var trackingNumber: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(address: Stripe.STPPaymentIntentShippingDetailsAddressParams, name: Swift.String) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetailsParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +extension STPPaymentIntentShippingDetailsParams : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc @_inheritsConvenienceInitializers public class STPConfirmCardOptions : ObjectiveC.NSObject { + @objc public var cvc: Swift.String? + @objc public var network: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPConfirmCardOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, unavailable, renamed: "STPIntentAction", message: "Use `STPIntentAction` instead.") +@objc final public class STPPaymentIntentSourceAction : Stripe.STPIntentAction { + @objc deinit +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension STPPaymentCardTextField { + public struct Representable : SwiftUI.UIViewRepresentable { + public init(paymentMethodParams: SwiftUI.Binding) + public func makeCoordinator() -> Stripe.STPPaymentCardTextField.Representable.Coordinator + public func makeUIView(context: Stripe.STPPaymentCardTextField.Representable.Context) -> Stripe.STPPaymentCardTextField + public func updateUIView(_ paymentCardField: Stripe.STPPaymentCardTextField, context: Stripe.STPPaymentCardTextField.Representable.Context) + @objc @_hasMissingDesignatedInitializers public class Coordinator : ObjectiveC.NSObject, Stripe.STPPaymentCardTextFieldDelegate { + @objc public func paymentCardTextFieldDidChange(_ cardField: Stripe.STPPaymentCardTextField) + @objc deinit + @objc override dynamic public init() + } + public typealias UIViewType = Stripe.STPPaymentCardTextField + public typealias Body = Swift.Never + } +} +@objc public enum STPSourceRedirectStatus : Swift.Int { + case pending + case succeeded + case failed + case notRequired + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPSourceRedirect : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var returnURL: Foundation.URL { + get + } + @objc public var status: Stripe.STPSourceRedirectStatus { + get + } + @objc public var url: Foundation.URL { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSNavigationBarCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSNavigationBarCustomization + @objc public var barTintColor: UIKit.UIColor? { + @objc get + @objc set(barTintColor) + } + @objc public var barStyle: UIKit.UIBarStyle { + @objc get + @objc set(barStyle) + } + @objc public var translucent: Swift.Bool { + @objc get + @objc set(translucent) + } + @objc public var headerText: Swift.String { + @objc get + @objc set(headerText) + } + @objc public var buttonText: Swift.String { + @objc get + @objc set(buttonText) + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set(textColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSource : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPSourceProtocol, Stripe.STPPaymentOption { + @objc public var amount: Foundation.NSNumber? { + get + } + @objc public var clientSecret: Swift.String? { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var currency: Swift.String? { + get + } + @objc public var flow: Stripe.STPSourceFlow { + get + } + @objc public var livemode: Swift.Bool { + get + } + @objc public var owner: Stripe.STPSourceOwner? { + get + } + @objc public var receiver: Stripe.STPSourceReceiver? { + get + } + @objc public var redirect: Stripe.STPSourceRedirect? { + get + } + @objc public var status: Stripe.STPSourceStatus { + get + } + @objc public var type: Stripe.STPSourceType { + get + } + @objc public var usage: Stripe.STPSourceUsage { + get + } + @objc public var verification: Stripe.STPSourceVerification? { + get + } + @objc public var details: [Swift.AnyHashable : Any]? { + get + } + @objc public var cardDetails: Stripe.STPSourceCardDetails? { + get + } + @objc public var klarnaDetails: Stripe.STPSourceKlarnaDetails? { + get + } + @objc public var sepaDebitDetails: Stripe.STPSourceSEPADebitDetails? { + get + } + @objc public var weChatPayDetails: Stripe.STPSourceWeChatPayDetails? { + get + } + @available(*, deprecated, message: "Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @objc public var stripeID: Swift.String + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc deinit +} +@objc public enum STPFilePurpose : Swift.Int { + case identityDocument + case disputeEvidence + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPFile : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var fileId: Swift.String? { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var purpose: Stripe.STPFilePurpose { + get + } + @objc public var size: Foundation.NSNumber? { + get + } + @objc public var type: Swift.String? { + get + } + @objc(stringFromPurpose:) public class func string(from purpose: Stripe.STPFilePurpose) -> Swift.String? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public protocol STPFormTextFieldContainer : ObjectiveC.NSObjectProtocol { + @objc dynamic var formFont: UIKit.UIFont { get set } + @objc dynamic var formTextColor: UIKit.UIColor { get set } + @objc dynamic var formTextErrorColor: UIKit.UIColor { get set } + @objc dynamic var formPlaceholderColor: UIKit.UIColor { get set } + @objc dynamic var formCursorColor: UIKit.UIColor { get set } + @objc dynamic var formKeyboardAppearance: UIKit.UIKeyboardAppearance { get set } +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBoletoParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var taxID: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc public class STPPushProvisioningContext : ObjectiveC.NSObject { + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public class func requestConfiguration(withName name: Swift.String, description: Swift.String?, last4: Swift.String?, brand: Stripe.STPCardBrand) -> PassKit.PKAddPaymentPassRequestConfiguration + @objc public init(keyProvider: Stripe.STPIssuingCardEphemeralKeyProvider) + @objc public func addPaymentPassViewController(_ controller: PassKit.PKAddPaymentPassViewController, generateRequestWithCertificateChain certificates: [Foundation.Data], nonce: Foundation.Data, nonceSignature: Foundation.Data, completionHandler handler: @escaping (PassKit.PKAddPaymentPassRequest) -> Swift.Void) + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPPaymentHandlerActionStatus : Swift.Int { + case succeeded + case canceled + case failed + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentHandlerErrorCode : Swift.Int { + @objc(STPPaymentHandlerUnsupportedAuthenticationErrorCode) case unsupportedAuthenticationErrorCode + @objc(STPPaymentHandlerRequiredAppNotAvailableErrorCode) case requiredAppNotAvailable + @objc(STPPaymentHandlerRequiresPaymentMethodErrorCode) case requiresPaymentMethodErrorCode + @objc(STPPaymentHandlerIntentStatusErrorCode) case intentStatusErrorCode + @objc(STPPaymentHandlerTimedOutErrorCode) case timedOutErrorCode + @objc(STPPaymentHandlerStripe3DS2ErrorCode) case stripe3DS2ErrorCode + @objc(STPPaymentHandlerNotAuthenticatedErrorCode) case notAuthenticatedErrorCode + @objc(STPPaymentHandlerNoConcurrentActionsErrorCode) case noConcurrentActionsErrorCode + @objc(STPPaymentHandlerRequiresAuthenticationContextErrorCode) case requiresAuthenticationContextErrorCode + @objc(STPPaymentHandlerPaymentErrorCode) case paymentErrorCode + @objc(STPPaymentHandlerInvalidClientSecret) case invalidClientSecret + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPPaymentHandlerActionPaymentIntentCompletionBlock = (Stripe.STPPaymentHandlerActionStatus, Stripe.STPPaymentIntent?, Foundation.NSError?) -> Swift.Void +public typealias STPPaymentHandlerActionSetupIntentCompletionBlock = (Stripe.STPPaymentHandlerActionStatus, Stripe.STPSetupIntent?, Foundation.NSError?) -> Swift.Void +@objc @_hasMissingDesignatedInitializers @available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +public class STPPaymentHandler : ObjectiveC.NSObject, SafariServices.SFSafariViewControllerDelegate { + @objc public static let errorDomain: Swift.String + @objc public static let sharedHandler: Stripe.STPPaymentHandler + @objc public class func shared() -> Stripe.STPPaymentHandler + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public var threeDSCustomizationSettings: Stripe.STPThreeDSCustomizationSettings + @objc public var simulateAppToAppRedirect: Swift.Bool { + @objc get + @objc set + } + @objc(confirmPayment:withAuthenticationContext:completion:) public func confirmPayment(_ paymentParams: Stripe.STPPaymentIntentParams, with authenticationContext: Stripe.STPAuthenticationContext, completion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) + @available(*, deprecated, renamed: "confirmPayment(_:with:completion:)", message: "Use confirmPayment(_:with:completion:) instead") + public func confirmPayment(withParams: Stripe.STPPaymentIntentParams, authenticationContext: Stripe.STPAuthenticationContext, completion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) + @objc(handleNextActionForPayment:withAuthenticationContext:returnURL:completion:) public func handleNextAction(forPayment paymentIntentClientSecret: Swift.String, with authenticationContext: Stripe.STPAuthenticationContext, returnURL: Swift.String?, completion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) + @objc(confirmSetupIntent:withAuthenticationContext:completion:) public func confirmSetupIntent(_ setupIntentConfirmParams: Stripe.STPSetupIntentConfirmParams, with authenticationContext: Stripe.STPAuthenticationContext, completion: @escaping Stripe.STPPaymentHandlerActionSetupIntentCompletionBlock) + @objc(handleNextActionForSetupIntent:withAuthenticationContext:returnURL:completion:) public func handleNextAction(forSetupIntent setupIntentClientSecret: Swift.String, with authenticationContext: Stripe.STPAuthenticationContext, returnURL: Swift.String?, completion: @escaping Stripe.STPPaymentHandlerActionSetupIntentCompletionBlock) + @objc public func safariViewControllerDidFinish(_ controller: SafariServices.SFSafariViewController) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSSelectionCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSSelectionCustomization + @objc public var primarySelectedColor: UIKit.UIColor { + @objc get + @objc set(primarySelectedColor) + } + @objc public var secondarySelectedColor: UIKit.UIColor { + @objc get + @objc set(secondarySelectedColor) + } + @objc public var unselectedBackgroundColor: UIKit.UIColor { + @objc get + @objc set(unselectedBackgroundColor) + } + @objc public var unselectedBorderColor: UIKit.UIColor { + @objc get + @objc set(unselectedBorderColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPPaymentMethodType : Swift.Int { + case card + case alipay + case grabPay + @objc(STPPaymentMethodTypeiDEAL) case iDEAL + case FPX + case cardPresent + @objc(STPPaymentMethodTypeSEPADebit) case SEPADebit + @objc(STPPaymentMethodTypeAUBECSDebit) case AUBECSDebit + case bacsDebit + case giropay + case przelewy24 + @objc(STPPaymentMethodTypeEPS) case EPS + case bancontact + case netBanking + @objc(STPPaymentMethodTypeOXXO) case OXXO + case sofort + case UPI + case payPal + case afterpayClearpay + @objc(STPPaymentMethodTypeBLIK) case blik + case weChatPay + case boleto + case link + case klarna + case linkInstantDebit + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPUserInformation : ObjectiveC.NSObject, Foundation.NSCopying { + @objc public var billingAddress: Stripe.STPAddress? + @objc public var shippingAddress: Stripe.STPAddress? + @objc(setBillingAddressWithBillingDetails:) public func setBillingAddress(with billingDetails: Stripe.STPPaymentMethodBillingDetails) + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPFakeAddPaymentPassViewController : UIKit.UIViewController { + @objc public class func canAddPaymentPass() -> Swift.Bool + @objc(initWithRequestConfiguration:delegate:) required public init?(requestConfiguration configuration: PassKit.PKAddPaymentPassRequestConfiguration, delegate: PassKit.PKAddPaymentPassViewControllerDelegate?) + @objc weak public var delegate: PassKit.PKAddPaymentPassViewControllerDelegate? + @objc convenience override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required convenience dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public func viewDidLoad() + @objc deinit +} +@objc public enum STPSourceCard3DSecureStatus : Swift.Int { + case required + case optional + case notSupported + case recommended + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPSourceCardDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var last4: Swift.String? { + get + } + @objc public var expMonth: Swift.UInt { + get + } + @objc public var expYear: Swift.UInt { + get + } + @objc public var brand: Stripe.STPCardBrand { + get + } + @objc public var funding: Stripe.STPCardFundingType { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var threeDSecure: Stripe.STPSourceCard3DSecureStatus { + get + } + @objc public var isApplePayCard: Swift.Bool { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPIssuingCardPin : ObjectiveC.NSObject { + @objc final public let pin: Swift.String? + @objc final public let error: [Swift.AnyHashable : Any]? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc deinit +} +extension STPIssuingCardPin : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodThreeDSecureUsage : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var supported: Swift.Bool { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionBoletoDisplayDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let number: Swift.String + @objc final public let expiresAt: Foundation.Date + @objc final public let hostedVoucherURL: Foundation.URL + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc(_stpinternal_apContextDelegate) public protocol STPApplePayContextDelegate : StripeApplePay._stpinternal_STPApplePayContextDelegateBase { + @objc(applePayContext:didCreatePaymentMethod:paymentInformation:completion:) func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, paymentInformation: PassKit.PKPayment, completion: @escaping StripeApplePay.STPIntentClientSecretCompletionBlock) + @objc(applePayContext:didCompleteWithStatus:error:) func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCompleteWith status: Stripe.STPPaymentStatus, error: Swift.Error?) +} +@objc(STPApplePayContextDelegate) public protocol _stpobjc_APContextDelegate : ObjectiveC.NSObjectProtocol { + @objc(applePayContext:didCreatePaymentMethod:paymentInformation:completion:) func applePayContext(_ context: Stripe._stpobjc_APContext, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, paymentInformation: PassKit.PKPayment, completion: @escaping StripeApplePay.STPIntentClientSecretCompletionBlock) + @objc(applePayContext:didCompleteWithStatus:error:) func applePayContext(_ context: Stripe._stpobjc_APContext, didCompleteWith status: Stripe.STPPaymentStatus, error: Swift.Error?) + @objc(applePayContext:didSelectShippingMethod:handler:) optional func applePayContext(_ context: Stripe._stpobjc_APContext, didSelect shippingMethod: PassKit.PKShippingMethod, handler: @escaping (PassKit.PKPaymentRequestShippingMethodUpdate) -> Swift.Void) + @objc optional func applePayContext(_ context: Stripe._stpobjc_APContext, didSelectShippingContact contact: PassKit.PKContact, handler: @escaping (PassKit.PKPaymentRequestShippingContactUpdate) -> Swift.Void) +} +@_hasMissingDesignatedInitializers @objc(STPApplePayContext) public class _stpobjc_APContext : ObjectiveC.NSObject { + @objc(initWithPaymentRequest:delegate:) required public init?(paymentRequest: PassKit.PKPaymentRequest, delegate: Stripe._stpobjc_APContextDelegate?) + @available(*, deprecated, renamed: "presentApplePay(completion:)", message: "Use `presentApplePay(completion:)` instead.") + @objc(presentApplePayOnViewController:completion:) public func presentApplePay(on viewController: UIKit.UIViewController, completion: StripeApplePay.STPVoidBlock? = nil) + @available(iOSApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + @available(macCatalystApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + @objc(presentApplePayWithCompletion:) public func presentApplePay(completion: StripeApplePay.STPVoidBlock? = nil) + @objc(presentApplePayFromWindow:withCompletion:) public func presentApplePay(from window: UIKit.UIWindow?, completion: StripeApplePay.STPVoidBlock? = nil) + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPCoreViewController : UIKit.UIViewController { + @objc convenience dynamic public init() + @objc required public init(theme: Stripe.STPTheme?) + @objc required override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public func viewDidLoad() + @objc override dynamic public func viewWillAppear(_ animated: Swift.Bool) + @objc override dynamic public func viewWillDisappear(_ animated: Swift.Bool) + @objc override dynamic public var preferredStatusBarStyle: UIKit.UIStatusBarStyle { + @objc get + } + @objc deinit +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension View { + public func paymentConfirmationSheet(isConfirmingPayment: SwiftUI.Binding, paymentIntentParams: Stripe.STPPaymentIntentParams, onCompletion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) -> some SwiftUI.View + + public func setupIntentConfirmationSheet(isConfirmingSetupIntent: SwiftUI.Binding, setupIntentParams: Stripe.STPSetupIntentConfirmParams, onCompletion: @escaping Stripe.STPPaymentHandlerActionSetupIntentCompletionBlock) -> some SwiftUI.View + +} +@objc @_inheritsConvenienceInitializers public class STPPaymentConfiguration : ObjectiveC.NSObject, Foundation.NSCopying { + @objc(sharedConfiguration) public static var shared: Stripe.STPPaymentConfiguration + @objc public var applePayEnabled: Swift.Bool { + @objc get + @objc set + } + @objc public var fpxEnabled: Swift.Bool + @objc public var requiredBillingAddressFields: Stripe.STPBillingAddressFields + @objc public var requiredShippingAddressFields: Swift.Set? + @objc public var verifyPrefilledShippingAddress: Swift.Bool + @objc public var shippingType: Stripe.STPShippingType + @objc public var availableCountries: Swift.Set + @objc public var companyName: Swift.String + @objc public var appleMerchantIdentifier: Swift.String? + @objc public var canDeletePaymentOptions: Swift.Bool + @objc public var cardScanningEnabled: Swift.Bool + @available(*, deprecated, message: "additionalPaymentOptions has been removed. Set applePayEnabled and fpxEnabled on STPPaymentConfiguration instead.") + @objc public var additionalPaymentOptions: Swift.Int + @available(*, deprecated, message: "If you used STPPaymentConfiguration.shared.publishableKey, use STPAPIClient.shared.publishableKey instead. If you passed a STPPaymentConfiguration instance to an SDK component, create an STPAPIClient, set publishableKey on it, and set the SDK component's APIClient property.") + @objc public var publishableKey: Swift.String? { + @objc get + @objc set(publishableKey) + } + @available(*, deprecated, message: "If you used STPPaymentConfiguration.shared.stripeAccount, use STPAPIClient.shared.stripeAccount instead. If you passed a STPPaymentConfiguration instance to an SDK component, create an STPAPIClient, set stripeAccount on it, and set the SDK component's APIClient property.") + @objc public var stripeAccount: Swift.String? { + @objc get + @objc set(stripeAccount) + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodNetBanking : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var bank: Swift.String { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPConfirmPaymentMethodOptions : ObjectiveC.NSObject { + @objc public var cardOptions: Stripe.STPConfirmCardOptions? + @objc public var alipayOptions: Stripe.STPConfirmAlipayOptions? + @objc public var blikOptions: Stripe.STPConfirmBLIKOptions? + @objc public var weChatPayOptions: Stripe.STPConfirmWeChatPayOptions? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPConfirmPaymentMethodOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAddress : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var city: Swift.String? + @objc public var country: Swift.String? + @objc public var line1: Swift.String? + @objc public var line2: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var state: Swift.String? + @objc public init(address: Stripe.STPAddress) + @objc required override dynamic public init() + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceOwner : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var address: Stripe.STPAddress? { + get + } + @objc public var email: Swift.String? { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var phone: Swift.String? { + get + } + @objc public var verifiedAddress: Stripe.STPAddress? { + get + } + @objc public var verifiedEmail: Swift.String? { + get + } + @objc public var verifiedName: Swift.String? { + get + } + @objc public var verifiedPhone: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public protocol STPPaymentOption : ObjectiveC.NSObjectProtocol { + @objc var image: UIKit.UIImage { get } + @objc var templateImage: UIKit.UIImage { get } + @objc var label: Swift.String { get } + @objc var isReusable: Swift.Bool { get } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentActivityIndicatorView : UIKit.UIView { + @objc public func setAnimating(_ animating: Swift.Bool, animated: Swift.Bool) + @objc public var animating: Swift.Bool { + @objc get + @objc set(animating) + } + @objc public var hidesWhenStopped: Swift.Bool { + @objc get + @objc set(hidesWhenStopped) + } + @objc override dynamic public var tintColor: UIKit.UIColor! { + @objc get + @objc set(tintColor) + } + @objc override dynamic public func layoutSubviews() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodEPSParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers final public class STPTheme : ObjectiveC.NSObject { + @objc public static let defaultTheme: Stripe.STPTheme + @available(*, deprecated, renamed: "defaultTheme", message: "Use defaultTheme instead") + public static func `default`() -> Stripe.STPTheme + @objc final public var primaryBackgroundColor: UIKit.UIColor + @objc final public var secondaryBackgroundColor: UIKit.UIColor + @objc final public var tertiaryBackgroundColor: UIKit.UIColor { + @objc get + } + @objc final public var quaternaryBackgroundColor: UIKit.UIColor { + @objc get + } + @objc final public var primaryForegroundColor: UIKit.UIColor + @objc final public var secondaryForegroundColor: UIKit.UIColor + @objc final public var tertiaryForegroundColor: UIKit.UIColor { + @objc get + } + @objc final public var accentColor: UIKit.UIColor + @objc final public var errorColor: UIKit.UIColor + @objc final public var font: UIKit.UIFont { + @objc get + @objc set + } + @objc final public var emphasisFont: UIKit.UIFont { + @objc get + @objc set + } + @objc final public var barStyle: UIKit.UIBarStyle { + @objc get + @objc set + } + @objc final public var translucentNavigationBar: Swift.Bool + @objc final public var smallFont: UIKit.UIFont { + @objc get + } + @objc final public var largeFont: UIKit.UIFont { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPTheme : Foundation.NSCopying { + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc public protocol STPAuthenticationContext : ObjectiveC.NSObjectProtocol { + @objc func authenticationPresentingViewController() -> UIKit.UIViewController + @objc(prepareAuthenticationContextForPresentation:) optional func prepare(forPresentation completion: @escaping StripeApplePay.STPVoidBlock) + @objc optional func configureSafariViewController(_ viewController: SafariServices.SFSafariViewController) + @objc(authenticationContextWillDismissViewController:) optional func authenticationContextWillDismiss(_ viewController: UIKit.UIViewController) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodiDEAL : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var bankName: Swift.String? { + get + } + @objc public var bankIdentifierCode: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public class STPPinManagementService : ObjectiveC.NSObject { + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public init(keyProvider: Stripe.STPIssuingCardEphemeralKeyProvider) + @objc public func retrievePin(_ cardId: Swift.String, verificationId: Swift.String, oneTimeCode: Swift.String, completion: @escaping Stripe.STPPinCompletionBlock) + @objc public func updatePin(_ cardId: Swift.String, newPin: Swift.String, verificationId: Swift.String, oneTimeCode: Swift.String, completion: @escaping Stripe.STPPinCompletionBlock) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPAddCardViewController : Stripe.STPCoreTableViewController, Stripe.STPPaymentCardTextFieldDelegate, UIKit.UITableViewDelegate, UIKit.UITableViewDataSource { + @objc convenience dynamic public init() + @objc(initWithConfiguration:theme:) public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc weak public var delegate: Stripe.STPAddCardViewControllerDelegate? + @objc public var prefilledInformation: Stripe.STPUserInformation? + @objc public var customFooterView: UIKit.UIView? { + @objc get + @objc set(footerView) + } + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public func tableView(_ tableView: UIKit.UITableView, estimatedHeightForRowAt indexPath: Foundation.IndexPath) -> CoreGraphics.CGFloat + @objc override dynamic public func viewDidLayoutSubviews() + @objc public func updateAppearance() + @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool) + @objc public func handleCancelTapped(_ sender: Any?) + @objc public func paymentCardTextFieldDidChange(_ textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldWillEndEditing(forReturn textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldDidBeginEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldDidEndEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldDidBeginEditing(_ textField: Stripe.STPPaymentCardTextField) + @objc public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell + @objc public func tableView(_ tableView: UIKit.UITableView, willDisplay cell: UIKit.UITableViewCell, forRowAt indexPath: Foundation.IndexPath) + @objc public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc override public func tableView(_ tableView: UIKit.UITableView, heightForHeaderInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc public func tableView(_ tableView: UIKit.UITableView, viewForHeaderInSection section: Swift.Int) -> UIKit.UIView? + @objc public func tableView(_ tableView: UIKit.UITableView, viewForFooterInSection section: Swift.Int) -> UIKit.UIView? + @objc override dynamic public func viewWillTransition(to size: CoreGraphics.CGSize, with coordinator: UIKit.UIViewControllerTransitionCoordinator) + @objc deinit +} +@objc public protocol STPAddCardViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc func addCardViewControllerDidCancel(_ addCardViewController: Stripe.STPAddCardViewController) + @objc func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, completion: @escaping Stripe.STPErrorBlock) + @available(*, deprecated, renamed: "addCardViewController(_:didCreatePaymentMethod:completion:)", message: "Use addCardViewController(_:didCreatePaymentMethod:completion:) instead and migrate your integration to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read") + @objc optional func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreateToken token: Stripe.STPToken, completion: (Swift.Error?) -> Swift.Void) + @available(*, deprecated, renamed: "addCardViewController(_:didCreatePaymentMethod:completion:)", message: "Use addCardViewController(_:didCreatePaymentMethod:completion:) instead and migrate your integration to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read") + @objc optional func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreateSource source: Stripe.STPSource, completion: (Swift.Error?) -> Swift.Void) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentOptionsViewController : Stripe.STPCoreViewController, Stripe.STPAddCardViewControllerDelegate { + @objc(initWithPaymentContext:) convenience public init(paymentContext: Stripe.STPPaymentContext) + @objc(initWithConfiguration:theme:customerContext:delegate:) convenience public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme, customerContext: Stripe.STPCustomerContext, delegate: Stripe.STPPaymentOptionsViewControllerDelegate) + @objc(initWithConfiguration:theme:apiAdapter:delegate:) public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme, apiAdapter: Stripe.STPBackendAPIAdapter, delegate: Stripe.STPPaymentOptionsViewControllerDelegate) + @objc public var prefilledInformation: Stripe.STPUserInformation? + @objc public var defaultPaymentMethod: Swift.String? + @objc public var paymentOptionsViewControllerFooterView: UIKit.UIView? + @objc public var addCardViewControllerFooterView: UIKit.UIView? + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc(dismissWithCompletion:) public func dismiss(withCompletion completion: StripeApplePay.STPVoidBlock?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required public init(theme: Stripe.STPTheme?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public func viewDidLayoutSubviews() + @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool) + @objc public func addCardViewControllerDidCancel(_ addCardViewController: Stripe.STPAddCardViewController) + @objc public func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, completion: @escaping Stripe.STPErrorBlock) + @objc deinit +} +@objc public protocol STPPaymentOptionsViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didFailToLoadWithError error: Swift.Error) + @objc func paymentOptionsViewControllerDidFinish(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc func paymentOptionsViewControllerDidCancel(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc(paymentOptionsViewController:didSelectPaymentOption:) optional func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didSelect paymentOption: Stripe.STPPaymentOption) +} +@frozen public enum PaymentSheetResult { + case completed + case canceled + case failed(error: Swift.Error) +} +@_hasMissingDesignatedInitializers public class PaymentSheet { + final public let configuration: Stripe.PaymentSheet.Configuration + public var mostRecentError: Swift.Error? { + get + } + convenience public init(paymentIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration) + convenience public init(setupIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public func present(from presentingViewController: UIKit.UIViewController, completion: @escaping (Stripe.PaymentSheetResult) -> ()) + @objc deinit +} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +@objc(STPErrorCode) public enum _stpobjc_STPErrorCode : Swift.Int { + @objc(STPConnectionError) case connectionError = 40 + @objc(STPInvalidRequestError) case invalidRequestError = 50 + @objc(STPAuthenticationError) case authenticationError = 51 + @objc(STPAPIError) case apiError = 60 + @objc(STPCardError) case cardError = 70 + @objc(STPCancellationError) case cancellationError = 80 + @objc(STPEphemeralKeyDecodingError) case ephemeralKeyDecodingError = 1000 + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @available(swift, deprecated: 0.0.1, renamed: "STPError") +@objc(STPError) public class _stpobjc_STPError : ObjectiveC.NSObject { + @objc public static let stripeDomain: Swift.String + @objc public static let errorMessageKey: Swift.String + @objc public static let hintKey: Swift.String + @objc public static let cardErrorCodeKey: Swift.String + @objc public static let errorParameterKey: Swift.String + @objc public static let stripeErrorCodeKey: Swift.String + @objc public static let stripeErrorTypeKey: Swift.String + @objc public static let stripeDeclineCodeKey: Swift.String + @objc public static let invalidNumber: Swift.String + @objc public static let invalidExpMonth: Swift.String + @objc public static let invalidExpYear: Swift.String + @objc public static let invalidCVC: Swift.String + @objc public static let incorrectNumber: Swift.String + @objc public static let expiredCard: Swift.String + @objc public static let cardDeclined: Swift.String + @objc public static let processingError: Swift.String + @objc public static let incorrectCVC: Swift.String + @objc public static let incorrectZip: Swift.String + @objc deinit + @objc override dynamic public init() +} +@objc extension NSError { + @available(swift, deprecated: 0.0.1, renamed: "stp_error(fromStripeResponse:)") + @objc(stp_errorFromStripeResponse:) public static func _stpobjc_stp_error(fromStripeResponse jsonDictionary: [Swift.AnyHashable : Any]?) -> Foundation.NSError? +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionOXXODisplayDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let expiresAfter: Foundation.Date + @objc final public let hostedVoucherURL: Foundation.URL + @objc final public let number: Swift.String + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc deinit + @objc override dynamic public init() +} +extension StripeAPI { + @available(*, deprecated, message: "Use `paymentRequestWithMerchantIdentifier:country:currency:` instead.") + public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String) -> PassKit.PKPaymentRequest +} +@available(*, deprecated, message: "Use StripeAPI.defaultPublishableKey instead. (StripeAPI.defaultPublishableKey = \"pk_12345_xyzabc\")") +public func setDefaultPublishableKey(_ publishableKey: Swift.String) +@available(*, deprecated, message: "Use StripeAPI.advancedFraudSignalsEnabled instead.") +public var advancedFraudSignalsEnabled: Swift.Bool { + get + set +} +@available(*, deprecated, message: "Use StripeAPI.jcbPaymentNetworkSupported instead.") +public var jcbPaymentNetworkSupported: Swift.Bool { + get + set +} +@available(*, deprecated, message: "Use StripeAPI.additionalEnabledApplePayNetworks instead.") +public var additionalEnabledApplePayNetworks: [PassKit.PKPaymentNetwork] { + get + set +} +@available(*, deprecated, message: "Use StripeAPI.canSubmitPaymentRequest(_:) instead.") +public func canSubmitPaymentRequest(_ paymentRequest: PassKit.PKPaymentRequest) -> Swift.Bool +@available(*, deprecated, message: "Use StripeAPI.deviceSupportsApplePay() instead.") +public func deviceSupportsApplePay() -> Swift.Bool +@available(*, deprecated, message: "Use StripeAPI.paymentRequest(withMerchantIdentifier:country:currency:) instead.") +public func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String, country countryCode: Swift.String, currency currencyCode: Swift.String) -> PassKit.PKPaymentRequest +@available(*, deprecated, message: "Use StripeAPI.handleURLCallback(with:) instead.") +public func handleURLCallback(with url: Foundation.URL) -> Swift.Bool +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBoleto : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let taxID: Swift.String + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension View { + public func paymentSheet(isPresented: SwiftUI.Binding, paymentSheet: Stripe.PaymentSheet, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void) -> some SwiftUI.View + + public func paymentOptionsSheet(isPresented: SwiftUI.Binding, paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onSheetDismissed: (() -> Swift.Void)?) -> some SwiftUI.View + + public func paymentConfirmationSheet(isConfirming: SwiftUI.Binding, paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void) -> some SwiftUI.View + + @available(*, deprecated, renamed: "paymentConfirmationSheet(isConfirming:paymentSheetFlowController:onCompletion:)") + public func paymentConfirmationSheet(isConfirmingPayment: SwiftUI.Binding, paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void) -> some SwiftUI.View + +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension PaymentSheet { + public struct PaymentButton : SwiftUI.View where Content : SwiftUI.View { + public init(paymentSheet: Stripe.PaymentSheet, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void, @SwiftUI.ViewBuilder content: () -> Content) + public var body: some SwiftUI.View { + get + } + public typealias Body = @_opaqueReturnTypeOf("$s6Stripe12PaymentSheetC0B6ButtonV4bodyQrvp", 0) 🦸 + } +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension PaymentSheet.FlowController { + public struct PaymentOptionsButton : SwiftUI.View where Content : SwiftUI.View { + public init(paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onSheetDismissed: @escaping () -> Swift.Void, @SwiftUI.ViewBuilder content: () -> Content) + public var body: some SwiftUI.View { + get + } + public typealias Body = @_opaqueReturnTypeOf("$s6Stripe12PaymentSheetC14FlowControllerC0B13OptionsButtonV4bodyQrvp", 0) 🦸 + } + @available(*, deprecated, renamed: "ConfirmButton") + public typealias ConfirmPaymentButton = Stripe.PaymentSheet.FlowController.ConfirmButton + public struct ConfirmButton : SwiftUI.View where Content : SwiftUI.View { + public init(paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void, @SwiftUI.ViewBuilder content: () -> Content) + public var body: some SwiftUI.View { + get + } + public typealias Body = @_opaqueReturnTypeOf("$s6Stripe12PaymentSheetC14FlowControllerC13ConfirmButtonV4bodyQrvp", 0) 🦸 + } +} +@objc public enum STPCardFundingType : Swift.Int { + case debit + case credit + case prepaid + case other + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPCard : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPPaymentOption, Stripe.STPSourceProtocol { + @objc public var last4: Swift.String { + get + } + @objc public var dynamicLast4: Swift.String? { + get + } + @objc public var isApplePayCard: Swift.Bool { + @objc get + } + @objc public var expMonth: Swift.Int { + get + } + @objc public var expYear: Swift.Int { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var address: Stripe.STPAddress? { + get + } + @objc public var brand: Stripe.STPCardBrand { + get + } + @objc public var funding: Stripe.STPCardFundingType { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var currency: Swift.String? { + get + } + @objc(stringFromBrand:) public class func string(from brand: Stripe.STPCardBrand) -> Swift.String + @objc(brandFromString:) public class func brand(from string: Swift.String) -> Stripe.STPCardBrand + @available(*, deprecated, message: "You cannot directly instantiate an STPCard. You should only use one that has been returned from an STPAPIClient callback.") + @objc(initWithID:brand:last4:expMonth:expYear:funding:) public init(id cardID: Swift.String, brand: Stripe.STPCardBrand, last4: Swift.String, expMonth: Swift.Int, expYear: Swift.Int, funding: Stripe.STPCardFundingType) + @objc(fundingFromString:) public class func funding(from string: Swift.String) -> Stripe.STPCardFundingType + @objc public var stripeID: Swift.String + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ other: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @available(*, deprecated, message: "Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @available(*, deprecated, message: "Use stripeID (defined in STPSourceProtocol)") + @objc public var cardId: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.line1") + @objc public var addressLine1: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.line2") + @objc public var addressLine2: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.city") + @objc public var addressCity: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.state") + @objc public var addressState: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.postalCode") + @objc public var addressZip: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.country") + @objc public var addressCountry: Swift.String? { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodCardParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc convenience public init(cardSourceParams: Stripe.STPCardParams) + @objc required override dynamic public init() + @objc public var number: Swift.String? + @objc public var expMonth: Foundation.NSNumber? + @objc public var expYear: Foundation.NSNumber? + @objc public var token: Swift.String? + @objc public var cvc: Swift.String? + @objc public var last4: Swift.String? { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public func isEqual(_ other: Any?) -> Swift.Bool + @objc deinit +} +@objc public class STPPushProvisioningDetailsParams : ObjectiveC.NSObject { + @objc public var cardId: Swift.String { + get + } + @objc public var certificates: [Foundation.Data] { + get + } + @objc public var nonce: Foundation.Data { + get + } + @objc public var nonceSignature: Foundation.Data { + get + } + @objc public var certificatesBase64: [Swift.String] { + @objc get + } + @objc public var nonceHex: Swift.String { + @objc get + } + @objc public var nonceSignatureHex: Swift.String { + @objc get + } + @objc required public init(cardId: Swift.String, certificates: [Foundation.Data], nonce: Foundation.Data, nonceSignature: Foundation.Data) + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountAddress : ObjectiveC.NSObject { + @objc public var city: Swift.String? + @objc public var country: Swift.String? + @objc public var line1: Swift.String? + @objc public var line2: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var state: Swift.String? + @objc public var town: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountAddress : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPConfirmAlipayOptions : ObjectiveC.NSObject { + @objc public var appBundleID: Swift.String { + @objc get + } + @objc public var appVersionKey: Swift.String { + @objc get + } + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConfirmAlipayOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPPaymentMethodCardWalletType : Swift.Int { + case amexExpressCheckout + case applePay + case googlePay + case masterpass + case samsungPay + case visaCheckout + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardWallet : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var type: Stripe.STPPaymentMethodCardWalletType { + get + } + @objc public var masterpass: Stripe.STPPaymentMethodCardWalletMasterpass? { + get + } + @objc public var visaCheckout: Stripe.STPPaymentMethodCardWalletVisaCheckout? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +extension PaymentSheet { + @available(iOS 13.0, *) + public enum UserInterfaceStyle : Swift.Int { + case automatic + case alwaysLight + case alwaysDark + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } + } + public enum SavePaymentMethodOptInBehavior { + case automatic + case requiresOptIn + case requiresOptOut + public static func == (a: Stripe.PaymentSheet.SavePaymentMethodOptInBehavior, b: Stripe.PaymentSheet.SavePaymentMethodOptInBehavior) -> Swift.Bool + public var hashValue: Swift.Int { + get + } + public func hash(into hasher: inout Swift.Hasher) + } + public struct Configuration { + public var allowsDelayedPaymentMethods: Swift.Bool + public var apiClient: StripeCore.STPAPIClient + public var applePay: Stripe.PaymentSheet.ApplePayConfiguration? + public var primaryButtonColor: UIKit.UIColor + @available(iOS 13.0, *) + public var style: Stripe.PaymentSheet.UserInterfaceStyle { + get + set + } + public var customer: Stripe.PaymentSheet.CustomerConfiguration? + public var merchantDisplayName: Swift.String + public var returnURL: Swift.String? + public init() + public var defaultBillingDetails: Stripe.PaymentSheet.BillingDetails + public var savePaymentMethodOptInBehavior: Stripe.PaymentSheet.SavePaymentMethodOptInBehavior + } + public struct CustomerConfiguration { + public let id: Swift.String + public let ephemeralKeySecret: Swift.String + public init(id: Swift.String, ephemeralKeySecret: Swift.String) + } + public struct ApplePayConfiguration { + public let merchantId: Swift.String + public let merchantCountryCode: Swift.String + public init(merchantId: Swift.String, merchantCountryCode: Swift.String) + } + public struct Address { + public var city: Swift.String? + public var country: Swift.String? + public var line1: Swift.String? + public var line2: Swift.String? + public var postalCode: Swift.String? + public var state: Swift.String? + public init(city: Swift.String? = nil, country: Swift.String? = nil, line1: Swift.String? = nil, line2: Swift.String? = nil, postalCode: Swift.String? = nil, state: Swift.String? = nil) + } + public struct BillingDetails { + public var address: Stripe.PaymentSheet.Address + public var email: Swift.String? + public var name: Swift.String? + public var phone: Swift.String? + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodLink : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPBackendAPIAdapter : ObjectiveC.NSObjectProtocol { + @objc func retrieveCustomer(_ completion: Stripe.STPCustomerCompletionBlock?) + @objc func listPaymentMethodsForCustomer(completion: Stripe.STPPaymentMethodsCompletionBlock?) + @objc func attachPaymentMethod(toCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc optional func detachPaymentMethod(fromCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc optional func updateCustomer(withShippingAddress shipping: Stripe.STPAddress, completion: Stripe.STPErrorBlock?) +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntentShippingDetailsAddress : ObjectiveC.NSObject { + @objc final public let city: Swift.String? + @objc final public let country: Swift.String? + @objc final public let line1: Swift.String? + @objc final public let line2: Swift.String? + @objc final public let postalCode: Swift.String? + @objc final public let state: Swift.String? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetailsAddress : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntentShippingDetails : ObjectiveC.NSObject { + @objc final public let address: Stripe.STPPaymentIntentShippingDetailsAddress? + @objc final public let name: Swift.String? + @objc final public let carrier: Swift.String? + @objc final public let phone: Swift.String? + @objc final public let trackingNumber: Swift.String? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetails : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc public enum STPCardBrand : Swift.Int { + case visa + case amex + case mastercard + case discover + case JCB + case dinersClub + case unionPay + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @available(*, deprecated, message: "STPStringFromCardBrand has been replaced with STPCardBrandUtilities.stringFrom(brand)") +@objc public class STPStringFromCardBrand : ObjectiveC.NSObject { + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPCardBrandUtilities : ObjectiveC.NSObject { + @objc(stringFromCardBrand:) public static func stringFrom(_ brand: Stripe.STPCardBrand) -> Swift.String? + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPCustomerEphemeralKeyProvider : ObjectiveC.NSObjectProtocol { + @objc(createCustomerKeyWithAPIVersion:completion:) func createCustomerKey(withAPIVersion apiVersion: Swift.String, completion: @escaping Stripe.STPJSONResponseCompletionBlock) +} +@objc public protocol STPIssuingCardEphemeralKeyProvider : ObjectiveC.NSObjectProtocol { + @objc(createIssuingCardKeyWithAPIVersion:completion:) func createIssuingCardKey(withAPIVersion apiVersion: Swift.String, completion: @escaping Stripe.STPJSONResponseCompletionBlock) +} +@available(*, deprecated, message: "use `STPCustomerEphemeralKeyProvider` or `STPIssuingCardEphemeralKeyProvider` depending on the type of key that will be fetched.") +@objc public protocol STPEphemeralKeyProvider : Stripe.STPCustomerEphemeralKeyProvider { +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBacsDebit : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var sortCode: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPBankAccountStatus : Swift.Int { + case new + case validated + case verified + case verificationFailed + case errored + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPBankAccount : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPSourceProtocol { + @objc public var routingNumber: Swift.String? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var currency: Swift.String? { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var bankName: Swift.String? { + get + } + @objc public var accountHolderName: Swift.String? { + get + } + @objc public var accountHolderType: Stripe.STPBankAccountHolderType { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var status: Stripe.STPBankAccountStatus { + get + } + @available(*, deprecated, message: "Use stripeID (defined in STPSourceProtocol)") + @objc public var bankAccountId: Swift.String? { + @objc get + } + @objc public var stripeID: Swift.String { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ bankAccount: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodSEPADebitParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var iban: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodParams : ObjectiveC.NSObject, Stripe.STPFormEncodable, Stripe.STPPaymentOption { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var type: Stripe.STPPaymentMethodType { + @objc get + @objc set(newType) + } + @objc public var rawTypeString: Swift.String? + @objc public var billingDetails: Stripe.STPPaymentMethodBillingDetails? + @objc public var card: Stripe.STPPaymentMethodCardParams? + @objc public var alipay: Stripe.STPPaymentMethodAlipayParams? + @objc public var iDEAL: Stripe.STPPaymentMethodiDEALParams? + @objc public var fpx: Stripe.STPPaymentMethodFPXParams? + @objc public var sepaDebit: Stripe.STPPaymentMethodSEPADebitParams? + @objc public var bacsDebit: Stripe.STPPaymentMethodBacsDebitParams? + @objc public var auBECSDebit: Stripe.STPPaymentMethodAUBECSDebitParams? + @objc public var giropay: Stripe.STPPaymentMethodGiropayParams? + @objc public var payPal: Stripe.STPPaymentMethodPayPalParams? + @objc public var przelewy24: Stripe.STPPaymentMethodPrzelewy24Params? + @objc public var eps: Stripe.STPPaymentMethodEPSParams? + @objc public var bancontact: Stripe.STPPaymentMethodBancontactParams? + @objc public var netBanking: Stripe.STPPaymentMethodNetBankingParams? + @objc public var oxxo: Stripe.STPPaymentMethodOXXOParams? + @objc public var sofort: Stripe.STPPaymentMethodSofortParams? + @objc public var upi: Stripe.STPPaymentMethodUPIParams? + @objc public var grabPay: Stripe.STPPaymentMethodGrabPayParams? + @objc public var afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpayParams? + @objc public var blik: Stripe.STPPaymentMethodBLIKParams? + @objc public var boleto: Stripe.STPPaymentMethodBoletoParams? + @objc public var link: Stripe.STPPaymentMethodLinkParams? + @objc public var klarna: Stripe.STPPaymentMethodKlarnaParams? + @objc public var metadata: [Swift.String : Swift.String]? + @objc convenience public init(card: Stripe.STPPaymentMethodCardParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(iDEAL: Stripe.STPPaymentMethodiDEALParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(fpx: Stripe.STPPaymentMethodFPXParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(sepaDebit: Stripe.STPPaymentMethodSEPADebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(bacsDebit: Stripe.STPPaymentMethodBacsDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(aubecsDebit auBECSDebit: Stripe.STPPaymentMethodAUBECSDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(giropay: Stripe.STPPaymentMethodGiropayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(eps: Stripe.STPPaymentMethodEPSParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(przelewy24: Stripe.STPPaymentMethodPrzelewy24Params, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(bancontact: Stripe.STPPaymentMethodBancontactParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(netBanking: Stripe.STPPaymentMethodNetBankingParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(grabPay: Stripe.STPPaymentMethodGrabPayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(oxxo: Stripe.STPPaymentMethodOXXOParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(sofort: Stripe.STPPaymentMethodSofortParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(upi: Stripe.STPPaymentMethodUPIParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(alipay: Stripe.STPPaymentMethodAlipayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(payPal: Stripe.STPPaymentMethodPayPalParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(blik: Stripe.STPPaymentMethodBLIKParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(boleto: Stripe.STPPaymentMethodBoletoParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(klarna: Stripe.STPPaymentMethodKlarnaParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init?(singleUsePaymentMethod paymentMethod: Stripe.STPPaymentMethod) + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +@objc extension STPPaymentMethodParams { + @objc(paramsWithCard:billingDetails:metadata:) dynamic public class func paramsWith(card: Stripe.STPPaymentMethodCardParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithiDEAL:billingDetails:metadata:) dynamic public class func paramsWith(iDEAL: Stripe.STPPaymentMethodiDEALParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithFPX:billingDetails:metadata:) dynamic public class func paramsWith(fpx: Stripe.STPPaymentMethodFPXParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithSEPADebit:billingDetails:metadata:) dynamic public class func paramsWith(sepaDebit: Stripe.STPPaymentMethodSEPADebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithBacsDebit:billingDetails:metadata:) dynamic public class func paramsWith(bacsDebit: Stripe.STPPaymentMethodBacsDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithAUBECSDebit:billingDetails:metadata:) dynamic public class func paramsWith(auBECSDebit: Stripe.STPPaymentMethodAUBECSDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithGiropay:billingDetails:metadata:) dynamic public class func paramsWith(giropay: Stripe.STPPaymentMethodGiropayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithEPS:billingDetails:metadata:) dynamic public class func paramsWith(eps: Stripe.STPPaymentMethodEPSParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithPrzelewy24:billingDetails:metadata:) dynamic public class func paramsWith(przelewy24: Stripe.STPPaymentMethodPrzelewy24Params, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithBancontact:billingDetails:metadata:) dynamic public class func paramsWith(bancontact: Stripe.STPPaymentMethodBancontactParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithNetBanking:billingDetails:metadata:) dynamic public class func paramsWith(netBanking: Stripe.STPPaymentMethodNetBankingParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithOXXO:billingDetails:metadata:) dynamic public class func paramsWith(oxxo: Stripe.STPPaymentMethodOXXOParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithGrabPay:billingDetails:metadata:) dynamic public class func paramsWith(grabPay: Stripe.STPPaymentMethodGrabPayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithSofort:billingDetails:metadata:) dynamic public class func paramsWith(sofort: Stripe.STPPaymentMethodSofortParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithUPI:billingDetails:metadata:) dynamic public class func paramsWith(upi: Stripe.STPPaymentMethodUPIParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithAlipay:billingDetails:metadata:) dynamic public class func paramsWith(alipay: Stripe.STPPaymentMethodAlipayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithPayPal:billingDetails:metadata:) dynamic public class func paramsWith(payPal: Stripe.STPPaymentMethodPayPalParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithAfterpayClearpay:billingDetails:metadata:) dynamic public class func paramsWith(afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithBLIK:billingDetails:metadata:) dynamic public class func paramsWith(blik: Stripe.STPPaymentMethodBLIKParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithKlarna:billingDetails:metadata:) dynamic public class func paramsWith(klarna: Stripe.STPPaymentMethodKlarnaParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodPayPalParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc public protocol STPSourceProtocol : ObjectiveC.NSObjectProtocol { + @objc var stripeID: Swift.String { get } +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, deprecated, renamed: "STPIntentAction", message: "Use `STPIntentAction` instead.") +@objc final public class STPPaymentIntentAction : Stripe.STPIntentAction { + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodGrabPay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPFormView : UIKit.UIView { + @objc override dynamic public var canResignFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func resignFirstResponder() -> Swift.Bool + @objc override dynamic public var isFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public var canBecomeFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func becomeFirstResponder() -> Swift.Bool + @objc override dynamic public var isUserInteractionEnabled: Swift.Bool { + @objc get + @objc set + } + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodPayPal : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodSofortParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var country: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc public enum STPMandateCustomerAcceptanceType : Swift.Int { + case online + case offline + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPMandateCustomerAcceptanceParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var type: Stripe.STPMandateCustomerAcceptanceType + @objc public var onlineParams: Stripe.STPMandateOnlineParams? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc required override dynamic public init() + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public class func rootObjectName() -> Swift.String? + @objc deinit +} +public enum PaymentSheetError : Swift.Error { + case unknown(debugDescription: Swift.String) + public var localizedDescription: Swift.String { + get + } +} +extension UINavigationBar { + @available(*, deprecated, message: "Use the `stp_theme` property instead") + @objc dynamic public func stp_setTheme(_ theme: Stripe.STPTheme) + @objc dynamic public var stp_theme: Stripe.STPTheme? { + @objc get + @objc set(theme) + } +} +@objc public protocol STPAUBECSDebitFormViewDelegate : ObjectiveC.NSObjectProtocol { + @objc func auBECSDebitForm(_ form: Stripe.STPAUBECSDebitFormView, didChangeToStateComplete complete: Swift.Bool) +} +@objc @_inheritsConvenienceInitializers public class STPAUBECSDebitFormView : Stripe.STPMultiFormTextField, UIKit.UITextViewDelegate { + @objc(initWithCompanyName:) required public init(companyName: Swift.String) + @objc public var formBackgroundColor: UIKit.UIColor { + @objc get + @objc set + } + @objc weak public var becsDebitFormDelegate: Stripe.STPAUBECSDebitFormViewDelegate? + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? { + @objc get + } + @objc override dynamic public func systemLayoutSizeFitting(_ targetSize: CoreGraphics.CGSize, withHorizontalFittingPriority horizontalFittingPriority: UIKit.UILayoutPriority, verticalFittingPriority: UIKit.UILayoutPriority) -> CoreGraphics.CGSize + @objc public func textView(_ textView: UIKit.UITextView, shouldInteractWith URL: Foundation.URL, in characterRange: Foundation.NSRange, interaction: UIKit.UITextItemInteraction) -> Swift.Bool + @objc override public var formFont: UIKit.UIFont { + @objc get + @objc set + } + @objc override public var formTextColor: UIKit.UIColor { + @objc get + @objc set + } + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAfterpayClearpayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public static func rootObjectName() -> Swift.String? + @objc public static func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodAfterpayClearpay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPSetupIntent : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let stripeID: Swift.String + @objc final public let clientSecret: Swift.String + @objc final public let created: Foundation.Date + @objc final public let customerID: Swift.String? + @objc final public let stripeDescription: Swift.String? + @objc final public let livemode: Swift.Bool + @objc final public let nextAction: Stripe.STPIntentAction? + @objc final public let paymentMethodID: Swift.String? + @objc final public let paymentMethodTypes: [Foundation.NSNumber] + @objc final public let status: Stripe.STPSetupIntentStatus + @objc final public let usage: Stripe.STPSetupIntentUsage + @objc final public let lastSetupError: Stripe.STPSetupIntentLastSetupError? + @available(*, deprecated, message: "Metadata is not returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPBillingAddressFields : Swift.UInt { + case none + case postalCode + case full + case name + @available(*, deprecated, message: "Use STPBillingAddressFields.postalCode instead") + case zip + public typealias RawValue = Swift.UInt + public init?(rawValue: Swift.UInt) + public var rawValue: Swift.UInt { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPAddress : ObjectiveC.NSObject { + @objc public var name: Swift.String? + @objc public var line1: Swift.String? + @objc public var line2: Swift.String? + @objc public var city: Swift.String? + @objc public var state: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var country: Swift.String? + @objc public var phone: Swift.String? + @objc public var email: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc(shippingInfoForChargeWithAddress:shippingMethod:) public class func shippingInfoForCharge(with address: Stripe.STPAddress?, shippingMethod method: PassKit.PKShippingMethod?) -> [Swift.AnyHashable : Any]? + @objc override dynamic public init() + @objc public init(paymentMethodBillingDetails billingDetails: Stripe.STPPaymentMethodBillingDetails) + @objc(initWithPKContact:) public init(pkContact contact: PassKit.PKContact) + @objc(PKContactValue) public func pkContactValue() -> PassKit.PKContact + @objc(initWithCNContact:) public init(cnContact contact: Contacts.CNContact) + @objc public func containsRequiredFields(_ requiredFields: Stripe.STPBillingAddressFields) -> Swift.Bool + @objc(containsContentForBillingAddressFields:) public func containsContent(for desiredFields: Stripe.STPBillingAddressFields) -> Swift.Bool + @objc public func containsRequiredShippingAddressFields(_ requiredFields: Swift.Set?) -> Swift.Bool + @objc public func containsContent(forShippingAddressFields desiredFields: Swift.Set?) -> Swift.Bool + @objc(applePayContactFieldsFromBillingAddressFields:) public class func applePayContactFields(from billingAddressFields: Stripe.STPBillingAddressFields) -> Swift.Set + @objc public class func pkContactFields(fromStripeContactFields contactFields: Swift.Set?) -> Swift.Set? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc deinit +} +extension STPAddress : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +extension STPAddress : Stripe.STPFormEncodable { + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] +} +extension STPAddress : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodAUBECSDebit : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var bsbNumber: Swift.String { + get + } + @objc public var fingerprint: Swift.String { + get + } + @objc public var last4: Swift.String { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAlipayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc public enum STPCardFormViewStyle : Swift.Int { + case standard + case borderless + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public protocol STPCardFormViewDelegate : ObjectiveC.NSObjectProtocol { + @objc func cardFormView(_ form: Stripe.STPCardFormView, didChangeToStateComplete complete: Swift.Bool) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPCardFormView : Stripe.STPFormView { + @objc weak public var delegate: Stripe.STPCardFormViewDelegate? + @objc override dynamic public var backgroundColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc public var disabledBackgroundColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc public var cardParams: Stripe.STPPaymentMethodParams? { + @objc get + } + @objc override dynamic public var isUserInteractionEnabled: Swift.Bool { + @objc get + @objc set + } + @objc convenience public init(style: Stripe.STPCardFormViewStyle = .standard) + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPCustomer : ObjectiveC.NSObject { + @objc final public let stripeID: Swift.String + @objc public var defaultSource: Stripe.STPSourceProtocol? { + get + } + @objc public var sources: [Stripe.STPSourceProtocol] { + get + } + @objc public var email: Swift.String? { + get + } + @objc public var shippingAddress: Stripe.STPAddress? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc convenience public init(stripeID: Swift.String, defaultSource: Stripe.STPSourceProtocol?, sources: [Stripe.STPSourceProtocol]) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc(updateSourcesFilteringApplePay:) public func updateSources(filteringApplePay: Swift.Bool) + @objc deinit +} +extension STPCustomer : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_hasMissingDesignatedInitializers public class STPCustomerDeserializer : ObjectiveC.NSObject { + @objc final public let customer: Stripe.STPCustomer? + @objc final public let error: Swift.Error? + @objc convenience public init(data: Foundation.Data?, urlResponse: Foundation.URLResponse?, error: Swift.Error?) + @objc convenience public init(jsonResponse json: Any?) + @objc deinit + @objc override dynamic public init() +} +@objc public class STPContactField : ObjectiveC.NSObject, Swift.RawRepresentable { + final public let rawValue: Swift.String + required public init(rawValue: Swift.String) + @objc public static let postalAddress: Stripe.STPContactField + @objc public static let emailAddress: Stripe.STPContactField + @objc public static let phoneNumber: Stripe.STPContactField + @objc public static let name: Stripe.STPContactField + @objc override dynamic public init() + public typealias RawValue = Swift.String + @objc deinit +} +extension PaymentSheet { + @_hasMissingDesignatedInitializers @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public class FlowController { + public struct PaymentOptionDisplayData { + public let image: UIKit.UIImage + public let label: Swift.String + } + final public let configuration: Stripe.PaymentSheet.Configuration + public var paymentOption: Stripe.PaymentSheet.FlowController.PaymentOptionDisplayData? { + get + } + public static func create(paymentIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration, completion: @escaping (Swift.Result) -> Swift.Void) + public static func create(setupIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration, completion: @escaping (Swift.Result) -> Swift.Void) + public func presentPaymentOptions(from presentingViewController: UIKit.UIViewController, completion: (() -> ())? = nil) + public func confirm(from presentingViewController: UIKit.UIViewController, completion: @escaping (Stripe.PaymentSheetResult) -> ()) + @objc deinit + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodKlarna : ObjectiveC.NSObject { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension STPCardFormView { + public struct Representable : SwiftUI.UIViewRepresentable { + public init(_ style: Stripe.STPCardFormViewStyle = .standard, paymentMethodParams: SwiftUI.Binding, isComplete: SwiftUI.Binding) + public func makeCoordinator() -> Stripe.STPCardFormView.Coordinator + public func makeUIView(context: Stripe.STPCardFormView.Representable.Context) -> Stripe.STPCardFormView + public func updateUIView(_ cardFormView: Stripe.STPCardFormView, context: Stripe.STPCardFormView.Representable.Context) + public typealias UIViewType = Stripe.STPCardFormView + public typealias Coordinator = Stripe.STPCardFormView.Coordinator + public typealias Body = Swift.Never + } + @objc @_hasMissingDesignatedInitializers public class Coordinator : ObjectiveC.NSObject, Stripe.STPCardFormViewDelegate { + @objc public func cardFormView(_ form: Stripe.STPCardFormView, didChangeToStateComplete complete: Swift.Bool) + @objc deinit + @objc override dynamic public init() + } +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSTextFieldCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSTextFieldCustomization + @objc public var borderWidth: CoreGraphics.CGFloat { + @objc get + @objc set(borderWidth) + } + @objc public var borderColor: UIKit.UIColor { + @objc get + @objc set(borderColor) + } + @objc public var cornerRadius: CoreGraphics.CGFloat { + @objc get + @objc set(cornerRadius) + } + @objc public var keyboardAppearance: UIKit.UIKeyboardAppearance { + @objc get + @objc set(keyboardAppearance) + } + @objc public var placeholderTextColor: UIKit.UIColor { + @objc get + @objc set(placeholderTextColor) + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set(textColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodNetBankingParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var bank: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardPresent : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceReceiver : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var address: Swift.String? { + get + } + @objc public var amountCharged: Foundation.NSNumber? { + get + } + @objc public var amountReceived: Foundation.NSNumber? { + get + } + @objc public var amountReturned: Foundation.NSNumber? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodPrzelewy24Params : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodKlarnaParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public static func rootObjectName() -> Swift.String? + @objc public static func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBancontactParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, unavailable, renamed: "STPIntentActionRedirectToURL", message: "Use `STPIntentActionRedirectToURL` instead.") +@objc final public class STPPaymentIntentSourceActionAuthorizeWithURL : Stripe.STPIntentActionRedirectToURL { + @objc deinit +} +@objc public enum STPSetupIntentLastSetupErrorType : Swift.UInt { + case unknown + @objc(STPSetupIntentLastSetupErrorTypeAPIConnection) case apiConnection + case API + case authentication + case card + case idempotency + case invalidRequest + case rateLimit + public typealias RawValue = Swift.UInt + public init?(rawValue: Swift.UInt) + public var rawValue: Swift.UInt { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSetupIntentLastSetupError : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var code: Swift.String? { + get + } + @objc public var declineCode: Swift.String? { + get + } + @objc public var docURL: Swift.String? { + get + } + @objc public var message: Swift.String? { + get + } + @objc public var param: Swift.String? { + get + } + @objc public var paymentMethod: Stripe.STPPaymentMethod? { + get + } + @objc public var type: Stripe.STPSetupIntentLastSetupErrorType { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc extension STPSetupIntentLastSetupError { + @objc public static let CodeAuthenticationFailure: Swift.String +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodPrzelewy24 : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCard : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var brand: Stripe.STPCardBrand { + get + } + @objc public var checks: Stripe.STPPaymentMethodCardChecks? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var expMonth: Swift.Int { + get + } + @objc public var expYear: Swift.Int { + get + } + @objc public var funding: Swift.String? { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var networks: Stripe.STPPaymentMethodCardNetworks? { + get + } + @objc public var threeDSecureUsage: Stripe.STPPaymentMethodThreeDSecureUsage? { + get + } + @objc public var wallet: Stripe.STPPaymentMethodCardWallet? { + get + } + @objc(stringFromBrand:) public class func string(from brand: Stripe.STPCardBrand) -> Swift.String + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public enum STPPaymentIntentLastPaymentErrorType : Swift.Int { + case unknown + @objc(STPPaymentIntentLastPaymentErrorTypeAPIConnection) case apiConnection + @objc(STPPaymentIntentLastPaymentErrorTypeAPI) case api + case authentication + case card + case idempotency + case invalidRequest + case rateLimit + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntentLastPaymentError : ObjectiveC.NSObject { + @objc public static let ErrorCodeAuthenticationFailure: Swift.String + @objc final public let code: Swift.String? + @objc final public let declineCode: Swift.String? + @objc final public let docURL: Swift.String? + @objc final public let message: Swift.String? + @objc final public let param: Swift.String? + @objc final public let paymentMethod: Stripe.STPPaymentMethod? + @objc final public let type: Stripe.STPPaymentIntentLastPaymentErrorType + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentLastPaymentError : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc public class STPPaymentResult : ObjectiveC.NSObject { + @objc public var paymentMethod: Stripe.STPPaymentMethod? { + get + } + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? { + get + } + @objc weak public var paymentOption: Stripe.STPPaymentOption? { + @objc get + } + @objc public init(paymentOption: Stripe.STPPaymentOption?) + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionWechatPayRedirectToApp : ObjectiveC.NSObject { + @objc final public let nativeURL: Foundation.URL? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPIntentActionWechatPayRedirectToApp : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc public enum STPPaymentIntentStatus : Swift.Int { + case unknown + case requiresPaymentMethod + @available(*, deprecated, renamed: "STPPaymentIntentStatus.requiresPaymentMethod", message: "Use STPPaymentIntentStatus.requiresPaymentMethod instead") + case requiresSource + case requiresConfirmation + case requiresAction + @available(*, deprecated, renamed: "STPPaymentIntentStatus.requiresAction", message: "Use STPPaymentIntentStatus.requiresAction instead") + case requiresSourceAction + case processing + case succeeded + case requiresCapture + case canceled + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentIntentSetupFutureUsage : Swift.Int { + case unknown + case none + case onSession + case offSession + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPPaymentIntentActionType : Swift.Int { + @available(*, deprecated, renamed: "STPIntentActionType.unknown", message: "Use STPIntentActionType instead") + case unknown + @available(*, deprecated, renamed: "STPIntentActionType.redirectToURL", message: "Use STPIntentActionType instead") + case redirectToURL + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +@objc public enum STPPaymentIntentSourceActionType : Swift.Int { + case unknown + case authorizeWithURL + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodGiropay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAUBECSDebitParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var accountNumber: Swift.String? + @objc public var bsbNumber: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBLIK : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodSofort : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var country: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodUPIParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var vpa: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPCardParams : ObjectiveC.NSObject, Stripe.STPFormEncodable, Foundation.NSCopying { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc convenience public init(paymentMethodParams: Stripe.STPPaymentMethodParams) + @objc public var number: Swift.String? + @objc public func last4() -> Swift.String? + @objc public var expMonth: Swift.UInt + @objc public var expYear: Swift.UInt + @objc public var cvc: Swift.String? + @objc public var name: Swift.String? { + @objc get + @objc set + } + @objc public var address: Stripe.STPAddress { + @objc get + @objc set + } + @objc public var currency: Swift.String? + @objc public var addressLine1: Swift.String? { + @objc get + @objc set(addressLine1) + } + @objc public var addressLine2: Swift.String? { + @objc get + @objc set(addressLine2) + } + @objc public var addressCity: Swift.String? { + @objc get + @objc set(addressCity) + } + @objc public var addressState: Swift.String? { + @objc get + @objc set(addressState) + } + @objc public var addressZip: Swift.String? { + @objc get + @objc set(addressZip) + } + @objc public var addressCountry: Swift.String? { + @objc get + @objc set(addressCountry) + } + @objc override dynamic public init() + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodAlipay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPFormEncodable : ObjectiveC.NSObjectProtocol { + @objc static func rootObjectName() -> Swift.String? + @objc static func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc var additionalAPIParameters: [Swift.AnyHashable : Any] { get set } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBancontact : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethod : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPPaymentOption { + @objc public var stripeId: Swift.String { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var liveMode: Swift.Bool { + get + } + @objc public var type: Stripe.STPPaymentMethodType { + get + } + @objc public var billingDetails: Stripe.STPPaymentMethodBillingDetails? { + get + } + @objc public var alipay: Stripe.STPPaymentMethodAlipay? { + get + } + @objc public var grabPay: Stripe.STPPaymentMethodGrabPay? { + get + } + @objc public var card: Stripe.STPPaymentMethodCard? { + get + } + @objc public var iDEAL: Stripe.STPPaymentMethodiDEAL? { + get + } + @objc public var fpx: Stripe.STPPaymentMethodFPX? { + get + } + @objc public var cardPresent: Stripe.STPPaymentMethodCardPresent? { + get + } + @objc public var sepaDebit: Stripe.STPPaymentMethodSEPADebit? { + get + } + @objc public var bacsDebit: Stripe.STPPaymentMethodBacsDebit? { + get + } + @objc public var auBECSDebit: Stripe.STPPaymentMethodAUBECSDebit? { + get + } + @objc public var giropay: Stripe.STPPaymentMethodGiropay? { + get + } + @objc public var eps: Stripe.STPPaymentMethodEPS? { + get + } + @objc public var przelewy24: Stripe.STPPaymentMethodPrzelewy24? { + get + } + @objc public var bancontact: Stripe.STPPaymentMethodBancontact? { + get + } + @objc public var netBanking: Stripe.STPPaymentMethodNetBanking? { + get + } + @objc public var oxxo: Stripe.STPPaymentMethodOXXO? { + get + } + @objc public var sofort: Stripe.STPPaymentMethodSofort? { + get + } + @objc public var upi: Stripe.STPPaymentMethodUPI? { + get + } + @objc public var payPal: Stripe.STPPaymentMethodPayPal? { + get + } + @objc public var afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpay? { + get + } + @objc public var blik: Stripe.STPPaymentMethodBLIK? { + get + } + @objc public var boleto: Stripe.STPPaymentMethodBoleto? { + get + } + @objc public var link: Stripe.STPPaymentMethodLink? { + get + } + @objc public var klarna: Stripe.STPPaymentMethodKlarna? { + get + } + @objc public var customerId: Swift.String? { + get + } + @available(*, deprecated, message: "Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardWalletVisaCheckout : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var email: Swift.String? { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var billingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var shippingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodFPXParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var bank: Stripe.STPFPXBankBrand { + @objc get + @objc set(_bank) + } + @objc public var rawBankString: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objc public class STPApplePayPaymentOption : ObjectiveC.NSObject, Stripe.STPPaymentOption { + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +@objc public class STPMandateDataParams : ObjectiveC.NSObject { + @objc final public let customerAcceptance: Stripe.STPMandateCustomerAcceptanceParams + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(customerAcceptance: Stripe.STPMandateCustomerAcceptanceParams) + @objc override dynamic public init() + @objc deinit +} +extension STPMandateDataParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPFPXBankBrand : Swift.Int { + case maybank2U + case CIMB + case publicBank + case RHB + case hongLeongBank + case ambank + case affinBank + case allianceBank + case bankIslam + case bankMuamalat + case bankRakyat + case BSN + case HSBC + case KFH + case maybank2E + case ocbc + case standardChartered + case UOB + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc @_inheritsConvenienceInitializers public class STPFPXBank : ObjectiveC.NSObject { + @objc public static func stringFrom(_ brand: Stripe.STPFPXBankBrand) -> Swift.String? + @objc public static func brandFrom(_ identifier: Swift.String?) -> Stripe.STPFPXBankBrand + @objc public static func identifierFrom(_ brand: Stripe.STPFPXBankBrand) -> Swift.String? + @objc public static func bankCodeFrom(_ brand: Stripe.STPFPXBankBrand, _ isBusiness: Swift.Bool) -> Swift.String? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPCardValidationState : Swift.Int { + case valid + case invalid + case incomplete + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPCardValidator : ObjectiveC.NSObject { + @objc(sanitizedNumericStringForString:) public class func sanitizedNumericString(for string: Swift.String) -> Swift.String + @objc(sanitizedPostalStringForString:) public class func sanitizedPostalString(for string: Swift.String) -> Swift.String + @objc(stringIsNumeric:) public class func stringIsNumeric(_ string: Swift.String) -> Swift.Bool + @objc(validationStateForNumber:validatingCardBrand:) public class func validationState(forNumber cardNumber: Swift.String?, validatingCardBrand: Swift.Bool) -> Stripe.STPCardValidationState + @objc(brandForNumber:) public class func brand(forNumber cardNumber: Swift.String) -> Stripe.STPCardBrand + @objc(lengthsForCardBrand:) public class func lengths(for brand: Stripe.STPCardBrand) -> Swift.Set + @objc(maxLengthForCardBrand:) public class func maxLength(for brand: Stripe.STPCardBrand) -> Swift.Int + @objc(fragmentLengthForCardBrand:) public class func fragmentLength(for brand: Stripe.STPCardBrand) -> Swift.Int + @objc(validationStateForExpirationMonth:) public class func validationState(forExpirationMonth expirationMonth: Swift.String) -> Stripe.STPCardValidationState + @objc(validationStateForExpirationYear:inMonth:) public class func validationState(forExpirationYear expirationYear: Swift.String, inMonth expirationMonth: Swift.String) -> Stripe.STPCardValidationState + @objc(maxCVCLengthForCardBrand:) public class func maxCVCLength(for brand: Stripe.STPCardBrand) -> Swift.UInt + @objc(validationStateForCVC:cardBrand:) public class func validationState(forCVC cvc: Swift.String, cardBrand brand: Stripe.STPCardBrand) -> Stripe.STPCardValidationState + @objc(validationStateForCard:) public class func validationState(forCard card: Stripe.STPCardParams) -> Stripe.STPCardValidationState + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountCompanyParams : ObjectiveC.NSObject { + @objc public var address: Stripe.STPConnectAccountAddress! + @objc public var kanaAddress: Stripe.STPConnectAccountAddress? + @objc public var kanjiAddress: Stripe.STPConnectAccountAddress? + @objc public var directorsProvided: Foundation.NSNumber? + @objc public var name: Swift.String? + @objc public var kanaName: Swift.String? + @objc public var kanjiName: Swift.String? + @objc public var ownersProvided: Foundation.NSNumber? + @objc public var phone: Swift.String? + @objc public var taxID: Swift.String? + @objc public var taxIDRegistrar: Swift.String? + @objc public var vatID: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountCompanyParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardWalletMasterpass : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var email: Swift.String? { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var billingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var shippingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBillingDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var address: Stripe.STPPaymentMethodAddress? + @objc public var email: Swift.String? + @objc public var name: Swift.String? + @objc public var phone: Swift.String? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override required dynamic public init() + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSCustomizationSettings : ObjectiveC.NSObject { + @available(*, deprecated, message: "Use STPThreeDSCustomizationSettings() instead of STPThreeDSCustomizationSettings.defaultSettings().") + @objc public class func defaultSettings() -> Stripe.STPThreeDSCustomizationSettings + @objc public var uiCustomization: Stripe.STPThreeDSUICustomization + @objc public var authenticationTimeout: Swift.Int + @objc override dynamic public init() + @objc deinit +} +@objc public enum STPIntentActionType : Swift.Int { + case unknown + case redirectToURL + case useStripeSDK + case OXXODisplayDetails + case alipayHandleRedirect + case BLIKAuthorize + case weChatPayRedirectToApp + case linkAuthenticateAccount + case boletoDisplayDetails + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPIntentAction : ObjectiveC.NSObject { + @objc final public let type: Stripe.STPIntentActionType + @objc final public let redirectToURL: Stripe.STPIntentActionRedirectToURL? + @objc final public let oxxoDisplayDetails: Stripe.STPIntentActionOXXODisplayDetails? + @objc final public let alipayHandleRedirect: Stripe.STPIntentActionAlipayHandleRedirect? + @objc final public let weChatPayRedirectToApp: Stripe.STPIntentActionWechatPayRedirectToApp? + @objc final public let boletoDisplayDetails: Stripe.STPIntentActionBoletoDisplayDetails? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPIntentAction : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +extension STPIntentAction { + @available(*, deprecated, renamed: "redirectToURL", message: "Use `redirectToURL` instead.") + @objc dynamic public var authorizeWithURL: Stripe.STPIntentActionRedirectToURL? { + @objc get + } +} +@objc public class STPPaymentIntentShippingDetailsAddressParams : ObjectiveC.NSObject { + @objc public var city: Swift.String? + @objc public var country: Swift.String? + @objc public var line1: Swift.String + @objc public var line2: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var state: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(line1: Swift.String) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetailsAddressParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +extension STPPaymentIntentShippingDetailsAddressParams : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc public class STPConfirmWeChatPayOptions : ObjectiveC.NSObject { + @objc public var appId: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc required public init(appId: Swift.String) + @objc deinit + @objc override dynamic public init() +} +extension STPConfirmWeChatPayOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodGiropayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPMultiFormTextField : UIKit.UIView, Stripe.STPFormTextFieldContainer, UIKit.UITextFieldDelegate { + @objc public func textField(_ textField: UIKit.UITextField, shouldChangeCharactersIn range: Foundation.NSRange, replacementString string: Swift.String) -> Swift.Bool + @objc public func focusNextForm() + @objc override dynamic public var canResignFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func resignFirstResponder() -> Swift.Bool + @objc override dynamic public var isFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public var canBecomeFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func becomeFirstResponder() -> Swift.Bool + @objc public func textFieldDidEndEditing(_ textField: UIKit.UITextField) + @objc public func textFieldDidBeginEditing(_ textField: UIKit.UITextField) + @objc public func textFieldShouldReturn(_ textField: UIKit.UITextField) -> Swift.Bool + @objc public var formFont: UIKit.UIFont { + @objc get + @objc set + } + @objc public var formTextColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formTextErrorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formPlaceholderColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formCursorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formKeyboardAppearance: UIKit.UIKeyboardAppearance { + @objc get + @objc set + } + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPImageLibrary : ObjectiveC.NSObject { + @objc public class func applePayCardImage() -> UIKit.UIImage + @objc public class func amexCardImage() -> UIKit.UIImage + @objc public class func dinersClubCardImage() -> UIKit.UIImage + @objc public class func discoverCardImage() -> UIKit.UIImage + @objc public class func jcbCardImage() -> UIKit.UIImage + @objc public class func mastercardCardImage() -> UIKit.UIImage + @objc public class func unionPayCardImage() -> UIKit.UIImage + @objc public class func visaCardImage() -> UIKit.UIImage + @objc public class func unknownCardCardImage() -> UIKit.UIImage + @objc(brandImageForCardBrand:) public class func cardBrandImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc(brandImageForFPXBankBrand:) public class func fpxBrandImage(for brand: Stripe.STPFPXBankBrand) -> UIKit.UIImage + @objc public class func fpxLogo() -> UIKit.UIImage + @objc public class func largeFpxLogo() -> UIKit.UIImage + @objc public class func afterpayLogo() -> UIKit.UIImage + @objc(templatedBrandImageForCardBrand:) public class func templatedBrandImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc(cvcImageForCardBrand:) public class func cvcImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc(errorImageForCardBrand:) public class func errorImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodCardNetworks : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var available: [Swift.String] { + get + } + @objc public var preferred: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPSourceParams : ObjectiveC.NSObject, Stripe.STPFormEncodable, Foundation.NSCopying { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var type: Stripe.STPSourceType { + @objc get + @objc set(type) + } + @objc public var rawTypeString: Swift.String? + @objc public var amount: Foundation.NSNumber? + @objc public var currency: Swift.String? + @objc public var flow: Stripe.STPSourceFlow + @objc public var metadata: [Swift.AnyHashable : Any]? + @objc public var owner: [Swift.AnyHashable : Any]? + @objc public var redirect: [Swift.AnyHashable : Any]? + @objc public var token: Swift.String? + @objc public var usage: Stripe.STPSourceUsage + @objc override required dynamic public init() + @objc deinit +} +extension STPSourceParams { + @objc dynamic public class func bancontactParams(withAmount amount: Swift.Int, name: Swift.String, returnURL: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func cardParams(withCard card: Stripe.STPCardParams) -> Stripe.STPSourceParams + @objc dynamic public class func giropayParams(withAmount amount: Swift.Int, name: Swift.String, returnURL: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func idealParams(withAmount amount: Swift.Int, name: Swift.String?, returnURL: Swift.String, statementDescriptor: Swift.String?, bank: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func sepaDebitParams(withName name: Swift.String, iban: Swift.String, addressLine1: Swift.String?, city: Swift.String?, postalCode: Swift.String?, country: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func sofortParams(withAmount amount: Swift.Int, returnURL: Swift.String, country: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @available(swift, obsoleted: 1.0) + @objc(klarnaParamsWithReturnURL:currency:purchaseCountry:items:customPaymentMethods:billingAddress:billingFirstName:billingLastName:billingDOB:) dynamic public class func objc_klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Foundation.NSNumber], billingAddress address: Stripe.STPAddress?, billingFirstName firstName: Swift.String?, billingLastName lastName: Swift.String?, billingDOB dateOfBirth: Stripe.STPDateOfBirth?) -> Stripe.STPSourceParams + public class func klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Stripe.STPKlarnaPaymentMethods], billingAddress address: Stripe.STPAddress? = nil, billingFirstName firstName: Swift.String? = nil, billingLastName lastName: Swift.String? = nil, billingDOB dateOfBirth: Stripe.STPDateOfBirth? = nil) -> Stripe.STPSourceParams + @available(swift, obsoleted: 1.0) + @objc(klarnaParamsWithReturnURL:currency:purchaseCountry:items:customPaymentMethods:) dynamic public class func objc_klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Foundation.NSNumber]) -> Stripe.STPSourceParams + public class func klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Stripe.STPKlarnaPaymentMethods]) -> Stripe.STPSourceParams + @objc dynamic public class func threeDSecureParams(withAmount amount: Swift.Int, currency: Swift.String, returnURL: Swift.String, card: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func alipayParams(withAmount amount: Swift.Int, currency: Swift.String, returnURL: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func alipayReusableParams(withCurrency currency: Swift.String, returnURL: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func p24Params(withAmount amount: Swift.Int, currency: Swift.String, email: Swift.String, name: Swift.String?, returnURL: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func visaCheckoutParams(withCallId callId: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func masterpassParams(withCartId cartId: Swift.String, transactionId: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func epsParams(withAmount amount: Swift.Int, name: Swift.String, returnURL: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func multibancoParams(withAmount amount: Swift.Int, returnURL: Swift.String, email: Swift.String) -> Stripe.STPSourceParams + @objc(wechatPayParamsWithAmount:currency:appId:statementDescriptor:) dynamic public class func wechatPay(withAmount amount: Swift.Int, currency: Swift.String, appId: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc dynamic public func redirectDictionaryWithMerchantNameIfNecessary() -> [Swift.AnyHashable : Any] + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc public enum STPThreeDSCustomizationButtonType : Swift.Int { + case submit = 0 + case `continue` = 1 + case next = 2 + case cancel = 3 + case resend = 4 + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPThreeDSButtonTitleStyle : Swift.Int { + case `default` + case uppercase + case lowercase + case sentenceCapitalized + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public class STPThreeDSButtonCustomization : ObjectiveC.NSObject { + @objc(defaultSettingsForButtonType:) public class func defaultSettings(for type: Stripe.STPThreeDSCustomizationButtonType) -> Stripe.STPThreeDSButtonCustomization + @objc public init(backgroundColor: UIKit.UIColor, cornerRadius: CoreGraphics.CGFloat) + @objc public var backgroundColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var cornerRadius: CoreGraphics.CGFloat { + @objc get + @objc set + } + @objc public var titleStyle: Stripe.STPThreeDSButtonTitleStyle { + @objc get + @objc set + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPPaymentIntentCaptureMethod : Swift.Int { + case unknown + case automatic + case manual + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentIntentConfirmationMethod : Swift.Int { + case unknown + case manual + case automatic + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntent : ObjectiveC.NSObject { + @objc final public let stripeId: Swift.String + @objc final public let clientSecret: Swift.String + @objc final public let amount: Swift.Int + @objc final public let canceledAt: Foundation.Date? + @objc final public let captureMethod: Stripe.STPPaymentIntentCaptureMethod + @objc final public let confirmationMethod: Stripe.STPPaymentIntentConfirmationMethod + @objc final public let created: Foundation.Date + @objc final public let currency: Swift.String + @objc final public let stripeDescription: Swift.String? + @objc final public let livemode: Swift.Bool + @objc final public let nextAction: Stripe.STPIntentAction? + @objc final public let receiptEmail: Swift.String? + @objc final public let sourceId: Swift.String? + @objc final public let paymentMethodId: Swift.String? + @objc final public let status: Stripe.STPPaymentIntentStatus + @objc final public let paymentMethodTypes: [Foundation.NSNumber] + @objc final public let setupFutureUsage: Stripe.STPPaymentIntentSetupFutureUsage + @objc final public let lastPaymentError: Stripe.STPPaymentIntentLastPaymentError? + @objc final public let shipping: Stripe.STPPaymentIntentShippingDetails? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntent : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +extension STPPaymentIntent { + @available(*, deprecated, renamed: "nextAction", message: "Use nextAction instead") + @objc dynamic public var nextSourceAction: Stripe.STPIntentAction? { + @objc get + } +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSFooterCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSFooterCustomization + @objc public var backgroundColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var chevronColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var headingTextColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var headingFont: UIKit.UIFont { + @objc get + @objc set + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc deinit + @objc override dynamic public init() +} +extension STPAPIClient { + public func createRadarSession(completion: @escaping Stripe.STPRadarSessionCompletionBlock) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, unavailable, renamed: "STPIntentActionRedirectToURL", message: "Use `STPIntentActionRedirectToURL` instead.") +@objc final public class STPPaymentIntentActionRedirectToURL : Stripe.STPIntentActionRedirectToURL { + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPShippingAddressViewController : Stripe.STPCoreTableViewController { + @objc convenience dynamic public init() + @objc(initWithPaymentContext:) convenience public init(paymentContext: Stripe.STPPaymentContext) + @objc(initWithConfiguration:theme:currency:shippingAddress:selectedShippingMethod:prefilledInformation:) public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme, currency: Swift.String?, shippingAddress: Stripe.STPAddress?, selectedShippingMethod: PassKit.PKShippingMethod?, prefilledInformation: Stripe.STPUserInformation?) + @objc weak public var delegate: Stripe.STPShippingAddressViewControllerDelegate? + @objc(dismissWithCompletion:) public func dismiss(withCompletion completion: StripeApplePay.STPVoidBlock?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required public init(theme: Stripe.STPTheme?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool) + @objc override public func tableView(_ tableView: UIKit.UITableView, heightForHeaderInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc deinit +} +@objc public protocol STPShippingAddressViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc func shippingAddressViewControllerDidCancel(_ addressViewController: Stripe.STPShippingAddressViewController) + @objc(shippingAddressViewController:didEnterAddress:completion:) func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didEnter address: Stripe.STPAddress, completion: @escaping Stripe.STPShippingMethodsCompletionBlock) + @objc(shippingAddressViewController:didFinishWithAddress:shippingMethod:) func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didFinishWith address: Stripe.STPAddress, shippingMethod method: PassKit.PKShippingMethod?) +} +extension STPShippingAddressViewController : UIKit.UITableViewDelegate, UIKit.UITableViewDataSource { + @objc dynamic public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, willDisplay cell: UIKit.UITableViewCell, forRowAt indexPath: Foundation.IndexPath) + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, viewForFooterInSection section: Swift.Int) -> UIKit.UIView? + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, viewForHeaderInSection section: Swift.Int) -> UIKit.UIView? +} +@objc public enum STPPaymentMethodCardCheckResult : Swift.Int { + case pass + case failed + case unavailable + case unchecked + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardChecks : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @available(*, deprecated, message: "Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var addressLine1Check: Stripe.STPPaymentMethodCardCheckResult { + get + } + @available(*, deprecated, message: "Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var addressPostalCodeCheck: Stripe.STPPaymentMethodCardCheckResult { + get + } + @available(*, deprecated, message: "Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var cvcCheck: Stripe.STPPaymentMethodCardCheckResult { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +extension STPBankAccountHolderType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPBankAccountStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPBankSelectionMethod : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPBillingAddressFields : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardBrand : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardFormViewStyle : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardFundingType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardValidationState : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPConnectAccountBusinessType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPFPXBankBrand : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPFilePurpose : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPIntentActionType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPKlarnaLineItemType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPKlarnaPaymentMethods : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPMandateCustomerAcceptanceType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentHandlerActionStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentHandlerErrorCode : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentActionType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentCaptureMethod : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentConfirmationMethod : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentLastPaymentErrorType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentSetupFutureUsage : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension STPPaymentIntentSourceActionType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentMethodCardCheckResult : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentMethodCardWalletType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentMethodType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPinStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPRedirectContextError : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPRedirectContextState : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSetupIntentLastSetupErrorType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSetupIntentStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSetupIntentUsage : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPShippingStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPShippingType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceCard3DSecureStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceFlow : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceRedirectStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceUsage : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceVerificationStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPThreeDSButtonTitleStyle : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPThreeDSCustomizationButtonType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPTokenType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +@objc public enum STPTokenType : Swift.Int { + case account = 0 + case bankAccount + case card + case PII + case cvcUpdate + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPToken : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPSourceProtocol { + @objc public var tokenId: Swift.String { + get + } + @objc public var livemode: Swift.Bool { + get + } + @objc public var type: Stripe.STPTokenType { + get + } + @objc public var card: Stripe.STPCard? { + get + } + @objc public var bankAccount: Stripe.STPBankAccount? { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public var debugDescription: Swift.String { + @objc get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc public var stripeID: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@_inheritsConvenienceInitializers @objc public class STPPaymentMethodBLIKParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPCoreScrollViewController : Stripe.STPCoreViewController { + @objc public var scrollView: UIKit.UIScrollView { + @objc get + @objc set + } + @objc override dynamic public func viewDidLoad() + @objc override dynamic public func viewDidLayoutSubviews() + @objc required public init(theme: Stripe.STPTheme?) + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc deinit +} +@objc public enum STPSourceFlow : Swift.Int { + case none + case redirect + case codeVerification + case receiver + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPSourceUsage : Swift.Int { + case reusable + case singleUse + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPSourceStatus : Swift.Int { + case pending + case chargeable + case consumed + case canceled + case failed + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPSourceType : Swift.Int { + case bancontact + case card + case giropay + @objc(STPSourceTypeiDEAL) case iDEAL + case SEPADebit + case sofort + case threeDSecure + case alipay + case P24 + case EPS + case multibanco + case weChatPay + case klarna + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPKlarnaPaymentMethods : Swift.Int { + case none + case payIn4 + case installments + case payIn4OrInstallments + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountIndividualParams : ObjectiveC.NSObject { + @objc public var address: Stripe.STPConnectAccountAddress? + @objc public var kanaAddress: Stripe.STPConnectAccountAddress? + @objc public var kanjiAddress: Stripe.STPConnectAccountAddress? + @objc public var dateOfBirth: Foundation.DateComponents? + @objc public var email: Swift.String? + @objc public var firstName: Swift.String? + @objc public var kanaFirstName: Swift.String? + @objc public var kanjiFirstName: Swift.String? + @objc public var gender: Swift.String? + @objc public var idNumber: Swift.String? + @objc public var lastName: Swift.String? + @objc public var kanaLastName: Swift.String? + @objc public var kanjiLastName: Swift.String? + @objc public var maidenName: Swift.String? + @objc public var metadata: [Swift.AnyHashable : Any]? + @objc public var phone: Swift.String? + @objc public var ssnLast4: Swift.String? + @objc public var verification: Stripe.STPConnectAccountIndividualVerification? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountIndividualParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountIndividualVerification : ObjectiveC.NSObject { + @objc public var document: Stripe.STPConnectAccountVerificationDocument? + @objc public var additionalDocument: Stripe.STPConnectAccountVerificationDocument? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountIndividualVerification : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountVerificationDocument : ObjectiveC.NSObject { + @objc public var back: Swift.String? + @objc public var front: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountVerificationDocument : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPDateOfBirth : ObjectiveC.NSObject { + @objc public var day: Swift.Int + @objc public var month: Swift.Int + @objc public var year: Swift.Int + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc deinit + @objc override dynamic public init() +} +extension STPDateOfBirth : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionRedirectToURL : ObjectiveC.NSObject { + @objc final public let url: Foundation.URL + @objc final public let returnURL: Foundation.URL? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPIntentActionRedirectToURL : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodGrabPayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +extension Stripe.STPSourceVerificationStatus : Swift.Equatable {} +extension Stripe.STPSourceVerificationStatus : Swift.Hashable {} +extension Stripe.STPSourceVerificationStatus : Swift.RawRepresentable {} +extension Stripe.STPBankSelectionMethod : Swift.Equatable {} +extension Stripe.STPBankSelectionMethod : Swift.Hashable {} +extension Stripe.STPBankSelectionMethod : Swift.RawRepresentable {} +extension Stripe.STPBankAccountHolderType : Swift.Equatable {} +extension Stripe.STPBankAccountHolderType : Swift.Hashable {} +extension Stripe.STPBankAccountHolderType : Swift.RawRepresentable {} +extension Stripe.STPSetupIntentStatus : Swift.Equatable {} +extension Stripe.STPSetupIntentStatus : Swift.Hashable {} +extension Stripe.STPSetupIntentStatus : Swift.RawRepresentable {} +extension Stripe.STPSetupIntentUsage : Swift.Equatable {} +extension Stripe.STPSetupIntentUsage : Swift.Hashable {} +extension Stripe.STPSetupIntentUsage : Swift.RawRepresentable {} +extension Stripe.STPConnectAccountBusinessType : Swift.Equatable {} +extension Stripe.STPConnectAccountBusinessType : Swift.Hashable {} +extension Stripe.STPConnectAccountBusinessType : Swift.RawRepresentable {} +extension Stripe.STPShippingType : Swift.Equatable {} +extension Stripe.STPShippingType : Swift.Hashable {} +extension Stripe.STPShippingType : Swift.RawRepresentable {} +extension Stripe.STPShippingStatus : Swift.Equatable {} +extension Stripe.STPShippingStatus : Swift.Hashable {} +extension Stripe.STPShippingStatus : Swift.RawRepresentable {} +extension Stripe.STPPaymentStatus : Swift.Equatable {} +extension Stripe.STPPaymentStatus : Swift.Hashable {} +extension Stripe.STPPaymentStatus : Swift.RawRepresentable {} +extension Stripe.STPPinStatus : Swift.Equatable {} +extension Stripe.STPPinStatus : Swift.Hashable {} +extension Stripe.STPPinStatus : Swift.RawRepresentable {} +extension Stripe.STPRedirectContextError : Swift.Equatable {} +extension Stripe.STPRedirectContextError : Swift.Hashable {} +extension Stripe.STPRedirectContextError : Swift.RawRepresentable {} +extension Stripe.STPRedirectContextState : Swift.Equatable {} +extension Stripe.STPRedirectContextState : Swift.Hashable {} +extension Stripe.STPRedirectContextState : Swift.RawRepresentable {} +extension Stripe.STPKlarnaLineItemType : Swift.Equatable {} +extension Stripe.STPKlarnaLineItemType : Swift.Hashable {} +extension Stripe.STPKlarnaLineItemType : Swift.RawRepresentable {} +extension Stripe.STPPaymentMethodType : Swift.Equatable {} +extension Stripe.STPPaymentMethodType : Swift.Hashable {} +extension Stripe.STPPaymentMethodType : Swift.RawRepresentable {} +extension Stripe.STPPaymentCardTextField : UIKit.UITextFieldDelegate {} +extension Stripe.STPSourceRedirectStatus : Swift.Equatable {} +extension Stripe.STPSourceRedirectStatus : Swift.Hashable {} +extension Stripe.STPSourceRedirectStatus : Swift.RawRepresentable {} +extension Stripe.STPFilePurpose : Swift.Equatable {} +extension Stripe.STPFilePurpose : Swift.Hashable {} +extension Stripe.STPFilePurpose : Swift.RawRepresentable {} +extension Stripe.STPPaymentHandlerActionStatus : Swift.Equatable {} +extension Stripe.STPPaymentHandlerActionStatus : Swift.Hashable {} +extension Stripe.STPPaymentHandlerActionStatus : Swift.RawRepresentable {} +extension Stripe.STPPaymentHandlerErrorCode : Swift.Equatable {} +extension Stripe.STPPaymentHandlerErrorCode : Swift.Hashable {} +extension Stripe.STPPaymentHandlerErrorCode : Swift.RawRepresentable {} +extension Stripe.STPSourceCard3DSecureStatus : Swift.Equatable {} +extension Stripe.STPSourceCard3DSecureStatus : Swift.Hashable {} +extension Stripe.STPSourceCard3DSecureStatus : Swift.RawRepresentable {} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +extension Stripe._stpobjc_STPErrorCode : Swift.Equatable {} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +extension Stripe._stpobjc_STPErrorCode : Swift.Hashable {} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +extension Stripe._stpobjc_STPErrorCode : Swift.RawRepresentable {} +extension Stripe.STPCardFundingType : Swift.Equatable {} +extension Stripe.STPCardFundingType : Swift.Hashable {} +extension Stripe.STPCardFundingType : Swift.RawRepresentable {} +extension Stripe.STPPaymentMethodCardWalletType : Swift.Equatable {} +extension Stripe.STPPaymentMethodCardWalletType : Swift.Hashable {} +extension Stripe.STPPaymentMethodCardWalletType : Swift.RawRepresentable {} +@available(iOS 13.0, *) +extension Stripe.PaymentSheet.UserInterfaceStyle : Swift.Equatable {} +@available(iOS 13.0, *) +extension Stripe.PaymentSheet.UserInterfaceStyle : Swift.Hashable {} +@available(iOS 13.0, *) +extension Stripe.PaymentSheet.UserInterfaceStyle : Swift.RawRepresentable {} +extension Stripe.PaymentSheet.SavePaymentMethodOptInBehavior : Swift.Equatable {} +extension Stripe.PaymentSheet.SavePaymentMethodOptInBehavior : Swift.Hashable {} +extension Stripe.STPCardBrand : Swift.Equatable {} +extension Stripe.STPCardBrand : Swift.Hashable {} +extension Stripe.STPCardBrand : Swift.RawRepresentable {} +extension Stripe.STPBankAccountStatus : Swift.Equatable {} +extension Stripe.STPBankAccountStatus : Swift.Hashable {} +extension Stripe.STPBankAccountStatus : Swift.RawRepresentable {} +extension Stripe.STPMandateCustomerAcceptanceType : Swift.Equatable {} +extension Stripe.STPMandateCustomerAcceptanceType : Swift.Hashable {} +extension Stripe.STPMandateCustomerAcceptanceType : Swift.RawRepresentable {} +extension Stripe.STPBillingAddressFields : Swift.Equatable {} +extension Stripe.STPBillingAddressFields : Swift.Hashable {} +extension Stripe.STPBillingAddressFields : Swift.RawRepresentable {} +extension Stripe.STPCardFormViewStyle : Swift.Equatable {} +extension Stripe.STPCardFormViewStyle : Swift.Hashable {} +extension Stripe.STPCardFormViewStyle : Swift.RawRepresentable {} +extension Stripe.STPSetupIntentLastSetupErrorType : Swift.Equatable {} +extension Stripe.STPSetupIntentLastSetupErrorType : Swift.Hashable {} +extension Stripe.STPSetupIntentLastSetupErrorType : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentLastPaymentErrorType : Swift.Equatable {} +extension Stripe.STPPaymentIntentLastPaymentErrorType : Swift.Hashable {} +extension Stripe.STPPaymentIntentLastPaymentErrorType : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentStatus : Swift.Equatable {} +extension Stripe.STPPaymentIntentStatus : Swift.Hashable {} +extension Stripe.STPPaymentIntentStatus : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentSetupFutureUsage : Swift.Equatable {} +extension Stripe.STPPaymentIntentSetupFutureUsage : Swift.Hashable {} +extension Stripe.STPPaymentIntentSetupFutureUsage : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentActionType : Swift.Equatable {} +extension Stripe.STPPaymentIntentActionType : Swift.Hashable {} +extension Stripe.STPPaymentIntentActionType : Swift.RawRepresentable {} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension Stripe.STPPaymentIntentSourceActionType : Swift.Equatable {} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension Stripe.STPPaymentIntentSourceActionType : Swift.Hashable {} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension Stripe.STPPaymentIntentSourceActionType : Swift.RawRepresentable {} +extension Stripe.STPFPXBankBrand : Swift.Equatable {} +extension Stripe.STPFPXBankBrand : Swift.Hashable {} +extension Stripe.STPFPXBankBrand : Swift.RawRepresentable {} +extension Stripe.STPCardValidationState : Swift.Equatable {} +extension Stripe.STPCardValidationState : Swift.Hashable {} +extension Stripe.STPCardValidationState : Swift.RawRepresentable {} +extension Stripe.STPIntentActionType : Swift.Equatable {} +extension Stripe.STPIntentActionType : Swift.Hashable {} +extension Stripe.STPIntentActionType : Swift.RawRepresentable {} +extension Stripe.STPThreeDSCustomizationButtonType : Swift.Equatable {} +extension Stripe.STPThreeDSCustomizationButtonType : Swift.Hashable {} +extension Stripe.STPThreeDSCustomizationButtonType : Swift.RawRepresentable {} +extension Stripe.STPThreeDSButtonTitleStyle : Swift.Equatable {} +extension Stripe.STPThreeDSButtonTitleStyle : Swift.Hashable {} +extension Stripe.STPThreeDSButtonTitleStyle : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentCaptureMethod : Swift.Equatable {} +extension Stripe.STPPaymentIntentCaptureMethod : Swift.Hashable {} +extension Stripe.STPPaymentIntentCaptureMethod : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentConfirmationMethod : Swift.Equatable {} +extension Stripe.STPPaymentIntentConfirmationMethod : Swift.Hashable {} +extension Stripe.STPPaymentIntentConfirmationMethod : Swift.RawRepresentable {} +extension Stripe.STPPaymentMethodCardCheckResult : Swift.Equatable {} +extension Stripe.STPPaymentMethodCardCheckResult : Swift.Hashable {} +extension Stripe.STPPaymentMethodCardCheckResult : Swift.RawRepresentable {} +extension Stripe.STPKlarnaPaymentMethods : Swift.Equatable {} +extension Stripe.STPKlarnaPaymentMethods : Swift.Hashable {} +extension Stripe.STPKlarnaPaymentMethods : Swift.RawRepresentable {} +extension Stripe.STPSourceFlow : Swift.Equatable {} +extension Stripe.STPSourceFlow : Swift.Hashable {} +extension Stripe.STPSourceFlow : Swift.RawRepresentable {} +extension Stripe.STPSourceStatus : Swift.Equatable {} +extension Stripe.STPSourceStatus : Swift.Hashable {} +extension Stripe.STPSourceStatus : Swift.RawRepresentable {} +extension Stripe.STPSourceType : Swift.Equatable {} +extension Stripe.STPSourceType : Swift.Hashable {} +extension Stripe.STPSourceType : Swift.RawRepresentable {} +extension Stripe.STPSourceUsage : Swift.Equatable {} +extension Stripe.STPSourceUsage : Swift.Hashable {} +extension Stripe.STPSourceUsage : Swift.RawRepresentable {} +extension Stripe.STPTokenType : Swift.Equatable {} +extension Stripe.STPTokenType : Swift.Hashable {} +extension Stripe.STPTokenType : Swift.RawRepresentable {} diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/Modules/Stripe.swiftmodule/arm64.swiftdoc b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/Modules/Stripe.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..cd4becd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/Modules/Stripe.swiftmodule/arm64.swiftdoc differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/Modules/Stripe.swiftmodule/arm64.swiftinterface b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/Modules/Stripe.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..05c4efe --- /dev/null +++ b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/Modules/Stripe.swiftmodule/arm64.swiftinterface @@ -0,0 +1,4764 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name Stripe +import AVFoundation +import CommonCrypto +import Contacts +import CoreLocation +import Foundation +import ObjectiveC +import PassKit +import SafariServices +import Security +@_exported import Stripe +import Stripe3DS2 +@_exported import StripeApplePay +@_exported import StripeCore +import StripeUICore +import Swift +import SwiftUI +import UIKit +import Vision +extension STPAPIClient { + public var configuration: Stripe.STPPaymentConfiguration { + get + set + } + @available(*, deprecated, message: "This initializer previously configured publishableKey and stripeAccount via the STPPaymentConfiguration instance. This behavior is deprecated; set the STPAPIClient configuration, publishableKey, and stripeAccount properties directly on the STPAPIClient instead.") + convenience public init(configuration: Stripe.STPPaymentConfiguration) +} +extension STPAPIClient { + public func createToken(withBankAccount bankAccount: Stripe.STPBankAccountParams, completion: @escaping Stripe.STPTokenCompletionBlock) +} +extension STPAPIClient { + public func createToken(withPersonalIDNumber pii: Swift.String, completion: Stripe.STPTokenCompletionBlock?) + public func createToken(withSSNLast4 ssnLast4: Swift.String, completion: @escaping Stripe.STPTokenCompletionBlock) +} +extension STPAPIClient { + public func createToken(withConnectAccount account: Stripe.STPConnectAccountParams, completion: Stripe.STPTokenCompletionBlock?) +} +extension STPAPIClient { + public func uploadImage(_ image: UIKit.UIImage, purpose: Stripe.STPFilePurpose, completion: Stripe.STPFileCompletionBlock?) +} +extension STPAPIClient { + public func createToken(withCard cardParams: Stripe.STPCardParams, completion: @escaping Stripe.STPTokenCompletionBlock) + public func createToken(forCVCUpdate cvc: Swift.String, completion: Stripe.STPTokenCompletionBlock? = nil) +} +extension STPAPIClient { + public func createSource(with sourceParams: Stripe.STPSourceParams, completion: @escaping Stripe.STPSourceCompletionBlock) + public func retrieveSource(withId identifier: Swift.String, clientSecret secret: Swift.String, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public func startPollingSource(withId identifier: Swift.String, clientSecret secret: Swift.String, timeout: Foundation.TimeInterval, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public func stopPollingSource(withId identifier: Swift.String) +} +extension STPAPIClient { + public func retrievePaymentIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + public func retrievePaymentIntent(withClientSecret secret: Swift.String, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) +} +extension STPAPIClient { + public func retrieveSetupIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPSetupIntentCompletionBlock) + public func confirmSetupIntent(with setupIntentParams: Stripe.STPSetupIntentConfirmParams, completion: @escaping Stripe.STPSetupIntentCompletionBlock) +} +extension STPAPIClient { + public func createPaymentMethod(with paymentMethodParams: Stripe.STPPaymentMethodParams, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSLabelCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSLabelCustomization + @objc public var headingFont: UIKit.UIFont { + @objc get + @objc set(headingFont) + } + @objc public var headingTextColor: UIKit.UIColor { + @objc get + @objc set(headingTextColor) + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set(textColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodUPI : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var vpa: Swift.String { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPSourceVerificationStatus : Swift.Int { + case pending + case succeeded + case failed + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceVerification : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var attemptsRemaining: Foundation.NSNumber? { + get + } + @objc public var status: Stripe.STPSourceVerificationStatus { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodOXXO : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public enum STPBankSelectionMethod : Swift.Int { + case FPX + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPBankSelectionViewController : Stripe.STPCoreTableViewController, UIKit.UITableViewDataSource, UIKit.UITableViewDelegate { + @objc convenience public init(bankMethod: Stripe.STPBankSelectionMethod) + @objc convenience required public init(theme: Stripe.STPTheme?) + @objc public init(bankMethod: Stripe.STPBankSelectionMethod, configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc weak public var delegate: Stripe.STPBankSelectionViewControllerDelegate? + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc deinit + @objc public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell + @objc public func tableView(_ tableView: UIKit.UITableView, willDisplay cell: UIKit.UITableViewCell, forRowAt indexPath: Foundation.IndexPath) + @objc public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc public func tableView(_ tableView: UIKit.UITableView, shouldHighlightRowAt indexPath: Foundation.IndexPath) -> Swift.Bool + @objc public func tableView(_ tableView: UIKit.UITableView, didSelectRowAt indexPath: Foundation.IndexPath) +} +@objc public protocol STPBankSelectionViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc(bankSelectionViewController:didCreatePaymentMethodParams:) func bankSelectionViewController(_ bankViewController: Stripe.STPBankSelectionViewController, didCreatePaymentMethodParams paymentMethodParams: Stripe.STPPaymentMethodParams) +} +@objc @_inheritsConvenienceInitializers public class STPSetupIntentConfirmParams : ObjectiveC.NSObject, Foundation.NSCopying, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(clientSecret: Swift.String) + @objc public var clientSecret: Swift.String + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? + @objc public var paymentMethodID: Swift.String? + @objc public var returnURL: Swift.String? + @objc public var useStripeSDK: Foundation.NSNumber? + @objc public var mandateData: Stripe.STPMandateDataParams? { + @objc get + @objc set(newMandateData) + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSUICustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSUICustomization + @objc public var navigationBarCustomization: Stripe.STPThreeDSNavigationBarCustomization { + @objc get + @objc set(navigationBarCustomization) + } + @objc public var labelCustomization: Stripe.STPThreeDSLabelCustomization { + @objc get + @objc set(labelCustomization) + } + @objc public var textFieldCustomization: Stripe.STPThreeDSTextFieldCustomization { + @objc get + @objc set(textFieldCustomization) + } + @objc public var backgroundColor: UIKit.UIColor { + @objc get + @objc set(backgroundColor) + } + @objc public var footerCustomization: Stripe.STPThreeDSFooterCustomization { + @objc get + @objc set(footerCustomization) + } + @objc(setButtonCustomization:forType:) public func setButtonCustomization(_ buttonCustomization: Stripe.STPThreeDSButtonCustomization, for buttonType: Stripe.STPThreeDSCustomizationButtonType) + @objc(buttonCustomizationForButtonType:) public func buttonCustomization(for buttonType: Stripe.STPThreeDSCustomizationButtonType) -> Stripe.STPThreeDSButtonCustomization + @objc public var selectionCustomization: Stripe.STPThreeDSSelectionCustomization { + @objc get + @objc set(selectionCustomization) + } + @objc public var activityIndicatorViewStyle: UIKit.UIActivityIndicatorView.Style { + @objc get + @objc set(activityIndicatorViewStyle) + } + @objc public var blurStyle: UIKit.UIBlurEffect.Style { + @objc get + @objc set(blurStyle) + } + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceWeChatPayDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var weChatAppURL: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@_inheritsConvenienceInitializers @available(swift, obsoleted: 0.0.1, message: "Use 'StripeAPI' instead.") +@objc(StripeAPI) public class _stpobjc_StripeAPI : ObjectiveC.NSObject { + @objc public static var defaultPublishableKey: Swift.String? { + @objc get + @objc set + } + @objc public static var advancedFraudSignalsEnabled: Swift.Bool { + @objc get + @objc set + } + @objc public static var maxRetries: Swift.Int { + @objc get + @objc set + } + @discardableResult + @objc(handleStripeURLCallbackWithURL:) public static func handleURLCallback(with url: Foundation.URL) -> Swift.Bool + @objc public class var jcbPaymentNetworkSupported: Swift.Bool { + @objc get + @objc set + } + @objc public static var additionalEnabledApplePayNetworks: [PassKit.PKPaymentNetwork] { + @objc get + @objc set + } + @objc public class func canSubmitPaymentRequest(_ paymentRequest: PassKit.PKPaymentRequest) -> Swift.Bool + @objc dynamic public class func deviceSupportsApplePay() -> Swift.Bool + @available(*, deprecated, message: "Use `paymentRequestWithMerchantIdentifier:country:currency:` instead.") + @objc public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String) -> PassKit.PKPaymentRequest + @objc public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String, country countryCode: Swift.String, currency currencyCode: Swift.String) -> PassKit.PKPaymentRequest + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPBankAccountHolderType : Swift.Int { + case individual + case company + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPBankAccountParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var accountNumber: Swift.String? + @objc public var last4: Swift.String? { + @objc get + } + @objc public var routingNumber: Swift.String? + @objc public var country: Swift.String? + @objc public var currency: Swift.String? + @objc public var accountHolderName: Swift.String? + @objc public var accountHolderType: Stripe.STPBankAccountHolderType + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public init() + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit +} +@objc public class STPMandateOnlineParams : ObjectiveC.NSObject { + @objc final public let ipAddress: Swift.String + @objc final public let userAgent: Swift.String + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc(initWithIPAddress:userAgent:) public init(ipAddress: Swift.String, userAgent: Swift.String) + @objc override dynamic public init() + @objc deinit +} +extension STPMandateOnlineParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPSetupIntentStatus : Swift.Int { + case unknown + case requiresPaymentMethod + case requiresConfirmation + case requiresAction + case processing + case succeeded + case canceled + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPSetupIntentUsage : Swift.Int { + case unknown + case none + case onSession + case offSession + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionAlipayHandleRedirect : ObjectiveC.NSObject { + @objc final public let nativeURL: Foundation.URL? + @objc final public let returnURL: Foundation.URL + @objc final public let url: Foundation.URL + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPIntentActionAlipayHandleRedirect : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_hasMissingDesignatedInitializers open class STPCustomerContext : ObjectiveC.NSObject, Stripe.STPBackendAPIAdapter { + @objc(initWithKeyProvider:) convenience public init(keyProvider: Stripe.STPCustomerEphemeralKeyProvider) + convenience public init(keyProvider: Stripe.STPCustomerEphemeralKeyProvider?, apiClient: StripeCore.STPAPIClient) + @available(swift, deprecated: 0.0.1, renamed: "init(keyProvider:apiClient:)") + @objc(initWithKeyProvider:apiClient:) convenience public init(keyProvider: Stripe.STPCustomerEphemeralKeyProvider?, apiClient: Stripe._stpobjc_STPAPIClient) + @objc public func clearCache() + @objc public var includeApplePayPaymentMethods: Swift.Bool { + @objc get + @objc set(includeApplePayMethods) + } + @objc public func retrieveCustomer(_ completion: Stripe.STPCustomerCompletionBlock? = nil) + @objc public func updateCustomer(withShippingAddress shipping: Stripe.STPAddress, completion: Stripe.STPErrorBlock?) + @objc public func attachPaymentMethodToCustomer(paymentMethodId: Swift.String, completion: Stripe.STPErrorBlock?) + @objc public func attachPaymentMethod(toCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc public func detachPaymentMethodFromCustomer(paymentMethodId: Swift.String, completion: Stripe.STPErrorBlock?) + @objc public func detachPaymentMethod(fromCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc public func listPaymentMethodsForCustomer(completion: Stripe.STPPaymentMethodsCompletionBlock? = nil) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodLinkParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodEPS : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPConnectAccountBusinessType : Swift.Int { + case individual + case company + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public class STPConnectAccountParams : ObjectiveC.NSObject { + @objc final public let tosShownAndAccepted: Foundation.NSNumber? + @objc final public let businessType: Stripe.STPConnectAccountBusinessType + @objc final public let individual: Stripe.STPConnectAccountIndividualParams? + @objc final public let company: Stripe.STPConnectAccountCompanyParams? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init?(tosShownAndAccepted wasAccepted: Swift.Bool, individual: Stripe.STPConnectAccountIndividualParams) + @objc public init?(tosShownAndAccepted wasAccepted: Swift.Bool, company: Stripe.STPConnectAccountCompanyParams) + @objc public init(individual: Stripe.STPConnectAccountIndividualParams) + @objc public init(company: Stripe.STPConnectAccountCompanyParams) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountParams : Stripe.STPFormEncodable { + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodFPX : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var bankIdentifierCode: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPCoreTableViewController : Stripe.STPCoreScrollViewController { + @objc public var tableView: UIKit.UITableView? { + @objc get + } + @objc override dynamic public func viewWillAppear(_ animated: Swift.Bool) + @objc public func tableView(_ tableView: UIKit.UITableView, heightForHeaderInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc required public init(theme: Stripe.STPTheme?) + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc deinit +} +@objc public enum STPShippingType : Swift.Int { + case shipping + case delivery + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPShippingStatus : Swift.Int { + case valid + case invalid + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentStatus : Swift.Int { + case success + case error + case userCancellation + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPErrorBlock = (Swift.Error?) -> Swift.Void +public typealias STPBooleanSuccessBlock = (Swift.Bool, Swift.Error?) -> Swift.Void +public typealias STPJSONResponseCompletionBlock = ([Swift.AnyHashable : Any]?, Swift.Error?) -> Swift.Void +public typealias STPTokenCompletionBlock = (Stripe.STPToken?, Swift.Error?) -> Swift.Void +public typealias STPSourceCompletionBlock = (Stripe.STPSource?, Swift.Error?) -> Swift.Void +public typealias STPSourceProtocolCompletionBlock = (Stripe.STPSourceProtocol?, Swift.Error?) -> Swift.Void +public typealias STPPaymentIntentCompletionBlock = (Stripe.STPPaymentIntent?, Swift.Error?) -> Swift.Void +public typealias STPSetupIntentCompletionBlock = (Stripe.STPSetupIntent?, Swift.Error?) -> Swift.Void +public typealias STPPaymentMethodCompletionBlock = (Stripe.STPPaymentMethod?, Swift.Error?) -> Swift.Void +public typealias STPPaymentMethodsCompletionBlock = ([Stripe.STPPaymentMethod]?, Swift.Error?) -> Swift.Void +public typealias STPShippingMethodsCompletionBlock = (Stripe.STPShippingStatus, Swift.Error?, [PassKit.PKShippingMethod]?, PassKit.PKShippingMethod?) -> Swift.Void +public typealias STPFileCompletionBlock = (Stripe.STPFile?, Swift.Error?) -> Swift.Void +public typealias STPCustomerCompletionBlock = (Stripe.STPCustomer?, Swift.Error?) -> Swift.Void +@objc public enum STPPinStatus : Swift.Int { + case success + case errorVerificationAlreadyRedeemed + case errorVerificationCodeIncorrect + case errorVerificationExpired + case errorVerificationTooManyAttempts + case ephemeralKeyError + case unknownError + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPPinCompletionBlock = (Stripe.STPIssuingCardPin?, Stripe.STPPinStatus, Swift.Error?) -> Swift.Void +public typealias STPPaymentStatusBlock = (Stripe.STPPaymentStatus, Swift.Error?) -> Swift.Void +public typealias STPRadarSessionCompletionBlock = (Stripe.STPRadarSession?, Swift.Error?) -> Swift.Void +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceKlarnaDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var clientToken: Swift.String? { + get + } + @objc public var purchaseCountry: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public class STPConfirmBLIKOptions : ObjectiveC.NSObject { + @objc public var code: Swift.String + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc required public init(code: Swift.String) + @objc deinit + @objc override dynamic public init() +} +extension STPConfirmBLIKOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPRedirectContextError : Swift.Int { + @objc(STPRedirectContextAppRedirectError) case appRedirectError + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPRedirectContextState : Swift.Int { + case notStarted + case inProgress + case cancelled + case completed + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPRedirectContextSourceCompletionBlock = (Swift.String, Swift.String?, Swift.Error?) -> Swift.Void +public typealias STPRedirectContextCompletionBlock = Stripe.STPRedirectContextSourceCompletionBlock +public typealias STPRedirectContextPaymentIntentCompletionBlock = (Swift.String, Swift.Error?) -> Swift.Void +@objc @_hasMissingDesignatedInitializers @available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +public class STPRedirectContext : ObjectiveC.NSObject, SafariServices.SFSafariViewControllerDelegate, UIKit.UIViewControllerTransitioningDelegate { + @objc public static let STPRedirectContextErrorDomain: Swift.String + @objc public var state: Stripe.STPRedirectContextState { + get + } + @objc convenience public init?(source: Stripe.STPSource, completion: @escaping Stripe.STPRedirectContextSourceCompletionBlock) + @objc convenience public init?(paymentIntent: Stripe.STPPaymentIntent, completion: @escaping Stripe.STPRedirectContextPaymentIntentCompletionBlock) + @objc(startRedirectFlowFromViewController:) public func startRedirectFlow(from presentingViewController: UIKit.UIViewController) + @objc(startSafariViewControllerRedirectFlowFromViewController:) dynamic public func startSafariViewControllerRedirectFlow(from presentingViewController: UIKit.UIViewController) + @objc public func startSafariAppRedirectFlow() + @objc public func cancel() + @objc deinit + @objc public func safariViewControllerDidFinish(_ controller: SafariServices.SFSafariViewController) + @objc public func safariViewController(_ controller: SafariServices.SFSafariViewController, didCompleteInitialLoad didLoadSuccessfully: Swift.Bool) + @objc public func safariViewController(_ controller: SafariServices.SFSafariViewController, initialLoadDidRedirectTo URL: Foundation.URL) + @objc public func presentationController(forPresented presented: UIKit.UIViewController, presenting: UIKit.UIViewController?, source: UIKit.UIViewController) -> UIKit.UIPresentationController? + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers final public class STPRadarSession : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let id: Swift.String + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc public static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Stripe.STPRadarSession? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPKlarnaLineItemType : Swift.Int { + case SKU + case tax + case shipping + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public class STPKlarnaLineItem : ObjectiveC.NSObject { + @objc public var itemType: Stripe.STPKlarnaLineItemType + @objc public var itemDescription: Swift.String + @objc public var quantity: Foundation.NSNumber + @objc public var totalAmount: Foundation.NSNumber + @objc public init(itemType: Stripe.STPKlarnaLineItemType, itemDescription: Swift.String, quantity: Foundation.NSNumber, totalAmount: Foundation.NSNumber) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodOXXOParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @IBDesignable open class STPPaymentCardTextField : UIKit.UIControl, UIKit.UIKeyInput { + @objc open func textField(_ textField: UIKit.UITextField, shouldChangeCharactersIn range: Foundation.NSRange, replacementString string: Swift.String) -> Swift.Bool + @objc @IBOutlet weak open var delegate: Stripe.STPPaymentCardTextFieldDelegate? + @objc open var font: UIKit.UIFont { + @objc get + @objc set + } + @objc open var textColor: UIKit.UIColor { + @objc get + @objc set + } + @objc open var textErrorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc open var placeholderColor: UIKit.UIColor { + @objc get + @objc set + } + @objc @IBInspectable open var numberPlaceholder: Swift.String? { + @objc get + @objc set(numberPlaceholder) + } + @objc @IBInspectable open var expirationPlaceholder: Swift.String? { + @objc get + @objc set(expirationPlaceholder) + } + @objc @IBInspectable open var cvcPlaceholder: Swift.String? { + @objc get + @objc set(cvcPlaceholder) + } + @objc @IBInspectable open var postalCodePlaceholder: Swift.String? { + @objc get + @objc set(postalCodePlaceholder) + } + @objc open var cursorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc open var borderColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc open var borderWidth: CoreGraphics.CGFloat { + @objc get + @objc set + } + @objc open var cornerRadius: CoreGraphics.CGFloat { + @objc get + @objc set + } + @objc open var keyboardAppearance: UIKit.UIKeyboardAppearance { + @objc get + @objc set + } + @objc override dynamic open var inputView: UIKit.UIView? { + @objc get + @objc set(inputView) + } + @objc override dynamic open var inputAccessoryView: UIKit.UIView? { + @objc get + @objc set(inputAccessoryView) + } + @objc open var brandImage: UIKit.UIImage? { + get + } + @objc dynamic open var isValid: Swift.Bool { + @objc get + } + @objc override dynamic open var isEnabled: Swift.Bool { + @objc get + @objc set(enabled) + } + @objc open var cardNumber: Swift.String? { + @objc get + } + @objc open var expirationMonth: Swift.Int { + @objc get + } + @objc open var formattedExpirationMonth: Swift.String? { + @objc get + } + @objc open var expirationYear: Swift.Int { + @objc get + } + @objc open var formattedExpirationYear: Swift.String? { + @objc get + } + @objc open var cvc: Swift.String? { + @objc get + } + @objc open var postalCode: Swift.String? { + @objc get + @objc set + } + @objc open var postalCodeEntryEnabled: Swift.Bool { + @objc get + @objc set(postalCodeEntryEnabled) + } + @objc open var countryCode: Swift.String? { + @objc get + @objc set(cCode) + } + @objc open var cardParams: Stripe.STPPaymentMethodCardParams { + @objc get + @objc set(callersCardParams) + } + @discardableResult + @objc override dynamic open func becomeFirstResponder() -> Swift.Bool + @discardableResult + @objc override dynamic open func resignFirstResponder() -> Swift.Bool + @objc open func clear() + @objc(cvcImageForCardBrand:) open class func cvcImage(for cardBrand: Stripe.STPCardBrand) -> UIKit.UIImage? + @objc(brandImageForCardBrand:) open class func brandImage(for cardBrand: Stripe.STPCardBrand) -> UIKit.UIImage? + @objc(errorImageForCardBrand:) open class func errorImage(for cardBrand: Stripe.STPCardBrand) -> UIKit.UIImage? + @objc(brandImageRectForBounds:) open func brandImageRect(forBounds bounds: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @objc(fieldsRectForBounds:) open func fieldsRect(forBounds bounds: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc override dynamic open func traitCollectionDidChange(_ previousTraitCollection: UIKit.UITraitCollection?) + @objc override dynamic open var backgroundColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc override dynamic open var contentVerticalAlignment: UIKit.UIControl.ContentVerticalAlignment { + @objc get + @objc set(contentVerticalAlignment) + } + @objc override dynamic open var isFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic open var canBecomeFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic open var canResignFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic open var intrinsicContentSize: CoreGraphics.CGSize { + @objc get + } + @objc override dynamic open func layoutSubviews() + @objc open func textFieldShouldBeginEditing(_ textField: UIKit.UITextField) -> Swift.Bool + @objc open func textFieldDidBeginEditing(_ textField: UIKit.UITextField) + @objc open func textFieldShouldEndEditing(_ textField: UIKit.UITextField) -> Swift.Bool + @objc open func textFieldDidEndEditing(_ textField: UIKit.UITextField) + @objc open func textFieldShouldReturn(_ textField: UIKit.UITextField) -> Swift.Bool + @objc open var hasText: Swift.Bool { + @objc get + } + @objc open func insertText(_ text: Swift.String) + @objc open func deleteBackward() + @objc open class func keyPathsForValuesAffectingIsValid() -> Swift.Set + @objc deinit +} +@objc public protocol STPPaymentCardTextFieldDelegate : ObjectiveC.NSObjectProtocol { + @objc optional func paymentCardTextFieldDidChange(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditing(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldWillEndEditing(forReturn textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditing(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingNumber(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingNumber(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingExpiration(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingExpiration(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingPostalCode(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingPostalCode(_ textField: Stripe.STPPaymentCardTextField) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceSEPADebitDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var last4: Swift.String? { + get + } + @objc public var bankCode: Swift.String? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var mandateReference: Swift.String? { + get + } + @objc public var mandateURL: Foundation.URL? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBacsDebitParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var accountNumber: Swift.String? + @objc public var sortCode: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodiDEALParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var bankName: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPAPIResponseDecodable : ObjectiveC.NSObjectProtocol { + @objc static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc var allResponseFields: [Swift.AnyHashable : Any] { get } +} +extension STPAPIClient { + public func createToken(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPTokenCompletionBlock) + public func createSource(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPSourceCompletionBlock) + public func createPaymentMethod(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) +} +@objc @_inheritsConvenienceInitializers public class STPPaymentIntentParams : ObjectiveC.NSObject { + @objc public init(clientSecret: Swift.String) + @objc public var stripeId: Swift.String? { + @objc get + } + @objc public var clientSecret: Swift.String + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? + @objc public var paymentMethodId: Swift.String? + @objc public var sourceParams: Stripe.STPSourceParams? + @objc public var sourceId: Swift.String? + @objc public var receiptEmail: Swift.String? + @objc public var savePaymentMethod: Foundation.NSNumber? + @objc public var returnURL: Swift.String? + public var setupFutureUsage: Stripe.STPPaymentIntentSetupFutureUsage? + @available(swift, obsoleted: 1.0, renamed: "setupFutureUsage") + @objc(setupFutureUsage) public var setupFutureUsage_objc: Foundation.NSNumber? { + @objc get + @objc set + } + @objc public var useStripeSDK: Foundation.NSNumber? + @objc public var mandateData: Stripe.STPMandateDataParams? { + @objc get + @objc set + } + @objc public var paymentMethodOptions: Stripe.STPConfirmPaymentMethodOptions? + @objc public var shipping: Stripe.STPPaymentIntentShippingDetailsParams? + @available(*, deprecated, renamed: "returnURL") + @objc public var returnUrl: Swift.String? { + @objc get + @objc set(returnUrl) + } + @available(*, deprecated, renamed: "savePaymentMethod") + @objc public var saveSourceToCustomer: Foundation.NSNumber? { + @objc get + @objc set(saveSourceToCustomer) + } + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public func configure(with paymentResult: Stripe.STPPaymentResult) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit +} +extension STPPaymentIntentParams : Stripe.STPFormEncodable { + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] +} +extension STPPaymentIntentParams : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodSEPADebit : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var bankCode: Swift.String? { + get + } + @objc public var branchCode: Swift.String? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var mandate: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@_hasMissingDesignatedInitializers @available(swift, deprecated: 0.0.1, renamed: "STPAPIClient") +@objc(STPAPIClient) public class _stpobjc_STPAPIClient : ObjectiveC.NSObject { + @objc public static let STPSDKVersion: Swift.String + @available(swift, deprecated: 0.0.1) + @objc(sharedClient) public static let shared: Stripe._stpobjc_STPAPIClient + @objc public var publishableKey: Swift.String? { + @objc get + @objc set + } + @objc public var configuration: Stripe.STPPaymentConfiguration { + @objc get + @objc set + } + @objc public var stripeAccount: Swift.String? { + @objc get + @objc set + } + @objc public var appInfo: Stripe._stpobjc_STPAppInfo? { + @objc get + @objc set + } + @objc public static let apiVersion: Swift.String + @objc public init(publishableKey: Swift.String) + @available(*, deprecated, message: "This initializer previously configured publishableKey and stripeAccount via the STPPaymentConfiguration instance. This behavior is deprecated; set the STPAPIClient configuration, publishableKey, and stripeAccount properties directly on the STPAPIClient instead.") + @objc public init(configuration: Stripe.STPPaymentConfiguration) + @objc public func createToken(withBankAccount bankAccount: Stripe.STPBankAccountParams, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc public func createToken(withPersonalIDNumber pii: Swift.String, completion: Stripe.STPTokenCompletionBlock?) + @objc public func createToken(withSSNLast4 ssnLast4: Swift.String, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc public func createToken(withConnectAccount account: Stripe.STPConnectAccountParams, completion: Stripe.STPTokenCompletionBlock?) + @objc public func uploadImage(_ image: UIKit.UIImage, purpose: Stripe.STPFilePurpose, completion: Stripe.STPFileCompletionBlock?) + @objc public func createToken(withCard cardParams: Stripe.STPCardParams, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc public func createToken(forCVCUpdate cvc: Swift.String, completion: Stripe.STPTokenCompletionBlock? = nil) + @objc(createSourceWithParams:completion:) public func createSource(with sourceParams: Stripe.STPSourceParams, completion: @escaping Stripe.STPSourceCompletionBlock) + @objc public func retrieveSource(withId identifier: Swift.String, clientSecret secret: Swift.String, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + @objc public func startPollingSource(withId identifier: Swift.String, clientSecret secret: Swift.String, timeout: Foundation.TimeInterval, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + @objc public func stopPollingSource(withId identifier: Swift.String) + @objc public func retrievePaymentIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc public func retrievePaymentIntent(withClientSecret secret: Swift.String, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc(confirmPaymentIntentWithParams:completion:) dynamic public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc(confirmPaymentIntentWithParams:expand:completion:) public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc public func retrieveSetupIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPSetupIntentCompletionBlock) + @objc(confirmSetupIntentWithParams:completion:) dynamic public func confirmSetupIntent(with setupIntentParams: Stripe.STPSetupIntentConfirmParams, completion: @escaping Stripe.STPSetupIntentCompletionBlock) + @objc(createPaymentMethodWithParams:completion:) public func createPaymentMethod(with paymentMethodParams: Stripe.STPPaymentMethodParams, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) + @objc public func createRadarSession(completion: @escaping Stripe.STPRadarSessionCompletionBlock) + @objc(createTokenWithPayment:completion:) public func createToken(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc(createSourceWithPayment:completion:) public func createSource(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPSourceCompletionBlock) + @objc(createPaymentMethodWithPayment:completion:) public func createPaymentMethod(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) + @objc public class func pkPaymentError(forStripeError stripeError: Swift.Error?) -> Swift.Error? + @objc override dynamic public init() + @objc deinit +} +@objc(STPPaymentContext) public class STPPaymentContext : ObjectiveC.NSObject, Stripe.STPAuthenticationContext, Stripe.STPPaymentOptionsViewControllerDelegate, Stripe.STPShippingAddressViewControllerDelegate { + @objc convenience public init(customerContext: Stripe.STPCustomerContext) + @objc convenience public init(customerContext: Stripe.STPCustomerContext, configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc convenience public init(apiAdapter: Stripe.STPBackendAPIAdapter) + @objc public init(apiAdapter: Stripe.STPBackendAPIAdapter, configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc public var apiAdapter: Stripe.STPBackendAPIAdapter { + get + } + @objc public var configuration: Stripe.STPPaymentConfiguration { + get + } + @objc public var theme: Stripe.STPTheme { + get + } + @objc public var prefilledInformation: Stripe.STPUserInformation? { + @objc get + @objc set(prefilledInformation) + } + @objc weak public var hostViewController: UIKit.UIViewController? { + @objc get + @objc set(hostViewController) + } + @objc weak public var delegate: Stripe.STPPaymentContextDelegate? { + @objc get + @objc set(delegate) + } + @objc public var loading: Swift.Bool { + @objc get + } + @objc public var defaultPaymentMethod: Swift.String? + @objc public var selectedPaymentOption: Stripe.STPPaymentOption? { + @objc get + } + @objc public var paymentOptions: [Stripe.STPPaymentOption]? { + @objc get + } + @objc public var selectedShippingMethod: PassKit.PKShippingMethod? { + get + } + @objc public var shippingMethods: [PassKit.PKShippingMethod]? { + @objc get + } + @objc public var shippingAddress: Stripe.STPAddress? { + get + } + @objc public var paymentAmount: Swift.Int { + @objc get + @objc set(paymentAmount) + } + @objc public var paymentCurrency: Swift.String + @objc public var paymentCountry: Swift.String + @objc public var paymentSummaryItems: [PassKit.PKPaymentSummaryItem] { + @objc get + @objc set(paymentSummaryItems) + } + @objc public var modalPresentationStyle: UIKit.UIModalPresentationStyle + @objc public var largeTitleDisplayMode: UIKit.UINavigationItem.LargeTitleDisplayMode + @objc public var paymentOptionsViewControllerFooterView: UIKit.UIView? + @objc public var addCardViewControllerFooterView: UIKit.UIView? + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public func retryLoading() + @objc public func presentPaymentOptionsViewController() + @objc public func pushPaymentOptionsViewController() + @objc public func presentShippingViewController() + @objc public func pushShippingViewController() + @objc public func requestPayment() + @objc public func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didSelect paymentOption: Stripe.STPPaymentOption) + @objc public func paymentOptionsViewControllerDidFinish(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc public func paymentOptionsViewControllerDidCancel(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc public func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didFailToLoadWithError error: Swift.Error) + @objc public func shippingAddressViewControllerDidCancel(_ addressViewController: Stripe.STPShippingAddressViewController) + @objc public func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didEnter address: Stripe.STPAddress, completion: @escaping Stripe.STPShippingMethodsCompletionBlock) + @objc public func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didFinishWith address: Stripe.STPAddress, shippingMethod method: PassKit.PKShippingMethod?) + @objc public func authenticationPresentingViewController() -> UIKit.UIViewController + @objc public func prepare(forPresentation completion: @escaping StripeApplePay.STPVoidBlock) + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPPaymentContextDelegate : ObjectiveC.NSObjectProtocol { + @objc func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didFailToLoadWithError error: Swift.Error) + @objc func paymentContextDidChange(_ paymentContext: Stripe.STPPaymentContext) + @objc func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didCreatePaymentResult paymentResult: Stripe.STPPaymentResult, completion: @escaping Stripe.STPPaymentStatusBlock) + @objc func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didFinishWith status: Stripe.STPPaymentStatus, error: Swift.Error?) + @objc optional func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didUpdateShippingAddress address: Stripe.STPAddress, completion: @escaping Stripe.STPShippingMethodsCompletionBlock) +} +@_hasMissingDesignatedInitializers @objc(STPAppInfo) public class _stpobjc_STPAppInfo : ObjectiveC.NSObject { + @objc public init(name: Swift.String, partnerId: Swift.String?, version: Swift.String?, url: Swift.String?) + @objc public var name: Swift.String { + @objc get + } + @objc public var partnerId: Swift.String? { + @objc get + } + @objc public var version: Swift.String? { + @objc get + } + @objc public var url: Swift.String? { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +@objc public class STPPaymentIntentShippingDetailsParams : ObjectiveC.NSObject { + @objc public var address: Stripe.STPPaymentIntentShippingDetailsAddressParams + @objc public var name: Swift.String + @objc public var carrier: Swift.String? + @objc public var phone: Swift.String? + @objc public var trackingNumber: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(address: Stripe.STPPaymentIntentShippingDetailsAddressParams, name: Swift.String) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetailsParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +extension STPPaymentIntentShippingDetailsParams : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc @_inheritsConvenienceInitializers public class STPConfirmCardOptions : ObjectiveC.NSObject { + @objc public var cvc: Swift.String? + @objc public var network: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPConfirmCardOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, unavailable, renamed: "STPIntentAction", message: "Use `STPIntentAction` instead.") +@objc final public class STPPaymentIntentSourceAction : Stripe.STPIntentAction { + @objc deinit +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension STPPaymentCardTextField { + public struct Representable : SwiftUI.UIViewRepresentable { + public init(paymentMethodParams: SwiftUI.Binding) + public func makeCoordinator() -> Stripe.STPPaymentCardTextField.Representable.Coordinator + public func makeUIView(context: Stripe.STPPaymentCardTextField.Representable.Context) -> Stripe.STPPaymentCardTextField + public func updateUIView(_ paymentCardField: Stripe.STPPaymentCardTextField, context: Stripe.STPPaymentCardTextField.Representable.Context) + @objc @_hasMissingDesignatedInitializers public class Coordinator : ObjectiveC.NSObject, Stripe.STPPaymentCardTextFieldDelegate { + @objc public func paymentCardTextFieldDidChange(_ cardField: Stripe.STPPaymentCardTextField) + @objc deinit + @objc override dynamic public init() + } + public typealias UIViewType = Stripe.STPPaymentCardTextField + public typealias Body = Swift.Never + } +} +@objc public enum STPSourceRedirectStatus : Swift.Int { + case pending + case succeeded + case failed + case notRequired + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPSourceRedirect : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var returnURL: Foundation.URL { + get + } + @objc public var status: Stripe.STPSourceRedirectStatus { + get + } + @objc public var url: Foundation.URL { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSNavigationBarCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSNavigationBarCustomization + @objc public var barTintColor: UIKit.UIColor? { + @objc get + @objc set(barTintColor) + } + @objc public var barStyle: UIKit.UIBarStyle { + @objc get + @objc set(barStyle) + } + @objc public var translucent: Swift.Bool { + @objc get + @objc set(translucent) + } + @objc public var headerText: Swift.String { + @objc get + @objc set(headerText) + } + @objc public var buttonText: Swift.String { + @objc get + @objc set(buttonText) + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set(textColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSource : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPSourceProtocol, Stripe.STPPaymentOption { + @objc public var amount: Foundation.NSNumber? { + get + } + @objc public var clientSecret: Swift.String? { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var currency: Swift.String? { + get + } + @objc public var flow: Stripe.STPSourceFlow { + get + } + @objc public var livemode: Swift.Bool { + get + } + @objc public var owner: Stripe.STPSourceOwner? { + get + } + @objc public var receiver: Stripe.STPSourceReceiver? { + get + } + @objc public var redirect: Stripe.STPSourceRedirect? { + get + } + @objc public var status: Stripe.STPSourceStatus { + get + } + @objc public var type: Stripe.STPSourceType { + get + } + @objc public var usage: Stripe.STPSourceUsage { + get + } + @objc public var verification: Stripe.STPSourceVerification? { + get + } + @objc public var details: [Swift.AnyHashable : Any]? { + get + } + @objc public var cardDetails: Stripe.STPSourceCardDetails? { + get + } + @objc public var klarnaDetails: Stripe.STPSourceKlarnaDetails? { + get + } + @objc public var sepaDebitDetails: Stripe.STPSourceSEPADebitDetails? { + get + } + @objc public var weChatPayDetails: Stripe.STPSourceWeChatPayDetails? { + get + } + @available(*, deprecated, message: "Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @objc public var stripeID: Swift.String + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc deinit +} +@objc public enum STPFilePurpose : Swift.Int { + case identityDocument + case disputeEvidence + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPFile : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var fileId: Swift.String? { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var purpose: Stripe.STPFilePurpose { + get + } + @objc public var size: Foundation.NSNumber? { + get + } + @objc public var type: Swift.String? { + get + } + @objc(stringFromPurpose:) public class func string(from purpose: Stripe.STPFilePurpose) -> Swift.String? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public protocol STPFormTextFieldContainer : ObjectiveC.NSObjectProtocol { + @objc dynamic var formFont: UIKit.UIFont { get set } + @objc dynamic var formTextColor: UIKit.UIColor { get set } + @objc dynamic var formTextErrorColor: UIKit.UIColor { get set } + @objc dynamic var formPlaceholderColor: UIKit.UIColor { get set } + @objc dynamic var formCursorColor: UIKit.UIColor { get set } + @objc dynamic var formKeyboardAppearance: UIKit.UIKeyboardAppearance { get set } +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBoletoParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var taxID: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc public class STPPushProvisioningContext : ObjectiveC.NSObject { + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public class func requestConfiguration(withName name: Swift.String, description: Swift.String?, last4: Swift.String?, brand: Stripe.STPCardBrand) -> PassKit.PKAddPaymentPassRequestConfiguration + @objc public init(keyProvider: Stripe.STPIssuingCardEphemeralKeyProvider) + @objc public func addPaymentPassViewController(_ controller: PassKit.PKAddPaymentPassViewController, generateRequestWithCertificateChain certificates: [Foundation.Data], nonce: Foundation.Data, nonceSignature: Foundation.Data, completionHandler handler: @escaping (PassKit.PKAddPaymentPassRequest) -> Swift.Void) + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPPaymentHandlerActionStatus : Swift.Int { + case succeeded + case canceled + case failed + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentHandlerErrorCode : Swift.Int { + @objc(STPPaymentHandlerUnsupportedAuthenticationErrorCode) case unsupportedAuthenticationErrorCode + @objc(STPPaymentHandlerRequiredAppNotAvailableErrorCode) case requiredAppNotAvailable + @objc(STPPaymentHandlerRequiresPaymentMethodErrorCode) case requiresPaymentMethodErrorCode + @objc(STPPaymentHandlerIntentStatusErrorCode) case intentStatusErrorCode + @objc(STPPaymentHandlerTimedOutErrorCode) case timedOutErrorCode + @objc(STPPaymentHandlerStripe3DS2ErrorCode) case stripe3DS2ErrorCode + @objc(STPPaymentHandlerNotAuthenticatedErrorCode) case notAuthenticatedErrorCode + @objc(STPPaymentHandlerNoConcurrentActionsErrorCode) case noConcurrentActionsErrorCode + @objc(STPPaymentHandlerRequiresAuthenticationContextErrorCode) case requiresAuthenticationContextErrorCode + @objc(STPPaymentHandlerPaymentErrorCode) case paymentErrorCode + @objc(STPPaymentHandlerInvalidClientSecret) case invalidClientSecret + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPPaymentHandlerActionPaymentIntentCompletionBlock = (Stripe.STPPaymentHandlerActionStatus, Stripe.STPPaymentIntent?, Foundation.NSError?) -> Swift.Void +public typealias STPPaymentHandlerActionSetupIntentCompletionBlock = (Stripe.STPPaymentHandlerActionStatus, Stripe.STPSetupIntent?, Foundation.NSError?) -> Swift.Void +@objc @_hasMissingDesignatedInitializers @available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +public class STPPaymentHandler : ObjectiveC.NSObject, SafariServices.SFSafariViewControllerDelegate { + @objc public static let errorDomain: Swift.String + @objc public static let sharedHandler: Stripe.STPPaymentHandler + @objc public class func shared() -> Stripe.STPPaymentHandler + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public var threeDSCustomizationSettings: Stripe.STPThreeDSCustomizationSettings + @objc public var simulateAppToAppRedirect: Swift.Bool { + @objc get + @objc set + } + @objc(confirmPayment:withAuthenticationContext:completion:) public func confirmPayment(_ paymentParams: Stripe.STPPaymentIntentParams, with authenticationContext: Stripe.STPAuthenticationContext, completion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) + @available(*, deprecated, renamed: "confirmPayment(_:with:completion:)", message: "Use confirmPayment(_:with:completion:) instead") + public func confirmPayment(withParams: Stripe.STPPaymentIntentParams, authenticationContext: Stripe.STPAuthenticationContext, completion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) + @objc(handleNextActionForPayment:withAuthenticationContext:returnURL:completion:) public func handleNextAction(forPayment paymentIntentClientSecret: Swift.String, with authenticationContext: Stripe.STPAuthenticationContext, returnURL: Swift.String?, completion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) + @objc(confirmSetupIntent:withAuthenticationContext:completion:) public func confirmSetupIntent(_ setupIntentConfirmParams: Stripe.STPSetupIntentConfirmParams, with authenticationContext: Stripe.STPAuthenticationContext, completion: @escaping Stripe.STPPaymentHandlerActionSetupIntentCompletionBlock) + @objc(handleNextActionForSetupIntent:withAuthenticationContext:returnURL:completion:) public func handleNextAction(forSetupIntent setupIntentClientSecret: Swift.String, with authenticationContext: Stripe.STPAuthenticationContext, returnURL: Swift.String?, completion: @escaping Stripe.STPPaymentHandlerActionSetupIntentCompletionBlock) + @objc public func safariViewControllerDidFinish(_ controller: SafariServices.SFSafariViewController) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSSelectionCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSSelectionCustomization + @objc public var primarySelectedColor: UIKit.UIColor { + @objc get + @objc set(primarySelectedColor) + } + @objc public var secondarySelectedColor: UIKit.UIColor { + @objc get + @objc set(secondarySelectedColor) + } + @objc public var unselectedBackgroundColor: UIKit.UIColor { + @objc get + @objc set(unselectedBackgroundColor) + } + @objc public var unselectedBorderColor: UIKit.UIColor { + @objc get + @objc set(unselectedBorderColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPPaymentMethodType : Swift.Int { + case card + case alipay + case grabPay + @objc(STPPaymentMethodTypeiDEAL) case iDEAL + case FPX + case cardPresent + @objc(STPPaymentMethodTypeSEPADebit) case SEPADebit + @objc(STPPaymentMethodTypeAUBECSDebit) case AUBECSDebit + case bacsDebit + case giropay + case przelewy24 + @objc(STPPaymentMethodTypeEPS) case EPS + case bancontact + case netBanking + @objc(STPPaymentMethodTypeOXXO) case OXXO + case sofort + case UPI + case payPal + case afterpayClearpay + @objc(STPPaymentMethodTypeBLIK) case blik + case weChatPay + case boleto + case link + case klarna + case linkInstantDebit + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPUserInformation : ObjectiveC.NSObject, Foundation.NSCopying { + @objc public var billingAddress: Stripe.STPAddress? + @objc public var shippingAddress: Stripe.STPAddress? + @objc(setBillingAddressWithBillingDetails:) public func setBillingAddress(with billingDetails: Stripe.STPPaymentMethodBillingDetails) + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPFakeAddPaymentPassViewController : UIKit.UIViewController { + @objc public class func canAddPaymentPass() -> Swift.Bool + @objc(initWithRequestConfiguration:delegate:) required public init?(requestConfiguration configuration: PassKit.PKAddPaymentPassRequestConfiguration, delegate: PassKit.PKAddPaymentPassViewControllerDelegate?) + @objc weak public var delegate: PassKit.PKAddPaymentPassViewControllerDelegate? + @objc convenience override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required convenience dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public func viewDidLoad() + @objc deinit +} +@objc public enum STPSourceCard3DSecureStatus : Swift.Int { + case required + case optional + case notSupported + case recommended + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPSourceCardDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var last4: Swift.String? { + get + } + @objc public var expMonth: Swift.UInt { + get + } + @objc public var expYear: Swift.UInt { + get + } + @objc public var brand: Stripe.STPCardBrand { + get + } + @objc public var funding: Stripe.STPCardFundingType { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var threeDSecure: Stripe.STPSourceCard3DSecureStatus { + get + } + @objc public var isApplePayCard: Swift.Bool { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPIssuingCardPin : ObjectiveC.NSObject { + @objc final public let pin: Swift.String? + @objc final public let error: [Swift.AnyHashable : Any]? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc deinit +} +extension STPIssuingCardPin : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodThreeDSecureUsage : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var supported: Swift.Bool { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionBoletoDisplayDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let number: Swift.String + @objc final public let expiresAt: Foundation.Date + @objc final public let hostedVoucherURL: Foundation.URL + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc(_stpinternal_apContextDelegate) public protocol STPApplePayContextDelegate : StripeApplePay._stpinternal_STPApplePayContextDelegateBase { + @objc(applePayContext:didCreatePaymentMethod:paymentInformation:completion:) func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, paymentInformation: PassKit.PKPayment, completion: @escaping StripeApplePay.STPIntentClientSecretCompletionBlock) + @objc(applePayContext:didCompleteWithStatus:error:) func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCompleteWith status: Stripe.STPPaymentStatus, error: Swift.Error?) +} +@objc(STPApplePayContextDelegate) public protocol _stpobjc_APContextDelegate : ObjectiveC.NSObjectProtocol { + @objc(applePayContext:didCreatePaymentMethod:paymentInformation:completion:) func applePayContext(_ context: Stripe._stpobjc_APContext, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, paymentInformation: PassKit.PKPayment, completion: @escaping StripeApplePay.STPIntentClientSecretCompletionBlock) + @objc(applePayContext:didCompleteWithStatus:error:) func applePayContext(_ context: Stripe._stpobjc_APContext, didCompleteWith status: Stripe.STPPaymentStatus, error: Swift.Error?) + @objc(applePayContext:didSelectShippingMethod:handler:) optional func applePayContext(_ context: Stripe._stpobjc_APContext, didSelect shippingMethod: PassKit.PKShippingMethod, handler: @escaping (PassKit.PKPaymentRequestShippingMethodUpdate) -> Swift.Void) + @objc optional func applePayContext(_ context: Stripe._stpobjc_APContext, didSelectShippingContact contact: PassKit.PKContact, handler: @escaping (PassKit.PKPaymentRequestShippingContactUpdate) -> Swift.Void) +} +@_hasMissingDesignatedInitializers @objc(STPApplePayContext) public class _stpobjc_APContext : ObjectiveC.NSObject { + @objc(initWithPaymentRequest:delegate:) required public init?(paymentRequest: PassKit.PKPaymentRequest, delegate: Stripe._stpobjc_APContextDelegate?) + @available(*, deprecated, renamed: "presentApplePay(completion:)", message: "Use `presentApplePay(completion:)` instead.") + @objc(presentApplePayOnViewController:completion:) public func presentApplePay(on viewController: UIKit.UIViewController, completion: StripeApplePay.STPVoidBlock? = nil) + @available(iOSApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + @available(macCatalystApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + @objc(presentApplePayWithCompletion:) public func presentApplePay(completion: StripeApplePay.STPVoidBlock? = nil) + @objc(presentApplePayFromWindow:withCompletion:) public func presentApplePay(from window: UIKit.UIWindow?, completion: StripeApplePay.STPVoidBlock? = nil) + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPCoreViewController : UIKit.UIViewController { + @objc convenience dynamic public init() + @objc required public init(theme: Stripe.STPTheme?) + @objc required override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public func viewDidLoad() + @objc override dynamic public func viewWillAppear(_ animated: Swift.Bool) + @objc override dynamic public func viewWillDisappear(_ animated: Swift.Bool) + @objc override dynamic public var preferredStatusBarStyle: UIKit.UIStatusBarStyle { + @objc get + } + @objc deinit +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension View { + public func paymentConfirmationSheet(isConfirmingPayment: SwiftUI.Binding, paymentIntentParams: Stripe.STPPaymentIntentParams, onCompletion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) -> some SwiftUI.View + + public func setupIntentConfirmationSheet(isConfirmingSetupIntent: SwiftUI.Binding, setupIntentParams: Stripe.STPSetupIntentConfirmParams, onCompletion: @escaping Stripe.STPPaymentHandlerActionSetupIntentCompletionBlock) -> some SwiftUI.View + +} +@objc @_inheritsConvenienceInitializers public class STPPaymentConfiguration : ObjectiveC.NSObject, Foundation.NSCopying { + @objc(sharedConfiguration) public static var shared: Stripe.STPPaymentConfiguration + @objc public var applePayEnabled: Swift.Bool { + @objc get + @objc set + } + @objc public var fpxEnabled: Swift.Bool + @objc public var requiredBillingAddressFields: Stripe.STPBillingAddressFields + @objc public var requiredShippingAddressFields: Swift.Set? + @objc public var verifyPrefilledShippingAddress: Swift.Bool + @objc public var shippingType: Stripe.STPShippingType + @objc public var availableCountries: Swift.Set + @objc public var companyName: Swift.String + @objc public var appleMerchantIdentifier: Swift.String? + @objc public var canDeletePaymentOptions: Swift.Bool + @objc public var cardScanningEnabled: Swift.Bool + @available(*, deprecated, message: "additionalPaymentOptions has been removed. Set applePayEnabled and fpxEnabled on STPPaymentConfiguration instead.") + @objc public var additionalPaymentOptions: Swift.Int + @available(*, deprecated, message: "If you used STPPaymentConfiguration.shared.publishableKey, use STPAPIClient.shared.publishableKey instead. If you passed a STPPaymentConfiguration instance to an SDK component, create an STPAPIClient, set publishableKey on it, and set the SDK component's APIClient property.") + @objc public var publishableKey: Swift.String? { + @objc get + @objc set(publishableKey) + } + @available(*, deprecated, message: "If you used STPPaymentConfiguration.shared.stripeAccount, use STPAPIClient.shared.stripeAccount instead. If you passed a STPPaymentConfiguration instance to an SDK component, create an STPAPIClient, set stripeAccount on it, and set the SDK component's APIClient property.") + @objc public var stripeAccount: Swift.String? { + @objc get + @objc set(stripeAccount) + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodNetBanking : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var bank: Swift.String { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPConfirmPaymentMethodOptions : ObjectiveC.NSObject { + @objc public var cardOptions: Stripe.STPConfirmCardOptions? + @objc public var alipayOptions: Stripe.STPConfirmAlipayOptions? + @objc public var blikOptions: Stripe.STPConfirmBLIKOptions? + @objc public var weChatPayOptions: Stripe.STPConfirmWeChatPayOptions? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPConfirmPaymentMethodOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAddress : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var city: Swift.String? + @objc public var country: Swift.String? + @objc public var line1: Swift.String? + @objc public var line2: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var state: Swift.String? + @objc public init(address: Stripe.STPAddress) + @objc required override dynamic public init() + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceOwner : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var address: Stripe.STPAddress? { + get + } + @objc public var email: Swift.String? { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var phone: Swift.String? { + get + } + @objc public var verifiedAddress: Stripe.STPAddress? { + get + } + @objc public var verifiedEmail: Swift.String? { + get + } + @objc public var verifiedName: Swift.String? { + get + } + @objc public var verifiedPhone: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public protocol STPPaymentOption : ObjectiveC.NSObjectProtocol { + @objc var image: UIKit.UIImage { get } + @objc var templateImage: UIKit.UIImage { get } + @objc var label: Swift.String { get } + @objc var isReusable: Swift.Bool { get } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentActivityIndicatorView : UIKit.UIView { + @objc public func setAnimating(_ animating: Swift.Bool, animated: Swift.Bool) + @objc public var animating: Swift.Bool { + @objc get + @objc set(animating) + } + @objc public var hidesWhenStopped: Swift.Bool { + @objc get + @objc set(hidesWhenStopped) + } + @objc override dynamic public var tintColor: UIKit.UIColor! { + @objc get + @objc set(tintColor) + } + @objc override dynamic public func layoutSubviews() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodEPSParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers final public class STPTheme : ObjectiveC.NSObject { + @objc public static let defaultTheme: Stripe.STPTheme + @available(*, deprecated, renamed: "defaultTheme", message: "Use defaultTheme instead") + public static func `default`() -> Stripe.STPTheme + @objc final public var primaryBackgroundColor: UIKit.UIColor + @objc final public var secondaryBackgroundColor: UIKit.UIColor + @objc final public var tertiaryBackgroundColor: UIKit.UIColor { + @objc get + } + @objc final public var quaternaryBackgroundColor: UIKit.UIColor { + @objc get + } + @objc final public var primaryForegroundColor: UIKit.UIColor + @objc final public var secondaryForegroundColor: UIKit.UIColor + @objc final public var tertiaryForegroundColor: UIKit.UIColor { + @objc get + } + @objc final public var accentColor: UIKit.UIColor + @objc final public var errorColor: UIKit.UIColor + @objc final public var font: UIKit.UIFont { + @objc get + @objc set + } + @objc final public var emphasisFont: UIKit.UIFont { + @objc get + @objc set + } + @objc final public var barStyle: UIKit.UIBarStyle { + @objc get + @objc set + } + @objc final public var translucentNavigationBar: Swift.Bool + @objc final public var smallFont: UIKit.UIFont { + @objc get + } + @objc final public var largeFont: UIKit.UIFont { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPTheme : Foundation.NSCopying { + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc public protocol STPAuthenticationContext : ObjectiveC.NSObjectProtocol { + @objc func authenticationPresentingViewController() -> UIKit.UIViewController + @objc(prepareAuthenticationContextForPresentation:) optional func prepare(forPresentation completion: @escaping StripeApplePay.STPVoidBlock) + @objc optional func configureSafariViewController(_ viewController: SafariServices.SFSafariViewController) + @objc(authenticationContextWillDismissViewController:) optional func authenticationContextWillDismiss(_ viewController: UIKit.UIViewController) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodiDEAL : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var bankName: Swift.String? { + get + } + @objc public var bankIdentifierCode: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public class STPPinManagementService : ObjectiveC.NSObject { + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public init(keyProvider: Stripe.STPIssuingCardEphemeralKeyProvider) + @objc public func retrievePin(_ cardId: Swift.String, verificationId: Swift.String, oneTimeCode: Swift.String, completion: @escaping Stripe.STPPinCompletionBlock) + @objc public func updatePin(_ cardId: Swift.String, newPin: Swift.String, verificationId: Swift.String, oneTimeCode: Swift.String, completion: @escaping Stripe.STPPinCompletionBlock) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPAddCardViewController : Stripe.STPCoreTableViewController, Stripe.STPPaymentCardTextFieldDelegate, UIKit.UITableViewDelegate, UIKit.UITableViewDataSource { + @objc convenience dynamic public init() + @objc(initWithConfiguration:theme:) public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc weak public var delegate: Stripe.STPAddCardViewControllerDelegate? + @objc public var prefilledInformation: Stripe.STPUserInformation? + @objc public var customFooterView: UIKit.UIView? { + @objc get + @objc set(footerView) + } + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public func tableView(_ tableView: UIKit.UITableView, estimatedHeightForRowAt indexPath: Foundation.IndexPath) -> CoreGraphics.CGFloat + @objc override dynamic public func viewDidLayoutSubviews() + @objc public func updateAppearance() + @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool) + @objc public func handleCancelTapped(_ sender: Any?) + @objc public func paymentCardTextFieldDidChange(_ textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldWillEndEditing(forReturn textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldDidBeginEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldDidEndEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldDidBeginEditing(_ textField: Stripe.STPPaymentCardTextField) + @objc public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell + @objc public func tableView(_ tableView: UIKit.UITableView, willDisplay cell: UIKit.UITableViewCell, forRowAt indexPath: Foundation.IndexPath) + @objc public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc override public func tableView(_ tableView: UIKit.UITableView, heightForHeaderInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc public func tableView(_ tableView: UIKit.UITableView, viewForHeaderInSection section: Swift.Int) -> UIKit.UIView? + @objc public func tableView(_ tableView: UIKit.UITableView, viewForFooterInSection section: Swift.Int) -> UIKit.UIView? + @objc override dynamic public func viewWillTransition(to size: CoreGraphics.CGSize, with coordinator: UIKit.UIViewControllerTransitionCoordinator) + @objc deinit +} +@objc public protocol STPAddCardViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc func addCardViewControllerDidCancel(_ addCardViewController: Stripe.STPAddCardViewController) + @objc func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, completion: @escaping Stripe.STPErrorBlock) + @available(*, deprecated, renamed: "addCardViewController(_:didCreatePaymentMethod:completion:)", message: "Use addCardViewController(_:didCreatePaymentMethod:completion:) instead and migrate your integration to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read") + @objc optional func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreateToken token: Stripe.STPToken, completion: (Swift.Error?) -> Swift.Void) + @available(*, deprecated, renamed: "addCardViewController(_:didCreatePaymentMethod:completion:)", message: "Use addCardViewController(_:didCreatePaymentMethod:completion:) instead and migrate your integration to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read") + @objc optional func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreateSource source: Stripe.STPSource, completion: (Swift.Error?) -> Swift.Void) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentOptionsViewController : Stripe.STPCoreViewController, Stripe.STPAddCardViewControllerDelegate { + @objc(initWithPaymentContext:) convenience public init(paymentContext: Stripe.STPPaymentContext) + @objc(initWithConfiguration:theme:customerContext:delegate:) convenience public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme, customerContext: Stripe.STPCustomerContext, delegate: Stripe.STPPaymentOptionsViewControllerDelegate) + @objc(initWithConfiguration:theme:apiAdapter:delegate:) public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme, apiAdapter: Stripe.STPBackendAPIAdapter, delegate: Stripe.STPPaymentOptionsViewControllerDelegate) + @objc public var prefilledInformation: Stripe.STPUserInformation? + @objc public var defaultPaymentMethod: Swift.String? + @objc public var paymentOptionsViewControllerFooterView: UIKit.UIView? + @objc public var addCardViewControllerFooterView: UIKit.UIView? + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc(dismissWithCompletion:) public func dismiss(withCompletion completion: StripeApplePay.STPVoidBlock?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required public init(theme: Stripe.STPTheme?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public func viewDidLayoutSubviews() + @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool) + @objc public func addCardViewControllerDidCancel(_ addCardViewController: Stripe.STPAddCardViewController) + @objc public func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, completion: @escaping Stripe.STPErrorBlock) + @objc deinit +} +@objc public protocol STPPaymentOptionsViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didFailToLoadWithError error: Swift.Error) + @objc func paymentOptionsViewControllerDidFinish(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc func paymentOptionsViewControllerDidCancel(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc(paymentOptionsViewController:didSelectPaymentOption:) optional func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didSelect paymentOption: Stripe.STPPaymentOption) +} +@frozen public enum PaymentSheetResult { + case completed + case canceled + case failed(error: Swift.Error) +} +@_hasMissingDesignatedInitializers public class PaymentSheet { + final public let configuration: Stripe.PaymentSheet.Configuration + public var mostRecentError: Swift.Error? { + get + } + convenience public init(paymentIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration) + convenience public init(setupIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public func present(from presentingViewController: UIKit.UIViewController, completion: @escaping (Stripe.PaymentSheetResult) -> ()) + @objc deinit +} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +@objc(STPErrorCode) public enum _stpobjc_STPErrorCode : Swift.Int { + @objc(STPConnectionError) case connectionError = 40 + @objc(STPInvalidRequestError) case invalidRequestError = 50 + @objc(STPAuthenticationError) case authenticationError = 51 + @objc(STPAPIError) case apiError = 60 + @objc(STPCardError) case cardError = 70 + @objc(STPCancellationError) case cancellationError = 80 + @objc(STPEphemeralKeyDecodingError) case ephemeralKeyDecodingError = 1000 + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @available(swift, deprecated: 0.0.1, renamed: "STPError") +@objc(STPError) public class _stpobjc_STPError : ObjectiveC.NSObject { + @objc public static let stripeDomain: Swift.String + @objc public static let errorMessageKey: Swift.String + @objc public static let hintKey: Swift.String + @objc public static let cardErrorCodeKey: Swift.String + @objc public static let errorParameterKey: Swift.String + @objc public static let stripeErrorCodeKey: Swift.String + @objc public static let stripeErrorTypeKey: Swift.String + @objc public static let stripeDeclineCodeKey: Swift.String + @objc public static let invalidNumber: Swift.String + @objc public static let invalidExpMonth: Swift.String + @objc public static let invalidExpYear: Swift.String + @objc public static let invalidCVC: Swift.String + @objc public static let incorrectNumber: Swift.String + @objc public static let expiredCard: Swift.String + @objc public static let cardDeclined: Swift.String + @objc public static let processingError: Swift.String + @objc public static let incorrectCVC: Swift.String + @objc public static let incorrectZip: Swift.String + @objc deinit + @objc override dynamic public init() +} +@objc extension NSError { + @available(swift, deprecated: 0.0.1, renamed: "stp_error(fromStripeResponse:)") + @objc(stp_errorFromStripeResponse:) public static func _stpobjc_stp_error(fromStripeResponse jsonDictionary: [Swift.AnyHashable : Any]?) -> Foundation.NSError? +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionOXXODisplayDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let expiresAfter: Foundation.Date + @objc final public let hostedVoucherURL: Foundation.URL + @objc final public let number: Swift.String + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc deinit + @objc override dynamic public init() +} +extension StripeAPI { + @available(*, deprecated, message: "Use `paymentRequestWithMerchantIdentifier:country:currency:` instead.") + public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String) -> PassKit.PKPaymentRequest +} +@available(*, deprecated, message: "Use StripeAPI.defaultPublishableKey instead. (StripeAPI.defaultPublishableKey = \"pk_12345_xyzabc\")") +public func setDefaultPublishableKey(_ publishableKey: Swift.String) +@available(*, deprecated, message: "Use StripeAPI.advancedFraudSignalsEnabled instead.") +public var advancedFraudSignalsEnabled: Swift.Bool { + get + set +} +@available(*, deprecated, message: "Use StripeAPI.jcbPaymentNetworkSupported instead.") +public var jcbPaymentNetworkSupported: Swift.Bool { + get + set +} +@available(*, deprecated, message: "Use StripeAPI.additionalEnabledApplePayNetworks instead.") +public var additionalEnabledApplePayNetworks: [PassKit.PKPaymentNetwork] { + get + set +} +@available(*, deprecated, message: "Use StripeAPI.canSubmitPaymentRequest(_:) instead.") +public func canSubmitPaymentRequest(_ paymentRequest: PassKit.PKPaymentRequest) -> Swift.Bool +@available(*, deprecated, message: "Use StripeAPI.deviceSupportsApplePay() instead.") +public func deviceSupportsApplePay() -> Swift.Bool +@available(*, deprecated, message: "Use StripeAPI.paymentRequest(withMerchantIdentifier:country:currency:) instead.") +public func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String, country countryCode: Swift.String, currency currencyCode: Swift.String) -> PassKit.PKPaymentRequest +@available(*, deprecated, message: "Use StripeAPI.handleURLCallback(with:) instead.") +public func handleURLCallback(with url: Foundation.URL) -> Swift.Bool +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBoleto : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let taxID: Swift.String + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension View { + public func paymentSheet(isPresented: SwiftUI.Binding, paymentSheet: Stripe.PaymentSheet, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void) -> some SwiftUI.View + + public func paymentOptionsSheet(isPresented: SwiftUI.Binding, paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onSheetDismissed: (() -> Swift.Void)?) -> some SwiftUI.View + + public func paymentConfirmationSheet(isConfirming: SwiftUI.Binding, paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void) -> some SwiftUI.View + + @available(*, deprecated, renamed: "paymentConfirmationSheet(isConfirming:paymentSheetFlowController:onCompletion:)") + public func paymentConfirmationSheet(isConfirmingPayment: SwiftUI.Binding, paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void) -> some SwiftUI.View + +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension PaymentSheet { + public struct PaymentButton : SwiftUI.View where Content : SwiftUI.View { + public init(paymentSheet: Stripe.PaymentSheet, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void, @SwiftUI.ViewBuilder content: () -> Content) + public var body: some SwiftUI.View { + get + } + public typealias Body = @_opaqueReturnTypeOf("$s6Stripe12PaymentSheetC0B6ButtonV4bodyQrvp", 0) 🦸 + } +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension PaymentSheet.FlowController { + public struct PaymentOptionsButton : SwiftUI.View where Content : SwiftUI.View { + public init(paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onSheetDismissed: @escaping () -> Swift.Void, @SwiftUI.ViewBuilder content: () -> Content) + public var body: some SwiftUI.View { + get + } + public typealias Body = @_opaqueReturnTypeOf("$s6Stripe12PaymentSheetC14FlowControllerC0B13OptionsButtonV4bodyQrvp", 0) 🦸 + } + @available(*, deprecated, renamed: "ConfirmButton") + public typealias ConfirmPaymentButton = Stripe.PaymentSheet.FlowController.ConfirmButton + public struct ConfirmButton : SwiftUI.View where Content : SwiftUI.View { + public init(paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void, @SwiftUI.ViewBuilder content: () -> Content) + public var body: some SwiftUI.View { + get + } + public typealias Body = @_opaqueReturnTypeOf("$s6Stripe12PaymentSheetC14FlowControllerC13ConfirmButtonV4bodyQrvp", 0) 🦸 + } +} +@objc public enum STPCardFundingType : Swift.Int { + case debit + case credit + case prepaid + case other + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPCard : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPPaymentOption, Stripe.STPSourceProtocol { + @objc public var last4: Swift.String { + get + } + @objc public var dynamicLast4: Swift.String? { + get + } + @objc public var isApplePayCard: Swift.Bool { + @objc get + } + @objc public var expMonth: Swift.Int { + get + } + @objc public var expYear: Swift.Int { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var address: Stripe.STPAddress? { + get + } + @objc public var brand: Stripe.STPCardBrand { + get + } + @objc public var funding: Stripe.STPCardFundingType { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var currency: Swift.String? { + get + } + @objc(stringFromBrand:) public class func string(from brand: Stripe.STPCardBrand) -> Swift.String + @objc(brandFromString:) public class func brand(from string: Swift.String) -> Stripe.STPCardBrand + @available(*, deprecated, message: "You cannot directly instantiate an STPCard. You should only use one that has been returned from an STPAPIClient callback.") + @objc(initWithID:brand:last4:expMonth:expYear:funding:) public init(id cardID: Swift.String, brand: Stripe.STPCardBrand, last4: Swift.String, expMonth: Swift.Int, expYear: Swift.Int, funding: Stripe.STPCardFundingType) + @objc(fundingFromString:) public class func funding(from string: Swift.String) -> Stripe.STPCardFundingType + @objc public var stripeID: Swift.String + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ other: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @available(*, deprecated, message: "Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @available(*, deprecated, message: "Use stripeID (defined in STPSourceProtocol)") + @objc public var cardId: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.line1") + @objc public var addressLine1: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.line2") + @objc public var addressLine2: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.city") + @objc public var addressCity: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.state") + @objc public var addressState: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.postalCode") + @objc public var addressZip: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.country") + @objc public var addressCountry: Swift.String? { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodCardParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc convenience public init(cardSourceParams: Stripe.STPCardParams) + @objc required override dynamic public init() + @objc public var number: Swift.String? + @objc public var expMonth: Foundation.NSNumber? + @objc public var expYear: Foundation.NSNumber? + @objc public var token: Swift.String? + @objc public var cvc: Swift.String? + @objc public var last4: Swift.String? { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public func isEqual(_ other: Any?) -> Swift.Bool + @objc deinit +} +@objc public class STPPushProvisioningDetailsParams : ObjectiveC.NSObject { + @objc public var cardId: Swift.String { + get + } + @objc public var certificates: [Foundation.Data] { + get + } + @objc public var nonce: Foundation.Data { + get + } + @objc public var nonceSignature: Foundation.Data { + get + } + @objc public var certificatesBase64: [Swift.String] { + @objc get + } + @objc public var nonceHex: Swift.String { + @objc get + } + @objc public var nonceSignatureHex: Swift.String { + @objc get + } + @objc required public init(cardId: Swift.String, certificates: [Foundation.Data], nonce: Foundation.Data, nonceSignature: Foundation.Data) + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountAddress : ObjectiveC.NSObject { + @objc public var city: Swift.String? + @objc public var country: Swift.String? + @objc public var line1: Swift.String? + @objc public var line2: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var state: Swift.String? + @objc public var town: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountAddress : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPConfirmAlipayOptions : ObjectiveC.NSObject { + @objc public var appBundleID: Swift.String { + @objc get + } + @objc public var appVersionKey: Swift.String { + @objc get + } + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConfirmAlipayOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPPaymentMethodCardWalletType : Swift.Int { + case amexExpressCheckout + case applePay + case googlePay + case masterpass + case samsungPay + case visaCheckout + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardWallet : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var type: Stripe.STPPaymentMethodCardWalletType { + get + } + @objc public var masterpass: Stripe.STPPaymentMethodCardWalletMasterpass? { + get + } + @objc public var visaCheckout: Stripe.STPPaymentMethodCardWalletVisaCheckout? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +extension PaymentSheet { + @available(iOS 13.0, *) + public enum UserInterfaceStyle : Swift.Int { + case automatic + case alwaysLight + case alwaysDark + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } + } + public enum SavePaymentMethodOptInBehavior { + case automatic + case requiresOptIn + case requiresOptOut + public static func == (a: Stripe.PaymentSheet.SavePaymentMethodOptInBehavior, b: Stripe.PaymentSheet.SavePaymentMethodOptInBehavior) -> Swift.Bool + public var hashValue: Swift.Int { + get + } + public func hash(into hasher: inout Swift.Hasher) + } + public struct Configuration { + public var allowsDelayedPaymentMethods: Swift.Bool + public var apiClient: StripeCore.STPAPIClient + public var applePay: Stripe.PaymentSheet.ApplePayConfiguration? + public var primaryButtonColor: UIKit.UIColor + @available(iOS 13.0, *) + public var style: Stripe.PaymentSheet.UserInterfaceStyle { + get + set + } + public var customer: Stripe.PaymentSheet.CustomerConfiguration? + public var merchantDisplayName: Swift.String + public var returnURL: Swift.String? + public init() + public var defaultBillingDetails: Stripe.PaymentSheet.BillingDetails + public var savePaymentMethodOptInBehavior: Stripe.PaymentSheet.SavePaymentMethodOptInBehavior + } + public struct CustomerConfiguration { + public let id: Swift.String + public let ephemeralKeySecret: Swift.String + public init(id: Swift.String, ephemeralKeySecret: Swift.String) + } + public struct ApplePayConfiguration { + public let merchantId: Swift.String + public let merchantCountryCode: Swift.String + public init(merchantId: Swift.String, merchantCountryCode: Swift.String) + } + public struct Address { + public var city: Swift.String? + public var country: Swift.String? + public var line1: Swift.String? + public var line2: Swift.String? + public var postalCode: Swift.String? + public var state: Swift.String? + public init(city: Swift.String? = nil, country: Swift.String? = nil, line1: Swift.String? = nil, line2: Swift.String? = nil, postalCode: Swift.String? = nil, state: Swift.String? = nil) + } + public struct BillingDetails { + public var address: Stripe.PaymentSheet.Address + public var email: Swift.String? + public var name: Swift.String? + public var phone: Swift.String? + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodLink : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPBackendAPIAdapter : ObjectiveC.NSObjectProtocol { + @objc func retrieveCustomer(_ completion: Stripe.STPCustomerCompletionBlock?) + @objc func listPaymentMethodsForCustomer(completion: Stripe.STPPaymentMethodsCompletionBlock?) + @objc func attachPaymentMethod(toCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc optional func detachPaymentMethod(fromCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc optional func updateCustomer(withShippingAddress shipping: Stripe.STPAddress, completion: Stripe.STPErrorBlock?) +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntentShippingDetailsAddress : ObjectiveC.NSObject { + @objc final public let city: Swift.String? + @objc final public let country: Swift.String? + @objc final public let line1: Swift.String? + @objc final public let line2: Swift.String? + @objc final public let postalCode: Swift.String? + @objc final public let state: Swift.String? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetailsAddress : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntentShippingDetails : ObjectiveC.NSObject { + @objc final public let address: Stripe.STPPaymentIntentShippingDetailsAddress? + @objc final public let name: Swift.String? + @objc final public let carrier: Swift.String? + @objc final public let phone: Swift.String? + @objc final public let trackingNumber: Swift.String? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetails : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc public enum STPCardBrand : Swift.Int { + case visa + case amex + case mastercard + case discover + case JCB + case dinersClub + case unionPay + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @available(*, deprecated, message: "STPStringFromCardBrand has been replaced with STPCardBrandUtilities.stringFrom(brand)") +@objc public class STPStringFromCardBrand : ObjectiveC.NSObject { + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPCardBrandUtilities : ObjectiveC.NSObject { + @objc(stringFromCardBrand:) public static func stringFrom(_ brand: Stripe.STPCardBrand) -> Swift.String? + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPCustomerEphemeralKeyProvider : ObjectiveC.NSObjectProtocol { + @objc(createCustomerKeyWithAPIVersion:completion:) func createCustomerKey(withAPIVersion apiVersion: Swift.String, completion: @escaping Stripe.STPJSONResponseCompletionBlock) +} +@objc public protocol STPIssuingCardEphemeralKeyProvider : ObjectiveC.NSObjectProtocol { + @objc(createIssuingCardKeyWithAPIVersion:completion:) func createIssuingCardKey(withAPIVersion apiVersion: Swift.String, completion: @escaping Stripe.STPJSONResponseCompletionBlock) +} +@available(*, deprecated, message: "use `STPCustomerEphemeralKeyProvider` or `STPIssuingCardEphemeralKeyProvider` depending on the type of key that will be fetched.") +@objc public protocol STPEphemeralKeyProvider : Stripe.STPCustomerEphemeralKeyProvider { +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBacsDebit : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var sortCode: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPBankAccountStatus : Swift.Int { + case new + case validated + case verified + case verificationFailed + case errored + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPBankAccount : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPSourceProtocol { + @objc public var routingNumber: Swift.String? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var currency: Swift.String? { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var bankName: Swift.String? { + get + } + @objc public var accountHolderName: Swift.String? { + get + } + @objc public var accountHolderType: Stripe.STPBankAccountHolderType { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var status: Stripe.STPBankAccountStatus { + get + } + @available(*, deprecated, message: "Use stripeID (defined in STPSourceProtocol)") + @objc public var bankAccountId: Swift.String? { + @objc get + } + @objc public var stripeID: Swift.String { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ bankAccount: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodSEPADebitParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var iban: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodParams : ObjectiveC.NSObject, Stripe.STPFormEncodable, Stripe.STPPaymentOption { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var type: Stripe.STPPaymentMethodType { + @objc get + @objc set(newType) + } + @objc public var rawTypeString: Swift.String? + @objc public var billingDetails: Stripe.STPPaymentMethodBillingDetails? + @objc public var card: Stripe.STPPaymentMethodCardParams? + @objc public var alipay: Stripe.STPPaymentMethodAlipayParams? + @objc public var iDEAL: Stripe.STPPaymentMethodiDEALParams? + @objc public var fpx: Stripe.STPPaymentMethodFPXParams? + @objc public var sepaDebit: Stripe.STPPaymentMethodSEPADebitParams? + @objc public var bacsDebit: Stripe.STPPaymentMethodBacsDebitParams? + @objc public var auBECSDebit: Stripe.STPPaymentMethodAUBECSDebitParams? + @objc public var giropay: Stripe.STPPaymentMethodGiropayParams? + @objc public var payPal: Stripe.STPPaymentMethodPayPalParams? + @objc public var przelewy24: Stripe.STPPaymentMethodPrzelewy24Params? + @objc public var eps: Stripe.STPPaymentMethodEPSParams? + @objc public var bancontact: Stripe.STPPaymentMethodBancontactParams? + @objc public var netBanking: Stripe.STPPaymentMethodNetBankingParams? + @objc public var oxxo: Stripe.STPPaymentMethodOXXOParams? + @objc public var sofort: Stripe.STPPaymentMethodSofortParams? + @objc public var upi: Stripe.STPPaymentMethodUPIParams? + @objc public var grabPay: Stripe.STPPaymentMethodGrabPayParams? + @objc public var afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpayParams? + @objc public var blik: Stripe.STPPaymentMethodBLIKParams? + @objc public var boleto: Stripe.STPPaymentMethodBoletoParams? + @objc public var link: Stripe.STPPaymentMethodLinkParams? + @objc public var klarna: Stripe.STPPaymentMethodKlarnaParams? + @objc public var metadata: [Swift.String : Swift.String]? + @objc convenience public init(card: Stripe.STPPaymentMethodCardParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(iDEAL: Stripe.STPPaymentMethodiDEALParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(fpx: Stripe.STPPaymentMethodFPXParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(sepaDebit: Stripe.STPPaymentMethodSEPADebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(bacsDebit: Stripe.STPPaymentMethodBacsDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(aubecsDebit auBECSDebit: Stripe.STPPaymentMethodAUBECSDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(giropay: Stripe.STPPaymentMethodGiropayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(eps: Stripe.STPPaymentMethodEPSParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(przelewy24: Stripe.STPPaymentMethodPrzelewy24Params, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(bancontact: Stripe.STPPaymentMethodBancontactParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(netBanking: Stripe.STPPaymentMethodNetBankingParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(grabPay: Stripe.STPPaymentMethodGrabPayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(oxxo: Stripe.STPPaymentMethodOXXOParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(sofort: Stripe.STPPaymentMethodSofortParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(upi: Stripe.STPPaymentMethodUPIParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(alipay: Stripe.STPPaymentMethodAlipayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(payPal: Stripe.STPPaymentMethodPayPalParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(blik: Stripe.STPPaymentMethodBLIKParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(boleto: Stripe.STPPaymentMethodBoletoParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(klarna: Stripe.STPPaymentMethodKlarnaParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init?(singleUsePaymentMethod paymentMethod: Stripe.STPPaymentMethod) + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +@objc extension STPPaymentMethodParams { + @objc(paramsWithCard:billingDetails:metadata:) dynamic public class func paramsWith(card: Stripe.STPPaymentMethodCardParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithiDEAL:billingDetails:metadata:) dynamic public class func paramsWith(iDEAL: Stripe.STPPaymentMethodiDEALParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithFPX:billingDetails:metadata:) dynamic public class func paramsWith(fpx: Stripe.STPPaymentMethodFPXParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithSEPADebit:billingDetails:metadata:) dynamic public class func paramsWith(sepaDebit: Stripe.STPPaymentMethodSEPADebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithBacsDebit:billingDetails:metadata:) dynamic public class func paramsWith(bacsDebit: Stripe.STPPaymentMethodBacsDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithAUBECSDebit:billingDetails:metadata:) dynamic public class func paramsWith(auBECSDebit: Stripe.STPPaymentMethodAUBECSDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithGiropay:billingDetails:metadata:) dynamic public class func paramsWith(giropay: Stripe.STPPaymentMethodGiropayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithEPS:billingDetails:metadata:) dynamic public class func paramsWith(eps: Stripe.STPPaymentMethodEPSParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithPrzelewy24:billingDetails:metadata:) dynamic public class func paramsWith(przelewy24: Stripe.STPPaymentMethodPrzelewy24Params, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithBancontact:billingDetails:metadata:) dynamic public class func paramsWith(bancontact: Stripe.STPPaymentMethodBancontactParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithNetBanking:billingDetails:metadata:) dynamic public class func paramsWith(netBanking: Stripe.STPPaymentMethodNetBankingParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithOXXO:billingDetails:metadata:) dynamic public class func paramsWith(oxxo: Stripe.STPPaymentMethodOXXOParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithGrabPay:billingDetails:metadata:) dynamic public class func paramsWith(grabPay: Stripe.STPPaymentMethodGrabPayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithSofort:billingDetails:metadata:) dynamic public class func paramsWith(sofort: Stripe.STPPaymentMethodSofortParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithUPI:billingDetails:metadata:) dynamic public class func paramsWith(upi: Stripe.STPPaymentMethodUPIParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithAlipay:billingDetails:metadata:) dynamic public class func paramsWith(alipay: Stripe.STPPaymentMethodAlipayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithPayPal:billingDetails:metadata:) dynamic public class func paramsWith(payPal: Stripe.STPPaymentMethodPayPalParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithAfterpayClearpay:billingDetails:metadata:) dynamic public class func paramsWith(afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithBLIK:billingDetails:metadata:) dynamic public class func paramsWith(blik: Stripe.STPPaymentMethodBLIKParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithKlarna:billingDetails:metadata:) dynamic public class func paramsWith(klarna: Stripe.STPPaymentMethodKlarnaParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodPayPalParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc public protocol STPSourceProtocol : ObjectiveC.NSObjectProtocol { + @objc var stripeID: Swift.String { get } +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, deprecated, renamed: "STPIntentAction", message: "Use `STPIntentAction` instead.") +@objc final public class STPPaymentIntentAction : Stripe.STPIntentAction { + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodGrabPay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPFormView : UIKit.UIView { + @objc override dynamic public var canResignFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func resignFirstResponder() -> Swift.Bool + @objc override dynamic public var isFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public var canBecomeFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func becomeFirstResponder() -> Swift.Bool + @objc override dynamic public var isUserInteractionEnabled: Swift.Bool { + @objc get + @objc set + } + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodPayPal : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodSofortParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var country: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc public enum STPMandateCustomerAcceptanceType : Swift.Int { + case online + case offline + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPMandateCustomerAcceptanceParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var type: Stripe.STPMandateCustomerAcceptanceType + @objc public var onlineParams: Stripe.STPMandateOnlineParams? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc required override dynamic public init() + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public class func rootObjectName() -> Swift.String? + @objc deinit +} +public enum PaymentSheetError : Swift.Error { + case unknown(debugDescription: Swift.String) + public var localizedDescription: Swift.String { + get + } +} +extension UINavigationBar { + @available(*, deprecated, message: "Use the `stp_theme` property instead") + @objc dynamic public func stp_setTheme(_ theme: Stripe.STPTheme) + @objc dynamic public var stp_theme: Stripe.STPTheme? { + @objc get + @objc set(theme) + } +} +@objc public protocol STPAUBECSDebitFormViewDelegate : ObjectiveC.NSObjectProtocol { + @objc func auBECSDebitForm(_ form: Stripe.STPAUBECSDebitFormView, didChangeToStateComplete complete: Swift.Bool) +} +@objc @_inheritsConvenienceInitializers public class STPAUBECSDebitFormView : Stripe.STPMultiFormTextField, UIKit.UITextViewDelegate { + @objc(initWithCompanyName:) required public init(companyName: Swift.String) + @objc public var formBackgroundColor: UIKit.UIColor { + @objc get + @objc set + } + @objc weak public var becsDebitFormDelegate: Stripe.STPAUBECSDebitFormViewDelegate? + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? { + @objc get + } + @objc override dynamic public func systemLayoutSizeFitting(_ targetSize: CoreGraphics.CGSize, withHorizontalFittingPriority horizontalFittingPriority: UIKit.UILayoutPriority, verticalFittingPriority: UIKit.UILayoutPriority) -> CoreGraphics.CGSize + @objc public func textView(_ textView: UIKit.UITextView, shouldInteractWith URL: Foundation.URL, in characterRange: Foundation.NSRange, interaction: UIKit.UITextItemInteraction) -> Swift.Bool + @objc override public var formFont: UIKit.UIFont { + @objc get + @objc set + } + @objc override public var formTextColor: UIKit.UIColor { + @objc get + @objc set + } + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAfterpayClearpayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public static func rootObjectName() -> Swift.String? + @objc public static func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodAfterpayClearpay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPSetupIntent : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let stripeID: Swift.String + @objc final public let clientSecret: Swift.String + @objc final public let created: Foundation.Date + @objc final public let customerID: Swift.String? + @objc final public let stripeDescription: Swift.String? + @objc final public let livemode: Swift.Bool + @objc final public let nextAction: Stripe.STPIntentAction? + @objc final public let paymentMethodID: Swift.String? + @objc final public let paymentMethodTypes: [Foundation.NSNumber] + @objc final public let status: Stripe.STPSetupIntentStatus + @objc final public let usage: Stripe.STPSetupIntentUsage + @objc final public let lastSetupError: Stripe.STPSetupIntentLastSetupError? + @available(*, deprecated, message: "Metadata is not returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPBillingAddressFields : Swift.UInt { + case none + case postalCode + case full + case name + @available(*, deprecated, message: "Use STPBillingAddressFields.postalCode instead") + case zip + public typealias RawValue = Swift.UInt + public init?(rawValue: Swift.UInt) + public var rawValue: Swift.UInt { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPAddress : ObjectiveC.NSObject { + @objc public var name: Swift.String? + @objc public var line1: Swift.String? + @objc public var line2: Swift.String? + @objc public var city: Swift.String? + @objc public var state: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var country: Swift.String? + @objc public var phone: Swift.String? + @objc public var email: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc(shippingInfoForChargeWithAddress:shippingMethod:) public class func shippingInfoForCharge(with address: Stripe.STPAddress?, shippingMethod method: PassKit.PKShippingMethod?) -> [Swift.AnyHashable : Any]? + @objc override dynamic public init() + @objc public init(paymentMethodBillingDetails billingDetails: Stripe.STPPaymentMethodBillingDetails) + @objc(initWithPKContact:) public init(pkContact contact: PassKit.PKContact) + @objc(PKContactValue) public func pkContactValue() -> PassKit.PKContact + @objc(initWithCNContact:) public init(cnContact contact: Contacts.CNContact) + @objc public func containsRequiredFields(_ requiredFields: Stripe.STPBillingAddressFields) -> Swift.Bool + @objc(containsContentForBillingAddressFields:) public func containsContent(for desiredFields: Stripe.STPBillingAddressFields) -> Swift.Bool + @objc public func containsRequiredShippingAddressFields(_ requiredFields: Swift.Set?) -> Swift.Bool + @objc public func containsContent(forShippingAddressFields desiredFields: Swift.Set?) -> Swift.Bool + @objc(applePayContactFieldsFromBillingAddressFields:) public class func applePayContactFields(from billingAddressFields: Stripe.STPBillingAddressFields) -> Swift.Set + @objc public class func pkContactFields(fromStripeContactFields contactFields: Swift.Set?) -> Swift.Set? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc deinit +} +extension STPAddress : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +extension STPAddress : Stripe.STPFormEncodable { + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] +} +extension STPAddress : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodAUBECSDebit : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var bsbNumber: Swift.String { + get + } + @objc public var fingerprint: Swift.String { + get + } + @objc public var last4: Swift.String { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAlipayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc public enum STPCardFormViewStyle : Swift.Int { + case standard + case borderless + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public protocol STPCardFormViewDelegate : ObjectiveC.NSObjectProtocol { + @objc func cardFormView(_ form: Stripe.STPCardFormView, didChangeToStateComplete complete: Swift.Bool) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPCardFormView : Stripe.STPFormView { + @objc weak public var delegate: Stripe.STPCardFormViewDelegate? + @objc override dynamic public var backgroundColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc public var disabledBackgroundColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc public var cardParams: Stripe.STPPaymentMethodParams? { + @objc get + } + @objc override dynamic public var isUserInteractionEnabled: Swift.Bool { + @objc get + @objc set + } + @objc convenience public init(style: Stripe.STPCardFormViewStyle = .standard) + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPCustomer : ObjectiveC.NSObject { + @objc final public let stripeID: Swift.String + @objc public var defaultSource: Stripe.STPSourceProtocol? { + get + } + @objc public var sources: [Stripe.STPSourceProtocol] { + get + } + @objc public var email: Swift.String? { + get + } + @objc public var shippingAddress: Stripe.STPAddress? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc convenience public init(stripeID: Swift.String, defaultSource: Stripe.STPSourceProtocol?, sources: [Stripe.STPSourceProtocol]) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc(updateSourcesFilteringApplePay:) public func updateSources(filteringApplePay: Swift.Bool) + @objc deinit +} +extension STPCustomer : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_hasMissingDesignatedInitializers public class STPCustomerDeserializer : ObjectiveC.NSObject { + @objc final public let customer: Stripe.STPCustomer? + @objc final public let error: Swift.Error? + @objc convenience public init(data: Foundation.Data?, urlResponse: Foundation.URLResponse?, error: Swift.Error?) + @objc convenience public init(jsonResponse json: Any?) + @objc deinit + @objc override dynamic public init() +} +@objc public class STPContactField : ObjectiveC.NSObject, Swift.RawRepresentable { + final public let rawValue: Swift.String + required public init(rawValue: Swift.String) + @objc public static let postalAddress: Stripe.STPContactField + @objc public static let emailAddress: Stripe.STPContactField + @objc public static let phoneNumber: Stripe.STPContactField + @objc public static let name: Stripe.STPContactField + @objc override dynamic public init() + public typealias RawValue = Swift.String + @objc deinit +} +extension PaymentSheet { + @_hasMissingDesignatedInitializers @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public class FlowController { + public struct PaymentOptionDisplayData { + public let image: UIKit.UIImage + public let label: Swift.String + } + final public let configuration: Stripe.PaymentSheet.Configuration + public var paymentOption: Stripe.PaymentSheet.FlowController.PaymentOptionDisplayData? { + get + } + public static func create(paymentIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration, completion: @escaping (Swift.Result) -> Swift.Void) + public static func create(setupIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration, completion: @escaping (Swift.Result) -> Swift.Void) + public func presentPaymentOptions(from presentingViewController: UIKit.UIViewController, completion: (() -> ())? = nil) + public func confirm(from presentingViewController: UIKit.UIViewController, completion: @escaping (Stripe.PaymentSheetResult) -> ()) + @objc deinit + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodKlarna : ObjectiveC.NSObject { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension STPCardFormView { + public struct Representable : SwiftUI.UIViewRepresentable { + public init(_ style: Stripe.STPCardFormViewStyle = .standard, paymentMethodParams: SwiftUI.Binding, isComplete: SwiftUI.Binding) + public func makeCoordinator() -> Stripe.STPCardFormView.Coordinator + public func makeUIView(context: Stripe.STPCardFormView.Representable.Context) -> Stripe.STPCardFormView + public func updateUIView(_ cardFormView: Stripe.STPCardFormView, context: Stripe.STPCardFormView.Representable.Context) + public typealias UIViewType = Stripe.STPCardFormView + public typealias Coordinator = Stripe.STPCardFormView.Coordinator + public typealias Body = Swift.Never + } + @objc @_hasMissingDesignatedInitializers public class Coordinator : ObjectiveC.NSObject, Stripe.STPCardFormViewDelegate { + @objc public func cardFormView(_ form: Stripe.STPCardFormView, didChangeToStateComplete complete: Swift.Bool) + @objc deinit + @objc override dynamic public init() + } +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSTextFieldCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSTextFieldCustomization + @objc public var borderWidth: CoreGraphics.CGFloat { + @objc get + @objc set(borderWidth) + } + @objc public var borderColor: UIKit.UIColor { + @objc get + @objc set(borderColor) + } + @objc public var cornerRadius: CoreGraphics.CGFloat { + @objc get + @objc set(cornerRadius) + } + @objc public var keyboardAppearance: UIKit.UIKeyboardAppearance { + @objc get + @objc set(keyboardAppearance) + } + @objc public var placeholderTextColor: UIKit.UIColor { + @objc get + @objc set(placeholderTextColor) + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set(textColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodNetBankingParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var bank: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardPresent : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceReceiver : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var address: Swift.String? { + get + } + @objc public var amountCharged: Foundation.NSNumber? { + get + } + @objc public var amountReceived: Foundation.NSNumber? { + get + } + @objc public var amountReturned: Foundation.NSNumber? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodPrzelewy24Params : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodKlarnaParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public static func rootObjectName() -> Swift.String? + @objc public static func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBancontactParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, unavailable, renamed: "STPIntentActionRedirectToURL", message: "Use `STPIntentActionRedirectToURL` instead.") +@objc final public class STPPaymentIntentSourceActionAuthorizeWithURL : Stripe.STPIntentActionRedirectToURL { + @objc deinit +} +@objc public enum STPSetupIntentLastSetupErrorType : Swift.UInt { + case unknown + @objc(STPSetupIntentLastSetupErrorTypeAPIConnection) case apiConnection + case API + case authentication + case card + case idempotency + case invalidRequest + case rateLimit + public typealias RawValue = Swift.UInt + public init?(rawValue: Swift.UInt) + public var rawValue: Swift.UInt { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSetupIntentLastSetupError : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var code: Swift.String? { + get + } + @objc public var declineCode: Swift.String? { + get + } + @objc public var docURL: Swift.String? { + get + } + @objc public var message: Swift.String? { + get + } + @objc public var param: Swift.String? { + get + } + @objc public var paymentMethod: Stripe.STPPaymentMethod? { + get + } + @objc public var type: Stripe.STPSetupIntentLastSetupErrorType { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc extension STPSetupIntentLastSetupError { + @objc public static let CodeAuthenticationFailure: Swift.String +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodPrzelewy24 : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCard : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var brand: Stripe.STPCardBrand { + get + } + @objc public var checks: Stripe.STPPaymentMethodCardChecks? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var expMonth: Swift.Int { + get + } + @objc public var expYear: Swift.Int { + get + } + @objc public var funding: Swift.String? { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var networks: Stripe.STPPaymentMethodCardNetworks? { + get + } + @objc public var threeDSecureUsage: Stripe.STPPaymentMethodThreeDSecureUsage? { + get + } + @objc public var wallet: Stripe.STPPaymentMethodCardWallet? { + get + } + @objc(stringFromBrand:) public class func string(from brand: Stripe.STPCardBrand) -> Swift.String + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public enum STPPaymentIntentLastPaymentErrorType : Swift.Int { + case unknown + @objc(STPPaymentIntentLastPaymentErrorTypeAPIConnection) case apiConnection + @objc(STPPaymentIntentLastPaymentErrorTypeAPI) case api + case authentication + case card + case idempotency + case invalidRequest + case rateLimit + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntentLastPaymentError : ObjectiveC.NSObject { + @objc public static let ErrorCodeAuthenticationFailure: Swift.String + @objc final public let code: Swift.String? + @objc final public let declineCode: Swift.String? + @objc final public let docURL: Swift.String? + @objc final public let message: Swift.String? + @objc final public let param: Swift.String? + @objc final public let paymentMethod: Stripe.STPPaymentMethod? + @objc final public let type: Stripe.STPPaymentIntentLastPaymentErrorType + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentLastPaymentError : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc public class STPPaymentResult : ObjectiveC.NSObject { + @objc public var paymentMethod: Stripe.STPPaymentMethod? { + get + } + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? { + get + } + @objc weak public var paymentOption: Stripe.STPPaymentOption? { + @objc get + } + @objc public init(paymentOption: Stripe.STPPaymentOption?) + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionWechatPayRedirectToApp : ObjectiveC.NSObject { + @objc final public let nativeURL: Foundation.URL? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPIntentActionWechatPayRedirectToApp : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc public enum STPPaymentIntentStatus : Swift.Int { + case unknown + case requiresPaymentMethod + @available(*, deprecated, renamed: "STPPaymentIntentStatus.requiresPaymentMethod", message: "Use STPPaymentIntentStatus.requiresPaymentMethod instead") + case requiresSource + case requiresConfirmation + case requiresAction + @available(*, deprecated, renamed: "STPPaymentIntentStatus.requiresAction", message: "Use STPPaymentIntentStatus.requiresAction instead") + case requiresSourceAction + case processing + case succeeded + case requiresCapture + case canceled + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentIntentSetupFutureUsage : Swift.Int { + case unknown + case none + case onSession + case offSession + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPPaymentIntentActionType : Swift.Int { + @available(*, deprecated, renamed: "STPIntentActionType.unknown", message: "Use STPIntentActionType instead") + case unknown + @available(*, deprecated, renamed: "STPIntentActionType.redirectToURL", message: "Use STPIntentActionType instead") + case redirectToURL + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +@objc public enum STPPaymentIntentSourceActionType : Swift.Int { + case unknown + case authorizeWithURL + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodGiropay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAUBECSDebitParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var accountNumber: Swift.String? + @objc public var bsbNumber: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBLIK : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodSofort : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var country: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodUPIParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var vpa: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPCardParams : ObjectiveC.NSObject, Stripe.STPFormEncodable, Foundation.NSCopying { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc convenience public init(paymentMethodParams: Stripe.STPPaymentMethodParams) + @objc public var number: Swift.String? + @objc public func last4() -> Swift.String? + @objc public var expMonth: Swift.UInt + @objc public var expYear: Swift.UInt + @objc public var cvc: Swift.String? + @objc public var name: Swift.String? { + @objc get + @objc set + } + @objc public var address: Stripe.STPAddress { + @objc get + @objc set + } + @objc public var currency: Swift.String? + @objc public var addressLine1: Swift.String? { + @objc get + @objc set(addressLine1) + } + @objc public var addressLine2: Swift.String? { + @objc get + @objc set(addressLine2) + } + @objc public var addressCity: Swift.String? { + @objc get + @objc set(addressCity) + } + @objc public var addressState: Swift.String? { + @objc get + @objc set(addressState) + } + @objc public var addressZip: Swift.String? { + @objc get + @objc set(addressZip) + } + @objc public var addressCountry: Swift.String? { + @objc get + @objc set(addressCountry) + } + @objc override dynamic public init() + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodAlipay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPFormEncodable : ObjectiveC.NSObjectProtocol { + @objc static func rootObjectName() -> Swift.String? + @objc static func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc var additionalAPIParameters: [Swift.AnyHashable : Any] { get set } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBancontact : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethod : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPPaymentOption { + @objc public var stripeId: Swift.String { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var liveMode: Swift.Bool { + get + } + @objc public var type: Stripe.STPPaymentMethodType { + get + } + @objc public var billingDetails: Stripe.STPPaymentMethodBillingDetails? { + get + } + @objc public var alipay: Stripe.STPPaymentMethodAlipay? { + get + } + @objc public var grabPay: Stripe.STPPaymentMethodGrabPay? { + get + } + @objc public var card: Stripe.STPPaymentMethodCard? { + get + } + @objc public var iDEAL: Stripe.STPPaymentMethodiDEAL? { + get + } + @objc public var fpx: Stripe.STPPaymentMethodFPX? { + get + } + @objc public var cardPresent: Stripe.STPPaymentMethodCardPresent? { + get + } + @objc public var sepaDebit: Stripe.STPPaymentMethodSEPADebit? { + get + } + @objc public var bacsDebit: Stripe.STPPaymentMethodBacsDebit? { + get + } + @objc public var auBECSDebit: Stripe.STPPaymentMethodAUBECSDebit? { + get + } + @objc public var giropay: Stripe.STPPaymentMethodGiropay? { + get + } + @objc public var eps: Stripe.STPPaymentMethodEPS? { + get + } + @objc public var przelewy24: Stripe.STPPaymentMethodPrzelewy24? { + get + } + @objc public var bancontact: Stripe.STPPaymentMethodBancontact? { + get + } + @objc public var netBanking: Stripe.STPPaymentMethodNetBanking? { + get + } + @objc public var oxxo: Stripe.STPPaymentMethodOXXO? { + get + } + @objc public var sofort: Stripe.STPPaymentMethodSofort? { + get + } + @objc public var upi: Stripe.STPPaymentMethodUPI? { + get + } + @objc public var payPal: Stripe.STPPaymentMethodPayPal? { + get + } + @objc public var afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpay? { + get + } + @objc public var blik: Stripe.STPPaymentMethodBLIK? { + get + } + @objc public var boleto: Stripe.STPPaymentMethodBoleto? { + get + } + @objc public var link: Stripe.STPPaymentMethodLink? { + get + } + @objc public var klarna: Stripe.STPPaymentMethodKlarna? { + get + } + @objc public var customerId: Swift.String? { + get + } + @available(*, deprecated, message: "Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardWalletVisaCheckout : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var email: Swift.String? { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var billingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var shippingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodFPXParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var bank: Stripe.STPFPXBankBrand { + @objc get + @objc set(_bank) + } + @objc public var rawBankString: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objc public class STPApplePayPaymentOption : ObjectiveC.NSObject, Stripe.STPPaymentOption { + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +@objc public class STPMandateDataParams : ObjectiveC.NSObject { + @objc final public let customerAcceptance: Stripe.STPMandateCustomerAcceptanceParams + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(customerAcceptance: Stripe.STPMandateCustomerAcceptanceParams) + @objc override dynamic public init() + @objc deinit +} +extension STPMandateDataParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPFPXBankBrand : Swift.Int { + case maybank2U + case CIMB + case publicBank + case RHB + case hongLeongBank + case ambank + case affinBank + case allianceBank + case bankIslam + case bankMuamalat + case bankRakyat + case BSN + case HSBC + case KFH + case maybank2E + case ocbc + case standardChartered + case UOB + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc @_inheritsConvenienceInitializers public class STPFPXBank : ObjectiveC.NSObject { + @objc public static func stringFrom(_ brand: Stripe.STPFPXBankBrand) -> Swift.String? + @objc public static func brandFrom(_ identifier: Swift.String?) -> Stripe.STPFPXBankBrand + @objc public static func identifierFrom(_ brand: Stripe.STPFPXBankBrand) -> Swift.String? + @objc public static func bankCodeFrom(_ brand: Stripe.STPFPXBankBrand, _ isBusiness: Swift.Bool) -> Swift.String? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPCardValidationState : Swift.Int { + case valid + case invalid + case incomplete + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPCardValidator : ObjectiveC.NSObject { + @objc(sanitizedNumericStringForString:) public class func sanitizedNumericString(for string: Swift.String) -> Swift.String + @objc(sanitizedPostalStringForString:) public class func sanitizedPostalString(for string: Swift.String) -> Swift.String + @objc(stringIsNumeric:) public class func stringIsNumeric(_ string: Swift.String) -> Swift.Bool + @objc(validationStateForNumber:validatingCardBrand:) public class func validationState(forNumber cardNumber: Swift.String?, validatingCardBrand: Swift.Bool) -> Stripe.STPCardValidationState + @objc(brandForNumber:) public class func brand(forNumber cardNumber: Swift.String) -> Stripe.STPCardBrand + @objc(lengthsForCardBrand:) public class func lengths(for brand: Stripe.STPCardBrand) -> Swift.Set + @objc(maxLengthForCardBrand:) public class func maxLength(for brand: Stripe.STPCardBrand) -> Swift.Int + @objc(fragmentLengthForCardBrand:) public class func fragmentLength(for brand: Stripe.STPCardBrand) -> Swift.Int + @objc(validationStateForExpirationMonth:) public class func validationState(forExpirationMonth expirationMonth: Swift.String) -> Stripe.STPCardValidationState + @objc(validationStateForExpirationYear:inMonth:) public class func validationState(forExpirationYear expirationYear: Swift.String, inMonth expirationMonth: Swift.String) -> Stripe.STPCardValidationState + @objc(maxCVCLengthForCardBrand:) public class func maxCVCLength(for brand: Stripe.STPCardBrand) -> Swift.UInt + @objc(validationStateForCVC:cardBrand:) public class func validationState(forCVC cvc: Swift.String, cardBrand brand: Stripe.STPCardBrand) -> Stripe.STPCardValidationState + @objc(validationStateForCard:) public class func validationState(forCard card: Stripe.STPCardParams) -> Stripe.STPCardValidationState + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountCompanyParams : ObjectiveC.NSObject { + @objc public var address: Stripe.STPConnectAccountAddress! + @objc public var kanaAddress: Stripe.STPConnectAccountAddress? + @objc public var kanjiAddress: Stripe.STPConnectAccountAddress? + @objc public var directorsProvided: Foundation.NSNumber? + @objc public var name: Swift.String? + @objc public var kanaName: Swift.String? + @objc public var kanjiName: Swift.String? + @objc public var ownersProvided: Foundation.NSNumber? + @objc public var phone: Swift.String? + @objc public var taxID: Swift.String? + @objc public var taxIDRegistrar: Swift.String? + @objc public var vatID: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountCompanyParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardWalletMasterpass : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var email: Swift.String? { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var billingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var shippingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBillingDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var address: Stripe.STPPaymentMethodAddress? + @objc public var email: Swift.String? + @objc public var name: Swift.String? + @objc public var phone: Swift.String? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override required dynamic public init() + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSCustomizationSettings : ObjectiveC.NSObject { + @available(*, deprecated, message: "Use STPThreeDSCustomizationSettings() instead of STPThreeDSCustomizationSettings.defaultSettings().") + @objc public class func defaultSettings() -> Stripe.STPThreeDSCustomizationSettings + @objc public var uiCustomization: Stripe.STPThreeDSUICustomization + @objc public var authenticationTimeout: Swift.Int + @objc override dynamic public init() + @objc deinit +} +@objc public enum STPIntentActionType : Swift.Int { + case unknown + case redirectToURL + case useStripeSDK + case OXXODisplayDetails + case alipayHandleRedirect + case BLIKAuthorize + case weChatPayRedirectToApp + case linkAuthenticateAccount + case boletoDisplayDetails + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPIntentAction : ObjectiveC.NSObject { + @objc final public let type: Stripe.STPIntentActionType + @objc final public let redirectToURL: Stripe.STPIntentActionRedirectToURL? + @objc final public let oxxoDisplayDetails: Stripe.STPIntentActionOXXODisplayDetails? + @objc final public let alipayHandleRedirect: Stripe.STPIntentActionAlipayHandleRedirect? + @objc final public let weChatPayRedirectToApp: Stripe.STPIntentActionWechatPayRedirectToApp? + @objc final public let boletoDisplayDetails: Stripe.STPIntentActionBoletoDisplayDetails? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPIntentAction : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +extension STPIntentAction { + @available(*, deprecated, renamed: "redirectToURL", message: "Use `redirectToURL` instead.") + @objc dynamic public var authorizeWithURL: Stripe.STPIntentActionRedirectToURL? { + @objc get + } +} +@objc public class STPPaymentIntentShippingDetailsAddressParams : ObjectiveC.NSObject { + @objc public var city: Swift.String? + @objc public var country: Swift.String? + @objc public var line1: Swift.String + @objc public var line2: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var state: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(line1: Swift.String) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetailsAddressParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +extension STPPaymentIntentShippingDetailsAddressParams : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc public class STPConfirmWeChatPayOptions : ObjectiveC.NSObject { + @objc public var appId: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc required public init(appId: Swift.String) + @objc deinit + @objc override dynamic public init() +} +extension STPConfirmWeChatPayOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodGiropayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPMultiFormTextField : UIKit.UIView, Stripe.STPFormTextFieldContainer, UIKit.UITextFieldDelegate { + @objc public func textField(_ textField: UIKit.UITextField, shouldChangeCharactersIn range: Foundation.NSRange, replacementString string: Swift.String) -> Swift.Bool + @objc public func focusNextForm() + @objc override dynamic public var canResignFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func resignFirstResponder() -> Swift.Bool + @objc override dynamic public var isFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public var canBecomeFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func becomeFirstResponder() -> Swift.Bool + @objc public func textFieldDidEndEditing(_ textField: UIKit.UITextField) + @objc public func textFieldDidBeginEditing(_ textField: UIKit.UITextField) + @objc public func textFieldShouldReturn(_ textField: UIKit.UITextField) -> Swift.Bool + @objc public var formFont: UIKit.UIFont { + @objc get + @objc set + } + @objc public var formTextColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formTextErrorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formPlaceholderColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formCursorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formKeyboardAppearance: UIKit.UIKeyboardAppearance { + @objc get + @objc set + } + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPImageLibrary : ObjectiveC.NSObject { + @objc public class func applePayCardImage() -> UIKit.UIImage + @objc public class func amexCardImage() -> UIKit.UIImage + @objc public class func dinersClubCardImage() -> UIKit.UIImage + @objc public class func discoverCardImage() -> UIKit.UIImage + @objc public class func jcbCardImage() -> UIKit.UIImage + @objc public class func mastercardCardImage() -> UIKit.UIImage + @objc public class func unionPayCardImage() -> UIKit.UIImage + @objc public class func visaCardImage() -> UIKit.UIImage + @objc public class func unknownCardCardImage() -> UIKit.UIImage + @objc(brandImageForCardBrand:) public class func cardBrandImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc(brandImageForFPXBankBrand:) public class func fpxBrandImage(for brand: Stripe.STPFPXBankBrand) -> UIKit.UIImage + @objc public class func fpxLogo() -> UIKit.UIImage + @objc public class func largeFpxLogo() -> UIKit.UIImage + @objc public class func afterpayLogo() -> UIKit.UIImage + @objc(templatedBrandImageForCardBrand:) public class func templatedBrandImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc(cvcImageForCardBrand:) public class func cvcImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc(errorImageForCardBrand:) public class func errorImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodCardNetworks : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var available: [Swift.String] { + get + } + @objc public var preferred: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPSourceParams : ObjectiveC.NSObject, Stripe.STPFormEncodable, Foundation.NSCopying { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var type: Stripe.STPSourceType { + @objc get + @objc set(type) + } + @objc public var rawTypeString: Swift.String? + @objc public var amount: Foundation.NSNumber? + @objc public var currency: Swift.String? + @objc public var flow: Stripe.STPSourceFlow + @objc public var metadata: [Swift.AnyHashable : Any]? + @objc public var owner: [Swift.AnyHashable : Any]? + @objc public var redirect: [Swift.AnyHashable : Any]? + @objc public var token: Swift.String? + @objc public var usage: Stripe.STPSourceUsage + @objc override required dynamic public init() + @objc deinit +} +extension STPSourceParams { + @objc dynamic public class func bancontactParams(withAmount amount: Swift.Int, name: Swift.String, returnURL: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func cardParams(withCard card: Stripe.STPCardParams) -> Stripe.STPSourceParams + @objc dynamic public class func giropayParams(withAmount amount: Swift.Int, name: Swift.String, returnURL: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func idealParams(withAmount amount: Swift.Int, name: Swift.String?, returnURL: Swift.String, statementDescriptor: Swift.String?, bank: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func sepaDebitParams(withName name: Swift.String, iban: Swift.String, addressLine1: Swift.String?, city: Swift.String?, postalCode: Swift.String?, country: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func sofortParams(withAmount amount: Swift.Int, returnURL: Swift.String, country: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @available(swift, obsoleted: 1.0) + @objc(klarnaParamsWithReturnURL:currency:purchaseCountry:items:customPaymentMethods:billingAddress:billingFirstName:billingLastName:billingDOB:) dynamic public class func objc_klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Foundation.NSNumber], billingAddress address: Stripe.STPAddress?, billingFirstName firstName: Swift.String?, billingLastName lastName: Swift.String?, billingDOB dateOfBirth: Stripe.STPDateOfBirth?) -> Stripe.STPSourceParams + public class func klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Stripe.STPKlarnaPaymentMethods], billingAddress address: Stripe.STPAddress? = nil, billingFirstName firstName: Swift.String? = nil, billingLastName lastName: Swift.String? = nil, billingDOB dateOfBirth: Stripe.STPDateOfBirth? = nil) -> Stripe.STPSourceParams + @available(swift, obsoleted: 1.0) + @objc(klarnaParamsWithReturnURL:currency:purchaseCountry:items:customPaymentMethods:) dynamic public class func objc_klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Foundation.NSNumber]) -> Stripe.STPSourceParams + public class func klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Stripe.STPKlarnaPaymentMethods]) -> Stripe.STPSourceParams + @objc dynamic public class func threeDSecureParams(withAmount amount: Swift.Int, currency: Swift.String, returnURL: Swift.String, card: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func alipayParams(withAmount amount: Swift.Int, currency: Swift.String, returnURL: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func alipayReusableParams(withCurrency currency: Swift.String, returnURL: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func p24Params(withAmount amount: Swift.Int, currency: Swift.String, email: Swift.String, name: Swift.String?, returnURL: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func visaCheckoutParams(withCallId callId: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func masterpassParams(withCartId cartId: Swift.String, transactionId: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func epsParams(withAmount amount: Swift.Int, name: Swift.String, returnURL: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func multibancoParams(withAmount amount: Swift.Int, returnURL: Swift.String, email: Swift.String) -> Stripe.STPSourceParams + @objc(wechatPayParamsWithAmount:currency:appId:statementDescriptor:) dynamic public class func wechatPay(withAmount amount: Swift.Int, currency: Swift.String, appId: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc dynamic public func redirectDictionaryWithMerchantNameIfNecessary() -> [Swift.AnyHashable : Any] + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc public enum STPThreeDSCustomizationButtonType : Swift.Int { + case submit = 0 + case `continue` = 1 + case next = 2 + case cancel = 3 + case resend = 4 + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPThreeDSButtonTitleStyle : Swift.Int { + case `default` + case uppercase + case lowercase + case sentenceCapitalized + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public class STPThreeDSButtonCustomization : ObjectiveC.NSObject { + @objc(defaultSettingsForButtonType:) public class func defaultSettings(for type: Stripe.STPThreeDSCustomizationButtonType) -> Stripe.STPThreeDSButtonCustomization + @objc public init(backgroundColor: UIKit.UIColor, cornerRadius: CoreGraphics.CGFloat) + @objc public var backgroundColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var cornerRadius: CoreGraphics.CGFloat { + @objc get + @objc set + } + @objc public var titleStyle: Stripe.STPThreeDSButtonTitleStyle { + @objc get + @objc set + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPPaymentIntentCaptureMethod : Swift.Int { + case unknown + case automatic + case manual + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentIntentConfirmationMethod : Swift.Int { + case unknown + case manual + case automatic + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntent : ObjectiveC.NSObject { + @objc final public let stripeId: Swift.String + @objc final public let clientSecret: Swift.String + @objc final public let amount: Swift.Int + @objc final public let canceledAt: Foundation.Date? + @objc final public let captureMethod: Stripe.STPPaymentIntentCaptureMethod + @objc final public let confirmationMethod: Stripe.STPPaymentIntentConfirmationMethod + @objc final public let created: Foundation.Date + @objc final public let currency: Swift.String + @objc final public let stripeDescription: Swift.String? + @objc final public let livemode: Swift.Bool + @objc final public let nextAction: Stripe.STPIntentAction? + @objc final public let receiptEmail: Swift.String? + @objc final public let sourceId: Swift.String? + @objc final public let paymentMethodId: Swift.String? + @objc final public let status: Stripe.STPPaymentIntentStatus + @objc final public let paymentMethodTypes: [Foundation.NSNumber] + @objc final public let setupFutureUsage: Stripe.STPPaymentIntentSetupFutureUsage + @objc final public let lastPaymentError: Stripe.STPPaymentIntentLastPaymentError? + @objc final public let shipping: Stripe.STPPaymentIntentShippingDetails? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntent : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +extension STPPaymentIntent { + @available(*, deprecated, renamed: "nextAction", message: "Use nextAction instead") + @objc dynamic public var nextSourceAction: Stripe.STPIntentAction? { + @objc get + } +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSFooterCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSFooterCustomization + @objc public var backgroundColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var chevronColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var headingTextColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var headingFont: UIKit.UIFont { + @objc get + @objc set + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc deinit + @objc override dynamic public init() +} +extension STPAPIClient { + public func createRadarSession(completion: @escaping Stripe.STPRadarSessionCompletionBlock) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, unavailable, renamed: "STPIntentActionRedirectToURL", message: "Use `STPIntentActionRedirectToURL` instead.") +@objc final public class STPPaymentIntentActionRedirectToURL : Stripe.STPIntentActionRedirectToURL { + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPShippingAddressViewController : Stripe.STPCoreTableViewController { + @objc convenience dynamic public init() + @objc(initWithPaymentContext:) convenience public init(paymentContext: Stripe.STPPaymentContext) + @objc(initWithConfiguration:theme:currency:shippingAddress:selectedShippingMethod:prefilledInformation:) public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme, currency: Swift.String?, shippingAddress: Stripe.STPAddress?, selectedShippingMethod: PassKit.PKShippingMethod?, prefilledInformation: Stripe.STPUserInformation?) + @objc weak public var delegate: Stripe.STPShippingAddressViewControllerDelegate? + @objc(dismissWithCompletion:) public func dismiss(withCompletion completion: StripeApplePay.STPVoidBlock?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required public init(theme: Stripe.STPTheme?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool) + @objc override public func tableView(_ tableView: UIKit.UITableView, heightForHeaderInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc deinit +} +@objc public protocol STPShippingAddressViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc func shippingAddressViewControllerDidCancel(_ addressViewController: Stripe.STPShippingAddressViewController) + @objc(shippingAddressViewController:didEnterAddress:completion:) func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didEnter address: Stripe.STPAddress, completion: @escaping Stripe.STPShippingMethodsCompletionBlock) + @objc(shippingAddressViewController:didFinishWithAddress:shippingMethod:) func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didFinishWith address: Stripe.STPAddress, shippingMethod method: PassKit.PKShippingMethod?) +} +extension STPShippingAddressViewController : UIKit.UITableViewDelegate, UIKit.UITableViewDataSource { + @objc dynamic public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, willDisplay cell: UIKit.UITableViewCell, forRowAt indexPath: Foundation.IndexPath) + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, viewForFooterInSection section: Swift.Int) -> UIKit.UIView? + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, viewForHeaderInSection section: Swift.Int) -> UIKit.UIView? +} +@objc public enum STPPaymentMethodCardCheckResult : Swift.Int { + case pass + case failed + case unavailable + case unchecked + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardChecks : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @available(*, deprecated, message: "Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var addressLine1Check: Stripe.STPPaymentMethodCardCheckResult { + get + } + @available(*, deprecated, message: "Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var addressPostalCodeCheck: Stripe.STPPaymentMethodCardCheckResult { + get + } + @available(*, deprecated, message: "Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var cvcCheck: Stripe.STPPaymentMethodCardCheckResult { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +extension STPBankAccountHolderType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPBankAccountStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPBankSelectionMethod : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPBillingAddressFields : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardBrand : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardFormViewStyle : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardFundingType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardValidationState : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPConnectAccountBusinessType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPFPXBankBrand : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPFilePurpose : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPIntentActionType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPKlarnaLineItemType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPKlarnaPaymentMethods : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPMandateCustomerAcceptanceType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentHandlerActionStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentHandlerErrorCode : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentActionType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentCaptureMethod : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentConfirmationMethod : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentLastPaymentErrorType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentSetupFutureUsage : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension STPPaymentIntentSourceActionType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentMethodCardCheckResult : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentMethodCardWalletType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentMethodType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPinStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPRedirectContextError : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPRedirectContextState : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSetupIntentLastSetupErrorType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSetupIntentStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSetupIntentUsage : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPShippingStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPShippingType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceCard3DSecureStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceFlow : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceRedirectStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceUsage : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceVerificationStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPThreeDSButtonTitleStyle : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPThreeDSCustomizationButtonType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPTokenType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +@objc public enum STPTokenType : Swift.Int { + case account = 0 + case bankAccount + case card + case PII + case cvcUpdate + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPToken : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPSourceProtocol { + @objc public var tokenId: Swift.String { + get + } + @objc public var livemode: Swift.Bool { + get + } + @objc public var type: Stripe.STPTokenType { + get + } + @objc public var card: Stripe.STPCard? { + get + } + @objc public var bankAccount: Stripe.STPBankAccount? { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public var debugDescription: Swift.String { + @objc get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc public var stripeID: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@_inheritsConvenienceInitializers @objc public class STPPaymentMethodBLIKParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPCoreScrollViewController : Stripe.STPCoreViewController { + @objc public var scrollView: UIKit.UIScrollView { + @objc get + @objc set + } + @objc override dynamic public func viewDidLoad() + @objc override dynamic public func viewDidLayoutSubviews() + @objc required public init(theme: Stripe.STPTheme?) + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc deinit +} +@objc public enum STPSourceFlow : Swift.Int { + case none + case redirect + case codeVerification + case receiver + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPSourceUsage : Swift.Int { + case reusable + case singleUse + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPSourceStatus : Swift.Int { + case pending + case chargeable + case consumed + case canceled + case failed + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPSourceType : Swift.Int { + case bancontact + case card + case giropay + @objc(STPSourceTypeiDEAL) case iDEAL + case SEPADebit + case sofort + case threeDSecure + case alipay + case P24 + case EPS + case multibanco + case weChatPay + case klarna + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPKlarnaPaymentMethods : Swift.Int { + case none + case payIn4 + case installments + case payIn4OrInstallments + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountIndividualParams : ObjectiveC.NSObject { + @objc public var address: Stripe.STPConnectAccountAddress? + @objc public var kanaAddress: Stripe.STPConnectAccountAddress? + @objc public var kanjiAddress: Stripe.STPConnectAccountAddress? + @objc public var dateOfBirth: Foundation.DateComponents? + @objc public var email: Swift.String? + @objc public var firstName: Swift.String? + @objc public var kanaFirstName: Swift.String? + @objc public var kanjiFirstName: Swift.String? + @objc public var gender: Swift.String? + @objc public var idNumber: Swift.String? + @objc public var lastName: Swift.String? + @objc public var kanaLastName: Swift.String? + @objc public var kanjiLastName: Swift.String? + @objc public var maidenName: Swift.String? + @objc public var metadata: [Swift.AnyHashable : Any]? + @objc public var phone: Swift.String? + @objc public var ssnLast4: Swift.String? + @objc public var verification: Stripe.STPConnectAccountIndividualVerification? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountIndividualParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountIndividualVerification : ObjectiveC.NSObject { + @objc public var document: Stripe.STPConnectAccountVerificationDocument? + @objc public var additionalDocument: Stripe.STPConnectAccountVerificationDocument? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountIndividualVerification : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountVerificationDocument : ObjectiveC.NSObject { + @objc public var back: Swift.String? + @objc public var front: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountVerificationDocument : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPDateOfBirth : ObjectiveC.NSObject { + @objc public var day: Swift.Int + @objc public var month: Swift.Int + @objc public var year: Swift.Int + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc deinit + @objc override dynamic public init() +} +extension STPDateOfBirth : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionRedirectToURL : ObjectiveC.NSObject { + @objc final public let url: Foundation.URL + @objc final public let returnURL: Foundation.URL? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPIntentActionRedirectToURL : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodGrabPayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +extension Stripe.STPSourceVerificationStatus : Swift.Equatable {} +extension Stripe.STPSourceVerificationStatus : Swift.Hashable {} +extension Stripe.STPSourceVerificationStatus : Swift.RawRepresentable {} +extension Stripe.STPBankSelectionMethod : Swift.Equatable {} +extension Stripe.STPBankSelectionMethod : Swift.Hashable {} +extension Stripe.STPBankSelectionMethod : Swift.RawRepresentable {} +extension Stripe.STPBankAccountHolderType : Swift.Equatable {} +extension Stripe.STPBankAccountHolderType : Swift.Hashable {} +extension Stripe.STPBankAccountHolderType : Swift.RawRepresentable {} +extension Stripe.STPSetupIntentStatus : Swift.Equatable {} +extension Stripe.STPSetupIntentStatus : Swift.Hashable {} +extension Stripe.STPSetupIntentStatus : Swift.RawRepresentable {} +extension Stripe.STPSetupIntentUsage : Swift.Equatable {} +extension Stripe.STPSetupIntentUsage : Swift.Hashable {} +extension Stripe.STPSetupIntentUsage : Swift.RawRepresentable {} +extension Stripe.STPConnectAccountBusinessType : Swift.Equatable {} +extension Stripe.STPConnectAccountBusinessType : Swift.Hashable {} +extension Stripe.STPConnectAccountBusinessType : Swift.RawRepresentable {} +extension Stripe.STPShippingType : Swift.Equatable {} +extension Stripe.STPShippingType : Swift.Hashable {} +extension Stripe.STPShippingType : Swift.RawRepresentable {} +extension Stripe.STPShippingStatus : Swift.Equatable {} +extension Stripe.STPShippingStatus : Swift.Hashable {} +extension Stripe.STPShippingStatus : Swift.RawRepresentable {} +extension Stripe.STPPaymentStatus : Swift.Equatable {} +extension Stripe.STPPaymentStatus : Swift.Hashable {} +extension Stripe.STPPaymentStatus : Swift.RawRepresentable {} +extension Stripe.STPPinStatus : Swift.Equatable {} +extension Stripe.STPPinStatus : Swift.Hashable {} +extension Stripe.STPPinStatus : Swift.RawRepresentable {} +extension Stripe.STPRedirectContextError : Swift.Equatable {} +extension Stripe.STPRedirectContextError : Swift.Hashable {} +extension Stripe.STPRedirectContextError : Swift.RawRepresentable {} +extension Stripe.STPRedirectContextState : Swift.Equatable {} +extension Stripe.STPRedirectContextState : Swift.Hashable {} +extension Stripe.STPRedirectContextState : Swift.RawRepresentable {} +extension Stripe.STPKlarnaLineItemType : Swift.Equatable {} +extension Stripe.STPKlarnaLineItemType : Swift.Hashable {} +extension Stripe.STPKlarnaLineItemType : Swift.RawRepresentable {} +extension Stripe.STPPaymentMethodType : Swift.Equatable {} +extension Stripe.STPPaymentMethodType : Swift.Hashable {} +extension Stripe.STPPaymentMethodType : Swift.RawRepresentable {} +extension Stripe.STPPaymentCardTextField : UIKit.UITextFieldDelegate {} +extension Stripe.STPSourceRedirectStatus : Swift.Equatable {} +extension Stripe.STPSourceRedirectStatus : Swift.Hashable {} +extension Stripe.STPSourceRedirectStatus : Swift.RawRepresentable {} +extension Stripe.STPFilePurpose : Swift.Equatable {} +extension Stripe.STPFilePurpose : Swift.Hashable {} +extension Stripe.STPFilePurpose : Swift.RawRepresentable {} +extension Stripe.STPPaymentHandlerActionStatus : Swift.Equatable {} +extension Stripe.STPPaymentHandlerActionStatus : Swift.Hashable {} +extension Stripe.STPPaymentHandlerActionStatus : Swift.RawRepresentable {} +extension Stripe.STPPaymentHandlerErrorCode : Swift.Equatable {} +extension Stripe.STPPaymentHandlerErrorCode : Swift.Hashable {} +extension Stripe.STPPaymentHandlerErrorCode : Swift.RawRepresentable {} +extension Stripe.STPSourceCard3DSecureStatus : Swift.Equatable {} +extension Stripe.STPSourceCard3DSecureStatus : Swift.Hashable {} +extension Stripe.STPSourceCard3DSecureStatus : Swift.RawRepresentable {} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +extension Stripe._stpobjc_STPErrorCode : Swift.Equatable {} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +extension Stripe._stpobjc_STPErrorCode : Swift.Hashable {} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +extension Stripe._stpobjc_STPErrorCode : Swift.RawRepresentable {} +extension Stripe.STPCardFundingType : Swift.Equatable {} +extension Stripe.STPCardFundingType : Swift.Hashable {} +extension Stripe.STPCardFundingType : Swift.RawRepresentable {} +extension Stripe.STPPaymentMethodCardWalletType : Swift.Equatable {} +extension Stripe.STPPaymentMethodCardWalletType : Swift.Hashable {} +extension Stripe.STPPaymentMethodCardWalletType : Swift.RawRepresentable {} +@available(iOS 13.0, *) +extension Stripe.PaymentSheet.UserInterfaceStyle : Swift.Equatable {} +@available(iOS 13.0, *) +extension Stripe.PaymentSheet.UserInterfaceStyle : Swift.Hashable {} +@available(iOS 13.0, *) +extension Stripe.PaymentSheet.UserInterfaceStyle : Swift.RawRepresentable {} +extension Stripe.PaymentSheet.SavePaymentMethodOptInBehavior : Swift.Equatable {} +extension Stripe.PaymentSheet.SavePaymentMethodOptInBehavior : Swift.Hashable {} +extension Stripe.STPCardBrand : Swift.Equatable {} +extension Stripe.STPCardBrand : Swift.Hashable {} +extension Stripe.STPCardBrand : Swift.RawRepresentable {} +extension Stripe.STPBankAccountStatus : Swift.Equatable {} +extension Stripe.STPBankAccountStatus : Swift.Hashable {} +extension Stripe.STPBankAccountStatus : Swift.RawRepresentable {} +extension Stripe.STPMandateCustomerAcceptanceType : Swift.Equatable {} +extension Stripe.STPMandateCustomerAcceptanceType : Swift.Hashable {} +extension Stripe.STPMandateCustomerAcceptanceType : Swift.RawRepresentable {} +extension Stripe.STPBillingAddressFields : Swift.Equatable {} +extension Stripe.STPBillingAddressFields : Swift.Hashable {} +extension Stripe.STPBillingAddressFields : Swift.RawRepresentable {} +extension Stripe.STPCardFormViewStyle : Swift.Equatable {} +extension Stripe.STPCardFormViewStyle : Swift.Hashable {} +extension Stripe.STPCardFormViewStyle : Swift.RawRepresentable {} +extension Stripe.STPSetupIntentLastSetupErrorType : Swift.Equatable {} +extension Stripe.STPSetupIntentLastSetupErrorType : Swift.Hashable {} +extension Stripe.STPSetupIntentLastSetupErrorType : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentLastPaymentErrorType : Swift.Equatable {} +extension Stripe.STPPaymentIntentLastPaymentErrorType : Swift.Hashable {} +extension Stripe.STPPaymentIntentLastPaymentErrorType : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentStatus : Swift.Equatable {} +extension Stripe.STPPaymentIntentStatus : Swift.Hashable {} +extension Stripe.STPPaymentIntentStatus : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentSetupFutureUsage : Swift.Equatable {} +extension Stripe.STPPaymentIntentSetupFutureUsage : Swift.Hashable {} +extension Stripe.STPPaymentIntentSetupFutureUsage : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentActionType : Swift.Equatable {} +extension Stripe.STPPaymentIntentActionType : Swift.Hashable {} +extension Stripe.STPPaymentIntentActionType : Swift.RawRepresentable {} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension Stripe.STPPaymentIntentSourceActionType : Swift.Equatable {} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension Stripe.STPPaymentIntentSourceActionType : Swift.Hashable {} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension Stripe.STPPaymentIntentSourceActionType : Swift.RawRepresentable {} +extension Stripe.STPFPXBankBrand : Swift.Equatable {} +extension Stripe.STPFPXBankBrand : Swift.Hashable {} +extension Stripe.STPFPXBankBrand : Swift.RawRepresentable {} +extension Stripe.STPCardValidationState : Swift.Equatable {} +extension Stripe.STPCardValidationState : Swift.Hashable {} +extension Stripe.STPCardValidationState : Swift.RawRepresentable {} +extension Stripe.STPIntentActionType : Swift.Equatable {} +extension Stripe.STPIntentActionType : Swift.Hashable {} +extension Stripe.STPIntentActionType : Swift.RawRepresentable {} +extension Stripe.STPThreeDSCustomizationButtonType : Swift.Equatable {} +extension Stripe.STPThreeDSCustomizationButtonType : Swift.Hashable {} +extension Stripe.STPThreeDSCustomizationButtonType : Swift.RawRepresentable {} +extension Stripe.STPThreeDSButtonTitleStyle : Swift.Equatable {} +extension Stripe.STPThreeDSButtonTitleStyle : Swift.Hashable {} +extension Stripe.STPThreeDSButtonTitleStyle : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentCaptureMethod : Swift.Equatable {} +extension Stripe.STPPaymentIntentCaptureMethod : Swift.Hashable {} +extension Stripe.STPPaymentIntentCaptureMethod : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentConfirmationMethod : Swift.Equatable {} +extension Stripe.STPPaymentIntentConfirmationMethod : Swift.Hashable {} +extension Stripe.STPPaymentIntentConfirmationMethod : Swift.RawRepresentable {} +extension Stripe.STPPaymentMethodCardCheckResult : Swift.Equatable {} +extension Stripe.STPPaymentMethodCardCheckResult : Swift.Hashable {} +extension Stripe.STPPaymentMethodCardCheckResult : Swift.RawRepresentable {} +extension Stripe.STPKlarnaPaymentMethods : Swift.Equatable {} +extension Stripe.STPKlarnaPaymentMethods : Swift.Hashable {} +extension Stripe.STPKlarnaPaymentMethods : Swift.RawRepresentable {} +extension Stripe.STPSourceFlow : Swift.Equatable {} +extension Stripe.STPSourceFlow : Swift.Hashable {} +extension Stripe.STPSourceFlow : Swift.RawRepresentable {} +extension Stripe.STPSourceStatus : Swift.Equatable {} +extension Stripe.STPSourceStatus : Swift.Hashable {} +extension Stripe.STPSourceStatus : Swift.RawRepresentable {} +extension Stripe.STPSourceType : Swift.Equatable {} +extension Stripe.STPSourceType : Swift.Hashable {} +extension Stripe.STPSourceType : Swift.RawRepresentable {} +extension Stripe.STPSourceUsage : Swift.Equatable {} +extension Stripe.STPSourceUsage : Swift.Hashable {} +extension Stripe.STPSourceUsage : Swift.RawRepresentable {} +extension Stripe.STPTokenType : Swift.Equatable {} +extension Stripe.STPTokenType : Swift.Hashable {} +extension Stripe.STPTokenType : Swift.RawRepresentable {} diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/Modules/module.modulemap b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/Modules/module.modulemap new file mode 100644 index 0000000..5212dca --- /dev/null +++ b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module Stripe { + umbrella header "Stripe-umbrella.h" + + export * + module * { export * } +} + +module Stripe.Swift { + header "Stripe-Swift.h" + requires objc +} diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/Stripe b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/Stripe new file mode 100755 index 0000000..825325f Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/Stripe differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/afterpay_icon_info@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/afterpay_icon_info@3x.png new file mode 100644 index 0000000..989626c Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/afterpay_icon_info@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/afterpay_mark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/afterpay_mark@3x.png new file mode 100644 index 0000000..f0665f0 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/afterpay_mark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/afterpay_mark_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/afterpay_mark_dark@3x.png new file mode 100644 index 0000000..525dd28 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/afterpay_mark_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/anz@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/anz@3x.png new file mode 100644 index 0000000..b0b31bd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/anz@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/apple_pay_mark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/apple_pay_mark@3x.png new file mode 100644 index 0000000..e25759b Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/apple_pay_mark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.framework/au_becs_bsb.json b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/au_becs_bsb.json similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/au_becs_bsb.json rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/au_becs_bsb.json diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/back_button@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/back_button@3x.png new file mode 100644 index 0000000..786adfc Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/back_button@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bank_icon_boa@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bank_icon_boa@3x.png new file mode 100644 index 0000000..c48b206 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bank_icon_boa@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bank_icon_capitalone@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bank_icon_capitalone@3x.png new file mode 100644 index 0000000..2d6487f Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bank_icon_capitalone@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bank_icon_citibank@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bank_icon_citibank@3x.png new file mode 100644 index 0000000..72188fa Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bank_icon_citibank@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bank_icon_compass@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bank_icon_compass@3x.png new file mode 100644 index 0000000..009cf0d Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bank_icon_compass@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bank_icon_morganchase@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bank_icon_morganchase@3x.png new file mode 100644 index 0000000..b1585fa Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bank_icon_morganchase@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bank_icon_pnc@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bank_icon_pnc@3x.png new file mode 100644 index 0000000..75d3a8f Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bank_icon_pnc@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bank_icon_stripe@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bank_icon_stripe@3x.png new file mode 100644 index 0000000..7d5ad89 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bank_icon_stripe@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bank_icon_suntrust@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bank_icon_suntrust@3x.png new file mode 100644 index 0000000..3d3eb08 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bank_icon_suntrust@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bank_icon_svb@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bank_icon_svb@3x.png new file mode 100644 index 0000000..1afc11f Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bank_icon_svb@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bank_icon_usaa@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bank_icon_usaa@3x.png new file mode 100644 index 0000000..53ebc99 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bank_icon_usaa@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bank_icon_usbank@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bank_icon_usbank@3x.png new file mode 100644 index 0000000..daa5836 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bank_icon_usbank@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bank_icon_wellsfargo@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bank_icon_wellsfargo@3x.png new file mode 100644 index 0000000..0ca462d Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bank_icon_wellsfargo@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bankofmelbourne@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bankofmelbourne@3x.png new file mode 100644 index 0000000..e1e74bb Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bankofmelbourne@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/banksa@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/banksa@3x.png new file mode 100644 index 0000000..541476c Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/banksa@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bankwest@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bankwest@3x.png new file mode 100644 index 0000000..7d6d12f Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bankwest@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bg-BG.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bg-BG.lproj/Localizable.strings new file mode 100644 index 0000000..a5f83a0 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/bg-BG.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/boq@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/boq@3x.png new file mode 100644 index 0000000..ed7ae5c Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/boq@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/ca-ES.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/ca-ES.lproj/Localizable.strings new file mode 100644 index 0000000..0523354 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/ca-ES.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_amex@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_amex@3x.png new file mode 100644 index 0000000..3b6e9a8 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_amex@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_amex_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_amex_dark@3x.png new file mode 100644 index 0000000..b352ec1 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_amex_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_cvc_amex_icon@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_cvc_amex_icon@3x.png new file mode 100644 index 0000000..a9d710e Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_cvc_amex_icon@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_cvc_amex_icon_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_cvc_amex_icon_dark@3x.png new file mode 100644 index 0000000..a602622 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_cvc_amex_icon_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_cvc_icon@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_cvc_icon@3x.png new file mode 100644 index 0000000..4340785 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_cvc_icon@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_cvc_icon_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_cvc_icon_dark@3x.png new file mode 100644 index 0000000..73189ae Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_cvc_icon_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_diners@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_diners@3x.png new file mode 100644 index 0000000..26f8aff Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_diners@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_diners_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_diners_dark@3x.png new file mode 100644 index 0000000..0df4d46 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_diners_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_discover@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_discover@3x.png new file mode 100644 index 0000000..d42024b Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_discover@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_discover_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_discover_dark@3x.png new file mode 100644 index 0000000..7efb3ed Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_discover_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_jcb@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_jcb@3x.png new file mode 100644 index 0000000..4f813fd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_jcb@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_jcb_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_jcb_dark@3x.png new file mode 100644 index 0000000..fb647c8 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_jcb_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_mastercard@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_mastercard@3x.png new file mode 100644 index 0000000..7ca3e65 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_mastercard@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_mastercard_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_mastercard_dark@3x.png new file mode 100644 index 0000000..34a150a Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_mastercard_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_unionpay@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_unionpay@3x.png new file mode 100644 index 0000000..d16575b Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_unionpay@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_unionpay_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_unionpay_dark@3x.png new file mode 100644 index 0000000..0f92229 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_unionpay_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_unknown@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_unknown@3x.png new file mode 100644 index 0000000..185ecb8 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_unknown@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_unknown_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_unknown_dark@3x.png new file mode 100644 index 0000000..3640a50 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_unknown_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_unknown_icon@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_unknown_icon@3x.png new file mode 100644 index 0000000..6cea801 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_unknown_icon@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_unknown_icon_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_unknown_icon_dark@3x.png new file mode 100644 index 0000000..0049a10 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_unknown_icon_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_visa@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_visa@3x.png new file mode 100644 index 0000000..a7ac64f Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_visa@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_visa_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_visa_dark@3x.png new file mode 100644 index 0000000..18b0969 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/card_visa_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/cba@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/cba@3x.png new file mode 100644 index 0000000..6be62aa Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/cba@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/clearpay_mark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/clearpay_mark@3x.png new file mode 100644 index 0000000..b67dbf7 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/clearpay_mark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/clearpay_mark_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/clearpay_mark_dark@3x.png new file mode 100644 index 0000000..9108a2c Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/clearpay_mark_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/cs-CZ.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/cs-CZ.lproj/Localizable.strings new file mode 100644 index 0000000..d458593 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/cs-CZ.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/da.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/da.lproj/Localizable.strings new file mode 100644 index 0000000..0ff2841 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/da.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/de.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/de.lproj/Localizable.strings new file mode 100644 index 0000000..78fb676 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/de.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/el-GR.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/el-GR.lproj/Localizable.strings new file mode 100644 index 0000000..12f2c48 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/el-GR.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/en-GB.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/en-GB.lproj/Localizable.strings new file mode 100644 index 0000000..7fa5335 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/en-GB.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/en.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/en.lproj/Localizable.strings new file mode 100644 index 0000000..a987074 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/en.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/es-419.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/es-419.lproj/Localizable.strings new file mode 100644 index 0000000..0058719 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/es-419.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/es.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/es.lproj/Localizable.strings new file mode 100644 index 0000000..e6ede85 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/es.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/et-EE.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/et-EE.lproj/Localizable.strings new file mode 100644 index 0000000..7713c2c Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/et-EE.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/fi.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/fi.lproj/Localizable.strings new file mode 100644 index 0000000..d9bdba6 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/fi.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/fil.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/fil.lproj/Localizable.strings new file mode 100644 index 0000000..49728dd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/fil.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/form_error_icon@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/form_error_icon@3x.png new file mode 100644 index 0000000..6408bf3 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/form_error_icon@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/form_error_icon_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/form_error_icon_dark@3x.png new file mode 100644 index 0000000..1d24044 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/form_error_icon_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/fr-CA.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/fr-CA.lproj/Localizable.strings new file mode 100644 index 0000000..09e3e0c Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/fr-CA.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/fr.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/fr.lproj/Localizable.strings new file mode 100644 index 0000000..3fd83e5 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/fr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/hr.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/hr.lproj/Localizable.strings new file mode 100644 index 0000000..0c9ed92 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/hr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/hu.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/hu.lproj/Localizable.strings new file mode 100644 index 0000000..e3c22d7 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/hu.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-afterpay@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-afterpay@3x.png new file mode 100644 index 0000000..2a00097 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-afterpay@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-afterpay_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-afterpay_dark@3x.png new file mode 100644 index 0000000..a68614d Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-afterpay_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-bancontact@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-bancontact@3x.png new file mode 100644 index 0000000..6420d62 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-bancontact@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-bancontact_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-bancontact_dark@3x.png new file mode 100644 index 0000000..8284916 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-bancontact_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-card@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-card@3x.png new file mode 100644 index 0000000..8c74e80 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-card@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-eps@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-eps@3x.png new file mode 100644 index 0000000..3318c75 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-eps@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-eps_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-eps_dark@3x.png new file mode 100644 index 0000000..27320a5 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-eps_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-giropay@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-giropay@3x.png new file mode 100644 index 0000000..8cc3d0b Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-giropay@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-giropay_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-giropay_dark@3x.png new file mode 100644 index 0000000..8126de0 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-giropay_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-ideal@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-ideal@3x.png new file mode 100644 index 0000000..ef0c880 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-ideal@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-ideal_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-ideal_dark@3x.png new file mode 100644 index 0000000..5e0abac Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-ideal_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-klarna@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-klarna@3x.png new file mode 100644 index 0000000..8794e20 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-klarna@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-klarna_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-klarna_dark@3x.png new file mode 100644 index 0000000..eb56237 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-klarna_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-p24@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-p24@3x.png new file mode 100644 index 0000000..563b984 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-p24@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-p24_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-p24_dark@3x.png new file mode 100644 index 0000000..7b8eea8 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-p24_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-paypal@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-paypal@3x.png new file mode 100644 index 0000000..ed33573 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-paypal@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-paypal_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-paypal_dark@3x.png new file mode 100644 index 0000000..d679a54 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-paypal_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-sepa@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-sepa@3x.png new file mode 100644 index 0000000..6c84aaa Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-sepa@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-sepa_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-sepa_dark@3x.png new file mode 100644 index 0000000..7749f54 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon-pm-sepa_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon_add_bordered@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon_add_bordered@3x.png new file mode 100644 index 0000000..e689c76 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon_add_bordered@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon_cancel@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon_cancel@3x.png new file mode 100644 index 0000000..0d4887d Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon_cancel@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon_checkmark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon_checkmark@3x.png new file mode 100644 index 0000000..02b91e7 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon_checkmark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon_chevron_left@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon_chevron_left@3x.png new file mode 100644 index 0000000..bae3e9d Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon_chevron_left@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon_link_toast_success@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon_link_toast_success@3x.png new file mode 100644 index 0000000..092f97e Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon_link_toast_success@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon_lock@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon_lock@3x.png new file mode 100644 index 0000000..9b504fd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon_lock@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon_menu@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon_menu@3x.png new file mode 100644 index 0000000..f311116 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon_menu@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon_plus@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon_plus@3x.png new file mode 100644 index 0000000..1d616ae Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon_plus@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon_x@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon_x@3x.png new file mode 100644 index 0000000..23e449c Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/icon_x@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/id.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/id.lproj/Localizable.strings new file mode 100644 index 0000000..344b752 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/id.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/it.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/it.lproj/Localizable.strings new file mode 100644 index 0000000..d3421a2 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/it.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/ja.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/ja.lproj/Localizable.strings new file mode 100644 index 0000000..6bb2fb8 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/ja.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/ko.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/ko.lproj/Localizable.strings new file mode 100644 index 0000000..9bcd329 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/ko.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/link_logo@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/link_logo@3x.png new file mode 100644 index 0000000..ff80471 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/link_logo@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/lt-LT.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/lt-LT.lproj/Localizable.strings new file mode 100644 index 0000000..c88765d Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/lt-LT.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/lv-LV.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/lv-LV.lproj/Localizable.strings new file mode 100644 index 0000000..b6b5df1 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/lv-LV.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/ms-MY.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/ms-MY.lproj/Localizable.strings new file mode 100644 index 0000000..f7d2ada Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/ms-MY.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/mt.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/mt.lproj/Localizable.strings new file mode 100644 index 0000000..55656e9 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/mt.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/nab@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/nab@3x.png new file mode 100644 index 0000000..b6ef382 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/nab@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/nb.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/nb.lproj/Localizable.strings new file mode 100644 index 0000000..b83a7bf Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/nb.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/nl.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/nl.lproj/Localizable.strings new file mode 100644 index 0000000..ea411aa Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/nl.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/nn-NO.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/nn-NO.lproj/Localizable.strings new file mode 100644 index 0000000..938ea6c Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/nn-NO.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/pl-PL.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/pl-PL.lproj/Localizable.strings new file mode 100644 index 0000000..77a379a Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/pl-PL.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/pt-BR.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/pt-BR.lproj/Localizable.strings new file mode 100644 index 0000000..1bd9a7a Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/pt-BR.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/pt-PT.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/pt-PT.lproj/Localizable.strings new file mode 100644 index 0000000..1e26a18 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/pt-PT.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/ro-RO.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/ro-RO.lproj/Localizable.strings new file mode 100644 index 0000000..109b833 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/ro-RO.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/ru.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/ru.lproj/Localizable.strings new file mode 100644 index 0000000..45309a4 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/ru.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/sk-SK.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/sk-SK.lproj/Localizable.strings new file mode 100644 index 0000000..cf05095 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/sk-SK.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/sl-SI.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/sl-SI.lproj/Localizable.strings new file mode 100644 index 0000000..94443eb Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/sl-SI.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stgeorges@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stgeorges@3x.png new file mode 100644 index 0000000..f4bc321 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stgeorges@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_affin_bank@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_bank_fpx_affin_bank@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_affin_bank@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_bank_fpx_affin_bank@3x.png diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_alliance_bank@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_bank_fpx_alliance_bank@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_alliance_bank@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_bank_fpx_alliance_bank@3x.png diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_ambank@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_bank_fpx_ambank@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_ambank@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_bank_fpx_ambank@3x.png diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_bank_islam@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_bank_fpx_bank_islam@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_bank_islam@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_bank_fpx_bank_islam@3x.png diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_bank_muamalat@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_bank_fpx_bank_muamalat@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_bank_muamalat@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_bank_fpx_bank_muamalat@3x.png diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_bank_rakyat@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_bank_fpx_bank_rakyat@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_bank_rakyat@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_bank_fpx_bank_rakyat@3x.png diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_bsn@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_bank_fpx_bsn@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_bsn@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_bank_fpx_bsn@3x.png diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_cimb@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_bank_fpx_cimb@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_cimb@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_bank_fpx_cimb@3x.png diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_hong_leong_bank@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_bank_fpx_hong_leong_bank@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_hong_leong_bank@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_bank_fpx_hong_leong_bank@3x.png diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_hsbc@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_bank_fpx_hsbc@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_hsbc@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_bank_fpx_hsbc@3x.png diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_kfh@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_bank_fpx_kfh@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_kfh@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_bank_fpx_kfh@3x.png diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_maybank2e@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_bank_fpx_maybank2e@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_maybank2e@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_bank_fpx_maybank2e@3x.png diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_maybank2u@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_bank_fpx_maybank2u@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_maybank2u@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_bank_fpx_maybank2u@3x.png diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_ocbc@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_bank_fpx_ocbc@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_ocbc@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_bank_fpx_ocbc@3x.png diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_public_bank@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_bank_fpx_public_bank@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_public_bank@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_bank_fpx_public_bank@3x.png diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_rhb@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_bank_fpx_rhb@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_rhb@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_bank_fpx_rhb@3x.png diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_standard_chartered@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_bank_fpx_standard_chartered@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_standard_chartered@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_bank_fpx_standard_chartered@3x.png diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_uob@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_bank_fpx_uob@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_bank_fpx_uob@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_bank_fpx_uob@3x.png diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_amex@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_amex@3x.png new file mode 100644 index 0000000..2ee473b Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_amex@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_amex_template@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_amex_template@3x.png new file mode 100644 index 0000000..c1bbc01 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_amex_template@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_applepay@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_applepay@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_card_applepay@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_applepay@3x.png diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_cvc@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_cvc@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_card_cvc@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_cvc@3x.png diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_cvc_amex@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_cvc_amex@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_card_cvc_amex@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_cvc_amex@3x.png diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_diners@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_diners@3x.png new file mode 100644 index 0000000..b8f1e34 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_diners@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_diners_template@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_diners_template@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_card_diners_template@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_diners_template@3x.png diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_discover@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_discover@3x.png new file mode 100644 index 0000000..db80042 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_discover@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_discover_template@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_discover_template@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_card_discover_template@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_discover_template@3x.png diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_error@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_error@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_card_error@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_error@3x.png diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_error_amex@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_error_amex@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_card_error_amex@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_error_amex@3x.png diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_form_amex_cvc@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_form_amex_cvc@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_card_form_amex_cvc@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_form_amex_cvc@3x.png diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_form_back@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_form_back@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_card_form_back@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_form_back@3x.png diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_form_front@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_form_front@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_card_form_front@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_form_front@3x.png diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_jcb@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_jcb@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_card_jcb@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_jcb@3x.png diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_jcb_template@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_jcb_template@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_card_jcb_template@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_jcb_template@3x.png diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_mastercard@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_mastercard@3x.png new file mode 100644 index 0000000..6e31c4f Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_mastercard@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_mastercard_template@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_mastercard_template@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_card_mastercard_template@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_mastercard_template@3x.png diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_unionpay_en@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_unionpay_en@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_card_unionpay_en@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_unionpay_en@3x.png diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_unionpay_template_en@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_unionpay_template_en@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_card_unionpay_template_en@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_unionpay_template_en@3x.png diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_unionpay_template_zh@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_unionpay_template_zh@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_card_unionpay_template_zh@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_unionpay_template_zh@3x.png diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_unionpay_zh@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_unionpay_zh@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_card_unionpay_zh@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_unionpay_zh@3x.png diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_unknown@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_unknown@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_card_unknown@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_unknown@3x.png diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_visa@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_visa@3x.png new file mode 100644 index 0000000..7282378 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_visa@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_card_visa_template@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_visa_template@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_card_visa_template@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_card_visa_template@3x.png diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_fpx_big_logo@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_fpx_big_logo@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_fpx_big_logo@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_fpx_big_logo@3x.png diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_fpx_logo@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_fpx_logo@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_fpx_logo@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_fpx_logo@3x.png diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_icon_add@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_icon_add@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_icon_add@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_icon_add@3x.png diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_icon_bank@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_icon_bank@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_icon_bank@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_icon_bank@3x.png diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_icon_checkmark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_icon_checkmark@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_icon_checkmark@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_icon_checkmark@3x.png diff --git a/stripe_ios/ios/platform/Stripe.framework/stp_shipping_form@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_shipping_form@3x.png similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/stp_shipping_form@3x.png rename to stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/stp_shipping_form@3x.png diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/suncorpmetway@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/suncorpmetway@3x.png new file mode 100644 index 0000000..6e8398b Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/suncorpmetway@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/sv.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/sv.lproj/Localizable.strings new file mode 100644 index 0000000..fb147db Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/sv.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/tk.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/tk.lproj/Localizable.strings new file mode 100644 index 0000000..fc74b30 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/tk.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/tr.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/tr.lproj/Localizable.strings new file mode 100644 index 0000000..ff83f88 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/tr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/vi.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/vi.lproj/Localizable.strings new file mode 100644 index 0000000..9330320 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/vi.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/westpac@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/westpac@3x.png new file mode 100644 index 0000000..652048c Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/westpac@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/zh-HK.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/zh-HK.lproj/Localizable.strings new file mode 100644 index 0000000..15809ca Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/zh-HK.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/zh-Hans.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/zh-Hans.lproj/Localizable.strings new file mode 100644 index 0000000..23a8e6b Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/zh-Hans.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/zh-Hant.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/zh-Hant.lproj/Localizable.strings new file mode 100644 index 0000000..52a269e Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64/Stripe.framework/zh-Hant.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Headers b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Headers new file mode 120000 index 0000000..a177d2a --- /dev/null +++ b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Modules b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Modules new file mode 120000 index 0000000..5736f31 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Resources b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Resources new file mode 120000 index 0000000..953ee36 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Stripe b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Stripe new file mode 120000 index 0000000..40ae8b6 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Stripe @@ -0,0 +1 @@ +Versions/Current/Stripe \ No newline at end of file diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Headers/Stripe-Swift.h b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Headers/Stripe-Swift.h new file mode 100644 index 0000000..17cb5a3 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Headers/Stripe-Swift.h @@ -0,0 +1,16006 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +#ifndef STRIPE_SWIFT_H +#define STRIPE_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# 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 +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import CoreGraphics; +@import Foundation; +@import ObjectiveC; +@import PassKit; +@import SafariServices; +@import StripeApplePay; +@import StripeCore; +@import UIKit; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="Stripe",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + + + + +@interface NSError (SWIFT_EXTENSION(Stripe)) +/// Creates an NSError object from a given Stripe API json response. +/// \param jsonDictionary The root dictionary from the JSON response. +/// +/// +/// returns: +/// An NSError object with the error information from the JSON response, +/// or nil if there was no error information included in the JSON dictionary. ++ (NSError * _Nullable)stp_errorFromStripeResponse:(NSDictionary * _Nullable)jsonDictionary SWIFT_WARN_UNUSED_RESULT; +@end + + + + +/// Objects conforming to STPAPIResponseDecodable can be automatically converted +/// from a JSON dictionary that was returned from the Stripe API. +SWIFT_PROTOCOL("_TtP6Stripe23STPAPIResponseDecodable_") +@protocol STPAPIResponseDecodable +/// Parses an response from the Stripe API (in JSON format; represented as +/// an NSDictionary) into an instance of the class. +/// \param response The JSON dictionary that represents an object of this type +/// +/// +/// returns: +/// The object represented by the JSON dictionary, or nil if the object +/// could not be decoded (i.e. if one of its requiredFields is nil). ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +/// The raw JSON response used to create the object. This can be useful for accessing +/// fields that haven’t yet been made into native properties in the SDK. +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +@end + +@class UIFont; +@class UIColor; + +/// STPFormTextFieldContainer is a protocol that views can conform to to provide customization properties for the field form views that they contain. +SWIFT_PROTOCOL("_TtP6Stripe25STPFormTextFieldContainer_") +@protocol STPFormTextFieldContainer +/// The font used in each child field. Default is .body. +@property (nonatomic, strong) UIFont * _Nonnull formFont; +/// The text color to be used when entering valid text. Default is .label on iOS 13.0 and later and .darkText on earlier versions. +@property (nonatomic, strong) UIColor * _Nonnull formTextColor; +/// The text color to be used when the user has entered invalid information, +/// such as an invalid card number. +/// Default is .red. +@property (nonatomic, strong) UIColor * _Nonnull formTextErrorColor; +/// The text placeholder color used in each child field. +/// This will also set the color of the card placeholder icon. +/// Default is .placeholderText on iOS 13.0 and .lightGray on earlier versions. +@property (nonatomic, strong) UIColor * _Nonnull formPlaceholderColor; +/// The cursor color for the field. +/// This is a proxy for the view’s tintColor property, exposed for clarity only +/// (in other words, calling setCursorColor is identical to calling setTintColor). +@property (nonatomic, strong) UIColor * _Nonnull formCursorColor; +/// The keyboard appearance for the field. +/// Default is .default. +@property (nonatomic) UIKeyboardAppearance formKeyboardAppearance; +@end + +@class UITextField; +@class NSCoder; + +/// STPMultiFormTextField is a lightweight UIView that wraps a collection of STPFormTextFields and can automatically move to the next form field when one is completed. +SWIFT_CLASS("_TtC6Stripe21STPMultiFormTextField") +@interface STPMultiFormTextField : UIView +/// :nodoc: +- (BOOL)textField:(UITextField * _Nonnull)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString * _Nonnull)string SWIFT_WARN_UNUSED_RESULT; +/// Calling this method will make the next incomplete STPFormTextField in formTextFields become the first responder. +/// If all of the form text fields are already complete, then the last field in formTextFields will become the first responder. +- (void)focusNextForm; +/// :nodoc: +@property (nonatomic, readonly) BOOL canResignFirstResponder; +/// :nodoc: +- (BOOL)resignFirstResponder SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) BOOL isFirstResponder; +/// :nodoc: +@property (nonatomic, readonly) BOOL canBecomeFirstResponder; +/// :nodoc: +- (BOOL)becomeFirstResponder SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)textFieldDidEndEditing:(UITextField * _Nonnull)textField; +/// :nodoc: +- (void)textFieldDidBeginEditing:(UITextField * _Nonnull)textField; +/// :nodoc: +- (BOOL)textFieldShouldReturn:(UITextField * _Nonnull)textField SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, strong) UIFont * _Nonnull formFont; +@property (nonatomic, strong) UIColor * _Nonnull formTextColor; +@property (nonatomic, strong) UIColor * _Nonnull formTextErrorColor; +@property (nonatomic, strong) UIColor * _Nonnull formPlaceholderColor; +@property (nonatomic, strong) UIColor * _Nonnull formCursorColor; +@property (nonatomic) UIKeyboardAppearance formKeyboardAppearance; +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; +@end + +@protocol STPAUBECSDebitFormViewDelegate; +@class STPPaymentMethodParams; +@class UITextView; + +/// STPAUBECSDebitFormView is a subclass of UIControl that contains all of the necessary fields and legal text for collecting AU BECS Debit payments. +/// For additional customization options - seealso: STPFormTextFieldContainer +SWIFT_CLASS("_TtC6Stripe22STPAUBECSDebitFormView") +@interface STPAUBECSDebitFormView : STPMultiFormTextField +/// \param companyName The name of the company collecting AU BECS Debit payment details information. This will be used to provide the required service agreement text. - seealso: https://stripe.com/au-becs/legal +/// +- (nonnull instancetype)initWithCompanyName:(NSString * _Nonnull)companyName OBJC_DESIGNATED_INITIALIZER; +/// Use initWithCompanyName instead. +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; +/// Use initWithCompanyName instead. +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +/// The background color for the form text fields. Defaults to .systemBackground on iOS 13.0 and later, .white on earlier iOS versions. +@property (nonatomic, strong) UIColor * _Nonnull formBackgroundColor; +/// The delegate to inform about changes to this STPAUBECSDebitFormView instance. +@property (nonatomic, weak) id _Nullable becsDebitFormDelegate; +/// This property will return a non-nil value if and only if the form is in a complete state. The STPPaymentMethodParams instance +/// will have it’s auBECSDebit property populated with the values input in this form. +@property (nonatomic, readonly, strong) STPPaymentMethodParams * _Nullable paymentMethodParams; +/// :nodoc: +- (CGSize)systemLayoutSizeFittingSize:(CGSize)targetSize withHorizontalFittingPriority:(UILayoutPriority)horizontalFittingPriority verticalFittingPriority:(UILayoutPriority)verticalFittingPriority SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (BOOL)textView:(UITextView * _Nonnull)textView shouldInteractWithURL:(NSURL * _Nonnull)URL inRange:(NSRange)characterRange interaction:(UITextItemInteraction)interaction SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, strong) UIFont * _Nonnull formFont; +/// :nodoc: +@property (nonatomic, strong) UIColor * _Nonnull formTextColor; +@end + + + +/// STPAUBECSDebitFormViewDelegate provides methods for STPAUBECSDebitFormView to inform its delegate +/// of when the form has been completed. +SWIFT_PROTOCOL("_TtP6Stripe30STPAUBECSDebitFormViewDelegate_") +@protocol STPAUBECSDebitFormViewDelegate +/// Called when the form transitions from complete to incomplete or vice-versa. +/// \param form The STPAUBECSDebitFormView instance whose completion state has changed +/// +/// \param complete Whether the form is considered complete and can generate an STPPaymentMethodParams instance. +/// +- (void)auBECSDebitForm:(STPAUBECSDebitFormView * _Nonnull)form didChangeToStateComplete:(BOOL)complete; +@end + +@class STPPaymentCardTextField; + +/// This protocol allows a delegate to be notified when a payment text field’s +/// contents change, which can in turn be used to take further actions depending +/// on the validity of its contents. +SWIFT_PROTOCOL("_TtP6Stripe31STPPaymentCardTextFieldDelegate_") +@protocol STPPaymentCardTextFieldDelegate +@optional +/// Called when either the card number, expiration, or CVC changes. At this point, +/// one can call isValid on the text field to determine, for example, +/// whether or not to enable a button to submit the form. Example: +///
    +///
  • +/// (void)paymentCardTextFieldDidChange:(STPPaymentCardTextField *)textField { +/// self.paymentButton.enabled = textField.isValid; +/// } +///
  • +///
+/// \param textField the text field that has changed +/// +- (void)paymentCardTextFieldDidChange:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing begins in the text field as a whole. +/// After receiving this callback, you will always also receive a callback for which +/// specific subfield of the view began editing. +- (void)paymentCardTextFieldDidBeginEditing:(STPPaymentCardTextField * _Nonnull)textField; +/// Notification that the user pressed the return key after completely filling +/// out the STPPaymentCardTextField with data that passes validation. +/// The Stripe SDK is going to resignFirstResponder on the STPPaymentCardTextField +/// to dismiss the keyboard after this delegate method returns, however if your app wants +/// to do something more (ex: move first responder to another field), this is a good +/// opportunity to do that. +/// This is delivered before the corresponding paymentCardTextFieldDidEndEditing: +/// \param textField The STPPaymentCardTextField that was being edited when the user pressed return +/// +- (void)paymentCardTextFieldWillEndEditingForReturn:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing ends in the text field as a whole. +/// This callback is always preceded by an callback for which +/// specific subfield of the view ended its editing. +- (void)paymentCardTextFieldDidEndEditing:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing begins in the payment card field’s number field. +- (void)paymentCardTextFieldDidBeginEditingNumber:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing ends in the payment card field’s number field. +- (void)paymentCardTextFieldDidEndEditingNumber:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing begins in the payment card field’s CVC field. +- (void)paymentCardTextFieldDidBeginEditingCVC:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing ends in the payment card field’s CVC field. +- (void)paymentCardTextFieldDidEndEditingCVC:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing begins in the payment card field’s expiration field. +- (void)paymentCardTextFieldDidBeginEditingExpiration:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing ends in the payment card field’s expiration field. +- (void)paymentCardTextFieldDidEndEditingExpiration:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing begins in the payment card field’s ZIP/postal code field. +- (void)paymentCardTextFieldDidBeginEditingPostalCode:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing ends in the payment card field’s ZIP/postal code field. +- (void)paymentCardTextFieldDidEndEditingPostalCode:(STPPaymentCardTextField * _Nonnull)textField; +@end + +@class STPTheme; +@class NSBundle; + +/// This is the base class for all Stripe view controllers. It is intended for use +/// only by Stripe classes, you should not subclass it yourself in your app. +/// It theming, back/cancel button management, and other shared logic for +/// Stripe view controllers. +SWIFT_CLASS("_TtC6Stripe21STPCoreViewController") +@interface STPCoreViewController : UIViewController +/// A convenience initializer; equivalent to calling init(theme: STPTheme.defaultTheme). +- (nonnull instancetype)init; +/// Initializes a new view controller with the specified theme +/// \param theme The theme to use to inform the view controller’s visual appearance. - seealso: STPTheme +/// +- (nonnull instancetype)initWithTheme:(STPTheme * _Nullable)theme OBJC_DESIGNATED_INITIALIZER; +/// Passes through to the default UIViewController behavior for this initializer, +/// and then also sets the default theme as in init +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER; +/// Passes through to the default UIViewController behavior for this initializer, +/// and then also sets the default theme as in init +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +- (void)viewDidLoad; +/// :nodoc: +- (void)viewWillAppear:(BOOL)animated; +/// :nodoc: +- (void)viewWillDisappear:(BOOL)animated; +/// :nodoc: +@property (nonatomic, readonly) UIStatusBarStyle preferredStatusBarStyle; +@end + +@class UIScrollView; + +/// This is the base class for all Stripe scroll view controllers. It is intended +/// for use only by Stripe classes, you should not subclass it yourself in your app. +SWIFT_CLASS("_TtC6Stripe27STPCoreScrollViewController") +@interface STPCoreScrollViewController : STPCoreViewController +/// This returns the scroll view being managed by the view controller +@property (nonatomic, strong) UIScrollView * _Nonnull scrollView; +/// :nodoc: +- (void)viewDidLoad; +/// :nodoc: +- (void)viewDidLayoutSubviews; +- (nonnull instancetype)initWithTheme:(STPTheme * _Nullable)theme OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER; +@end + +@class UITableView; + +/// This is the base class for all Stripe scroll view controllers. It is intended +/// for use only by Stripe classes, you should not subclass it yourself in your app. +/// It inherits from STPCoreScrollViewController and changes the type of the +/// created scroll view to UITableView, as well as other shared table view logic. +SWIFT_CLASS("_TtC6Stripe26STPCoreTableViewController") +@interface STPCoreTableViewController : STPCoreScrollViewController +/// This points to the same object as STPCoreScrollViewController’s scrollView +/// property but with the type cast to UITableView +@property (nonatomic, readonly, strong) UITableView * _Nullable tableView; +/// :nodoc: +- (void)viewWillAppear:(BOOL)animated; +/// :nodoc: +- (CGFloat)tableView:(UITableView * _Nonnull)tableView heightForHeaderInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)initWithTheme:(STPTheme * _Nullable)theme OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER; +@end + +@class STPPaymentConfiguration; +@protocol STPAddCardViewControllerDelegate; +@class STPUserInformation; +@class STPAPIClient; +@class UITableViewCell; +@protocol UIViewControllerTransitionCoordinator; + +/// This view controller contains a credit card entry form that the user can fill out. On submission, it will use the Stripe API to convert the user’s card details to a Stripe token. It renders a right bar button item that submits the form, so it must be shown inside a UINavigationController. +SWIFT_CLASS("_TtC6Stripe24STPAddCardViewController") +@interface STPAddCardViewController : STPCoreTableViewController +/// A convenience initializer; equivalent to calling init(configuration: STPPaymentConfiguration.shared, theme: STPTheme.defaultTheme). +- (nonnull instancetype)init; +/// Initializes a new STPAddCardViewController with the provided configuration and theme. Don’t forget to set the delegate property after initialization. +/// \param configuration The configuration to use (this determines the Stripe publishable key to use, the required billing address fields, whether or not to use SMS autofill, etc). - seealso: STPPaymentConfiguration +/// +/// \param theme The theme to use to inform the view controller’s visual appearance. - seealso: STPTheme +/// +- (nonnull instancetype)initWithConfiguration:(STPPaymentConfiguration * _Nonnull)configuration theme:(STPTheme * _Nonnull)theme OBJC_DESIGNATED_INITIALIZER; +/// The view controller’s delegate. This must be set before showing the view controller in order for it to work properly. - seealso: STPAddCardViewControllerDelegate +@property (nonatomic, weak) id _Nullable delegate; +/// You can set this property to pre-fill any information you’ve already collected from your user. - seealso: STPUserInformation.h +@property (nonatomic, strong) STPUserInformation * _Nullable prefilledInformation; +/// Provide this view controller with a footer view. +/// When the footer view needs to be resized, it will be sent a +/// sizeThatFits: call. The view should respond correctly to this method in order +/// to be sized and positioned properly. +@property (nonatomic, strong) UIView * _Nullable customFooterView; +/// The API Client to use to make requests. +/// Defaults to STPAPIClient.shared. +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +/// Use init: or initWithConfiguration:theme: +- (nonnull instancetype)initWithTheme:(STPTheme * _Nullable)theme SWIFT_UNAVAILABLE; +/// Use init: or initWithConfiguration:theme: +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE; +/// Use init: or initWithConfiguration:theme: +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE; +/// :nodoc: +- (CGFloat)tableView:(UITableView * _Nonnull)tableView estimatedHeightForRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)viewDidLayoutSubviews; +/// :nodoc: +- (void)updateAppearance; +/// :nodoc: +- (void)viewDidAppear:(BOOL)animated; +/// :nodoc: +- (void)handleCancelTapped:(id _Nullable)sender; +- (void)paymentCardTextFieldDidChange:(STPPaymentCardTextField * _Nonnull)textField; +- (void)paymentCardTextFieldWillEndEditingForReturn:(STPPaymentCardTextField * _Nonnull)textField; +- (void)paymentCardTextFieldDidBeginEditingCVC:(STPPaymentCardTextField * _Nonnull)textField; +- (void)paymentCardTextFieldDidEndEditingCVC:(STPPaymentCardTextField * _Nonnull)textField; +- (void)paymentCardTextFieldDidBeginEditing:(STPPaymentCardTextField * _Nonnull)textField; +/// :nodoc: +- (NSInteger)numberOfSectionsInTableView:(UITableView * _Nonnull)tableView SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (NSInteger)tableView:(UITableView * _Nonnull)tableView numberOfRowsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (UITableViewCell * _Nonnull)tableView:(UITableView * _Nonnull)tableView cellForRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)tableView:(UITableView * _Nonnull)tableView willDisplayCell:(UITableViewCell * _Nonnull)cell forRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath; +/// :nodoc: +- (CGFloat)tableView:(UITableView * _Nonnull)tableView heightForFooterInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (CGFloat)tableView:(UITableView * _Nonnull)tableView heightForHeaderInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (UIView * _Nullable)tableView:(UITableView * _Nonnull)tableView viewForHeaderInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (UIView * _Nullable)tableView:(UITableView * _Nonnull)tableView viewForFooterInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id _Nonnull)coordinator; +@end + + +@class STPPaymentMethod; +@class STPToken; +@class STPSource; + +/// An STPAddCardViewControllerDelegate is notified when an STPAddCardViewController +/// successfully creates a card token or is cancelled. It has internal error-handling +/// logic, so there’s no error case to deal with. +SWIFT_PROTOCOL("_TtP6Stripe32STPAddCardViewControllerDelegate_") +@protocol STPAddCardViewControllerDelegate +/// Called when the user cancels adding a card. You should dismiss (or pop) the +/// view controller at this point. +/// \param addCardViewController the view controller that has been cancelled +/// +- (void)addCardViewControllerDidCancel:(STPAddCardViewController * _Nonnull)addCardViewController; +/// This is called when the user successfully adds a card and Stripe returns a +/// Payment Method. +/// You should send the PaymentMethod to your backend to store it on a customer, and then +/// call the provided completion block when that call is finished. If an error +/// occurs while talking to your backend, call completion(error), otherwise, +/// dismiss (or pop) the view controller. +/// \param addCardViewController the view controller that successfully created a token +/// +/// \param paymentMethod the Payment Method that was created. - seealso: STPPaymentMethod +/// +/// \param completion call this callback when you’re done sending the token to your backend +/// +- (void)addCardViewController:(STPAddCardViewController * _Nonnull)addCardViewController didCreatePaymentMethod:(STPPaymentMethod * _Nonnull)paymentMethod completion:(void (^ _Nonnull)(NSError * _Nullable))completion; +@optional +/// This method is deprecated as of v16.0.0 (https://github.com/stripe/stripe-ios/blob/master/MIGRATING.md#migrating-from-versions–1600). +/// To use this class, migrate your integration from Charges to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read +- (void)addCardViewController:(STPAddCardViewController * _Nonnull)addCardViewController didCreateToken:(STPToken * _Nonnull)token completion:(SWIFT_NOESCAPE void (^ _Nonnull)(NSError * _Nullable))completion SWIFT_DEPRECATED_MSG("Use addCardViewController(_:didCreatePaymentMethod:completion:) instead and migrate your integration to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read", "addCardViewController:didCreatePaymentMethod:completion:"); +/// This method is deprecated as of v16.0.0 (https://github.com/stripe/stripe-ios/blob/master/MIGRATING.md#migrating-from-versions–1600). +/// To use this class, migrate your integration from Charges to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read +- (void)addCardViewController:(STPAddCardViewController * _Nonnull)addCardViewController didCreateSource:(STPSource * _Nonnull)source completion:(SWIFT_NOESCAPE void (^ _Nonnull)(NSError * _Nullable))completion SWIFT_DEPRECATED_MSG("Use addCardViewController(_:didCreatePaymentMethod:completion:) instead and migrate your integration to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read", "addCardViewController:didCreatePaymentMethod:completion:"); +@end + +@class PKShippingMethod; +@class STPPaymentMethodBillingDetails; +@class PKContact; +@class CNContact; +enum STPBillingAddressFields : NSUInteger; +@class STPContactField; + +/// STPAddress Contains an address as represented by the Stripe API. +SWIFT_CLASS("_TtC6Stripe10STPAddress") +@interface STPAddress : NSObject +/// The user’s full name (e.g. “Jane Doe”) +@property (nonatomic, copy) NSString * _Nullable name; +/// The first line of the user’s street address (e.g. “123 Fake St”) +@property (nonatomic, copy) NSString * _Nullable line1; +/// The apartment, floor number, etc of the user’s street address (e.g. “Apartment 1A”) +@property (nonatomic, copy) NSString * _Nullable line2; +/// The city in which the user resides (e.g. “San Francisco”) +@property (nonatomic, copy) NSString * _Nullable city; +/// The state in which the user resides (e.g. “CA”) +@property (nonatomic, copy) NSString * _Nullable state; +/// The postal code in which the user resides (e.g. “90210”) +@property (nonatomic, copy) NSString * _Nullable postalCode; +/// The ISO country code of the address (e.g. “US”) +@property (nonatomic, copy) NSString * _Nullable country; +/// The phone number of the address (e.g. “8885551212”) +@property (nonatomic, copy) NSString * _Nullable phone; +/// The email of the address (e.g. “jane@doe.com”) +@property (nonatomic, copy) NSString * _Nullable email; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// When creating a charge on your backend, you can attach shipping information +/// to prevent fraud on a physical good. You can use this method to turn your user’s +/// shipping address and selected shipping method into a hash suitable for attaching +/// to a charge. You should pass this to your backend, and use it as the shipping +/// parameter when creating a charge. +/// seealso: +/// https://stripe.com/docs/api#create_charge-shipping +/// \param address The user’s shipping address. If nil, this method will return nil. +/// +/// \param method The user’s selected shipping method. May be nil. +/// ++ (NSDictionary * _Nullable)shippingInfoForChargeWithAddress:(STPAddress * _Nullable)address shippingMethod:(PKShippingMethod * _Nullable)method SWIFT_WARN_UNUSED_RESULT; +/// Initializes an empty STPAddress. +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +/// Initializes a new STPAddress with data from STPPaymentMethodBillingDetails. +/// \param billingDetails The STPPaymentMethodBillingDetails instance you want to populate the STPAddress from. +/// +/// +/// returns: +/// A new STPAddress instance with data copied from the passed in billing details. +- (nonnull instancetype)initWithPaymentMethodBillingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails OBJC_DESIGNATED_INITIALIZER; +/// Initializes a new STPAddress with data from an PassKit contact. +/// \param contact The PassKit contact you want to populate the STPAddress from. +/// +/// +/// returns: +/// A new STPAddress instance with data copied from the passed in contact. +- (nonnull instancetype)initWithPKContact:(PKContact * _Nonnull)contact OBJC_DESIGNATED_INITIALIZER; +/// Generates a PassKit contact representation of this STPAddress. +/// +/// returns: +/// A new PassKit contact with data copied from this STPAddress instance. +- (PKContact * _Nonnull)PKContactValue SWIFT_WARN_UNUSED_RESULT; +/// Initializes a new STPAddress with a contact from the Contacts framework. +/// \param contact The CNContact you want to populate the STPAddress from. +/// +/// +/// returns: +/// A new STPAddress instance with data copied from the passed in contact. +- (nonnull instancetype)initWithCNContact:(CNContact * _Nonnull)contact OBJC_DESIGNATED_INITIALIZER; +/// Checks if this STPAddress has the level of valid address information +/// required by the passed in setting. +/// \param requiredFields The required level of billing address information to +/// check against. +/// +/// +/// returns: +/// YES if this address contains at least the necessary information, +/// NO otherwise. +- (BOOL)containsRequiredFields:(enum STPBillingAddressFields)requiredFields SWIFT_WARN_UNUSED_RESULT; +/// Checks if this STPAddress has any content (possibly invalid) in any of the +/// desired billing address fields. +/// Where containsRequiredFields: validates that this STPAddress contains valid data in +/// all of the required fields, this method checks for the existence of any data. +/// For example, if desiredFields is STPBillingAddressFieldsZip, this will check +/// if the postalCode is empty. +/// Note: When desiredFields == STPBillingAddressFieldsNone, this method always returns +/// NO. +/// @parameter desiredFields The billing address information the caller is interested in. +/// +/// returns: +/// YES if there is any data in this STPAddress that’s relevant for those fields. +- (BOOL)containsContentForBillingAddressFields:(enum STPBillingAddressFields)desiredFields SWIFT_WARN_UNUSED_RESULT; +/// Checks if this STPAddress has the level of valid address information +/// required by the passed in setting. +/// Note: When requiredFields == nil, this method always returns +/// YES. +/// \param requiredFields The required shipping address information to check against. +/// +/// +/// returns: +/// YES if this address contains at least the necessary information, +/// NO otherwise. +- (BOOL)containsRequiredShippingAddressFields:(NSSet * _Nullable)requiredFields SWIFT_WARN_UNUSED_RESULT; +/// Checks if this STPAddress has any content (possibly invalid) in any of the +/// desired shipping address fields. +/// Where containsRequiredShippingAddressFields: validates that this STPAddress +/// contains valid data in all of the required fields, this method checks for the +/// existence of any data. +/// Note: When desiredFields == nil, this method always returns +/// NO. +/// @parameter desiredFields The shipping address information the caller is interested in. +/// +/// returns: +/// YES if there is any data in this STPAddress that’s relevant for those fields. +- (BOOL)containsContentForShippingAddressFields:(NSSet * _Nullable)desiredFields SWIFT_WARN_UNUSED_RESULT; +/// Converts an STPBillingAddressFields enum value into the closest equivalent +/// representation of PKContactField options +/// \param billingAddressFields Stripe billing address fields enum value to convert. +/// +/// +/// returns: +/// The closest representation of the billing address requirement as +/// a PKContactField value. ++ (NSSet * _Nonnull)applePayContactFieldsFromBillingAddressFields:(enum STPBillingAddressFields)billingAddressFields SWIFT_WARN_UNUSED_RESULT; +/// Converts a set of STPContactField values into the closest equivalent +/// representation of PKContactField options +/// \param contactFields Stripe contact fields values to convert. +/// +/// +/// returns: +/// The closest representation of the contact fields as +/// a PKContactField value. ++ (NSSet * _Nullable)pkContactFieldsFromStripeContactFields:(NSSet * _Nullable)contactFields SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +@end + + +@interface STPAddress (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface STPAddress (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Objects conforming to STPFormEncodable can be automatically converted to a form-encoded string, which can then be used when making requests to the Stripe API. +SWIFT_PROTOCOL("_TtP6Stripe16STPFormEncodable_") +@protocol STPFormEncodable +/// The root object name to be used when converting this object to a form-encoded string. For example, if this returns “card”, then the form-encoded output will resemble “card[foo]=bar” (where ‘foo’ and ‘bar’ are specified by propertyNamesToFormFieldNamesMapping below. ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +/// This maps properties on an object that is being form-encoded into parameter names in the Stripe API. For example, STPCardParams has a field called expMonth, but the Stripe API expects a field called exp_month. This dictionary represents a mapping from the former to the latter (in other words, STPCardParams.propertyNamesToFormFieldNamesMapping()[“expMonth”] == “exp_month”.) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +/// You can use this property to add additional fields to an API request that are not explicitly defined by the object’s interface. This can be useful when using beta features that haven’t been added to the Stripe SDK yet. For example, if the /v1/tokens API began to accept a beta field called “test_field”, you might do the following: +/// var cardParams = STPCardParams() +/// // add card values +/// cardParams.additionalAPIParameters = [“test_field”: “example_value”] +/// STPAPIClient.shared.createToken(withParameters: cardParams completion:…); +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +@end + + +@interface STPAddress (SWIFT_EXTENSION(Stripe)) ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +@end + + + + + + + + + +@class _stpinternal_APContextSwift; +@class PKPayment; +enum STPPaymentStatus : NSInteger; + +/// Implement the required methods of this delegate to supply a PaymentIntent to STPApplePayContext and be notified of the completion of the Apple Pay payment. +/// You may also implement the optional delegate methods to handle shipping methods and shipping address changes e.g. to verify you can ship to the address, or update the payment amount. +SWIFT_PROTOCOL_NAMED("STPApplePayContextDelegate") +@protocol _stpinternal_apContextDelegate <_stpinternal_STPApplePayContextDelegateBase> +/// Called after the customer has authorized Apple Pay. Implement this method to call the completion block with the client secret of a PaymentIntent or SetupIntent. +/// \param paymentMethod The PaymentMethod that represents the customer’s Apple Pay payment method. +/// If you create the PaymentIntent with confirmation_method=manual, pass paymentMethod.stripeId as the payment_method and confirm=true. Otherwise, you can ignore this parameter. +/// +/// \param paymentInformation The underlying PKPayment created by Apple Pay. +/// If you create the PaymentIntent with confirmation_method=manual, you can collect shipping information using its shippingContact and shippingMethod properties. +/// +/// \param completion Call this with the PaymentIntent or SetupIntent client secret, or the error that occurred creating the PaymentIntent or SetupIntent. +/// +- (void)applePayContext:(_stpinternal_APContextSwift * _Nonnull)context didCreatePaymentMethod:(STPPaymentMethod * _Nonnull)paymentMethod paymentInformation:(PKPayment * _Nonnull)paymentInformation completion:(void (^ _Nonnull)(NSString * _Nullable, NSError * _Nullable))completion; +/// Called after the Apple Pay sheet is dismissed with the result of the payment. +/// Your implementation could stop a spinner and display a receipt view or error to the customer, for example. +/// \param status The status of the payment +/// +/// \param error The error that occurred, if any. +/// +- (void)applePayContext:(_stpinternal_APContextSwift * _Nonnull)context didCompleteWithStatus:(enum STPPaymentStatus)status error:(NSError * _Nullable)error; +@end + +@class UIImage; + +/// This protocol represents a payment method that a user can select and use to +/// pay. +/// The classes that conform to it and are supported by the UI: +///
    +///
  • +/// STPApplePay, which represents that the user wants to pay with +/// Apple Pay +///
  • +///
  • +/// STPPaymentMethod. Only STPPaymentMethod.type == STPPaymentMethodTypeCard and +/// STPPaymentMethod.type == STPPaymentMethodTypeFPX are supported by STPPaymentContext +/// and STPPaymentOptionsViewController +///
  • +///
  • +/// STPPaymentMethodParams. This should be used with non-reusable payment method, such +/// as FPX and iDEAL. Instead of reaching out to Stripe to create a PaymentMethod, you can +/// pass an STPPaymentMethodParams directly to Stripe when confirming a PaymentIntent. +/// @note card-based Sources, Cards, and FPX support this protocol for use +/// in a custom integration. +///
  • +///
+SWIFT_PROTOCOL("_TtP6Stripe16STPPaymentOption_") +@protocol STPPaymentOption +/// A small (32 x 20 points) logo image representing the payment method. For +/// example, the Visa logo for a Visa card, or the Apple Pay logo. +@property (nonatomic, readonly, strong) UIImage * _Nonnull image; +/// A small (32 x 20 points) logo image representing the payment method that can be +/// used as template for tinted icons. +@property (nonatomic, readonly, strong) UIImage * _Nonnull templateImage; +/// A string describing the payment method, such as “Apple Pay” or “Visa 4242”. +@property (nonatomic, readonly, copy) NSString * _Nonnull label; +/// Describes whether this payment option may be used multiple times. If it is not reusable, +/// the payment method must be discarded after use. +@property (nonatomic, readonly) BOOL isReusable; +@end + + +/// An empty class representing that the user wishes to pay via Apple Pay. This can +/// be checked on an STPPaymentContext, e.g: +/// \code +/// if paymentContext.selectedPaymentOption is STPApplePayPaymentOption { +/// // Don't ask the user for their card number; they want to pay with apple pay. +/// } +/// +/// \endcode +SWIFT_CLASS("_TtC6Stripe24STPApplePayPaymentOption") +@interface STPApplePayPaymentOption : NSObject +@property (nonatomic, readonly, strong) UIImage * _Nonnull image; +@property (nonatomic, readonly, strong) UIImage * _Nonnull templateImage; +@property (nonatomic, readonly, copy) NSString * _Nonnull label; +@property (nonatomic, readonly) BOOL isReusable; +/// :nodoc: +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) NSUInteger hash; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class SFSafariViewController; + +/// STPAuthenticationContext provides information required to present authentication challenges +/// to a user. +SWIFT_PROTOCOL("_TtP6Stripe24STPAuthenticationContext_") +@protocol STPAuthenticationContext +/// The Stripe SDK will modally present additional view controllers on top +/// of the authenticationPresentingViewController when required for user +/// authentication, like in the Challenge Flow for 3DS2 transactions. +- (UIViewController * _Nonnull)authenticationPresentingViewController SWIFT_WARN_UNUSED_RESULT; +@optional +/// This method is called before presenting a UIViewController for authentication. +/// @note STPPaymentHandler will not proceed until completion is called. +- (void)prepareAuthenticationContextForPresentation:(void (^ _Nonnull)(void))completion; +/// This method is called before presenting an SFSafariViewController for web-based authentication. +/// Implement this method to configure the SFSafariViewController instance, e.g. viewController.preferredBarTintColor = MyBarTintColor +/// @note Setting the delegate property has no effect. +- (void)configureSafariViewController:(SFSafariViewController * _Nonnull)viewController; +/// This method is called when an authentication UIViewController is about to be dismissed. +/// Implement this method to prepare your UI for the authentication view controller to be dismissed. For example, +/// if you requested authentication while displaying an STPBankSelectionViewController, you may want to hide +/// it to return the user to your desired view controller. +- (void)authenticationContextWillDismissViewController:(UIViewController * _Nonnull)viewController; +@end + +@class STPCustomer; + +/// A “bridge” from our pre-built UI (STPPaymentContext, STPPaymentOptionsViewController) +/// to your backend to fetch Customer-related information needed to power those views. +/// Typically, you will not need to implement this protocol yourself. You +/// should instead use STPCustomerContext, which implements +/// and manages retrieving and updating a Stripe customer for you. +/// seealso: +/// STPCustomerContext.h +/// If you would prefer retrieving and updating your Stripe customer object via +/// your own backend instead of using STPCustomerContext, you should make your +/// application’s API client conform to this interface. +SWIFT_PROTOCOL("_TtP6Stripe20STPBackendAPIAdapter_") +@protocol STPBackendAPIAdapter +/// Retrieve the customer to be displayed inside a payment context. +/// If you are not using STPCustomerContext: +/// On your backend, retrieve the Stripe customer associated with your currently +/// logged-in user ( https://stripe.com/docs/api#retrieve_customer ), and return +/// the raw JSON response from the Stripe API. Back in your iOS app, after you’ve +/// called this API, deserialize your API response into an STPCustomer object +/// (you can use the STPCustomerDeserializer class to do this). +/// seealso: +/// STPCard +/// \param completion call this callback when you’re done fetching and parsing the above information from your backend. For example, completion(customer, nil) (if your call succeeds) or completion(nil, error) if an error is returned. +/// +- (void)retrieveCustomer:(void (^ _Nullable)(STPCustomer * _Nullable, NSError * _Nullable))completion; +/// Retrieves a list of Payment Methods attached to a customer. +/// If you are implementing your own : +/// Call the list method ( https://stripe.com/docs/api/payment_methods/lists ) +/// with the Stripe customer. If this API call succeeds, call completion(paymentMethods) +/// with the list of PaymentMethods. Otherwise, call completion(error) with the error +/// that occurred. +/// \param completion Call this callback with the list of Payment Methods attached to the +/// customer. For example, completion(paymentMethods) (if your call succeeds) or +/// completion(error) if an error is returned. +/// +- (void)listPaymentMethodsForCustomerWithCompletion:(void (^ _Nullable)(NSArray * _Nullable, NSError * _Nullable))completion; +/// Adds a Payment Method to a customer. +/// If you are implementing your own : +/// On your backend, retrieve the Stripe customer associated with your logged-in user. +/// Then, call the Attach method on the Payment Method with that customer’s ID +/// ( https://stripe.com/docs/api/payment_methods/attach ). If this API call succeeds, +/// call completion(nil). Otherwise, call completion(error) with the error that +/// occurred. +/// \param paymentMethod A valid Payment Method +/// +/// \param completion Call this callback when you’re done adding the payment method +/// to the customer on your backend. For example, completion(nil) (if your call succeeds) +/// or completion(error) if an error is returned. +/// +- (void)attachPaymentMethodToCustomer:(STPPaymentMethod * _Nonnull)paymentMethod completion:(void (^ _Nullable)(NSError * _Nullable))completion; +@optional +/// Deletes the given Payment Method from the customer. +/// If you are implementing your own : +/// Call the Detach method ( https://stripe.com/docs/api/payment_methods/detach ) +/// on the Payment Method. If this API call succeeds, call completion(nil). +/// Otherwise, call completion(error) with the error that occurred. +/// \param paymentMethod The Payment Method to delete from the customer +/// +/// \param completion Call this callback when you’re done deleting the Payment Method +/// from the customer on your backend. For example, completion(nil) (if your call +/// succeeds) or completion(error) if an error is returned. +/// +- (void)detachPaymentMethodFromCustomer:(STPPaymentMethod * _Nonnull)paymentMethod completion:(void (^ _Nullable)(NSError * _Nullable))completion; +/// Sets the given shipping address on the customer. +/// If you are implementing your own : +/// On your backend, retrieve the Stripe customer associated with your logged-in user. +/// Then, call the Customer Update method ( https://stripe.com/docs/api#update_customer ) +/// specifying shipping to be the given shipping address. If this API call succeeds, +/// call completion(nil). Otherwise, call completion(error) with the error that occurred. +/// seealso: +/// https://stripe.com/docs/api#update_customer +/// \param shipping The shipping address to set on the customer +/// +/// \param completion call this callback when you’re done updating the customer on +/// your backend. For example, completion(nil) (if your call succeeds) or +/// completion(error) if an error is returned. +/// +- (void)updateCustomerWithShippingAddress:(STPAddress * _Nonnull)shipping completion:(void (^ _Nullable)(NSError * _Nullable))completion; +@end + + +/// Objects conforming to this protocol can be attached to a Stripe Customer object +/// as a payment source. +/// seealso: +/// https://stripe.com/docs/api#customer_object-sources +SWIFT_PROTOCOL("_TtP6Stripe17STPSourceProtocol_") +@protocol STPSourceProtocol +/// The Stripe ID of the source. +@property (nonatomic, readonly, copy) NSString * _Nonnull stripeID; +@end + +enum STPBankAccountHolderType : NSInteger; +enum STPBankAccountStatus : NSInteger; + +/// Representation of a user’s bank account details that have been tokenized with +/// the Stripe API. +/// seealso: +/// https://stripe.com/docs/api#bank_accounts +SWIFT_CLASS("_TtC6Stripe14STPBankAccount") +@interface STPBankAccount : NSObject +/// You cannot directly instantiate an STPBankAccount. You should only use one +/// that has been returned from an STPAPIClient callback. +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// The routing number for the bank account. This should be the ACH routing number, +/// not the wire routing number. +@property (nonatomic, readonly, copy) NSString * _Nullable routingNumber; +/// Two-letter ISO code representing the country the bank account is located in. +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// The default currency for the bank account. +@property (nonatomic, readonly, copy) NSString * _Nullable currency; +/// The last 4 digits of the account number. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// The name of the bank that owns the account. +@property (nonatomic, readonly, copy) NSString * _Nullable bankName; +/// The name of the person or business that owns the bank account. +@property (nonatomic, readonly, copy) NSString * _Nullable accountHolderName; +/// The type of entity that holds the account. +@property (nonatomic, readonly) enum STPBankAccountHolderType accountHolderType; +/// A proxy for the account number, this uniquely identifies the account and can be +/// used to compare equality of different bank accounts. +@property (nonatomic, readonly, copy) NSString * _Nullable fingerprint; +/// The validation status of the bank account. - seealso: STPBankAccountStatus +@property (nonatomic, readonly) enum STPBankAccountStatus status; +/// The Stripe ID for the bank account. +@property (nonatomic, readonly, copy) NSString * _Nullable bankAccountId SWIFT_DEPRECATED_MSG("Use stripeID (defined in STPSourceProtocol)"); +@property (nonatomic, readonly, copy) NSString * _Nonnull stripeID; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +- (BOOL)isEqual:(id _Nullable)bankAccount SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) NSUInteger hash; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// The type of entity that holds a bank account. +typedef SWIFT_ENUM(NSInteger, STPBankAccountHolderType, open) { +/// An individual holds this bank account. + STPBankAccountHolderTypeIndividual = 0, +/// A company holds this bank account. + STPBankAccountHolderTypeCompany = 1, +}; + + +/// Representation of a user’s bank account details. You can assemble these with +/// information that your user enters and then create Stripe tokens with them using +/// an STPAPIClient. +/// seealso: +/// https://stripe.com/docs/api#create_bank_account_token +SWIFT_CLASS("_TtC6Stripe20STPBankAccountParams") +@interface STPBankAccountParams : NSObject +/// The account number for the bank account. Currently must be a checking account. +@property (nonatomic, copy) NSString * _Nullable accountNumber; +/// The last 4 digits of the bank account’s account number, if it’s been set, +/// otherwise nil. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// The routing number for the bank account. This should be the ACH routing number, +/// not the wire routing number. +@property (nonatomic, copy) NSString * _Nullable routingNumber; +/// Two-letter ISO code representing the country the bank account is located in. +@property (nonatomic, copy) NSString * _Nullable country; +/// The default currency for the bank account. +@property (nonatomic, copy) NSString * _Nullable currency; +/// The name of the person or business that owns the bank account. +@property (nonatomic, copy) NSString * _Nullable accountHolderName; +/// The type of entity that holds the account. +/// Defaults to STPBankAccountHolderTypeIndividual. +@property (nonatomic) enum STPBankAccountHolderType accountHolderType; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initializes an empty STPBankAccountParams. +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +@end + +/// Possible validation states for a bank account. +typedef SWIFT_ENUM(NSInteger, STPBankAccountStatus, open) { +/// The account has had no activity or validation performed + STPBankAccountStatusNew = 0, +/// Stripe has determined this bank account exists. + STPBankAccountStatusValidated = 1, +/// Bank account verification has succeeded. + STPBankAccountStatusVerified = 2, +/// Verification for this bank account has failed. + STPBankAccountStatusVerificationFailed = 3, +/// A transfer sent to this bank account has failed. + STPBankAccountStatusErrored = 4, +}; + +/// The payment methods supported by STPBankSelectionViewController. +typedef SWIFT_ENUM(NSInteger, STPBankSelectionMethod, open) { +/// FPX (Malaysia) + STPBankSelectionMethodFPX = 0, +/// An unknown payment method + STPBankSelectionMethodUnknown = 1, +}; + +@protocol STPBankSelectionViewControllerDelegate; + +/// This view controller displays a list of banks of the specified type, allowing the user to select one to pay from. +/// Once a bank is selected, it will return a PaymentMethodParams object, which you can use to confirm a PaymentIntent +/// or inspect to obtain details about the selected bank. +SWIFT_CLASS("_TtC6Stripe30STPBankSelectionViewController") +@interface STPBankSelectionViewController : STPCoreTableViewController +/// A convenience initializer; equivalent to calling init( bankMethod:bankMethod configuration:STPPaymentConfiguration.shared theme:STPTheme.defaultTheme. +- (nonnull instancetype)initWithBankMethod:(enum STPBankSelectionMethod)bankMethod; +- (nonnull instancetype)initWithTheme:(STPTheme * _Nullable)theme; +/// Initializes a new STPBankSelectionViewController with the provided configuration and theme. Don’t forget to set the delegate property after initialization. +/// \param bankMethod The user will be presented with a list of banks for this payment method. STPBankSelectionMethodFPX is currently the only supported payment method. +/// +/// \param configuration The configuration to use. This determines the Stripe publishable key to use when querying metadata about the banks. - seealso: STPPaymentConfiguration +/// +/// \param theme The theme to use to inform the view controller’s visual appearance. - seealso: STPTheme +/// +- (nonnull instancetype)initWithBankMethod:(enum STPBankSelectionMethod)bankMethod configuration:(STPPaymentConfiguration * _Nonnull)configuration theme:(STPTheme * _Nonnull)theme OBJC_DESIGNATED_INITIALIZER; +/// The view controller’s delegate. This must be set before showing the view controller in order for it to work properly. - seealso: STPBankSelectionViewControllerDelegate +@property (nonatomic, weak) id _Nullable delegate; +/// The API Client to use to make requests. +/// Defaults to STPAPIClient.shared +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +/// :nodoc: +- (NSInteger)numberOfSectionsInTableView:(UITableView * _Nonnull)tableView SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (NSInteger)tableView:(UITableView * _Nonnull)tableView numberOfRowsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (UITableViewCell * _Nonnull)tableView:(UITableView * _Nonnull)tableView cellForRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)tableView:(UITableView * _Nonnull)tableView willDisplayCell:(UITableViewCell * _Nonnull)cell forRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath; +/// :nodoc: +- (CGFloat)tableView:(UITableView * _Nonnull)tableView heightForFooterInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (BOOL)tableView:(UITableView * _Nonnull)tableView shouldHighlightRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)tableView:(UITableView * _Nonnull)tableView didSelectRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE; +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE; +@end + + + +/// An STPBankSelectionViewControllerDelegate is notified when a user selects a bank. +SWIFT_PROTOCOL("_TtP6Stripe38STPBankSelectionViewControllerDelegate_") +@protocol STPBankSelectionViewControllerDelegate +/// This is called when the user selects a bank. +/// You can use the returned PaymentMethodParams to confirm a PaymentIntent, or inspect +/// it to obtain details about the selected bank. +/// Once you’re done, you’ll want to dismiss (or pop) the view controller. +/// \param bankViewController the view controller that created the PaymentMethodParams +/// +/// \param paymentMethodParams the PaymentMethodParams that was created. - seealso: STPPaymentMethodParams +/// +- (void)bankSelectionViewController:(STPBankSelectionViewController * _Nonnull)bankViewController didCreatePaymentMethodParams:(STPPaymentMethodParams * _Nonnull)paymentMethodParams; +@end + +/// What set of billing address information you need to collect from your user. +/// @note If the user is from a country that does not use zip/postal codes, +/// the user may not be asked for one regardless of this setting. +typedef SWIFT_ENUM(NSUInteger, STPBillingAddressFields, open) { +/// No billing address information + STPBillingAddressFieldsNone = 0, +/// Just request the user’s billing postal code + STPBillingAddressFieldsPostalCode = 1, +/// Request the user’s full billing address + STPBillingAddressFieldsFull = 2, +/// Just request the user’s billing name + STPBillingAddressFieldsName = 3, +/// Just request the user’s billing ZIP (synonym for STPBillingAddressFieldsZip) + STPBillingAddressFieldsZip = 4, +}; + +enum STPCardBrand : NSInteger; +enum STPCardFundingType : NSInteger; + +/// Representation of a user’s credit card details that have been tokenized with +/// the Stripe API +/// seealso: +/// https://stripe.com/docs/api#cards +SWIFT_CLASS("_TtC6Stripe7STPCard") +@interface STPCard : NSObject +/// The last 4 digits of the card. +@property (nonatomic, readonly, copy) NSString * _Nonnull last4; +/// For cards made with Apple Pay, this refers to the last 4 digits of the +/// “Device Account Number” for the tokenized card. For regular cards, it will +/// be nil. +@property (nonatomic, readonly, copy) NSString * _Nullable dynamicLast4; +/// Whether or not the card originated from Apple Pay. +@property (nonatomic, readonly) BOOL isApplePayCard; +/// The card’s expiration month. 1-indexed (i.e. 1 == January) +@property (nonatomic, readonly) NSInteger expMonth; +/// The card’s expiration year. +@property (nonatomic, readonly) NSInteger expYear; +/// The cardholder’s name. +@property (nonatomic, readonly, copy) NSString * _Nullable name; +/// The cardholder’s address. +@property (nonatomic, readonly, strong) STPAddress * _Nullable address; +/// The issuer of the card. +@property (nonatomic, readonly) enum STPCardBrand brand; +/// The funding source for the card (credit, debit, prepaid, or other) +@property (nonatomic, readonly) enum STPCardFundingType funding; +/// Two-letter ISO code representing the issuing country of the card. +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// This is only applicable when tokenizing debit cards to issue payouts to managed +/// accounts. You should not set it otherwise. The card can then be used as a +/// transfer destination for funds in this currency. +@property (nonatomic, readonly, copy) NSString * _Nullable currency; +/// Returns a string representation for the provided card brand; +/// i.e. STPCard.string(from brand: .visa) == "Visa". +/// \param brand the brand you want to convert to a string +/// +/// +/// returns: +/// A string representing the brand, suitable for displaying to a user. ++ (NSString * _Nonnull)stringFromBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// This parses a string representing a card’s brand into the appropriate +/// STPCardBrand enum value, +/// i.e. STPCard.brand(from string: "American Express") == .amex. +/// The string values themselves are specific to Stripe as listed in the Stripe API +/// documentation. +/// seealso: +/// https://stripe.com/docs/api#card_object-brand +/// \param string a string representing the card’s brand as returned from +/// the Stripe API +/// +/// +/// returns: +/// an enum value mapped to that string. If the string is unrecognized, +/// returns STPCardBrandUnknown. ++ (enum STPCardBrand)brandFromString:(NSString * _Nonnull)string SWIFT_WARN_UNUSED_RESULT; +/// Create an STPCard from a Stripe API response. +/// \param cardID The Stripe ID of the card, e.g. card_185iQx4JYtv6MPZKfcuXwkOx +/// +/// \param brand The brand of the card (e.g. “Visa”. To obtain this enum value +/// from a string, use STPCardBrand.brand(from string:string); +/// +/// \param last4 The last 4 digits of the card, e.g. 4242 +/// +/// \param expMonth The card’s expiration month, 1-indexed (i.e. 1 = January) +/// +/// \param expYear The card’s expiration year +/// +/// \param funding The card’s funding type (credit, debit, or prepaid). To obtain +/// this enum value from a string, use STPCardBrand.funding(from string:). +/// +/// +/// returns: +/// an STPCard instance populated with the provided values. +- (nonnull instancetype)initWithID:(NSString * _Nonnull)cardID brand:(enum STPCardBrand)brand last4:(NSString * _Nonnull)last4 expMonth:(NSInteger)expMonth expYear:(NSInteger)expYear funding:(enum STPCardFundingType)funding OBJC_DESIGNATED_INITIALIZER SWIFT_DEPRECATED_MSG("You cannot directly instantiate an STPCard. You should only use one that has been returned from an STPAPIClient callback."); +/// This parses a string representing a card’s funding type into the appropriate +/// STPCardFundingType enum value, +/// i.e. STPCard.funding(from string:"prepaid") == .prepaid. +/// \param string a string representing the card’s funding type as returned from +/// the Stripe API +/// +/// +/// returns: +/// an enum value mapped to that string. If the string is unrecognized, +/// returns STPCardFundingTypeOther. ++ (enum STPCardFundingType)fundingFromString:(NSString * _Nonnull)string SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, copy) NSString * _Nonnull stripeID; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +- (BOOL)isEqual:(id _Nullable)other SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) NSUInteger hash; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, strong) UIImage * _Nonnull image; +@property (nonatomic, readonly, strong) UIImage * _Nonnull templateImage; +@property (nonatomic, readonly, copy) NSString * _Nonnull label; +@property (nonatomic, readonly) BOOL isReusable; +/// A set of key/value pairs associated with the card object. +/// @deprecated Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead. +/// seealso: +/// https://stripe.com/docs/api#metadata +@property (nonatomic, readonly, copy) NSDictionary * _Nullable metadata SWIFT_DEPRECATED_MSG("Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead."); +/// The Stripe ID for the card. +@property (nonatomic, readonly, copy) NSString * _Nullable cardId SWIFT_DEPRECATED_MSG("Use stripeID (defined in STPSourceProtocol)"); +/// The first line of the cardholder’s address +@property (nonatomic, readonly, copy) NSString * _Nullable addressLine1 SWIFT_DEPRECATED_MSG("Use address.line1"); +/// The second line of the cardholder’s address +@property (nonatomic, readonly, copy) NSString * _Nullable addressLine2 SWIFT_DEPRECATED_MSG("Use address.line2"); +/// The city of the cardholder’s address +@property (nonatomic, readonly, copy) NSString * _Nullable addressCity SWIFT_DEPRECATED_MSG("Use address.city"); +/// The state of the cardholder’s address +@property (nonatomic, readonly, copy) NSString * _Nullable addressState SWIFT_DEPRECATED_MSG("Use address.state"); +/// The zip code of the cardholder’s address +@property (nonatomic, readonly, copy) NSString * _Nullable addressZip SWIFT_DEPRECATED_MSG("Use address.postalCode"); +/// The country of the cardholder’s address +@property (nonatomic, readonly, copy) NSString * _Nullable addressCountry SWIFT_DEPRECATED_MSG("Use address.country"); +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// The various card brands to which a payment card can belong. +typedef SWIFT_ENUM(NSInteger, STPCardBrand, open) { +/// Visa card + STPCardBrandVisa = 0, +/// American Express card + STPCardBrandAmex = 1, +/// Mastercard card + STPCardBrandMastercard = 2, +/// Discover card + STPCardBrandDiscover = 3, +/// JCB card + STPCardBrandJCB = 4, +/// Diners Club card + STPCardBrandDinersClub = 5, +/// UnionPay card + STPCardBrandUnionPay = 6, +/// An unknown card brand type + STPCardBrandUnknown = 7, +}; + + +/// Contains STPStringFromCardBrand +SWIFT_CLASS("_TtC6Stripe21STPCardBrandUtilities") +@interface STPCardBrandUtilities : NSObject +/// Returns a string representation for the provided card brand; +/// i.e. STPCardBrandUtilities.stringFrom(brand: .visa) == "Visa". +/// \param brand the brand you want to convert to a string +/// +/// +/// returns: +/// A string representing the brand, suitable for displaying to a user. ++ (NSString * _Nullable)stringFromCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// STPFormView is a base class for the Stripe SDK’s form input UI. You should use one of the available subclasses +/// (STPCardFormView) rather than instantiating an STPFormView instance directly. +SWIFT_CLASS("_TtC6Stripe11STPFormView") +@interface STPFormView : UIView +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; +/// :nodoc: +@property (nonatomic, readonly) BOOL canResignFirstResponder; +/// :nodoc: +- (BOOL)resignFirstResponder SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) BOOL isFirstResponder; +/// :nodoc: +@property (nonatomic, readonly) BOOL canBecomeFirstResponder; +/// :nodoc: +- (BOOL)becomeFirstResponder SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, getter=isUserInteractionEnabled) BOOL userInteractionEnabled; +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +@end + +@protocol STPCardFormViewDelegate; +enum STPCardFormViewStyle : NSInteger; + +/// STPCardFormView provides a multiline interface for users to input their +/// credit card details as well as billing postal code and provides an interface to access +/// the created STPPaymentMethodParams. +/// STPCardFormView includes both the input fields as well as an error label that +/// is displayed when invalid input is detected. +SWIFT_CLASS("_TtC6Stripe15STPCardFormView") +@interface STPCardFormView : STPFormView +/// The delegate to notify when the card form transitions to or from being complete. +/// seealso: +/// STPCardFormViewDelegate +@property (nonatomic, weak) id _Nullable delegate; +/// :nodoc: +@property (nonatomic, strong) UIColor * _Nullable backgroundColor; +/// The background color that is automatically applied to the input fields when isUserInteractionEnabled is set to false. @note STPCardFormView` uses text colors, most of which are iOS system colors, that are designed to be as +/// accessible as possible, so any customization should avoid decreasing contrast between the text and background. +@property (nonatomic, strong) UIColor * _Nullable disabledBackgroundColor; +/// A configured STPPaymentMethodParams with the entered card number, expiration date, cvc, and +/// postal code (if applicable). If any field is invalid or incomplete then this property will return nil. +/// You can monitor when STPCardFormView has complete details by implementing +/// STPFormViewDelegate and setting the STPCardFormView's delegate +/// property. +@property (nonatomic, readonly, strong) STPPaymentMethodParams * _Nullable cardParams; +@property (nonatomic, getter=isUserInteractionEnabled) BOOL userInteractionEnabled; +/// Public initializer for STPCardFormView. +/// @param style The visual style to use for this instance. @see STPCardFormViewStyle +- (nonnull instancetype)initWithStyle:(enum STPCardFormViewStyle)style; +@end + + + + +SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable) SWIFT_AVAILABILITY(ios_app_extension,unavailable) SWIFT_AVAILABILITY(ios,introduced=13.0) +@interface STPCardFormView (SWIFT_EXTENSION(Stripe)) +@end + + + +/// STPCardFormViewDelegate defines the interface that should be adopted to receive +/// updates from STPCardFormView instances. +SWIFT_PROTOCOL("_TtP6Stripe23STPCardFormViewDelegate_") +@protocol STPCardFormViewDelegate +/// Delegate method that is called when all of the form view’s required inputs +/// are complete or transition away from all being complete. These transitions +/// correspond to cardForView.cardParams returning a nil value or not. +- (void)cardFormView:(STPCardFormView * _Nonnull)form didChangeToStateComplete:(BOOL)complete; +@end + +/// Options for configuring the display of an STPCardFormView instance. +typedef SWIFT_ENUM(NSInteger, STPCardFormViewStyle, open) { +/// Draws the form in a rounded rect with full separators between +/// each input field. + STPCardFormViewStyleStandard = 0, +/// Draws the form without an outer border and underlines under +/// each input field. + STPCardFormViewStyleBorderless = 1, +}; + +/// The various funding sources for a payment card. +typedef SWIFT_ENUM(NSInteger, STPCardFundingType, open) { +/// Debit card funding + STPCardFundingTypeDebit = 0, +/// Credit card funding + STPCardFundingTypeCredit = 1, +/// Prepaid card funding + STPCardFundingTypePrepaid = 2, +/// An other or unknown type of funding source. + STPCardFundingTypeOther = 3, +}; + + +/// Representation of a user’s credit card details. You can assemble these with +/// information that your user enters and then create Stripe tokens with them using +/// an STPAPIClient. +/// seealso: +/// https://stripe.com/docs/api#cards +SWIFT_CLASS("_TtC6Stripe13STPCardParams") +@interface STPCardParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// A convenience initializer for creating a card params from a card payment method params. +- (nonnull instancetype)initWithPaymentMethodParams:(STPPaymentMethodParams * _Nonnull)paymentMethodParams; +/// The card’s number. +@property (nonatomic, copy) NSString * _Nullable number; +/// The last 4 digits of the card’s number, if it’s been set, otherwise nil. +- (NSString * _Nullable)last4 SWIFT_WARN_UNUSED_RESULT; +/// The card’s expiration month. +@property (nonatomic) NSUInteger expMonth; +/// The card’s expiration year. +@property (nonatomic) NSUInteger expYear; +/// The card’s security code, found on the back. +@property (nonatomic, copy) NSString * _Nullable cvc; +/// The cardholder’s name. +/// @note Changing this property will also changing the name of the +/// param’s address property. +@property (nonatomic, copy) NSString * _Nullable name; +/// The cardholder’s address. +/// @note Setting address to a new value will also change the name property to +/// be the value of address.name. However, changing address.name directly will +/// not* change name. +@property (nonatomic, strong) STPAddress * _Nonnull address; +/// Three-letter ISO currency code representing the currency paid out to the bank +/// account. This is only applicable when tokenizing debit cards to issue payouts +/// to managed accounts. You should not set it otherwise. The card can then be +/// used as a transfer destination for funds in this currency. +@property (nonatomic, copy) NSString * _Nullable currency; +/// The first line of the cardholder’s address +@property (nonatomic, copy) NSString * _Nullable addressLine1; +/// The second line of the cardholder’s address +@property (nonatomic, copy) NSString * _Nullable addressLine2; +/// The city of the cardholder’s address +@property (nonatomic, copy) NSString * _Nullable addressCity; +/// The state of the cardholder’s address +@property (nonatomic, copy) NSString * _Nullable addressState; +/// The zip code of the cardholder’s address +@property (nonatomic, copy) NSString * _Nullable addressZip; +/// The country of the cardholder’s address +@property (nonatomic, copy) NSString * _Nullable addressCountry; +/// Initializes an empty STPCardParams. +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +@end + +/// These fields indicate whether a card field represents a valid value, invalid +/// value, or incomplete value. +typedef SWIFT_ENUM(NSInteger, STPCardValidationState, open) { +/// The field’s contents are valid. For example, a valid, 16-digit card number. +/// Note that valid values may not be complete. For example: a US Zip code can +/// be 5 or 9 digits. A 5-digit code is Valid, but more text could be entered +/// to transition to incomplete again. American Express CVC codes can be 3 or +/// 4 digits and both will be treated as Valid. + STPCardValidationStateValid = 0, +/// The field’s contents are invalid. For example, an expiration date +/// of “13/42”. + STPCardValidationStateInvalid = 1, +/// The field’s contents are not currently valid, but could be by typing +/// additional characters. For example, a CVC of “1”. + STPCardValidationStateIncomplete = 2, +}; + + +/// This class contains static methods to validate card numbers, expiration dates, +/// and CVCs. For a list of test card numbers to use with this code, +/// see https://stripe.com/docs/testing +SWIFT_CLASS("_TtC6Stripe16STPCardValidator") +@interface STPCardValidator : NSObject +/// Returns a copy of the passed string with all non-numeric characters removed. ++ (NSString * _Nonnull)sanitizedNumericStringForString:(NSString * _Nonnull)string SWIFT_WARN_UNUSED_RESULT; +/// Returns a copy of the passed string with all characters removed that do not exist within a postal code. ++ (NSString * _Nonnull)sanitizedPostalStringForString:(NSString * _Nonnull)string SWIFT_WARN_UNUSED_RESULT; +/// Whether or not the target string contains only numeric characters. ++ (BOOL)stringIsNumeric:(NSString * _Nonnull)string SWIFT_WARN_UNUSED_RESULT; +/// Validates a card number, passed as a string. This will return +/// STPCardValidationStateInvalid for numbers that are too short or long, contain +/// invalid characters, do not pass Luhn validation, or (optionally) do not match +/// a number format issued by a major card brand. +/// \param cardNumber The card number to validate. Ex. @“4242424242424242” +/// +/// \param validatingCardBrand Whether or not to enforce that the number appears to +/// be issued by a major card brand (or could be). For example, no issuing card +/// network currently issues card numbers beginning with the digit 9; if an +/// otherwise correct-length and luhn-valid card number beginning with 9 +/// (example: 9999999999999995) were passed to this method, it would return +/// STPCardValidationStateInvalid if this parameter were YES and +/// STPCardValidationStateValid if this parameter were NO. If unsure, you should +/// use YES for this value. +/// +/// +/// returns: +/// STPCardValidationStateValid if the number is valid, +/// STPCardValidationStateInvalid if the number is invalid, or +/// STPCardValidationStateIncomplete if the number is a substring of a valid +/// card (e.g. @“4242”). ++ (enum STPCardValidationState)validationStateForNumber:(NSString * _Nullable)cardNumber validatingCardBrand:(BOOL)validatingCardBrand SWIFT_WARN_UNUSED_RESULT; +/// The card brand for a card number or substring thereof. +/// \param cardNumber A card number, or partial card number. For +/// example, @“4242”, @“5555555555554444”, or @“123”. +/// +/// +/// returns: +/// The brand for that card number. The example parameters would +/// return STPCardBrandVisa, STPCardBrandMasterCard, and +/// STPCardBrandUnknown, respectively. ++ (enum STPCardBrand)brandForNumber:(NSString * _Nonnull)cardNumber SWIFT_WARN_UNUSED_RESULT; +/// The possible number lengths for cards associated with a card brand. For +/// example, Discover card numbers contain 16 characters, while American Express +/// cards contain 15 characters. +/// \param brand The brand to return lengths for. +/// +/// +/// returns: +/// The set of possible lengths cards associated with that brand can be. ++ (NSSet * _Nonnull)lengthsForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// The maximum possible length the number of a card associated with the specified +/// brand could be. +/// For example, Visa cards could be either 13 or 16 characters, so this method +/// would return 16 for the that card brand. +/// \param brand The brand to return the max length for. +/// +/// +/// returns: +/// The maximum length card numbers associated with that brand could be. ++ (NSInteger)maxLengthForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// The length of the final grouping of digits to use when formatting a card number +/// for display. +/// For example, Visa cards display their final 4 numbers, e.g. “4242”, while +/// American Express cards display their final 5 digits, e.g. “10005”. +/// \param brand The brand to return the fragment length for. +/// +/// +/// returns: +/// The final fragment length card numbers associated with that brand use. ++ (NSInteger)fragmentLengthForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// Validates an expiration month, passed as an (optionally 0-padded) string. +/// Example valid values are “3”, “12”, and “08”. Example invalid values are “99”, +/// “a”, and “00”. Incomplete values include “0” and “1”. +/// \param expirationMonth A string representing a 2-digit expiration month for a +/// payment card. +/// +/// +/// returns: +/// STPCardValidationStateValid if the month is valid, +/// STPCardValidationStateInvalid if the month is invalid, or +/// STPCardValidationStateIncomplete if the month is a substring of a valid +/// month (e.g. @“0” or @“1”). ++ (enum STPCardValidationState)validationStateForExpirationMonth:(NSString * _Nonnull)expirationMonth SWIFT_WARN_UNUSED_RESULT; +/// Validates an expiration year, passed as a string representing the final +/// 2 digits of the year. +/// This considers the period between the current year until 2099 as valid times. +/// An example valid year value would be “16” (assuming the current year, as +/// determined by NSDate.date, is 2015). +/// Will return STPCardValidationStateInvalid for a month/year combination that +/// is earlier than the current date (i.e. @“15” and @“04” in October 2015). +/// Example invalid year values are “00”, “a”, and “13”. Any 1-digit year string +/// will return STPCardValidationStateIncomplete. +/// \param expirationYear A string representing a 2-digit expiration year for a +/// payment card. +/// +/// \param expirationMonth A string representing a valid 2-digit expiration month +/// for a payment card. If the month is invalid +/// (see validationStateForExpirationMonth), this will +/// return STPCardValidationStateInvalid. +/// +/// +/// returns: +/// STPCardValidationStateValid if the year is valid, +/// STPCardValidationStateInvalid if the year is invalid, or +/// STPCardValidationStateIncomplete if the year is a substring of a valid +/// year (e.g. @“1” or @“2”). ++ (enum STPCardValidationState)validationStateForExpirationYear:(NSString * _Nonnull)expirationYear inMonth:(NSString * _Nonnull)expirationMonth SWIFT_WARN_UNUSED_RESULT; +/// The max CVC length for a card brand (for example, American Express CVCs are +/// 4 digits, while all others are 3). +/// \param brand The brand to return the max CVC length for. +/// +/// +/// returns: +/// The maximum length of CVC numbers for cards associated with that brand. ++ (NSUInteger)maxCVCLengthForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// Validates a card’s CVC, passed as a numeric string, for the given card brand. +/// \param cvc the CVC to validate +/// +/// \param brand the card brand (can be determined from the card’s number +/// using brandForNumber) +/// +/// +/// returns: +/// Whether the CVC represents a valid CVC for that card brand. For +/// example, would return STPCardValidationStateValid for @“123” and +/// STPCardBrandVisa, STPCardValidationStateValid for @“1234” and +/// STPCardBrandAmericanExpress, STPCardValidationStateIncomplete for @“12” and +/// STPCardBrandVisa, and STPCardValidationStateInvalid for @“12345” and any brand. ++ (enum STPCardValidationState)validationStateForCVC:(NSString * _Nonnull)cvc cardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// Validates the given card details. +/// \param card The card details to validate. +/// +/// +/// returns: +/// STPCardValidationStateValid if all fields are valid, +/// STPCardValidationStateInvalid if any field is invalid, or +/// STPCardValidationStateIncomplete if all fields are either incomplete or valid. ++ (enum STPCardValidationState)validationStateForCard:(STPCardParams * _Nonnull)card SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + +/// Alipay options to pass to `STPConfirmPaymentMethodOptions`` +SWIFT_CLASS("_TtC6Stripe23STPConfirmAlipayOptions") +@interface STPConfirmAlipayOptions : NSObject +/// The app bundle ID. +/// @note This is automatically populated by the SDK. +@property (nonatomic, readonly, copy) NSString * _Nonnull appBundleID; +/// The app version. +/// @note This is automatically populated by the SDK. +@property (nonatomic, readonly, copy) NSString * _Nonnull appVersionKey; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPConfirmAlipayOptions (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// BLIK options to pass to `STPConfirmPaymentMethodOptions`` +/// seealso: +/// https://site-admin.stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-blik +SWIFT_CLASS("_TtC6Stripe21STPConfirmBLIKOptions") +@interface STPConfirmBLIKOptions : NSObject +/// The 6-digit BLIK code that a customer has generated using their banking application. +@property (nonatomic, copy) NSString * _Nonnull code; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// Initializes STPConfirmBLIKOptions +/// \param code The 6-digit BLIK code that a customer has generated using their banking application. +/// +- (nonnull instancetype)initWithCode:(NSString * _Nonnull)code OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPConfirmBLIKOptions (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Options to update a Card PaymentMethod during PaymentIntent confirmation. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card +SWIFT_CLASS("_TtC6Stripe21STPConfirmCardOptions") +@interface STPConfirmCardOptions : NSObject +/// CVC value with which to update the Card PaymentMethod. +@property (nonatomic, copy) NSString * _Nullable cvc; +/// Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time. +@property (nonatomic, copy) NSString * _Nullable network; +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPConfirmCardOptions (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + +@class STPConfirmWeChatPayOptions; + +/// Options to update the associated PaymentMethod during PaymentIntent confirmation. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-payment_method_options +SWIFT_CLASS("_TtC6Stripe30STPConfirmPaymentMethodOptions") +@interface STPConfirmPaymentMethodOptions : NSObject +/// Options to update a Card PaymentMethod. +/// seealso: +/// STPConfirmCardOptions +@property (nonatomic, strong) STPConfirmCardOptions * _Nullable cardOptions; +/// Options for an Alipay Payment Method. +@property (nonatomic, strong) STPConfirmAlipayOptions * _Nullable alipayOptions; +/// Options for a BLIK Payment Method. +@property (nonatomic, strong) STPConfirmBLIKOptions * _Nullable blikOptions; +/// Options for a WeChat Pay Payment Method. +@property (nonatomic, strong) STPConfirmWeChatPayOptions * _Nullable weChatPayOptions; +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + +@interface STPConfirmPaymentMethodOptions (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// WeChat Pay options to pass to `STPConfirmPaymentMethodOptions`` +/// seealso: +/// https://site-admin.stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-wechat_pay +SWIFT_CLASS("_TtC6Stripe26STPConfirmWeChatPayOptions") +@interface STPConfirmWeChatPayOptions : NSObject +/// Your WeChat-provided application ID. WeChat Pay uses +/// this as the redirect URL scheme. +@property (nonatomic, copy) NSString * _Nullable appId; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// Initializes STPConfirmWeChatPayOptions +/// \param appId Your WeChat-provided application ID. WeChat Pay +/// uses this as the redirect URL scheme. +/// +- (nonnull instancetype)initWithAppId:(NSString * _Nonnull)appId OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPConfirmWeChatPayOptions (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An address to use with STPConnectAccountParams. +SWIFT_CLASS("_TtC6Stripe24STPConnectAccountAddress") +@interface STPConnectAccountAddress : NSObject +/// City, district, suburb, town, or village. +/// For addresses in Japan: City or ward. +@property (nonatomic, copy) NSString * _Nullable city; +/// Two-letter country code (ISO 3166-1 alpha-2). +/// seealso: +/// https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 +@property (nonatomic, copy) NSString * _Nullable country; +/// Address line 1 (e.g., street, PO Box, or company name). +/// For addresses in Japan: Block or building number. +@property (nonatomic, copy) NSString * _Nullable line1; +/// Address line 2 (e.g., apartment, suite, unit, or building). +/// For addresses in Japan: Building details. +@property (nonatomic, copy) NSString * _Nullable line2; +/// ZIP or postal code. +@property (nonatomic, copy) NSString * _Nullable postalCode; +/// State, county, province, or region. +/// For addresses in Japan: Prefecture. +@property (nonatomic, copy) NSString * _Nullable state; +/// Town or cho-me. +/// This property only applies to Japanese addresses. +@property (nonatomic, copy) NSString * _Nullable town; +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPConnectAccountAddress (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + +/// The business type of the Connect account. +typedef SWIFT_ENUM(NSInteger, STPConnectAccountBusinessType, open) { +/// This Connect account represents an individual. + STPConnectAccountBusinessTypeIndividual = 0, +/// This Connect account represents a company. + STPConnectAccountBusinessTypeCompany = 1, +}; + +@class NSNumber; + +/// Information about the company or business to use with STPConnectAccountParams. +/// seealso: +/// https://stripe.com/docs/api/tokens/create_account#create_account_token-account-company +SWIFT_CLASS("_TtC6Stripe30STPConnectAccountCompanyParams") +@interface STPConnectAccountCompanyParams : NSObject +/// The company’s primary address. +@property (nonatomic, strong) STPConnectAccountAddress * _Null_unspecified address; +/// The Kana variation of the company’s primary address (Japan only). +@property (nonatomic, strong) STPConnectAccountAddress * _Nullable kanaAddress; +/// The Kanji variation of the company’s primary address (Japan only). +@property (nonatomic, strong) STPConnectAccountAddress * _Nullable kanjiAddress; +/// Whether the company’s directors have been provided. +/// Set this Boolean to true after creating all the company’s directors with the Persons API (https://stripe.com/docs/api/persons) for accounts with a relationship.director requirement. +/// This value is not automatically set to true after creating directors, so it needs to be updated to indicate all directors have been provided. +@property (nonatomic, strong) NSNumber * _Nullable directorsProvided; +/// The company’s legal name. +@property (nonatomic, copy) NSString * _Nullable name; +/// The Kana variation of the company’s legal name (Japan only). +@property (nonatomic, copy) NSString * _Nullable kanaName; +/// The Kanji variation of the company’s legal name (Japan only). +@property (nonatomic, copy) NSString * _Nullable kanjiName; +/// Whether the company’s owners have been provided. +/// Set this Boolean to true after creating all the company’s owners with the Persons API (https://stripe.com/docs/api/persons) for accounts with a relationship.owner requirement. +@property (nonatomic, strong) NSNumber * _Nullable ownersProvided; +/// The company’s phone number (used for verification). +@property (nonatomic, copy) NSString * _Nullable phone; +/// The business ID number of the company, as appropriate for the company’s country. +/// (Examples are an Employer ID Number in the U.S., a Business Number in Canada, or a Company Number in the UK.) +@property (nonatomic, copy) NSString * _Nullable taxID; +/// The jurisdiction in which the taxID is registered (Germany-based companies only). +@property (nonatomic, copy) NSString * _Nullable taxIDRegistrar; +/// The VAT number of the company. +@property (nonatomic, copy) NSString * _Nullable vatID; +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPConnectAccountCompanyParams (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + +@class STPConnectAccountIndividualVerification; + +/// Information about the person represented by the account for use with STPConnectAccountParams. +/// seealso: +/// https://stripe.com/docs/api/tokens/create_account#create_account_token-account-individual +SWIFT_CLASS("_TtC6Stripe33STPConnectAccountIndividualParams") +@interface STPConnectAccountIndividualParams : NSObject +/// The individual’s primary address. +@property (nonatomic, strong) STPConnectAccountAddress * _Nullable address; +/// The Kana variation of the the individual’s primary address (Japan only). +@property (nonatomic, strong) STPConnectAccountAddress * _Nullable kanaAddress; +/// The Kanji variation of the the individual’s primary address (Japan only). +@property (nonatomic, strong) STPConnectAccountAddress * _Nullable kanjiAddress; +/// The individual’s date of birth. +/// Must include day, month, and year, and only those fields are used. +@property (nonatomic, copy) NSDateComponents * _Nullable dateOfBirth; +/// The individual’s email address. +@property (nonatomic, copy) NSString * _Nullable email; +/// The individual’s first name. +@property (nonatomic, copy) NSString * _Nullable firstName; +/// The Kana variation of the the individual’s first name (Japan only). +@property (nonatomic, copy) NSString * _Nullable kanaFirstName; +/// The Kanji variation of the individual’s first name (Japan only). +@property (nonatomic, copy) NSString * _Nullable kanjiFirstName; +/// The individual’s gender +/// International regulations require either “male” or “female”. +@property (nonatomic, copy) NSString * _Nullable gender; +/// The government-issued ID number of the individual, as appropriate for the representative’s country. +/// Examples are a Social Security Number in the U.S., or a Social Insurance Number in Canada. +/// Instead of the number itself, you can also provide a PII token created with Stripe.js (see https://stripe.com/docs/stripe-js/reference#collecting-pii-data). +@property (nonatomic, copy) NSString * _Nullable idNumber; +/// The individual’s last name. +@property (nonatomic, copy) NSString * _Nullable lastName; +/// The Kana varation of the individual’s last name (Japan only). +@property (nonatomic, copy) NSString * _Nullable kanaLastName; +/// The Kanji varation of the individual’s last name (Japan only). +@property (nonatomic, copy) NSString * _Nullable kanjiLastName; +/// The individual’s maiden name. +@property (nonatomic, copy) NSString * _Nullable maidenName; +/// Set of key-value pairs that you can attach to an object. +/// This can be useful for storing additional information about the object in a structured format. +@property (nonatomic, copy) NSDictionary * _Nullable metadata; +/// The individual’s phone number. +@property (nonatomic, copy) NSString * _Nullable phone; +/// The last four digits of the individual’s Social Security Number (U.S. only). +@property (nonatomic, copy) NSString * _Nullable ssnLast4; +/// The individual’s verification document information. +@property (nonatomic, strong) STPConnectAccountIndividualVerification * _Nullable verification; +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPConnectAccountIndividualParams (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + +@class STPConnectAccountVerificationDocument; + +/// The individual’s verification document information for use with STPConnectAccountIndividualParams. +SWIFT_CLASS("_TtC6Stripe39STPConnectAccountIndividualVerification") +@interface STPConnectAccountIndividualVerification : NSObject +/// An identifying document, either a passport or local ID card. +@property (nonatomic, strong) STPConnectAccountVerificationDocument * _Nullable document; +/// A document showing address, either a passport, local ID card, or utility bill from a well-known utility company. +@property (nonatomic, strong) STPConnectAccountVerificationDocument * _Nullable additionalDocument; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPConnectAccountIndividualVerification (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Parameters for creating a Connect Account token. +/// seealso: +/// https://stripe.com/docs/api/tokens/create_account +SWIFT_CLASS("_TtC6Stripe23STPConnectAccountParams") +@interface STPConnectAccountParams : NSObject +/// Boolean indicating that the Terms Of Service were shown to the user & +/// the user accepted them. +@property (nonatomic, readonly, strong) NSNumber * _Nullable tosShownAndAccepted; +/// The business type. +@property (nonatomic, readonly) enum STPConnectAccountBusinessType businessType; +/// Information about the individual represented by the account. +@property (nonatomic, readonly, strong) STPConnectAccountIndividualParams * _Nullable individual; +/// Information about the company or business. +@property (nonatomic, readonly, strong) STPConnectAccountCompanyParams * _Nullable company; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initialize STPConnectAccountParams with tosShownAndAccepted = YES +/// This method cannot be called with wasAccepted == NO, guarded by a NSParameterAssert(). +/// Use this init method if you want to set the tosShownAndAccepted parameter. If you +/// don’t, use the initWithIndividual: version instead. +/// \param wasAccepted Must be YES, but only if the user was shown & accepted the ToS +/// +/// \param individual Information about the person represented by the account. See STPConnectAccountIndividualParams. +/// +- (nullable instancetype)initWithTosShownAndAccepted:(BOOL)wasAccepted individual:(STPConnectAccountIndividualParams * _Nonnull)individual OBJC_DESIGNATED_INITIALIZER; +/// Initialize STPConnectAccountParams with tosShownAndAccepted = YES +/// This method cannot be called with wasAccepted == NO, guarded by a NSParameterAssert(). +/// Use this init method if you want to set the tosShownAndAccepted parameter. If you +/// don’t, use the initWithCompany: version instead. +/// \param wasAccepted Must be YES, but only if the user was shown & accepted the ToS +/// +/// \param company Information about the company or business. See STPConnectAccountCompanyParams. +/// +- (nullable instancetype)initWithTosShownAndAccepted:(BOOL)wasAccepted company:(STPConnectAccountCompanyParams * _Nonnull)company OBJC_DESIGNATED_INITIALIZER; +/// Initialize STPConnectAccountParams with the provided individual dictionary. +/// \param individual Information about the person represented by the account +/// This init method cannot change the tosShownAndAccepted parameter. Use +/// initWithTosShownAndAccepted:individual: instead if you need to do that. +/// +- (nonnull instancetype)initWithIndividual:(STPConnectAccountIndividualParams * _Nonnull)individual OBJC_DESIGNATED_INITIALIZER; +/// Initialize STPConnectAccountParams with the provided company dictionary. +/// \param company Information about the company or business +/// This init method cannot change the tosShownAndAccepted parameter. Use +/// initWithTosShownAndAccepted:company: instead if you need to do that. +/// +- (nonnull instancetype)initWithCompany:(STPConnectAccountCompanyParams * _Nonnull)company OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPConnectAccountParams (SWIFT_EXTENSION(Stripe)) ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An identifying document, either a passport or local ID card for use with STPConnectAccountIndividualVerification. +SWIFT_CLASS("_TtC6Stripe37STPConnectAccountVerificationDocument") +@interface STPConnectAccountVerificationDocument : NSObject +/// The back of an ID returned by a file upload with a purpose value of identity_document. +/// seealso: +/// https://stripe.com/docs/api/files/create for file uploads +@property (nonatomic, copy) NSString * _Nullable back; +/// The front of an ID returned by a file upload with a purpose value of identity_document. +/// seealso: +/// https://stripe.com/docs/api/files/create for file uploads +@property (nonatomic, copy) NSString * _Nullable front; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPConnectAccountVerificationDocument (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Contains constants that represent different parts of a users contact/address information. +SWIFT_CLASS("_TtC6Stripe15STPContactField") +@interface STPContactField : NSObject +/// The contact’s full physical address. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPContactField * _Nonnull postalAddress;) ++ (STPContactField * _Nonnull)postalAddress SWIFT_WARN_UNUSED_RESULT; +/// The contact’s email address +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPContactField * _Nonnull emailAddress;) ++ (STPContactField * _Nonnull)emailAddress SWIFT_WARN_UNUSED_RESULT; +/// The contact’s phone number. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPContactField * _Nonnull phoneNumber;) ++ (STPContactField * _Nonnull)phoneNumber SWIFT_WARN_UNUSED_RESULT; +/// The contact’s name. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPContactField * _Nonnull name;) ++ (STPContactField * _Nonnull)name SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + + + +/// An STPCustomer represents a deserialized Customer object from the Stripe API. +/// You shouldn’t need to instantiate an STPCustomer – you should instead use +/// STPCustomerContext to manage retrieving and updating a customer. +SWIFT_CLASS("_TtC6Stripe11STPCustomer") +@interface STPCustomer : NSObject +/// The Stripe ID of the customer, e.g. cus_1234 +@property (nonatomic, readonly, copy) NSString * _Nonnull stripeID; +/// The default source used to charge the customer. +@property (nonatomic, readonly, strong) id _Nullable defaultSource; +/// The available payment sources the customer has (this may be an empty array). +@property (nonatomic, readonly, copy) NSArray> * _Nonnull sources; +/// The customer’s email address. +@property (nonatomic, readonly, copy) NSString * _Nullable email; +/// The customer’s shipping address. +@property (nonatomic, strong) STPAddress * _Nullable shippingAddress; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// Initialize a customer object with the provided values. +/// \param stripeID The ID of the customer, e.g. cus_abc +/// +/// \param defaultSource The default source of the customer, such as an STPCard object. Can be nil. +/// +/// \param sources All of the customer’s payment sources. This might be an empty array. +/// +/// +/// returns: +/// an instance of STPCustomer +- (nonnull instancetype)initWithStripeID:(NSString * _Nonnull)stripeID defaultSource:(id _Nullable)defaultSource sources:(NSArray> * _Nonnull)sources; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// Replaces the customer’s sources and defaultSource based on whether or not +/// they should include Apple Pay sources. More details on documentation for +/// STPCustomerContext includeApplePaySources +/// @param filteringApplePay If YES, Apple Pay sources will be ignored +- (void)updateSourcesFilteringApplePay:(BOOL)filteringApplePay; +@end + + +@interface STPCustomer (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +@protocol STPCustomerEphemeralKeyProvider; + +/// An STPCustomerContext retrieves and updates a Stripe customer and their attached +/// payment methods using an ephemeral key, a short-lived API key scoped to a specific +/// customer object. If your current user logs out of your app and a new user logs in, +/// be sure to either create a new instance of STPCustomerContext or clear the current +/// instance’s cache. On your backend, be sure to create and return a +/// new ephemeral key for the Customer object associated with the new user. +SWIFT_CLASS("_TtC6Stripe18STPCustomerContext") +@interface STPCustomerContext : NSObject +/// Initializes a new STPCustomerContext with the specified key provider. +/// Upon initialization, a CustomerContext will fetch a new ephemeral key from +/// your backend and use it to prefetch the customer object specified in the key. +/// Subsequent customer and payment method retrievals (e.g. by STPPaymentContext) +/// will return the prefetched customer / attached payment methods immediately if +/// its age does not exceed 60 seconds. +/// \param keyProvider The key provider the customer context will use. +/// +/// +/// returns: +/// the newly-instantiated customer context. +- (nonnull instancetype)initWithKeyProvider:(id _Nonnull)keyProvider; +/// Initializes a new STPCustomerContext with the specified key provider. +/// Upon initialization, a CustomerContext will fetch a new ephemeral key from +/// your backend and use it to prefetch the customer object specified in the key. +/// Subsequent customer and payment method retrievals (e.g. by STPPaymentContext) +/// will return the prefetched customer / attached payment methods immediately if +/// its age does not exceed 60 seconds. +/// \param keyProvider The key provider the customer context will use. +/// +/// \param apiClient The API Client to use to make requests. +/// +/// +/// returns: +/// the newly-instantiated customer context. +- (nonnull instancetype)initWithKeyProvider:(id _Nullable)keyProvider apiClient:(STPAPIClient * _Nonnull)apiClient; +/// STPCustomerContext will cache its customer object and associated payment methods +/// for up to 60 seconds. If your current user logs out of your app and a new user logs +/// in, be sure to either call this method or create a new instance of STPCustomerContext. +/// On your backend, be sure to create and return a new ephemeral key for the +/// customer object associated with the new user. +- (void)clearCache; +/// By default, STPCustomerContext will filter Apple Pay when it retrieves +/// Payment Methods. Apple Pay payment methods should generally not be re-used and +/// shouldn’t be offered to customers as a new payment method (Apple Pay payment +/// methods may only be re-used for subscriptions). +/// If you are using STPCustomerContext to back your own UI and would like to +/// disable Apple Pay filtering, set this property to YES. +/// Note: If you are using STPPaymentContext, you should not change this property. +@property (nonatomic) BOOL includeApplePayPaymentMethods; +- (void)retrieveCustomer:(void (^ _Nullable)(STPCustomer * _Nullable, NSError * _Nullable))completion; +- (void)updateCustomerWithShippingAddress:(STPAddress * _Nonnull)shipping completion:(void (^ _Nullable)(NSError * _Nullable))completion; +/// A convenience method for attaching the PaymentMethod to the current Customer +- (void)attachPaymentMethodToCustomerWithPaymentMethodId:(NSString * _Nonnull)paymentMethodId completion:(void (^ _Nullable)(NSError * _Nullable))completion; +- (void)attachPaymentMethodToCustomer:(STPPaymentMethod * _Nonnull)paymentMethod completion:(void (^ _Nullable)(NSError * _Nullable))completion; +/// A convenience method for detaching the PaymentMethod to the current Customer +- (void)detachPaymentMethodFromCustomerWithPaymentMethodId:(NSString * _Nonnull)paymentMethodId completion:(void (^ _Nullable)(NSError * _Nullable))completion; +- (void)detachPaymentMethodFromCustomer:(STPPaymentMethod * _Nonnull)paymentMethod completion:(void (^ _Nullable)(NSError * _Nullable))completion; +- (void)listPaymentMethodsForCustomerWithCompletion:(void (^ _Nullable)(NSArray * _Nullable, NSError * _Nullable))completion; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@class NSURLResponse; + +/// Use STPCustomerDeserializer to convert a response from the Stripe API into an STPCustomer object. STPCustomerDeserializer expects the JSON response to be in the exact same format as the Stripe API. +SWIFT_CLASS("_TtC6Stripe23STPCustomerDeserializer") +@interface STPCustomerDeserializer : NSObject +/// If a customer was successfully parsed from the response, it will be set here. Otherwise, this value wil be nil (and the error property will explain what went wrong). +@property (nonatomic, readonly, strong) STPCustomer * _Nullable customer; +/// If the deserializer failed to parse a customer, this property will explain why (and the customer property will be nil). +@property (nonatomic, readonly) NSError * _Nullable error; +/// Initialize a customer deserializer. The data, urlResponse, and error +/// parameters are intended to be passed from an NSURLSessionDataTask callback. +/// After it has been initialized, you can inspect the error and customer +/// properties to see if the deserialization was successful. If error is nil, +/// customer will be non-nil (and vice versa). +/// \param data An NSData object representing encoded JSON for a Customer object +/// +/// \param urlResponse The URL response obtained from the NSURLSessionTask +/// +/// \param error Any error that occurred from the URL session task (if this +/// is non-nil, the error property will be set to this value after initialization). +/// +- (nonnull instancetype)initWithData:(NSData * _Nullable)data urlResponse:(NSURLResponse * _Nullable)urlResponse error:(NSError * _Nullable)error; +/// Initializes a customer deserializer with a JSON dictionary. This JSON should be +/// in the exact same format as what the Stripe API returns. If it’s successfully +/// parsed, the customer parameter will be present after initialization; +/// otherwise error will be present. +/// \param json a JSON dictionary. +/// +- (nonnull instancetype)initWithJsonResponse:(id _Nullable)json; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// You should make your application’s API client conform to this interface. +/// It provides a way for Stripe utility classes to request a new ephemeral key from +/// your backend, which it will use to retrieve and update Stripe API objects. +SWIFT_PROTOCOL("_TtP6Stripe31STPCustomerEphemeralKeyProvider_") +@protocol STPCustomerEphemeralKeyProvider +/// Creates a new ephemeral key for retrieving and updating a Stripe customer. +/// On your backend, you should create a new ephemeral key for the Stripe customer +/// associated with your user, and return the raw JSON response from the Stripe API. +/// For an example Ruby implementation of this API, refer to our example backend: +/// https://github.com/stripe/example-mobile-backend/blob/v18.1.0/web.rb +/// Back in your iOS app, once you have a response from this API, call the provided +/// completion block with the JSON response, or an error if one occurred. +/// \param apiVersion The Stripe API version to use when creating a key. +/// You should pass this parameter to your backend, and use it to set the API version +/// in your key creation request. Passing this version parameter ensures that the +/// Stripe SDK can always parse the ephemeral key response from your server. +/// +/// \param completion Call this callback when you’re done fetching a new ephemeral +/// key from your backend. For example, completion(json, nil) (if your call succeeds) +/// or completion(nil, error) if an error is returned. +/// +- (void)createCustomerKeyWithAPIVersion:(NSString * _Nonnull)apiVersion completion:(void (^ _Nonnull)(NSDictionary * _Nullable, NSError * _Nullable))completion; +@end + + +/// An individual’s date of birth. +/// See https://stripe.com/docs/api/tokens/create_account#create_account_token-account-individual-dob +SWIFT_CLASS("_TtC6Stripe14STPDateOfBirth") +@interface STPDateOfBirth : NSObject +/// The day of birth, between 1 and 31. +@property (nonatomic) NSInteger day; +/// The month of birth, between 1 and 12. +@property (nonatomic) NSInteger month; +/// The four-digit year of birth. +@property (nonatomic) NSInteger year; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPDateOfBirth (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// You should make your application’s API client conform to this interface. +/// It provides a way for Stripe utility classes to request a new ephemeral key from +/// your backend, which it will use to retrieve and update Stripe API objects. +/// @deprecated use STPCustomerEphemeralKeyProvider or STPIssuingCardEphemeralKeyProvider +/// depending on the type of key that will@objc be fetched. +SWIFT_PROTOCOL("_TtP6Stripe23STPEphemeralKeyProvider_") SWIFT_DEPRECATED_MSG("use `STPCustomerEphemeralKeyProvider` or `STPIssuingCardEphemeralKeyProvider` depending on the type of key that will be fetched.") +@protocol STPEphemeralKeyProvider +@end + +enum STPFPXBankBrand : NSInteger; + +/// Convenience methods for using FPX bank brands. +SWIFT_CLASS("_TtC6Stripe10STPFPXBank") +@interface STPFPXBank : NSObject +/// Returns a string representation for the provided bank brand; +/// i.e. STPFPXBank.stringFrom(brand:.uob) == "UOB Bank". +/// \param brand The brand you want to convert to a string +/// +/// +/// returns: +/// A string representing the brand, suitable for displaying to a user. ++ (NSString * _Nullable)stringFrom:(enum STPFPXBankBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// Returns a bank brand provided a string representation identifying a bank brand; +/// i.e. STPFPXBankBrandFromIdentifier(@"uob") == STPCardBrandUob. +/// \param identifier The identifier for the brand +/// +/// +/// returns: +/// The STPFPXBankBrand enum value ++ (enum STPFPXBankBrand)brandFrom:(NSString * _Nullable)identifier SWIFT_WARN_UNUSED_RESULT; +/// Returns a string representation identifying the provided bank brand; +/// i.e. STPIdentifierFromFPXBankBrand(STPCardBrandUob) == @"uob". +/// \param brand The brand you want to convert to a string +/// +/// +/// returns: +/// A string representing the brand, suitable for using with the Stripe API. ++ (NSString * _Nullable)identifierFrom:(enum STPFPXBankBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// Returns the code identifying the provided bank brand in the FPX status API; +/// i.e. STPIdentifierFromFPXBankBrand(STPCardBrandUob) == @"UOB0226". +/// \param brand The brand you want to convert to an FPX bank code +/// +/// \param isBusiness Requests the code for the business version of this bank brand, which may be different from the code used for individual accounts +/// +/// +/// returns: +/// A string representing the brand, suitable for checking against the FPX status API. ++ (NSString * _Nullable)bankCodeFrom:(enum STPFPXBankBrand)brand :(BOOL)isBusiness SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +/// The various bank brands available for FPX payments. +typedef SWIFT_ENUM(NSInteger, STPFPXBankBrand, open) { +/// Maybank2U + STPFPXBankBrandMaybank2U = 0, +/// CIMB Clicks + STPFPXBankBrandCIMB = 1, +/// Public Bank + STPFPXBankBrandPublicBank = 2, +/// RHB Bank + STPFPXBankBrandRHB = 3, +/// Hong Leong Bank + STPFPXBankBrandHongLeongBank = 4, +/// AmBank + STPFPXBankBrandAmbank = 5, +/// Affin Bank + STPFPXBankBrandAffinBank = 6, +/// Alliance Bank + STPFPXBankBrandAllianceBank = 7, +/// Bank Islam + STPFPXBankBrandBankIslam = 8, +/// Bank Muamalat + STPFPXBankBrandBankMuamalat = 9, +/// Bank Rakyat + STPFPXBankBrandBankRakyat = 10, +/// BSN + STPFPXBankBrandBSN = 11, +/// HSBC BANK + STPFPXBankBrandHSBC = 12, +/// KFH + STPFPXBankBrandKFH = 13, +/// Maybank2E + STPFPXBankBrandMaybank2E = 14, +/// OCBC Bank + STPFPXBankBrandOcbc = 15, +/// Standard Chartered + STPFPXBankBrandStandardChartered = 16, +/// UOB Bank + STPFPXBankBrandUOB = 17, +/// An unknown bank + STPFPXBankBrandUnknown = 18, +}; + +@class PKAddPaymentPassRequestConfiguration; +@protocol PKAddPaymentPassViewControllerDelegate; + +/// This class is a piece of fake UI that is intended to mimic PKAddPaymentPassViewController. That class is restricted to apps with a special entitlement from Apple, and as such can be difficult to build and test against. This class implements the same public API as PKAddPaymentPassViewController, and can be used to develop against the Stripe API in testmode only. (Obviously it will not actually place cards into the user’s Apple Pay wallet either.) When it’s time to go to production, you may simply replace all references to STPFakeAddPaymentPassViewController in your app with PKAddPaymentPassViewController and it will continue to function. For more information on developing against this API, please see https://stripe.com/docs/issuing/cards/digital-wallets . +SWIFT_CLASS("_TtC6Stripe35STPFakeAddPaymentPassViewController") +@interface STPFakeAddPaymentPassViewController : UIViewController +/// @see PKAddPaymentPassViewController ++ (BOOL)canAddPaymentPass SWIFT_WARN_UNUSED_RESULT; +/// @see PKAddPaymentPassViewController +- (nullable instancetype)initWithRequestConfiguration:(PKAddPaymentPassRequestConfiguration * _Nonnull)configuration delegate:(id _Nullable)delegate OBJC_DESIGNATED_INITIALIZER; +/// @see PKAddPaymentPassViewController +@property (nonatomic, weak) id _Nullable delegate; +/// :nodoc: +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil; +/// :nodoc: +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder; +/// :nodoc: +- (void)viewDidLoad; +@end + +enum STPFilePurpose : NSInteger; + +/// Representation of a file upload object in the Stripe API. +/// seealso: +/// https://stripe.com/docs/api#file_uploads +SWIFT_CLASS("_TtC6Stripe7STPFile") +@interface STPFile : NSObject +/// The token for this file. +@property (nonatomic, readonly, copy) NSString * _Nullable fileId; +/// The date this file was created. +@property (nonatomic, readonly, copy) NSDate * _Nullable created; +/// The purpose of this file. This can be either an identifing document or an evidence dispute. +/// seealso: +/// https://stripe.com/docs/file-upload +@property (nonatomic, readonly) enum STPFilePurpose purpose; +/// The file size in bytes. +@property (nonatomic, readonly, strong) NSNumber * _Nullable size; +/// The file type. This can be “jpg”, “png”, or “pdf”. +@property (nonatomic, readonly, copy) NSString * _Nullable type; +/// Returns the string value for a purpose. ++ (NSString * _Nullable)stringFromPurpose:(enum STPFilePurpose)purpose SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// :nodoc: +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) NSUInteger hash; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// The purpose of the uploaded file. +/// seealso: +/// https://stripe.com/docs/file-upload +typedef SWIFT_ENUM(NSInteger, STPFilePurpose, open) { +/// Identity document file + STPFilePurposeIdentityDocument = 0, +/// Dispute evidence file + STPFilePurposeDisputeEvidence = 1, +/// A file of unknown purpose type + STPFilePurposeUnknown = 2, +}; + + + + + + + +/// This class lets you access card icons used by the Stripe SDK. All icons are 32 x 20 points. +SWIFT_CLASS("_TtC6Stripe15STPImageLibrary") +@interface STPImageLibrary : NSObject +/// An icon representing Apple Pay. ++ (UIImage * _Nonnull)applePayCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon representing American Express. ++ (UIImage * _Nonnull)amexCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon representing Diners Club. ++ (UIImage * _Nonnull)dinersClubCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon representing Discover. ++ (UIImage * _Nonnull)discoverCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon representing JCB. ++ (UIImage * _Nonnull)jcbCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon representing Mastercard. ++ (UIImage * _Nonnull)mastercardCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon representing UnionPay. ++ (UIImage * _Nonnull)unionPayCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon representing Visa. ++ (UIImage * _Nonnull)visaCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon to use when the type of the card is unknown. ++ (UIImage * _Nonnull)unknownCardCardImage SWIFT_WARN_UNUSED_RESULT; +/// This returns the appropriate icon for the specified card brand. ++ (UIImage * _Nonnull)brandImageForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// This returns the appropriate icon for the specified bank brand. ++ (UIImage * _Nonnull)brandImageForFPXBankBrand:(enum STPFPXBankBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// An icon representing FPX. ++ (UIImage * _Nonnull)fpxLogo SWIFT_WARN_UNUSED_RESULT; +/// A large branding image for FPX. ++ (UIImage * _Nonnull)largeFpxLogo SWIFT_WARN_UNUSED_RESULT; +/// An icon representing Afterpay. ++ (UIImage * _Nonnull)afterpayLogo SWIFT_WARN_UNUSED_RESULT; +/// This returns the appropriate icon for the specified card brand as a +/// single color template that can be tinted ++ (UIImage * _Nonnull)templatedBrandImageForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// This returns a small icon indicating the CVC location for the given card brand. ++ (UIImage * _Nonnull)cvcImageForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// This returns a small icon indicating a card number error for the given card brand. ++ (UIImage * _Nonnull)errorImageForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +enum STPIntentActionType : NSInteger; +@class STPIntentActionRedirectToURL; +@class STPIntentActionOXXODisplayDetails; +@class STPIntentActionAlipayHandleRedirect; +@class STPIntentActionWechatPayRedirectToApp; +@class STPIntentActionBoletoDisplayDetails; + +/// Next action details for STPPaymentIntent and STPSetupIntent. +/// This is a container for the various types that are available. +/// Check the type to see which one it is, and then use the related +/// property for the details necessary to handle it. +/// You cannot directly instantiate an STPIntentAction. +SWIFT_CLASS("_TtC6Stripe15STPIntentAction") +@interface STPIntentAction : NSObject +/// The type of action needed. The value of this field determines which +/// property of this object contains further details about the action. +@property (nonatomic, readonly) enum STPIntentActionType type; +/// The details for authorizing via URL, when type == .redirectToURL +@property (nonatomic, readonly, strong) STPIntentActionRedirectToURL * _Nullable redirectToURL; +/// The details for displaying OXXO voucher via URL, when type == .OXXODisplayDetails +@property (nonatomic, readonly, strong) STPIntentActionOXXODisplayDetails * _Nullable oxxoDisplayDetails; +/// Contains instructions for authenticating a payment by redirecting your customer to Alipay App or website. +@property (nonatomic, readonly, strong) STPIntentActionAlipayHandleRedirect * _Nullable alipayHandleRedirect; +/// Contains instructions for authenticating a payment by redirecting your customer to the WeChat Pay app. +@property (nonatomic, readonly, strong) STPIntentActionWechatPayRedirectToApp * _Nullable weChatPayRedirectToApp; +/// The details for displaying Boleto voucher via URL, when type == .boleto +@property (nonatomic, readonly, strong) STPIntentActionBoletoDisplayDetails * _Nullable boletoDisplayDetails; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPIntentAction (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface STPIntentAction (SWIFT_EXTENSION(Stripe)) +/// The details for authorizing via URL, when type == STPIntentActionTypeRedirectToURL +/// @deprecated Use redirectToURL instead. +@property (nonatomic, readonly, strong) STPIntentActionRedirectToURL * _Nullable authorizeWithURL SWIFT_DEPRECATED_MSG("Use `redirectToURL` instead.", "redirectToURL"); +@end + + +/// Contains instructions for authenticating a payment by redirecting your customer to Alipay App or website. +/// You cannot directly instantiate an STPPaymentIntentActionAlipayHandleRedirect. +SWIFT_CLASS("_TtC6Stripe35STPIntentActionAlipayHandleRedirect") +@interface STPIntentActionAlipayHandleRedirect : NSObject +/// The native URL you must redirect your customer to in order to authenticate the payment. +@property (nonatomic, readonly, copy) NSURL * _Nullable nativeURL; +/// If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion. +@property (nonatomic, readonly, copy) NSURL * _Nonnull returnURL; +/// The URL you must redirect your customer to in order to authenticate the payment. +@property (nonatomic, readonly, copy) NSURL * _Nonnull url; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPIntentActionAlipayHandleRedirect (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + + +/// Contains Boleto details necessary for the customer to complete the payment. +SWIFT_CLASS("_TtC6Stripe35STPIntentActionBoletoDisplayDetails") +@interface STPIntentActionBoletoDisplayDetails : NSObject +/// The boleto voucher number. +@property (nonatomic, readonly, copy) NSString * _Nonnull number; +/// The expiry date of the boleto voucher. +@property (nonatomic, readonly, copy) NSDate * _Nonnull expiresAt; +/// The URL to the hosted boleto voucher page, which allows customers to view the boleto voucher. +@property (nonatomic, readonly, copy) NSURL * _Nonnull hostedVoucherURL; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// Contains OXXO details necessary for the customer to complete the payment. +SWIFT_CLASS("_TtC6Stripe33STPIntentActionOXXODisplayDetails") +@interface STPIntentActionOXXODisplayDetails : NSObject +/// The timestamp after which the OXXO voucher expires. +@property (nonatomic, readonly, copy) NSDate * _Nonnull expiresAfter; +/// The URL for the hosted OXXO voucher page, which allows customers to view and print an OXXO voucher. +@property (nonatomic, readonly, copy) NSURL * _Nonnull hostedVoucherURL; +/// OXXO reference number. +@property (nonatomic, readonly, copy) NSString * _Nonnull number; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// Contains instructions for authenticating a payment by redirecting your customer to another page or application. +/// You cannot directly instantiate an STPIntentActionRedirectToURL. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/object#payment_intent_object-next_action +SWIFT_CLASS("_TtC6Stripe28STPIntentActionRedirectToURL") +@interface STPIntentActionRedirectToURL : NSObject +/// The URL you must redirect your customer to in order to authenticate the payment. +@property (nonatomic, readonly, copy) NSURL * _Nonnull url; +/// The return URL that’ll be redirected back to when the user is done +/// authenticating. +@property (nonatomic, readonly, copy) NSURL * _Nullable returnURL; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPIntentActionRedirectToURL (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// Types of next actions for STPPaymentIntent and STPSetupIntent. +/// You shouldn’t need to inspect this yourself; STPPaymentHandler will handle any next actions for you. +typedef SWIFT_ENUM(NSInteger, STPIntentActionType, open) { +/// This is an unknown action that’s been added since the SDK +/// was last updated. +/// Update your SDK, or use the nextAction.allResponseFields +/// for custom handling. + STPIntentActionTypeUnknown = 0, +/// The payment intent needs to be authorized by the user. We provide +/// STPPaymentHandler to handle the url redirections necessary. + STPIntentActionTypeRedirectToURL = 1, +/// The payment intent requires additional action handled by STPPaymentHandler. + STPIntentActionTypeUseStripeSDK = 2, +/// The action type is OXXO payment. We provide STPPaymentHandler to display +/// the OXXO voucher. + STPIntentActionTypeOXXODisplayDetails = 3, +/// Contains instructions for authenticating a payment by redirecting your customer to Alipay App or website. + STPIntentActionTypeAlipayHandleRedirect = 4, +/// The action type for BLIK payment methods. The customer must authorize the transaction in their banking app within 1 minute. + STPIntentActionTypeBLIKAuthorize = 5, +/// Contains instructions for authenticating a payment by redirecting your customer to the WeChat Pay App. + STPIntentActionTypeWeChatPayRedirectToApp = 6, +/// The payment intent requires authorization with Payment Sheet. + STPIntentActionTypeLinkAuthenticateAccount = 7, +/// The action type is Boleto payment. We provide STPPaymentHandler to display the Boleto voucher. + STPIntentActionTypeBoletoDisplayDetails = 8, +}; + + +/// Contains instructions for authenticating a payment by redirecting your customer to WeChat Pay app. +/// You cannot directly instantiate an STPIntentActionWechatPayRedirectToApp. +SWIFT_CLASS("_TtC6Stripe37STPIntentActionWechatPayRedirectToApp") +@interface STPIntentActionWechatPayRedirectToApp : NSObject +/// The native URL you must redirect your customer to in order to authenticate the payment. +@property (nonatomic, readonly, copy) NSURL * _Nullable nativeURL; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPIntentActionWechatPayRedirectToApp (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// You should make your application’s API client conform to this interface. +/// It provides a way for Stripe utility classes to request a new ephemeral key from +/// your backend, which it will use to retrieve and update Stripe API objects. +SWIFT_PROTOCOL("_TtP6Stripe34STPIssuingCardEphemeralKeyProvider_") +@protocol STPIssuingCardEphemeralKeyProvider +/// Creates a new ephemeral key for retrieving and updating a Stripe Issuing Card. +/// On your backend, you should create a new ephemeral key for your logged-in user’s +/// primary Issuing Card, and return the raw JSON response from the Stripe API. +/// For an example Ruby implementation of this API, refer to our example backend: +/// https://github.com/stripe/example-mobile-backend/blob/v18.1.0/web.rb +/// Back in your iOS app, once you have a response from this API, call the provided +/// completion block with the JSON response, or an error if one occurred. +/// \param apiVersion The Stripe API version to use when creating a key. +/// You should pass this parameter to your backend, and use it to set the API version +/// in your key creation request. Passing this version parameter ensures that the +/// Stripe SDK can always parse the ephemeral key response from your server. +/// +/// \param completion Call this callback when you’re done fetching a new ephemeral +/// key from your backend. For example, completion(json, nil) (if your call succeeds) +/// or completion(nil, error) if an error is returned. +/// +- (void)createIssuingCardKeyWithAPIVersion:(NSString * _Nonnull)apiVersion completion:(void (^ _Nonnull)(NSDictionary * _Nullable, NSError * _Nullable))completion; +@end + + +/// Information related to a Stripe Issuing card, including the PIN +SWIFT_CLASS("_TtC6Stripe17STPIssuingCardPin") +@interface STPIssuingCardPin : NSObject +/// The PIN for the card +@property (nonatomic, readonly, copy) NSString * _Nullable pin; +/// If the PIN failed to be created, this error might be present +@property (nonatomic, readonly, copy) NSDictionary * _Nullable error; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPIssuingCardPin (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +enum STPKlarnaLineItemType : NSInteger; + +/// An object representing a line item in a Klarna source. +/// seealso: +/// https://stripe.com/docs/sources/klarna#create-source +SWIFT_CLASS("_TtC6Stripe17STPKlarnaLineItem") +@interface STPKlarnaLineItem : NSObject +/// The line item’s type. One of sku (for a product), tax (for taxes), or shipping (for shipping costs). +@property (nonatomic) enum STPKlarnaLineItemType itemType; +/// The human-readable description for the line item. +@property (nonatomic, copy) NSString * _Nonnull itemDescription; +/// The quantity to display for this line item. +@property (nonatomic, strong) NSNumber * _Nonnull quantity; +/// The total price of this line item. +/// Note: This is the total price after multiplying by the quantity, not +/// the price of an individual item. It is denominated in the currency +/// of the STPSourceParams which contains it. +@property (nonatomic, strong) NSNumber * _Nonnull totalAmount; +/// Initialize this STPKlarnaLineItem with a set of parameters. +/// \param itemType The line item’s type. +/// +/// \param itemDescription The human-readable description for the line item. +/// +/// \param quantity The quantity to display for this line item. +/// +/// \param totalAmount The total price of this line item. +/// +- (nonnull instancetype)initWithItemType:(enum STPKlarnaLineItemType)itemType itemDescription:(NSString * _Nonnull)itemDescription quantity:(NSNumber * _Nonnull)quantity totalAmount:(NSNumber * _Nonnull)totalAmount OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// The type of the Klarna line item. +typedef SWIFT_ENUM(NSInteger, STPKlarnaLineItemType, open) { +/// The line item for a product + STPKlarnaLineItemTypeSKU = 0, +/// The line item for taxes + STPKlarnaLineItemTypeTax = 1, +/// The line item for shipping costs + STPKlarnaLineItemTypeShipping = 2, +}; + +/// Custom payment methods for Klarna +/// seealso: +/// https://stripe.com/docs/sources/klarna#create-source +typedef SWIFT_ENUM(NSInteger, STPKlarnaPaymentMethods, open) { +/// Don’t specify any custom payment methods. + STPKlarnaPaymentMethodsNone = 0, +/// Offer payments over 4 installments. (a.k.a. Pay Later in 4) + STPKlarnaPaymentMethodsPayIn4 = 1, +/// Offer payments over an arbitrary number of installments. (a.k.a. Slice It) + STPKlarnaPaymentMethodsInstallments = 2, +/// Offer payments over 4 or an arbitrary number of installments. + STPKlarnaPaymentMethodsPayIn4OrInstallments = 3, +}; + +enum STPMandateCustomerAcceptanceType : NSInteger; +@class STPMandateOnlineParams; + +/// An object that contains details about the customer acceptance of the Mandate. - seealso: https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-mandate_data-customer_acceptance +SWIFT_CLASS("_TtC6Stripe34STPMandateCustomerAcceptanceParams") +@interface STPMandateCustomerAcceptanceParams : NSObject +/// The type of customer acceptance information included with the Mandate. +@property (nonatomic) enum STPMandateCustomerAcceptanceType type; +/// If this is a Mandate accepted online, this object contains details about the online acceptance. +/// @note If type == STPMandateCustomerAcceptanceTypeOnline, this value must be non-nil. +@property (nonatomic, strong) STPMandateOnlineParams * _Nullable onlineParams; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initializes an empty STPMandateCustomerAcceptanceParams. +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + +/// The type of customer acceptance information included with the Mandate. +typedef SWIFT_ENUM(NSInteger, STPMandateCustomerAcceptanceType, open) { +/// A Mandate that was accepted online. + STPMandateCustomerAcceptanceTypeOnline = 0, +/// A Mandate that was accepted offline. + STPMandateCustomerAcceptanceTypeOffline = 1, +}; + + +/// This object contains details about the Mandate to create. - seealso: https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-mandate_data +SWIFT_CLASS("_TtC6Stripe20STPMandateDataParams") +@interface STPMandateDataParams : NSObject +/// Details about the customer acceptance of the Mandate. +@property (nonatomic, readonly, strong) STPMandateCustomerAcceptanceParams * _Nonnull customerAcceptance; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initializes an STPMandateDataParams from an STPMandateCustomerAcceptanceParams. +- (nonnull instancetype)initWithCustomerAcceptance:(STPMandateCustomerAcceptanceParams * _Nonnull)customerAcceptance OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPMandateDataParams (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Contains details about a Mandate accepted online. - seealso: https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-mandate_data-customer_acceptance-online +SWIFT_CLASS("_TtC6Stripe22STPMandateOnlineParams") +@interface STPMandateOnlineParams : NSObject +/// The IP address from which the Mandate was accepted by the customer. +@property (nonatomic, readonly, copy) NSString * _Nonnull ipAddress; +/// The user agent of the browser from which the Mandate was accepted by the customer. +@property (nonatomic, readonly, copy) NSString * _Nonnull userAgent; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initializes an STPMandateOnlineParams. +/// \param ipAddress The IP address from which the Mandate was accepted by the customer. +/// +/// \param userAgent The user agent of the browser from which the Mandate was accepted by the customer. +/// +/// +/// returns: +/// A new STPMandateOnlineParams instance with the specified parameters. +- (nonnull instancetype)initWithIPAddress:(NSString * _Nonnull)ipAddress userAgent:(NSString * _Nonnull)userAgent OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPMandateOnlineParams (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + + +/// This class can be used wherever you’d use a UIActivityIndicatorView and is intended to have a similar API. It renders as a spinning circle with a gap in it, similar to what you see in the App Store app or in the Apple Pay dialog when making a purchase. To change its color, set the tintColor property. +SWIFT_CLASS("_TtC6Stripe31STPPaymentActivityIndicatorView") +@interface STPPaymentActivityIndicatorView : UIView +/// Tell the view to start or stop spinning. If hidesWhenStopped is true, it will fade in/out if animated is true. +- (void)setAnimating:(BOOL)animating animated:(BOOL)animated; +/// Whether or not the view is animating. +@property (nonatomic) BOOL animating; +/// If true, the view will hide when it is not spinning. Default is true. +@property (nonatomic) BOOL hidesWhenStopped; +/// :nodoc: +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +/// :nodoc: +@property (nonatomic, strong) UIColor * _Null_unspecified tintColor; +/// :nodoc: +- (void)layoutSubviews; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE; +@end + +@class STPPaymentMethodCardParams; +@class UITraitCollection; + +/// STPPaymentCardTextField is a text field with similar properties to UITextField, +/// but specialized for credit/debit card information. It manages +/// multiple UITextFields under the hood to collect this information. It’s +/// designed to fit on a single line, and from a design perspective can be used +/// anywhere a UITextField would be appropriate. +IB_DESIGNABLE +SWIFT_CLASS("_TtC6Stripe23STPPaymentCardTextField") +@interface STPPaymentCardTextField : UIControl +/// :nodoc: +- (BOOL)textField:(UITextField * _Nonnull)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString * _Nonnull)string SWIFT_WARN_UNUSED_RESULT; +/// seealso: +/// STPPaymentCardTextFieldDelegate +@property (nonatomic, weak) IBOutlet id _Nullable delegate; +/// The font used in each child field. Default is UIFont.systemFont(ofSize:18). +@property (nonatomic, strong) UIFont * _Nonnull font; +/// The text color to be used when entering valid text. Default is .label. +@property (nonatomic, strong) UIColor * _Nonnull textColor; +/// The text color to be used when the user has entered invalid information, +/// such as an invalid card number. +/// Default is .red. +@property (nonatomic, strong) UIColor * _Nonnull textErrorColor; +/// The text placeholder color used in each child field. +/// This will also set the color of the card placeholder icon. +/// Default is .systemGray2. +@property (nonatomic, strong) UIColor * _Nonnull placeholderColor; +/// The placeholder for the card number field. +/// Default is “4242424242424242”. +/// If this is set to something that resembles a card number, it will automatically +/// format it as such (in other words, you don’t need to add spaces to this string). +@property (nonatomic, copy) IBInspectable NSString * _Nullable numberPlaceholder; +/// The placeholder for the expiration field. Defaults to “MM/YY”. +@property (nonatomic, copy) IBInspectable NSString * _Nullable expirationPlaceholder; +/// The placeholder for the cvc field. Defaults to “CVC”. +@property (nonatomic, copy) IBInspectable NSString * _Nullable cvcPlaceholder; +/// The placeholder for the postal code field. Defaults to “ZIP” for United States +/// or @“Postal” for all other country codes. +@property (nonatomic, copy) IBInspectable NSString * _Nullable postalCodePlaceholder; +/// The cursor color for the field. +/// This is a proxy for the view’s tintColor property, exposed for clarity only +/// (in other words, calling setCursorColor is identical to calling setTintColor). +@property (nonatomic, strong) UIColor * _Nonnull cursorColor; +/// The border color for the field. +/// Can be nil (in which case no border will be drawn). +/// Default is .systemGray2. +@property (nonatomic, strong) UIColor * _Nullable borderColor; +/// The width of the field’s border. +/// Default is 1.0. +@property (nonatomic) CGFloat borderWidth; +/// The corner radius for the field’s border. +/// Default is 5.0. +@property (nonatomic) CGFloat cornerRadius; +/// The keyboard appearance for the field. +/// Default is UIKeyboardAppearanceDefault. +@property (nonatomic) UIKeyboardAppearance keyboardAppearance; +/// This behaves identically to setting the inputView for each child text field. +@property (nonatomic, strong) UIView * _Nullable inputView; +/// This behaves identically to setting the inputAccessoryView for each child text field. +@property (nonatomic, strong) UIView * _Nullable inputAccessoryView; +/// The curent brand image displayed in the receiver. +@property (nonatomic, readonly, strong) UIImage * _Nullable brandImage; +/// Whether or not the form currently contains a valid card number, +/// expiration date, CVC, and postal code (if required). +/// seealso: +/// STPCardValidator +@property (nonatomic, readonly) BOOL isValid; +/// Enable/disable selecting or editing the field. Useful when submitting card details to Stripe. +@property (nonatomic, getter=isEnabled) BOOL enabled; +/// The current card number displayed by the field. +/// May or may not be valid, unless isValid is true, in which case it is guaranteed +/// to be valid. +@property (nonatomic, readonly, copy) NSString * _Nullable cardNumber; +/// The current expiration month displayed by the field (1 = January, etc). +/// May or may not be valid, unless isValid is true, in which case it is +/// guaranteed to be valid. +@property (nonatomic, readonly) NSInteger expirationMonth; +/// The current expiration month displayed by the field, as a string. T +/// This may or may not be a valid entry (i.e. “0”) unless isValid is true. +/// It may be also 0-prefixed (i.e. “01” for January). +@property (nonatomic, readonly, copy) NSString * _Nullable formattedExpirationMonth; +/// The current expiration year displayed by the field, modulo 100 +/// (e.g. the year 2015 will be represented as 15). +/// May or may not be valid, unless isValid is true, in which case it is +/// guaranteed to be valid. +@property (nonatomic, readonly) NSInteger expirationYear; +/// The current expiration year displayed by the field, as a string. +/// This is a 2-digit year (i.e. “15”), and may or may not be a valid entry +/// unless isValid is true. +@property (nonatomic, readonly, copy) NSString * _Nullable formattedExpirationYear; +/// The current card CVC displayed by the field. +/// May or may not be valid, unless isValid is true, in which case it +/// is guaranteed to be valid. +@property (nonatomic, readonly, copy) NSString * _Nullable cvc; +/// The current card ZIP or postal code displayed by the field. +@property (nonatomic, copy) NSString * _Nullable postalCode; +/// Controls if a postal code entry field can be displayed to the user. +/// Default is YES. +/// If YES, the type of code entry shown is controlled by the set countryCode +/// value. Some country codes may result in no postal code entry being shown if +/// those countries do not commonly use postal codes. +/// If NO, no postal code entry will ever be displayed. +@property (nonatomic) BOOL postalCodeEntryEnabled; +/// The two-letter ISO country code that corresponds to the user’s billing address. +/// If postalCodeEntryEnabled is YES, this controls which type of entry is allowed. +/// If postalCodeEntryEnabled is NO, this property currently has no effect. +/// If set to nil and postal code entry is enabled, the country from the user’s current +/// locale will be filled in. Otherwise the specific country code set will be used. +/// By default this will fetch the user’s current country code from NSLocale. +@property (nonatomic, copy) NSString * _Nullable countryCode; +/// Convenience property for creating an STPPaymentMethodCardParams from the currently entered information +/// or programmatically setting the field’s contents. For example, if you’re using another library +/// to scan your user’s credit card with a camera, you can assemble that data into an STPPaymentMethodCardParams +/// object and set this property to that object to prefill the fields you’ve collected. +/// Accessing this property returns a copied cardParams. The only way to change properties in this +/// object is to make changes to a STPPaymentMethodCardParams you own (retrieved from this text field if desired), +/// and then set this property to the new value. +@property (nonatomic, strong) STPPaymentMethodCardParams * _Nonnull cardParams; +/// Causes the text field to begin editing. Presents the keyboard. +/// seealso: +/// UIResponder +/// +/// returns: +/// Whether or not the text field successfully began editing. +- (BOOL)becomeFirstResponder; +/// Causes the text field to stop editing. Dismisses the keyboard. +/// seealso: +/// UIResponder +/// +/// returns: +/// Whether or not the field successfully stopped editing. +- (BOOL)resignFirstResponder; +/// Resets all of the contents of all of the fields. If the field is currently being edited, the number field will become selected. +- (void)clear; +/// Returns the cvc image used for a card brand. +/// Override this method in a subclass if you would like to provide custom images. +/// \param cardBrand The brand of card entered. +/// +/// +/// returns: +/// The cvc image used for a card brand. ++ (UIImage * _Nullable)cvcImageForCardBrand:(enum STPCardBrand)cardBrand SWIFT_WARN_UNUSED_RESULT; +/// Returns the brand image used for a card brand. +/// Override this method in a subclass if you would like to provide custom images. +/// \param cardBrand The brand of card entered. +/// +/// +/// returns: +/// The brand image used for a card brand. ++ (UIImage * _Nullable)brandImageForCardBrand:(enum STPCardBrand)cardBrand SWIFT_WARN_UNUSED_RESULT; +/// Returns the error image used for a card brand. +/// Override this method in a subclass if you would like to provide custom images. +/// \param cardBrand The brand of card entered. +/// +/// +/// returns: +/// The error image used for a card brand. ++ (UIImage * _Nullable)errorImageForCardBrand:(enum STPCardBrand)cardBrand SWIFT_WARN_UNUSED_RESULT; +/// Returns the rectangle in which the receiver draws its brand image. +/// \param bounds The bounding rectangle of the receiver. +/// +/// +/// returns: +/// the rectangle in which the receiver draws its brand image. +- (CGRect)brandImageRectForBounds:(CGRect)bounds SWIFT_WARN_UNUSED_RESULT; +/// Returns the rectangle in which the receiver draws the text fields. +/// \param bounds The bounding rectangle of the receiver. +/// +/// +/// returns: +/// The rectangle in which the receiver draws the text fields. +- (CGRect)fieldsRectForBounds:(CGRect)bounds SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (void)traitCollectionDidChange:(UITraitCollection * _Nullable)previousTraitCollection; +/// :nodoc: +@property (nonatomic, strong) UIColor * _Nullable backgroundColor; +/// :nodoc: +@property (nonatomic) UIControlContentVerticalAlignment contentVerticalAlignment; +/// :nodoc: +@property (nonatomic, readonly) BOOL isFirstResponder; +/// :nodoc: +@property (nonatomic, readonly) BOOL canBecomeFirstResponder; +/// :nodoc: +@property (nonatomic, readonly) BOOL canResignFirstResponder; +/// :nodoc: +@property (nonatomic, readonly) CGSize intrinsicContentSize; +/// :nodoc: +- (void)layoutSubviews; +/// :nodoc: +- (BOOL)textFieldShouldBeginEditing:(UITextField * _Nonnull)textField SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)textFieldDidBeginEditing:(UITextField * _Nonnull)textField; +/// :nodoc: +- (BOOL)textFieldShouldEndEditing:(UITextField * _Nonnull)textField SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)textFieldDidEndEditing:(UITextField * _Nonnull)textField; +/// :nodoc: +- (BOOL)textFieldShouldReturn:(UITextField * _Nonnull)textField SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) BOOL hasText; +/// :nodoc: +- (void)insertText:(NSString * _Nonnull)text; +/// :nodoc: +- (void)deleteBackward; +/// :nodoc: ++ (NSSet * _Nonnull)keyPathsForValuesAffectingIsValid SWIFT_WARN_UNUSED_RESULT; +@end + + + + +enum STPShippingType : NSInteger; + +/// An STPPaymentConfiguration represents all the options you can set or change +/// around a payment. +/// You provide an STPPaymentConfiguration object to your STPPaymentContext +/// when making a charge. The configuration generally has settings that +/// will not change from payment to payment and thus is reusable, while the context +/// is specific to a single particular payment instance. +SWIFT_CLASS("_TtC6Stripe23STPPaymentConfiguration") +@interface STPPaymentConfiguration : NSObject +/// This is a convenience singleton configuration that uses the default values for +/// every property +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) STPPaymentConfiguration * _Nonnull sharedConfiguration;) ++ (STPPaymentConfiguration * _Nonnull)sharedConfiguration SWIFT_WARN_UNUSED_RESULT; ++ (void)setSharedConfiguration:(STPPaymentConfiguration * _Nonnull)value; +/// The user is allowed to pay with Apple Pay if it’s configured and available on their device. +@property (nonatomic) BOOL applePayEnabled; +/// The user is allowed to pay with FPX. +@property (nonatomic) BOOL fpxEnabled; +/// The billing address fields the user must fill out when prompted for their +/// payment details. These fields will all be present on the returned PaymentMethod from +/// Stripe. +/// The default value is STPBillingAddressFieldsPostalCode. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/create#create_payment_method-billing_details +@property (nonatomic) enum STPBillingAddressFields requiredBillingAddressFields; +/// The shipping address fields the user must fill out when prompted for their +/// shipping info. Set to nil if shipping address is not required. +/// The default value is nil. +@property (nonatomic, copy) NSSet * _Nullable requiredShippingAddressFields; +/// Whether the user should be prompted to verify prefilled shipping information. +/// The default value is YES. +@property (nonatomic) BOOL verifyPrefilledShippingAddress; +/// The type of shipping for this purchase. This property sets the labels displayed +/// when the user is prompted for shipping info, and whether they should also be +/// asked to select a shipping method. +/// The default value is STPShippingTypeShipping. +@property (nonatomic) enum STPShippingType shippingType; +/// The set of countries supported when entering an address. This property accepts +/// a set of ISO 2-character country codes. +/// The default value is all known countries. Setting this property will limit +/// the available countries to your selected set. +@property (nonatomic, copy) NSSet * _Nonnull availableCountries; +/// The name of your company, for displaying to the user during payment flows. For +/// example, when using Apple Pay, the payment sheet’s final line item will read +/// “PAY {companyName}”. +/// The default value is the name of your iOS application which is derived from the +/// kCFBundleNameKey of Bundle.main. +@property (nonatomic, copy) NSString * _Nonnull companyName; +/// The Apple Merchant Identifier to use during Apple Pay transactions. To create +/// one of these, see our guide at https://stripe.com/docs/mobile/apple-pay . You +/// must set this to a valid identifier in order to automatically enable Apple Pay. +@property (nonatomic, copy) NSString * _Nullable appleMerchantIdentifier; +/// Determines whether or not the user is able to delete payment options +/// This is only relevant to the STPPaymentOptionsViewController which, if +/// enabled, will allow the user to delete payment options by tapping the “Edit” +/// button in the navigation bar or by swiping left on a payment option and tapping +/// “Delete”. Currently, the user is not allowed to delete the selected payment +/// option but this may change in the future. +/// Default value is YES but will only work if STPPaymentOptionsViewController is +/// initialized with a STPCustomerContext either through the STPPaymentContext +/// or directly as an init parameter. +@property (nonatomic) BOOL canDeletePaymentOptions; +/// Determines whether STPAddCardViewController allows the user to +/// scan cards using the camera on devices running iOS 13 or later. +/// To use this feature, you must also set the NSCameraUsageDescription +/// value in your app’s Info.plist. +/// @note This feature is currently in beta. Please file bugs at +/// https://github.com/stripe/stripe-ios/issues +/// The default value is currently NO. This will be changed in a future update. +@property (nonatomic) BOOL cardScanningEnabled; +/// An enum value representing which payment options you will accept from your user +/// in addition to credit cards. +@property (nonatomic) NSInteger additionalPaymentOptions SWIFT_DEPRECATED_MSG("additionalPaymentOptions has been removed. Set applePayEnabled and fpxEnabled on STPPaymentConfiguration instead."); +/// If you used STPPaymentConfiguration.shared.publishableKey, use STPAPIClient.shared.publishableKey instead. The SDK uses STPAPIClient.shared to make API requests by default. +/// Your Stripe publishable key +/// seealso: +/// https://dashboard.stripe.com/account/apikeys +@property (nonatomic, copy) NSString * _Nullable publishableKey SWIFT_DEPRECATED_MSG("If you used STPPaymentConfiguration.shared.publishableKey, use STPAPIClient.shared.publishableKey instead. If you passed a STPPaymentConfiguration instance to an SDK component, create an STPAPIClient, set publishableKey on it, and set the SDK component's APIClient property."); +/// If you used STPPaymentConfiguration.shared.stripeAccount, use STPAPIClient.shared.stripeAccount instead. The SDK uses STPAPIClient.shared to make API requests by default. +/// In order to perform API requests on behalf of a connected account, e.g. to +/// create charges for a connected account, set this property to the ID of the +/// account for which this request is being made. +/// seealso: +/// https://stripe.com/docs/payments/payment-intents/use-cases#connected-accounts +@property (nonatomic, copy) NSString * _Nullable stripeAccount SWIFT_DEPRECATED_MSG("If you used STPPaymentConfiguration.shared.stripeAccount, use STPAPIClient.shared.stripeAccount instead. If you passed a STPPaymentConfiguration instance to an SDK component, create an STPAPIClient, set stripeAccount on it, and set the SDK component's APIClient property."); +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class STPShippingAddressViewController; +enum STPShippingStatus : NSInteger; + +/// An STPShippingAddressViewControllerDelegate is notified when an STPShippingAddressViewController receives an address, completes with an address, or is cancelled. +SWIFT_PROTOCOL("_TtP6Stripe40STPShippingAddressViewControllerDelegate_") +@protocol STPShippingAddressViewControllerDelegate +/// Called when the user cancels entering a shipping address. You should dismiss (or pop) the view controller at this point. +/// \param addressViewController the view controller that has been cancelled +/// +- (void)shippingAddressViewControllerDidCancel:(STPShippingAddressViewController * _Nonnull)addressViewController; +/// This is called when the user enters a shipping address and taps next. You +/// should validate the address and determine what shipping methods are available, +/// and call the completion block when finished. If an error occurrs, call +/// the completion block with the error. Otherwise, call the completion +/// block with a nil error and an array of available shipping methods. If you don’t +/// need to collect a shipping method, you may pass an empty array or nil. +/// \param addressViewController the view controller where the address was entered +/// +/// \param address the address that was entered. - seealso: STPAddress +/// +/// \param completion call this callback when you’re done validating the address and determining available shipping methods. +/// +- (void)shippingAddressViewController:(STPShippingAddressViewController * _Nonnull)addressViewController didEnterAddress:(STPAddress * _Nonnull)address completion:(void (^ _Nonnull)(enum STPShippingStatus, NSError * _Nullable, NSArray * _Nullable, PKShippingMethod * _Nullable))completion; +/// This is called when the user selects a shipping method. If no shipping methods are given, or if the shipping type doesn’t require a shipping method, this will be called after the user has a shipping address and your validation has succeeded. After updating your app with the user’s shipping info, you should dismiss (or pop) the view controller. Note that if shippingMethod is non-nil, there will be an additional shipping methods view controller on the navigation controller’s stack. +/// \param addressViewController the view controller where the address was entered +/// +/// \param address the address that was entered. - seealso: STPAddress +/// +/// \param method the shipping method that was selected. +/// +- (void)shippingAddressViewController:(STPShippingAddressViewController * _Nonnull)addressViewController didFinishWithAddress:(STPAddress * _Nonnull)address shippingMethod:(PKShippingMethod * _Nullable)method; +@end + +@class STPPaymentOptionsViewController; + +/// An STPPaymentOptionsViewControllerDelegate responds when a user selects a +/// payment option from (or cancels) an STPPaymentOptionsViewController. In both +/// of these instances, you should dismiss the view controller (either by popping +/// it off the navigation stack, or dismissing it). +SWIFT_PROTOCOL("_TtP6Stripe39STPPaymentOptionsViewControllerDelegate_") +@protocol STPPaymentOptionsViewControllerDelegate +/// This is called when the view controller encounters an error fetching the user’s +/// payment options from its API adapter. You should dismiss the view controller +/// when this is called. +/// \param paymentOptionsViewController the view controller in question +/// +/// \param error the error that occurred +/// +- (void)paymentOptionsViewController:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController didFailToLoadWithError:(NSError * _Nonnull)error; +/// This is called when the user selects or adds a payment method, so it will often +/// be called immediately after calling paymentOptionsViewController:didSelectPaymentOption:. +/// You should dismiss the view controller when this is called. +/// \param paymentOptionsViewController the view controller that has finished +/// +- (void)paymentOptionsViewControllerDidFinish:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController; +/// This is called when the user taps “cancel”. +/// You should dismiss the view controller when this is called. +/// \param paymentOptionsViewController the view controller that has finished +/// +- (void)paymentOptionsViewControllerDidCancel:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController; +@optional +/// This is called when the user either makes a selection, or adds a new card. +/// This will be triggered after the view controller loads with the user’s current +/// selection (if they have one) and then subsequently when they change their +/// choice. You should use this callback to update any necessary UI in your app +/// that displays the user’s currently selected payment method. You should not +/// dismiss the view controller at this point, instead do this in +/// paymentOptionsViewControllerDidFinish:. STPPaymentOptionsViewController +/// will also call the necessary methods on your API adapter, so you don’t need to +/// call them directly during this method. +/// \param paymentOptionsViewController the view controller in question +/// +/// \param paymentOption the selected payment method +/// +- (void)paymentOptionsViewController:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController didSelectPaymentOption:(id _Nonnull)paymentOption; +@end + +@protocol STPPaymentContextDelegate; +@class PKPaymentSummaryItem; + +/// An STPPaymentContext keeps track of all of the state around a payment. It will manage fetching a user’s saved payment methods, tracking any information they select, and prompting them for required additional information before completing their purchase. It can be used to power your application’s “payment confirmation” page with just a few lines of code. +/// STPPaymentContext also provides a unified interface to multiple payment methods - for example, you can write a single integration to accept both credit card payments and Apple Pay. +/// STPPaymentContext saves information about a user’s payment methods to a Stripe customer object, and requires an STPCustomerContext to manage retrieving and modifying the customer. +SWIFT_CLASS_NAMED("STPPaymentContext") +@interface STPPaymentContext : NSObject +/// This is a convenience initializer; it is equivalent to calling +/// init(customerContext:customerContext configuration:STPPaymentConfiguration.shared theme:STPTheme.defaultTheme. +/// \param customerContext The customer context the payment context will use to fetch +/// and modify its Stripe customer. - seealso: STPCustomerContext.h +/// +/// +/// returns: +/// the newly-instantiated payment context +- (nonnull instancetype)initWithCustomerContext:(STPCustomerContext * _Nonnull)customerContext; +/// Initializes a new Payment Context with the provided customer context, configuration, +/// and theme. After this class is initialized, you should also make sure to set its +/// delegate and hostViewController properties. +/// seealso: +/// STPPaymentConfiguration.h +///
    +///
  • +/// theme: The theme describing the visual appearance of all UI +/// that the payment context automatically creates for you. - seealso: STPTheme.h +///
  • +///
+/// \param customerContext The customer context the payment context will use to fetch +/// and modify its Stripe customer. - seealso: STPCustomerContext.h +/// +/// \param configuration The configuration for the payment context to use. This +/// lets you set your Stripe publishable API key, required billing address fields, etc. +/// +/// +/// returns: +/// the newly-instantiated payment context +- (nonnull instancetype)initWithCustomerContext:(STPCustomerContext * _Nonnull)customerContext configuration:(STPPaymentConfiguration * _Nonnull)configuration theme:(STPTheme * _Nonnull)theme; +/// Note: Instead of providing your own backend API adapter, we recommend using +/// STPCustomerContext, which will manage retrieving and updating a +/// Stripe customer for you. - seealso: STPCustomerContext.h +/// This is a convenience initializer; it is equivalent to calling +/// init(apiAdapter:apiAdapter configuration:STPPaymentConfiguration.shared theme:STPTheme.defaultTheme). +- (nonnull instancetype)initWithApiAdapter:(id _Nonnull)apiAdapter; +/// Note: Instead of providing your own backend API adapter, we recommend using +/// STPCustomerContext, which will manage retrieving and updating a +/// Stripe customer for you. - seealso: STPCustomerContext.h +/// Initializes a new Payment Context with the provided API adapter and configuration. +/// After this class is initialized, you should also make sure to set its delegate +/// and hostViewController properties. +/// seealso: +/// STPPaymentConfiguration.h +///
    +///
  • +/// theme: The theme describing the visual appearance of all UI that +/// the payment context automatically creates for you. - seealso: STPTheme.h +///
  • +///
+/// \param apiAdapter The API adapter the payment context will use to fetch and +/// modify its contents. You need to make a class conforming to this protocol that +/// talks to your server. - seealso: STPBackendAPIAdapter.h +/// +/// \param configuration The configuration for the payment context to use. This lets +/// you set your Stripe publishable API key, required billing address fields, etc. +/// +/// +/// returns: +/// the newly-instantiated payment context +- (nonnull instancetype)initWithApiAdapter:(id _Nonnull)apiAdapter configuration:(STPPaymentConfiguration * _Nonnull)configuration theme:(STPTheme * _Nonnull)theme OBJC_DESIGNATED_INITIALIZER; +/// Note: Instead of providing your own backend API adapter, we recommend using +/// STPCustomerContext, which will manage retrieving and updating a +/// Stripe customer for you. - seealso: STPCustomerContext.h +/// The API adapter the payment context will use to fetch and modify its contents. +/// You need to make a class conforming to this protocol that talks to your server. +/// seealso: +/// STPBackendAPIAdapter.h +@property (nonatomic, readonly, strong) id _Nonnull apiAdapter; +/// The configuration for the payment context to use internally. - seealso: STPPaymentConfiguration.h +@property (nonatomic, readonly, strong) STPPaymentConfiguration * _Nonnull configuration; +/// The visual appearance that will be used by any views that the context generates. - seealso: STPTheme.h +@property (nonatomic, readonly, strong) STPTheme * _Nonnull theme; +/// If you’ve already collected some information from your user, you can set it here and it’ll be automatically filled out when possible/appropriate in any UI that the payment context creates. +@property (nonatomic, strong) STPUserInformation * _Nullable prefilledInformation; +/// The view controller that any additional UI will be presented on. If you have a “checkout view controller” in your app, that should be used as the host view controller. +@property (nonatomic, weak) UIViewController * _Nullable hostViewController; +/// This delegate will be notified when the payment context’s contents change. - seealso: STPPaymentContextDelegate +@property (nonatomic, weak) id _Nullable delegate; +/// Whether or not the payment context is currently loading information from the network. +@property (nonatomic, readonly) BOOL loading; +/// @note This is no longer recommended as of v18.3.0 - the SDK automatically saves the Stripe ID of the last selected +/// payment method using NSUserDefaults and displays it as the default pre-selected option. You can override this behavior +/// by setting this property. +/// The Stripe ID of a payment method to display as the default pre-selected option. +/// @note Set this property immediately after initializing STPPaymentContext, or call retryLoading afterwards. +@property (nonatomic, copy) NSString * _Nullable defaultPaymentMethod; +/// The user’s currently selected payment option. May be nil. +@property (nonatomic, readonly, strong) id _Nullable selectedPaymentOption; +/// The available payment options the user can choose between. May be nil. +@property (nonatomic, readonly, copy) NSArray> * _Nullable paymentOptions; +/// The user’s currently selected shipping method. May be nil. +@property (nonatomic, readonly, strong) PKShippingMethod * _Nullable selectedShippingMethod; +/// An array of STPShippingMethod objects that describe the supported shipping methods. May be nil. +@property (nonatomic, readonly, copy) NSArray * _Nullable shippingMethods; +/// The user’s shipping address. May be nil. +/// If you’ve already collected a shipping address from your user, you may +/// prefill it by setting a shippingAddress in PaymentContext’s prefilledInformation. +/// When your user enters a new shipping address, PaymentContext will save it to +/// the current customer object. When PaymentContext loads, if you haven’t +/// manually set a prefilled value, any shipping information saved on the customer +/// will be used to prefill the shipping address form. Note that because your +/// customer’s email may not be the same as the email provided with their shipping +/// info, PaymentContext will not prefill the shipping form’s email using your +/// customer’s email. +/// You should not rely on the shipping information stored on the Stripe customer +/// for order fulfillment, as your user may change this information if they make +/// multiple purchases. We recommend adding shipping information when you create +/// a charge (which can also help prevent fraud), or saving it to your own +/// database. https://stripe.com/docs/api/payment_intents/create#create_payment_intent-shipping +/// Note: by default, your user will still be prompted to verify a prefilled +/// shipping address. To change this behavior, you can set +/// verifyPrefilledShippingAddress to NO in your STPPaymentConfiguration. +@property (nonatomic, readonly, strong) STPAddress * _Nullable shippingAddress; +/// The amount of money you’re requesting from the user, in the smallest currency +/// unit for the selected currency. For example, to indicate $10 USD, use 1000 +/// (i.e. 1000 cents). For more information, see https://stripe.com/docs/api/payment_intents/create#create_payment_intent-amount +/// @note This value must be present and greater than zero in order for Apple Pay +/// to be automatically enabled. +/// @note You should only set either this or paymentSummaryItems, not both. +/// The other will be automatically calculated on demand using your paymentCurrency. +@property (nonatomic) NSInteger paymentAmount; +/// The three-letter currency code for the currency of the payment (i.e. USD, GBP, +/// JPY, etc). Defaults to “USD”. +/// @note Changing this property may change the return value of paymentAmount +/// or paymentSummaryItems (whichever one you didn’t directly set yourself). +@property (nonatomic, copy) NSString * _Nonnull paymentCurrency; +/// The two-letter country code for the country where the payment will be processed. +/// You should set this to the country your Stripe account is in. Defaults to “US”. +/// @note Changing this property will change the countryCode of your Apple Pay +/// payment requests. +/// seealso: +/// PKPaymentRequest for more information. +@property (nonatomic, copy) NSString * _Nonnull paymentCountry; +/// If you support Apple Pay, you can optionally set the PKPaymentSummaryItems +/// you want to display here instead of using paymentAmount. Note that the +/// grand total (the amount of the last summary item) must be greater than zero. +/// If not set, a single summary item will be automatically generated using +/// paymentAmount and your configuration’s companyName. +/// seealso: +/// PKPaymentRequest for more information +/// @note You should only set either this or paymentAmount, not both. +/// The other will be automatically calculated on demand using your paymentCurrency. +@property (nonatomic, copy) NSArray * _Nonnull paymentSummaryItems; +/// The presentation style used for all view controllers presented modally by the context. +/// Since custom transition styles are not supported, you should set this to either +/// UIModalPresentationFullScreen, UIModalPresentationPageSheet, or UIModalPresentationFormSheet. +/// The default value is UIModalPresentationFullScreen. +@property (nonatomic) UIModalPresentationStyle modalPresentationStyle; +/// The mode to use when displaying the title of the navigation bar in all view +/// controllers presented by the context. The default value is automatic, +/// which causes the title to use the same styling as the previously displayed +/// navigation item (if the view controller is pushed onto the hostViewController). +/// If the prefersLargeTitles property of the hostViewController‘s navigation bar +/// is false, this property has no effect and the navigation item’s title is always +/// displayed as a small title. +/// If the view controller is presented modally, automatic and +/// never always result in a navigation bar with a small title. +@property (nonatomic) UINavigationItemLargeTitleDisplayMode largeTitleDisplayMode; +/// A view that will be placed as the footer of the payment options selection +/// view controller. +/// When the footer view needs to be resized, it will be sent a +/// sizeThatFits: call. The view should respond correctly to this method in order +/// to be sized and positioned properly. +@property (nonatomic, strong) UIView * _Nullable paymentOptionsViewControllerFooterView; +/// A view that will be placed as the footer of the add card view controller. +/// When the footer view needs to be resized, it will be sent a +/// sizeThatFits: call. The view should respond correctly to this method in order +/// to be sized and positioned properly. +@property (nonatomic, strong) UIView * _Nullable addCardViewControllerFooterView; +/// The STPAPIClient instance to use to make API requests. +/// Defaults to STPAPIClient.shared. +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +/// If paymentContext:didFailToLoadWithError: is called on your delegate, you +/// can in turn call this method to try loading again (if that hasn’t been called, +/// calling this will do nothing). If retrying in turn fails, paymentContext:didFailToLoadWithError: +/// will be called again (and you can again call this to keep retrying, etc). +- (void)retryLoading; +/// This creates, configures, and appropriately presents an STPPaymentOptionsViewController +/// on top of the payment context’s hostViewController. It’ll be dismissed automatically +/// when the user is done selecting their payment method. +/// @note This method will do nothing if it is called while STPPaymentContext is +/// already showing a view controller or in the middle of requesting a payment. +- (void)presentPaymentOptionsViewController; +/// This creates, configures, and appropriately pushes an STPPaymentOptionsViewController +/// onto the navigation stack of the context’s hostViewController. It’ll be popped +/// automatically when the user is done selecting their payment method. +/// @note This method will do nothing if it is called while STPPaymentContext is +/// already showing a view controller or in the middle of requesting a payment. +- (void)pushPaymentOptionsViewController; +/// This creates, configures, and appropriately presents a view controller for +/// collecting shipping address and shipping method on top of the payment context’s +/// hostViewController. It’ll be dismissed automatically when the user is done +/// entering their shipping info. +/// @note This method will do nothing if it is called while STPPaymentContext is +/// already showing a view controller or in the middle of requesting a payment. +- (void)presentShippingViewController; +/// This creates, configures, and appropriately pushes a view controller for +/// collecting shipping address and shipping method onto the navigation stack of +/// the context’s hostViewController. It’ll be popped automatically when the +/// user is done entering their shipping info. +/// @note This method will do nothing if it is called while STPPaymentContext is +/// already showing a view controller, or in the middle of requesting a payment. +- (void)pushShippingViewController; +/// Requests payment from the user. This may need to present some supplemental UI +/// to the user, in which case it will be presented on the payment context’s +/// hostViewController. For instance, if they’ve selected Apple Pay as their +/// payment method, calling this method will show the payment sheet. If the user +/// has a card on file, this will use that without presenting any additional UI. +/// After this is called, the paymentContext:didCreatePaymentResult:completion: +/// and paymentContext:didFinishWithStatus:error: methods will be called on the +/// context’s delegate. +/// @note This method will do nothing if it is called while STPPaymentContext is +/// already showing a view controller, or in the middle of requesting a payment. +- (void)requestPayment; +- (void)paymentOptionsViewController:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController didSelectPaymentOption:(id _Nonnull)paymentOption; +- (void)paymentOptionsViewControllerDidFinish:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController; +- (void)paymentOptionsViewControllerDidCancel:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController; +- (void)paymentOptionsViewController:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController didFailToLoadWithError:(NSError * _Nonnull)error; +- (void)shippingAddressViewControllerDidCancel:(STPShippingAddressViewController * _Nonnull)addressViewController; +- (void)shippingAddressViewController:(STPShippingAddressViewController * _Nonnull)addressViewController didEnterAddress:(STPAddress * _Nonnull)address completion:(void (^ _Nonnull)(enum STPShippingStatus, NSError * _Nullable, NSArray * _Nullable, PKShippingMethod * _Nullable))completion; +- (void)shippingAddressViewController:(STPShippingAddressViewController * _Nonnull)addressViewController didFinishWithAddress:(STPAddress * _Nonnull)address shippingMethod:(PKShippingMethod * _Nullable)method; +- (UIViewController * _Nonnull)authenticationPresentingViewController SWIFT_WARN_UNUSED_RESULT; +- (void)prepareAuthenticationContextForPresentation:(void (^ _Nonnull)(void))completion; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@class STPPaymentResult; + +/// Implement STPPaymentContextDelegate to get notified when a payment context changes, finishes, encounters errors, etc. In practice, if your app has a “checkout screen view controller”, that is a good candidate to implement this protocol. +SWIFT_PROTOCOL("_TtP6Stripe25STPPaymentContextDelegate_") +@protocol STPPaymentContextDelegate +/// Called when the payment context encounters an error when fetching its initial set of data. A few ways to handle this are: +///
    +///
  • +/// If you’re showing the user a checkout page, dismiss the checkout page when this is called and present the error to the user. +///
  • +///
  • +/// Present the error to the user using a UIAlertController with two buttons: Retry and Cancel. If they cancel, dismiss your UI. If they Retry, call retryLoading on the payment context. +/// To make it harder to get your UI into a bad state, this won’t be called until the context’s hostViewController has finished appearing. +///
  • +///
+/// \param paymentContext the payment context that encountered the error +/// +/// \param error the error that was encountered +/// +- (void)paymentContext:(STPPaymentContext * _Nonnull)paymentContext didFailToLoadWithError:(NSError * _Nonnull)error; +/// This is called every time the contents of the payment context change. When this is called, you should update your app’s UI to reflect the current state of the payment context. For example, if you have a checkout page with a “selected payment method” row, you should update its payment method with paymentContext.selectedPaymentOption.label. If that checkout page has a “buy” button, you should enable/disable it depending on the result of paymentContext.isReadyForPayment. +/// \param paymentContext the payment context that changed +/// +- (void)paymentContextDidChange:(STPPaymentContext * _Nonnull)paymentContext; +/// Inside this method, you should make a call to your backend API to make a PaymentIntent with that Customer + payment method, and invoke the completion block when that is done. +/// \param paymentContext The context that succeeded +/// +/// \param paymentResult Information associated with the payment that you can pass to your server. You should go to your backend API with this payment result and use the PaymentIntent API to complete the payment. See https://stripe.com/docs/mobile/ios/standard#submit-payment-intents. Once that’s done call the completion block with any error that occurred (or none, if the payment succeeded). - seealso: STPPaymentResult.h +/// +/// \param completion Call this block when you’re done creating a payment intent (or subscription, etc) on your backend. If it succeeded, call completion(STPPaymentStatusSuccess, nil). If it failed with an error, call completion(STPPaymentStatusError, error). If the user canceled, call completion(STPPaymentStatusUserCancellation, nil). +/// +- (void)paymentContext:(STPPaymentContext * _Nonnull)paymentContext didCreatePaymentResult:(STPPaymentResult * _Nonnull)paymentResult completion:(void (^ _Nonnull)(enum STPPaymentStatus, NSError * _Nullable))completion; +/// This is invoked by an STPPaymentContext when it is finished. This will be called after the payment is done and all necessary UI has been dismissed. You should inspect the returned status and behave appropriately. For example: if it’s STPPaymentStatusSuccess, show the user a receipt. If it’s STPPaymentStatusError, inform the user of the error. If it’s STPPaymentStatusUserCancellation, do nothing. +/// \param paymentContext The payment context that finished +/// +/// \param status The status of the payment - STPPaymentStatusSuccess if it succeeded, STPPaymentStatusError if it failed with an error (in which case the error parameter will be non-nil), STPPaymentStatusUserCancellation if the user canceled the payment. +/// +/// \param error An error that occurred, if any. +/// +- (void)paymentContext:(STPPaymentContext * _Nonnull)paymentContext didFinishWith:(enum STPPaymentStatus)status error:(NSError * _Nullable)error; +@optional +/// Inside this method, you should verify that you can ship to the given address. +/// You should call the completion block with the results of your validation +/// and the available shipping methods for the given address. If you don’t implement +/// this method, the user won’t be prompted to select a shipping method and all +/// addresses will be valid. If you call the completion block with nil or an +/// empty array of shipping methods, the user won’t be prompted to select a +/// shipping method. +/// @note If a user updates their shipping address within the Apple Pay dialog, +/// this address will be anonymized. For example, in the US, it will only include the +/// city, state, and zip code. The payment context will have the user’s complete +/// shipping address by the time paymentContext:didFinishWithStatus:error is +/// called. +/// \param paymentContext The context that updated its shipping address +/// +/// \param address The current shipping address +/// +/// \param completion Call this block when you’re done validating the shipping +/// address and calculating available shipping methods. If you call the completion +/// block with nil or an empty array of shipping methods, the user won’t be prompted +/// to select a shipping method. +/// +- (void)paymentContext:(STPPaymentContext * _Nonnull)paymentContext didUpdateShippingAddress:(STPAddress * _Nonnull)address completion:(void (^ _Nonnull)(enum STPShippingStatus, NSError * _Nullable, NSArray * _Nullable, PKShippingMethod * _Nullable))completion; +@end + +@class STPThreeDSCustomizationSettings; +@class STPPaymentIntentParams; +enum STPPaymentHandlerActionStatus : NSInteger; +@class STPPaymentIntent; +@class STPSetupIntentConfirmParams; +@class STPSetupIntent; + +/// STPPaymentHandler is a utility class that confirms PaymentIntents/SetupIntents and handles any authentication required, such as 3DS1/3DS2 for Strong Customer Authentication. +/// It can present authentication UI on top of your app or redirect users out of your app (to e.g. their banking app). +/// seealso: +/// https://stripe.com/docs/mobile/ios/authentication +SWIFT_CLASS("_TtC6Stripe17STPPaymentHandler") SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable) SWIFT_AVAILABILITY(ios_app_extension,unavailable) +@interface STPPaymentHandler : NSObject +/// The error domain for errors in STPPaymentHandler. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull errorDomain;) ++ (NSString * _Nonnull)errorDomain SWIFT_WARN_UNUSED_RESULT; +/// The globally shared instance of STPPaymentHandler. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPPaymentHandler * _Nonnull sharedHandler;) ++ (STPPaymentHandler * _Nonnull)sharedHandler SWIFT_WARN_UNUSED_RESULT; +/// The globally shared instance of STPPaymentHandler. ++ (STPPaymentHandler * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; +/// By default sharedHandler initializes with STPAPIClient.shared. +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +/// Customizable settings to use when performing 3DS2 authentication. +/// Note: Configure this before calling any methods. +/// Defaults to STPThreeDSCustomizationSettings(). +@property (nonatomic, strong) STPThreeDSCustomizationSettings * _Nonnull threeDSCustomizationSettings; +/// When this flag is enabled, STPPaymentHandler will confirm certain PaymentMethods using +/// Safari instead of SFSafariViewController. If you’d like to use this in your own +/// testing or Continuous Integration platform, please see the IntegrationTester app +/// for usage examples. +/// Note: This flag is only intended for development, and only impacts payments made with testmode keys. +/// Setting this to true with a livemode key will fail. +@property (nonatomic) BOOL simulateAppToAppRedirect; +/// Confirms the PaymentIntent with the provided parameters and handles any nextAction required +/// to authenticate the PaymentIntent. +/// Call this method if you are using automatic confirmation. - seealso: https://stripe.com/docs/payments/payment-intents/ios +/// \param paymentParams The params used to confirm the PaymentIntent. Note that this method overrides the value of paymentParams.useStripeSDK to @YES. +/// +/// \param authenticationContext The authentication context used to authenticate the payment. +/// +/// \param completion The completion block. If the status returned is STPPaymentHandlerActionStatusSucceeded, the PaymentIntent status is not necessarily STPPaymentIntentStatusSucceeded (e.g. some bank payment methods take days before the PaymentIntent succeeds). +/// +- (void)confirmPayment:(STPPaymentIntentParams * _Nonnull)paymentParams withAuthenticationContext:(id _Nonnull)authenticationContext completion:(void (^ _Nonnull)(enum STPPaymentHandlerActionStatus, STPPaymentIntent * _Nullable, NSError * _Nullable))completion; +/// Handles any nextAction required to authenticate the PaymentIntent. +/// Call this method if you are using manual confirmation. - seealso: https://stripe.com/docs/payments/payment-intents/ios +/// \param paymentIntentClientSecret The client secret of the PaymentIntent to handle next actions for. +/// +/// \param authenticationContext The authentication context used to authenticate the payment. +/// +/// \param returnURL An optional URL to redirect your customer back to after they authenticate or cancel in a webview. This should match the returnURL you specified during PaymentIntent confirmation. +/// +/// \param completion The completion block. If the status returned is STPPaymentHandlerActionStatusSucceeded, the PaymentIntent status will always be either STPPaymentIntentStatusSucceeded, or STPPaymentIntentStatusRequiresConfirmation, or STPPaymentIntentStatusRequiresCapture if you are using manual capture. In the latter two cases, confirm or capture the PaymentIntent on your backend to complete the payment. +/// +- (void)handleNextActionForPayment:(NSString * _Nonnull)paymentIntentClientSecret withAuthenticationContext:(id _Nonnull)authenticationContext returnURL:(NSString * _Nullable)returnURL completion:(void (^ _Nonnull)(enum STPPaymentHandlerActionStatus, STPPaymentIntent * _Nullable, NSError * _Nullable))completion; +/// Confirms the SetupIntent with the provided parameters and handles any nextAction required +/// to authenticate the SetupIntent. +/// seealso: +/// https://stripe.com/docs/payments/cards/saving-cards#saving-card-without-payment +/// \param setupIntentConfirmParams The params used to confirm the SetupIntent. Note that this method overrides the value of setupIntentConfirmParams.useStripeSDK to @YES. +/// +/// \param authenticationContext The authentication context used to authenticate the SetupIntent. +/// +/// \param completion The completion block. If the status returned is STPPaymentHandlerActionStatusSucceeded, the SetupIntent status will always be STPSetupIntentStatusSucceeded. +/// +- (void)confirmSetupIntent:(STPSetupIntentConfirmParams * _Nonnull)setupIntentConfirmParams withAuthenticationContext:(id _Nonnull)authenticationContext completion:(void (^ _Nonnull)(enum STPPaymentHandlerActionStatus, STPSetupIntent * _Nullable, NSError * _Nullable))completion; +/// Handles any nextAction required to authenticate the SetupIntent. +/// Call this method if you are confirming the SetupIntent on your backend and get a status of requires_action. +/// \param setupIntentClientSecret The client secret of the SetupIntent to handle next actions for. +/// +/// \param authenticationContext The authentication context used to authenticate the SetupIntent. +/// +/// \param returnURL An optional URL to redirect your customer back to after they authenticate or cancel in a webview. This should match the returnURL you specified during SetupIntent confirmation. +/// +/// \param completion The completion block. If the status returned is STPPaymentHandlerActionStatusSucceeded, the SetupIntent status will always be STPSetupIntentStatusSucceeded. +/// +- (void)handleNextActionForSetupIntent:(NSString * _Nonnull)setupIntentClientSecret withAuthenticationContext:(id _Nonnull)authenticationContext returnURL:(NSString * _Nullable)returnURL completion:(void (^ _Nonnull)(enum STPPaymentHandlerActionStatus, STPSetupIntent * _Nullable, NSError * _Nullable))completion; +/// :nodoc: +- (void)safariViewControllerDidFinish:(SFSafariViewController * _Nonnull)controller; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable) SWIFT_AVAILABILITY(ios_app_extension,unavailable) +@interface STPPaymentHandler (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (BOOL)handleURLCallback:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; +@end + + +/// STPPaymentHandlerActionStatus represents the possible outcomes of requesting an action by STPPaymentHandler. An action could be confirming and/or handling the next action for a PaymentIntent. +typedef SWIFT_ENUM(NSInteger, STPPaymentHandlerActionStatus, open) { +/// The action succeeded. + STPPaymentHandlerActionStatusSucceeded = 0, +/// The action was cancelled by the cardholder/user. + STPPaymentHandlerActionStatusCanceled = 1, +/// The action failed. See the error code for more details. + STPPaymentHandlerActionStatusFailed = 2, +}; + +/// Error codes generated by STPPaymentHandler +typedef SWIFT_ENUM(NSInteger, STPPaymentHandlerErrorCode, open) { +/// Indicates that the action requires an authentication method not recognized or supported by the SDK. + STPPaymentHandlerUnsupportedAuthenticationErrorCode SWIFT_COMPILE_NAME("unsupportedAuthenticationErrorCode") = 0, +/// Indicates that the action requires an authentication app, but either the app is not installed or the request to switch to the app was denied. + STPPaymentHandlerRequiredAppNotAvailableErrorCode SWIFT_COMPILE_NAME("requiredAppNotAvailable") = 1, +/// Attach a payment method to the PaymentIntent or SetupIntent before using STPPaymentHandler. + STPPaymentHandlerRequiresPaymentMethodErrorCode SWIFT_COMPILE_NAME("requiresPaymentMethodErrorCode") = 2, +/// The PaymentIntent or SetupIntent status cannot be resolved by STPPaymentHandler. + STPPaymentHandlerIntentStatusErrorCode SWIFT_COMPILE_NAME("intentStatusErrorCode") = 3, +/// The action timed out. + STPPaymentHandlerTimedOutErrorCode SWIFT_COMPILE_NAME("timedOutErrorCode") = 4, +/// There was an error in the Stripe3DS2 SDK. + STPPaymentHandlerStripe3DS2ErrorCode SWIFT_COMPILE_NAME("stripe3DS2ErrorCode") = 5, +/// The transaction did not authenticate (e.g. user entered the wrong code). + STPPaymentHandlerNotAuthenticatedErrorCode SWIFT_COMPILE_NAME("notAuthenticatedErrorCode") = 6, +/// STPPaymentHandler does not support concurrent actions. + STPPaymentHandlerNoConcurrentActionsErrorCode SWIFT_COMPILE_NAME("noConcurrentActionsErrorCode") = 7, +/// Payment requires a valid STPAuthenticationContext. Make sure your presentingViewController isn’t already presenting. + STPPaymentHandlerRequiresAuthenticationContextErrorCode SWIFT_COMPILE_NAME("requiresAuthenticationContextErrorCode") = 8, +/// There was an error confirming the Intent. +/// Inspect the paymentIntent.lastPaymentError or setupIntent.lastSetupError property. + STPPaymentHandlerPaymentErrorCode SWIFT_COMPILE_NAME("paymentErrorCode") = 9, +/// The provided PaymentIntent of SetupIntent client secret does not match the expected pattern for client secrets. +/// Make sure that your server is returning the correct value and that is being passed to STPPaymentHandler. + STPPaymentHandlerInvalidClientSecret SWIFT_COMPILE_NAME("invalidClientSecret") = 10, +}; + +enum STPPaymentIntentCaptureMethod : NSInteger; +enum STPPaymentIntentConfirmationMethod : NSInteger; +enum STPPaymentIntentStatus : NSInteger; +enum STPPaymentIntentSetupFutureUsage : NSInteger; +@class STPPaymentIntentLastPaymentError; +@class STPPaymentIntentShippingDetails; + +/// A PaymentIntent tracks the process of collecting a payment from your customer. +/// seealso: +/// https://stripe.com/docs/api#payment_intents +/// seealso: +/// https://stripe.com/docs/payments/dynamic-authentication +SWIFT_CLASS("_TtC6Stripe16STPPaymentIntent") +@interface STPPaymentIntent : NSObject +/// The Stripe ID of the PaymentIntent. +@property (nonatomic, readonly, copy) NSString * _Nonnull stripeId; +/// The client secret used to fetch this PaymentIntent +@property (nonatomic, readonly, copy) NSString * _Nonnull clientSecret; +/// Amount intended to be collected by this PaymentIntent. +@property (nonatomic, readonly) NSInteger amount; +/// If status is .canceled, when the PaymentIntent was canceled. +@property (nonatomic, readonly, copy) NSDate * _Nullable canceledAt; +/// Capture method of this PaymentIntent +@property (nonatomic, readonly) enum STPPaymentIntentCaptureMethod captureMethod; +/// Confirmation method of this PaymentIntent +@property (nonatomic, readonly) enum STPPaymentIntentConfirmationMethod confirmationMethod; +/// When the PaymentIntent was created. +@property (nonatomic, readonly, copy) NSDate * _Nonnull created; +/// The currency associated with the PaymentIntent. +@property (nonatomic, readonly, copy) NSString * _Nonnull currency; +/// The description field of the PaymentIntent. +/// An arbitrary string attached to the object. Often useful for displaying to users. +@property (nonatomic, readonly, copy) NSString * _Nullable stripeDescription; +/// Whether or not this PaymentIntent was created in livemode. +@property (nonatomic, readonly) BOOL livemode; +/// If status == .requiresAction, this +/// property contains the next action to take for this PaymentIntent. +@property (nonatomic, readonly, strong) STPIntentAction * _Nullable nextAction; +/// Email address that the receipt for the resulting payment will be sent to. +@property (nonatomic, readonly, copy) NSString * _Nullable receiptEmail; +/// The Stripe ID of the Source used in this PaymentIntent. +@property (nonatomic, readonly, copy) NSString * _Nullable sourceId; +/// The Stripe ID of the PaymentMethod used in this PaymentIntent. +@property (nonatomic, readonly, copy) NSString * _Nullable paymentMethodId; +/// Status of the PaymentIntent +@property (nonatomic, readonly) enum STPPaymentIntentStatus status; +/// The list of payment method types (e.g. [NSNumber(value: STPPaymentMethodType.card.rawValue)]) that this PaymentIntent is allowed to use. +@property (nonatomic, readonly, copy) NSArray * _Nonnull paymentMethodTypes; +/// When provided, this property indicates how you intend to use the payment method that your customer provides after the current payment completes. If applicable, additional authentication may be performed to comply with regional legislation or network rules required to enable the usage of the same payment method for additional payments. +/// Use on_session if you intend to only reuse the payment method when the customer is in your checkout flow. Use off_session if your customer may or may not be in your checkout flow. +@property (nonatomic, readonly) enum STPPaymentIntentSetupFutureUsage setupFutureUsage; +/// The payment error encountered in the previous PaymentIntent confirmation. +@property (nonatomic, readonly, strong) STPPaymentIntentLastPaymentError * _Nullable lastPaymentError; +/// Shipping information for this PaymentIntent. +@property (nonatomic, readonly, strong) STPPaymentIntentShippingDetails * _Nullable shipping; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +@interface STPPaymentIntent (SWIFT_EXTENSION(Stripe)) +/// If status == STPPaymentIntentStatusRequiresAction, this +/// property contains the next source action to take for this PaymentIntent. +/// @deprecated Use nextAction instead +@property (nonatomic, readonly, strong) STPIntentAction * _Nullable nextSourceAction SWIFT_DEPRECATED_MSG("Use nextAction instead", "nextAction"); +@end + + +@interface STPPaymentIntent (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Action details for an STPPaymentIntent. This is a container for +/// the various types that are available. Check the type to see which one +/// it is, and then use the related property for the details necessary to handle it. +/// @deprecated Use STPIntentAction instead. +SWIFT_CLASS("_TtC6Stripe22STPPaymentIntentAction") SWIFT_DEPRECATED_MSG("Use `STPIntentAction` instead.", "_TtC6Stripe15STPIntentAction") +@interface STPPaymentIntentAction : STPIntentAction +@end + + +/// Contains instructions for authenticating a payment by redirecting your customer to another page or application. +/// @deprecated Use STPIntentActionRedirectToURL instead. +SWIFT_CLASS("_TtC6Stripe35STPPaymentIntentActionRedirectToURL") SWIFT_UNAVAILABLE_MSG("'STPPaymentIntentActionRedirectToURL' has been renamed to '_TtC6Stripe28STPIntentActionRedirectToURL': Use `STPIntentActionRedirectToURL` instead.") +@interface STPPaymentIntentActionRedirectToURL : STPIntentActionRedirectToURL +@end + +/// Types of Actions from a STPPaymentIntent, when the payment intent +/// status is STPPaymentIntentStatusRequiresAction. +typedef SWIFT_ENUM(NSInteger, STPPaymentIntentActionType, open) { +/// This is an unknown action, that’s been added since the SDK +/// was last updated. +/// Update your SDK, or use the nextAction.allResponseFields +/// for custom handling. + STPPaymentIntentActionTypeUnknown = 0, +/// The payment intent needs to be authorized by the user. We provide +/// STPRedirectContext to handle the url redirections necessary. + STPPaymentIntentActionTypeRedirectToURL = 1, +}; + +/// Capture methods for a STPPaymentIntent +typedef SWIFT_ENUM(NSInteger, STPPaymentIntentCaptureMethod, open) { +/// Unknown capture method + STPPaymentIntentCaptureMethodUnknown = 0, +/// The PaymentIntent will be automatically captured + STPPaymentIntentCaptureMethodAutomatic = 1, +/// The PaymentIntent must be manually captured once it has the status +/// STPPaymentIntentStatusRequiresCapture + STPPaymentIntentCaptureMethodManual = 2, +}; + +/// Confirmation methods for a STPPaymentIntent +typedef SWIFT_ENUM(NSInteger, STPPaymentIntentConfirmationMethod, open) { +/// Unknown confirmation method + STPPaymentIntentConfirmationMethodUnknown = 0, +/// Confirmed via publishable key + STPPaymentIntentConfirmationMethodManual = 1, +/// Confirmed via secret key + STPPaymentIntentConfirmationMethodAutomatic = 2, +}; + +enum STPPaymentIntentLastPaymentErrorType : NSInteger; + +/// A value for code indicating the provided payment method failed authentication./// The payment error encountered in the previous PaymentIntent confirmation. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/object#payment_intent_object-last_payment_error +SWIFT_CLASS("_TtC6Stripe32STPPaymentIntentLastPaymentError") +@interface STPPaymentIntentLastPaymentError : NSObject +/// A value for code indicating the provided payment method failed authentication. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull ErrorCodeAuthenticationFailure;) ++ (NSString * _Nonnull)ErrorCodeAuthenticationFailure SWIFT_WARN_UNUSED_RESULT; +/// For some errors that could be handled programmatically, a short string indicating the error code reported. +/// seealso: +/// https://stripe.com/docs/error-codes +@property (nonatomic, readonly, copy) NSString * _Nullable code; +/// For card (STPPaymentIntentLastPaymentErrorType.card) errors resulting from a card issuer decline, +/// a short string indicating the card issuer’s reason for the decline if they provide one. +/// seealso: +/// https://stripe.com/docs/declines#issuer-declines +@property (nonatomic, readonly, copy) NSString * _Nullable declineCode; +/// A URL to more information about the error code reported. +/// seealso: +/// https://stripe.com/docs/error-codes +@property (nonatomic, readonly, copy) NSString * _Nullable docURL; +/// A human-readable message providing more details about the error. +/// For card (STPPaymentIntentLastPaymentErrorType.card) errors, these messages can be shown to your users. +@property (nonatomic, readonly, copy) NSString * _Nullable message; +/// If the error is parameter-specific, the parameter related to the error. +/// For example, you can use this to display a message near the correct form field. +@property (nonatomic, readonly, copy) NSString * _Nullable param; +/// The PaymentMethod object for errors returned on a request involving a PaymentMethod. +@property (nonatomic, readonly, strong) STPPaymentMethod * _Nullable paymentMethod; +/// The type of error. +@property (nonatomic, readonly) enum STPPaymentIntentLastPaymentErrorType type; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPPaymentIntentLastPaymentError (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// The type of the error represented by STPPaymentIntentLastPaymentError. +/// Some STPPaymentIntentLastPaymentError properties are only populated for certain error types. +typedef SWIFT_ENUM(NSInteger, STPPaymentIntentLastPaymentErrorType, open) { +/// An unknown error type. + STPPaymentIntentLastPaymentErrorTypeUnknown = 0, +/// An error connecting to Stripe’s API. + STPPaymentIntentLastPaymentErrorTypeAPIConnection SWIFT_COMPILE_NAME("apiConnection") = 1, +/// An error with the Stripe API. + STPPaymentIntentLastPaymentErrorTypeAPI SWIFT_COMPILE_NAME("api") = 2, +/// A failure to authenticate your customer. + STPPaymentIntentLastPaymentErrorTypeAuthentication = 3, +/// Card errors are the most common type of error you should expect to handle. +/// They result when the user enters a card that can’t be charged for some reason. +/// Check the declineCode property for the decline code. The message property contains a message you can show to your users. + STPPaymentIntentLastPaymentErrorTypeCard = 4, +/// Keys for idempotent requests can only be used with the same parameters they were first used with. + STPPaymentIntentLastPaymentErrorTypeIdempotency = 5, +/// Invalid request errors. Typically, this is because your request has invalid parameters. + STPPaymentIntentLastPaymentErrorTypeInvalidRequest = 6, +/// Too many requests hit the API too quickly. + STPPaymentIntentLastPaymentErrorTypeRateLimit = 7, +}; + +@class STPSourceParams; +@class STPPaymentIntentShippingDetailsParams; + +/// An object representing parameters used to confirm a PaymentIntent object. +/// A PaymentIntent must have a PaymentMethod or Source associated in order to successfully confirm it. +/// That PaymentMethod or Source can either be: +/// seealso: +/// https://stripe.com/docs/api#confirm_payment_intent +///
    +///
  • +/// created during confirmation, by passing in a STPPaymentMethodParams or STPSourceParams object in the paymentMethodParams or sourceParams field +///
  • +///
  • +/// a pre-existing PaymentMethod or Source can be associated by passing its id in the paymentMethodId or sourceId field +///
  • +///
  • +/// or already set via your backend, either when creating or updating the PaymentIntent +///
  • +///
+SWIFT_CLASS("_TtC6Stripe22STPPaymentIntentParams") +@interface STPPaymentIntentParams : NSObject +/// Initialize this STPPaymentIntentParams with a clientSecret, which is the only required +/// field. +/// \param clientSecret the client secret for this PaymentIntent +/// +- (nonnull instancetype)initWithClientSecret:(NSString * _Nonnull)clientSecret OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// The Stripe id of the PaymentIntent, extracted from the clientSecret. +@property (nonatomic, readonly, copy) NSString * _Nullable stripeId; +/// The client secret of the PaymentIntent. Required +@property (nonatomic, copy) NSString * _Nonnull clientSecret; +/// Provide a supported STPPaymentMethodParams object, and Stripe will create a +/// PaymentMethod during PaymentIntent confirmation. +/// @note alternative to paymentMethodId +@property (nonatomic, strong) STPPaymentMethodParams * _Nullable paymentMethodParams; +/// Provide an already created PaymentMethod’s id, and it will be used to confirm the PaymentIntent. +/// @note alternative to paymentMethodParams +@property (nonatomic, copy) NSString * _Nullable paymentMethodId; +/// Provide a supported STPSourceParams object into here, and Stripe will create a Source +/// during PaymentIntent confirmation. +/// @note alternative to sourceId +@property (nonatomic, strong) STPSourceParams * _Nullable sourceParams; +/// Provide an already created Source’s id, and it will be used to confirm the PaymentIntent. +/// @note alternative to sourceParams +@property (nonatomic, copy) NSString * _Nullable sourceId; +/// Email address that the receipt for the resulting payment will be sent to. +@property (nonatomic, copy) NSString * _Nullable receiptEmail; +/// @YES to save this PaymentIntent’s PaymentMethod or Source to the associated Customer, +/// if the PaymentMethod/Source is not already attached. +/// This should be a boolean NSNumber, so that it can be nil +@property (nonatomic, strong) NSNumber * _Nullable savePaymentMethod; +/// The URL to redirect your customer back to after they authenticate or cancel +/// their payment on the payment method’s app or site. +/// This should probably be a URL that opens your iOS app. +@property (nonatomic, copy) NSString * _Nullable returnURL; +/// When provided, this property indicates how you intend to use the payment method that your customer provides after the current payment completes. +/// If applicable, additional authentication may be performed to comply with regional legislation or network rules required to enable the usage of the same payment method for additional payments. +/// This property should only be used in Objective-C. In Swift, use setupFutureUsage. +/// seealso: +/// STPPaymentIntentSetupFutureUsage for more details on what values you can provide. +@property (nonatomic, strong) NSNumber * _Nullable setupFutureUsage; +/// A boolean number to indicate whether you intend to use the Stripe SDK’s functionality to handle any PaymentIntent next actions. +/// If set to false, STPPaymentIntent.nextAction will only ever contain a redirect url that can be opened in a webview or mobile browser. +/// When set to true, the nextAction may contain information that the Stripe SDK can use to perform native authentication within your +/// app. +@property (nonatomic, strong) NSNumber * _Nullable useStripeSDK; +/// Details about the Mandate to create. +/// @note If this value is null and the (self.paymentMethod.type == STPPaymentMethodTypeSEPADebit | | self.paymentMethodParams.type == STPPaymentMethodTypeAUBECSDebit || self.paymentMethodParams.type == STPPaymentMethodTypeBacsDebit) && self.mandate == nil`, the SDK will set this to an internal value indicating that the mandate data should be inferred from the current context. +@property (nonatomic, strong) STPMandateDataParams * _Nullable mandateData; +/// Options to update the associated PaymentMethod during confirmation. +/// seealso: +/// STPConfirmPaymentMethodOptions +@property (nonatomic, strong) STPConfirmPaymentMethodOptions * _Nullable paymentMethodOptions; +/// Shipping information. +@property (nonatomic, strong) STPPaymentIntentShippingDetailsParams * _Nullable shipping; +/// The URL to redirect your customer back to after they authenticate or cancel +/// their payment on the payment method’s app or site. +/// This property has been renamed to returnURL and deprecated. +@property (nonatomic, copy) NSString * _Nullable returnUrl SWIFT_DEPRECATED_MSG("", "returnURL"); +/// @YES to save this PaymentIntent’s Source to the associated Customer, +/// if the Source is not already attached. +/// This should be a boolean NSNumber, so that it can be nil +/// This property has been renamed to savePaymentMethod and deprecated. +@property (nonatomic, strong) NSNumber * _Nullable saveSourceToCustomer SWIFT_DEPRECATED_MSG("", "savePaymentMethod"); +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Provide an STPPaymentResult from STPPaymentContext, and this will populate +/// the proper field (either paymentMethodId or paymentMethodParams) for your PaymentMethod. +- (void)configureWith:(STPPaymentResult * _Nonnull)paymentResult; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +@end + + +@interface STPPaymentIntentParams (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface STPPaymentIntentParams (SWIFT_EXTENSION(Stripe)) ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +@end + +/// Indicates how you intend to use the payment method that your customer provides after the current payment completes. +/// If applicable, additional authentication may be performed to comply with regional legislation or network rules required to enable the usage of the same payment method for additional payments. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/object#payment_intent_object-setup_future_usage +typedef SWIFT_ENUM(NSInteger, STPPaymentIntentSetupFutureUsage, open) { +/// Unknown value. Update your SDK, or use allResponseFields for custom handling. + STPPaymentIntentSetupFutureUsageUnknown = 0, +/// No value was provided. + STPPaymentIntentSetupFutureUsageNone = 1, +/// Indicates you intend to only reuse the payment method when the customer is in your checkout flow. + STPPaymentIntentSetupFutureUsageOnSession = 2, +/// Indicates you intend to reuse the payment method when the customer may or may not be in your checkout flow. + STPPaymentIntentSetupFutureUsageOffSession = 3, +}; + +@class STPPaymentIntentShippingDetailsAddress; + +/// Shipping information for a PaymentIntent +/// You cannot directly instantiate an STPPaymentIntentShippingDetails. +/// You should only use one that is part of an existing STPPaymentMethod object. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/object#payment_intent_object-shipping +SWIFT_CLASS("_TtC6Stripe31STPPaymentIntentShippingDetails") +@interface STPPaymentIntentShippingDetails : NSObject +/// Shipping address. +@property (nonatomic, readonly, strong) STPPaymentIntentShippingDetailsAddress * _Nullable address; +/// Recipient name. +@property (nonatomic, readonly, copy) NSString * _Nullable name; +/// The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc. +@property (nonatomic, readonly, copy) NSString * _Nullable carrier; +/// Recipient phone (including extension). +@property (nonatomic, readonly, copy) NSString * _Nullable phone; +/// The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas. +@property (nonatomic, readonly, copy) NSString * _Nullable trackingNumber; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPPaymentIntentShippingDetails (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Shipping address for a PaymentIntent’s shipping details. +/// You cannot directly instantiate an STPPaymentIntentShippingDetailsAddress. +/// You should only use one that is part of an existing STPPaymentMethod object. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/object#payment_intent_object-shipping +SWIFT_CLASS("_TtC6Stripe38STPPaymentIntentShippingDetailsAddress") +@interface STPPaymentIntentShippingDetailsAddress : NSObject +/// City/District/Suburb/Town/Village. +@property (nonatomic, readonly, copy) NSString * _Nullable city; +/// Two-letter country code (ISO 3166-1 alpha-2). +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// Address line 1 (Street address/PO Box/Company name). +@property (nonatomic, readonly, copy) NSString * _Nullable line1; +/// Address line 2 (Apartment/Suite/Unit/Building). +@property (nonatomic, readonly, copy) NSString * _Nullable line2; +/// ZIP or postal code. +@property (nonatomic, readonly, copy) NSString * _Nullable postalCode; +/// State/County/Province/Region. +@property (nonatomic, readonly, copy) NSString * _Nullable state; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPPaymentIntentShippingDetailsAddress (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Shipping address for a PaymentIntent’s shipping details. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-shipping-address +SWIFT_CLASS("_TtC6Stripe44STPPaymentIntentShippingDetailsAddressParams") +@interface STPPaymentIntentShippingDetailsAddressParams : NSObject +/// City/District/Suburb/Town/Village. +@property (nonatomic, copy) NSString * _Nullable city; +/// Two-letter country code (ISO 3166-1 alpha-2). +@property (nonatomic, copy) NSString * _Nullable country; +/// Address line 1 (Street address/PO Box/Company name). +@property (nonatomic, copy) NSString * _Nonnull line1; +/// Address line 2 (Apartment/Suite/Unit/Building). +@property (nonatomic, copy) NSString * _Nullable line2; +/// ZIP or postal code. +@property (nonatomic, copy) NSString * _Nullable postalCode; +/// State/County/Province/Region. +@property (nonatomic, copy) NSString * _Nullable state; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initialize an STPPaymentIntentShippingDetailsAddressParams instance with required properties. +- (nonnull instancetype)initWithLine1:(NSString * _Nonnull)line1 OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPPaymentIntentShippingDetailsAddressParams (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface STPPaymentIntentShippingDetailsAddressParams (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Shipping information for a PaymentIntent +/// seealso: +/// https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-shipping +SWIFT_CLASS("_TtC6Stripe37STPPaymentIntentShippingDetailsParams") +@interface STPPaymentIntentShippingDetailsParams : NSObject +/// Shipping address. +@property (nonatomic, strong) STPPaymentIntentShippingDetailsAddressParams * _Nonnull address; +/// Recipient name. +@property (nonatomic, copy) NSString * _Nonnull name; +/// The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc. +@property (nonatomic, copy) NSString * _Nullable carrier; +/// Recipient phone (including extension). +@property (nonatomic, copy) NSString * _Nullable phone; +/// The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas. +@property (nonatomic, copy) NSString * _Nullable trackingNumber; +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initialize an STPPaymentIntentShippingDetailsParams with required properties. +- (nonnull instancetype)initWithAddress:(STPPaymentIntentShippingDetailsAddressParams * _Nonnull)address name:(NSString * _Nonnull)name OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPPaymentIntentShippingDetailsParams (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface STPPaymentIntentShippingDetailsParams (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Source Action details for an STPPaymentIntent. This is a container for +/// the various types that are available. Check the type to see which one +/// it is, and then use the related property for the details necessary to handle +/// it. +/// @deprecated Use STPIntentAction instead. +SWIFT_CLASS("_TtC6Stripe28STPPaymentIntentSourceAction") SWIFT_UNAVAILABLE_MSG("'STPPaymentIntentSourceAction' has been renamed to '_TtC6Stripe15STPIntentAction': Use `STPIntentAction` instead.") +@interface STPPaymentIntentSourceAction : STPIntentAction +@end + + +/// The STPPaymentIntentSourceAction details when type is STPPaymentIntentSourceActionTypeAuthorizeWithURL. +/// These are created & owned by the containing STPPaymentIntent. +/// @deprecated Use STPIntentActionRedirectToURL instead. +SWIFT_CLASS("_TtC6Stripe44STPPaymentIntentSourceActionAuthorizeWithURL") SWIFT_UNAVAILABLE_MSG("'STPPaymentIntentSourceActionAuthorizeWithURL' has been renamed to '_TtC6Stripe28STPIntentActionRedirectToURL': Use `STPIntentActionRedirectToURL` instead.") +@interface STPPaymentIntentSourceActionAuthorizeWithURL : STPIntentActionRedirectToURL +@end + +/// Types of Source Actions from a STPPaymentIntent, when the payment intent +/// status is STPPaymentIntentStatusRequiresSourceAction. +/// @deprecated UseSTPPaymentIntentActionType instead. +typedef SWIFT_ENUM(NSInteger, STPPaymentIntentSourceActionType, open) { +/// This is an unknown source action, that’s been added since the SDK +/// was last updated. +/// Update your SDK, or use the nextSourceAction.allResponseFields +/// for custom handling. + STPPaymentIntentSourceActionTypeUnknown = 0, +/// The payment intent needs to be authorized by the user. We provide +/// STPRedirectContext to handle the url redirections necessary. + STPPaymentIntentSourceActionTypeAuthorizeWithURL = 1, +}; + +/// Status types for an STPPaymentIntent +typedef SWIFT_ENUM(NSInteger, STPPaymentIntentStatus, open) { +/// Unknown status + STPPaymentIntentStatusUnknown = 0, +/// This PaymentIntent requires a PaymentMethod or Source + STPPaymentIntentStatusRequiresPaymentMethod = 1, +/// This PaymentIntent requires a Source +/// Deprecated: Use STPPaymentIntentStatusRequiresPaymentMethod instead. + STPPaymentIntentStatusRequiresSource = 2, +/// This PaymentIntent needs to be confirmed + STPPaymentIntentStatusRequiresConfirmation = 3, +/// The selected PaymentMethod or Source requires additional authentication steps. +/// Additional actions found via next_action + STPPaymentIntentStatusRequiresAction = 4, +/// The selected Source requires additional authentication steps. +/// Additional actions found via next_source_action +/// Deprecated: Use STPPaymentIntentStatusRequiresAction instead. + STPPaymentIntentStatusRequiresSourceAction = 5, +/// Stripe is processing this PaymentIntent + STPPaymentIntentStatusProcessing = 6, +/// The payment has succeeded + STPPaymentIntentStatusSucceeded = 7, +/// Indicates the payment must be captured, for STPPaymentIntentCaptureMethodManual + STPPaymentIntentStatusRequiresCapture = 8, +/// This PaymentIntent was canceled and cannot be changed. + STPPaymentIntentStatusCanceled = 9, +}; + +enum STPPaymentMethodType : NSInteger; +@class STPPaymentMethodAlipay; +@class STPPaymentMethodGrabPay; +@class STPPaymentMethodCard; +@class STPPaymentMethodiDEAL; +@class STPPaymentMethodFPX; +@class STPPaymentMethodCardPresent; +@class STPPaymentMethodSEPADebit; +@class STPPaymentMethodBacsDebit; +@class STPPaymentMethodAUBECSDebit; +@class STPPaymentMethodGiropay; +@class STPPaymentMethodEPS; +@class STPPaymentMethodPrzelewy24; +@class STPPaymentMethodBancontact; +@class STPPaymentMethodNetBanking; +@class STPPaymentMethodOXXO; +@class STPPaymentMethodSofort; +@class STPPaymentMethodUPI; +@class STPPaymentMethodPayPal; +@class STPPaymentMethodAfterpayClearpay; +@class STPPaymentMethodBLIK; +@class STPPaymentMethodBoleto; +@class STPPaymentMethodLink; +@class STPPaymentMethodKlarna; + +/// PaymentMethod objects represent your customer’s payment instruments. They can be used with PaymentIntents to collect payments. +/// seealso: +/// https://stripe.com/docs/api/payment_methods +SWIFT_CLASS("_TtC6Stripe16STPPaymentMethod") +@interface STPPaymentMethod : NSObject +/// Unique identifier for the object. +@property (nonatomic, readonly, copy) NSString * _Nonnull stripeId; +/// Time at which the object was created. Measured in seconds since the Unix epoch. +@property (nonatomic, readonly, copy) NSDate * _Nullable created; +/// YES if the object exists in live mode or the value NO if the object exists in test mode. +@property (nonatomic, readonly) BOOL liveMode; +/// The type of the PaymentMethod. The corresponding, similarly named property contains additional information specific to the PaymentMethod type. +/// e.g. if the type is STPPaymentMethodTypeCard, the card property is also populated. +@property (nonatomic, readonly) enum STPPaymentMethodType type; +/// Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods. +@property (nonatomic, readonly, strong) STPPaymentMethodBillingDetails * _Nullable billingDetails; +/// If this is an Alipay PaymentMethod (ie self.type == STPPaymentMethodTypeAlipay), this contains additional detailsl +@property (nonatomic, readonly, strong) STPPaymentMethodAlipay * _Nullable alipay; +/// If this is a GrabPay PaymentMethod (ie self.type == STPPaymentMethodTypeGrabPay), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodGrabPay * _Nullable grabPay; +/// If this is a card PaymentMethod (ie self.type == STPPaymentMethodTypeCard), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodCard * _Nullable card; +/// If this is a iDEAL PaymentMethod (ie self.type == STPPaymentMethodTypeiDEAL), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodiDEAL * _Nullable iDEAL; +/// If this is an FPX PaymentMethod (ie self.type == STPPaymentMethodTypeFPX), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodFPX * _Nullable fpx; +/// If this is a card present PaymentMethod (ie self.type == STPPaymentMethodTypeCardPresent), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodCardPresent * _Nullable cardPresent; +/// If this is a SEPA Debit PaymentMethod (ie self.type == STPPaymentMethodTypeSEPADebit), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodSEPADebit * _Nullable sepaDebit; +/// If this is a Bacs Debit PaymentMethod (ie self.type == STPPaymentMethodTypeBacsDebit), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodBacsDebit * _Nullable bacsDebit; +/// If this is an AU BECS Debit PaymentMethod (i.e. self.type == STPPaymentMethodTypeAUBECSDebit), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodAUBECSDebit * _Nullable auBECSDebit; +/// If this is a giropay PaymentMethod (i.e. self.type == STPPaymentMethodTypeGiropay), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodGiropay * _Nullable giropay; +/// If this is an EPS PaymentMethod (i.e. self.type == STPPaymentMethodTypeEPS), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodEPS * _Nullable eps; +/// If this is a Przelewy24 PaymentMethod (i.e. self.type == STPPaymentMethodTypePrzelewy24), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodPrzelewy24 * _Nullable przelewy24; +/// If this is a Bancontact PaymentMethod (i.e. self.type == STPPaymentMethodTypeBancontact), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodBancontact * _Nullable bancontact; +/// If this is a NetBanking PaymentMethod (i.e. self.type == STPPaymentMethodTypeNetBanking), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodNetBanking * _Nullable netBanking; +/// If this is an OXXO PaymentMethod (i.e. self.type == STPPaymentMethodTypeOXXO), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodOXXO * _Nullable oxxo; +/// If this is a Sofort PaymentMethod (i.e. self.type == STPPaymentMethodTypeSofort), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodSofort * _Nullable sofort; +/// If this is a UPI PaymentMethod (i.e. self.type == STPPaymentMethodTypeUPI), this contains additional details. :nodoc: +@property (nonatomic, readonly, strong) STPPaymentMethodUPI * _Nullable upi; +/// If this is a PayPal PaymentMethod (i.e. self.type == STPPaymentMethodTypePayPal), this contains additional details. :nodoc: +@property (nonatomic, readonly, strong) STPPaymentMethodPayPal * _Nullable payPal; +/// If this is an AfterpayClearpay PaymentMethod (i.e. self.type == STPPaymentMethodTypeAfterpayClearpay), this contains additional details. :nodoc: +@property (nonatomic, readonly, strong) STPPaymentMethodAfterpayClearpay * _Nullable afterpayClearpay; +/// If this is a BLIK PaymentMethod (i.e. self.type == STPPaymentMethodTypeBLIK), this contains additional details. :nodoc: +@property (nonatomic, readonly, strong) STPPaymentMethodBLIK * _Nullable blik; +/// If this is an Boleto PaymentMethod (i.e. self.type == STPPaymentMethodTypeBoleto), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodBoleto * _Nullable boleto; +/// If this is a Link PaymentMethod (i.e. self.type == STPPaymentMethodTypeLink), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodLink * _Nullable link; +/// If this is an Boleto PaymentMethod (i.e. self.type == STPPaymentMethodTypeKlarna), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodKlarna * _Nullable klarna; +/// The ID of the Customer to which this PaymentMethod is saved. Nil when the PaymentMethod has not been saved to a Customer. +@property (nonatomic, readonly, copy) NSString * _Nullable customerId; +/// Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. +/// @deprecated Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead. +/// seealso: +/// https://stripe.com/docs/api#metadata +@property (nonatomic, readonly, copy) NSDictionary * _Nullable metadata SWIFT_DEPRECATED_MSG("Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead."); +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, strong) UIImage * _Nonnull image; +@property (nonatomic, readonly, strong) UIImage * _Nonnull templateImage; +@property (nonatomic, readonly, copy) NSString * _Nonnull label; +@property (nonatomic, readonly) BOOL isReusable; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + + + +/// An AU BECS Debit Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-au_becs_debit +SWIFT_CLASS("_TtC6Stripe27STPPaymentMethodAUBECSDebit") +@interface STPPaymentMethodAUBECSDebit : NSObject +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// Six-digit number identifying bank and branch associated with this bank account. +@property (nonatomic, readonly, copy) NSString * _Nonnull bsbNumber; +/// Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. +@property (nonatomic, readonly, copy) NSString * _Nonnull fingerprint; +/// Last four digits of the bank account number. +@property (nonatomic, readonly, copy) NSString * _Nonnull last4; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create an AU BECS Debit Payment Method +SWIFT_CLASS("_TtC6Stripe33STPPaymentMethodAUBECSDebitParams") +@interface STPPaymentMethodAUBECSDebitParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// The account number to debit. +@property (nonatomic, copy) NSString * _Nullable accountNumber; +/// Six-digit number identifying bank and branch associated with this bank account. +@property (nonatomic, copy) NSString * _Nullable bsbNumber; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// The billing address, a property on STPPaymentMethodBillingDetails +SWIFT_CLASS("_TtC6Stripe23STPPaymentMethodAddress") +@interface STPPaymentMethodAddress : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// City/District/Suburb/Town/Village. +@property (nonatomic, copy) NSString * _Nullable city; +/// 2-letter country code. +@property (nonatomic, copy) NSString * _Nullable country; +/// Address line 1 (Street address/PO Box/Company name). +@property (nonatomic, copy) NSString * _Nullable line1; +/// Address line 2 (Apartment/Suite/Unit/Building). +@property (nonatomic, copy) NSString * _Nullable line2; +/// ZIP or postal code. +@property (nonatomic, copy) NSString * _Nullable postalCode; +/// State/County/Province/Region. +@property (nonatomic, copy) NSString * _Nullable state; +/// Convenience initializer for creating a STPPaymentMethodAddress from an STPAddress. +- (nonnull instancetype)initWithAddress:(STPAddress * _Nonnull)address OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + + +/// An AfterpayClearpay Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-afterpay_clearpay +SWIFT_CLASS("_TtC6Stripe32STPPaymentMethodAfterpayClearpay") +@interface STPPaymentMethodAfterpayClearpay : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create an AfterpayClearpay Payment Method +SWIFT_CLASS("_TtC6Stripe38STPPaymentMethodAfterpayClearpayParams") +@interface STPPaymentMethodAfterpayClearpayParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// Contains details for an Alipay Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-alipay +SWIFT_CLASS("_TtC6Stripe22STPPaymentMethodAlipay") +@interface STPPaymentMethodAlipay : NSObject +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// :nodoc: ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create an Alipay Payment Method. +/// There are currently no parameters to pass. +/// seealso: +/// https://site-admin.stripe.com/docs/api/payment_methods/create#create_payment_method-alipay +SWIFT_CLASS("_TtC6Stripe28STPPaymentMethodAlipayParams") +@interface STPPaymentMethodAlipayParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// Contains details for a BLIK Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-blik +SWIFT_CLASS("_TtC6Stripe20STPPaymentMethodBLIK") +@interface STPPaymentMethodBLIK : NSObject +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// :nodoc: ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a BLIK Payment Method +/// There are currently no parameters to pass. +/// seealso: +/// https://site-admin.stripe.com/docs/api/payment_methods/create#create_payment_method-blik +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodBLIKParams") +@interface STPPaymentMethodBLIKParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A Bacs Debit Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-bacs_debit +SWIFT_CLASS("_TtC6Stripe25STPPaymentMethodBacsDebit") +@interface STPPaymentMethodBacsDebit : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// This payment method’s fingerprint. +@property (nonatomic, readonly, copy) NSString * _Nullable fingerprint; +/// The last four digits of the bank account. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// The sort code of the bank account (eg 10-88-00) +@property (nonatomic, readonly, copy) NSString * _Nullable sortCode; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// The user’s bank account details. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/create#create_payment_method-bacs_debit +SWIFT_CLASS("_TtC6Stripe31STPPaymentMethodBacsDebitParams") +@interface STPPaymentMethodBacsDebitParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// The bank account number (eg 00012345) +@property (nonatomic, copy) NSString * _Nullable accountNumber; +/// The sort code of the bank account (eg 10-88-00) +@property (nonatomic, copy) NSString * _Nullable sortCode; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A Bancontact Payment Method. +/// seealso: +/// https://stripe.com/docs/payments/bancontact +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodBancontact") +@interface STPPaymentMethodBancontact : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a Bancontact Payment Method +SWIFT_CLASS("_TtC6Stripe32STPPaymentMethodBancontactParams") +@interface STPPaymentMethodBancontactParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// Billing information associated with a STPPaymentMethod that may be used or required by particular types of payment methods. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-billing_details +SWIFT_CLASS("_TtC6Stripe30STPPaymentMethodBillingDetails") +@interface STPPaymentMethodBillingDetails : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Billing address. +@property (nonatomic, strong) STPPaymentMethodAddress * _Nullable address; +/// Email address. +@property (nonatomic, copy) NSString * _Nullable email; +/// Full name. +@property (nonatomic, copy) NSString * _Nullable name; +/// Billing phone number (including extension). +@property (nonatomic, copy) NSString * _Nullable phone; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// :nodoc: +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + + + +/// A Boleto Payment Method. +/// seealso: +/// https://stripe.com/docs/payments/boleto +SWIFT_CLASS("_TtC6Stripe22STPPaymentMethodBoleto") +@interface STPPaymentMethodBoleto : NSObject +/// The tax ID of the customer (CPF for individuals or CNPJ for businesses). +@property (nonatomic, readonly, copy) NSString * _Nonnull taxID; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a Boleto Payment Method +SWIFT_CLASS("_TtC6Stripe28STPPaymentMethodBoletoParams") +@interface STPPaymentMethodBoletoParams : NSObject +/// The tax ID of the customer (CPF for individuals or CNPJ for businesses). +/// Supported formats: +///
    +///
  • +/// XXX.XXX.XXX-XX or XXXXXXXXXXX for CPF +///
  • +///
  • +/// XX.XXX.XXX/XXXX-XX or XXXXXXXXXXXXXX for CNPJ +///
  • +///
+@property (nonatomic, copy) NSString * _Nullable taxID; +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class STPPaymentMethodCardChecks; +@class STPPaymentMethodCardNetworks; +@class STPPaymentMethodThreeDSecureUsage; +@class STPPaymentMethodCardWallet; + +/// Contains details about a user’s credit card. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-card +SWIFT_CLASS("_TtC6Stripe20STPPaymentMethodCard") +@interface STPPaymentMethodCard : NSObject +/// You cannot directly instantiate an STPPaymentMethodCard. You should only use one that is part of an existing STPPaymentMethod object. +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// The issuer of the card. +@property (nonatomic, readonly) enum STPCardBrand brand; +/// Checks on Card address and CVC if provided. +@property (nonatomic, readonly, strong) STPPaymentMethodCardChecks * _Nullable checks; +/// Two-letter ISO code representing the country of the card. +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// Two-digit number representing the card’s expiration month. +@property (nonatomic, readonly) NSInteger expMonth; +/// Four-digit number representing the card’s expiration year. +@property (nonatomic, readonly) NSInteger expYear; +/// Card funding type. Can be credit, debit, prepaid, or unknown. +@property (nonatomic, readonly, copy) NSString * _Nullable funding; +/// The last four digits of the card. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. +@property (nonatomic, readonly, copy) NSString * _Nullable fingerprint; +/// Contains information about card networks that can be used to process the payment. +@property (nonatomic, readonly, strong) STPPaymentMethodCardNetworks * _Nullable networks; +/// Contains details on how this Card maybe be used for 3D Secure authentication. +@property (nonatomic, readonly, strong) STPPaymentMethodThreeDSecureUsage * _Nullable threeDSecureUsage; +/// If this Card is part of a Card Wallet, this contains the details of the Card Wallet. +@property (nonatomic, readonly, strong) STPPaymentMethodCardWallet * _Nullable wallet; +/// Returns a string representation for the provided card brand; +/// i.e. STPPaymentMethodCard.string(from brand:.visa) == "Visa". +/// \param brand the brand you want to convert to a string +/// +/// +/// returns: +/// A string representing the brand, suitable for displaying to a user. ++ (NSString * _Nonnull)stringFromBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// The result of a check on a Card address or CVC. +typedef SWIFT_ENUM(NSInteger, STPPaymentMethodCardCheckResult, open) { +/// The check passed. + STPPaymentMethodCardCheckResultPass = 0, +/// The check failed. + STPPaymentMethodCardCheckResultFailed = 1, +/// The check is unavailable. + STPPaymentMethodCardCheckResultUnavailable = 2, +/// The value was not checked. + STPPaymentMethodCardCheckResultUnchecked = 3, +/// Represents an unknown or null value. + STPPaymentMethodCardCheckResultUnknown = 4, +}; + + +/// Checks on Card address and CVC. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-checks +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodCardChecks") +@interface STPPaymentMethodCardChecks : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// If a address line1 was provided, results of the check. +@property (nonatomic, readonly) enum STPPaymentMethodCardCheckResult addressLine1Check SWIFT_DEPRECATED_MSG("Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead."); +/// If a address postal code was provided, results of the check. +/// deprecated Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead. +@property (nonatomic, readonly) enum STPPaymentMethodCardCheckResult addressPostalCodeCheck SWIFT_DEPRECATED_MSG("Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead."); +/// If a CVC was provided, results of the check. +/// deprecated Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead. +@property (nonatomic, readonly) enum STPPaymentMethodCardCheckResult cvcCheck SWIFT_DEPRECATED_MSG("Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead."); +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// STPPaymentMethodCardNetworks contains information about card networks that can be used to process a payment. +SWIFT_CLASS("_TtC6Stripe28STPPaymentMethodCardNetworks") +@interface STPPaymentMethodCardNetworks : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// All available networks for the card. +@property (nonatomic, readonly, copy) NSArray * _Nonnull available; +/// The preferred network for the card if one exists. +@property (nonatomic, readonly, copy) NSString * _Nullable preferred; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// The user’s card details. +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodCardParams") +@interface STPPaymentMethodCardParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// A convenience initializer for creating a payment method from a card source. +/// This should be used to help with migrations to Payment Methods from Sources. +- (nonnull instancetype)initWithCardSourceParams:(STPCardParams * _Nonnull)cardSourceParams; +/// Initializes an empty STPPaymentMethodCardParams. +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +/// The card number, as a string without any separators. Ex. @“4242424242424242” +@property (nonatomic, copy) NSString * _Nullable number; +/// Number representing the card’s expiration month. Ex. @1 +@property (nonatomic, strong) NSNumber * _Nullable expMonth; +/// Two- or four-digit number representing the card’s expiration year. +@property (nonatomic, strong) NSNumber * _Nullable expYear; +/// For backwards compatibility, you can alternatively set this as a Stripe token (e.g., for apple pay) +@property (nonatomic, copy) NSString * _Nullable token; +/// Card security code. It is highly recommended to always include this value. +@property (nonatomic, copy) NSString * _Nullable cvc; +/// The last 4 digits of the card. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (BOOL)isEqual:(id _Nullable)other SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Details about the Card Present payment method +SWIFT_CLASS("_TtC6Stripe27STPPaymentMethodCardPresent") +@interface STPPaymentMethodCardPresent : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +enum STPPaymentMethodCardWalletType : NSInteger; +@class STPPaymentMethodCardWalletMasterpass; +@class STPPaymentMethodCardWalletVisaCheckout; + +/// A Card Wallet. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-wallet +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodCardWallet") +@interface STPPaymentMethodCardWallet : NSObject +/// The type of the Card Wallet. A matching property is populated if the type is STPPaymentMethodCardWalletTypeMasterpass or STPPaymentMethodCardWalletTypeVisaCheckout containing additional information specific to the Card Wallet type. +@property (nonatomic, readonly) enum STPPaymentMethodCardWalletType type; +/// Contains additional Masterpass information, if the type of the Card Wallet is STPPaymentMethodCardWalletTypeMasterpass +@property (nonatomic, readonly, strong) STPPaymentMethodCardWalletMasterpass * _Nullable masterpass; +/// Contains additional Visa Checkout information, if the type of the Card Wallet is STPPaymentMethodCardWalletTypeVisaCheckout +@property (nonatomic, readonly, strong) STPPaymentMethodCardWalletVisaCheckout * _Nullable visaCheckout; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + + +/// A Masterpass Card Wallet +/// seealso: +/// https://stripe.com/docs/masterpass +SWIFT_CLASS("_TtC6Stripe36STPPaymentMethodCardWalletMasterpass") +@interface STPPaymentMethodCardWalletMasterpass : NSObject +/// Owner’s verified email. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, copy) NSString * _Nullable email; +/// Owner’s verified email. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, copy) NSString * _Nullable name; +/// Owner’s verified billing address. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, strong) STPPaymentMethodAddress * _Nullable billingAddress; +/// Owner’s verified shipping address. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, strong) STPPaymentMethodAddress * _Nullable shippingAddress; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// The type of Card Wallet. +typedef SWIFT_ENUM(NSInteger, STPPaymentMethodCardWalletType, open) { +/// Amex Express Checkout + STPPaymentMethodCardWalletTypeAmexExpressCheckout = 0, +/// Apple Pay + STPPaymentMethodCardWalletTypeApplePay = 1, +/// Google Pay + STPPaymentMethodCardWalletTypeGooglePay = 2, +/// Masterpass + STPPaymentMethodCardWalletTypeMasterpass = 3, +/// Samsung Pay + STPPaymentMethodCardWalletTypeSamsungPay = 4, +/// Visa Checkout + STPPaymentMethodCardWalletTypeVisaCheckout = 5, +/// An unknown Card Wallet type. + STPPaymentMethodCardWalletTypeUnknown = 6, +}; + + +/// A Visa Checkout Card Wallet +/// seealso: +/// https://stripe.com/docs/visa-checkout +SWIFT_CLASS("_TtC6Stripe38STPPaymentMethodCardWalletVisaCheckout") +@interface STPPaymentMethodCardWalletVisaCheckout : NSObject +/// Owner’s verified email. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, copy) NSString * _Nullable email; +/// Owner’s verified email. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, copy) NSString * _Nullable name; +/// Owner’s verified billing address. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, strong) STPPaymentMethodAddress * _Nullable billingAddress; +/// Owner’s verified shipping address. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, strong) STPPaymentMethodAddress * _Nullable shippingAddress; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An EPS Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-eps +SWIFT_CLASS("_TtC6Stripe19STPPaymentMethodEPS") +@interface STPPaymentMethodEPS : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a EPS Payment Method +SWIFT_CLASS("_TtC6Stripe25STPPaymentMethodEPSParams") +@interface STPPaymentMethodEPSParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// An FPX Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-fpx +SWIFT_CLASS("_TtC6Stripe19STPPaymentMethodFPX") +@interface STPPaymentMethodFPX : NSObject +/// The customer’s bank identifier code. +@property (nonatomic, readonly, copy) NSString * _Nullable bankIdentifierCode; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An object representing parameters used to create an FPX Payment Method +SWIFT_CLASS("_TtC6Stripe25STPPaymentMethodFPXParams") +@interface STPPaymentMethodFPXParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// The customer’s bank. Required. +@property (nonatomic) enum STPFPXBankBrand bank; +/// The raw underlying bank string sent to the server. +/// Generally you should use bank instead unless you have a reason not to. +/// You can use this if you want to create a param of a bank not yet supported +/// by the current version of the SDK’s STPFPXBankBrand enum. +/// Setting this to a value not known by the SDK causes bank to +/// return STPFPXBankBrandUnknown +@property (nonatomic, copy) NSString * _Nullable rawBankString; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A giropay Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-giropay +SWIFT_CLASS("_TtC6Stripe23STPPaymentMethodGiropay") +@interface STPPaymentMethodGiropay : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a giropay Payment Method +SWIFT_CLASS("_TtC6Stripe29STPPaymentMethodGiropayParams") +@interface STPPaymentMethodGiropayParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A GrabPay PaymentMethod +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-grabpay +SWIFT_CLASS("_TtC6Stripe23STPPaymentMethodGrabPay") +@interface STPPaymentMethodGrabPay : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a GrabPay Payment Method +SWIFT_CLASS("_TtC6Stripe29STPPaymentMethodGrabPayParams") +@interface STPPaymentMethodGrabPayParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// The Klarna Payment Method. +/// seealso: +/// https://stripe.com/docs/payments/klarna +SWIFT_CLASS("_TtC6Stripe22STPPaymentMethodKlarna") +@interface STPPaymentMethodKlarna : NSObject +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create an Klarna Payment Method +SWIFT_CLASS("_TtC6Stripe28STPPaymentMethodKlarnaParams") +@interface STPPaymentMethodKlarnaParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A Link Payment Method. +SWIFT_CLASS("_TtC6Stripe20STPPaymentMethodLink") +@interface STPPaymentMethodLink : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create an Link Payment Method +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodLinkParams") +@interface STPPaymentMethodLinkParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A NetBanking Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-netbanking +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodNetBanking") +@interface STPPaymentMethodNetBanking : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// Customer’s Bank Name +@property (nonatomic, readonly, copy) NSString * _Nonnull bank; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a NetBanking Payment Method +SWIFT_CLASS("_TtC6Stripe32STPPaymentMethodNetBankingParams") +@interface STPPaymentMethodNetBankingParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Customer’s Bank Name. Required. +@property (nonatomic, copy) NSString * _Nullable bank; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// An OXXO Payment Method. +/// seealso: +/// https://stripe.com/docs/payments/oxxo +SWIFT_CLASS("_TtC6Stripe20STPPaymentMethodOXXO") +@interface STPPaymentMethodOXXO : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An object representing parameters used to create an OXXO Payment Method +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodOXXOParams") +@interface STPPaymentMethodOXXOParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class STPPaymentMethodiDEALParams; +@class STPPaymentMethodSEPADebitParams; +@class STPPaymentMethodPayPalParams; +@class STPPaymentMethodPrzelewy24Params; +@class STPPaymentMethodSofortParams; +@class STPPaymentMethodUPIParams; + +/// An object representing parameters used to create a PaymentMethod object. +/// @note To create a PaymentMethod from an Apple Pay PKPaymentToken, see STPAPIClient createPaymentMethodWithPayment:completion: +/// seealso: +/// https://stripe.com/docs/api/payment_methods/create +SWIFT_CLASS("_TtC6Stripe22STPPaymentMethodParams") +@interface STPPaymentMethodParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// The type of payment method. The associated property will contain additional information (e.g. type == STPPaymentMethodTypeCard means card should also be populated). +@property (nonatomic) enum STPPaymentMethodType type; +/// The raw underlying type string sent to the server. +/// Generally you should use type instead unless you have a reason not to. +/// You can use this if you want to create a param of a type not yet supported +/// by the current version of the SDK’s STPPaymentMethodType enum. +/// Setting this to a value not known by the SDK causes type to +/// return STPPaymentMethodTypeUnknown +@property (nonatomic, copy) NSString * _Nullable rawTypeString; +/// Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods. +@property (nonatomic, strong) STPPaymentMethodBillingDetails * _Nullable billingDetails; +/// If this is a card PaymentMethod, this contains the user’s card details. +@property (nonatomic, strong) STPPaymentMethodCardParams * _Nullable card; +/// If this is an Alipay PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodAlipayParams * _Nullable alipay; +/// If this is a iDEAL PaymentMethod, this contains details about user’s bank. +@property (nonatomic, strong) STPPaymentMethodiDEALParams * _Nullable iDEAL; +/// If this is a FPX PaymentMethod, this contains details about user’s bank. +@property (nonatomic, strong) STPPaymentMethodFPXParams * _Nullable fpx; +/// If this is a SEPA Debit PaymentMethod, this contains details about the bank to debit. +@property (nonatomic, strong) STPPaymentMethodSEPADebitParams * _Nullable sepaDebit; +/// If this is a Bacs Debit PaymentMethod, this contains details about the bank account to debit. +@property (nonatomic, strong) STPPaymentMethodBacsDebitParams * _Nullable bacsDebit; +/// If this is an AU BECS Debit PaymentMethod, this contains details about the bank to debit. +@property (nonatomic, strong) STPPaymentMethodAUBECSDebitParams * _Nullable auBECSDebit; +/// If this is a giropay PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodGiropayParams * _Nullable giropay; +/// If this is a PayPal PaymentMethod, this contains additional details. :nodoc: +@property (nonatomic, strong) STPPaymentMethodPayPalParams * _Nullable payPal; +/// If this is a Przelewy24 PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodPrzelewy24Params * _Nullable przelewy24; +/// If this is an EPS PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodEPSParams * _Nullable eps; +/// If this is a Bancontact PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodBancontactParams * _Nullable bancontact; +/// If this is a NetBanking PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodNetBankingParams * _Nullable netBanking; +/// If this is an OXXO PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodOXXOParams * _Nullable oxxo; +/// If this is a Sofort PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodSofortParams * _Nullable sofort; +/// If this is a UPI PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodUPIParams * _Nullable upi; +/// If this is a GrabPay PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodGrabPayParams * _Nullable grabPay; +/// If this is a Afterpay PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodAfterpayClearpayParams * _Nullable afterpayClearpay; +/// If this is a BLIK PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodBLIKParams * _Nullable blik; +/// If this is an Boleto PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodBoletoParams * _Nullable boleto; +/// If this is a Link PaymentMethod, this contains additional details +@property (nonatomic, strong) STPPaymentMethodLinkParams * _Nullable link; +/// If this is an Klarna PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodKlarnaParams * _Nullable klarna; +/// Set of key-value pairs that you can attach to the PaymentMethod. This can be useful for storing additional information about the PaymentMethod in a structured format. +@property (nonatomic, copy) NSDictionary * _Nullable metadata; +/// Creates params for a card PaymentMethod. +/// \param card An object containing the user’s card details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithCard:(STPPaymentMethodCardParams * _Nonnull)card billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an iDEAL PaymentMethod. +/// \param iDEAL An object containing the user’s iDEAL bank details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithIDEAL:(STPPaymentMethodiDEALParams * _Nonnull)iDEAL billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an FPX PaymentMethod. +/// \param fpx An object containing the user’s FPX bank details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithFpx:(STPPaymentMethodFPXParams * _Nonnull)fpx billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a SEPA Debit PaymentMethod; +/// \param sepaDebit An object containing the SEPA bank debit details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for SEPA Debit PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithSepaDebit:(STPPaymentMethodSEPADebitParams * _Nonnull)sepaDebit billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a Bacs Debit PaymentMethod; +/// \param bacsDebit An object containing the Bacs bank debit details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that name, email, and address are required for Bacs Debit PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithBacsDebit:(STPPaymentMethodBacsDebitParams * _Nonnull)bacsDebit billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an AU BECS Debit PaymentMethod; +/// \param auBECSDebit An object containing the AU BECS bank debit details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name and billingDetails.email are required for AU BECS Debit PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithAubecsDebit:(STPPaymentMethodAUBECSDebitParams * _Nonnull)auBECSDebit billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a giropay PaymentMethod; +/// \param giropay An object containing additional giropay details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for giropay PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithGiropay:(STPPaymentMethodGiropayParams * _Nonnull)giropay billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an EPS PaymentMethod; +/// \param eps An object containing additional EPS details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for EPS PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithEps:(STPPaymentMethodEPSParams * _Nonnull)eps billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a Przelewy24 PaymentMethod; +/// \param przelewy24 An object containing additional Przelewy24 details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.email is required for Przelewy24 PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithPrzelewy24:(STPPaymentMethodPrzelewy24Params * _Nonnull)przelewy24 billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a Bancontact PaymentMethod; +/// \param bancontact An object containing additional Bancontact details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for Bancontact PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithBancontact:(STPPaymentMethodBancontactParams * _Nonnull)bancontact billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a NetBanking PaymentMethod; +/// \param netBanking An object containing additional NetBanking details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithNetBanking:(STPPaymentMethodNetBankingParams * _Nonnull)netBanking billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a GrabPay PaymentMethod; +/// \param grabPay An object containing additional GrabPay details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithGrabPay:(STPPaymentMethodGrabPayParams * _Nonnull)grabPay billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an OXXO PaymentMethod; +/// \param oxxo An object containing additional OXXO details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithOxxo:(STPPaymentMethodOXXOParams * _Nonnull)oxxo billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a Sofort PaymentMethod; +/// \param sofort An object containing additional Sofort details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name and billingDetails.email are required to save bank details from a Sofort payment. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithSofort:(STPPaymentMethodSofortParams * _Nonnull)sofort billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a UPI PaymentMethod; +/// \param upi An object containing additional UPI details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithUpi:(STPPaymentMethodUPIParams * _Nonnull)upi billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an Alipay PaymentMethod. +/// \param alipay An object containing additional Alipay details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithAlipay:(STPPaymentMethodAlipayParams * _Nonnull)alipay billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a PayPal PaymentMethod. :nodoc: +/// \param payPal An object containing additional PayPal details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithPayPal:(STPPaymentMethodPayPalParams * _Nonnull)payPal billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an AfterpayClearpay PaymentMethod. :nodoc: +/// \param afterpayClearpay An object containing additional AfterpayClearpay details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithAfterpayClearpay:(STPPaymentMethodAfterpayClearpayParams * _Nonnull)afterpayClearpay billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a BLIK PaymentMethod. +/// \param blik An object containing additional BLIK details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithBlik:(STPPaymentMethodBLIKParams * _Nonnull)blik billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an Boleto PaymentMethod; +/// \param boleto An object containing additional Boleto details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithBoleto:(STPPaymentMethodBoletoParams * _Nonnull)boleto billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an Klarna PaymentMethod. :nodoc: +/// \param klarna An object containing additional Klarna details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithKlarna:(STPPaymentMethodKlarnaParams * _Nonnull)klarna billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params from a single-use PaymentMethod. This is useful for recreating a new payment method +/// with similar settings. It will return nil if used with a reusable PaymentMethod. +/// \param paymentMethod An object containing the original single-use PaymentMethod. +/// +- (nullable instancetype)initWithSingleUsePaymentMethod:(STPPaymentMethod * _Nonnull)paymentMethod; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, strong) UIImage * _Nonnull image; +@property (nonatomic, readonly, strong) UIImage * _Nonnull templateImage; +@property (nonatomic, readonly, copy) NSString * _Nonnull label; +@property (nonatomic, readonly) BOOL isReusable; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + + + +@interface STPPaymentMethodParams (SWIFT_EXTENSION(Stripe)) +/// Creates params for a card PaymentMethod. +/// \param card An object containing the user’s card details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithCard:(STPPaymentMethodCardParams * _Nonnull)card billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an iDEAL PaymentMethod. +/// \param iDEAL An object containing the user’s iDEAL bank details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithiDEAL:(STPPaymentMethodiDEALParams * _Nonnull)iDEAL billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an FPX PaymentMethod. +/// \param fpx An object containing the user’s FPX bank details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithFPX:(STPPaymentMethodFPXParams * _Nonnull)fpx billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a SEPA Debit PaymentMethod; +/// \param sepaDebit An object containing the SEPA bank debit details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for SEPA Debit PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithSEPADebit:(STPPaymentMethodSEPADebitParams * _Nonnull)sepaDebit billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Bacs Debit PaymentMethod; +/// \param bacsDebit An object containing the Bacs bank debit details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that name, email, and address are required for Bacs Debit PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithBacsDebit:(STPPaymentMethodBacsDebitParams * _Nonnull)bacsDebit billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an AU BECS Debit PaymentMethod; +/// \param auBECSDebit An object containing the AU BECS bank debit details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name and billingDetails.email are required for AU BECS Debit PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithAUBECSDebit:(STPPaymentMethodAUBECSDebitParams * _Nonnull)auBECSDebit billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a giropay PaymentMethod; +/// \param giropay An object containing additional giropay details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for giropay PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithGiropay:(STPPaymentMethodGiropayParams * _Nonnull)giropay billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an EPS PaymentMethod; +/// \param eps An object containing additional EPS details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for EPS PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithEPS:(STPPaymentMethodEPSParams * _Nonnull)eps billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Przelewy24 PaymentMethod; +/// \param przelewy24 An object containing additional Przelewy24 details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.email is required for Przelewy24 PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithPrzelewy24:(STPPaymentMethodPrzelewy24Params * _Nonnull)przelewy24 billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Bancontact PaymentMethod; +/// \param bancontact An object containing additional Bancontact details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for Bancontact PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithBancontact:(STPPaymentMethodBancontactParams * _Nonnull)bancontact billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a NetBanking PaymentMethod; +/// \param netBanking An object containing additional NetBanking details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for Bancontact PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithNetBanking:(STPPaymentMethodNetBankingParams * _Nonnull)netBanking billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an OXXO PaymentMethod; +/// \param oxxo An object containing additional OXXO details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for OXXO PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithOXXO:(STPPaymentMethodOXXOParams * _Nonnull)oxxo billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a GrabPay PaymentMethod; +/// \param grabPay An object containing additional GrabPay details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithGrabPay:(STPPaymentMethodGrabPayParams * _Nonnull)grabPay billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Sofort PaymentMethod; +/// \param sofort An object containing additional Sofort details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name and billingDetails.email are required to save bank details from a Sofort payment. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithSofort:(STPPaymentMethodSofortParams * _Nonnull)sofort billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a UPI PaymentMethod; +/// \param upi An object containing additional UPI details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name and billingDetails.email are required to save bank details from a UPI payment. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithUPI:(STPPaymentMethodUPIParams * _Nonnull)upi billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an Alipay PaymentMethod. +/// \param alipay An object containing additional Alipay details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithAlipay:(STPPaymentMethodAlipayParams * _Nonnull)alipay billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a PayPal PaymentMethod. +/// \param payPal An object containing additional PayPal details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithPayPal:(STPPaymentMethodPayPalParams * _Nonnull)payPal billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an AfterpayClearpay PaymentMethod. +/// \param afterpayClearpay An object containing additional AfterpayClearpay details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithAfterpayClearpay:(STPPaymentMethodAfterpayClearpayParams * _Nonnull)afterpayClearpay billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a BLIK PaymentMethod. +/// \param blik An object containing additional BLIK details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithBLIK:(STPPaymentMethodBLIKParams * _Nonnull)blik billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an Klarna PaymentMethod. +/// \param klarna An object containing additional Klarna details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithKlarna:(STPPaymentMethodKlarnaParams * _Nonnull)klarna billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +@end + + +/// A PayPal Payment Method. :nodoc: +/// seealso: +/// https://stripe.com/docs/payments/paypal +SWIFT_CLASS("_TtC6Stripe22STPPaymentMethodPayPal") +@interface STPPaymentMethodPayPal : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a PayPal Payment Method :nodoc: +SWIFT_CLASS("_TtC6Stripe28STPPaymentMethodPayPalParams") +@interface STPPaymentMethodPayPalParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A Przelewy24 Payment Method. +/// seealso: +/// https://stripe.com/docs/payments/p24 +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodPrzelewy24") +@interface STPPaymentMethodPrzelewy24 : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a Przelewy24 Payment Method +SWIFT_CLASS("_TtC6Stripe32STPPaymentMethodPrzelewy24Params") +@interface STPPaymentMethodPrzelewy24Params : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A SEPA Debit Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-sepa_debit +SWIFT_CLASS("_TtC6Stripe25STPPaymentMethodSEPADebit") +@interface STPPaymentMethodSEPADebit : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// The last 4 digits of the account number. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// The account’s bank code. +@property (nonatomic, readonly, copy) NSString * _Nullable bankCode; +/// The account’s branch code +@property (nonatomic, readonly, copy) NSString * _Nullable branchCode; +/// Two-letter ISO code representing the country of the bank account. +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// The account’s fingerprint. +@property (nonatomic, readonly, copy) NSString * _Nullable fingerprint; +/// The reference of the mandate accepted by your customer. - seealso: https://stripe.com/docs/api/sources/create#create_source-mandate +@property (nonatomic, readonly, copy) NSString * _Nullable mandate; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a SEPA Debit Payment Method +SWIFT_CLASS("_TtC6Stripe31STPPaymentMethodSEPADebitParams") +@interface STPPaymentMethodSEPADebitParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// The IBAN number for the bank account you wish to debit. Required. +@property (nonatomic, copy) NSString * _Nullable iban; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A Sofort Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-Sofort +SWIFT_CLASS("_TtC6Stripe22STPPaymentMethodSofort") +@interface STPPaymentMethodSofort : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// Two-letter ISO code representing the country the bank account is located in. +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a Sofort Payment Method +SWIFT_CLASS("_TtC6Stripe28STPPaymentMethodSofortParams") +@interface STPPaymentMethodSofortParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Two-letter ISO code representing the country the bank account is located in. Required. +@property (nonatomic, copy) NSString * _Nullable country; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// Contains details on how an STPPaymentMethodCard maybe be used for 3D Secure authentication. +SWIFT_CLASS("_TtC6Stripe33STPPaymentMethodThreeDSecureUsage") +@interface STPPaymentMethodThreeDSecureUsage : NSObject +/// YES if 3D Secure is supported on this card. +@property (nonatomic, readonly) BOOL supported; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// The type of the PaymentMethod. +typedef SWIFT_ENUM(NSInteger, STPPaymentMethodType, open) { +/// A card payment method. + STPPaymentMethodTypeCard = 0, +/// An Alipay payment method. + STPPaymentMethodTypeAlipay = 1, +/// A GrabPay payment method. + STPPaymentMethodTypeGrabPay = 2, +/// An iDEAL payment method. + STPPaymentMethodTypeiDEAL SWIFT_COMPILE_NAME("iDEAL") = 3, +/// An FPX payment method. + STPPaymentMethodTypeFPX = 4, +/// A card present payment method. + STPPaymentMethodTypeCardPresent = 5, +/// A SEPA Debit payment method. + STPPaymentMethodTypeSEPADebit SWIFT_COMPILE_NAME("SEPADebit") = 6, +/// An AU BECS Debit payment method. + STPPaymentMethodTypeAUBECSDebit SWIFT_COMPILE_NAME("AUBECSDebit") = 7, +/// A Bacs Debit payment method. + STPPaymentMethodTypeBacsDebit = 8, +/// A giropay payment method. + STPPaymentMethodTypeGiropay = 9, +/// A Przelewy24 Debit payment method. + STPPaymentMethodTypePrzelewy24 = 10, +/// An EPS payment method. + STPPaymentMethodTypeEPS SWIFT_COMPILE_NAME("EPS") = 11, +/// A Bancontact payment method. + STPPaymentMethodTypeBancontact = 12, +/// A NetBanking payment method. + STPPaymentMethodTypeNetBanking = 13, +/// An OXXO payment method. + STPPaymentMethodTypeOXXO SWIFT_COMPILE_NAME("OXXO") = 14, +/// A Sofort payment method. + STPPaymentMethodTypeSofort = 15, +/// A UPI payment method. + STPPaymentMethodTypeUPI = 16, +/// A PayPal payment method. :nodoc: + STPPaymentMethodTypePayPal = 17, +/// An AfterpayClearpay payment method + STPPaymentMethodTypeAfterpayClearpay = 18, +/// A BLIK payment method + STPPaymentMethodTypeBLIK SWIFT_COMPILE_NAME("blik") = 19, +/// A WeChat Pay payment method + STPPaymentMethodTypeWeChatPay = 20, +/// A Boleto payment method. + STPPaymentMethodTypeBoleto = 21, +/// A Link payment method + STPPaymentMethodTypeLink = 22, +/// A Klarna payment method. + STPPaymentMethodTypeKlarna = 23, +/// A Link Instant Debit payment method + STPPaymentMethodTypeLinkInstantDebit = 24, +/// An unknown type. + STPPaymentMethodTypeUnknown = 25, +}; + + +/// A UPI Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-upi +SWIFT_CLASS("_TtC6Stripe19STPPaymentMethodUPI") +@interface STPPaymentMethodUPI : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// Customer’s Virtual Payment Address (VPA). +@property (nonatomic, readonly, copy) NSString * _Nonnull vpa; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a UPI Payment Method +SWIFT_CLASS("_TtC6Stripe25STPPaymentMethodUPIParams") +@interface STPPaymentMethodUPIParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Customer’s Virtual Payment Address (VPA). Required. +@property (nonatomic, copy) NSString * _Nullable vpa; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// An iDEAL Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-ideal +SWIFT_CLASS("_TtC6Stripe21STPPaymentMethodiDEAL") +@interface STPPaymentMethodiDEAL : NSObject +/// The customer’s bank. +@property (nonatomic, readonly, copy) NSString * _Nullable bankName; +/// The Bank Identifier Code of the customer’s bank. +@property (nonatomic, readonly, copy) NSString * _Nullable bankIdentifierCode; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An object representing parameters used to create an iDEAL Payment Method +SWIFT_CLASS("_TtC6Stripe27STPPaymentMethodiDEALParams") +@interface STPPaymentMethodiDEALParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// The customer’s bank. +@property (nonatomic, copy) NSString * _Nullable bankName; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + +/// This view controller presents a list of payment method options to the user, +/// which they can select between. They can also add credit cards to the list. +/// It must be displayed inside a UINavigationController, so you can either +/// create a UINavigationController with an STPPaymentOptionsViewController +/// as the rootViewController and then present the UINavigationController, +/// or push a new STPPaymentOptionsViewController onto an existing +/// UINavigationController’s stack. You can also have STPPaymentContext do this +/// for you automatically, by calling presentPaymentOptionsViewController +/// or pushPaymentOptionsViewController on it. +SWIFT_CLASS("_TtC6Stripe31STPPaymentOptionsViewController") +@interface STPPaymentOptionsViewController : STPCoreViewController +/// Creates a new payment methods view controller. +/// \param paymentContext A payment context to power the view controller’s view. +/// The payment context will in turn use its backend API adapter to fetch the +/// information it needs from your application. +/// +/// +/// returns: +/// an initialized view controller. +- (nonnull instancetype)initWithPaymentContext:(STPPaymentContext * _Nonnull)paymentContext; +/// Initializes a new payment methods view controller without using a +/// payment context. +/// \param configuration The configuration to use to determine what types of +/// payment method to offer your user. - seealso: STPPaymentConfiguration.h +/// +/// \param theme The theme to inform the appearance of the UI. +/// +/// \param customerContext The customer context the view controller will use to +/// fetch and modify its Stripe customer +/// +/// \param delegate A delegate that will be notified when the payment +/// methods view controller’s selection changes. +/// +/// +/// returns: +/// an initialized view controller. +- (nonnull instancetype)initWithConfiguration:(STPPaymentConfiguration * _Nonnull)configuration theme:(STPTheme * _Nonnull)theme customerContext:(STPCustomerContext * _Nonnull)customerContext delegate:(id _Nonnull)delegate; +/// Note: Instead of providing your own backend API adapter, we recommend using +/// STPCustomerContext, which will manage retrieving and updating a +/// Stripe customer for you. - seealso: STPCustomerContext.h +/// Initializes a new payment methods view controller without using +/// a payment context. +/// \param configuration The configuration to use to determine what types of +/// payment method to offer your user. +/// +/// \param theme The theme to inform the appearance of the UI. +/// +/// \param apiAdapter The API adapter to use to retrieve a customer’s stored +/// payment methods and save new ones. +/// +/// \param delegate A delegate that will be notified when the payment methods +/// view controller’s selection changes. +/// +- (nonnull instancetype)initWithConfiguration:(STPPaymentConfiguration * _Nonnull)configuration theme:(STPTheme * _Nonnull)theme apiAdapter:(id _Nonnull)apiAdapter delegate:(id _Nonnull)delegate OBJC_DESIGNATED_INITIALIZER; +/// If you’ve already collected some information from your user, you can set it +/// here and it’ll be automatically filled out when possible/appropriate in any UI +/// that the payment context creates. +@property (nonatomic, strong) STPUserInformation * _Nullable prefilledInformation; +/// @note This is no longer recommended as of v18.3.0 - the SDK automatically saves the Stripe ID of the last selected +/// payment method using NSUserDefaults and displays it as the default pre-selected option. You can override this behavior +/// by setting this property. +/// The Stripe ID of a payment method to display as the default pre-selected option. +/// @note Setting this after the view controller’s view has loaded has no effect. +@property (nonatomic, copy) NSString * _Nullable defaultPaymentMethod; +/// A view that will be placed as the footer of the view controller when it is +/// showing a list of saved payment methods to select from. +/// When the footer view needs to be resized, it will be sent a +/// sizeThatFits: call. The view should respond correctly to this method in order +/// to be sized and positioned properly. +@property (nonatomic, strong) UIView * _Nullable paymentOptionsViewControllerFooterView; +/// A view that will be placed as the footer of the view controller when it is +/// showing the add card view. +/// When the footer view needs to be resized, it will be sent a +/// sizeThatFits: call. The view should respond correctly to this method in order +/// to be sized and positioned properly. +@property (nonatomic, strong) UIView * _Nullable addCardViewControllerFooterView; +/// The STPAPIClient instance to use to make API requests. +/// Defaults to STPAPIClient.shared. +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +/// If you’re pushing STPPaymentOptionsViewController onto an existing +/// UINavigationController‘s stack, you should use this method to dismiss it, +/// since it may have pushed an additional add card view controller onto the +/// navigation controller’s stack. +/// \param completion The callback to run after the view controller is dismissed. +/// You may specify nil for this parameter. +/// +- (void)dismissWithCompletion:(void (^ _Nullable)(void))completion; +/// Use one of the initializers declared in this interface. +- (nonnull instancetype)initWithTheme:(STPTheme * _Nullable)theme OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE_MSG("Use one of the initializers declared in this interface instead."); +/// Use one of the initializers declared in this interface. +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE_MSG("Use one of the initializers declared in this interface instead."); +/// Use one of the initializers declared in this interface. +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE_MSG("Use one of the initializers declared in this interface instead."); +/// :nodoc: +- (void)viewDidLayoutSubviews; +/// :nodoc: +- (void)viewDidAppear:(BOOL)animated; +- (void)addCardViewControllerDidCancel:(STPAddCardViewController * _Nonnull)addCardViewController; +- (void)addCardViewController:(STPAddCardViewController * _Nonnull)addCardViewController didCreatePaymentMethod:(STPPaymentMethod * _Nonnull)paymentMethod completion:(void (^ _Nonnull)(NSError * _Nullable))completion; +@end + + + + +/// When you’re using STPPaymentContext to request your user’s payment details, this is the object that will be returned to your application when they’ve successfully made a payment. +/// See https://stripe.com/docs/mobile/ios/standard#submit-payment-intents. +SWIFT_CLASS("_TtC6Stripe16STPPaymentResult") +@interface STPPaymentResult : NSObject +/// The payment method that the user has selected. This may come from a variety of different payment methods, such as an Apple Pay payment or a stored credit card. - seealso: STPPaymentMethod.h +/// If paymentMethod is nil, paymentMethodParams will be populated instead. +@property (nonatomic, readonly, strong) STPPaymentMethod * _Nullable paymentMethod; +/// The parameters for a payment method that the user has selected. This is +/// populated for non-reusable payment methods, such as FPX and iDEAL. - seealso: STPPaymentMethodParams.h +/// If paymentMethodParams is nil, paymentMethod will be populated instead. +@property (nonatomic, readonly, strong) STPPaymentMethodParams * _Nullable paymentMethodParams; +/// The STPPaymentOption that was used to initialize this STPPaymentResult, either an STPPaymentMethod or an STPPaymentMethodParams. +@property (nonatomic, readonly, weak) id _Nullable paymentOption; +/// Initializes the payment result with a given payment option. This is invoked by STPPaymentContext internally; you shouldn’t have to call it directly. +- (nonnull instancetype)initWithPaymentOption:(id _Nullable)paymentOption OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// An enum representing the status of a payment requested from the user. +typedef SWIFT_ENUM(NSInteger, STPPaymentStatus, open) { +/// The payment succeeded. + STPPaymentStatusSuccess = 0, +/// The payment failed due to an unforeseen error, such as the user’s Internet connection being offline. + STPPaymentStatusError = 1, +/// The user cancelled the payment (for example, by hitting “cancel” in the Apple Pay dialog). + STPPaymentStatusUserCancellation = 2, +}; + +enum STPPinStatus : NSInteger; + +/// STPAPIClient extensions to manage PIN on Stripe Issuing cards +SWIFT_CLASS("_TtC6Stripe23STPPinManagementService") +@interface STPPinManagementService : NSObject +/// The STPAPIClient instance to use to make API requests to Stripe. +/// Defaults to STPAPIClient.shared. +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +/// Create a STPPinManagementService, you must provide an implementation of STPIssuingCardEphemeralKeyProvider +- (nonnull instancetype)initWithKeyProvider:(id _Nonnull)keyProvider OBJC_DESIGNATED_INITIALIZER; +/// Retrieves a PIN number for a given card, +/// this call is asynchronous, implement the completion block to receive the updates +- (void)retrievePin:(NSString * _Nonnull)cardId verificationId:(NSString * _Nonnull)verificationId oneTimeCode:(NSString * _Nonnull)oneTimeCode completion:(void (^ _Nonnull)(STPIssuingCardPin * _Nullable, enum STPPinStatus, NSError * _Nullable))completion; +/// Updates a PIN number for a given card, +/// this call is asynchronous, implement the completion block to receive the updates +- (void)updatePin:(NSString * _Nonnull)cardId newPin:(NSString * _Nonnull)newPin verificationId:(NSString * _Nonnull)verificationId oneTimeCode:(NSString * _Nonnull)oneTimeCode completion:(void (^ _Nonnull)(STPIssuingCardPin * _Nullable, enum STPPinStatus, NSError * _Nullable))completion; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// An enum representing the success and error states of PIN management +typedef SWIFT_ENUM(NSInteger, STPPinStatus, open) { +/// The verification object was already redeemed + STPPinStatusSuccess = 0, +/// The verification object was already redeemed + STPPinStatusErrorVerificationAlreadyRedeemed = 1, +/// The one-time code was incorrect + STPPinStatusErrorVerificationCodeIncorrect = 2, +/// The verification object was expired + STPPinStatusErrorVerificationExpired = 3, +/// The verification object has been attempted too many times + STPPinStatusErrorVerificationTooManyAttempts = 4, +/// An error occured while retrieving the ephemeral key + STPPinStatusEphemeralKeyError = 5, +/// An unknown error occured + STPPinStatusUnknownError = 6, +}; + +@class PKAddPaymentPassViewController; +@class PKAddPaymentPassRequest; + +/// This class makes it easier to implement “Push Provisioning”, the process by which an end-user can add a card to their Apple Pay wallet without having to type their number. This process is mediated by an Apple class called PKAddPaymentPassViewController; this class will help you implement that class’ delegate methods. Note that this flow requires a special entitlement from Apple; for more information please see https://stripe.com/docs/issuing/cards/digital-wallets . +SWIFT_CLASS("_TtC6Stripe26STPPushProvisioningContext") +@interface STPPushProvisioningContext : NSObject +/// The STPAPIClient instance to use to make API requests to Stripe. +/// Defaults to STPAPIClient.shared. +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +/// This is a helper method to generate a PKAddPaymentPassRequestConfiguration that will work with +/// Stripe’s Issuing APIs. Pass the returned configuration object to PKAddPaymentPassViewController’s initWithRequestConfiguration:delegate: initializer. +/// \param name Your cardholder’s name. Example: John Appleseed +/// +/// \param description A localized description of your card’s name. This will appear in Apple’s UI as “{description} will be available in Wallet”. Example: Platinum Rewards Card +/// +/// \param last4 The last 4 of the card to be added to the user’s Apple Pay wallet. Example: 4242 +/// +/// \param brand The brand of the card. Example: STPCardBrandVisa +/// ++ (PKAddPaymentPassRequestConfiguration * _Nonnull)requestConfigurationWithName:(NSString * _Nonnull)name description:(NSString * _Nullable)description last4:(NSString * _Nullable)last4 brand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// In order to retreive the encrypted payload that PKAddPaymentPassViewController expects, the Stripe SDK must talk to the Stripe API. As this requires privileged access, you must write a “key provider” that generates an Ephemeral Key on your backend and provides it to the SDK when requested. For more information, see https://stripe.com/docs/mobile/ios/basic#ephemeral-key +- (nonnull instancetype)initWithKeyProvider:(id _Nonnull)keyProvider OBJC_DESIGNATED_INITIALIZER; +/// This method lines up with the method of the same name on PKAddPaymentPassViewControllerDelegate. You should implement that protocol in your own app, and when that method is called, call this method on your STPPushProvisioningContext. This in turn will first initiate a call to your keyProvider (see above) to obtain an Ephemeral Key, then make a call to the Stripe Issuing API to fetch an encrypted payload for the card in question, then return that payload to iOS. +- (void)addPaymentPassViewController:(PKAddPaymentPassViewController * _Nonnull)controller generateRequestWithCertificateChain:(NSArray * _Nonnull)certificates nonce:(NSData * _Nonnull)nonce nonceSignature:(NSData * _Nonnull)nonceSignature completionHandler:(void (^ _Nonnull)(PKAddPaymentPassRequest * _Nonnull))handler; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// A helper class for turning the raw certificate array, nonce, and nonce signature emitted by PKAddPaymentPassViewController into a format that is understandable by the Stripe API. +/// If you are using STPPushProvisioningContext to implement your integration, you do not need to use this class. +SWIFT_CLASS("_TtC6Stripe32STPPushProvisioningDetailsParams") +@interface STPPushProvisioningDetailsParams : NSObject +/// The Stripe ID of the Issuing card object to retrieve details for. +@property (nonatomic, readonly, copy) NSString * _Nonnull cardId; +/// An array of certificates that should be used to encrypt the card details. +@property (nonatomic, readonly, copy) NSArray * _Nonnull certificates; +/// A nonce that should be used during the encryption of the card details. +@property (nonatomic, readonly, copy) NSData * _Nonnull nonce; +/// A nonce signature that should be used during the encryption of the card details. +@property (nonatomic, readonly, copy) NSData * _Nonnull nonceSignature; +/// Implemented for convenience - the Stripe API expects the certificate chain as an array of base64-encoded strings. +@property (nonatomic, readonly, copy) NSArray * _Nonnull certificatesBase64; +/// Implemented for convenience - the Stripe API expects the nonce as a hex-encoded string. +@property (nonatomic, readonly, copy) NSString * _Nonnull nonceHex; +/// Implemented for convenience - the Stripe API expects the nonce signature as a hex-encoded string. +@property (nonatomic, readonly, copy) NSString * _Nonnull nonceSignatureHex; +/// Instantiates a new params object with the provided attributes. +- (nonnull instancetype)initWithCardId:(NSString * _Nonnull)cardId certificates:(NSArray * _Nonnull)certificates nonce:(NSData * _Nonnull)nonce nonceSignature:(NSData * _Nonnull)nonceSignature OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// A Radar Session. +/// note: +/// This API and the guide linked above require special permissions to use. Contact support@stripe.com if you’re interested. +SWIFT_CLASS("_TtC6Stripe15STPRadarSession") +@interface STPRadarSession : NSObject +/// The Stripe identifier of the RadarSession +@property (nonatomic, readonly, copy) NSString * _Nonnull id; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; ++ (STPRadarSession * _Nullable)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +enum STPRedirectContextState : NSInteger; +@class UIPresentationController; + +/// This is a helper class for handling redirects associated with STPSource and +/// STPPaymentIntents. +/// Init and retain an instance with the Source or PaymentIntent you want to handle, +/// then choose a redirect method. The context will fire the completion handler +/// when the redirect completes. +/// Due to the nature of iOS, very little concrete information can be gained +/// during this process, as all actions take place in either the Safari app +/// or the sandboxed SFSafariViewController class. The context attempts to +/// detect when the user has completed the necessary redirect action by listening +/// for both app foregrounds and url callbacks received in the app delegate. +/// However, it is possible the when the redirect is “completed”, the user may +/// have not actually completed the necessary actions to authorize the charge. +/// You should not use either this class, nor STPAPIClient, as a way +/// to determine when you should charge the Source or to determine if the redirect +/// was successful. Use Stripe webhooks on your backend server to listen for Source +/// state changes and to make the charge. +/// @note You must retain this instance for the duration of the redirect flow. +/// This class dismisses any presented view controller upon deallocation. +/// See https://stripe.com/docs/sources/best-practices +SWIFT_CLASS("_TtC6Stripe18STPRedirectContext") SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable) SWIFT_AVAILABILITY(ios_app_extension,unavailable) +@interface STPRedirectContext : NSObject +/// The domain for NSErrors specific to STPRedirectContext +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull STPRedirectContextErrorDomain;) ++ (NSString * _Nonnull)STPRedirectContextErrorDomain SWIFT_WARN_UNUSED_RESULT; +/// The current state of the context. +@property (nonatomic, readonly) enum STPRedirectContextState state; +/// Initializer for context from an STPSource. +/// @note You must ensure that the returnURL set up in the created source +/// correctly goes to your app so that users can be returned once +/// they complete the redirect in the web broswer. +/// \param source The source that needs user redirect action to be taken. +/// +/// \param completion A block to fire when the action is believed to have +/// been completed. +/// +/// +/// returns: +/// nil if the specified source is not a redirect-flow source. Otherwise +/// a new context object. +/// @note Execution of the completion block does not necessarily mean the user +/// successfully performed the redirect action. You should listen for source status +/// change webhooks on your backend to determine the result of a redirect. +- (nullable instancetype)initWithSource:(STPSource * _Nonnull)source completion:(void (^ _Nonnull)(NSString * _Nonnull, NSString * _Nullable, NSError * _Nullable))completion; +/// Initializer for context from an STPPaymentIntent. +/// This should be used when the status is STPPaymentIntentStatusRequiresAction. +/// If the next action involves a redirect, this init method will return a non-nil object. +/// \param paymentIntent The STPPaymentIntent that needs a redirect. +/// +/// \param completion A block to fire when the action is believed to have +/// been completed. +/// +/// +/// returns: +/// nil if the provided PaymentIntent does not need a redirect. Otherwise +/// a new context object. +/// @note Execution of the completion block does not necessarily mean the user +/// successfully performed the redirect action. +- (nullable instancetype)initWithPaymentIntent:(STPPaymentIntent * _Nonnull)paymentIntent completion:(void (^ _Nonnull)(NSString * _Nonnull, NSError * _Nullable))completion; +/// Starts a redirect flow. +/// You must ensure that your app delegate listens for the returnURL that you +/// set on the Stripe object, and forwards it to the Stripe SDK so that the +/// context can be notified when the redirect is completed and dismiss the +/// view controller. See StripeAPI.handleURLCallback(with url:) +/// The context will listen for both received URLs and app open notifications +/// and fire its completion block when either the URL is received, or the next +/// time the app is foregrounded. +/// The context will initiate the flow by presenting a SFSafariViewController +/// instance from the passsed in view controller. If you want more manual control +/// over the redirect method, you can use startSafariViewControllerRedirectFlowFromViewController +/// or startSafariAppRedirectFlow +/// If the redirect supports a native app, and that app is is installed on the user’s +/// device, this call will do a direct app-to-app redirect instead of showing +/// a web url. +/// @note This method does nothing if the context is not in the +/// STPRedirectContextStateNotStarted state. +/// \param presentingViewController The view controller to present the Safari +/// view controller from. +/// +- (void)startRedirectFlowFromViewController:(UIViewController * _Nonnull)presentingViewController; +/// Starts a redirect flow by presenting an SFSafariViewController in your app +/// from the passed in view controller. +/// You must ensure that your app delegate listens for the returnURL that you +/// set on the Stripe object, and forwards it to the Stripe SDK so that the +/// context can be notified when the redirect is completed and dismiss the +/// view controller. See StripeAPI.handleStripeURLCallback(with url:)] +/// The context will listen for both received URLs and app open notifications +/// and fire its completion block when either the URL is received, or the next +/// time the app is foregrounded. +/// @note This method does nothing if the context is not in the +/// STPRedirectContextStateNotStarted state. +/// \param presentingViewController The view controller to present the Safari +/// view controller from. +/// +- (void)startSafariViewControllerRedirectFlowFromViewController:(UIViewController * _Nonnull)presentingViewController; +/// Starts a redirect flow by calling openURL to bounce the user out to +/// the Safari app. +/// The context will listen for app open notifications and fire its completion +/// block the next time the user re-opens the app (either manually or via url) +/// @note This method does nothing if the context is not in the +/// STPRedirectContextStateNotStarted state. +- (void)startSafariAppRedirectFlow; +/// Dismisses any presented views and stops listening for any +/// app opens or callbacks. The completion block will not be fired. +- (void)cancel; +/// :nodoc: +- (void)safariViewControllerDidFinish:(SFSafariViewController * _Nonnull)controller; +/// :nodoc: +- (void)safariViewController:(SFSafariViewController * _Nonnull)controller didCompleteInitialLoad:(BOOL)didLoadSuccessfully; +/// :nodoc: +- (void)safariViewController:(SFSafariViewController * _Nonnull)controller initialLoadDidRedirectToURL:(NSURL * _Nonnull)URL; +/// :nodoc: +- (UIPresentationController * _Nullable)presentationControllerForPresentedViewController:(UIViewController * _Nonnull)presented presentingViewController:(UIViewController * _Nullable)presenting sourceViewController:(UIViewController * _Nonnull)source SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable) SWIFT_AVAILABILITY(ios_app_extension,unavailable) +@interface STPRedirectContext (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (BOOL)handleURLCallback:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; +@end + +/// Error codes specific to STPRedirectContext +typedef SWIFT_ENUM(NSInteger, STPRedirectContextError, open) { +/// STPRedirectContext failed to redirect to the app to complete the payment. +/// This could be because the app is not installed on the user’s device. + STPRedirectContextAppRedirectError SWIFT_COMPILE_NAME("appRedirectError") = 0, +}; + +/// Possible states for the redirect context to be in +typedef SWIFT_ENUM(NSInteger, STPRedirectContextState, open) { +/// Initialized, but redirect not started. + STPRedirectContextStateNotStarted = 0, +/// Redirect is in progress. + STPRedirectContextStateInProgress = 1, +/// Redirect has been cancelled programmatically before completing. + STPRedirectContextStateCancelled = 2, +/// Redirect has completed. + STPRedirectContextStateCompleted = 3, +}; + +enum STPSetupIntentStatus : NSInteger; +enum STPSetupIntentUsage : NSInteger; +@class STPSetupIntentLastSetupError; + +/// A SetupIntent guides you through the process of setting up a customer’s payment credentials for future payments. +/// seealso: +/// https://stripe.com/docs/api/setup_intents +SWIFT_CLASS("_TtC6Stripe14STPSetupIntent") +@interface STPSetupIntent : NSObject +/// The Stripe ID of the SetupIntent. +@property (nonatomic, readonly, copy) NSString * _Nonnull stripeID; +/// The client secret of this SetupIntent. Used for client-side retrieval using a publishable key. +@property (nonatomic, readonly, copy) NSString * _Nonnull clientSecret; +/// Time at which the object was created. +@property (nonatomic, readonly, copy) NSDate * _Nonnull created; +/// ID of the Customer this SetupIntent belongs to, if one exists. +@property (nonatomic, readonly, copy) NSString * _Nullable customerID; +/// An arbitrary string attached to the object. Often useful for displaying to users. +@property (nonatomic, readonly, copy) NSString * _Nullable stripeDescription; +/// Has the value YES if the object exists in live mode or the value NO if the object exists in test mode. +@property (nonatomic, readonly) BOOL livemode; +/// If present, this property tells you what actions you need to take in order for your customer to set up this payment method. +@property (nonatomic, readonly, strong) STPIntentAction * _Nullable nextAction; +/// ID of the payment method used with this SetupIntent. +@property (nonatomic, readonly, copy) NSString * _Nullable paymentMethodID; +/// The list of payment method types (e.g. [STPPaymentMethodType.card]) that this SetupIntent is allowed to set up. +@property (nonatomic, readonly, copy) NSArray * _Nonnull paymentMethodTypes; +/// Status of this SetupIntent. +@property (nonatomic, readonly) enum STPSetupIntentStatus status; +/// Indicates how the payment method is intended to be used in the future. +@property (nonatomic, readonly) enum STPSetupIntentUsage usage; +/// The setup error encountered in the previous SetupIntent confirmation. +@property (nonatomic, readonly, strong) STPSetupIntentLastSetupError * _Nullable lastSetupError; +/// Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. +/// @deprecated Metadata is not returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead. +/// seealso: +/// https://stripe.com/docs/api#metadata +@property (nonatomic, readonly, copy) NSDictionary * _Nullable metadata SWIFT_DEPRECATED_MSG("Metadata is not returned to clients using publishable keys. Retrieve them on your server using your secret key instead."); +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters to confirm a SetupIntent object. +/// For example, you would confirm a SetupIntent when a customer hits the “Save” button on a payment method management view in your app. +/// If the selected payment method does not require any additional steps from the customer, the SetupIntent’s status will transition to STPSetupIntentStatusSucceeded. Otherwise, it will transition to STPSetupIntentStatusRequiresAction, and suggest additional actions via nextAction. +/// Instead of passing this to STPAPIClient.confirmSetupIntent(...) directly, we recommend using STPPaymentHandler to handle any additional steps for you. +/// seealso: +/// https://stripe.com/docs/api/setup_intents/confirm +SWIFT_CLASS("_TtC6Stripe27STPSetupIntentConfirmParams") +@interface STPSetupIntentConfirmParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initialize this STPSetupIntentConfirmParams with a clientSecret. +/// \param clientSecret the client secret for this SetupIntent +/// +- (nonnull instancetype)initWithClientSecret:(NSString * _Nonnull)clientSecret OBJC_DESIGNATED_INITIALIZER; +/// The client secret of the SetupIntent. Required. +@property (nonatomic, copy) NSString * _Nonnull clientSecret; +/// Provide a supported STPPaymentMethodParams object, and Stripe will create a +/// PaymentMethod during PaymentIntent confirmation. +/// @note alternative to paymentMethodId +@property (nonatomic, strong) STPPaymentMethodParams * _Nullable paymentMethodParams; +/// Provide an already created PaymentMethod’s id, and it will be used to confirm the SetupIntent. +/// @note alternative to paymentMethodParams +@property (nonatomic, copy) NSString * _Nullable paymentMethodID; +/// The URL to redirect your customer back to after they authenticate or cancel +/// their payment on the payment method’s app or site. +/// This should probably be a URL that opens your iOS app. +@property (nonatomic, copy) NSString * _Nullable returnURL; +/// A boolean number to indicate whether you intend to use the Stripe SDK’s functionality to handle any SetupIntent next actions. +/// If set to false, STPSetupIntent.nextAction will only ever contain a redirect url that can be opened in a webview or mobile browser. +/// When set to true, the nextAction may contain information that the Stripe SDK can use to perform native authentication within your +/// app. +@property (nonatomic, strong) NSNumber * _Nullable useStripeSDK; +/// Details about the Mandate to create. +/// @note If this value is null and the (self.paymentMethod.type == STPPaymentMethodTypeSEPADebit | | self.paymentMethodParams.type == STPPaymentMethodTypeAUBECSDebit || self.paymentMethodParams.type == STPPaymentMethodTypeBacsDebit) && self.mandate == nil, the SDK will set this to an internal value indicating that the mandate data should be inferred from the current context. +@property (nonatomic, strong) STPMandateDataParams * _Nullable mandateData; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +@end + +enum STPSetupIntentLastSetupErrorType : NSUInteger; + +/// A value for code indicating the provided payment method failed authentication./// The error encountered in the previous SetupIntent confirmation. +/// seealso: +/// https://stripe.com/docs/api/setup_intents/object#setup_intent_object-last_setup_error +SWIFT_CLASS("_TtC6Stripe28STPSetupIntentLastSetupError") +@interface STPSetupIntentLastSetupError : NSObject +/// For some errors that could be handled programmatically, a short string indicating the error code reported. +/// seealso: +/// https://stripe.com/docs/error-codes +@property (nonatomic, readonly, copy) NSString * _Nullable code; +/// For card (STPSetupIntentLastSetupErrorTypeCard) errors resulting from a card issuer decline, +/// a short string indicating the card issuer’s reason for the decline if they provide one. +/// seealso: +/// https://stripe.com/docs/declines#issuer-declines +@property (nonatomic, readonly, copy) NSString * _Nullable declineCode; +/// A URL to more information about the error code reported. +/// seealso: +/// https://stripe.com/docs/error-codes +@property (nonatomic, readonly, copy) NSString * _Nullable docURL; +/// A human-readable message providing more details about the error. +/// For card (STPSetupIntentLastSetupErrorTypeCard) errors, these messages can be shown to your users. +@property (nonatomic, readonly, copy) NSString * _Nullable message; +/// If the error is parameter-specific, the parameter related to the error. +/// For example, you can use this to display a message near the correct form field. +@property (nonatomic, readonly, copy) NSString * _Nullable param; +/// The PaymentMethod object for errors returned on a request involving a PaymentMethod. +@property (nonatomic, readonly, strong) STPPaymentMethod * _Nullable paymentMethod; +/// The type of error. +@property (nonatomic, readonly) enum STPSetupIntentLastSetupErrorType type; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface STPSetupIntentLastSetupError (SWIFT_EXTENSION(Stripe)) +/// A possible value for the error property. The provided payment method has failed authentication. Provide a new payment method to attempt to fulfill this SetupIntent again. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull CodeAuthenticationFailure;) ++ (NSString * _Nonnull)CodeAuthenticationFailure SWIFT_WARN_UNUSED_RESULT; +@end + +/// The type of the error represented by STPSetupIntentLastSetupError. +/// Some STPSetupIntentLastError properties are only populated for certain error types. +typedef SWIFT_ENUM(NSUInteger, STPSetupIntentLastSetupErrorType, open) { +/// An unknown error type. + STPSetupIntentLastSetupErrorTypeUnknown = 0, +/// An error connecting to Stripe’s API. + STPSetupIntentLastSetupErrorTypeAPIConnection SWIFT_COMPILE_NAME("apiConnection") = 1, +/// An error with the Stripe API. + STPSetupIntentLastSetupErrorTypeAPI = 2, +/// A failure to authenticate your customer. + STPSetupIntentLastSetupErrorTypeAuthentication = 3, +/// Card errors are the most common type of error you should expect to handle. +/// They result when the user enters a card that can’t be charged for some reason. +/// Check the declineCode property for the decline code. The message property contains a message you can show to your users. + STPSetupIntentLastSetupErrorTypeCard = 4, +/// Keys for idempotent requests can only be used with the same parameters they were first used with. + STPSetupIntentLastSetupErrorTypeIdempotency = 5, +/// Invalid request errors. Typically, this is because your request has invalid parameters. + STPSetupIntentLastSetupErrorTypeInvalidRequest = 6, +/// Too many requests hit the API too quickly. + STPSetupIntentLastSetupErrorTypeRateLimit = 7, +}; + +/// Status types for an STPSetupIntent +typedef SWIFT_ENUM(NSInteger, STPSetupIntentStatus, open) { +/// Unknown status + STPSetupIntentStatusUnknown = 0, +/// This SetupIntent requires a PaymentMethod + STPSetupIntentStatusRequiresPaymentMethod = 1, +/// This SetupIntent needs to be confirmed + STPSetupIntentStatusRequiresConfirmation = 2, +/// The selected PaymentMethod requires additional authentication steps. +/// Additional actions found via the nextAction property of STPSetupIntent + STPSetupIntentStatusRequiresAction = 3, +/// Stripe is processing this SetupIntent + STPSetupIntentStatusProcessing = 4, +/// The SetupIntent has succeeded + STPSetupIntentStatusSucceeded = 5, +/// This SetupIntent was canceled and cannot be changed. + STPSetupIntentStatusCanceled = 6, +}; + +/// Indicates how the payment method is intended to be used in the future. +/// seealso: +/// https://stripe.com/docs/api/setup_intents/create#create_setup_intent-usage +typedef SWIFT_ENUM(NSInteger, STPSetupIntentUsage, open) { +/// Unknown value. Update your SDK, or use allResponseFields for custom handling. + STPSetupIntentUsageUnknown = 0, +/// No value was provided. + STPSetupIntentUsageNone = 1, +/// Indicates you intend to only reuse the payment method when the customer is in your checkout flow. + STPSetupIntentUsageOnSession = 2, +/// Indicates you intend to reuse the payment method when the customer may or may not be in your checkout flow. + STPSetupIntentUsageOffSession = 3, +}; + + +/// This view controller contains a shipping address collection form. It renders a right bar button item that submits the form, so it must be shown inside a UINavigationController. Depending on your configuration’s shippingType, the view controller may present a shipping method selection form after the user enters an address. +SWIFT_CLASS("_TtC6Stripe32STPShippingAddressViewController") +@interface STPShippingAddressViewController : STPCoreTableViewController +/// A convenience initializer; equivalent to calling init(configuration: STPPaymentConfiguration.shared theme: STPTheme.defaultTheme currency:"" shippingAddress:nil selectedShippingMethod:nil prefilledInformation:nil). +- (nonnull instancetype)init; +/// Initializes a new STPShippingAddressViewController with the given payment context and sets the payment context as its delegate. +/// \param paymentContext The payment context to use. +/// +- (nonnull instancetype)initWithPaymentContext:(STPPaymentContext * _Nonnull)paymentContext; +/// Initializes a new STPShippingAddressCardViewController with the provided parameters. +/// \param configuration The configuration to use (this determines the required shipping address fields and shipping type). - seealso: STPPaymentConfiguration +/// +/// \param theme The theme to use to inform the view controller’s visual appearance. - seealso: STPTheme +/// +/// \param currency The currency to use when displaying amounts for shipping methods. The default is USD. +/// +/// \param shippingAddress If set, the shipping address view controller will be pre-filled with this address. - seealso: STPAddress +/// +/// \param selectedShippingMethod If set, the shipping methods view controller will use this method as the selected shipping method. If selectedShippingMethod is nil, the first shipping method in the array of methods returned by your delegate will be selected. +/// +/// \param prefilledInformation If set, the shipping address view controller will be pre-filled with this information. - seealso: STPUserInformation +/// +- (nonnull instancetype)initWithConfiguration:(STPPaymentConfiguration * _Nonnull)configuration theme:(STPTheme * _Nonnull)theme currency:(NSString * _Nullable)currency shippingAddress:(STPAddress * _Nullable)shippingAddress selectedShippingMethod:(PKShippingMethod * _Nullable)selectedShippingMethod prefilledInformation:(STPUserInformation * _Nullable)prefilledInformation OBJC_DESIGNATED_INITIALIZER; +/// The view controller’s delegate. This must be set before showing the view controller in order for it to work properly. - seealso: STPShippingAddressViewControllerDelegate +@property (nonatomic, weak) id _Nullable delegate; +/// If you’re pushing STPShippingAddressViewController onto an existing UINavigationController‘s stack, you should use this method to dismiss it, since it may have pushed an additional shipping method view controller onto the navigation controller’s stack. +/// \param completion The callback to run after the view controller is dismissed. You may specify nil for this parameter. +/// +- (void)dismissWithCompletion:(void (^ _Nullable)(void))completion; +/// Use one of the initializers declared in this interface. +- (nonnull instancetype)initWithTheme:(STPTheme * _Nullable)theme OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE_MSG("Use one of the initializers declared in this interface instead."); +/// Use one of the initializers declared in this interface. +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE_MSG("Use one of the initializers declared in this interface instead."); +/// Use one of the initializers declared in this interface. +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE; +/// :nodoc: +- (void)viewDidAppear:(BOOL)animated; +/// :nodoc: +- (CGFloat)tableView:(UITableView * _Nonnull)tableView heightForHeaderInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +@end + + + +@interface STPShippingAddressViewController (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (NSInteger)numberOfSectionsInTableView:(UITableView * _Nonnull)tableView SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (NSInteger)tableView:(UITableView * _Nonnull)tableView numberOfRowsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (UITableViewCell * _Nonnull)tableView:(UITableView * _Nonnull)tableView cellForRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)tableView:(UITableView * _Nonnull)tableView willDisplayCell:(UITableViewCell * _Nonnull)cell forRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath; +/// :nodoc: +- (CGFloat)tableView:(UITableView * _Nonnull)tableView heightForFooterInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (UIView * _Nullable)tableView:(UITableView * _Nonnull)tableView viewForFooterInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (UIView * _Nullable)tableView:(UITableView * _Nonnull)tableView viewForHeaderInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An enum representing the status of a shipping address validation. +typedef SWIFT_ENUM(NSInteger, STPShippingStatus, open) { +/// The shipping address is valid. + STPShippingStatusValid = 0, +/// The shipping address is invalid. + STPShippingStatusInvalid = 1, +}; + +/// These values control the labels used in the shipping info collection form. +typedef SWIFT_ENUM(NSInteger, STPShippingType, open) { +/// Shipping the purchase to the provided address using a third-party +/// shipping company. + STPShippingTypeShipping = 0, +/// Delivering the purchase by the seller. + STPShippingTypeDelivery = 1, +}; + +enum STPSourceFlow : NSInteger; +@class STPSourceOwner; +@class STPSourceReceiver; +@class STPSourceRedirect; +enum STPSourceStatus : NSInteger; +enum STPSourceType : NSInteger; +enum STPSourceUsage : NSInteger; +@class STPSourceVerification; +@class STPSourceCardDetails; +@class STPSourceKlarnaDetails; +@class STPSourceSEPADebitDetails; +@class STPSourceWeChatPayDetails; + +/// Representation of a customer’s payment instrument created with the Stripe API. - seealso: https://stripe.com/docs/api#sources +SWIFT_CLASS("_TtC6Stripe9STPSource") +@interface STPSource : NSObject +/// You cannot directly instantiate an STPSource. You should only use one that +/// has been returned from an STPAPIClient callback. +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// The amount associated with the source. +@property (nonatomic, readonly, strong) NSNumber * _Nullable amount; +/// The client secret of the source. Used for client-side fetching of a source +/// using a publishable key. +@property (nonatomic, readonly, copy) NSString * _Nullable clientSecret; +/// When the source was created. +@property (nonatomic, readonly, copy) NSDate * _Nullable created; +/// The currency associated with the source. +@property (nonatomic, readonly, copy) NSString * _Nullable currency; +/// The authentication flow of the source. +@property (nonatomic, readonly) enum STPSourceFlow flow; +/// Whether or not this source was created in livemode. +@property (nonatomic, readonly) BOOL livemode; +/// Information about the owner of the payment instrument. +@property (nonatomic, readonly, strong) STPSourceOwner * _Nullable owner; +/// Information related to the receiver flow. Present if the source’s flow +/// is receiver. +@property (nonatomic, readonly, strong) STPSourceReceiver * _Nullable receiver; +/// Information related to the redirect flow. Present if the source’s flow +/// is redirect. +@property (nonatomic, readonly, strong) STPSourceRedirect * _Nullable redirect; +/// The status of the source. +@property (nonatomic, readonly) enum STPSourceStatus status; +/// The type of the source. +@property (nonatomic, readonly) enum STPSourceType type; +/// Whether this source should be reusable or not. +@property (nonatomic, readonly) enum STPSourceUsage usage; +/// Information related to the verification flow. Present if the source’s flow +/// is verification. +@property (nonatomic, readonly, strong) STPSourceVerification * _Nullable verification; +/// Information about the source specific to its type +@property (nonatomic, readonly, copy) NSDictionary * _Nullable details; +/// If this is a card source, this property provides typed access to the +/// contents of the details dictionary. +@property (nonatomic, readonly, strong) STPSourceCardDetails * _Nullable cardDetails; +/// If this is a Klarna source, this property provides typed access to the +/// contents of the details dictionary. +@property (nonatomic, readonly, strong) STPSourceKlarnaDetails * _Nullable klarnaDetails; +/// If this is a SEPA Debit source, this property provides typed access to the +/// contents of the details dictionary. +@property (nonatomic, readonly, strong) STPSourceSEPADebitDetails * _Nullable sepaDebitDetails; +/// If this is a WeChat Pay source, this property provides typed access to the +/// contents of the details dictionary. +@property (nonatomic, readonly, strong) STPSourceWeChatPayDetails * _Nullable weChatPayDetails; +/// A set of key/value pairs associated with the source object. +/// @deprecated Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead. +/// seealso: +/// https://stripe.com/docs/api#metadata +@property (nonatomic, readonly, copy) NSDictionary * _Nullable metadata SWIFT_DEPRECATED_MSG("Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead."); +@property (nonatomic, copy) NSString * _Nonnull stripeID; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) NSUInteger hash; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, strong) UIImage * _Nonnull image; +@property (nonatomic, readonly, strong) UIImage * _Nonnull templateImage; +@property (nonatomic, readonly, copy) NSString * _Nonnull label; +@property (nonatomic, readonly) BOOL isReusable; +@end + +/// The status of this card’s 3D Secure support. +/// seealso: +/// https://stripe.com/docs/sources/three-d-secure#check-requirement +typedef SWIFT_ENUM(NSInteger, STPSourceCard3DSecureStatus, open) { +/// 3D Secure is required. This card must be converted into a 3D Secure +/// source for a charge on it to be successful. + STPSourceCard3DSecureStatusRequired = 0, +/// 3D Secure is optional. It is not required nor recommended for successful charging, +/// but can be performed to help reduce the likelihood of fraud. + STPSourceCard3DSecureStatusOptional = 1, +/// 3D Secure is not supported on this card. + STPSourceCard3DSecureStatusNotSupported = 2, +/// 3D Secure is recommended. The process is not required, but it is highly recommended +/// and has minimal impact to your conversion rate. + STPSourceCard3DSecureStatusRecommended = 3, +/// The status of 3D Secure support on this card is unknown. + STPSourceCard3DSecureStatusUnknown = 4, +}; + + +/// This class provides typed access to the contents of an STPSource details +/// dictionary for card sources. +SWIFT_CLASS("_TtC6Stripe20STPSourceCardDetails") +@interface STPSourceCardDetails : NSObject +/// The last 4 digits of the card. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// The card’s expiration month. 1-indexed (i.e. 1 == January) +@property (nonatomic, readonly) NSUInteger expMonth; +/// The card’s expiration year. +@property (nonatomic, readonly) NSUInteger expYear; +/// The issuer of the card. +@property (nonatomic, readonly) enum STPCardBrand brand; +/// The funding source for the card (credit, debit, prepaid, or other) +@property (nonatomic, readonly) enum STPCardFundingType funding; +/// Two-letter ISO code representing the issuing country of the card. +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// Whether 3D Secure is supported or required by the card. +@property (nonatomic, readonly) enum STPSourceCard3DSecureStatus threeDSecure; +/// True if this card was created through Apple Pay, false otherwise. +@property (nonatomic, readonly) BOOL isApplePayCard; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// Authentication flows for a Source +typedef SWIFT_ENUM(NSInteger, STPSourceFlow, open) { +/// No action is required from your customer. +/// @note WeChat Pay Sources also have this flow type. + STPSourceFlowNone = 0, +/// Your customer must be redirected to their online banking service (either a website or mobile banking app) to approve the payment. + STPSourceFlowRedirect = 1, +/// Your customer must verify ownership of their account by providing a code that you post to the Stripe API for authentication. + STPSourceFlowCodeVerification = 2, +/// Your customer must push funds to the account information provided. + STPSourceFlowReceiver = 3, +/// The source’s flow is unknown. + STPSourceFlowUnknown = 4, +}; + + +/// Details of a Klarna source. +SWIFT_CLASS("_TtC6Stripe22STPSourceKlarnaDetails") +@interface STPSourceKlarnaDetails : NSObject +/// The Klarna-specific client token. This may be used with the Klarna SDK. +/// seealso: +/// https://developers.klarna.com/documentation/in-app/ios/steps-klarna-payments-native/#initialization +@property (nonatomic, readonly, copy) NSString * _Nullable clientToken; +/// The ISO-3166 2-letter country code of the customer’s location. +@property (nonatomic, readonly, copy) NSString * _Nullable purchaseCountry; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Information about a source’s owner. +SWIFT_CLASS("_TtC6Stripe14STPSourceOwner") +@interface STPSourceOwner : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// Owner’s address. +@property (nonatomic, readonly, strong) STPAddress * _Nullable address; +/// Owner’s email address. +@property (nonatomic, readonly, copy) NSString * _Nullable email; +/// Owner’s full name. +@property (nonatomic, readonly, copy) NSString * _Nullable name; +/// Owner’s phone number. +@property (nonatomic, readonly, copy) NSString * _Nullable phone; +/// Verified owner’s address. +@property (nonatomic, readonly, strong) STPAddress * _Nullable verifiedAddress; +/// Verified owner’s email address. +@property (nonatomic, readonly, copy) NSString * _Nullable verifiedEmail; +/// Verified owner’s full name. +@property (nonatomic, readonly, copy) NSString * _Nullable verifiedName; +/// Verified owner’s phone number. +@property (nonatomic, readonly, copy) NSString * _Nullable verifiedPhone; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An object representing parameters used to create a Source object. +/// seealso: +/// https://stripe.com/docs/api#create_source +SWIFT_CLASS("_TtC6Stripe15STPSourceParams") +@interface STPSourceParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// The type of the source to create. Required. +@property (nonatomic) enum STPSourceType type; +/// The raw underlying type string sent to the server. +/// Generally you should use type instead unless you have a reason not to. +/// You can use this if you want to create a param of a type not yet supported +/// by the current version of the SDK’s STPSourceType enum. +/// Setting this to a value not known by the SDK causes type to +/// return STPSourceTypeUnknown +@property (nonatomic, copy) NSString * _Nullable rawTypeString; +/// A positive integer in the smallest currency unit representing the +/// amount to charge the customer (e.g., @1099 for a €10.99 payment). +/// Required for single_use sources. +@property (nonatomic, strong) NSNumber * _Nullable amount; +/// The currency associated with the source. This is the currency for which the source +/// will be chargeable once ready. +@property (nonatomic, copy) NSString * _Nullable currency; +/// The authentication flow of the source to create. flow may be “redirect”, +/// “receiver”, “verification”, or “none”. It is generally inferred unless a type +/// supports multiple flows. +@property (nonatomic) enum STPSourceFlow flow; +/// A set of key/value pairs that you can attach to a source object. +@property (nonatomic, copy) NSDictionary * _Nullable metadata; +/// Information about the owner of the payment instrument. May be used or required +/// by particular source types. +@property (nonatomic, copy) NSDictionary * _Nullable owner; +/// Parameters required for the redirect flow. Required if the source is +/// authenticated by a redirect (flow is “redirect”). +@property (nonatomic, copy) NSDictionary * _Nullable redirect; +/// An optional token used to create the source. When passed, token properties will +/// override source parameters. +@property (nonatomic, copy) NSString * _Nullable token; +/// Whether this source should be reusable or not. usage may be “reusable” or +/// “single_use”. Some source types may or may not be reusable by construction, +/// while other may leave the option at creation. +@property (nonatomic) enum STPSourceUsage usage; +/// Initializes an empty STPSourceParams. +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPSourceParams (SWIFT_EXTENSION(Stripe)) +/// Creates params for a Bancontact source. +/// seealso: +/// https://stripe.com/docs/bancontact#create-source +/// \param amount The amount to charge the customer in EUR. +/// +/// \param name The full name of the account holder. +/// +/// \param returnURL The URL the customer should be redirected to after +/// they have successfully verified the payment. +/// +/// \param statementDescriptor (Optional) A custom statement descriptor for +/// the payment. +/// @note The currency for Bancontact must be “eur”. This will be set automatically +/// for you. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)bancontactParamsWithAmount:(NSInteger)amount name:(NSString * _Nonnull)name returnURL:(NSString * _Nonnull)returnURL statementDescriptor:(NSString * _Nullable)statementDescriptor SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Card source. +/// seealso: +/// https://stripe.com/docs/sources/cards#create-source +/// \param card An object containing the user’s card details +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided card details. ++ (STPSourceParams * _Nonnull)cardParamsWithCard:(STPCardParams * _Nonnull)card SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Giropay source. +/// seealso: +/// https://stripe.com/docs/sources/giropay#create-source +/// \param amount The amount to charge the customer in EUR. +/// +/// \param name The full name of the account holder. +/// +/// \param returnURL The URL the customer should be redirected to after +/// they have successfully verified the payment. +/// +/// \param statementDescriptor (Optional) A custom statement descriptor for +/// the payment. +/// @note The currency for Giropay must be “eur”. This will be set automatically +/// for you. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)giropayParamsWithAmount:(NSInteger)amount name:(NSString * _Nonnull)name returnURL:(NSString * _Nonnull)returnURL statementDescriptor:(NSString * _Nullable)statementDescriptor SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an iDEAL source. +/// seealso: +/// https://stripe.com/docs/sources/ideal#create-source +/// \param amount The amount to charge the customer in EUR. +/// +/// \param name (Optional) The full name of the account holder. +/// +/// \param returnURL The URL the customer should be redirected to after +/// they have successfully verified the payment. +/// +/// \param statementDescriptor (Optional) A custom statement descriptor for t +/// he payment. +/// +/// \param bank (Optional) The customer’s bank. +/// @note The currency for iDEAL must be “eur”. This will be set automatically +/// for you. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)idealParamsWithAmount:(NSInteger)amount name:(NSString * _Nullable)name returnURL:(NSString * _Nonnull)returnURL statementDescriptor:(NSString * _Nullable)statementDescriptor bank:(NSString * _Nullable)bank SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a SEPA Debit source. +/// seealso: +/// https://stripe.com/docs/sources/sepa-debit#create-source +/// \param name The full name of the account holder. +/// +/// \param iban The IBAN number for the bank account you wish to debit. +/// +/// \param addressLine1 (Optional) The bank account holder’s first address line. +/// +/// \param city (Optional) The bank account holder’s city. +/// +/// \param postalCode (Optional) The bank account holder’s postal code. +/// +/// \param country (Optional) The bank account holder’s two-letter +/// country code. +/// @note The currency for SEPA Debit must be “eur”. This will be set automatically +/// for you. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)sepaDebitParamsWithName:(NSString * _Nonnull)name iban:(NSString * _Nonnull)iban addressLine1:(NSString * _Nullable)addressLine1 city:(NSString * _Nullable)city postalCode:(NSString * _Nullable)postalCode country:(NSString * _Nullable)country SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Sofort source. +/// seealso: +/// https://stripe.com/docs/sources/sofort#create-source +/// \param amount The amount to charge the customer in EUR. +/// +/// \param returnURL The URL the customer should be redirected to after +/// they have successfully verified the payment. +/// +/// \param country The country code of the customer’s bank. +/// +/// \param statementDescriptor (Optional) A custom statement descriptor for +/// the payment. +/// @note The currency for Sofort must be “eur”. This will be set automatically +/// for you. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)sofortParamsWithAmount:(NSInteger)amount returnURL:(NSString * _Nonnull)returnURL country:(NSString * _Nonnull)country statementDescriptor:(NSString * _Nullable)statementDescriptor SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Klarna source. +/// seealso: +/// https://stripe.com/docs/sources/klarna#create-source +/// \param returnURL The URL the customer should be redirected to after +/// they have successfully verified the payment. +/// +/// \param currency The currency the payment is being created in. +/// +/// \param purchaseCountry The ISO-3166 2-letter country code of the customer’s location. +/// +/// \param items An array of STPKlarnaLineItems. Klarna will present these on the confirmation +/// page. The total amount charged will be a sum of the totalAmount of each of these items. +/// +/// \param customPaymentMethods Required for customers located in the US. This determines whether Pay Later and/or Slice It +/// is offered to a US customer. +/// +/// \param address An STPAddress for the customer. At a minimum, an email, line1, postalCode, city, and country must be provided. +/// The address’ name will be ignored in favor of the firstName and lastName` parameters. +/// +/// \param firstName The customer’s first name. +/// +/// \param lastName The customer’s last name. +/// If the provided information is missing a line1, postal code, city, email, or first/last name, or if the country code is +/// outside the specified country, no address information will be sent to Klarna, and Klarna will prompt the customer to provide their address. +/// +/// \param dateOfBirth The customer’s date of birth. This will be used by Klarna for a credit check in some EU countries. +/// The optional fields (address, firstName, lastName, and dateOfBirth) can be provided to skip Klarna’s customer information form. +/// If this information is missing, Klarna will prompt the customer for these values during checkout. +/// Be careful with this option: If the provided information is invalid, +/// Klarna may reject the transaction without giving the customer a chance to correct it. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)klarnaParamsWithReturnURL:(NSString * _Nonnull)returnURL currency:(NSString * _Nonnull)currency purchaseCountry:(NSString * _Nonnull)purchaseCountry items:(NSArray * _Nonnull)items customPaymentMethods:(NSArray * _Nonnull)customPaymentMethods billingAddress:(STPAddress * _Nullable)address billingFirstName:(NSString * _Nullable)firstName billingLastName:(NSString * _Nullable)lastName billingDOB:(STPDateOfBirth * _Nullable)dateOfBirth SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Klarna source. +/// seealso: +/// https://stripe.com/docs/sources/klarna#create-source +/// \param returnURL The URL the customer should be redirected to after +/// they have successfully verified the payment. +/// +/// \param currency The currency the payment is being created in. +/// +/// \param purchaseCountry The ISO-3166 2-letter country code of the customer’s location. +/// +/// \param items An array of STPKlarnaLineItems. Klarna will present these in the confirmation +/// dialog. The total amount charged will be a sum of the totalAmount of each of these items. +/// +/// \param customPaymentMethods Required for customers located in the US. This determines whether Pay Later and/or Slice It +/// is offered to a US customer. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)klarnaParamsWithReturnURL:(NSString * _Nonnull)returnURL currency:(NSString * _Nonnull)currency purchaseCountry:(NSString * _Nonnull)purchaseCountry items:(NSArray * _Nonnull)items customPaymentMethods:(NSArray * _Nonnull)customPaymentMethods SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a 3DS source. +/// seealso: +/// https://stripe.com/docs/sources/three-d-secure#create-3ds-source +/// \param amount The amount to charge the customer. +/// +/// \param currency The currency the payment is being created in. +/// +/// \param returnURL The URL the customer should be redirected to after they have +/// successfully verified the payment. +/// +/// \param card The ID of the card source. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided card details. ++ (STPSourceParams * _Nonnull)threeDSecureParamsWithAmount:(NSInteger)amount currency:(NSString * _Nonnull)currency returnURL:(NSString * _Nonnull)returnURL card:(NSString * _Nonnull)card SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a single-use Alipay source +/// seealso: +/// https://stripe.com/docs/sources/alipay#create-source +/// \param amount The amount to charge the customer. +/// +/// \param currency The currency the payment is being created in. +/// +/// \param returnURL The URL the customer should be redirected to after they have +/// successfully verified the payment. +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values ++ (STPSourceParams * _Nonnull)alipayParamsWithAmount:(NSInteger)amount currency:(NSString * _Nonnull)currency returnURL:(NSString * _Nonnull)returnURL SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a reusable Alipay source +/// seealso: +/// https://stripe.com/docs/sources/alipay#create-source +/// \param currency The currency the payment is being created in. +/// +/// \param returnURL The URL the customer should be redirected to after they have +/// successfully verified the payment. +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values ++ (STPSourceParams * _Nonnull)alipayReusableParamsWithCurrency:(NSString * _Nonnull)currency returnURL:(NSString * _Nonnull)returnURL SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a P24 source +/// seealso: +/// https://stripe.com/docs/sources/p24#create-source +/// \param amount The amount to charge the customer. +/// +/// \param currency The currency the payment is being created in (this must be +/// EUR or PLN) +/// +/// \param email The email address of the account holder. +/// +/// \param name The full name of the account holder (optional). +/// +/// \param returnURL The URL the customer should be redirected to after they have +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)p24ParamsWithAmount:(NSInteger)amount currency:(NSString * _Nonnull)currency email:(NSString * _Nonnull)email name:(NSString * _Nullable)name returnURL:(NSString * _Nonnull)returnURL SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a card source created from Visa Checkout. +/// seealso: +/// https://stripe.com/docs/visa-checkout +/// @note Creating an STPSource with these params will give you a +/// source with type == STPSourceTypeCard +/// \param callId The callId property from a VisaCheckoutResult object. +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)visaCheckoutParamsWithCallId:(NSString * _Nonnull)callId SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a card source created from Masterpass. +/// seealso: +/// https://stripe.com/docs/masterpass +/// @note Creating an STPSource with these params will give you a +/// source with type == STPSourceTypeCard +/// \param cartId The cartId from a MCCCheckoutResponse object. +/// +/// \param transactionId The transactionid from a MCCCheckoutResponse object. +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)masterpassParamsWithCartId:(NSString * _Nonnull)cartId transactionId:(NSString * _Nonnull)transactionId SWIFT_WARN_UNUSED_RESULT; +/// Create params for an EPS source +/// seealso: +/// https://stripe.com/docs/sources/eps +/// \param amount The amount to charge the customer. +/// +/// \param name The full name of the account holder. +/// +/// \param returnURL The URL the customer should be redirected to +/// after the authorization process. +/// +/// \param statementDescriptor A custom statement descriptor for the +/// payment (optional). +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)epsParamsWithAmount:(NSInteger)amount name:(NSString * _Nonnull)name returnURL:(NSString * _Nonnull)returnURL statementDescriptor:(NSString * _Nullable)statementDescriptor SWIFT_WARN_UNUSED_RESULT; +/// Create params for a Multibanco source +/// seealso: +/// https://stripe.com/docs/sources/multibanco +/// \param amount The amount to charge the customer. +/// +/// \param returnURL The URL the customer should be redirected to after the +/// authorization process. +/// +/// \param email The full email address of the customer. +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)multibancoParamsWithAmount:(NSInteger)amount returnURL:(NSString * _Nonnull)returnURL email:(NSString * _Nonnull)email SWIFT_WARN_UNUSED_RESULT; +/// Create params for a WeChat Pay native app redirect source +/// @note This feature is in private beta. For participating users, see +/// https://stripe.com/docs/sources/wechat-pay/ios +/// \param amount The amount to charge the customer. +/// +/// \param currency The currency of the payment +/// +/// \param appId Your WeChat-provided application id. WeChat Pay uses +/// this as the redirect URL scheme +/// +/// \param statementDescriptor A custom statement descriptor for the payment (optional). +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)wechatPayParamsWithAmount:(NSInteger)amount currency:(NSString * _Nonnull)currency appId:(NSString * _Nonnull)appId statementDescriptor:(NSString * _Nullable)statementDescriptor SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// Private setter allows for setting the name of the app in the returnURL so +/// that it can be displayed on hooks.stripe.com if the automatic redirect back +/// to the app fails. +/// We intercept the reading of redirect dictionary from STPFormEncoder and replace +/// the value of return_url if necessary +- (NSDictionary * _Nonnull)redirectDictionaryWithMerchantNameIfNecessary SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +@end + + + +/// Information related to a source’s receiver flow. +SWIFT_CLASS("_TtC6Stripe17STPSourceReceiver") +@interface STPSourceReceiver : NSObject +/// The address of the receiver source. This is the value that should be communicated to the customer to send their funds to. +@property (nonatomic, readonly, copy) NSString * _Nullable address; +/// The total amount charged by you. +@property (nonatomic, readonly, strong) NSNumber * _Nullable amountCharged; +/// The total amount received by the receiver source. +@property (nonatomic, readonly, strong) NSNumber * _Nullable amountReceived; +/// The total amount that was returned to the customer. +@property (nonatomic, readonly, strong) NSNumber * _Nullable amountReturned; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +enum STPSourceRedirectStatus : NSInteger; + +/// Information related to a source’s redirect flow. +SWIFT_CLASS("_TtC6Stripe17STPSourceRedirect") +@interface STPSourceRedirect : NSObject +/// The URL you provide to redirect the customer to after they authenticated their payment. +@property (nonatomic, readonly, copy) NSURL * _Nonnull returnURL; +/// The status of the redirect. +@property (nonatomic, readonly) enum STPSourceRedirectStatus status; +/// The URL provided to you to redirect a customer to as part of a redirect authentication flow. +@property (nonatomic, readonly, copy) NSURL * _Nonnull url; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// Redirect status types for a Source. +typedef SWIFT_ENUM(NSInteger, STPSourceRedirectStatus, open) { +/// The redirect is pending. + STPSourceRedirectStatusPending = 0, +/// The redirect has succeeded. + STPSourceRedirectStatusSucceeded = 1, +/// The redirect has failed. + STPSourceRedirectStatusFailed = 2, +/// The redirect should not be used. + STPSourceRedirectStatusNotRequired = 3, +/// The state of the redirect is unknown. + STPSourceRedirectStatusUnknown = 4, +}; + + +/// This class provides typed access to the contents of an STPSource details +/// dictionary for SEPA Debit sources. +SWIFT_CLASS("_TtC6Stripe25STPSourceSEPADebitDetails") +@interface STPSourceSEPADebitDetails : NSObject +/// You cannot directly instantiate an STPSourceSEPADebitDetails. +/// You should only use one that is part of an existing STPSource object. +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// The last 4 digits of the account number. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// The account’s bank code. +@property (nonatomic, readonly, copy) NSString * _Nullable bankCode; +/// Two-letter ISO code representing the country of the bank account. +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// The account’s fingerprint. +@property (nonatomic, readonly, copy) NSString * _Nullable fingerprint; +/// The reference of the mandate accepted by your customer. +@property (nonatomic, readonly, copy) NSString * _Nullable mandateReference; +/// The details of the mandate accepted by your customer. +@property (nonatomic, readonly, copy) NSURL * _Nullable mandateURL; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// Status types for a Source +typedef SWIFT_ENUM(NSInteger, STPSourceStatus, open) { +/// The source has been created and is awaiting customer action. + STPSourceStatusPending = 0, +/// The source is ready to use. The customer action has been completed or the +/// payment method requires no customer action. + STPSourceStatusChargeable = 1, +/// The source has been used. This status only applies to single-use sources. + STPSourceStatusConsumed = 2, +/// The source, which was chargeable, has expired because it was not used to +/// make a charge request within a specified amount of time. + STPSourceStatusCanceled = 3, +/// Your customer has not taken the required action or revoked your access +/// (e.g., did not authorize the payment with their bank or canceled their +/// mandate acceptance for SEPA direct debits). + STPSourceStatusFailed = 4, +/// The source status is unknown. + STPSourceStatusUnknown = 5, +}; + +/// Types for a Source +/// seealso: +/// https://stripe.com/docs/sources +typedef SWIFT_ENUM(NSInteger, STPSourceType, open) { +/// A Bancontact source. - seealso: https://stripe.com/docs/sources/bancontact + STPSourceTypeBancontact = 0, +/// A card source. - seealso: https://stripe.com/docs/sources/cards + STPSourceTypeCard = 1, +/// A Giropay source. - seealso: https://stripe.com/docs/sources/giropay + STPSourceTypeGiropay = 2, +/// An iDEAL source. - seealso: https://stripe.com/docs/sources/ideal + STPSourceTypeiDEAL SWIFT_COMPILE_NAME("iDEAL") = 3, +/// A SEPA Direct Debit source. - seealso: https://stripe.com/docs/sources/sepa-debit + STPSourceTypeSEPADebit = 4, +/// A Sofort source. - seealso: https://stripe.com/docs/sources/sofort + STPSourceTypeSofort = 5, +/// A 3DS card source. - seealso: https://stripe.com/docs/sources/three-d-secure + STPSourceTypeThreeDSecure = 6, +/// An Alipay source. - seealso: https://stripe.com/docs/sources/alipay + STPSourceTypeAlipay = 7, +/// A P24 source. - seealso: https://stripe.com/docs/sources/p24 + STPSourceTypeP24 = 8, +/// An EPS source. - seealso: https://stripe.com/docs/sources/eps + STPSourceTypeEPS = 9, +/// A Multibanco source. - seealso: https://stripe.com/docs/sources/multibanco + STPSourceTypeMultibanco = 10, +/// A WeChat Pay source. - seealso: https://stripe.com/docs/sources/wechat-pay + STPSourceTypeWeChatPay = 11, +/// A Klarna source. - seealso: https://stripe.com/docs/sources/klarna + STPSourceTypeKlarna = 12, +/// An unknown type of source. + STPSourceTypeUnknown = 13, +}; + +/// Usage types for a Source +typedef SWIFT_ENUM(NSInteger, STPSourceUsage, open) { +/// The source can be reused. + STPSourceUsageReusable = 0, +/// The source can only be used once. + STPSourceUsageSingleUse = 1, +/// The source’s usage is unknown. + STPSourceUsageUnknown = 2, +}; + +enum STPSourceVerificationStatus : NSInteger; + +/// Information related to a source’s verification flow. +SWIFT_CLASS("_TtC6Stripe21STPSourceVerification") +@interface STPSourceVerification : NSObject +/// The number of attempts remaining to authenticate the source object with a +/// verification code. +@property (nonatomic, readonly, strong) NSNumber * _Nullable attemptsRemaining; +/// The status of the verification. +@property (nonatomic, readonly) enum STPSourceVerificationStatus status; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// Verification status types for a Source. +typedef SWIFT_ENUM(NSInteger, STPSourceVerificationStatus, open) { +/// The verification is pending. + STPSourceVerificationStatusPending = 0, +/// The verification has succeeeded. + STPSourceVerificationStatusSucceeded = 1, +/// The verification has failed. + STPSourceVerificationStatusFailed = 2, +/// The state of the verification is unknown. + STPSourceVerificationStatusUnknown = 3, +}; + + +/// Details of a WeChat Pay Source. +SWIFT_CLASS("_TtC6Stripe25STPSourceWeChatPayDetails") +@interface STPSourceWeChatPayDetails : NSObject +/// A URL to the WeChat App. +/// Use STPRedirectContext instead of redirecting users yourself. +@property (nonatomic, readonly, copy) NSString * _Nullable weChatAppURL; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// :nodoc: +SWIFT_CLASS("_TtC6Stripe22STPStringFromCardBrand") SWIFT_DEPRECATED_MSG("STPStringFromCardBrand has been replaced with STPCardBrandUtilities.stringFrom(brand)") +@interface STPStringFromCardBrand : NSObject +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// STPTheme objects can be used to visually style Stripe-provided UI. See https://stripe.com/docs/mobile/ios/standard#theming for more information. +SWIFT_CLASS("_TtC6Stripe8STPTheme") +@interface STPTheme : NSObject +/// The default theme used by all Stripe UI. All themable UI classes, such as STPAddCardViewController, have one initializer that takes a theme and one that does not. If you use the one that does not, the default theme will be used to customize that view controller’s appearance. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPTheme * _Nonnull defaultTheme;) ++ (STPTheme * _Nonnull)defaultTheme SWIFT_WARN_UNUSED_RESULT; +/// The primary background color of the theme. This will be used as the backgroundColor for any views with this theme. +@property (nonatomic, strong) UIColor * _Nonnull primaryBackgroundColor; +/// The secondary background color of this theme. This will be used as the backgroundColor for any supplemental views inside a view with this theme - for example, a UITableView will set it’s cells’ background color to this value. +@property (nonatomic, strong) UIColor * _Nonnull secondaryBackgroundColor; +/// This color is automatically derived by reducing the alpha of the primaryBackgroundColor and is used as a section border color in table view cells. +@property (nonatomic, readonly, strong) UIColor * _Nonnull tertiaryBackgroundColor; +/// This color is automatically derived by reducing the brightness of the primaryBackgroundColor and is used as a separator color in table view cells. +@property (nonatomic, readonly, strong) UIColor * _Nonnull quaternaryBackgroundColor; +/// The primary foreground color of this theme. This will be used as the text color for any important labels in a view with this theme (such as the text color for a text field that the user needs to fill out). +@property (nonatomic, strong) UIColor * _Nonnull primaryForegroundColor; +/// The secondary foreground color of this theme. This will be used as the text color for any supplementary labels in a view with this theme (such as the placeholder color for a text field that the user needs to fill out). +@property (nonatomic, strong) UIColor * _Nonnull secondaryForegroundColor; +/// This color is automatically derived from the secondaryForegroundColor with a lower alpha component, used for disabled text. +@property (nonatomic, readonly, strong) UIColor * _Nonnull tertiaryForegroundColor; +/// The accent color of this theme - it will be used for any buttons and other elements on a view that are important to highlight. +@property (nonatomic, strong) UIColor * _Nonnull accentColor; +/// The error color of this theme - it will be used for rendering any error messages or views. +@property (nonatomic, strong) UIColor * _Nonnull errorColor; +/// The font to be used for all views using this theme. Make sure to select an appropriate size. +@property (nonatomic, strong) UIFont * _Nonnull font; +/// The medium-weight font to be used for all bold text in views using this theme. Make sure to select an appropriate size. +@property (nonatomic, strong) UIFont * _Nonnull emphasisFont; +/// The navigation bar style to use for any view controllers presented modally +/// by the SDK. The default value will be determined based on the brightness +/// of the theme’s secondaryBackgroundColor. +@property (nonatomic) UIBarStyle barStyle; +/// A Boolean value indicating whether the navigation bar for any view controllers +/// presented modally by the SDK should be translucent. The default value is YES. +@property (nonatomic) BOOL translucentNavigationBar; +/// This font is automatically derived from the font, with a slightly lower point size, and will be used for supplementary labels. +@property (nonatomic, readonly, strong) UIFont * _Nonnull smallFont; +/// This font is automatically derived from the font, with a larger point size, and will be used for large labels such as SMS code entry. +@property (nonatomic, readonly, strong) UIFont * _Nonnull largeFont; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPTheme (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +@end + +enum STPThreeDSCustomizationButtonType : NSInteger; +enum STPThreeDSButtonTitleStyle : NSInteger; + +/// A customization object to use to configure the UI of a button. +SWIFT_CLASS("_TtC6Stripe29STPThreeDSButtonCustomization") +@interface STPThreeDSButtonCustomization : NSObject +/// The default settings for the provided button type. ++ (STPThreeDSButtonCustomization * _Nonnull)defaultSettingsForButtonType:(enum STPThreeDSCustomizationButtonType)type SWIFT_WARN_UNUSED_RESULT; +/// Initializes an instance of STDSButtonCustomization with the given backgroundColor and colorRadius. +- (nonnull instancetype)initWithBackgroundColor:(UIColor * _Nonnull)backgroundColor cornerRadius:(CGFloat)cornerRadius OBJC_DESIGNATED_INITIALIZER; +/// The background color of the button. +/// The default for .resend and .cancel is clear. +/// The default for .submit, .continue, and .next is blue. +@property (nonatomic, strong) UIColor * _Nonnull backgroundColor; +/// The corner radius of the button. Defaults to 8. +@property (nonatomic) CGFloat cornerRadius; +/// The capitalization style of the button title. +@property (nonatomic) enum STPThreeDSButtonTitleStyle titleStyle; +/// The font of the title. +@property (nonatomic, strong) UIFont * _Nullable font; +/// The text color of the title. +@property (nonatomic, strong) UIColor * _Nullable textColor; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// An enumeration of the case transformations that can be applied to the button’s title +typedef SWIFT_ENUM(NSInteger, STPThreeDSButtonTitleStyle, open) { +/// Default style, doesn’t modify the title + STPThreeDSButtonTitleStyleDefault = 0, +/// Applies localizedUppercaseString to the title + STPThreeDSButtonTitleStyleUppercase = 1, +/// Applies localizedLowercaseString to the title + STPThreeDSButtonTitleStyleLowercase = 2, +/// Applies localizedCapitalizedString to the title + STPThreeDSButtonTitleStyleSentenceCapitalized = 3, +}; + +/// An enum that defines the different types of buttons that are able to be customized. +typedef SWIFT_ENUM(NSInteger, STPThreeDSCustomizationButtonType, open) { +/// The submit button type. + STPThreeDSCustomizationButtonTypeSubmit = 0, +/// The continue button type. + STPThreeDSCustomizationButtonTypeContinue = 1, +/// The next button type. + STPThreeDSCustomizationButtonTypeNext = 2, +/// The cancel button type. + STPThreeDSCustomizationButtonTypeCancel = 3, +/// The resend button type. + STPThreeDSCustomizationButtonTypeResend = 4, +}; + +@class STPThreeDSUICustomization; + +/// STPThreeDSCustomizationSettings provides customization options for 3DS2 authentication flows in your app. +SWIFT_CLASS("_TtC6Stripe31STPThreeDSCustomizationSettings") +@interface STPThreeDSCustomizationSettings : NSObject +/// Returns an STPThreeDSCustomizationSettings preconfigured with the default +/// Stripe UI settings and a 10 minute authenticationTimeout. +/// @deprecated Use STPThreeDSCustomizationSettings() instead. The default settings are the same. ++ (STPThreeDSCustomizationSettings * _Nonnull)defaultSettings SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("Use STPThreeDSCustomizationSettings() instead of STPThreeDSCustomizationSettings.defaultSettings()."); +/// uiCustomization can be used to provide custom UI settings for the authentication +/// challenge screens presented during a Three Domain Secure authentication. For more information see +/// our guide on supporting 3DS2 in your iOS application. +/// Note: It’s important to configure this object appropriately before calling any STPPaymentHandler APIs. +/// The API makes a copy of the customization settings you provide; it ignores any subsequent changes you +/// make to your STPThreeDSUICustomization instance. +/// Defaults to STPThreeDSUICustomization.defaultSettings(). +@property (nonatomic, strong) STPThreeDSUICustomization * _Nonnull uiCustomization; +/// authenticationTimeout is the total time allowed for a user to complete a 3DS2 authentication +/// interaction, in minutes. This value must be at least 5 minutes. +/// Defaults to 10 minutes. +@property (nonatomic) NSInteger authenticationTimeout; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// The Challenge view displays a footer with additional details that +/// expand when tapped. This object configures the appearance of that view. +SWIFT_CLASS("_TtC6Stripe29STPThreeDSFooterCustomization") +@interface STPThreeDSFooterCustomization : NSObject +/// The default settings. ++ (STPThreeDSFooterCustomization * _Nonnull)defaultSettings SWIFT_WARN_UNUSED_RESULT; +/// The background color of the footer. +/// Defaults to gray. +@property (nonatomic, strong) UIColor * _Nonnull backgroundColor; +/// The color of the chevron. Defaults to a dark gray. +@property (nonatomic, strong) UIColor * _Nonnull chevronColor; +/// The color of the heading text. Defaults to black. +@property (nonatomic, strong) UIColor * _Nonnull headingTextColor; +/// The font to use for the heading text. +@property (nonatomic, strong) UIFont * _Nonnull headingFont; +/// The font of the text. +@property (nonatomic, strong) UIFont * _Nullable font; +/// The color of the text. +@property (nonatomic, strong) UIColor * _Nullable textColor; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A customization object to use to configure the UI of a text label. +SWIFT_CLASS("_TtC6Stripe28STPThreeDSLabelCustomization") +@interface STPThreeDSLabelCustomization : NSObject +/// The default settings. ++ (STPThreeDSLabelCustomization * _Nonnull)defaultSettings SWIFT_WARN_UNUSED_RESULT; +/// The font to use for heading text. +@property (nonatomic, strong) UIFont * _Nonnull headingFont; +/// The color of heading text. Defaults to black. +@property (nonatomic, strong) UIColor * _Nonnull headingTextColor; +/// The font to use for non-heading text. +@property (nonatomic, strong) UIFont * _Nullable font; +/// The color to use for non-heading text. Defaults to black. +@property (nonatomic, strong) UIColor * _Nullable textColor; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A customization object to use to configure a UINavigationBar. +SWIFT_CLASS("_TtC6Stripe36STPThreeDSNavigationBarCustomization") +@interface STPThreeDSNavigationBarCustomization : NSObject +/// The default settings. ++ (STPThreeDSNavigationBarCustomization * _Nonnull)defaultSettings SWIFT_WARN_UNUSED_RESULT; +/// The tint color of the navigation bar background. +/// Defaults to nil. +@property (nonatomic, strong) UIColor * _Nullable barTintColor; +/// The navigation bar style. +/// Defaults to UIBarStyleDefault. +/// @note This property controls the UIStatusBarStyle. Set this to UIBarStyleBlack +/// to change the statusBarStyle to UIStatusBarStyleLightContent - even if you also set +/// barTintColor to change the actual color of the navigation bar. +@property (nonatomic) UIBarStyle barStyle; +/// A Boolean value indicating whether the navigation bar is translucent or not. +/// Defaults to YES. +@property (nonatomic) BOOL translucent; +/// The text to display in the title of the navigation bar. +/// Defaults to “Secure checkout”. +@property (nonatomic, copy) NSString * _Nonnull headerText; +/// The text to display for the button in the navigation bar. +/// Defaults to “Cancel”. +@property (nonatomic, copy) NSString * _Nonnull buttonText; +/// The font to use for the title. Defaults to nil. +@property (nonatomic, strong) UIFont * _Nullable font; +/// The color to use for the title. Defaults to nil. +@property (nonatomic, strong) UIColor * _Nullable textColor; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A customization object that configures the appearance of +/// radio buttons and checkboxes. +SWIFT_CLASS("_TtC6Stripe32STPThreeDSSelectionCustomization") +@interface STPThreeDSSelectionCustomization : NSObject +/// The default settings. ++ (STPThreeDSSelectionCustomization * _Nonnull)defaultSettings SWIFT_WARN_UNUSED_RESULT; +/// The primary color of the selected state. +/// Defaults to blue. +@property (nonatomic, strong) UIColor * _Nonnull primarySelectedColor; +/// The secondary color of the selected state (e.g. the checkmark color). +/// Defaults to white. +@property (nonatomic, strong) UIColor * _Nonnull secondarySelectedColor; +/// The background color displayed in the unselected state. +/// Defaults to light blue. +@property (nonatomic, strong) UIColor * _Nonnull unselectedBackgroundColor; +/// The color of the border drawn around the view in the unselected state. +/// Defaults to blue. +@property (nonatomic, strong) UIColor * _Nonnull unselectedBorderColor; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A customization object to use to configure the UI of a text field. +SWIFT_CLASS("_TtC6Stripe32STPThreeDSTextFieldCustomization") +@interface STPThreeDSTextFieldCustomization : NSObject +/// The default settings. ++ (STPThreeDSTextFieldCustomization * _Nonnull)defaultSettings SWIFT_WARN_UNUSED_RESULT; +/// The border width of the text field. Defaults to 2. +@property (nonatomic) CGFloat borderWidth; +/// The color of the border of the text field. Defaults to clear. +@property (nonatomic, strong) UIColor * _Nonnull borderColor; +/// The corner radius of the edges of the text field. Defaults to 8. +@property (nonatomic) CGFloat cornerRadius; +/// The appearance of the keyboard. Defaults to UIKeyboardAppearanceDefault. +@property (nonatomic) UIKeyboardAppearance keyboardAppearance; +/// The color of the placeholder text. Defaults to light gray. +@property (nonatomic, strong) UIColor * _Nonnull placeholderTextColor; +/// The font to use for text. +@property (nonatomic, strong) UIFont * _Nullable font; +/// The color to use for the text. Defaults to black. +@property (nonatomic, strong) UIColor * _Nullable textColor; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// The STPThreeDSUICustomization provides configuration for UI elements displayed during 3D Secure authentication. +/// Note: It’s important to configure this object appropriately before calling any STPPaymentHandler APIs. +/// The API makes a copy of the customization settings you provide; it ignores any subsequent changes you +/// make to your STPThreeDSUICustomization instance. +/// seealso: +/// https://stripe.com/docs/mobile/ios/authentication +SWIFT_CLASS("_TtC6Stripe25STPThreeDSUICustomization") +@interface STPThreeDSUICustomization : NSObject +/// The default settings. See individual properties for their default values. ++ (STPThreeDSUICustomization * _Nonnull)defaultSettings SWIFT_WARN_UNUSED_RESULT; +/// Provides custom settings for the UINavigationBar of all UIViewControllers displayed during 3D Secure authentication. +/// The default is STPThreeDSNavigationBarCustomization.defaultSettings(). +@property (nonatomic, strong) STPThreeDSNavigationBarCustomization * _Nonnull navigationBarCustomization; +/// Provides custom settings for labels. +/// The default is STPThreeDSLabelCustomization.defaultSettings(). +@property (nonatomic, strong) STPThreeDSLabelCustomization * _Nonnull labelCustomization; +/// Provides custom settings for text fields. +/// The default is STPThreeDSTextFieldCustomization.defaultSettings(). +@property (nonatomic, strong) STPThreeDSTextFieldCustomization * _Nonnull textFieldCustomization; +/// The primary background color of all UIViewControllers displayed during 3D Secure authentication. +/// Defaults to white. +@property (nonatomic, strong) UIColor * _Nonnull backgroundColor; +/// Provides custom settings for the footer the challenge view can display containing additional details. +/// The default is STPThreeDSFooterCustomization.defaultSettings(). +@property (nonatomic, strong) STPThreeDSFooterCustomization * _Nonnull footerCustomization; +/// Sets a given button customization for the specified type. +/// \param buttonCustomization The buttom customization to use. +/// +/// \param buttonType The type of button to use the customization for. +/// +- (void)setButtonCustomization:(STPThreeDSButtonCustomization * _Nonnull)buttonCustomization forType:(enum STPThreeDSCustomizationButtonType)buttonType; +/// Retrieves a button customization object for the given button type. +/// seealso: +/// STPThreeDSButtonCustomization +/// \param buttonType The button type to retrieve a customization object for. +/// +/// +/// returns: +/// A button customization object, or the default if none was set. +- (STPThreeDSButtonCustomization * _Nonnull)buttonCustomizationForButtonType:(enum STPThreeDSCustomizationButtonType)buttonType SWIFT_WARN_UNUSED_RESULT; +/// Provides custom settings for radio buttons and checkboxes. +/// The default is STPThreeDSSelectionCustomization.defaultSettings(). +@property (nonatomic, strong) STPThreeDSSelectionCustomization * _Nonnull selectionCustomization; +/// The style of UIActivityIndicatorViews displayed. +/// This should contrast with backgroundColor. Defaults to gray. +@property (nonatomic) UIActivityIndicatorViewStyle activityIndicatorViewStyle; +/// The style of the UIBlurEffect displayed underneath the UIActivityIndicatorView. +/// Defaults to UIBlurEffectStyleLight. +@property (nonatomic) UIBlurEffectStyle blurStyle; +/// :nodoc: +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +enum STPTokenType : NSInteger; + +/// A token returned from submitting payment details to the Stripe API. You should not have to instantiate one of these directly. +SWIFT_CLASS("_TtC6Stripe8STPToken") +@interface STPToken : NSObject +/// You cannot directly instantiate an STPToken. You should only use one that has been returned from an STPAPIClient callback. +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// The value of the token. You can store this value on your server and use it to make charges and customers. +/// seealso: +/// https://stripe.com/docs/charges +@property (nonatomic, readonly, copy) NSString * _Nonnull tokenId; +/// Whether or not this token was created in livemode. Will be YES if you used your Live Publishable Key, and NO if you used your Test Publishable Key. +@property (nonatomic, readonly) BOOL livemode; +/// The type of this token. +@property (nonatomic, readonly) enum STPTokenType type; +/// The credit card details that were used to create the token. Will only be set if the token was created via a credit card or Apple Pay, otherwise it will be +/// nil. +@property (nonatomic, readonly, strong) STPCard * _Nullable card; +/// The bank account details that were used to create the token. Will only be set if the token was created with a bank account, otherwise it will be nil. +@property (nonatomic, readonly, strong) STPBankAccount * _Nullable bankAccount; +/// When the token was created. +@property (nonatomic, readonly, copy) NSDate * _Nullable created; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull debugDescription; +/// :nodoc: +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) NSUInteger hash; +@property (nonatomic, readonly, copy) NSString * _Nonnull stripeID; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// Possible Token types +typedef SWIFT_ENUM(NSInteger, STPTokenType, open) { +/// Account token type + STPTokenTypeAccount = 0, +/// Bank account token type + STPTokenTypeBankAccount = 1, +/// Card token type + STPTokenTypeCard = 2, +/// PII token type + STPTokenTypePII = 3, +/// CVC update token type + STPTokenTypeCvcUpdate = 4, +}; + + +/// You can use this class to specify information that you’ve already collected +/// from your user. You can then set the prefilledInformation property on +/// STPPaymentContext, STPAddCardViewController, etc and it will pre-fill +/// this information whenever possible. +SWIFT_CLASS("_TtC6Stripe18STPUserInformation") +@interface STPUserInformation : NSObject +/// The user’s billing address. When set, the add card form will be filled with +/// this address. The user will also have the option to fill their shipping address +/// using this address. +/// @note Set this using setBillingAddressWithBillingDetails: to use the billing +/// details from an STPPaymentMethod or STPPaymentMethodParams instance. +@property (nonatomic, strong) STPAddress * _Nullable billingAddress; +/// The user’s shipping address. When set, the shipping address form will be filled +/// with this address. The user will also have the option to fill their billing +/// address using this address. +@property (nonatomic, strong) STPAddress * _Nullable shippingAddress; +/// A convenience method to populate billingAddress with a PaymentMethod’s billing details. +/// @note Calling this overwrites the value of billingAddress. +- (void)setBillingAddressWithBillingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails; +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + + + + + + + +@interface UINavigationBar (SWIFT_EXTENSION(Stripe)) +/// Sets the navigation bar’s appearance to the desired theme. This will affect the +/// bar’s tintColor and barTintColor properties, as well as the color of the +/// single-pixel line at the bottom of the navbar. +/// \param theme the theme to use to style the navigation bar. - seealso: STPTheme.h +/// @deprecated Use the stp_theme property instead +/// +- (void)stp_setTheme:(STPTheme * _Nonnull)theme SWIFT_DEPRECATED_MSG("Use the `stp_theme` property instead"); +/// Sets the navigation bar’s appearance to the desired theme. This will affect the bar’s tintColor and barTintColor properties, as well as the color of the single-pixel line at the bottom of the navbar. +/// Stripe view controllers will use their navigation bar’s theme for their UIBarButtonItems instead of their own theme if it is not nil. +/// seealso: +/// STPTheme.h +@property (nonatomic, strong) STPTheme * _Nullable stp_theme; +@end + + + + + + + + + + + + + + + + + + +@class PKPaymentRequest; +@protocol STPApplePayContextDelegate; +@class UIWindow; + +/// An Objective-C bridge for STPApplePayContext. +/// :nodoc: +SWIFT_CLASS_NAMED("_stpobjc_APContext") +@interface STPApplePayContext : NSObject +/// Initializes this class. +/// @note This may return nil if the request is invalid e.g. the user is restricted by parental controls, or can’t make payments on any of the request’s supported networks +/// \param paymentRequest The payment request to use with Apple Pay. +/// +/// \param delegate The delegate. +/// +- (nullable instancetype)initWithPaymentRequest:(PKPaymentRequest * _Nonnull)paymentRequest delegate:(id _Nullable)delegate OBJC_DESIGNATED_INITIALIZER; +/// Presents the Apple Pay sheet from the specified view controller, starting the payment process. +/// @note This method should only be called once; create a new instance of STPApplePayContext every time you present Apple Pay. +/// @deprecated A presenting UIViewController is no longer needed. Use presentApplePay(completion:) instead. +/// \param viewController The UIViewController instance to present the Apple Pay sheet on +/// +/// \param completion Called after the Apple Pay sheet is presented +/// +- (void)presentApplePayOnViewController:(UIViewController * _Nonnull)viewController completion:(void (^ _Nullable)(void))completion SWIFT_DEPRECATED_MSG("Use `presentApplePay(completion:)` instead.", "presentApplePayWithCompletion:"); +/// Presents the Apple Pay sheet from the key window, starting the payment process. +/// @note This method should only be called once; create a new instance of STPApplePayContext every time you present Apple Pay. +/// \param completion Called after the Apple Pay sheet is presented +/// +- (void)presentApplePayWithCompletion:(void (^ _Nullable)(void))completion SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable,message="Use `presentApplePay(from:completion:)` in App Extensions.") SWIFT_AVAILABILITY(ios_app_extension,unavailable,message="Use `presentApplePay(from:completion:)` in App Extensions."); +/// Presents the Apple Pay sheet from the specified window, starting the payment process. +/// @note This method should only be called once; create a new instance of STPApplePayContext every time you present Apple Pay. +/// \param window The UIWindow to host the Apple Pay sheet +/// +/// \param completion Called after the Apple Pay sheet is presented +/// +- (void)presentApplePayFromWindow:(UIWindow * _Nullable)window withCompletion:(void (^ _Nullable)(void))completion; +/// The STPAPIClient instance to use to make API requests to Stripe. +/// Defaults to STPAPIClient.shared. +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@class PKPaymentRequestShippingMethodUpdate; +@class PKPaymentRequestShippingContactUpdate; + +/// Implement the required methods of this delegate to supply a PaymentIntent to STPApplePayContext and be notified of the completion of the Apple Pay payment. +/// You may also implement the optional delegate methods to handle shipping methods and shipping address changes e.g. to verify you can ship to the address, or update the payment amount. +/// :nodoc: +SWIFT_PROTOCOL_NAMED("_stpobjc_APContextDelegate") +@protocol STPApplePayContextDelegate +/// Called after the customer has authorized Apple Pay. Implement this method to call the completion block with the client secret of a PaymentIntent or SetupIntent. +/// \param paymentMethod The PaymentMethod that represents the customer’s Apple Pay payment method. +/// If you create the PaymentIntent with confirmation_method=manual, pass paymentMethod.stripeId as the payment_method and confirm=true. Otherwise, you can ignore this parameter. +/// +/// \param paymentInformation The underlying PKPayment created by Apple Pay. +/// If you create the PaymentIntent with confirmation_method=manual, you can collect shipping information using its shippingContact and shippingMethod properties. +/// +/// \param completion Call this with the PaymentIntent or SetupIntent client secret, or the error that occurred creating the PaymentIntent or SetupIntent. +/// +- (void)applePayContext:(STPApplePayContext * _Nonnull)context didCreatePaymentMethod:(STPPaymentMethod * _Nonnull)paymentMethod paymentInformation:(PKPayment * _Nonnull)paymentInformation completion:(void (^ _Nonnull)(NSString * _Nullable, NSError * _Nullable))completion; +/// Called after the Apple Pay sheet is dismissed with the result of the payment. +/// Your implementation could stop a spinner and display a receipt view or error to the customer, for example. +/// \param status The status of the payment +/// +/// \param error The error that occurred, if any. +/// +- (void)applePayContext:(STPApplePayContext * _Nonnull)context didCompleteWithStatus:(enum STPPaymentStatus)status error:(NSError * _Nullable)error; +@optional +/// Called when the user selects a new shipping method. The delegate should determine +/// shipping costs based on the shipping method and either the shipping address supplied in the original +/// PKPaymentRequest or the address fragment provided by the last call to paymentAuthorizationController: +/// didSelectShippingContact:completion:. +/// You must invoke the completion block with an updated array of PKPaymentSummaryItem objects. +- (void)applePayContext:(STPApplePayContext * _Nonnull)context didSelectShippingMethod:(PKShippingMethod * _Nonnull)shippingMethod handler:(void (^ _Nonnull)(PKPaymentRequestShippingMethodUpdate * _Nonnull))handler; +/// Called when the user has selected a new shipping address. You should inspect the +/// address and must invoke the completion block with an updated array of PKPaymentSummaryItem objects. +/// @note To maintain privacy, the shipping information is anonymized. For example, in the United States it only includes the city, state, and zip code. This provides enough information to calculate shipping costs, without revealing sensitive information until the user actually approves the purchase. +/// Receive full shipping information in the paymentInformation passed to applePayContext:didCreatePaymentMethod:paymentInformation:completion: +- (void)applePayContext:(STPApplePayContext * _Nonnull)context didSelectShippingContact:(PKContact * _Nonnull)contact handler:(void (^ _Nonnull)(PKPaymentRequestShippingContactUpdate * _Nonnull))handler; +@end + +@class STPAppInfo; + +/// An Objective-C bridge for STPAPIClient. +/// :nodoc: +SWIFT_CLASS_NAMED("_stpobjc_STPAPIClient") +@interface STPAPIClient : NSObject +/// The current version of this library. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull STPSDKVersion;) ++ (NSString * _Nonnull)STPSDKVersion SWIFT_WARN_UNUSED_RESULT; +/// A shared singleton API client. +/// By default, the SDK uses this instance to make API requests +/// eg in STPPaymentHandler, STPPaymentContext, STPCustomerContext, etc. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPAPIClient * _Nonnull sharedClient;) ++ (STPAPIClient * _Nonnull)sharedClient SWIFT_WARN_UNUSED_RESULT; +/// The client’s publishable key. +/// The default value is StripeAPI.defaultPublishableKey. +@property (nonatomic, copy) NSString * _Nullable publishableKey; +/// The client’s configuration. +/// Defaults to STPPaymentConfiguration.shared. +@property (nonatomic, strong) STPPaymentConfiguration * _Nonnull configuration; +/// In order to perform API requests on behalf of a connected account, e.g. to +/// create a Source or Payment Method on a connected account, set this property to the ID of the +/// account for which this request is being made. +/// seealso: +/// https://stripe.com/docs/connect/authentication#authentication-via-the-stripe-account-header +@property (nonatomic, copy) NSString * _Nullable stripeAccount; +/// Libraries wrapping the Stripe SDK should set this, so that Stripe can contact you about future issues or critical updates. +/// seealso: +/// https://stripe.com/docs/building-plugins#setappinfo +@property (nonatomic, strong) STPAppInfo * _Nullable appInfo; +/// The API version used to communicate with Stripe. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull apiVersion;) ++ (NSString * _Nonnull)apiVersion SWIFT_WARN_UNUSED_RESULT; +/// Initializes an API client with the given publishable key. +/// \param publishableKey The publishable key to use. +/// +/// +/// returns: +/// An instance of STPAPIClient. +- (nonnull instancetype)initWithPublishableKey:(NSString * _Nonnull)publishableKey OBJC_DESIGNATED_INITIALIZER; +/// Initializes an API client with the given configuration. +/// \param configuration The configuration to use. +/// +/// +/// returns: +/// An instance of STPAPIClient. +- (nonnull instancetype)initWithConfiguration:(STPPaymentConfiguration * _Nonnull)configuration OBJC_DESIGNATED_INITIALIZER SWIFT_DEPRECATED_MSG("This initializer previously configured publishableKey and stripeAccount via the STPPaymentConfiguration instance. This behavior is deprecated; set the STPAPIClient configuration, publishableKey, and stripeAccount properties directly on the STPAPIClient instead."); +/// Converts an STPBankAccount object into a Stripe token using the Stripe API. +/// \param bankAccount The user’s bank account details. Cannot be nil. - seealso: https://stripe.com/docs/api#create_bank_account_token +/// +/// \param completion The callback to run with the returned Stripe token (and any errors that may have occurred). +/// +- (void)createTokenWithBankAccount:(STPBankAccountParams * _Nonnull)bankAccount completion:(void (^ _Nonnull)(STPToken * _Nullable, NSError * _Nullable))completion; +/// Converts a personal identification number into a Stripe token using the Stripe API. +/// \param pii The user’s personal identification number. Cannot be nil. - seealso: https://stripe.com/docs/api#create_pii_token +/// +/// \param completion The callback to run with the returned Stripe token (and any errors that may have occurred). +/// +- (void)createTokenWithPersonalIDNumber:(NSString * _Nonnull)pii completion:(void (^ _Nullable)(STPToken * _Nullable, NSError * _Nullable))completion; +/// Converts the last 4 SSN digits into a Stripe token using the Stripe API. +/// \param ssnLast4 The last 4 digits of the user’s SSN. Cannot be nil. +/// +/// \param completion The callback to run with the returned Stripe token (and any errors that may have occurred). +/// +- (void)createTokenWithSSNLast4:(NSString * _Nonnull)ssnLast4 completion:(void (^ _Nonnull)(STPToken * _Nullable, NSError * _Nullable))completion; +/// Converts an STPConnectAccountParams object into a Stripe token using the Stripe API. +/// This allows the connected account to accept the Terms of Service, and/or send Legal Entity information. +/// \param account The Connect Account parameters. Cannot be nil. +/// +/// \param completion The callback to run with the returned Stripe token (and any errors that may have occurred). +/// +- (void)createTokenWithConnectAccount:(STPConnectAccountParams * _Nonnull)account completion:(void (^ _Nullable)(STPToken * _Nullable, NSError * _Nullable))completion; +/// Uses the Stripe file upload API to upload an image. This can be used for +/// identity verification and evidence disputes. +/// seealso: +/// https://stripe.com/docs/file-upload +/// \param image The image to be uploaded. The maximum allowed file size is 4MB +/// for identity documents and 8MB for evidence disputes. Cannot be nil. +/// Your image will be automatically resized down if you pass in one that +/// is too large +/// +/// \param purpose The purpose of this file. This can be either an identifing +/// document or an evidence dispute. +/// +/// \param completion The callback to run with the returned Stripe file +/// (and any errors that may have occurred). +/// +- (void)uploadImage:(UIImage * _Nonnull)image purpose:(enum STPFilePurpose)purpose completion:(void (^ _Nullable)(STPFile * _Nullable, NSError * _Nullable))completion; +/// Converts an STPCardParams object into a Stripe token using the Stripe API. +/// \param cardParams The user’s card details. Cannot be nil. - seealso: https://stripe.com/docs/api#create_card_token +/// +/// \param completion The callback to run with the returned Stripe token (and any errors that may have occurred). +/// +- (void)createTokenWithCard:(STPCardParams * _Nonnull)cardParams completion:(void (^ _Nonnull)(STPToken * _Nullable, NSError * _Nullable))completion; +/// Converts a CVC string into a Stripe token using the Stripe API. +/// \param cvc The CVC/CVV number used to create the token. Cannot be nil. +/// +/// \param completion The callback to run with the returned Stripe token (and any errors that may have occurred). +/// +- (void)createTokenForCVCUpdate:(NSString * _Nonnull)cvc completion:(void (^ _Nullable)(STPToken * _Nullable, NSError * _Nullable))completion; +/// Creates a Source object using the provided details. +/// Note: in order to create a source on a connected account, you can set your +/// API client’s stripeAccount property to the ID of the account. +/// seealso: +/// https://stripe.com/docs/sources/connect#creating-direct-charges +/// \param sourceParams The details of the source to create. Cannot be nil. - seealso: https://stripe.com/docs/api#create_source +/// +/// \param completion The callback to run with the returned Source object, or an error. +/// +- (void)createSourceWithParams:(STPSourceParams * _Nonnull)sourceParams completion:(void (^ _Nonnull)(STPSource * _Nullable, NSError * _Nullable))completion; +/// Retrieves the Source object with the given ID. - seealso: https://stripe.com/docs/api#retrieve_source +/// \param identifier The identifier of the source to be retrieved. Cannot be nil. +/// +/// \param secret The client secret of the source. Cannot be nil. +/// +/// \param completion The callback to run with the returned Source object, or an error. +/// +- (void)retrieveSourceWithId:(NSString * _Nonnull)identifier clientSecret:(NSString * _Nonnull)secret completion:(void (^ _Nonnull)(STPSource * _Nullable, NSError * _Nullable))completion; +/// Starts polling the Source object with the given ID. For payment methods that require +/// additional customer action (e.g. authorizing a payment with their bank), polling +/// allows you to determine if the action was successful. Polling will stop and the +/// provided callback will be called once the source’s status is no longer pending, +/// or if the given timeout is reached and the source is still pending. If polling +/// stops due to an error, the callback will be fired with the latest retrieved +/// source and the error. +/// Note that if a poll is already running for a source, subsequent calls to startPolling +/// with the same source ID will do nothing. +/// \param identifier The identifier of the source to be retrieved. Cannot be nil. +/// +/// \param secret The client secret of the source. Cannot be nil. +/// +/// \param timeout The timeout for the polling operation, in seconds. Timeouts are capped at 5 minutes. +/// +/// \param completion The callback to run with the returned Source object, or an error. +/// +- (void)startPollingSourceWithId:(NSString * _Nonnull)identifier clientSecret:(NSString * _Nonnull)secret timeout:(NSTimeInterval)timeout completion:(void (^ _Nonnull)(STPSource * _Nullable, NSError * _Nullable))completion SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable) SWIFT_AVAILABILITY(ios_app_extension,unavailable); +/// Stops polling the Source object with the given ID. Note that the completion block passed to +/// startPolling will not be fired when stopPolling is called. +/// \param identifier The identifier of the source to be retrieved. Cannot be nil. +/// +- (void)stopPollingSourceWithId:(NSString * _Nonnull)identifier SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable) SWIFT_AVAILABILITY(ios_app_extension,unavailable); +/// Retrieves the PaymentIntent object using the given secret. - seealso: https://stripe.com/docs/api#retrieve_payment_intent +/// \param secret The client secret of the payment intent to be retrieved. Cannot be nil. +/// +/// \param completion The callback to run with the returned PaymentIntent object, or an error. +/// +- (void)retrievePaymentIntentWithClientSecret:(NSString * _Nonnull)secret completion:(void (^ _Nonnull)(STPPaymentIntent * _Nullable, NSError * _Nullable))completion; +/// Retrieves the PaymentIntent object using the given secret. - seealso: https://stripe.com/docs/api#retrieve_payment_intent +/// \param secret The client secret of the payment intent to be retrieved. Cannot be nil. +/// +/// \param expand An array of string keys to expand on the returned PaymentIntent object. These strings should match one or more of the parameter names that are marked as expandable. - seealso: https://stripe.com/docs/api/payment_intents/object +/// +/// \param completion The callback to run with the returned PaymentIntent object, or an error. +/// +- (void)retrievePaymentIntentWithClientSecret:(NSString * _Nonnull)secret expand:(NSArray * _Nullable)expand completion:(void (^ _Nonnull)(STPPaymentIntent * _Nullable, NSError * _Nullable))completion; +/// Confirms the PaymentIntent object with the provided params object. +/// At a minimum, the params object must include the clientSecret. +/// seealso: +/// https://stripe.com/docs/api#confirm_payment_intent +/// @note Use the confirmPayment:withAuthenticationContext:completion: method on STPPaymentHandler instead +/// of calling this method directly. It handles any authentication necessary for you. - seealso: https://stripe.com/docs/mobile/ios/authentication +/// \param paymentIntentParams The STPPaymentIntentParams to pass to /confirm +/// +/// \param completion The callback to run with the returned PaymentIntent object, or an error. +/// +- (void)confirmPaymentIntentWithParams:(STPPaymentIntentParams * _Nonnull)paymentIntentParams completion:(void (^ _Nonnull)(STPPaymentIntent * _Nullable, NSError * _Nullable))completion; +/// Confirms the PaymentIntent object with the provided params object. +/// At a minimum, the params object must include the clientSecret. +/// seealso: +/// https://stripe.com/docs/api#confirm_payment_intent +/// @note Use the confirmPayment:withAuthenticationContext:completion: method on STPPaymentHandler instead +/// of calling this method directly. It handles any authentication necessary for you. - seealso: https://stripe.com/docs/mobile/ios/authentication +/// \param paymentIntentParams The STPPaymentIntentParams to pass to /confirm +/// +/// \param expand An array of string keys to expand on the returned PaymentIntent object. These strings should match one or more of the parameter names that are marked as expandable. - seealso: https://stripe.com/docs/api/payment_intents/object +/// +/// \param completion The callback to run with the returned PaymentIntent object, or an error. +/// +- (void)confirmPaymentIntentWithParams:(STPPaymentIntentParams * _Nonnull)paymentIntentParams expand:(NSArray * _Nullable)expand completion:(void (^ _Nonnull)(STPPaymentIntent * _Nullable, NSError * _Nullable))completion; +/// Retrieves the SetupIntent object using the given secret. - seealso: https://stripe.com/docs/api/setup_intents/retrieve +/// \param secret The client secret of the SetupIntent to be retrieved. Cannot be nil. +/// +/// \param completion The callback to run with the returned SetupIntent object, or an error. +/// +- (void)retrieveSetupIntentWithClientSecret:(NSString * _Nonnull)secret completion:(void (^ _Nonnull)(STPSetupIntent * _Nullable, NSError * _Nullable))completion; +/// Confirms the SetupIntent object with the provided params object. +/// At a minimum, the params object must include the clientSecret. +/// seealso: +/// https://stripe.com/docs/api/setup_intents/confirm +/// @note Use the confirmSetupIntent:withAuthenticationContext:completion: method on STPPaymentHandler instead +/// of calling this method directly. It handles any authentication necessary for you. - seealso: https://stripe.com/docs/mobile/ios/authentication +/// \param setupIntentParams The STPSetupIntentConfirmParams to pass to /confirm +/// +/// \param completion The callback to run with the returned PaymentIntent object, or an error. +/// +- (void)confirmSetupIntentWithParams:(STPSetupIntentConfirmParams * _Nonnull)setupIntentParams completion:(void (^ _Nonnull)(STPSetupIntent * _Nullable, NSError * _Nullable))completion; +/// Creates a PaymentMethod object with the provided params object. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/create +/// \param paymentMethodParams The STPPaymentMethodParams to pass to /v1/payment_methods. Cannot be nil. +/// +/// \param completion The callback to run with the returned PaymentMethod object, or an error. +/// +- (void)createPaymentMethodWithParams:(STPPaymentMethodParams * _Nonnull)paymentMethodParams completion:(void (^ _Nonnull)(STPPaymentMethod * _Nullable, NSError * _Nullable))completion; +/// Creates a Radar Session. +/// note: +/// See https://stripe.com/docs/radar/radar-session +/// note: +/// This API and the guide linked above require special permissions to use. Contact support@stripe.com. +/// note: +/// StripeAPI.advancedFraudSignalsEnabled must be true to use this method. +/// note: +/// See STPRadarSession +/// \param completion The callback to run with the returned STPRadarSession (and any errors that may have occurred). +/// +- (void)createRadarSessionWithCompletion:(void (^ _Nonnull)(STPRadarSession * _Nullable, NSError * _Nullable))completion; +/// Converts a PKPayment object into a Stripe token using the Stripe API. +/// \param payment The user’s encrypted payment information as returned from a PKPaymentAuthorizationController. Cannot be nil. +/// +/// \param completion The callback to run with the returned Stripe token (and any errors that may have occurred). +/// +- (void)createTokenWithPayment:(PKPayment * _Nonnull)payment completion:(void (^ _Nonnull)(STPToken * _Nullable, NSError * _Nullable))completion; +/// Converts a PKPayment object into a Stripe source using the Stripe API. +/// \param payment The user’s encrypted payment information as returned from a PKPaymentAuthorizationController. Cannot be nil. +/// +/// \param completion The callback to run with the returned Stripe source (and any errors that may have occurred). +/// +- (void)createSourceWithPayment:(PKPayment * _Nonnull)payment completion:(void (^ _Nonnull)(STPSource * _Nullable, NSError * _Nullable))completion; +/// Converts a PKPayment object into a Stripe Payment Method using the Stripe API. +/// \param payment The user’s encrypted payment information as returned from a PKPaymentAuthorizationController. Cannot be nil. +/// +/// \param completion The callback to run with the returned Stripe source (and any errors that may have occurred). +/// +- (void)createPaymentMethodWithPayment:(PKPayment * _Nonnull)payment completion:(void (^ _Nonnull)(STPPaymentMethod * _Nullable, NSError * _Nullable))completion; +/// Converts Stripe errors into the appropriate Apple Pay error, for use in PKPaymentAuthorizationResult. +/// If the error can be fixed by the customer within the Apple Pay sheet, we return an NSError that can be displayed in the Apple Pay sheet. +/// Otherwise, the original error is returned, resulting in the Apple Pay sheet being dismissed. You should display the error message to the customer afterwards. +/// Currently, we convert billing address related errors into a PKPaymentError that helpfully points to the billing address field in the Apple Pay sheet. +/// Note that Apple Pay should prevent most card errors (e.g. invalid CVC, expired cards) when you add a card to the wallet. +/// \param stripeError An error from the Stripe SDK. +/// ++ (NSError * _Nullable)pkPaymentErrorForStripeError:(NSError * _Nullable)stripeError SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +/// Libraries wrapping the Stripe SDK should use this object to provide information about the library, and set it +/// in on STPAPIClient. This information is passed to Stripe so that we can contact you about future issues or critical updates. +/// seealso: +/// https://stripe.com/docs/building-plugins#setappinfo +/// :nodoc: +SWIFT_CLASS_NAMED("_stpobjc_STPAppInfo") +@interface STPAppInfo : NSObject +/// Initializes an instance of STPAppInfo. +/// \param name The name of your library (e.g. “MyAwesomeLibrary”). +/// +/// \param partnerId Your Stripe Partner ID (e.g. “pp_partner_1234”). Required for Stripe Verified Partners, optional otherwise. +/// +/// \param version The version of your library (e.g. “1.2.34”). Optional. +/// +/// \param url The website for your library (e.g. “https://myawesomelibrary.info”). Optional. +/// +- (nonnull instancetype)initWithName:(NSString * _Nonnull)name partnerId:(NSString * _Nullable)partnerId version:(NSString * _Nullable)version url:(NSString * _Nullable)url OBJC_DESIGNATED_INITIALIZER; +/// The name of your library (e.g. “MyAwesomeLibrary”). +@property (nonatomic, readonly, copy) NSString * _Nonnull name; +/// Your Stripe Partner ID (e.g. “pp_partner_1234”). +@property (nonatomic, readonly, copy) NSString * _Nullable partnerId; +/// The version of your library (e.g. “1.2.34”). +@property (nonatomic, readonly, copy) NSString * _Nullable version; +/// The website for your library (e.g. “https://myawesomelibrary.info”). +@property (nonatomic, readonly, copy) NSString * _Nullable url; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// :nodoc: +/// Top-level class for Stripe error constants. +SWIFT_CLASS_NAMED("_stpobjc_STPError") +@interface STPError : NSObject +/// All Stripe iOS errors will be under this domain. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull stripeDomain;) ++ (NSString * _Nonnull)stripeDomain SWIFT_WARN_UNUSED_RESULT; +/// A human-readable message providing more details about the error. +/// For card errors, these messages can be shown to your users. +/// seealso: +/// https://stripe.com/docs/api/errors#errors-message +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull errorMessageKey;) ++ (NSString * _Nonnull)errorMessageKey SWIFT_WARN_UNUSED_RESULT; +/// An SDK-supplied “hint” that is intended to help you, the developer, fix the error +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull hintKey;) ++ (NSString * _Nonnull)hintKey SWIFT_WARN_UNUSED_RESULT; +/// What went wrong with your STPCard (e.g., STPInvalidCVC. See below for full list). +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull cardErrorCodeKey;) ++ (NSString * _Nonnull)cardErrorCodeKey SWIFT_WARN_UNUSED_RESULT; +/// Which parameter on the STPCard had an error (e.g., “cvc”). Useful for marking up the +/// right UI element. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull errorParameterKey;) ++ (NSString * _Nonnull)errorParameterKey SWIFT_WARN_UNUSED_RESULT; +/// The error code returned by the Stripe API. +/// seealso: +/// https://stripe.com/docs/api#errors-code +/// seealso: +/// https://stripe.com/docs/error-codes +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull stripeErrorCodeKey;) ++ (NSString * _Nonnull)stripeErrorCodeKey SWIFT_WARN_UNUSED_RESULT; +/// The error type returned by the Stripe API. +/// seealso: +/// https://stripe.com/docs/api#errors-type +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull stripeErrorTypeKey;) ++ (NSString * _Nonnull)stripeErrorTypeKey SWIFT_WARN_UNUSED_RESULT; +/// If the value of userInfo[stripeErrorCodeKey] is STPError.cardDeclined, +/// the value for this key contains the decline code. +/// seealso: +/// https://stripe.com/docs/declines/codes +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull stripeDeclineCodeKey;) ++ (NSString * _Nonnull)stripeDeclineCodeKey SWIFT_WARN_UNUSED_RESULT; +/// The card number is not a valid credit card number. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull invalidNumber;) ++ (NSString * _Nonnull)invalidNumber SWIFT_WARN_UNUSED_RESULT; +/// The card has an invalid expiration month. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull invalidExpMonth;) ++ (NSString * _Nonnull)invalidExpMonth SWIFT_WARN_UNUSED_RESULT; +/// The card has an invalid expiration year. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull invalidExpYear;) ++ (NSString * _Nonnull)invalidExpYear SWIFT_WARN_UNUSED_RESULT; +/// The card has an invalid CVC. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull invalidCVC;) ++ (NSString * _Nonnull)invalidCVC SWIFT_WARN_UNUSED_RESULT; +/// The card number is incorrect. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull incorrectNumber;) ++ (NSString * _Nonnull)incorrectNumber SWIFT_WARN_UNUSED_RESULT; +/// The card is expired. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull expiredCard;) ++ (NSString * _Nonnull)expiredCard SWIFT_WARN_UNUSED_RESULT; +/// The card was declined. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull cardDeclined;) ++ (NSString * _Nonnull)cardDeclined SWIFT_WARN_UNUSED_RESULT; +/// An error occured while processing this card. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull processingError;) ++ (NSString * _Nonnull)processingError SWIFT_WARN_UNUSED_RESULT; +/// The card has an incorrect CVC. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull incorrectCVC;) ++ (NSString * _Nonnull)incorrectCVC SWIFT_WARN_UNUSED_RESULT; +/// The postal code is incorrect. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull incorrectZip;) ++ (NSString * _Nonnull)incorrectZip SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +/// :nodoc: +/// Possible error code values for NSErrors with the StripeDomain domain +typedef SWIFT_ENUM_NAMED(NSInteger, STPErrorCode, "_stpobjc_STPErrorCode", open) { +/// Trouble connecting to Stripe. + STPConnectionError SWIFT_COMPILE_NAME("connectionError") = 40, +/// Your request had invalid parameters. + STPInvalidRequestError SWIFT_COMPILE_NAME("invalidRequestError") = 50, +/// No valid publishable API key provided. + STPAuthenticationError SWIFT_COMPILE_NAME("authenticationError") = 51, +/// General-purpose API error. + STPAPIError SWIFT_COMPILE_NAME("apiError") = 60, +/// Something was wrong with the given card details. + STPCardError SWIFT_COMPILE_NAME("cardError") = 70, +/// The operation was cancelled. + STPCancellationError SWIFT_COMPILE_NAME("cancellationError") = 80, +/// The ephemeral key could not be decoded. Make sure your backend is sending +/// the unmodified JSON of the ephemeral key to your app. +/// https://stripe.com/docs/mobile/ios/standard#prepare-your-api + STPEphemeralKeyDecodingError SWIFT_COMPILE_NAME("ephemeralKeyDecodingError") = 1000, +}; + + +/// A top-level class that imports the rest of the Stripe SDK. +/// :nodoc: +SWIFT_CLASS_NAMED("_stpobjc_StripeAPI") +@interface StripeAPI : NSObject +/// Set this to your Stripe publishable API key, obtained from https://dashboard.stripe.com/apikeys. +/// Set this as early as possible in your application’s lifecycle, preferably in your AppDelegate or SceneDelegate. +/// New instances of STPAPIClient will be initialized with this value. +/// @warning Make sure not to ship your test API keys to the App Store! This will log a warning if you use your test key in a release build. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, copy) NSString * _Nullable defaultPublishableKey;) ++ (NSString * _Nullable)defaultPublishableKey SWIFT_WARN_UNUSED_RESULT; ++ (void)setDefaultPublishableKey:(NSString * _Nullable)newValue; +/// A Boolean value that determines whether additional device data is sent to Stripe for fraud prevention. +/// If YES, additional device signals will be sent to Stripe. +/// For more details on the information we collect, visit https://stripe.com/docs/disputes/prevention/advanced-fraud-detection +/// Disabling this setting will reduce Stripe’s ability to protect your business from fraudulent payments. +/// The default value is YES. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL advancedFraudSignalsEnabled;) ++ (BOOL)advancedFraudSignalsEnabled SWIFT_WARN_UNUSED_RESULT; ++ (void)setAdvancedFraudSignalsEnabled:(BOOL)newValue; +/// If the SDK receives a “Too Many Requests” (429) status code from Stripe, +/// it will automatically retry the request. +/// The default value is 3. +/// See https://stripe.com/docs/rate-limits for more information. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class) NSInteger maxRetries;) ++ (NSInteger)maxRetries SWIFT_WARN_UNUSED_RESULT; ++ (void)setMaxRetries:(NSInteger)newValue; +/// Call this method in your app delegate whenever you receive an URL in your +/// app delegate for a Stripe callback. +/// For convenience, you can pass all URL’s you receive in your app delegate +/// to this method first, and check the return value +/// to easily determine whether it is a callback URL that Stripe will handle +/// or if your app should process it normally. +/// If you are using a universal link URL, you will receive the callback in application:continueUserActivity:restorationHandler: +/// To learn more about universal links, see https://developer.apple.com/library/content/documentation/General/Conceptual/AppSearch/UniversalLinks.html +/// If you are using a native scheme URL, you will receive the callback in application:openURL:options: +/// To learn more about native url schemes, see https://developer.apple.com/library/content/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/Inter-AppCommunication/Inter-AppCommunication.html#//apple_ref/doc/uid/TP40007072-CH6-SW10 +/// \param url The URL that you received in your app delegate +/// +/// +/// returns: +/// YES if the URL is expected and will be handled by Stripe. NO otherwise. ++ (BOOL)handleStripeURLCallbackWithURL:(NSURL * _Nonnull)url; +/// Japanese users can enable JCB for Apple Pay by setting this to YES, after they have been approved by JCB. +/// The default value is NO. +/// @note JCB is only supported on iOS 10.1+ +SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL jcbPaymentNetworkSupported;) ++ (BOOL)jcbPaymentNetworkSupported SWIFT_WARN_UNUSED_RESULT; ++ (void)setJcbPaymentNetworkSupported:(BOOL)newValue; +/// The SDK accepts Amex, Mastercard, Visa, and Discover for Apple Pay. +/// Set this property to enable other card networks in addition to these. +/// For example, additionalEnabledApplePayNetworks = [.JCB] enables JCB (note this requires onboarding from JCB and Stripe). +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, copy) NSArray * _Nonnull additionalEnabledApplePayNetworks;) ++ (NSArray * _Nonnull)additionalEnabledApplePayNetworks SWIFT_WARN_UNUSED_RESULT; ++ (void)setAdditionalEnabledApplePayNetworks:(NSArray * _Nonnull)newValue; +/// Whether or not this device is capable of using Apple Pay. This checks both +/// whether the device supports Apple Pay, as well as whether or not they have +/// stored Apple Pay cards on their device. +/// \param paymentRequest The return value of this method depends on the +/// supportedNetworks property of this payment request, which by default should be +/// [.amex, .masterCard, .visa, .discover]. +/// +/// +/// returns: +/// whether or not the user is currently able to pay with Apple Pay. ++ (BOOL)canSubmitPaymentRequest:(PKPaymentRequest * _Nonnull)paymentRequest SWIFT_WARN_UNUSED_RESULT; +/// Whether or not this can make Apple Pay payments via a card network supported +/// by Stripe. +/// The Stripe supported Apple Pay card networks are: +/// American Express, Visa, Mastercard, Discover, Maestro. +/// Japanese users can enable JCB by setting JCBPaymentNetworkSupported to YES, +/// after they have been approved by JCB. +/// +/// returns: +/// YES if the device is currently able to make Apple Pay payments via one +/// of the supported networks. NO if the user does not have a saved card of a +/// supported type, or other restrictions prevent payment (such as parental controls). ++ (BOOL)deviceSupportsApplePay SWIFT_WARN_UNUSED_RESULT; +/// A convenience method to build a PKPaymentRequest with sane default values. +/// You will still need to configure the paymentSummaryItems property to indicate +/// what the user is purchasing, as well as the optional requiredShippingAddressFields, +/// requiredBillingAddressFields, and shippingMethods properties to indicate +/// what contact information your application requires. +/// Note that this method sets the payment request’s countryCode to “US” and its +/// currencyCode to “USD”. +/// \param merchantIdentifier Your Apple Merchant ID. +/// +/// +/// returns: +/// a PKPaymentRequest with proper default values. Returns nil if running on < iOS8. +/// @deprecated Use paymentRequestWithMerchantIdentifier:country:currency: instead. +/// Apple Pay is available in many countries and currencies, and you should use +/// the appropriate values for your business. ++ (PKPaymentRequest * _Nonnull)paymentRequestWithMerchantIdentifier:(NSString * _Nonnull)merchantIdentifier SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("Use `paymentRequestWithMerchantIdentifier:country:currency:` instead."); +/// A convenience method to build a PKPaymentRequest with sane default values. +/// You will still need to configure the paymentSummaryItems property to indicate +/// what the user is purchasing, as well as the optional requiredShippingContactFields, +/// requiredBillingContactFields, and shippingMethods properties to indicate +/// what additional contact information your application requires. +/// \param merchantIdentifier Your Apple Merchant ID. +/// +/// \param countryCode The two-letter code for the country where the payment +/// will be processed. This should be the country of your Stripe account. +/// +/// \param currencyCode The three-letter code for the currency used by this +/// payment request. Apple Pay interprets the amounts provided by the summary items +/// attached to this request as amounts in this currency. +/// +/// +/// returns: +/// a PKPaymentRequest with proper default values. ++ (PKPaymentRequest * _Nonnull)paymentRequestWithMerchantIdentifier:(NSString * _Nonnull)merchantIdentifier country:(NSString * _Nonnull)countryCode currency:(NSString * _Nonnull)currencyCode SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +#ifndef STRIPE_SWIFT_H +#define STRIPE_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# 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 +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import CoreGraphics; +@import Foundation; +@import ObjectiveC; +@import PassKit; +@import SafariServices; +@import StripeApplePay; +@import StripeCore; +@import UIKit; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="Stripe",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + + + + +@interface NSError (SWIFT_EXTENSION(Stripe)) +/// Creates an NSError object from a given Stripe API json response. +/// \param jsonDictionary The root dictionary from the JSON response. +/// +/// +/// returns: +/// An NSError object with the error information from the JSON response, +/// or nil if there was no error information included in the JSON dictionary. ++ (NSError * _Nullable)stp_errorFromStripeResponse:(NSDictionary * _Nullable)jsonDictionary SWIFT_WARN_UNUSED_RESULT; +@end + + + + +/// Objects conforming to STPAPIResponseDecodable can be automatically converted +/// from a JSON dictionary that was returned from the Stripe API. +SWIFT_PROTOCOL("_TtP6Stripe23STPAPIResponseDecodable_") +@protocol STPAPIResponseDecodable +/// Parses an response from the Stripe API (in JSON format; represented as +/// an NSDictionary) into an instance of the class. +/// \param response The JSON dictionary that represents an object of this type +/// +/// +/// returns: +/// The object represented by the JSON dictionary, or nil if the object +/// could not be decoded (i.e. if one of its requiredFields is nil). ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +/// The raw JSON response used to create the object. This can be useful for accessing +/// fields that haven’t yet been made into native properties in the SDK. +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +@end + +@class UIFont; +@class UIColor; + +/// STPFormTextFieldContainer is a protocol that views can conform to to provide customization properties for the field form views that they contain. +SWIFT_PROTOCOL("_TtP6Stripe25STPFormTextFieldContainer_") +@protocol STPFormTextFieldContainer +/// The font used in each child field. Default is .body. +@property (nonatomic, strong) UIFont * _Nonnull formFont; +/// The text color to be used when entering valid text. Default is .label on iOS 13.0 and later and .darkText on earlier versions. +@property (nonatomic, strong) UIColor * _Nonnull formTextColor; +/// The text color to be used when the user has entered invalid information, +/// such as an invalid card number. +/// Default is .red. +@property (nonatomic, strong) UIColor * _Nonnull formTextErrorColor; +/// The text placeholder color used in each child field. +/// This will also set the color of the card placeholder icon. +/// Default is .placeholderText on iOS 13.0 and .lightGray on earlier versions. +@property (nonatomic, strong) UIColor * _Nonnull formPlaceholderColor; +/// The cursor color for the field. +/// This is a proxy for the view’s tintColor property, exposed for clarity only +/// (in other words, calling setCursorColor is identical to calling setTintColor). +@property (nonatomic, strong) UIColor * _Nonnull formCursorColor; +/// The keyboard appearance for the field. +/// Default is .default. +@property (nonatomic) UIKeyboardAppearance formKeyboardAppearance; +@end + +@class UITextField; +@class NSCoder; + +/// STPMultiFormTextField is a lightweight UIView that wraps a collection of STPFormTextFields and can automatically move to the next form field when one is completed. +SWIFT_CLASS("_TtC6Stripe21STPMultiFormTextField") +@interface STPMultiFormTextField : UIView +/// :nodoc: +- (BOOL)textField:(UITextField * _Nonnull)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString * _Nonnull)string SWIFT_WARN_UNUSED_RESULT; +/// Calling this method will make the next incomplete STPFormTextField in formTextFields become the first responder. +/// If all of the form text fields are already complete, then the last field in formTextFields will become the first responder. +- (void)focusNextForm; +/// :nodoc: +@property (nonatomic, readonly) BOOL canResignFirstResponder; +/// :nodoc: +- (BOOL)resignFirstResponder SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) BOOL isFirstResponder; +/// :nodoc: +@property (nonatomic, readonly) BOOL canBecomeFirstResponder; +/// :nodoc: +- (BOOL)becomeFirstResponder SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)textFieldDidEndEditing:(UITextField * _Nonnull)textField; +/// :nodoc: +- (void)textFieldDidBeginEditing:(UITextField * _Nonnull)textField; +/// :nodoc: +- (BOOL)textFieldShouldReturn:(UITextField * _Nonnull)textField SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, strong) UIFont * _Nonnull formFont; +@property (nonatomic, strong) UIColor * _Nonnull formTextColor; +@property (nonatomic, strong) UIColor * _Nonnull formTextErrorColor; +@property (nonatomic, strong) UIColor * _Nonnull formPlaceholderColor; +@property (nonatomic, strong) UIColor * _Nonnull formCursorColor; +@property (nonatomic) UIKeyboardAppearance formKeyboardAppearance; +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; +@end + +@protocol STPAUBECSDebitFormViewDelegate; +@class STPPaymentMethodParams; +@class UITextView; + +/// STPAUBECSDebitFormView is a subclass of UIControl that contains all of the necessary fields and legal text for collecting AU BECS Debit payments. +/// For additional customization options - seealso: STPFormTextFieldContainer +SWIFT_CLASS("_TtC6Stripe22STPAUBECSDebitFormView") +@interface STPAUBECSDebitFormView : STPMultiFormTextField +/// \param companyName The name of the company collecting AU BECS Debit payment details information. This will be used to provide the required service agreement text. - seealso: https://stripe.com/au-becs/legal +/// +- (nonnull instancetype)initWithCompanyName:(NSString * _Nonnull)companyName OBJC_DESIGNATED_INITIALIZER; +/// Use initWithCompanyName instead. +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; +/// Use initWithCompanyName instead. +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +/// The background color for the form text fields. Defaults to .systemBackground on iOS 13.0 and later, .white on earlier iOS versions. +@property (nonatomic, strong) UIColor * _Nonnull formBackgroundColor; +/// The delegate to inform about changes to this STPAUBECSDebitFormView instance. +@property (nonatomic, weak) id _Nullable becsDebitFormDelegate; +/// This property will return a non-nil value if and only if the form is in a complete state. The STPPaymentMethodParams instance +/// will have it’s auBECSDebit property populated with the values input in this form. +@property (nonatomic, readonly, strong) STPPaymentMethodParams * _Nullable paymentMethodParams; +/// :nodoc: +- (CGSize)systemLayoutSizeFittingSize:(CGSize)targetSize withHorizontalFittingPriority:(UILayoutPriority)horizontalFittingPriority verticalFittingPriority:(UILayoutPriority)verticalFittingPriority SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (BOOL)textView:(UITextView * _Nonnull)textView shouldInteractWithURL:(NSURL * _Nonnull)URL inRange:(NSRange)characterRange interaction:(UITextItemInteraction)interaction SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, strong) UIFont * _Nonnull formFont; +/// :nodoc: +@property (nonatomic, strong) UIColor * _Nonnull formTextColor; +@end + + + +/// STPAUBECSDebitFormViewDelegate provides methods for STPAUBECSDebitFormView to inform its delegate +/// of when the form has been completed. +SWIFT_PROTOCOL("_TtP6Stripe30STPAUBECSDebitFormViewDelegate_") +@protocol STPAUBECSDebitFormViewDelegate +/// Called when the form transitions from complete to incomplete or vice-versa. +/// \param form The STPAUBECSDebitFormView instance whose completion state has changed +/// +/// \param complete Whether the form is considered complete and can generate an STPPaymentMethodParams instance. +/// +- (void)auBECSDebitForm:(STPAUBECSDebitFormView * _Nonnull)form didChangeToStateComplete:(BOOL)complete; +@end + +@class STPPaymentCardTextField; + +/// This protocol allows a delegate to be notified when a payment text field’s +/// contents change, which can in turn be used to take further actions depending +/// on the validity of its contents. +SWIFT_PROTOCOL("_TtP6Stripe31STPPaymentCardTextFieldDelegate_") +@protocol STPPaymentCardTextFieldDelegate +@optional +/// Called when either the card number, expiration, or CVC changes. At this point, +/// one can call isValid on the text field to determine, for example, +/// whether or not to enable a button to submit the form. Example: +///
    +///
  • +/// (void)paymentCardTextFieldDidChange:(STPPaymentCardTextField *)textField { +/// self.paymentButton.enabled = textField.isValid; +/// } +///
  • +///
+/// \param textField the text field that has changed +/// +- (void)paymentCardTextFieldDidChange:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing begins in the text field as a whole. +/// After receiving this callback, you will always also receive a callback for which +/// specific subfield of the view began editing. +- (void)paymentCardTextFieldDidBeginEditing:(STPPaymentCardTextField * _Nonnull)textField; +/// Notification that the user pressed the return key after completely filling +/// out the STPPaymentCardTextField with data that passes validation. +/// The Stripe SDK is going to resignFirstResponder on the STPPaymentCardTextField +/// to dismiss the keyboard after this delegate method returns, however if your app wants +/// to do something more (ex: move first responder to another field), this is a good +/// opportunity to do that. +/// This is delivered before the corresponding paymentCardTextFieldDidEndEditing: +/// \param textField The STPPaymentCardTextField that was being edited when the user pressed return +/// +- (void)paymentCardTextFieldWillEndEditingForReturn:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing ends in the text field as a whole. +/// This callback is always preceded by an callback for which +/// specific subfield of the view ended its editing. +- (void)paymentCardTextFieldDidEndEditing:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing begins in the payment card field’s number field. +- (void)paymentCardTextFieldDidBeginEditingNumber:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing ends in the payment card field’s number field. +- (void)paymentCardTextFieldDidEndEditingNumber:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing begins in the payment card field’s CVC field. +- (void)paymentCardTextFieldDidBeginEditingCVC:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing ends in the payment card field’s CVC field. +- (void)paymentCardTextFieldDidEndEditingCVC:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing begins in the payment card field’s expiration field. +- (void)paymentCardTextFieldDidBeginEditingExpiration:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing ends in the payment card field’s expiration field. +- (void)paymentCardTextFieldDidEndEditingExpiration:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing begins in the payment card field’s ZIP/postal code field. +- (void)paymentCardTextFieldDidBeginEditingPostalCode:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing ends in the payment card field’s ZIP/postal code field. +- (void)paymentCardTextFieldDidEndEditingPostalCode:(STPPaymentCardTextField * _Nonnull)textField; +@end + +@class STPTheme; +@class NSBundle; + +/// This is the base class for all Stripe view controllers. It is intended for use +/// only by Stripe classes, you should not subclass it yourself in your app. +/// It theming, back/cancel button management, and other shared logic for +/// Stripe view controllers. +SWIFT_CLASS("_TtC6Stripe21STPCoreViewController") +@interface STPCoreViewController : UIViewController +/// A convenience initializer; equivalent to calling init(theme: STPTheme.defaultTheme). +- (nonnull instancetype)init; +/// Initializes a new view controller with the specified theme +/// \param theme The theme to use to inform the view controller’s visual appearance. - seealso: STPTheme +/// +- (nonnull instancetype)initWithTheme:(STPTheme * _Nullable)theme OBJC_DESIGNATED_INITIALIZER; +/// Passes through to the default UIViewController behavior for this initializer, +/// and then also sets the default theme as in init +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER; +/// Passes through to the default UIViewController behavior for this initializer, +/// and then also sets the default theme as in init +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +- (void)viewDidLoad; +/// :nodoc: +- (void)viewWillAppear:(BOOL)animated; +/// :nodoc: +- (void)viewWillDisappear:(BOOL)animated; +/// :nodoc: +@property (nonatomic, readonly) UIStatusBarStyle preferredStatusBarStyle; +@end + +@class UIScrollView; + +/// This is the base class for all Stripe scroll view controllers. It is intended +/// for use only by Stripe classes, you should not subclass it yourself in your app. +SWIFT_CLASS("_TtC6Stripe27STPCoreScrollViewController") +@interface STPCoreScrollViewController : STPCoreViewController +/// This returns the scroll view being managed by the view controller +@property (nonatomic, strong) UIScrollView * _Nonnull scrollView; +/// :nodoc: +- (void)viewDidLoad; +/// :nodoc: +- (void)viewDidLayoutSubviews; +- (nonnull instancetype)initWithTheme:(STPTheme * _Nullable)theme OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER; +@end + +@class UITableView; + +/// This is the base class for all Stripe scroll view controllers. It is intended +/// for use only by Stripe classes, you should not subclass it yourself in your app. +/// It inherits from STPCoreScrollViewController and changes the type of the +/// created scroll view to UITableView, as well as other shared table view logic. +SWIFT_CLASS("_TtC6Stripe26STPCoreTableViewController") +@interface STPCoreTableViewController : STPCoreScrollViewController +/// This points to the same object as STPCoreScrollViewController’s scrollView +/// property but with the type cast to UITableView +@property (nonatomic, readonly, strong) UITableView * _Nullable tableView; +/// :nodoc: +- (void)viewWillAppear:(BOOL)animated; +/// :nodoc: +- (CGFloat)tableView:(UITableView * _Nonnull)tableView heightForHeaderInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)initWithTheme:(STPTheme * _Nullable)theme OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER; +@end + +@class STPPaymentConfiguration; +@protocol STPAddCardViewControllerDelegate; +@class STPUserInformation; +@class STPAPIClient; +@class UITableViewCell; +@protocol UIViewControllerTransitionCoordinator; + +/// This view controller contains a credit card entry form that the user can fill out. On submission, it will use the Stripe API to convert the user’s card details to a Stripe token. It renders a right bar button item that submits the form, so it must be shown inside a UINavigationController. +SWIFT_CLASS("_TtC6Stripe24STPAddCardViewController") +@interface STPAddCardViewController : STPCoreTableViewController +/// A convenience initializer; equivalent to calling init(configuration: STPPaymentConfiguration.shared, theme: STPTheme.defaultTheme). +- (nonnull instancetype)init; +/// Initializes a new STPAddCardViewController with the provided configuration and theme. Don’t forget to set the delegate property after initialization. +/// \param configuration The configuration to use (this determines the Stripe publishable key to use, the required billing address fields, whether or not to use SMS autofill, etc). - seealso: STPPaymentConfiguration +/// +/// \param theme The theme to use to inform the view controller’s visual appearance. - seealso: STPTheme +/// +- (nonnull instancetype)initWithConfiguration:(STPPaymentConfiguration * _Nonnull)configuration theme:(STPTheme * _Nonnull)theme OBJC_DESIGNATED_INITIALIZER; +/// The view controller’s delegate. This must be set before showing the view controller in order for it to work properly. - seealso: STPAddCardViewControllerDelegate +@property (nonatomic, weak) id _Nullable delegate; +/// You can set this property to pre-fill any information you’ve already collected from your user. - seealso: STPUserInformation.h +@property (nonatomic, strong) STPUserInformation * _Nullable prefilledInformation; +/// Provide this view controller with a footer view. +/// When the footer view needs to be resized, it will be sent a +/// sizeThatFits: call. The view should respond correctly to this method in order +/// to be sized and positioned properly. +@property (nonatomic, strong) UIView * _Nullable customFooterView; +/// The API Client to use to make requests. +/// Defaults to STPAPIClient.shared. +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +/// Use init: or initWithConfiguration:theme: +- (nonnull instancetype)initWithTheme:(STPTheme * _Nullable)theme SWIFT_UNAVAILABLE; +/// Use init: or initWithConfiguration:theme: +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE; +/// Use init: or initWithConfiguration:theme: +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE; +/// :nodoc: +- (CGFloat)tableView:(UITableView * _Nonnull)tableView estimatedHeightForRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)viewDidLayoutSubviews; +/// :nodoc: +- (void)updateAppearance; +/// :nodoc: +- (void)viewDidAppear:(BOOL)animated; +/// :nodoc: +- (void)handleCancelTapped:(id _Nullable)sender; +- (void)paymentCardTextFieldDidChange:(STPPaymentCardTextField * _Nonnull)textField; +- (void)paymentCardTextFieldWillEndEditingForReturn:(STPPaymentCardTextField * _Nonnull)textField; +- (void)paymentCardTextFieldDidBeginEditingCVC:(STPPaymentCardTextField * _Nonnull)textField; +- (void)paymentCardTextFieldDidEndEditingCVC:(STPPaymentCardTextField * _Nonnull)textField; +- (void)paymentCardTextFieldDidBeginEditing:(STPPaymentCardTextField * _Nonnull)textField; +/// :nodoc: +- (NSInteger)numberOfSectionsInTableView:(UITableView * _Nonnull)tableView SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (NSInteger)tableView:(UITableView * _Nonnull)tableView numberOfRowsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (UITableViewCell * _Nonnull)tableView:(UITableView * _Nonnull)tableView cellForRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)tableView:(UITableView * _Nonnull)tableView willDisplayCell:(UITableViewCell * _Nonnull)cell forRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath; +/// :nodoc: +- (CGFloat)tableView:(UITableView * _Nonnull)tableView heightForFooterInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (CGFloat)tableView:(UITableView * _Nonnull)tableView heightForHeaderInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (UIView * _Nullable)tableView:(UITableView * _Nonnull)tableView viewForHeaderInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (UIView * _Nullable)tableView:(UITableView * _Nonnull)tableView viewForFooterInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id _Nonnull)coordinator; +@end + + +@class STPPaymentMethod; +@class STPToken; +@class STPSource; + +/// An STPAddCardViewControllerDelegate is notified when an STPAddCardViewController +/// successfully creates a card token or is cancelled. It has internal error-handling +/// logic, so there’s no error case to deal with. +SWIFT_PROTOCOL("_TtP6Stripe32STPAddCardViewControllerDelegate_") +@protocol STPAddCardViewControllerDelegate +/// Called when the user cancels adding a card. You should dismiss (or pop) the +/// view controller at this point. +/// \param addCardViewController the view controller that has been cancelled +/// +- (void)addCardViewControllerDidCancel:(STPAddCardViewController * _Nonnull)addCardViewController; +/// This is called when the user successfully adds a card and Stripe returns a +/// Payment Method. +/// You should send the PaymentMethod to your backend to store it on a customer, and then +/// call the provided completion block when that call is finished. If an error +/// occurs while talking to your backend, call completion(error), otherwise, +/// dismiss (or pop) the view controller. +/// \param addCardViewController the view controller that successfully created a token +/// +/// \param paymentMethod the Payment Method that was created. - seealso: STPPaymentMethod +/// +/// \param completion call this callback when you’re done sending the token to your backend +/// +- (void)addCardViewController:(STPAddCardViewController * _Nonnull)addCardViewController didCreatePaymentMethod:(STPPaymentMethod * _Nonnull)paymentMethod completion:(void (^ _Nonnull)(NSError * _Nullable))completion; +@optional +/// This method is deprecated as of v16.0.0 (https://github.com/stripe/stripe-ios/blob/master/MIGRATING.md#migrating-from-versions–1600). +/// To use this class, migrate your integration from Charges to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read +- (void)addCardViewController:(STPAddCardViewController * _Nonnull)addCardViewController didCreateToken:(STPToken * _Nonnull)token completion:(SWIFT_NOESCAPE void (^ _Nonnull)(NSError * _Nullable))completion SWIFT_DEPRECATED_MSG("Use addCardViewController(_:didCreatePaymentMethod:completion:) instead and migrate your integration to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read", "addCardViewController:didCreatePaymentMethod:completion:"); +/// This method is deprecated as of v16.0.0 (https://github.com/stripe/stripe-ios/blob/master/MIGRATING.md#migrating-from-versions–1600). +/// To use this class, migrate your integration from Charges to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read +- (void)addCardViewController:(STPAddCardViewController * _Nonnull)addCardViewController didCreateSource:(STPSource * _Nonnull)source completion:(SWIFT_NOESCAPE void (^ _Nonnull)(NSError * _Nullable))completion SWIFT_DEPRECATED_MSG("Use addCardViewController(_:didCreatePaymentMethod:completion:) instead and migrate your integration to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read", "addCardViewController:didCreatePaymentMethod:completion:"); +@end + +@class PKShippingMethod; +@class STPPaymentMethodBillingDetails; +@class PKContact; +@class CNContact; +enum STPBillingAddressFields : NSUInteger; +@class STPContactField; + +/// STPAddress Contains an address as represented by the Stripe API. +SWIFT_CLASS("_TtC6Stripe10STPAddress") +@interface STPAddress : NSObject +/// The user’s full name (e.g. “Jane Doe”) +@property (nonatomic, copy) NSString * _Nullable name; +/// The first line of the user’s street address (e.g. “123 Fake St”) +@property (nonatomic, copy) NSString * _Nullable line1; +/// The apartment, floor number, etc of the user’s street address (e.g. “Apartment 1A”) +@property (nonatomic, copy) NSString * _Nullable line2; +/// The city in which the user resides (e.g. “San Francisco”) +@property (nonatomic, copy) NSString * _Nullable city; +/// The state in which the user resides (e.g. “CA”) +@property (nonatomic, copy) NSString * _Nullable state; +/// The postal code in which the user resides (e.g. “90210”) +@property (nonatomic, copy) NSString * _Nullable postalCode; +/// The ISO country code of the address (e.g. “US”) +@property (nonatomic, copy) NSString * _Nullable country; +/// The phone number of the address (e.g. “8885551212”) +@property (nonatomic, copy) NSString * _Nullable phone; +/// The email of the address (e.g. “jane@doe.com”) +@property (nonatomic, copy) NSString * _Nullable email; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// When creating a charge on your backend, you can attach shipping information +/// to prevent fraud on a physical good. You can use this method to turn your user’s +/// shipping address and selected shipping method into a hash suitable for attaching +/// to a charge. You should pass this to your backend, and use it as the shipping +/// parameter when creating a charge. +/// seealso: +/// https://stripe.com/docs/api#create_charge-shipping +/// \param address The user’s shipping address. If nil, this method will return nil. +/// +/// \param method The user’s selected shipping method. May be nil. +/// ++ (NSDictionary * _Nullable)shippingInfoForChargeWithAddress:(STPAddress * _Nullable)address shippingMethod:(PKShippingMethod * _Nullable)method SWIFT_WARN_UNUSED_RESULT; +/// Initializes an empty STPAddress. +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +/// Initializes a new STPAddress with data from STPPaymentMethodBillingDetails. +/// \param billingDetails The STPPaymentMethodBillingDetails instance you want to populate the STPAddress from. +/// +/// +/// returns: +/// A new STPAddress instance with data copied from the passed in billing details. +- (nonnull instancetype)initWithPaymentMethodBillingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails OBJC_DESIGNATED_INITIALIZER; +/// Initializes a new STPAddress with data from an PassKit contact. +/// \param contact The PassKit contact you want to populate the STPAddress from. +/// +/// +/// returns: +/// A new STPAddress instance with data copied from the passed in contact. +- (nonnull instancetype)initWithPKContact:(PKContact * _Nonnull)contact OBJC_DESIGNATED_INITIALIZER; +/// Generates a PassKit contact representation of this STPAddress. +/// +/// returns: +/// A new PassKit contact with data copied from this STPAddress instance. +- (PKContact * _Nonnull)PKContactValue SWIFT_WARN_UNUSED_RESULT; +/// Initializes a new STPAddress with a contact from the Contacts framework. +/// \param contact The CNContact you want to populate the STPAddress from. +/// +/// +/// returns: +/// A new STPAddress instance with data copied from the passed in contact. +- (nonnull instancetype)initWithCNContact:(CNContact * _Nonnull)contact OBJC_DESIGNATED_INITIALIZER; +/// Checks if this STPAddress has the level of valid address information +/// required by the passed in setting. +/// \param requiredFields The required level of billing address information to +/// check against. +/// +/// +/// returns: +/// YES if this address contains at least the necessary information, +/// NO otherwise. +- (BOOL)containsRequiredFields:(enum STPBillingAddressFields)requiredFields SWIFT_WARN_UNUSED_RESULT; +/// Checks if this STPAddress has any content (possibly invalid) in any of the +/// desired billing address fields. +/// Where containsRequiredFields: validates that this STPAddress contains valid data in +/// all of the required fields, this method checks for the existence of any data. +/// For example, if desiredFields is STPBillingAddressFieldsZip, this will check +/// if the postalCode is empty. +/// Note: When desiredFields == STPBillingAddressFieldsNone, this method always returns +/// NO. +/// @parameter desiredFields The billing address information the caller is interested in. +/// +/// returns: +/// YES if there is any data in this STPAddress that’s relevant for those fields. +- (BOOL)containsContentForBillingAddressFields:(enum STPBillingAddressFields)desiredFields SWIFT_WARN_UNUSED_RESULT; +/// Checks if this STPAddress has the level of valid address information +/// required by the passed in setting. +/// Note: When requiredFields == nil, this method always returns +/// YES. +/// \param requiredFields The required shipping address information to check against. +/// +/// +/// returns: +/// YES if this address contains at least the necessary information, +/// NO otherwise. +- (BOOL)containsRequiredShippingAddressFields:(NSSet * _Nullable)requiredFields SWIFT_WARN_UNUSED_RESULT; +/// Checks if this STPAddress has any content (possibly invalid) in any of the +/// desired shipping address fields. +/// Where containsRequiredShippingAddressFields: validates that this STPAddress +/// contains valid data in all of the required fields, this method checks for the +/// existence of any data. +/// Note: When desiredFields == nil, this method always returns +/// NO. +/// @parameter desiredFields The shipping address information the caller is interested in. +/// +/// returns: +/// YES if there is any data in this STPAddress that’s relevant for those fields. +- (BOOL)containsContentForShippingAddressFields:(NSSet * _Nullable)desiredFields SWIFT_WARN_UNUSED_RESULT; +/// Converts an STPBillingAddressFields enum value into the closest equivalent +/// representation of PKContactField options +/// \param billingAddressFields Stripe billing address fields enum value to convert. +/// +/// +/// returns: +/// The closest representation of the billing address requirement as +/// a PKContactField value. ++ (NSSet * _Nonnull)applePayContactFieldsFromBillingAddressFields:(enum STPBillingAddressFields)billingAddressFields SWIFT_WARN_UNUSED_RESULT; +/// Converts a set of STPContactField values into the closest equivalent +/// representation of PKContactField options +/// \param contactFields Stripe contact fields values to convert. +/// +/// +/// returns: +/// The closest representation of the contact fields as +/// a PKContactField value. ++ (NSSet * _Nullable)pkContactFieldsFromStripeContactFields:(NSSet * _Nullable)contactFields SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +@end + + +@interface STPAddress (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface STPAddress (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Objects conforming to STPFormEncodable can be automatically converted to a form-encoded string, which can then be used when making requests to the Stripe API. +SWIFT_PROTOCOL("_TtP6Stripe16STPFormEncodable_") +@protocol STPFormEncodable +/// The root object name to be used when converting this object to a form-encoded string. For example, if this returns “card”, then the form-encoded output will resemble “card[foo]=bar” (where ‘foo’ and ‘bar’ are specified by propertyNamesToFormFieldNamesMapping below. ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +/// This maps properties on an object that is being form-encoded into parameter names in the Stripe API. For example, STPCardParams has a field called expMonth, but the Stripe API expects a field called exp_month. This dictionary represents a mapping from the former to the latter (in other words, STPCardParams.propertyNamesToFormFieldNamesMapping()[“expMonth”] == “exp_month”.) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +/// You can use this property to add additional fields to an API request that are not explicitly defined by the object’s interface. This can be useful when using beta features that haven’t been added to the Stripe SDK yet. For example, if the /v1/tokens API began to accept a beta field called “test_field”, you might do the following: +/// var cardParams = STPCardParams() +/// // add card values +/// cardParams.additionalAPIParameters = [“test_field”: “example_value”] +/// STPAPIClient.shared.createToken(withParameters: cardParams completion:…); +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +@end + + +@interface STPAddress (SWIFT_EXTENSION(Stripe)) ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +@end + + + + + + + + + +@class _stpinternal_APContextSwift; +@class PKPayment; +enum STPPaymentStatus : NSInteger; + +/// Implement the required methods of this delegate to supply a PaymentIntent to STPApplePayContext and be notified of the completion of the Apple Pay payment. +/// You may also implement the optional delegate methods to handle shipping methods and shipping address changes e.g. to verify you can ship to the address, or update the payment amount. +SWIFT_PROTOCOL_NAMED("STPApplePayContextDelegate") +@protocol _stpinternal_apContextDelegate <_stpinternal_STPApplePayContextDelegateBase> +/// Called after the customer has authorized Apple Pay. Implement this method to call the completion block with the client secret of a PaymentIntent or SetupIntent. +/// \param paymentMethod The PaymentMethod that represents the customer’s Apple Pay payment method. +/// If you create the PaymentIntent with confirmation_method=manual, pass paymentMethod.stripeId as the payment_method and confirm=true. Otherwise, you can ignore this parameter. +/// +/// \param paymentInformation The underlying PKPayment created by Apple Pay. +/// If you create the PaymentIntent with confirmation_method=manual, you can collect shipping information using its shippingContact and shippingMethod properties. +/// +/// \param completion Call this with the PaymentIntent or SetupIntent client secret, or the error that occurred creating the PaymentIntent or SetupIntent. +/// +- (void)applePayContext:(_stpinternal_APContextSwift * _Nonnull)context didCreatePaymentMethod:(STPPaymentMethod * _Nonnull)paymentMethod paymentInformation:(PKPayment * _Nonnull)paymentInformation completion:(void (^ _Nonnull)(NSString * _Nullable, NSError * _Nullable))completion; +/// Called after the Apple Pay sheet is dismissed with the result of the payment. +/// Your implementation could stop a spinner and display a receipt view or error to the customer, for example. +/// \param status The status of the payment +/// +/// \param error The error that occurred, if any. +/// +- (void)applePayContext:(_stpinternal_APContextSwift * _Nonnull)context didCompleteWithStatus:(enum STPPaymentStatus)status error:(NSError * _Nullable)error; +@end + +@class UIImage; + +/// This protocol represents a payment method that a user can select and use to +/// pay. +/// The classes that conform to it and are supported by the UI: +///
    +///
  • +/// STPApplePay, which represents that the user wants to pay with +/// Apple Pay +///
  • +///
  • +/// STPPaymentMethod. Only STPPaymentMethod.type == STPPaymentMethodTypeCard and +/// STPPaymentMethod.type == STPPaymentMethodTypeFPX are supported by STPPaymentContext +/// and STPPaymentOptionsViewController +///
  • +///
  • +/// STPPaymentMethodParams. This should be used with non-reusable payment method, such +/// as FPX and iDEAL. Instead of reaching out to Stripe to create a PaymentMethod, you can +/// pass an STPPaymentMethodParams directly to Stripe when confirming a PaymentIntent. +/// @note card-based Sources, Cards, and FPX support this protocol for use +/// in a custom integration. +///
  • +///
+SWIFT_PROTOCOL("_TtP6Stripe16STPPaymentOption_") +@protocol STPPaymentOption +/// A small (32 x 20 points) logo image representing the payment method. For +/// example, the Visa logo for a Visa card, or the Apple Pay logo. +@property (nonatomic, readonly, strong) UIImage * _Nonnull image; +/// A small (32 x 20 points) logo image representing the payment method that can be +/// used as template for tinted icons. +@property (nonatomic, readonly, strong) UIImage * _Nonnull templateImage; +/// A string describing the payment method, such as “Apple Pay” or “Visa 4242”. +@property (nonatomic, readonly, copy) NSString * _Nonnull label; +/// Describes whether this payment option may be used multiple times. If it is not reusable, +/// the payment method must be discarded after use. +@property (nonatomic, readonly) BOOL isReusable; +@end + + +/// An empty class representing that the user wishes to pay via Apple Pay. This can +/// be checked on an STPPaymentContext, e.g: +/// \code +/// if paymentContext.selectedPaymentOption is STPApplePayPaymentOption { +/// // Don't ask the user for their card number; they want to pay with apple pay. +/// } +/// +/// \endcode +SWIFT_CLASS("_TtC6Stripe24STPApplePayPaymentOption") +@interface STPApplePayPaymentOption : NSObject +@property (nonatomic, readonly, strong) UIImage * _Nonnull image; +@property (nonatomic, readonly, strong) UIImage * _Nonnull templateImage; +@property (nonatomic, readonly, copy) NSString * _Nonnull label; +@property (nonatomic, readonly) BOOL isReusable; +/// :nodoc: +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) NSUInteger hash; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class SFSafariViewController; + +/// STPAuthenticationContext provides information required to present authentication challenges +/// to a user. +SWIFT_PROTOCOL("_TtP6Stripe24STPAuthenticationContext_") +@protocol STPAuthenticationContext +/// The Stripe SDK will modally present additional view controllers on top +/// of the authenticationPresentingViewController when required for user +/// authentication, like in the Challenge Flow for 3DS2 transactions. +- (UIViewController * _Nonnull)authenticationPresentingViewController SWIFT_WARN_UNUSED_RESULT; +@optional +/// This method is called before presenting a UIViewController for authentication. +/// @note STPPaymentHandler will not proceed until completion is called. +- (void)prepareAuthenticationContextForPresentation:(void (^ _Nonnull)(void))completion; +/// This method is called before presenting an SFSafariViewController for web-based authentication. +/// Implement this method to configure the SFSafariViewController instance, e.g. viewController.preferredBarTintColor = MyBarTintColor +/// @note Setting the delegate property has no effect. +- (void)configureSafariViewController:(SFSafariViewController * _Nonnull)viewController; +/// This method is called when an authentication UIViewController is about to be dismissed. +/// Implement this method to prepare your UI for the authentication view controller to be dismissed. For example, +/// if you requested authentication while displaying an STPBankSelectionViewController, you may want to hide +/// it to return the user to your desired view controller. +- (void)authenticationContextWillDismissViewController:(UIViewController * _Nonnull)viewController; +@end + +@class STPCustomer; + +/// A “bridge” from our pre-built UI (STPPaymentContext, STPPaymentOptionsViewController) +/// to your backend to fetch Customer-related information needed to power those views. +/// Typically, you will not need to implement this protocol yourself. You +/// should instead use STPCustomerContext, which implements +/// and manages retrieving and updating a Stripe customer for you. +/// seealso: +/// STPCustomerContext.h +/// If you would prefer retrieving and updating your Stripe customer object via +/// your own backend instead of using STPCustomerContext, you should make your +/// application’s API client conform to this interface. +SWIFT_PROTOCOL("_TtP6Stripe20STPBackendAPIAdapter_") +@protocol STPBackendAPIAdapter +/// Retrieve the customer to be displayed inside a payment context. +/// If you are not using STPCustomerContext: +/// On your backend, retrieve the Stripe customer associated with your currently +/// logged-in user ( https://stripe.com/docs/api#retrieve_customer ), and return +/// the raw JSON response from the Stripe API. Back in your iOS app, after you’ve +/// called this API, deserialize your API response into an STPCustomer object +/// (you can use the STPCustomerDeserializer class to do this). +/// seealso: +/// STPCard +/// \param completion call this callback when you’re done fetching and parsing the above information from your backend. For example, completion(customer, nil) (if your call succeeds) or completion(nil, error) if an error is returned. +/// +- (void)retrieveCustomer:(void (^ _Nullable)(STPCustomer * _Nullable, NSError * _Nullable))completion; +/// Retrieves a list of Payment Methods attached to a customer. +/// If you are implementing your own : +/// Call the list method ( https://stripe.com/docs/api/payment_methods/lists ) +/// with the Stripe customer. If this API call succeeds, call completion(paymentMethods) +/// with the list of PaymentMethods. Otherwise, call completion(error) with the error +/// that occurred. +/// \param completion Call this callback with the list of Payment Methods attached to the +/// customer. For example, completion(paymentMethods) (if your call succeeds) or +/// completion(error) if an error is returned. +/// +- (void)listPaymentMethodsForCustomerWithCompletion:(void (^ _Nullable)(NSArray * _Nullable, NSError * _Nullable))completion; +/// Adds a Payment Method to a customer. +/// If you are implementing your own : +/// On your backend, retrieve the Stripe customer associated with your logged-in user. +/// Then, call the Attach method on the Payment Method with that customer’s ID +/// ( https://stripe.com/docs/api/payment_methods/attach ). If this API call succeeds, +/// call completion(nil). Otherwise, call completion(error) with the error that +/// occurred. +/// \param paymentMethod A valid Payment Method +/// +/// \param completion Call this callback when you’re done adding the payment method +/// to the customer on your backend. For example, completion(nil) (if your call succeeds) +/// or completion(error) if an error is returned. +/// +- (void)attachPaymentMethodToCustomer:(STPPaymentMethod * _Nonnull)paymentMethod completion:(void (^ _Nullable)(NSError * _Nullable))completion; +@optional +/// Deletes the given Payment Method from the customer. +/// If you are implementing your own : +/// Call the Detach method ( https://stripe.com/docs/api/payment_methods/detach ) +/// on the Payment Method. If this API call succeeds, call completion(nil). +/// Otherwise, call completion(error) with the error that occurred. +/// \param paymentMethod The Payment Method to delete from the customer +/// +/// \param completion Call this callback when you’re done deleting the Payment Method +/// from the customer on your backend. For example, completion(nil) (if your call +/// succeeds) or completion(error) if an error is returned. +/// +- (void)detachPaymentMethodFromCustomer:(STPPaymentMethod * _Nonnull)paymentMethod completion:(void (^ _Nullable)(NSError * _Nullable))completion; +/// Sets the given shipping address on the customer. +/// If you are implementing your own : +/// On your backend, retrieve the Stripe customer associated with your logged-in user. +/// Then, call the Customer Update method ( https://stripe.com/docs/api#update_customer ) +/// specifying shipping to be the given shipping address. If this API call succeeds, +/// call completion(nil). Otherwise, call completion(error) with the error that occurred. +/// seealso: +/// https://stripe.com/docs/api#update_customer +/// \param shipping The shipping address to set on the customer +/// +/// \param completion call this callback when you’re done updating the customer on +/// your backend. For example, completion(nil) (if your call succeeds) or +/// completion(error) if an error is returned. +/// +- (void)updateCustomerWithShippingAddress:(STPAddress * _Nonnull)shipping completion:(void (^ _Nullable)(NSError * _Nullable))completion; +@end + + +/// Objects conforming to this protocol can be attached to a Stripe Customer object +/// as a payment source. +/// seealso: +/// https://stripe.com/docs/api#customer_object-sources +SWIFT_PROTOCOL("_TtP6Stripe17STPSourceProtocol_") +@protocol STPSourceProtocol +/// The Stripe ID of the source. +@property (nonatomic, readonly, copy) NSString * _Nonnull stripeID; +@end + +enum STPBankAccountHolderType : NSInteger; +enum STPBankAccountStatus : NSInteger; + +/// Representation of a user’s bank account details that have been tokenized with +/// the Stripe API. +/// seealso: +/// https://stripe.com/docs/api#bank_accounts +SWIFT_CLASS("_TtC6Stripe14STPBankAccount") +@interface STPBankAccount : NSObject +/// You cannot directly instantiate an STPBankAccount. You should only use one +/// that has been returned from an STPAPIClient callback. +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// The routing number for the bank account. This should be the ACH routing number, +/// not the wire routing number. +@property (nonatomic, readonly, copy) NSString * _Nullable routingNumber; +/// Two-letter ISO code representing the country the bank account is located in. +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// The default currency for the bank account. +@property (nonatomic, readonly, copy) NSString * _Nullable currency; +/// The last 4 digits of the account number. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// The name of the bank that owns the account. +@property (nonatomic, readonly, copy) NSString * _Nullable bankName; +/// The name of the person or business that owns the bank account. +@property (nonatomic, readonly, copy) NSString * _Nullable accountHolderName; +/// The type of entity that holds the account. +@property (nonatomic, readonly) enum STPBankAccountHolderType accountHolderType; +/// A proxy for the account number, this uniquely identifies the account and can be +/// used to compare equality of different bank accounts. +@property (nonatomic, readonly, copy) NSString * _Nullable fingerprint; +/// The validation status of the bank account. - seealso: STPBankAccountStatus +@property (nonatomic, readonly) enum STPBankAccountStatus status; +/// The Stripe ID for the bank account. +@property (nonatomic, readonly, copy) NSString * _Nullable bankAccountId SWIFT_DEPRECATED_MSG("Use stripeID (defined in STPSourceProtocol)"); +@property (nonatomic, readonly, copy) NSString * _Nonnull stripeID; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +- (BOOL)isEqual:(id _Nullable)bankAccount SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) NSUInteger hash; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// The type of entity that holds a bank account. +typedef SWIFT_ENUM(NSInteger, STPBankAccountHolderType, open) { +/// An individual holds this bank account. + STPBankAccountHolderTypeIndividual = 0, +/// A company holds this bank account. + STPBankAccountHolderTypeCompany = 1, +}; + + +/// Representation of a user’s bank account details. You can assemble these with +/// information that your user enters and then create Stripe tokens with them using +/// an STPAPIClient. +/// seealso: +/// https://stripe.com/docs/api#create_bank_account_token +SWIFT_CLASS("_TtC6Stripe20STPBankAccountParams") +@interface STPBankAccountParams : NSObject +/// The account number for the bank account. Currently must be a checking account. +@property (nonatomic, copy) NSString * _Nullable accountNumber; +/// The last 4 digits of the bank account’s account number, if it’s been set, +/// otherwise nil. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// The routing number for the bank account. This should be the ACH routing number, +/// not the wire routing number. +@property (nonatomic, copy) NSString * _Nullable routingNumber; +/// Two-letter ISO code representing the country the bank account is located in. +@property (nonatomic, copy) NSString * _Nullable country; +/// The default currency for the bank account. +@property (nonatomic, copy) NSString * _Nullable currency; +/// The name of the person or business that owns the bank account. +@property (nonatomic, copy) NSString * _Nullable accountHolderName; +/// The type of entity that holds the account. +/// Defaults to STPBankAccountHolderTypeIndividual. +@property (nonatomic) enum STPBankAccountHolderType accountHolderType; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initializes an empty STPBankAccountParams. +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +@end + +/// Possible validation states for a bank account. +typedef SWIFT_ENUM(NSInteger, STPBankAccountStatus, open) { +/// The account has had no activity or validation performed + STPBankAccountStatusNew = 0, +/// Stripe has determined this bank account exists. + STPBankAccountStatusValidated = 1, +/// Bank account verification has succeeded. + STPBankAccountStatusVerified = 2, +/// Verification for this bank account has failed. + STPBankAccountStatusVerificationFailed = 3, +/// A transfer sent to this bank account has failed. + STPBankAccountStatusErrored = 4, +}; + +/// The payment methods supported by STPBankSelectionViewController. +typedef SWIFT_ENUM(NSInteger, STPBankSelectionMethod, open) { +/// FPX (Malaysia) + STPBankSelectionMethodFPX = 0, +/// An unknown payment method + STPBankSelectionMethodUnknown = 1, +}; + +@protocol STPBankSelectionViewControllerDelegate; + +/// This view controller displays a list of banks of the specified type, allowing the user to select one to pay from. +/// Once a bank is selected, it will return a PaymentMethodParams object, which you can use to confirm a PaymentIntent +/// or inspect to obtain details about the selected bank. +SWIFT_CLASS("_TtC6Stripe30STPBankSelectionViewController") +@interface STPBankSelectionViewController : STPCoreTableViewController +/// A convenience initializer; equivalent to calling init( bankMethod:bankMethod configuration:STPPaymentConfiguration.shared theme:STPTheme.defaultTheme. +- (nonnull instancetype)initWithBankMethod:(enum STPBankSelectionMethod)bankMethod; +- (nonnull instancetype)initWithTheme:(STPTheme * _Nullable)theme; +/// Initializes a new STPBankSelectionViewController with the provided configuration and theme. Don’t forget to set the delegate property after initialization. +/// \param bankMethod The user will be presented with a list of banks for this payment method. STPBankSelectionMethodFPX is currently the only supported payment method. +/// +/// \param configuration The configuration to use. This determines the Stripe publishable key to use when querying metadata about the banks. - seealso: STPPaymentConfiguration +/// +/// \param theme The theme to use to inform the view controller’s visual appearance. - seealso: STPTheme +/// +- (nonnull instancetype)initWithBankMethod:(enum STPBankSelectionMethod)bankMethod configuration:(STPPaymentConfiguration * _Nonnull)configuration theme:(STPTheme * _Nonnull)theme OBJC_DESIGNATED_INITIALIZER; +/// The view controller’s delegate. This must be set before showing the view controller in order for it to work properly. - seealso: STPBankSelectionViewControllerDelegate +@property (nonatomic, weak) id _Nullable delegate; +/// The API Client to use to make requests. +/// Defaults to STPAPIClient.shared +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +/// :nodoc: +- (NSInteger)numberOfSectionsInTableView:(UITableView * _Nonnull)tableView SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (NSInteger)tableView:(UITableView * _Nonnull)tableView numberOfRowsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (UITableViewCell * _Nonnull)tableView:(UITableView * _Nonnull)tableView cellForRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)tableView:(UITableView * _Nonnull)tableView willDisplayCell:(UITableViewCell * _Nonnull)cell forRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath; +/// :nodoc: +- (CGFloat)tableView:(UITableView * _Nonnull)tableView heightForFooterInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (BOOL)tableView:(UITableView * _Nonnull)tableView shouldHighlightRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)tableView:(UITableView * _Nonnull)tableView didSelectRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE; +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE; +@end + + + +/// An STPBankSelectionViewControllerDelegate is notified when a user selects a bank. +SWIFT_PROTOCOL("_TtP6Stripe38STPBankSelectionViewControllerDelegate_") +@protocol STPBankSelectionViewControllerDelegate +/// This is called when the user selects a bank. +/// You can use the returned PaymentMethodParams to confirm a PaymentIntent, or inspect +/// it to obtain details about the selected bank. +/// Once you’re done, you’ll want to dismiss (or pop) the view controller. +/// \param bankViewController the view controller that created the PaymentMethodParams +/// +/// \param paymentMethodParams the PaymentMethodParams that was created. - seealso: STPPaymentMethodParams +/// +- (void)bankSelectionViewController:(STPBankSelectionViewController * _Nonnull)bankViewController didCreatePaymentMethodParams:(STPPaymentMethodParams * _Nonnull)paymentMethodParams; +@end + +/// What set of billing address information you need to collect from your user. +/// @note If the user is from a country that does not use zip/postal codes, +/// the user may not be asked for one regardless of this setting. +typedef SWIFT_ENUM(NSUInteger, STPBillingAddressFields, open) { +/// No billing address information + STPBillingAddressFieldsNone = 0, +/// Just request the user’s billing postal code + STPBillingAddressFieldsPostalCode = 1, +/// Request the user’s full billing address + STPBillingAddressFieldsFull = 2, +/// Just request the user’s billing name + STPBillingAddressFieldsName = 3, +/// Just request the user’s billing ZIP (synonym for STPBillingAddressFieldsZip) + STPBillingAddressFieldsZip = 4, +}; + +enum STPCardBrand : NSInteger; +enum STPCardFundingType : NSInteger; + +/// Representation of a user’s credit card details that have been tokenized with +/// the Stripe API +/// seealso: +/// https://stripe.com/docs/api#cards +SWIFT_CLASS("_TtC6Stripe7STPCard") +@interface STPCard : NSObject +/// The last 4 digits of the card. +@property (nonatomic, readonly, copy) NSString * _Nonnull last4; +/// For cards made with Apple Pay, this refers to the last 4 digits of the +/// “Device Account Number” for the tokenized card. For regular cards, it will +/// be nil. +@property (nonatomic, readonly, copy) NSString * _Nullable dynamicLast4; +/// Whether or not the card originated from Apple Pay. +@property (nonatomic, readonly) BOOL isApplePayCard; +/// The card’s expiration month. 1-indexed (i.e. 1 == January) +@property (nonatomic, readonly) NSInteger expMonth; +/// The card’s expiration year. +@property (nonatomic, readonly) NSInteger expYear; +/// The cardholder’s name. +@property (nonatomic, readonly, copy) NSString * _Nullable name; +/// The cardholder’s address. +@property (nonatomic, readonly, strong) STPAddress * _Nullable address; +/// The issuer of the card. +@property (nonatomic, readonly) enum STPCardBrand brand; +/// The funding source for the card (credit, debit, prepaid, or other) +@property (nonatomic, readonly) enum STPCardFundingType funding; +/// Two-letter ISO code representing the issuing country of the card. +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// This is only applicable when tokenizing debit cards to issue payouts to managed +/// accounts. You should not set it otherwise. The card can then be used as a +/// transfer destination for funds in this currency. +@property (nonatomic, readonly, copy) NSString * _Nullable currency; +/// Returns a string representation for the provided card brand; +/// i.e. STPCard.string(from brand: .visa) == "Visa". +/// \param brand the brand you want to convert to a string +/// +/// +/// returns: +/// A string representing the brand, suitable for displaying to a user. ++ (NSString * _Nonnull)stringFromBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// This parses a string representing a card’s brand into the appropriate +/// STPCardBrand enum value, +/// i.e. STPCard.brand(from string: "American Express") == .amex. +/// The string values themselves are specific to Stripe as listed in the Stripe API +/// documentation. +/// seealso: +/// https://stripe.com/docs/api#card_object-brand +/// \param string a string representing the card’s brand as returned from +/// the Stripe API +/// +/// +/// returns: +/// an enum value mapped to that string. If the string is unrecognized, +/// returns STPCardBrandUnknown. ++ (enum STPCardBrand)brandFromString:(NSString * _Nonnull)string SWIFT_WARN_UNUSED_RESULT; +/// Create an STPCard from a Stripe API response. +/// \param cardID The Stripe ID of the card, e.g. card_185iQx4JYtv6MPZKfcuXwkOx +/// +/// \param brand The brand of the card (e.g. “Visa”. To obtain this enum value +/// from a string, use STPCardBrand.brand(from string:string); +/// +/// \param last4 The last 4 digits of the card, e.g. 4242 +/// +/// \param expMonth The card’s expiration month, 1-indexed (i.e. 1 = January) +/// +/// \param expYear The card’s expiration year +/// +/// \param funding The card’s funding type (credit, debit, or prepaid). To obtain +/// this enum value from a string, use STPCardBrand.funding(from string:). +/// +/// +/// returns: +/// an STPCard instance populated with the provided values. +- (nonnull instancetype)initWithID:(NSString * _Nonnull)cardID brand:(enum STPCardBrand)brand last4:(NSString * _Nonnull)last4 expMonth:(NSInteger)expMonth expYear:(NSInteger)expYear funding:(enum STPCardFundingType)funding OBJC_DESIGNATED_INITIALIZER SWIFT_DEPRECATED_MSG("You cannot directly instantiate an STPCard. You should only use one that has been returned from an STPAPIClient callback."); +/// This parses a string representing a card’s funding type into the appropriate +/// STPCardFundingType enum value, +/// i.e. STPCard.funding(from string:"prepaid") == .prepaid. +/// \param string a string representing the card’s funding type as returned from +/// the Stripe API +/// +/// +/// returns: +/// an enum value mapped to that string. If the string is unrecognized, +/// returns STPCardFundingTypeOther. ++ (enum STPCardFundingType)fundingFromString:(NSString * _Nonnull)string SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, copy) NSString * _Nonnull stripeID; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +- (BOOL)isEqual:(id _Nullable)other SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) NSUInteger hash; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, strong) UIImage * _Nonnull image; +@property (nonatomic, readonly, strong) UIImage * _Nonnull templateImage; +@property (nonatomic, readonly, copy) NSString * _Nonnull label; +@property (nonatomic, readonly) BOOL isReusable; +/// A set of key/value pairs associated with the card object. +/// @deprecated Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead. +/// seealso: +/// https://stripe.com/docs/api#metadata +@property (nonatomic, readonly, copy) NSDictionary * _Nullable metadata SWIFT_DEPRECATED_MSG("Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead."); +/// The Stripe ID for the card. +@property (nonatomic, readonly, copy) NSString * _Nullable cardId SWIFT_DEPRECATED_MSG("Use stripeID (defined in STPSourceProtocol)"); +/// The first line of the cardholder’s address +@property (nonatomic, readonly, copy) NSString * _Nullable addressLine1 SWIFT_DEPRECATED_MSG("Use address.line1"); +/// The second line of the cardholder’s address +@property (nonatomic, readonly, copy) NSString * _Nullable addressLine2 SWIFT_DEPRECATED_MSG("Use address.line2"); +/// The city of the cardholder’s address +@property (nonatomic, readonly, copy) NSString * _Nullable addressCity SWIFT_DEPRECATED_MSG("Use address.city"); +/// The state of the cardholder’s address +@property (nonatomic, readonly, copy) NSString * _Nullable addressState SWIFT_DEPRECATED_MSG("Use address.state"); +/// The zip code of the cardholder’s address +@property (nonatomic, readonly, copy) NSString * _Nullable addressZip SWIFT_DEPRECATED_MSG("Use address.postalCode"); +/// The country of the cardholder’s address +@property (nonatomic, readonly, copy) NSString * _Nullable addressCountry SWIFT_DEPRECATED_MSG("Use address.country"); +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// The various card brands to which a payment card can belong. +typedef SWIFT_ENUM(NSInteger, STPCardBrand, open) { +/// Visa card + STPCardBrandVisa = 0, +/// American Express card + STPCardBrandAmex = 1, +/// Mastercard card + STPCardBrandMastercard = 2, +/// Discover card + STPCardBrandDiscover = 3, +/// JCB card + STPCardBrandJCB = 4, +/// Diners Club card + STPCardBrandDinersClub = 5, +/// UnionPay card + STPCardBrandUnionPay = 6, +/// An unknown card brand type + STPCardBrandUnknown = 7, +}; + + +/// Contains STPStringFromCardBrand +SWIFT_CLASS("_TtC6Stripe21STPCardBrandUtilities") +@interface STPCardBrandUtilities : NSObject +/// Returns a string representation for the provided card brand; +/// i.e. STPCardBrandUtilities.stringFrom(brand: .visa) == "Visa". +/// \param brand the brand you want to convert to a string +/// +/// +/// returns: +/// A string representing the brand, suitable for displaying to a user. ++ (NSString * _Nullable)stringFromCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// STPFormView is a base class for the Stripe SDK’s form input UI. You should use one of the available subclasses +/// (STPCardFormView) rather than instantiating an STPFormView instance directly. +SWIFT_CLASS("_TtC6Stripe11STPFormView") +@interface STPFormView : UIView +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; +/// :nodoc: +@property (nonatomic, readonly) BOOL canResignFirstResponder; +/// :nodoc: +- (BOOL)resignFirstResponder SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) BOOL isFirstResponder; +/// :nodoc: +@property (nonatomic, readonly) BOOL canBecomeFirstResponder; +/// :nodoc: +- (BOOL)becomeFirstResponder SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, getter=isUserInteractionEnabled) BOOL userInteractionEnabled; +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +@end + +@protocol STPCardFormViewDelegate; +enum STPCardFormViewStyle : NSInteger; + +/// STPCardFormView provides a multiline interface for users to input their +/// credit card details as well as billing postal code and provides an interface to access +/// the created STPPaymentMethodParams. +/// STPCardFormView includes both the input fields as well as an error label that +/// is displayed when invalid input is detected. +SWIFT_CLASS("_TtC6Stripe15STPCardFormView") +@interface STPCardFormView : STPFormView +/// The delegate to notify when the card form transitions to or from being complete. +/// seealso: +/// STPCardFormViewDelegate +@property (nonatomic, weak) id _Nullable delegate; +/// :nodoc: +@property (nonatomic, strong) UIColor * _Nullable backgroundColor; +/// The background color that is automatically applied to the input fields when isUserInteractionEnabled is set to false. @note STPCardFormView` uses text colors, most of which are iOS system colors, that are designed to be as +/// accessible as possible, so any customization should avoid decreasing contrast between the text and background. +@property (nonatomic, strong) UIColor * _Nullable disabledBackgroundColor; +/// A configured STPPaymentMethodParams with the entered card number, expiration date, cvc, and +/// postal code (if applicable). If any field is invalid or incomplete then this property will return nil. +/// You can monitor when STPCardFormView has complete details by implementing +/// STPFormViewDelegate and setting the STPCardFormView's delegate +/// property. +@property (nonatomic, readonly, strong) STPPaymentMethodParams * _Nullable cardParams; +@property (nonatomic, getter=isUserInteractionEnabled) BOOL userInteractionEnabled; +/// Public initializer for STPCardFormView. +/// @param style The visual style to use for this instance. @see STPCardFormViewStyle +- (nonnull instancetype)initWithStyle:(enum STPCardFormViewStyle)style; +@end + + + + +SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable) SWIFT_AVAILABILITY(ios_app_extension,unavailable) SWIFT_AVAILABILITY(ios,introduced=13.0) +@interface STPCardFormView (SWIFT_EXTENSION(Stripe)) +@end + + + +/// STPCardFormViewDelegate defines the interface that should be adopted to receive +/// updates from STPCardFormView instances. +SWIFT_PROTOCOL("_TtP6Stripe23STPCardFormViewDelegate_") +@protocol STPCardFormViewDelegate +/// Delegate method that is called when all of the form view’s required inputs +/// are complete or transition away from all being complete. These transitions +/// correspond to cardForView.cardParams returning a nil value or not. +- (void)cardFormView:(STPCardFormView * _Nonnull)form didChangeToStateComplete:(BOOL)complete; +@end + +/// Options for configuring the display of an STPCardFormView instance. +typedef SWIFT_ENUM(NSInteger, STPCardFormViewStyle, open) { +/// Draws the form in a rounded rect with full separators between +/// each input field. + STPCardFormViewStyleStandard = 0, +/// Draws the form without an outer border and underlines under +/// each input field. + STPCardFormViewStyleBorderless = 1, +}; + +/// The various funding sources for a payment card. +typedef SWIFT_ENUM(NSInteger, STPCardFundingType, open) { +/// Debit card funding + STPCardFundingTypeDebit = 0, +/// Credit card funding + STPCardFundingTypeCredit = 1, +/// Prepaid card funding + STPCardFundingTypePrepaid = 2, +/// An other or unknown type of funding source. + STPCardFundingTypeOther = 3, +}; + + +/// Representation of a user’s credit card details. You can assemble these with +/// information that your user enters and then create Stripe tokens with them using +/// an STPAPIClient. +/// seealso: +/// https://stripe.com/docs/api#cards +SWIFT_CLASS("_TtC6Stripe13STPCardParams") +@interface STPCardParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// A convenience initializer for creating a card params from a card payment method params. +- (nonnull instancetype)initWithPaymentMethodParams:(STPPaymentMethodParams * _Nonnull)paymentMethodParams; +/// The card’s number. +@property (nonatomic, copy) NSString * _Nullable number; +/// The last 4 digits of the card’s number, if it’s been set, otherwise nil. +- (NSString * _Nullable)last4 SWIFT_WARN_UNUSED_RESULT; +/// The card’s expiration month. +@property (nonatomic) NSUInteger expMonth; +/// The card’s expiration year. +@property (nonatomic) NSUInteger expYear; +/// The card’s security code, found on the back. +@property (nonatomic, copy) NSString * _Nullable cvc; +/// The cardholder’s name. +/// @note Changing this property will also changing the name of the +/// param’s address property. +@property (nonatomic, copy) NSString * _Nullable name; +/// The cardholder’s address. +/// @note Setting address to a new value will also change the name property to +/// be the value of address.name. However, changing address.name directly will +/// not* change name. +@property (nonatomic, strong) STPAddress * _Nonnull address; +/// Three-letter ISO currency code representing the currency paid out to the bank +/// account. This is only applicable when tokenizing debit cards to issue payouts +/// to managed accounts. You should not set it otherwise. The card can then be +/// used as a transfer destination for funds in this currency. +@property (nonatomic, copy) NSString * _Nullable currency; +/// The first line of the cardholder’s address +@property (nonatomic, copy) NSString * _Nullable addressLine1; +/// The second line of the cardholder’s address +@property (nonatomic, copy) NSString * _Nullable addressLine2; +/// The city of the cardholder’s address +@property (nonatomic, copy) NSString * _Nullable addressCity; +/// The state of the cardholder’s address +@property (nonatomic, copy) NSString * _Nullable addressState; +/// The zip code of the cardholder’s address +@property (nonatomic, copy) NSString * _Nullable addressZip; +/// The country of the cardholder’s address +@property (nonatomic, copy) NSString * _Nullable addressCountry; +/// Initializes an empty STPCardParams. +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +@end + +/// These fields indicate whether a card field represents a valid value, invalid +/// value, or incomplete value. +typedef SWIFT_ENUM(NSInteger, STPCardValidationState, open) { +/// The field’s contents are valid. For example, a valid, 16-digit card number. +/// Note that valid values may not be complete. For example: a US Zip code can +/// be 5 or 9 digits. A 5-digit code is Valid, but more text could be entered +/// to transition to incomplete again. American Express CVC codes can be 3 or +/// 4 digits and both will be treated as Valid. + STPCardValidationStateValid = 0, +/// The field’s contents are invalid. For example, an expiration date +/// of “13/42”. + STPCardValidationStateInvalid = 1, +/// The field’s contents are not currently valid, but could be by typing +/// additional characters. For example, a CVC of “1”. + STPCardValidationStateIncomplete = 2, +}; + + +/// This class contains static methods to validate card numbers, expiration dates, +/// and CVCs. For a list of test card numbers to use with this code, +/// see https://stripe.com/docs/testing +SWIFT_CLASS("_TtC6Stripe16STPCardValidator") +@interface STPCardValidator : NSObject +/// Returns a copy of the passed string with all non-numeric characters removed. ++ (NSString * _Nonnull)sanitizedNumericStringForString:(NSString * _Nonnull)string SWIFT_WARN_UNUSED_RESULT; +/// Returns a copy of the passed string with all characters removed that do not exist within a postal code. ++ (NSString * _Nonnull)sanitizedPostalStringForString:(NSString * _Nonnull)string SWIFT_WARN_UNUSED_RESULT; +/// Whether or not the target string contains only numeric characters. ++ (BOOL)stringIsNumeric:(NSString * _Nonnull)string SWIFT_WARN_UNUSED_RESULT; +/// Validates a card number, passed as a string. This will return +/// STPCardValidationStateInvalid for numbers that are too short or long, contain +/// invalid characters, do not pass Luhn validation, or (optionally) do not match +/// a number format issued by a major card brand. +/// \param cardNumber The card number to validate. Ex. @“4242424242424242” +/// +/// \param validatingCardBrand Whether or not to enforce that the number appears to +/// be issued by a major card brand (or could be). For example, no issuing card +/// network currently issues card numbers beginning with the digit 9; if an +/// otherwise correct-length and luhn-valid card number beginning with 9 +/// (example: 9999999999999995) were passed to this method, it would return +/// STPCardValidationStateInvalid if this parameter were YES and +/// STPCardValidationStateValid if this parameter were NO. If unsure, you should +/// use YES for this value. +/// +/// +/// returns: +/// STPCardValidationStateValid if the number is valid, +/// STPCardValidationStateInvalid if the number is invalid, or +/// STPCardValidationStateIncomplete if the number is a substring of a valid +/// card (e.g. @“4242”). ++ (enum STPCardValidationState)validationStateForNumber:(NSString * _Nullable)cardNumber validatingCardBrand:(BOOL)validatingCardBrand SWIFT_WARN_UNUSED_RESULT; +/// The card brand for a card number or substring thereof. +/// \param cardNumber A card number, or partial card number. For +/// example, @“4242”, @“5555555555554444”, or @“123”. +/// +/// +/// returns: +/// The brand for that card number. The example parameters would +/// return STPCardBrandVisa, STPCardBrandMasterCard, and +/// STPCardBrandUnknown, respectively. ++ (enum STPCardBrand)brandForNumber:(NSString * _Nonnull)cardNumber SWIFT_WARN_UNUSED_RESULT; +/// The possible number lengths for cards associated with a card brand. For +/// example, Discover card numbers contain 16 characters, while American Express +/// cards contain 15 characters. +/// \param brand The brand to return lengths for. +/// +/// +/// returns: +/// The set of possible lengths cards associated with that brand can be. ++ (NSSet * _Nonnull)lengthsForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// The maximum possible length the number of a card associated with the specified +/// brand could be. +/// For example, Visa cards could be either 13 or 16 characters, so this method +/// would return 16 for the that card brand. +/// \param brand The brand to return the max length for. +/// +/// +/// returns: +/// The maximum length card numbers associated with that brand could be. ++ (NSInteger)maxLengthForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// The length of the final grouping of digits to use when formatting a card number +/// for display. +/// For example, Visa cards display their final 4 numbers, e.g. “4242”, while +/// American Express cards display their final 5 digits, e.g. “10005”. +/// \param brand The brand to return the fragment length for. +/// +/// +/// returns: +/// The final fragment length card numbers associated with that brand use. ++ (NSInteger)fragmentLengthForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// Validates an expiration month, passed as an (optionally 0-padded) string. +/// Example valid values are “3”, “12”, and “08”. Example invalid values are “99”, +/// “a”, and “00”. Incomplete values include “0” and “1”. +/// \param expirationMonth A string representing a 2-digit expiration month for a +/// payment card. +/// +/// +/// returns: +/// STPCardValidationStateValid if the month is valid, +/// STPCardValidationStateInvalid if the month is invalid, or +/// STPCardValidationStateIncomplete if the month is a substring of a valid +/// month (e.g. @“0” or @“1”). ++ (enum STPCardValidationState)validationStateForExpirationMonth:(NSString * _Nonnull)expirationMonth SWIFT_WARN_UNUSED_RESULT; +/// Validates an expiration year, passed as a string representing the final +/// 2 digits of the year. +/// This considers the period between the current year until 2099 as valid times. +/// An example valid year value would be “16” (assuming the current year, as +/// determined by NSDate.date, is 2015). +/// Will return STPCardValidationStateInvalid for a month/year combination that +/// is earlier than the current date (i.e. @“15” and @“04” in October 2015). +/// Example invalid year values are “00”, “a”, and “13”. Any 1-digit year string +/// will return STPCardValidationStateIncomplete. +/// \param expirationYear A string representing a 2-digit expiration year for a +/// payment card. +/// +/// \param expirationMonth A string representing a valid 2-digit expiration month +/// for a payment card. If the month is invalid +/// (see validationStateForExpirationMonth), this will +/// return STPCardValidationStateInvalid. +/// +/// +/// returns: +/// STPCardValidationStateValid if the year is valid, +/// STPCardValidationStateInvalid if the year is invalid, or +/// STPCardValidationStateIncomplete if the year is a substring of a valid +/// year (e.g. @“1” or @“2”). ++ (enum STPCardValidationState)validationStateForExpirationYear:(NSString * _Nonnull)expirationYear inMonth:(NSString * _Nonnull)expirationMonth SWIFT_WARN_UNUSED_RESULT; +/// The max CVC length for a card brand (for example, American Express CVCs are +/// 4 digits, while all others are 3). +/// \param brand The brand to return the max CVC length for. +/// +/// +/// returns: +/// The maximum length of CVC numbers for cards associated with that brand. ++ (NSUInteger)maxCVCLengthForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// Validates a card’s CVC, passed as a numeric string, for the given card brand. +/// \param cvc the CVC to validate +/// +/// \param brand the card brand (can be determined from the card’s number +/// using brandForNumber) +/// +/// +/// returns: +/// Whether the CVC represents a valid CVC for that card brand. For +/// example, would return STPCardValidationStateValid for @“123” and +/// STPCardBrandVisa, STPCardValidationStateValid for @“1234” and +/// STPCardBrandAmericanExpress, STPCardValidationStateIncomplete for @“12” and +/// STPCardBrandVisa, and STPCardValidationStateInvalid for @“12345” and any brand. ++ (enum STPCardValidationState)validationStateForCVC:(NSString * _Nonnull)cvc cardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// Validates the given card details. +/// \param card The card details to validate. +/// +/// +/// returns: +/// STPCardValidationStateValid if all fields are valid, +/// STPCardValidationStateInvalid if any field is invalid, or +/// STPCardValidationStateIncomplete if all fields are either incomplete or valid. ++ (enum STPCardValidationState)validationStateForCard:(STPCardParams * _Nonnull)card SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + +/// Alipay options to pass to `STPConfirmPaymentMethodOptions`` +SWIFT_CLASS("_TtC6Stripe23STPConfirmAlipayOptions") +@interface STPConfirmAlipayOptions : NSObject +/// The app bundle ID. +/// @note This is automatically populated by the SDK. +@property (nonatomic, readonly, copy) NSString * _Nonnull appBundleID; +/// The app version. +/// @note This is automatically populated by the SDK. +@property (nonatomic, readonly, copy) NSString * _Nonnull appVersionKey; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPConfirmAlipayOptions (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// BLIK options to pass to `STPConfirmPaymentMethodOptions`` +/// seealso: +/// https://site-admin.stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-blik +SWIFT_CLASS("_TtC6Stripe21STPConfirmBLIKOptions") +@interface STPConfirmBLIKOptions : NSObject +/// The 6-digit BLIK code that a customer has generated using their banking application. +@property (nonatomic, copy) NSString * _Nonnull code; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// Initializes STPConfirmBLIKOptions +/// \param code The 6-digit BLIK code that a customer has generated using their banking application. +/// +- (nonnull instancetype)initWithCode:(NSString * _Nonnull)code OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPConfirmBLIKOptions (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Options to update a Card PaymentMethod during PaymentIntent confirmation. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card +SWIFT_CLASS("_TtC6Stripe21STPConfirmCardOptions") +@interface STPConfirmCardOptions : NSObject +/// CVC value with which to update the Card PaymentMethod. +@property (nonatomic, copy) NSString * _Nullable cvc; +/// Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time. +@property (nonatomic, copy) NSString * _Nullable network; +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPConfirmCardOptions (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + +@class STPConfirmWeChatPayOptions; + +/// Options to update the associated PaymentMethod during PaymentIntent confirmation. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-payment_method_options +SWIFT_CLASS("_TtC6Stripe30STPConfirmPaymentMethodOptions") +@interface STPConfirmPaymentMethodOptions : NSObject +/// Options to update a Card PaymentMethod. +/// seealso: +/// STPConfirmCardOptions +@property (nonatomic, strong) STPConfirmCardOptions * _Nullable cardOptions; +/// Options for an Alipay Payment Method. +@property (nonatomic, strong) STPConfirmAlipayOptions * _Nullable alipayOptions; +/// Options for a BLIK Payment Method. +@property (nonatomic, strong) STPConfirmBLIKOptions * _Nullable blikOptions; +/// Options for a WeChat Pay Payment Method. +@property (nonatomic, strong) STPConfirmWeChatPayOptions * _Nullable weChatPayOptions; +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + +@interface STPConfirmPaymentMethodOptions (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// WeChat Pay options to pass to `STPConfirmPaymentMethodOptions`` +/// seealso: +/// https://site-admin.stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-wechat_pay +SWIFT_CLASS("_TtC6Stripe26STPConfirmWeChatPayOptions") +@interface STPConfirmWeChatPayOptions : NSObject +/// Your WeChat-provided application ID. WeChat Pay uses +/// this as the redirect URL scheme. +@property (nonatomic, copy) NSString * _Nullable appId; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// Initializes STPConfirmWeChatPayOptions +/// \param appId Your WeChat-provided application ID. WeChat Pay +/// uses this as the redirect URL scheme. +/// +- (nonnull instancetype)initWithAppId:(NSString * _Nonnull)appId OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPConfirmWeChatPayOptions (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An address to use with STPConnectAccountParams. +SWIFT_CLASS("_TtC6Stripe24STPConnectAccountAddress") +@interface STPConnectAccountAddress : NSObject +/// City, district, suburb, town, or village. +/// For addresses in Japan: City or ward. +@property (nonatomic, copy) NSString * _Nullable city; +/// Two-letter country code (ISO 3166-1 alpha-2). +/// seealso: +/// https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 +@property (nonatomic, copy) NSString * _Nullable country; +/// Address line 1 (e.g., street, PO Box, or company name). +/// For addresses in Japan: Block or building number. +@property (nonatomic, copy) NSString * _Nullable line1; +/// Address line 2 (e.g., apartment, suite, unit, or building). +/// For addresses in Japan: Building details. +@property (nonatomic, copy) NSString * _Nullable line2; +/// ZIP or postal code. +@property (nonatomic, copy) NSString * _Nullable postalCode; +/// State, county, province, or region. +/// For addresses in Japan: Prefecture. +@property (nonatomic, copy) NSString * _Nullable state; +/// Town or cho-me. +/// This property only applies to Japanese addresses. +@property (nonatomic, copy) NSString * _Nullable town; +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPConnectAccountAddress (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + +/// The business type of the Connect account. +typedef SWIFT_ENUM(NSInteger, STPConnectAccountBusinessType, open) { +/// This Connect account represents an individual. + STPConnectAccountBusinessTypeIndividual = 0, +/// This Connect account represents a company. + STPConnectAccountBusinessTypeCompany = 1, +}; + +@class NSNumber; + +/// Information about the company or business to use with STPConnectAccountParams. +/// seealso: +/// https://stripe.com/docs/api/tokens/create_account#create_account_token-account-company +SWIFT_CLASS("_TtC6Stripe30STPConnectAccountCompanyParams") +@interface STPConnectAccountCompanyParams : NSObject +/// The company’s primary address. +@property (nonatomic, strong) STPConnectAccountAddress * _Null_unspecified address; +/// The Kana variation of the company’s primary address (Japan only). +@property (nonatomic, strong) STPConnectAccountAddress * _Nullable kanaAddress; +/// The Kanji variation of the company’s primary address (Japan only). +@property (nonatomic, strong) STPConnectAccountAddress * _Nullable kanjiAddress; +/// Whether the company’s directors have been provided. +/// Set this Boolean to true after creating all the company’s directors with the Persons API (https://stripe.com/docs/api/persons) for accounts with a relationship.director requirement. +/// This value is not automatically set to true after creating directors, so it needs to be updated to indicate all directors have been provided. +@property (nonatomic, strong) NSNumber * _Nullable directorsProvided; +/// The company’s legal name. +@property (nonatomic, copy) NSString * _Nullable name; +/// The Kana variation of the company’s legal name (Japan only). +@property (nonatomic, copy) NSString * _Nullable kanaName; +/// The Kanji variation of the company’s legal name (Japan only). +@property (nonatomic, copy) NSString * _Nullable kanjiName; +/// Whether the company’s owners have been provided. +/// Set this Boolean to true after creating all the company’s owners with the Persons API (https://stripe.com/docs/api/persons) for accounts with a relationship.owner requirement. +@property (nonatomic, strong) NSNumber * _Nullable ownersProvided; +/// The company’s phone number (used for verification). +@property (nonatomic, copy) NSString * _Nullable phone; +/// The business ID number of the company, as appropriate for the company’s country. +/// (Examples are an Employer ID Number in the U.S., a Business Number in Canada, or a Company Number in the UK.) +@property (nonatomic, copy) NSString * _Nullable taxID; +/// The jurisdiction in which the taxID is registered (Germany-based companies only). +@property (nonatomic, copy) NSString * _Nullable taxIDRegistrar; +/// The VAT number of the company. +@property (nonatomic, copy) NSString * _Nullable vatID; +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPConnectAccountCompanyParams (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + +@class STPConnectAccountIndividualVerification; + +/// Information about the person represented by the account for use with STPConnectAccountParams. +/// seealso: +/// https://stripe.com/docs/api/tokens/create_account#create_account_token-account-individual +SWIFT_CLASS("_TtC6Stripe33STPConnectAccountIndividualParams") +@interface STPConnectAccountIndividualParams : NSObject +/// The individual’s primary address. +@property (nonatomic, strong) STPConnectAccountAddress * _Nullable address; +/// The Kana variation of the the individual’s primary address (Japan only). +@property (nonatomic, strong) STPConnectAccountAddress * _Nullable kanaAddress; +/// The Kanji variation of the the individual’s primary address (Japan only). +@property (nonatomic, strong) STPConnectAccountAddress * _Nullable kanjiAddress; +/// The individual’s date of birth. +/// Must include day, month, and year, and only those fields are used. +@property (nonatomic, copy) NSDateComponents * _Nullable dateOfBirth; +/// The individual’s email address. +@property (nonatomic, copy) NSString * _Nullable email; +/// The individual’s first name. +@property (nonatomic, copy) NSString * _Nullable firstName; +/// The Kana variation of the the individual’s first name (Japan only). +@property (nonatomic, copy) NSString * _Nullable kanaFirstName; +/// The Kanji variation of the individual’s first name (Japan only). +@property (nonatomic, copy) NSString * _Nullable kanjiFirstName; +/// The individual’s gender +/// International regulations require either “male” or “female”. +@property (nonatomic, copy) NSString * _Nullable gender; +/// The government-issued ID number of the individual, as appropriate for the representative’s country. +/// Examples are a Social Security Number in the U.S., or a Social Insurance Number in Canada. +/// Instead of the number itself, you can also provide a PII token created with Stripe.js (see https://stripe.com/docs/stripe-js/reference#collecting-pii-data). +@property (nonatomic, copy) NSString * _Nullable idNumber; +/// The individual’s last name. +@property (nonatomic, copy) NSString * _Nullable lastName; +/// The Kana varation of the individual’s last name (Japan only). +@property (nonatomic, copy) NSString * _Nullable kanaLastName; +/// The Kanji varation of the individual’s last name (Japan only). +@property (nonatomic, copy) NSString * _Nullable kanjiLastName; +/// The individual’s maiden name. +@property (nonatomic, copy) NSString * _Nullable maidenName; +/// Set of key-value pairs that you can attach to an object. +/// This can be useful for storing additional information about the object in a structured format. +@property (nonatomic, copy) NSDictionary * _Nullable metadata; +/// The individual’s phone number. +@property (nonatomic, copy) NSString * _Nullable phone; +/// The last four digits of the individual’s Social Security Number (U.S. only). +@property (nonatomic, copy) NSString * _Nullable ssnLast4; +/// The individual’s verification document information. +@property (nonatomic, strong) STPConnectAccountIndividualVerification * _Nullable verification; +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPConnectAccountIndividualParams (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + +@class STPConnectAccountVerificationDocument; + +/// The individual’s verification document information for use with STPConnectAccountIndividualParams. +SWIFT_CLASS("_TtC6Stripe39STPConnectAccountIndividualVerification") +@interface STPConnectAccountIndividualVerification : NSObject +/// An identifying document, either a passport or local ID card. +@property (nonatomic, strong) STPConnectAccountVerificationDocument * _Nullable document; +/// A document showing address, either a passport, local ID card, or utility bill from a well-known utility company. +@property (nonatomic, strong) STPConnectAccountVerificationDocument * _Nullable additionalDocument; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPConnectAccountIndividualVerification (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Parameters for creating a Connect Account token. +/// seealso: +/// https://stripe.com/docs/api/tokens/create_account +SWIFT_CLASS("_TtC6Stripe23STPConnectAccountParams") +@interface STPConnectAccountParams : NSObject +/// Boolean indicating that the Terms Of Service were shown to the user & +/// the user accepted them. +@property (nonatomic, readonly, strong) NSNumber * _Nullable tosShownAndAccepted; +/// The business type. +@property (nonatomic, readonly) enum STPConnectAccountBusinessType businessType; +/// Information about the individual represented by the account. +@property (nonatomic, readonly, strong) STPConnectAccountIndividualParams * _Nullable individual; +/// Information about the company or business. +@property (nonatomic, readonly, strong) STPConnectAccountCompanyParams * _Nullable company; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initialize STPConnectAccountParams with tosShownAndAccepted = YES +/// This method cannot be called with wasAccepted == NO, guarded by a NSParameterAssert(). +/// Use this init method if you want to set the tosShownAndAccepted parameter. If you +/// don’t, use the initWithIndividual: version instead. +/// \param wasAccepted Must be YES, but only if the user was shown & accepted the ToS +/// +/// \param individual Information about the person represented by the account. See STPConnectAccountIndividualParams. +/// +- (nullable instancetype)initWithTosShownAndAccepted:(BOOL)wasAccepted individual:(STPConnectAccountIndividualParams * _Nonnull)individual OBJC_DESIGNATED_INITIALIZER; +/// Initialize STPConnectAccountParams with tosShownAndAccepted = YES +/// This method cannot be called with wasAccepted == NO, guarded by a NSParameterAssert(). +/// Use this init method if you want to set the tosShownAndAccepted parameter. If you +/// don’t, use the initWithCompany: version instead. +/// \param wasAccepted Must be YES, but only if the user was shown & accepted the ToS +/// +/// \param company Information about the company or business. See STPConnectAccountCompanyParams. +/// +- (nullable instancetype)initWithTosShownAndAccepted:(BOOL)wasAccepted company:(STPConnectAccountCompanyParams * _Nonnull)company OBJC_DESIGNATED_INITIALIZER; +/// Initialize STPConnectAccountParams with the provided individual dictionary. +/// \param individual Information about the person represented by the account +/// This init method cannot change the tosShownAndAccepted parameter. Use +/// initWithTosShownAndAccepted:individual: instead if you need to do that. +/// +- (nonnull instancetype)initWithIndividual:(STPConnectAccountIndividualParams * _Nonnull)individual OBJC_DESIGNATED_INITIALIZER; +/// Initialize STPConnectAccountParams with the provided company dictionary. +/// \param company Information about the company or business +/// This init method cannot change the tosShownAndAccepted parameter. Use +/// initWithTosShownAndAccepted:company: instead if you need to do that. +/// +- (nonnull instancetype)initWithCompany:(STPConnectAccountCompanyParams * _Nonnull)company OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPConnectAccountParams (SWIFT_EXTENSION(Stripe)) ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An identifying document, either a passport or local ID card for use with STPConnectAccountIndividualVerification. +SWIFT_CLASS("_TtC6Stripe37STPConnectAccountVerificationDocument") +@interface STPConnectAccountVerificationDocument : NSObject +/// The back of an ID returned by a file upload with a purpose value of identity_document. +/// seealso: +/// https://stripe.com/docs/api/files/create for file uploads +@property (nonatomic, copy) NSString * _Nullable back; +/// The front of an ID returned by a file upload with a purpose value of identity_document. +/// seealso: +/// https://stripe.com/docs/api/files/create for file uploads +@property (nonatomic, copy) NSString * _Nullable front; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPConnectAccountVerificationDocument (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Contains constants that represent different parts of a users contact/address information. +SWIFT_CLASS("_TtC6Stripe15STPContactField") +@interface STPContactField : NSObject +/// The contact’s full physical address. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPContactField * _Nonnull postalAddress;) ++ (STPContactField * _Nonnull)postalAddress SWIFT_WARN_UNUSED_RESULT; +/// The contact’s email address +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPContactField * _Nonnull emailAddress;) ++ (STPContactField * _Nonnull)emailAddress SWIFT_WARN_UNUSED_RESULT; +/// The contact’s phone number. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPContactField * _Nonnull phoneNumber;) ++ (STPContactField * _Nonnull)phoneNumber SWIFT_WARN_UNUSED_RESULT; +/// The contact’s name. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPContactField * _Nonnull name;) ++ (STPContactField * _Nonnull)name SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + + + +/// An STPCustomer represents a deserialized Customer object from the Stripe API. +/// You shouldn’t need to instantiate an STPCustomer – you should instead use +/// STPCustomerContext to manage retrieving and updating a customer. +SWIFT_CLASS("_TtC6Stripe11STPCustomer") +@interface STPCustomer : NSObject +/// The Stripe ID of the customer, e.g. cus_1234 +@property (nonatomic, readonly, copy) NSString * _Nonnull stripeID; +/// The default source used to charge the customer. +@property (nonatomic, readonly, strong) id _Nullable defaultSource; +/// The available payment sources the customer has (this may be an empty array). +@property (nonatomic, readonly, copy) NSArray> * _Nonnull sources; +/// The customer’s email address. +@property (nonatomic, readonly, copy) NSString * _Nullable email; +/// The customer’s shipping address. +@property (nonatomic, strong) STPAddress * _Nullable shippingAddress; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// Initialize a customer object with the provided values. +/// \param stripeID The ID of the customer, e.g. cus_abc +/// +/// \param defaultSource The default source of the customer, such as an STPCard object. Can be nil. +/// +/// \param sources All of the customer’s payment sources. This might be an empty array. +/// +/// +/// returns: +/// an instance of STPCustomer +- (nonnull instancetype)initWithStripeID:(NSString * _Nonnull)stripeID defaultSource:(id _Nullable)defaultSource sources:(NSArray> * _Nonnull)sources; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// Replaces the customer’s sources and defaultSource based on whether or not +/// they should include Apple Pay sources. More details on documentation for +/// STPCustomerContext includeApplePaySources +/// @param filteringApplePay If YES, Apple Pay sources will be ignored +- (void)updateSourcesFilteringApplePay:(BOOL)filteringApplePay; +@end + + +@interface STPCustomer (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +@protocol STPCustomerEphemeralKeyProvider; + +/// An STPCustomerContext retrieves and updates a Stripe customer and their attached +/// payment methods using an ephemeral key, a short-lived API key scoped to a specific +/// customer object. If your current user logs out of your app and a new user logs in, +/// be sure to either create a new instance of STPCustomerContext or clear the current +/// instance’s cache. On your backend, be sure to create and return a +/// new ephemeral key for the Customer object associated with the new user. +SWIFT_CLASS("_TtC6Stripe18STPCustomerContext") +@interface STPCustomerContext : NSObject +/// Initializes a new STPCustomerContext with the specified key provider. +/// Upon initialization, a CustomerContext will fetch a new ephemeral key from +/// your backend and use it to prefetch the customer object specified in the key. +/// Subsequent customer and payment method retrievals (e.g. by STPPaymentContext) +/// will return the prefetched customer / attached payment methods immediately if +/// its age does not exceed 60 seconds. +/// \param keyProvider The key provider the customer context will use. +/// +/// +/// returns: +/// the newly-instantiated customer context. +- (nonnull instancetype)initWithKeyProvider:(id _Nonnull)keyProvider; +/// Initializes a new STPCustomerContext with the specified key provider. +/// Upon initialization, a CustomerContext will fetch a new ephemeral key from +/// your backend and use it to prefetch the customer object specified in the key. +/// Subsequent customer and payment method retrievals (e.g. by STPPaymentContext) +/// will return the prefetched customer / attached payment methods immediately if +/// its age does not exceed 60 seconds. +/// \param keyProvider The key provider the customer context will use. +/// +/// \param apiClient The API Client to use to make requests. +/// +/// +/// returns: +/// the newly-instantiated customer context. +- (nonnull instancetype)initWithKeyProvider:(id _Nullable)keyProvider apiClient:(STPAPIClient * _Nonnull)apiClient; +/// STPCustomerContext will cache its customer object and associated payment methods +/// for up to 60 seconds. If your current user logs out of your app and a new user logs +/// in, be sure to either call this method or create a new instance of STPCustomerContext. +/// On your backend, be sure to create and return a new ephemeral key for the +/// customer object associated with the new user. +- (void)clearCache; +/// By default, STPCustomerContext will filter Apple Pay when it retrieves +/// Payment Methods. Apple Pay payment methods should generally not be re-used and +/// shouldn’t be offered to customers as a new payment method (Apple Pay payment +/// methods may only be re-used for subscriptions). +/// If you are using STPCustomerContext to back your own UI and would like to +/// disable Apple Pay filtering, set this property to YES. +/// Note: If you are using STPPaymentContext, you should not change this property. +@property (nonatomic) BOOL includeApplePayPaymentMethods; +- (void)retrieveCustomer:(void (^ _Nullable)(STPCustomer * _Nullable, NSError * _Nullable))completion; +- (void)updateCustomerWithShippingAddress:(STPAddress * _Nonnull)shipping completion:(void (^ _Nullable)(NSError * _Nullable))completion; +/// A convenience method for attaching the PaymentMethod to the current Customer +- (void)attachPaymentMethodToCustomerWithPaymentMethodId:(NSString * _Nonnull)paymentMethodId completion:(void (^ _Nullable)(NSError * _Nullable))completion; +- (void)attachPaymentMethodToCustomer:(STPPaymentMethod * _Nonnull)paymentMethod completion:(void (^ _Nullable)(NSError * _Nullable))completion; +/// A convenience method for detaching the PaymentMethod to the current Customer +- (void)detachPaymentMethodFromCustomerWithPaymentMethodId:(NSString * _Nonnull)paymentMethodId completion:(void (^ _Nullable)(NSError * _Nullable))completion; +- (void)detachPaymentMethodFromCustomer:(STPPaymentMethod * _Nonnull)paymentMethod completion:(void (^ _Nullable)(NSError * _Nullable))completion; +- (void)listPaymentMethodsForCustomerWithCompletion:(void (^ _Nullable)(NSArray * _Nullable, NSError * _Nullable))completion; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@class NSURLResponse; + +/// Use STPCustomerDeserializer to convert a response from the Stripe API into an STPCustomer object. STPCustomerDeserializer expects the JSON response to be in the exact same format as the Stripe API. +SWIFT_CLASS("_TtC6Stripe23STPCustomerDeserializer") +@interface STPCustomerDeserializer : NSObject +/// If a customer was successfully parsed from the response, it will be set here. Otherwise, this value wil be nil (and the error property will explain what went wrong). +@property (nonatomic, readonly, strong) STPCustomer * _Nullable customer; +/// If the deserializer failed to parse a customer, this property will explain why (and the customer property will be nil). +@property (nonatomic, readonly) NSError * _Nullable error; +/// Initialize a customer deserializer. The data, urlResponse, and error +/// parameters are intended to be passed from an NSURLSessionDataTask callback. +/// After it has been initialized, you can inspect the error and customer +/// properties to see if the deserialization was successful. If error is nil, +/// customer will be non-nil (and vice versa). +/// \param data An NSData object representing encoded JSON for a Customer object +/// +/// \param urlResponse The URL response obtained from the NSURLSessionTask +/// +/// \param error Any error that occurred from the URL session task (if this +/// is non-nil, the error property will be set to this value after initialization). +/// +- (nonnull instancetype)initWithData:(NSData * _Nullable)data urlResponse:(NSURLResponse * _Nullable)urlResponse error:(NSError * _Nullable)error; +/// Initializes a customer deserializer with a JSON dictionary. This JSON should be +/// in the exact same format as what the Stripe API returns. If it’s successfully +/// parsed, the customer parameter will be present after initialization; +/// otherwise error will be present. +/// \param json a JSON dictionary. +/// +- (nonnull instancetype)initWithJsonResponse:(id _Nullable)json; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// You should make your application’s API client conform to this interface. +/// It provides a way for Stripe utility classes to request a new ephemeral key from +/// your backend, which it will use to retrieve and update Stripe API objects. +SWIFT_PROTOCOL("_TtP6Stripe31STPCustomerEphemeralKeyProvider_") +@protocol STPCustomerEphemeralKeyProvider +/// Creates a new ephemeral key for retrieving and updating a Stripe customer. +/// On your backend, you should create a new ephemeral key for the Stripe customer +/// associated with your user, and return the raw JSON response from the Stripe API. +/// For an example Ruby implementation of this API, refer to our example backend: +/// https://github.com/stripe/example-mobile-backend/blob/v18.1.0/web.rb +/// Back in your iOS app, once you have a response from this API, call the provided +/// completion block with the JSON response, or an error if one occurred. +/// \param apiVersion The Stripe API version to use when creating a key. +/// You should pass this parameter to your backend, and use it to set the API version +/// in your key creation request. Passing this version parameter ensures that the +/// Stripe SDK can always parse the ephemeral key response from your server. +/// +/// \param completion Call this callback when you’re done fetching a new ephemeral +/// key from your backend. For example, completion(json, nil) (if your call succeeds) +/// or completion(nil, error) if an error is returned. +/// +- (void)createCustomerKeyWithAPIVersion:(NSString * _Nonnull)apiVersion completion:(void (^ _Nonnull)(NSDictionary * _Nullable, NSError * _Nullable))completion; +@end + + +/// An individual’s date of birth. +/// See https://stripe.com/docs/api/tokens/create_account#create_account_token-account-individual-dob +SWIFT_CLASS("_TtC6Stripe14STPDateOfBirth") +@interface STPDateOfBirth : NSObject +/// The day of birth, between 1 and 31. +@property (nonatomic) NSInteger day; +/// The month of birth, between 1 and 12. +@property (nonatomic) NSInteger month; +/// The four-digit year of birth. +@property (nonatomic) NSInteger year; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPDateOfBirth (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// You should make your application’s API client conform to this interface. +/// It provides a way for Stripe utility classes to request a new ephemeral key from +/// your backend, which it will use to retrieve and update Stripe API objects. +/// @deprecated use STPCustomerEphemeralKeyProvider or STPIssuingCardEphemeralKeyProvider +/// depending on the type of key that will@objc be fetched. +SWIFT_PROTOCOL("_TtP6Stripe23STPEphemeralKeyProvider_") SWIFT_DEPRECATED_MSG("use `STPCustomerEphemeralKeyProvider` or `STPIssuingCardEphemeralKeyProvider` depending on the type of key that will be fetched.") +@protocol STPEphemeralKeyProvider +@end + +enum STPFPXBankBrand : NSInteger; + +/// Convenience methods for using FPX bank brands. +SWIFT_CLASS("_TtC6Stripe10STPFPXBank") +@interface STPFPXBank : NSObject +/// Returns a string representation for the provided bank brand; +/// i.e. STPFPXBank.stringFrom(brand:.uob) == "UOB Bank". +/// \param brand The brand you want to convert to a string +/// +/// +/// returns: +/// A string representing the brand, suitable for displaying to a user. ++ (NSString * _Nullable)stringFrom:(enum STPFPXBankBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// Returns a bank brand provided a string representation identifying a bank brand; +/// i.e. STPFPXBankBrandFromIdentifier(@"uob") == STPCardBrandUob. +/// \param identifier The identifier for the brand +/// +/// +/// returns: +/// The STPFPXBankBrand enum value ++ (enum STPFPXBankBrand)brandFrom:(NSString * _Nullable)identifier SWIFT_WARN_UNUSED_RESULT; +/// Returns a string representation identifying the provided bank brand; +/// i.e. STPIdentifierFromFPXBankBrand(STPCardBrandUob) == @"uob". +/// \param brand The brand you want to convert to a string +/// +/// +/// returns: +/// A string representing the brand, suitable for using with the Stripe API. ++ (NSString * _Nullable)identifierFrom:(enum STPFPXBankBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// Returns the code identifying the provided bank brand in the FPX status API; +/// i.e. STPIdentifierFromFPXBankBrand(STPCardBrandUob) == @"UOB0226". +/// \param brand The brand you want to convert to an FPX bank code +/// +/// \param isBusiness Requests the code for the business version of this bank brand, which may be different from the code used for individual accounts +/// +/// +/// returns: +/// A string representing the brand, suitable for checking against the FPX status API. ++ (NSString * _Nullable)bankCodeFrom:(enum STPFPXBankBrand)brand :(BOOL)isBusiness SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +/// The various bank brands available for FPX payments. +typedef SWIFT_ENUM(NSInteger, STPFPXBankBrand, open) { +/// Maybank2U + STPFPXBankBrandMaybank2U = 0, +/// CIMB Clicks + STPFPXBankBrandCIMB = 1, +/// Public Bank + STPFPXBankBrandPublicBank = 2, +/// RHB Bank + STPFPXBankBrandRHB = 3, +/// Hong Leong Bank + STPFPXBankBrandHongLeongBank = 4, +/// AmBank + STPFPXBankBrandAmbank = 5, +/// Affin Bank + STPFPXBankBrandAffinBank = 6, +/// Alliance Bank + STPFPXBankBrandAllianceBank = 7, +/// Bank Islam + STPFPXBankBrandBankIslam = 8, +/// Bank Muamalat + STPFPXBankBrandBankMuamalat = 9, +/// Bank Rakyat + STPFPXBankBrandBankRakyat = 10, +/// BSN + STPFPXBankBrandBSN = 11, +/// HSBC BANK + STPFPXBankBrandHSBC = 12, +/// KFH + STPFPXBankBrandKFH = 13, +/// Maybank2E + STPFPXBankBrandMaybank2E = 14, +/// OCBC Bank + STPFPXBankBrandOcbc = 15, +/// Standard Chartered + STPFPXBankBrandStandardChartered = 16, +/// UOB Bank + STPFPXBankBrandUOB = 17, +/// An unknown bank + STPFPXBankBrandUnknown = 18, +}; + +@class PKAddPaymentPassRequestConfiguration; +@protocol PKAddPaymentPassViewControllerDelegate; + +/// This class is a piece of fake UI that is intended to mimic PKAddPaymentPassViewController. That class is restricted to apps with a special entitlement from Apple, and as such can be difficult to build and test against. This class implements the same public API as PKAddPaymentPassViewController, and can be used to develop against the Stripe API in testmode only. (Obviously it will not actually place cards into the user’s Apple Pay wallet either.) When it’s time to go to production, you may simply replace all references to STPFakeAddPaymentPassViewController in your app with PKAddPaymentPassViewController and it will continue to function. For more information on developing against this API, please see https://stripe.com/docs/issuing/cards/digital-wallets . +SWIFT_CLASS("_TtC6Stripe35STPFakeAddPaymentPassViewController") +@interface STPFakeAddPaymentPassViewController : UIViewController +/// @see PKAddPaymentPassViewController ++ (BOOL)canAddPaymentPass SWIFT_WARN_UNUSED_RESULT; +/// @see PKAddPaymentPassViewController +- (nullable instancetype)initWithRequestConfiguration:(PKAddPaymentPassRequestConfiguration * _Nonnull)configuration delegate:(id _Nullable)delegate OBJC_DESIGNATED_INITIALIZER; +/// @see PKAddPaymentPassViewController +@property (nonatomic, weak) id _Nullable delegate; +/// :nodoc: +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil; +/// :nodoc: +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder; +/// :nodoc: +- (void)viewDidLoad; +@end + +enum STPFilePurpose : NSInteger; + +/// Representation of a file upload object in the Stripe API. +/// seealso: +/// https://stripe.com/docs/api#file_uploads +SWIFT_CLASS("_TtC6Stripe7STPFile") +@interface STPFile : NSObject +/// The token for this file. +@property (nonatomic, readonly, copy) NSString * _Nullable fileId; +/// The date this file was created. +@property (nonatomic, readonly, copy) NSDate * _Nullable created; +/// The purpose of this file. This can be either an identifing document or an evidence dispute. +/// seealso: +/// https://stripe.com/docs/file-upload +@property (nonatomic, readonly) enum STPFilePurpose purpose; +/// The file size in bytes. +@property (nonatomic, readonly, strong) NSNumber * _Nullable size; +/// The file type. This can be “jpg”, “png”, or “pdf”. +@property (nonatomic, readonly, copy) NSString * _Nullable type; +/// Returns the string value for a purpose. ++ (NSString * _Nullable)stringFromPurpose:(enum STPFilePurpose)purpose SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// :nodoc: +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) NSUInteger hash; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// The purpose of the uploaded file. +/// seealso: +/// https://stripe.com/docs/file-upload +typedef SWIFT_ENUM(NSInteger, STPFilePurpose, open) { +/// Identity document file + STPFilePurposeIdentityDocument = 0, +/// Dispute evidence file + STPFilePurposeDisputeEvidence = 1, +/// A file of unknown purpose type + STPFilePurposeUnknown = 2, +}; + + + + + + + +/// This class lets you access card icons used by the Stripe SDK. All icons are 32 x 20 points. +SWIFT_CLASS("_TtC6Stripe15STPImageLibrary") +@interface STPImageLibrary : NSObject +/// An icon representing Apple Pay. ++ (UIImage * _Nonnull)applePayCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon representing American Express. ++ (UIImage * _Nonnull)amexCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon representing Diners Club. ++ (UIImage * _Nonnull)dinersClubCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon representing Discover. ++ (UIImage * _Nonnull)discoverCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon representing JCB. ++ (UIImage * _Nonnull)jcbCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon representing Mastercard. ++ (UIImage * _Nonnull)mastercardCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon representing UnionPay. ++ (UIImage * _Nonnull)unionPayCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon representing Visa. ++ (UIImage * _Nonnull)visaCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon to use when the type of the card is unknown. ++ (UIImage * _Nonnull)unknownCardCardImage SWIFT_WARN_UNUSED_RESULT; +/// This returns the appropriate icon for the specified card brand. ++ (UIImage * _Nonnull)brandImageForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// This returns the appropriate icon for the specified bank brand. ++ (UIImage * _Nonnull)brandImageForFPXBankBrand:(enum STPFPXBankBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// An icon representing FPX. ++ (UIImage * _Nonnull)fpxLogo SWIFT_WARN_UNUSED_RESULT; +/// A large branding image for FPX. ++ (UIImage * _Nonnull)largeFpxLogo SWIFT_WARN_UNUSED_RESULT; +/// An icon representing Afterpay. ++ (UIImage * _Nonnull)afterpayLogo SWIFT_WARN_UNUSED_RESULT; +/// This returns the appropriate icon for the specified card brand as a +/// single color template that can be tinted ++ (UIImage * _Nonnull)templatedBrandImageForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// This returns a small icon indicating the CVC location for the given card brand. ++ (UIImage * _Nonnull)cvcImageForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// This returns a small icon indicating a card number error for the given card brand. ++ (UIImage * _Nonnull)errorImageForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +enum STPIntentActionType : NSInteger; +@class STPIntentActionRedirectToURL; +@class STPIntentActionOXXODisplayDetails; +@class STPIntentActionAlipayHandleRedirect; +@class STPIntentActionWechatPayRedirectToApp; +@class STPIntentActionBoletoDisplayDetails; + +/// Next action details for STPPaymentIntent and STPSetupIntent. +/// This is a container for the various types that are available. +/// Check the type to see which one it is, and then use the related +/// property for the details necessary to handle it. +/// You cannot directly instantiate an STPIntentAction. +SWIFT_CLASS("_TtC6Stripe15STPIntentAction") +@interface STPIntentAction : NSObject +/// The type of action needed. The value of this field determines which +/// property of this object contains further details about the action. +@property (nonatomic, readonly) enum STPIntentActionType type; +/// The details for authorizing via URL, when type == .redirectToURL +@property (nonatomic, readonly, strong) STPIntentActionRedirectToURL * _Nullable redirectToURL; +/// The details for displaying OXXO voucher via URL, when type == .OXXODisplayDetails +@property (nonatomic, readonly, strong) STPIntentActionOXXODisplayDetails * _Nullable oxxoDisplayDetails; +/// Contains instructions for authenticating a payment by redirecting your customer to Alipay App or website. +@property (nonatomic, readonly, strong) STPIntentActionAlipayHandleRedirect * _Nullable alipayHandleRedirect; +/// Contains instructions for authenticating a payment by redirecting your customer to the WeChat Pay app. +@property (nonatomic, readonly, strong) STPIntentActionWechatPayRedirectToApp * _Nullable weChatPayRedirectToApp; +/// The details for displaying Boleto voucher via URL, when type == .boleto +@property (nonatomic, readonly, strong) STPIntentActionBoletoDisplayDetails * _Nullable boletoDisplayDetails; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPIntentAction (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface STPIntentAction (SWIFT_EXTENSION(Stripe)) +/// The details for authorizing via URL, when type == STPIntentActionTypeRedirectToURL +/// @deprecated Use redirectToURL instead. +@property (nonatomic, readonly, strong) STPIntentActionRedirectToURL * _Nullable authorizeWithURL SWIFT_DEPRECATED_MSG("Use `redirectToURL` instead.", "redirectToURL"); +@end + + +/// Contains instructions for authenticating a payment by redirecting your customer to Alipay App or website. +/// You cannot directly instantiate an STPPaymentIntentActionAlipayHandleRedirect. +SWIFT_CLASS("_TtC6Stripe35STPIntentActionAlipayHandleRedirect") +@interface STPIntentActionAlipayHandleRedirect : NSObject +/// The native URL you must redirect your customer to in order to authenticate the payment. +@property (nonatomic, readonly, copy) NSURL * _Nullable nativeURL; +/// If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion. +@property (nonatomic, readonly, copy) NSURL * _Nonnull returnURL; +/// The URL you must redirect your customer to in order to authenticate the payment. +@property (nonatomic, readonly, copy) NSURL * _Nonnull url; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPIntentActionAlipayHandleRedirect (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + + +/// Contains Boleto details necessary for the customer to complete the payment. +SWIFT_CLASS("_TtC6Stripe35STPIntentActionBoletoDisplayDetails") +@interface STPIntentActionBoletoDisplayDetails : NSObject +/// The boleto voucher number. +@property (nonatomic, readonly, copy) NSString * _Nonnull number; +/// The expiry date of the boleto voucher. +@property (nonatomic, readonly, copy) NSDate * _Nonnull expiresAt; +/// The URL to the hosted boleto voucher page, which allows customers to view the boleto voucher. +@property (nonatomic, readonly, copy) NSURL * _Nonnull hostedVoucherURL; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// Contains OXXO details necessary for the customer to complete the payment. +SWIFT_CLASS("_TtC6Stripe33STPIntentActionOXXODisplayDetails") +@interface STPIntentActionOXXODisplayDetails : NSObject +/// The timestamp after which the OXXO voucher expires. +@property (nonatomic, readonly, copy) NSDate * _Nonnull expiresAfter; +/// The URL for the hosted OXXO voucher page, which allows customers to view and print an OXXO voucher. +@property (nonatomic, readonly, copy) NSURL * _Nonnull hostedVoucherURL; +/// OXXO reference number. +@property (nonatomic, readonly, copy) NSString * _Nonnull number; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// Contains instructions for authenticating a payment by redirecting your customer to another page or application. +/// You cannot directly instantiate an STPIntentActionRedirectToURL. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/object#payment_intent_object-next_action +SWIFT_CLASS("_TtC6Stripe28STPIntentActionRedirectToURL") +@interface STPIntentActionRedirectToURL : NSObject +/// The URL you must redirect your customer to in order to authenticate the payment. +@property (nonatomic, readonly, copy) NSURL * _Nonnull url; +/// The return URL that’ll be redirected back to when the user is done +/// authenticating. +@property (nonatomic, readonly, copy) NSURL * _Nullable returnURL; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPIntentActionRedirectToURL (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// Types of next actions for STPPaymentIntent and STPSetupIntent. +/// You shouldn’t need to inspect this yourself; STPPaymentHandler will handle any next actions for you. +typedef SWIFT_ENUM(NSInteger, STPIntentActionType, open) { +/// This is an unknown action that’s been added since the SDK +/// was last updated. +/// Update your SDK, or use the nextAction.allResponseFields +/// for custom handling. + STPIntentActionTypeUnknown = 0, +/// The payment intent needs to be authorized by the user. We provide +/// STPPaymentHandler to handle the url redirections necessary. + STPIntentActionTypeRedirectToURL = 1, +/// The payment intent requires additional action handled by STPPaymentHandler. + STPIntentActionTypeUseStripeSDK = 2, +/// The action type is OXXO payment. We provide STPPaymentHandler to display +/// the OXXO voucher. + STPIntentActionTypeOXXODisplayDetails = 3, +/// Contains instructions for authenticating a payment by redirecting your customer to Alipay App or website. + STPIntentActionTypeAlipayHandleRedirect = 4, +/// The action type for BLIK payment methods. The customer must authorize the transaction in their banking app within 1 minute. + STPIntentActionTypeBLIKAuthorize = 5, +/// Contains instructions for authenticating a payment by redirecting your customer to the WeChat Pay App. + STPIntentActionTypeWeChatPayRedirectToApp = 6, +/// The payment intent requires authorization with Payment Sheet. + STPIntentActionTypeLinkAuthenticateAccount = 7, +/// The action type is Boleto payment. We provide STPPaymentHandler to display the Boleto voucher. + STPIntentActionTypeBoletoDisplayDetails = 8, +}; + + +/// Contains instructions for authenticating a payment by redirecting your customer to WeChat Pay app. +/// You cannot directly instantiate an STPIntentActionWechatPayRedirectToApp. +SWIFT_CLASS("_TtC6Stripe37STPIntentActionWechatPayRedirectToApp") +@interface STPIntentActionWechatPayRedirectToApp : NSObject +/// The native URL you must redirect your customer to in order to authenticate the payment. +@property (nonatomic, readonly, copy) NSURL * _Nullable nativeURL; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPIntentActionWechatPayRedirectToApp (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// You should make your application’s API client conform to this interface. +/// It provides a way for Stripe utility classes to request a new ephemeral key from +/// your backend, which it will use to retrieve and update Stripe API objects. +SWIFT_PROTOCOL("_TtP6Stripe34STPIssuingCardEphemeralKeyProvider_") +@protocol STPIssuingCardEphemeralKeyProvider +/// Creates a new ephemeral key for retrieving and updating a Stripe Issuing Card. +/// On your backend, you should create a new ephemeral key for your logged-in user’s +/// primary Issuing Card, and return the raw JSON response from the Stripe API. +/// For an example Ruby implementation of this API, refer to our example backend: +/// https://github.com/stripe/example-mobile-backend/blob/v18.1.0/web.rb +/// Back in your iOS app, once you have a response from this API, call the provided +/// completion block with the JSON response, or an error if one occurred. +/// \param apiVersion The Stripe API version to use when creating a key. +/// You should pass this parameter to your backend, and use it to set the API version +/// in your key creation request. Passing this version parameter ensures that the +/// Stripe SDK can always parse the ephemeral key response from your server. +/// +/// \param completion Call this callback when you’re done fetching a new ephemeral +/// key from your backend. For example, completion(json, nil) (if your call succeeds) +/// or completion(nil, error) if an error is returned. +/// +- (void)createIssuingCardKeyWithAPIVersion:(NSString * _Nonnull)apiVersion completion:(void (^ _Nonnull)(NSDictionary * _Nullable, NSError * _Nullable))completion; +@end + + +/// Information related to a Stripe Issuing card, including the PIN +SWIFT_CLASS("_TtC6Stripe17STPIssuingCardPin") +@interface STPIssuingCardPin : NSObject +/// The PIN for the card +@property (nonatomic, readonly, copy) NSString * _Nullable pin; +/// If the PIN failed to be created, this error might be present +@property (nonatomic, readonly, copy) NSDictionary * _Nullable error; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPIssuingCardPin (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +enum STPKlarnaLineItemType : NSInteger; + +/// An object representing a line item in a Klarna source. +/// seealso: +/// https://stripe.com/docs/sources/klarna#create-source +SWIFT_CLASS("_TtC6Stripe17STPKlarnaLineItem") +@interface STPKlarnaLineItem : NSObject +/// The line item’s type. One of sku (for a product), tax (for taxes), or shipping (for shipping costs). +@property (nonatomic) enum STPKlarnaLineItemType itemType; +/// The human-readable description for the line item. +@property (nonatomic, copy) NSString * _Nonnull itemDescription; +/// The quantity to display for this line item. +@property (nonatomic, strong) NSNumber * _Nonnull quantity; +/// The total price of this line item. +/// Note: This is the total price after multiplying by the quantity, not +/// the price of an individual item. It is denominated in the currency +/// of the STPSourceParams which contains it. +@property (nonatomic, strong) NSNumber * _Nonnull totalAmount; +/// Initialize this STPKlarnaLineItem with a set of parameters. +/// \param itemType The line item’s type. +/// +/// \param itemDescription The human-readable description for the line item. +/// +/// \param quantity The quantity to display for this line item. +/// +/// \param totalAmount The total price of this line item. +/// +- (nonnull instancetype)initWithItemType:(enum STPKlarnaLineItemType)itemType itemDescription:(NSString * _Nonnull)itemDescription quantity:(NSNumber * _Nonnull)quantity totalAmount:(NSNumber * _Nonnull)totalAmount OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// The type of the Klarna line item. +typedef SWIFT_ENUM(NSInteger, STPKlarnaLineItemType, open) { +/// The line item for a product + STPKlarnaLineItemTypeSKU = 0, +/// The line item for taxes + STPKlarnaLineItemTypeTax = 1, +/// The line item for shipping costs + STPKlarnaLineItemTypeShipping = 2, +}; + +/// Custom payment methods for Klarna +/// seealso: +/// https://stripe.com/docs/sources/klarna#create-source +typedef SWIFT_ENUM(NSInteger, STPKlarnaPaymentMethods, open) { +/// Don’t specify any custom payment methods. + STPKlarnaPaymentMethodsNone = 0, +/// Offer payments over 4 installments. (a.k.a. Pay Later in 4) + STPKlarnaPaymentMethodsPayIn4 = 1, +/// Offer payments over an arbitrary number of installments. (a.k.a. Slice It) + STPKlarnaPaymentMethodsInstallments = 2, +/// Offer payments over 4 or an arbitrary number of installments. + STPKlarnaPaymentMethodsPayIn4OrInstallments = 3, +}; + +enum STPMandateCustomerAcceptanceType : NSInteger; +@class STPMandateOnlineParams; + +/// An object that contains details about the customer acceptance of the Mandate. - seealso: https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-mandate_data-customer_acceptance +SWIFT_CLASS("_TtC6Stripe34STPMandateCustomerAcceptanceParams") +@interface STPMandateCustomerAcceptanceParams : NSObject +/// The type of customer acceptance information included with the Mandate. +@property (nonatomic) enum STPMandateCustomerAcceptanceType type; +/// If this is a Mandate accepted online, this object contains details about the online acceptance. +/// @note If type == STPMandateCustomerAcceptanceTypeOnline, this value must be non-nil. +@property (nonatomic, strong) STPMandateOnlineParams * _Nullable onlineParams; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initializes an empty STPMandateCustomerAcceptanceParams. +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + +/// The type of customer acceptance information included with the Mandate. +typedef SWIFT_ENUM(NSInteger, STPMandateCustomerAcceptanceType, open) { +/// A Mandate that was accepted online. + STPMandateCustomerAcceptanceTypeOnline = 0, +/// A Mandate that was accepted offline. + STPMandateCustomerAcceptanceTypeOffline = 1, +}; + + +/// This object contains details about the Mandate to create. - seealso: https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-mandate_data +SWIFT_CLASS("_TtC6Stripe20STPMandateDataParams") +@interface STPMandateDataParams : NSObject +/// Details about the customer acceptance of the Mandate. +@property (nonatomic, readonly, strong) STPMandateCustomerAcceptanceParams * _Nonnull customerAcceptance; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initializes an STPMandateDataParams from an STPMandateCustomerAcceptanceParams. +- (nonnull instancetype)initWithCustomerAcceptance:(STPMandateCustomerAcceptanceParams * _Nonnull)customerAcceptance OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPMandateDataParams (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Contains details about a Mandate accepted online. - seealso: https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-mandate_data-customer_acceptance-online +SWIFT_CLASS("_TtC6Stripe22STPMandateOnlineParams") +@interface STPMandateOnlineParams : NSObject +/// The IP address from which the Mandate was accepted by the customer. +@property (nonatomic, readonly, copy) NSString * _Nonnull ipAddress; +/// The user agent of the browser from which the Mandate was accepted by the customer. +@property (nonatomic, readonly, copy) NSString * _Nonnull userAgent; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initializes an STPMandateOnlineParams. +/// \param ipAddress The IP address from which the Mandate was accepted by the customer. +/// +/// \param userAgent The user agent of the browser from which the Mandate was accepted by the customer. +/// +/// +/// returns: +/// A new STPMandateOnlineParams instance with the specified parameters. +- (nonnull instancetype)initWithIPAddress:(NSString * _Nonnull)ipAddress userAgent:(NSString * _Nonnull)userAgent OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPMandateOnlineParams (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + + +/// This class can be used wherever you’d use a UIActivityIndicatorView and is intended to have a similar API. It renders as a spinning circle with a gap in it, similar to what you see in the App Store app or in the Apple Pay dialog when making a purchase. To change its color, set the tintColor property. +SWIFT_CLASS("_TtC6Stripe31STPPaymentActivityIndicatorView") +@interface STPPaymentActivityIndicatorView : UIView +/// Tell the view to start or stop spinning. If hidesWhenStopped is true, it will fade in/out if animated is true. +- (void)setAnimating:(BOOL)animating animated:(BOOL)animated; +/// Whether or not the view is animating. +@property (nonatomic) BOOL animating; +/// If true, the view will hide when it is not spinning. Default is true. +@property (nonatomic) BOOL hidesWhenStopped; +/// :nodoc: +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +/// :nodoc: +@property (nonatomic, strong) UIColor * _Null_unspecified tintColor; +/// :nodoc: +- (void)layoutSubviews; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE; +@end + +@class STPPaymentMethodCardParams; +@class UITraitCollection; + +/// STPPaymentCardTextField is a text field with similar properties to UITextField, +/// but specialized for credit/debit card information. It manages +/// multiple UITextFields under the hood to collect this information. It’s +/// designed to fit on a single line, and from a design perspective can be used +/// anywhere a UITextField would be appropriate. +IB_DESIGNABLE +SWIFT_CLASS("_TtC6Stripe23STPPaymentCardTextField") +@interface STPPaymentCardTextField : UIControl +/// :nodoc: +- (BOOL)textField:(UITextField * _Nonnull)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString * _Nonnull)string SWIFT_WARN_UNUSED_RESULT; +/// seealso: +/// STPPaymentCardTextFieldDelegate +@property (nonatomic, weak) IBOutlet id _Nullable delegate; +/// The font used in each child field. Default is UIFont.systemFont(ofSize:18). +@property (nonatomic, strong) UIFont * _Nonnull font; +/// The text color to be used when entering valid text. Default is .label. +@property (nonatomic, strong) UIColor * _Nonnull textColor; +/// The text color to be used when the user has entered invalid information, +/// such as an invalid card number. +/// Default is .red. +@property (nonatomic, strong) UIColor * _Nonnull textErrorColor; +/// The text placeholder color used in each child field. +/// This will also set the color of the card placeholder icon. +/// Default is .systemGray2. +@property (nonatomic, strong) UIColor * _Nonnull placeholderColor; +/// The placeholder for the card number field. +/// Default is “4242424242424242”. +/// If this is set to something that resembles a card number, it will automatically +/// format it as such (in other words, you don’t need to add spaces to this string). +@property (nonatomic, copy) IBInspectable NSString * _Nullable numberPlaceholder; +/// The placeholder for the expiration field. Defaults to “MM/YY”. +@property (nonatomic, copy) IBInspectable NSString * _Nullable expirationPlaceholder; +/// The placeholder for the cvc field. Defaults to “CVC”. +@property (nonatomic, copy) IBInspectable NSString * _Nullable cvcPlaceholder; +/// The placeholder for the postal code field. Defaults to “ZIP” for United States +/// or @“Postal” for all other country codes. +@property (nonatomic, copy) IBInspectable NSString * _Nullable postalCodePlaceholder; +/// The cursor color for the field. +/// This is a proxy for the view’s tintColor property, exposed for clarity only +/// (in other words, calling setCursorColor is identical to calling setTintColor). +@property (nonatomic, strong) UIColor * _Nonnull cursorColor; +/// The border color for the field. +/// Can be nil (in which case no border will be drawn). +/// Default is .systemGray2. +@property (nonatomic, strong) UIColor * _Nullable borderColor; +/// The width of the field’s border. +/// Default is 1.0. +@property (nonatomic) CGFloat borderWidth; +/// The corner radius for the field’s border. +/// Default is 5.0. +@property (nonatomic) CGFloat cornerRadius; +/// The keyboard appearance for the field. +/// Default is UIKeyboardAppearanceDefault. +@property (nonatomic) UIKeyboardAppearance keyboardAppearance; +/// This behaves identically to setting the inputView for each child text field. +@property (nonatomic, strong) UIView * _Nullable inputView; +/// This behaves identically to setting the inputAccessoryView for each child text field. +@property (nonatomic, strong) UIView * _Nullable inputAccessoryView; +/// The curent brand image displayed in the receiver. +@property (nonatomic, readonly, strong) UIImage * _Nullable brandImage; +/// Whether or not the form currently contains a valid card number, +/// expiration date, CVC, and postal code (if required). +/// seealso: +/// STPCardValidator +@property (nonatomic, readonly) BOOL isValid; +/// Enable/disable selecting or editing the field. Useful when submitting card details to Stripe. +@property (nonatomic, getter=isEnabled) BOOL enabled; +/// The current card number displayed by the field. +/// May or may not be valid, unless isValid is true, in which case it is guaranteed +/// to be valid. +@property (nonatomic, readonly, copy) NSString * _Nullable cardNumber; +/// The current expiration month displayed by the field (1 = January, etc). +/// May or may not be valid, unless isValid is true, in which case it is +/// guaranteed to be valid. +@property (nonatomic, readonly) NSInteger expirationMonth; +/// The current expiration month displayed by the field, as a string. T +/// This may or may not be a valid entry (i.e. “0”) unless isValid is true. +/// It may be also 0-prefixed (i.e. “01” for January). +@property (nonatomic, readonly, copy) NSString * _Nullable formattedExpirationMonth; +/// The current expiration year displayed by the field, modulo 100 +/// (e.g. the year 2015 will be represented as 15). +/// May or may not be valid, unless isValid is true, in which case it is +/// guaranteed to be valid. +@property (nonatomic, readonly) NSInteger expirationYear; +/// The current expiration year displayed by the field, as a string. +/// This is a 2-digit year (i.e. “15”), and may or may not be a valid entry +/// unless isValid is true. +@property (nonatomic, readonly, copy) NSString * _Nullable formattedExpirationYear; +/// The current card CVC displayed by the field. +/// May or may not be valid, unless isValid is true, in which case it +/// is guaranteed to be valid. +@property (nonatomic, readonly, copy) NSString * _Nullable cvc; +/// The current card ZIP or postal code displayed by the field. +@property (nonatomic, copy) NSString * _Nullable postalCode; +/// Controls if a postal code entry field can be displayed to the user. +/// Default is YES. +/// If YES, the type of code entry shown is controlled by the set countryCode +/// value. Some country codes may result in no postal code entry being shown if +/// those countries do not commonly use postal codes. +/// If NO, no postal code entry will ever be displayed. +@property (nonatomic) BOOL postalCodeEntryEnabled; +/// The two-letter ISO country code that corresponds to the user’s billing address. +/// If postalCodeEntryEnabled is YES, this controls which type of entry is allowed. +/// If postalCodeEntryEnabled is NO, this property currently has no effect. +/// If set to nil and postal code entry is enabled, the country from the user’s current +/// locale will be filled in. Otherwise the specific country code set will be used. +/// By default this will fetch the user’s current country code from NSLocale. +@property (nonatomic, copy) NSString * _Nullable countryCode; +/// Convenience property for creating an STPPaymentMethodCardParams from the currently entered information +/// or programmatically setting the field’s contents. For example, if you’re using another library +/// to scan your user’s credit card with a camera, you can assemble that data into an STPPaymentMethodCardParams +/// object and set this property to that object to prefill the fields you’ve collected. +/// Accessing this property returns a copied cardParams. The only way to change properties in this +/// object is to make changes to a STPPaymentMethodCardParams you own (retrieved from this text field if desired), +/// and then set this property to the new value. +@property (nonatomic, strong) STPPaymentMethodCardParams * _Nonnull cardParams; +/// Causes the text field to begin editing. Presents the keyboard. +/// seealso: +/// UIResponder +/// +/// returns: +/// Whether or not the text field successfully began editing. +- (BOOL)becomeFirstResponder; +/// Causes the text field to stop editing. Dismisses the keyboard. +/// seealso: +/// UIResponder +/// +/// returns: +/// Whether or not the field successfully stopped editing. +- (BOOL)resignFirstResponder; +/// Resets all of the contents of all of the fields. If the field is currently being edited, the number field will become selected. +- (void)clear; +/// Returns the cvc image used for a card brand. +/// Override this method in a subclass if you would like to provide custom images. +/// \param cardBrand The brand of card entered. +/// +/// +/// returns: +/// The cvc image used for a card brand. ++ (UIImage * _Nullable)cvcImageForCardBrand:(enum STPCardBrand)cardBrand SWIFT_WARN_UNUSED_RESULT; +/// Returns the brand image used for a card brand. +/// Override this method in a subclass if you would like to provide custom images. +/// \param cardBrand The brand of card entered. +/// +/// +/// returns: +/// The brand image used for a card brand. ++ (UIImage * _Nullable)brandImageForCardBrand:(enum STPCardBrand)cardBrand SWIFT_WARN_UNUSED_RESULT; +/// Returns the error image used for a card brand. +/// Override this method in a subclass if you would like to provide custom images. +/// \param cardBrand The brand of card entered. +/// +/// +/// returns: +/// The error image used for a card brand. ++ (UIImage * _Nullable)errorImageForCardBrand:(enum STPCardBrand)cardBrand SWIFT_WARN_UNUSED_RESULT; +/// Returns the rectangle in which the receiver draws its brand image. +/// \param bounds The bounding rectangle of the receiver. +/// +/// +/// returns: +/// the rectangle in which the receiver draws its brand image. +- (CGRect)brandImageRectForBounds:(CGRect)bounds SWIFT_WARN_UNUSED_RESULT; +/// Returns the rectangle in which the receiver draws the text fields. +/// \param bounds The bounding rectangle of the receiver. +/// +/// +/// returns: +/// The rectangle in which the receiver draws the text fields. +- (CGRect)fieldsRectForBounds:(CGRect)bounds SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (void)traitCollectionDidChange:(UITraitCollection * _Nullable)previousTraitCollection; +/// :nodoc: +@property (nonatomic, strong) UIColor * _Nullable backgroundColor; +/// :nodoc: +@property (nonatomic) UIControlContentVerticalAlignment contentVerticalAlignment; +/// :nodoc: +@property (nonatomic, readonly) BOOL isFirstResponder; +/// :nodoc: +@property (nonatomic, readonly) BOOL canBecomeFirstResponder; +/// :nodoc: +@property (nonatomic, readonly) BOOL canResignFirstResponder; +/// :nodoc: +@property (nonatomic, readonly) CGSize intrinsicContentSize; +/// :nodoc: +- (void)layoutSubviews; +/// :nodoc: +- (BOOL)textFieldShouldBeginEditing:(UITextField * _Nonnull)textField SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)textFieldDidBeginEditing:(UITextField * _Nonnull)textField; +/// :nodoc: +- (BOOL)textFieldShouldEndEditing:(UITextField * _Nonnull)textField SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)textFieldDidEndEditing:(UITextField * _Nonnull)textField; +/// :nodoc: +- (BOOL)textFieldShouldReturn:(UITextField * _Nonnull)textField SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) BOOL hasText; +/// :nodoc: +- (void)insertText:(NSString * _Nonnull)text; +/// :nodoc: +- (void)deleteBackward; +/// :nodoc: ++ (NSSet * _Nonnull)keyPathsForValuesAffectingIsValid SWIFT_WARN_UNUSED_RESULT; +@end + + + + +enum STPShippingType : NSInteger; + +/// An STPPaymentConfiguration represents all the options you can set or change +/// around a payment. +/// You provide an STPPaymentConfiguration object to your STPPaymentContext +/// when making a charge. The configuration generally has settings that +/// will not change from payment to payment and thus is reusable, while the context +/// is specific to a single particular payment instance. +SWIFT_CLASS("_TtC6Stripe23STPPaymentConfiguration") +@interface STPPaymentConfiguration : NSObject +/// This is a convenience singleton configuration that uses the default values for +/// every property +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) STPPaymentConfiguration * _Nonnull sharedConfiguration;) ++ (STPPaymentConfiguration * _Nonnull)sharedConfiguration SWIFT_WARN_UNUSED_RESULT; ++ (void)setSharedConfiguration:(STPPaymentConfiguration * _Nonnull)value; +/// The user is allowed to pay with Apple Pay if it’s configured and available on their device. +@property (nonatomic) BOOL applePayEnabled; +/// The user is allowed to pay with FPX. +@property (nonatomic) BOOL fpxEnabled; +/// The billing address fields the user must fill out when prompted for their +/// payment details. These fields will all be present on the returned PaymentMethod from +/// Stripe. +/// The default value is STPBillingAddressFieldsPostalCode. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/create#create_payment_method-billing_details +@property (nonatomic) enum STPBillingAddressFields requiredBillingAddressFields; +/// The shipping address fields the user must fill out when prompted for their +/// shipping info. Set to nil if shipping address is not required. +/// The default value is nil. +@property (nonatomic, copy) NSSet * _Nullable requiredShippingAddressFields; +/// Whether the user should be prompted to verify prefilled shipping information. +/// The default value is YES. +@property (nonatomic) BOOL verifyPrefilledShippingAddress; +/// The type of shipping for this purchase. This property sets the labels displayed +/// when the user is prompted for shipping info, and whether they should also be +/// asked to select a shipping method. +/// The default value is STPShippingTypeShipping. +@property (nonatomic) enum STPShippingType shippingType; +/// The set of countries supported when entering an address. This property accepts +/// a set of ISO 2-character country codes. +/// The default value is all known countries. Setting this property will limit +/// the available countries to your selected set. +@property (nonatomic, copy) NSSet * _Nonnull availableCountries; +/// The name of your company, for displaying to the user during payment flows. For +/// example, when using Apple Pay, the payment sheet’s final line item will read +/// “PAY {companyName}”. +/// The default value is the name of your iOS application which is derived from the +/// kCFBundleNameKey of Bundle.main. +@property (nonatomic, copy) NSString * _Nonnull companyName; +/// The Apple Merchant Identifier to use during Apple Pay transactions. To create +/// one of these, see our guide at https://stripe.com/docs/mobile/apple-pay . You +/// must set this to a valid identifier in order to automatically enable Apple Pay. +@property (nonatomic, copy) NSString * _Nullable appleMerchantIdentifier; +/// Determines whether or not the user is able to delete payment options +/// This is only relevant to the STPPaymentOptionsViewController which, if +/// enabled, will allow the user to delete payment options by tapping the “Edit” +/// button in the navigation bar or by swiping left on a payment option and tapping +/// “Delete”. Currently, the user is not allowed to delete the selected payment +/// option but this may change in the future. +/// Default value is YES but will only work if STPPaymentOptionsViewController is +/// initialized with a STPCustomerContext either through the STPPaymentContext +/// or directly as an init parameter. +@property (nonatomic) BOOL canDeletePaymentOptions; +/// Determines whether STPAddCardViewController allows the user to +/// scan cards using the camera on devices running iOS 13 or later. +/// To use this feature, you must also set the NSCameraUsageDescription +/// value in your app’s Info.plist. +/// @note This feature is currently in beta. Please file bugs at +/// https://github.com/stripe/stripe-ios/issues +/// The default value is currently NO. This will be changed in a future update. +@property (nonatomic) BOOL cardScanningEnabled; +/// An enum value representing which payment options you will accept from your user +/// in addition to credit cards. +@property (nonatomic) NSInteger additionalPaymentOptions SWIFT_DEPRECATED_MSG("additionalPaymentOptions has been removed. Set applePayEnabled and fpxEnabled on STPPaymentConfiguration instead."); +/// If you used STPPaymentConfiguration.shared.publishableKey, use STPAPIClient.shared.publishableKey instead. The SDK uses STPAPIClient.shared to make API requests by default. +/// Your Stripe publishable key +/// seealso: +/// https://dashboard.stripe.com/account/apikeys +@property (nonatomic, copy) NSString * _Nullable publishableKey SWIFT_DEPRECATED_MSG("If you used STPPaymentConfiguration.shared.publishableKey, use STPAPIClient.shared.publishableKey instead. If you passed a STPPaymentConfiguration instance to an SDK component, create an STPAPIClient, set publishableKey on it, and set the SDK component's APIClient property."); +/// If you used STPPaymentConfiguration.shared.stripeAccount, use STPAPIClient.shared.stripeAccount instead. The SDK uses STPAPIClient.shared to make API requests by default. +/// In order to perform API requests on behalf of a connected account, e.g. to +/// create charges for a connected account, set this property to the ID of the +/// account for which this request is being made. +/// seealso: +/// https://stripe.com/docs/payments/payment-intents/use-cases#connected-accounts +@property (nonatomic, copy) NSString * _Nullable stripeAccount SWIFT_DEPRECATED_MSG("If you used STPPaymentConfiguration.shared.stripeAccount, use STPAPIClient.shared.stripeAccount instead. If you passed a STPPaymentConfiguration instance to an SDK component, create an STPAPIClient, set stripeAccount on it, and set the SDK component's APIClient property."); +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class STPShippingAddressViewController; +enum STPShippingStatus : NSInteger; + +/// An STPShippingAddressViewControllerDelegate is notified when an STPShippingAddressViewController receives an address, completes with an address, or is cancelled. +SWIFT_PROTOCOL("_TtP6Stripe40STPShippingAddressViewControllerDelegate_") +@protocol STPShippingAddressViewControllerDelegate +/// Called when the user cancels entering a shipping address. You should dismiss (or pop) the view controller at this point. +/// \param addressViewController the view controller that has been cancelled +/// +- (void)shippingAddressViewControllerDidCancel:(STPShippingAddressViewController * _Nonnull)addressViewController; +/// This is called when the user enters a shipping address and taps next. You +/// should validate the address and determine what shipping methods are available, +/// and call the completion block when finished. If an error occurrs, call +/// the completion block with the error. Otherwise, call the completion +/// block with a nil error and an array of available shipping methods. If you don’t +/// need to collect a shipping method, you may pass an empty array or nil. +/// \param addressViewController the view controller where the address was entered +/// +/// \param address the address that was entered. - seealso: STPAddress +/// +/// \param completion call this callback when you’re done validating the address and determining available shipping methods. +/// +- (void)shippingAddressViewController:(STPShippingAddressViewController * _Nonnull)addressViewController didEnterAddress:(STPAddress * _Nonnull)address completion:(void (^ _Nonnull)(enum STPShippingStatus, NSError * _Nullable, NSArray * _Nullable, PKShippingMethod * _Nullable))completion; +/// This is called when the user selects a shipping method. If no shipping methods are given, or if the shipping type doesn’t require a shipping method, this will be called after the user has a shipping address and your validation has succeeded. After updating your app with the user’s shipping info, you should dismiss (or pop) the view controller. Note that if shippingMethod is non-nil, there will be an additional shipping methods view controller on the navigation controller’s stack. +/// \param addressViewController the view controller where the address was entered +/// +/// \param address the address that was entered. - seealso: STPAddress +/// +/// \param method the shipping method that was selected. +/// +- (void)shippingAddressViewController:(STPShippingAddressViewController * _Nonnull)addressViewController didFinishWithAddress:(STPAddress * _Nonnull)address shippingMethod:(PKShippingMethod * _Nullable)method; +@end + +@class STPPaymentOptionsViewController; + +/// An STPPaymentOptionsViewControllerDelegate responds when a user selects a +/// payment option from (or cancels) an STPPaymentOptionsViewController. In both +/// of these instances, you should dismiss the view controller (either by popping +/// it off the navigation stack, or dismissing it). +SWIFT_PROTOCOL("_TtP6Stripe39STPPaymentOptionsViewControllerDelegate_") +@protocol STPPaymentOptionsViewControllerDelegate +/// This is called when the view controller encounters an error fetching the user’s +/// payment options from its API adapter. You should dismiss the view controller +/// when this is called. +/// \param paymentOptionsViewController the view controller in question +/// +/// \param error the error that occurred +/// +- (void)paymentOptionsViewController:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController didFailToLoadWithError:(NSError * _Nonnull)error; +/// This is called when the user selects or adds a payment method, so it will often +/// be called immediately after calling paymentOptionsViewController:didSelectPaymentOption:. +/// You should dismiss the view controller when this is called. +/// \param paymentOptionsViewController the view controller that has finished +/// +- (void)paymentOptionsViewControllerDidFinish:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController; +/// This is called when the user taps “cancel”. +/// You should dismiss the view controller when this is called. +/// \param paymentOptionsViewController the view controller that has finished +/// +- (void)paymentOptionsViewControllerDidCancel:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController; +@optional +/// This is called when the user either makes a selection, or adds a new card. +/// This will be triggered after the view controller loads with the user’s current +/// selection (if they have one) and then subsequently when they change their +/// choice. You should use this callback to update any necessary UI in your app +/// that displays the user’s currently selected payment method. You should not +/// dismiss the view controller at this point, instead do this in +/// paymentOptionsViewControllerDidFinish:. STPPaymentOptionsViewController +/// will also call the necessary methods on your API adapter, so you don’t need to +/// call them directly during this method. +/// \param paymentOptionsViewController the view controller in question +/// +/// \param paymentOption the selected payment method +/// +- (void)paymentOptionsViewController:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController didSelectPaymentOption:(id _Nonnull)paymentOption; +@end + +@protocol STPPaymentContextDelegate; +@class PKPaymentSummaryItem; + +/// An STPPaymentContext keeps track of all of the state around a payment. It will manage fetching a user’s saved payment methods, tracking any information they select, and prompting them for required additional information before completing their purchase. It can be used to power your application’s “payment confirmation” page with just a few lines of code. +/// STPPaymentContext also provides a unified interface to multiple payment methods - for example, you can write a single integration to accept both credit card payments and Apple Pay. +/// STPPaymentContext saves information about a user’s payment methods to a Stripe customer object, and requires an STPCustomerContext to manage retrieving and modifying the customer. +SWIFT_CLASS_NAMED("STPPaymentContext") +@interface STPPaymentContext : NSObject +/// This is a convenience initializer; it is equivalent to calling +/// init(customerContext:customerContext configuration:STPPaymentConfiguration.shared theme:STPTheme.defaultTheme. +/// \param customerContext The customer context the payment context will use to fetch +/// and modify its Stripe customer. - seealso: STPCustomerContext.h +/// +/// +/// returns: +/// the newly-instantiated payment context +- (nonnull instancetype)initWithCustomerContext:(STPCustomerContext * _Nonnull)customerContext; +/// Initializes a new Payment Context with the provided customer context, configuration, +/// and theme. After this class is initialized, you should also make sure to set its +/// delegate and hostViewController properties. +/// seealso: +/// STPPaymentConfiguration.h +///
    +///
  • +/// theme: The theme describing the visual appearance of all UI +/// that the payment context automatically creates for you. - seealso: STPTheme.h +///
  • +///
+/// \param customerContext The customer context the payment context will use to fetch +/// and modify its Stripe customer. - seealso: STPCustomerContext.h +/// +/// \param configuration The configuration for the payment context to use. This +/// lets you set your Stripe publishable API key, required billing address fields, etc. +/// +/// +/// returns: +/// the newly-instantiated payment context +- (nonnull instancetype)initWithCustomerContext:(STPCustomerContext * _Nonnull)customerContext configuration:(STPPaymentConfiguration * _Nonnull)configuration theme:(STPTheme * _Nonnull)theme; +/// Note: Instead of providing your own backend API adapter, we recommend using +/// STPCustomerContext, which will manage retrieving and updating a +/// Stripe customer for you. - seealso: STPCustomerContext.h +/// This is a convenience initializer; it is equivalent to calling +/// init(apiAdapter:apiAdapter configuration:STPPaymentConfiguration.shared theme:STPTheme.defaultTheme). +- (nonnull instancetype)initWithApiAdapter:(id _Nonnull)apiAdapter; +/// Note: Instead of providing your own backend API adapter, we recommend using +/// STPCustomerContext, which will manage retrieving and updating a +/// Stripe customer for you. - seealso: STPCustomerContext.h +/// Initializes a new Payment Context with the provided API adapter and configuration. +/// After this class is initialized, you should also make sure to set its delegate +/// and hostViewController properties. +/// seealso: +/// STPPaymentConfiguration.h +///
    +///
  • +/// theme: The theme describing the visual appearance of all UI that +/// the payment context automatically creates for you. - seealso: STPTheme.h +///
  • +///
+/// \param apiAdapter The API adapter the payment context will use to fetch and +/// modify its contents. You need to make a class conforming to this protocol that +/// talks to your server. - seealso: STPBackendAPIAdapter.h +/// +/// \param configuration The configuration for the payment context to use. This lets +/// you set your Stripe publishable API key, required billing address fields, etc. +/// +/// +/// returns: +/// the newly-instantiated payment context +- (nonnull instancetype)initWithApiAdapter:(id _Nonnull)apiAdapter configuration:(STPPaymentConfiguration * _Nonnull)configuration theme:(STPTheme * _Nonnull)theme OBJC_DESIGNATED_INITIALIZER; +/// Note: Instead of providing your own backend API adapter, we recommend using +/// STPCustomerContext, which will manage retrieving and updating a +/// Stripe customer for you. - seealso: STPCustomerContext.h +/// The API adapter the payment context will use to fetch and modify its contents. +/// You need to make a class conforming to this protocol that talks to your server. +/// seealso: +/// STPBackendAPIAdapter.h +@property (nonatomic, readonly, strong) id _Nonnull apiAdapter; +/// The configuration for the payment context to use internally. - seealso: STPPaymentConfiguration.h +@property (nonatomic, readonly, strong) STPPaymentConfiguration * _Nonnull configuration; +/// The visual appearance that will be used by any views that the context generates. - seealso: STPTheme.h +@property (nonatomic, readonly, strong) STPTheme * _Nonnull theme; +/// If you’ve already collected some information from your user, you can set it here and it’ll be automatically filled out when possible/appropriate in any UI that the payment context creates. +@property (nonatomic, strong) STPUserInformation * _Nullable prefilledInformation; +/// The view controller that any additional UI will be presented on. If you have a “checkout view controller” in your app, that should be used as the host view controller. +@property (nonatomic, weak) UIViewController * _Nullable hostViewController; +/// This delegate will be notified when the payment context’s contents change. - seealso: STPPaymentContextDelegate +@property (nonatomic, weak) id _Nullable delegate; +/// Whether or not the payment context is currently loading information from the network. +@property (nonatomic, readonly) BOOL loading; +/// @note This is no longer recommended as of v18.3.0 - the SDK automatically saves the Stripe ID of the last selected +/// payment method using NSUserDefaults and displays it as the default pre-selected option. You can override this behavior +/// by setting this property. +/// The Stripe ID of a payment method to display as the default pre-selected option. +/// @note Set this property immediately after initializing STPPaymentContext, or call retryLoading afterwards. +@property (nonatomic, copy) NSString * _Nullable defaultPaymentMethod; +/// The user’s currently selected payment option. May be nil. +@property (nonatomic, readonly, strong) id _Nullable selectedPaymentOption; +/// The available payment options the user can choose between. May be nil. +@property (nonatomic, readonly, copy) NSArray> * _Nullable paymentOptions; +/// The user’s currently selected shipping method. May be nil. +@property (nonatomic, readonly, strong) PKShippingMethod * _Nullable selectedShippingMethod; +/// An array of STPShippingMethod objects that describe the supported shipping methods. May be nil. +@property (nonatomic, readonly, copy) NSArray * _Nullable shippingMethods; +/// The user’s shipping address. May be nil. +/// If you’ve already collected a shipping address from your user, you may +/// prefill it by setting a shippingAddress in PaymentContext’s prefilledInformation. +/// When your user enters a new shipping address, PaymentContext will save it to +/// the current customer object. When PaymentContext loads, if you haven’t +/// manually set a prefilled value, any shipping information saved on the customer +/// will be used to prefill the shipping address form. Note that because your +/// customer’s email may not be the same as the email provided with their shipping +/// info, PaymentContext will not prefill the shipping form’s email using your +/// customer’s email. +/// You should not rely on the shipping information stored on the Stripe customer +/// for order fulfillment, as your user may change this information if they make +/// multiple purchases. We recommend adding shipping information when you create +/// a charge (which can also help prevent fraud), or saving it to your own +/// database. https://stripe.com/docs/api/payment_intents/create#create_payment_intent-shipping +/// Note: by default, your user will still be prompted to verify a prefilled +/// shipping address. To change this behavior, you can set +/// verifyPrefilledShippingAddress to NO in your STPPaymentConfiguration. +@property (nonatomic, readonly, strong) STPAddress * _Nullable shippingAddress; +/// The amount of money you’re requesting from the user, in the smallest currency +/// unit for the selected currency. For example, to indicate $10 USD, use 1000 +/// (i.e. 1000 cents). For more information, see https://stripe.com/docs/api/payment_intents/create#create_payment_intent-amount +/// @note This value must be present and greater than zero in order for Apple Pay +/// to be automatically enabled. +/// @note You should only set either this or paymentSummaryItems, not both. +/// The other will be automatically calculated on demand using your paymentCurrency. +@property (nonatomic) NSInteger paymentAmount; +/// The three-letter currency code for the currency of the payment (i.e. USD, GBP, +/// JPY, etc). Defaults to “USD”. +/// @note Changing this property may change the return value of paymentAmount +/// or paymentSummaryItems (whichever one you didn’t directly set yourself). +@property (nonatomic, copy) NSString * _Nonnull paymentCurrency; +/// The two-letter country code for the country where the payment will be processed. +/// You should set this to the country your Stripe account is in. Defaults to “US”. +/// @note Changing this property will change the countryCode of your Apple Pay +/// payment requests. +/// seealso: +/// PKPaymentRequest for more information. +@property (nonatomic, copy) NSString * _Nonnull paymentCountry; +/// If you support Apple Pay, you can optionally set the PKPaymentSummaryItems +/// you want to display here instead of using paymentAmount. Note that the +/// grand total (the amount of the last summary item) must be greater than zero. +/// If not set, a single summary item will be automatically generated using +/// paymentAmount and your configuration’s companyName. +/// seealso: +/// PKPaymentRequest for more information +/// @note You should only set either this or paymentAmount, not both. +/// The other will be automatically calculated on demand using your paymentCurrency. +@property (nonatomic, copy) NSArray * _Nonnull paymentSummaryItems; +/// The presentation style used for all view controllers presented modally by the context. +/// Since custom transition styles are not supported, you should set this to either +/// UIModalPresentationFullScreen, UIModalPresentationPageSheet, or UIModalPresentationFormSheet. +/// The default value is UIModalPresentationFullScreen. +@property (nonatomic) UIModalPresentationStyle modalPresentationStyle; +/// The mode to use when displaying the title of the navigation bar in all view +/// controllers presented by the context. The default value is automatic, +/// which causes the title to use the same styling as the previously displayed +/// navigation item (if the view controller is pushed onto the hostViewController). +/// If the prefersLargeTitles property of the hostViewController‘s navigation bar +/// is false, this property has no effect and the navigation item’s title is always +/// displayed as a small title. +/// If the view controller is presented modally, automatic and +/// never always result in a navigation bar with a small title. +@property (nonatomic) UINavigationItemLargeTitleDisplayMode largeTitleDisplayMode; +/// A view that will be placed as the footer of the payment options selection +/// view controller. +/// When the footer view needs to be resized, it will be sent a +/// sizeThatFits: call. The view should respond correctly to this method in order +/// to be sized and positioned properly. +@property (nonatomic, strong) UIView * _Nullable paymentOptionsViewControllerFooterView; +/// A view that will be placed as the footer of the add card view controller. +/// When the footer view needs to be resized, it will be sent a +/// sizeThatFits: call. The view should respond correctly to this method in order +/// to be sized and positioned properly. +@property (nonatomic, strong) UIView * _Nullable addCardViewControllerFooterView; +/// The STPAPIClient instance to use to make API requests. +/// Defaults to STPAPIClient.shared. +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +/// If paymentContext:didFailToLoadWithError: is called on your delegate, you +/// can in turn call this method to try loading again (if that hasn’t been called, +/// calling this will do nothing). If retrying in turn fails, paymentContext:didFailToLoadWithError: +/// will be called again (and you can again call this to keep retrying, etc). +- (void)retryLoading; +/// This creates, configures, and appropriately presents an STPPaymentOptionsViewController +/// on top of the payment context’s hostViewController. It’ll be dismissed automatically +/// when the user is done selecting their payment method. +/// @note This method will do nothing if it is called while STPPaymentContext is +/// already showing a view controller or in the middle of requesting a payment. +- (void)presentPaymentOptionsViewController; +/// This creates, configures, and appropriately pushes an STPPaymentOptionsViewController +/// onto the navigation stack of the context’s hostViewController. It’ll be popped +/// automatically when the user is done selecting their payment method. +/// @note This method will do nothing if it is called while STPPaymentContext is +/// already showing a view controller or in the middle of requesting a payment. +- (void)pushPaymentOptionsViewController; +/// This creates, configures, and appropriately presents a view controller for +/// collecting shipping address and shipping method on top of the payment context’s +/// hostViewController. It’ll be dismissed automatically when the user is done +/// entering their shipping info. +/// @note This method will do nothing if it is called while STPPaymentContext is +/// already showing a view controller or in the middle of requesting a payment. +- (void)presentShippingViewController; +/// This creates, configures, and appropriately pushes a view controller for +/// collecting shipping address and shipping method onto the navigation stack of +/// the context’s hostViewController. It’ll be popped automatically when the +/// user is done entering their shipping info. +/// @note This method will do nothing if it is called while STPPaymentContext is +/// already showing a view controller, or in the middle of requesting a payment. +- (void)pushShippingViewController; +/// Requests payment from the user. This may need to present some supplemental UI +/// to the user, in which case it will be presented on the payment context’s +/// hostViewController. For instance, if they’ve selected Apple Pay as their +/// payment method, calling this method will show the payment sheet. If the user +/// has a card on file, this will use that without presenting any additional UI. +/// After this is called, the paymentContext:didCreatePaymentResult:completion: +/// and paymentContext:didFinishWithStatus:error: methods will be called on the +/// context’s delegate. +/// @note This method will do nothing if it is called while STPPaymentContext is +/// already showing a view controller, or in the middle of requesting a payment. +- (void)requestPayment; +- (void)paymentOptionsViewController:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController didSelectPaymentOption:(id _Nonnull)paymentOption; +- (void)paymentOptionsViewControllerDidFinish:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController; +- (void)paymentOptionsViewControllerDidCancel:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController; +- (void)paymentOptionsViewController:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController didFailToLoadWithError:(NSError * _Nonnull)error; +- (void)shippingAddressViewControllerDidCancel:(STPShippingAddressViewController * _Nonnull)addressViewController; +- (void)shippingAddressViewController:(STPShippingAddressViewController * _Nonnull)addressViewController didEnterAddress:(STPAddress * _Nonnull)address completion:(void (^ _Nonnull)(enum STPShippingStatus, NSError * _Nullable, NSArray * _Nullable, PKShippingMethod * _Nullable))completion; +- (void)shippingAddressViewController:(STPShippingAddressViewController * _Nonnull)addressViewController didFinishWithAddress:(STPAddress * _Nonnull)address shippingMethod:(PKShippingMethod * _Nullable)method; +- (UIViewController * _Nonnull)authenticationPresentingViewController SWIFT_WARN_UNUSED_RESULT; +- (void)prepareAuthenticationContextForPresentation:(void (^ _Nonnull)(void))completion; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@class STPPaymentResult; + +/// Implement STPPaymentContextDelegate to get notified when a payment context changes, finishes, encounters errors, etc. In practice, if your app has a “checkout screen view controller”, that is a good candidate to implement this protocol. +SWIFT_PROTOCOL("_TtP6Stripe25STPPaymentContextDelegate_") +@protocol STPPaymentContextDelegate +/// Called when the payment context encounters an error when fetching its initial set of data. A few ways to handle this are: +///
    +///
  • +/// If you’re showing the user a checkout page, dismiss the checkout page when this is called and present the error to the user. +///
  • +///
  • +/// Present the error to the user using a UIAlertController with two buttons: Retry and Cancel. If they cancel, dismiss your UI. If they Retry, call retryLoading on the payment context. +/// To make it harder to get your UI into a bad state, this won’t be called until the context’s hostViewController has finished appearing. +///
  • +///
+/// \param paymentContext the payment context that encountered the error +/// +/// \param error the error that was encountered +/// +- (void)paymentContext:(STPPaymentContext * _Nonnull)paymentContext didFailToLoadWithError:(NSError * _Nonnull)error; +/// This is called every time the contents of the payment context change. When this is called, you should update your app’s UI to reflect the current state of the payment context. For example, if you have a checkout page with a “selected payment method” row, you should update its payment method with paymentContext.selectedPaymentOption.label. If that checkout page has a “buy” button, you should enable/disable it depending on the result of paymentContext.isReadyForPayment. +/// \param paymentContext the payment context that changed +/// +- (void)paymentContextDidChange:(STPPaymentContext * _Nonnull)paymentContext; +/// Inside this method, you should make a call to your backend API to make a PaymentIntent with that Customer + payment method, and invoke the completion block when that is done. +/// \param paymentContext The context that succeeded +/// +/// \param paymentResult Information associated with the payment that you can pass to your server. You should go to your backend API with this payment result and use the PaymentIntent API to complete the payment. See https://stripe.com/docs/mobile/ios/standard#submit-payment-intents. Once that’s done call the completion block with any error that occurred (or none, if the payment succeeded). - seealso: STPPaymentResult.h +/// +/// \param completion Call this block when you’re done creating a payment intent (or subscription, etc) on your backend. If it succeeded, call completion(STPPaymentStatusSuccess, nil). If it failed with an error, call completion(STPPaymentStatusError, error). If the user canceled, call completion(STPPaymentStatusUserCancellation, nil). +/// +- (void)paymentContext:(STPPaymentContext * _Nonnull)paymentContext didCreatePaymentResult:(STPPaymentResult * _Nonnull)paymentResult completion:(void (^ _Nonnull)(enum STPPaymentStatus, NSError * _Nullable))completion; +/// This is invoked by an STPPaymentContext when it is finished. This will be called after the payment is done and all necessary UI has been dismissed. You should inspect the returned status and behave appropriately. For example: if it’s STPPaymentStatusSuccess, show the user a receipt. If it’s STPPaymentStatusError, inform the user of the error. If it’s STPPaymentStatusUserCancellation, do nothing. +/// \param paymentContext The payment context that finished +/// +/// \param status The status of the payment - STPPaymentStatusSuccess if it succeeded, STPPaymentStatusError if it failed with an error (in which case the error parameter will be non-nil), STPPaymentStatusUserCancellation if the user canceled the payment. +/// +/// \param error An error that occurred, if any. +/// +- (void)paymentContext:(STPPaymentContext * _Nonnull)paymentContext didFinishWith:(enum STPPaymentStatus)status error:(NSError * _Nullable)error; +@optional +/// Inside this method, you should verify that you can ship to the given address. +/// You should call the completion block with the results of your validation +/// and the available shipping methods for the given address. If you don’t implement +/// this method, the user won’t be prompted to select a shipping method and all +/// addresses will be valid. If you call the completion block with nil or an +/// empty array of shipping methods, the user won’t be prompted to select a +/// shipping method. +/// @note If a user updates their shipping address within the Apple Pay dialog, +/// this address will be anonymized. For example, in the US, it will only include the +/// city, state, and zip code. The payment context will have the user’s complete +/// shipping address by the time paymentContext:didFinishWithStatus:error is +/// called. +/// \param paymentContext The context that updated its shipping address +/// +/// \param address The current shipping address +/// +/// \param completion Call this block when you’re done validating the shipping +/// address and calculating available shipping methods. If you call the completion +/// block with nil or an empty array of shipping methods, the user won’t be prompted +/// to select a shipping method. +/// +- (void)paymentContext:(STPPaymentContext * _Nonnull)paymentContext didUpdateShippingAddress:(STPAddress * _Nonnull)address completion:(void (^ _Nonnull)(enum STPShippingStatus, NSError * _Nullable, NSArray * _Nullable, PKShippingMethod * _Nullable))completion; +@end + +@class STPThreeDSCustomizationSettings; +@class STPPaymentIntentParams; +enum STPPaymentHandlerActionStatus : NSInteger; +@class STPPaymentIntent; +@class STPSetupIntentConfirmParams; +@class STPSetupIntent; + +/// STPPaymentHandler is a utility class that confirms PaymentIntents/SetupIntents and handles any authentication required, such as 3DS1/3DS2 for Strong Customer Authentication. +/// It can present authentication UI on top of your app or redirect users out of your app (to e.g. their banking app). +/// seealso: +/// https://stripe.com/docs/mobile/ios/authentication +SWIFT_CLASS("_TtC6Stripe17STPPaymentHandler") SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable) SWIFT_AVAILABILITY(ios_app_extension,unavailable) +@interface STPPaymentHandler : NSObject +/// The error domain for errors in STPPaymentHandler. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull errorDomain;) ++ (NSString * _Nonnull)errorDomain SWIFT_WARN_UNUSED_RESULT; +/// The globally shared instance of STPPaymentHandler. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPPaymentHandler * _Nonnull sharedHandler;) ++ (STPPaymentHandler * _Nonnull)sharedHandler SWIFT_WARN_UNUSED_RESULT; +/// The globally shared instance of STPPaymentHandler. ++ (STPPaymentHandler * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; +/// By default sharedHandler initializes with STPAPIClient.shared. +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +/// Customizable settings to use when performing 3DS2 authentication. +/// Note: Configure this before calling any methods. +/// Defaults to STPThreeDSCustomizationSettings(). +@property (nonatomic, strong) STPThreeDSCustomizationSettings * _Nonnull threeDSCustomizationSettings; +/// When this flag is enabled, STPPaymentHandler will confirm certain PaymentMethods using +/// Safari instead of SFSafariViewController. If you’d like to use this in your own +/// testing or Continuous Integration platform, please see the IntegrationTester app +/// for usage examples. +/// Note: This flag is only intended for development, and only impacts payments made with testmode keys. +/// Setting this to true with a livemode key will fail. +@property (nonatomic) BOOL simulateAppToAppRedirect; +/// Confirms the PaymentIntent with the provided parameters and handles any nextAction required +/// to authenticate the PaymentIntent. +/// Call this method if you are using automatic confirmation. - seealso: https://stripe.com/docs/payments/payment-intents/ios +/// \param paymentParams The params used to confirm the PaymentIntent. Note that this method overrides the value of paymentParams.useStripeSDK to @YES. +/// +/// \param authenticationContext The authentication context used to authenticate the payment. +/// +/// \param completion The completion block. If the status returned is STPPaymentHandlerActionStatusSucceeded, the PaymentIntent status is not necessarily STPPaymentIntentStatusSucceeded (e.g. some bank payment methods take days before the PaymentIntent succeeds). +/// +- (void)confirmPayment:(STPPaymentIntentParams * _Nonnull)paymentParams withAuthenticationContext:(id _Nonnull)authenticationContext completion:(void (^ _Nonnull)(enum STPPaymentHandlerActionStatus, STPPaymentIntent * _Nullable, NSError * _Nullable))completion; +/// Handles any nextAction required to authenticate the PaymentIntent. +/// Call this method if you are using manual confirmation. - seealso: https://stripe.com/docs/payments/payment-intents/ios +/// \param paymentIntentClientSecret The client secret of the PaymentIntent to handle next actions for. +/// +/// \param authenticationContext The authentication context used to authenticate the payment. +/// +/// \param returnURL An optional URL to redirect your customer back to after they authenticate or cancel in a webview. This should match the returnURL you specified during PaymentIntent confirmation. +/// +/// \param completion The completion block. If the status returned is STPPaymentHandlerActionStatusSucceeded, the PaymentIntent status will always be either STPPaymentIntentStatusSucceeded, or STPPaymentIntentStatusRequiresConfirmation, or STPPaymentIntentStatusRequiresCapture if you are using manual capture. In the latter two cases, confirm or capture the PaymentIntent on your backend to complete the payment. +/// +- (void)handleNextActionForPayment:(NSString * _Nonnull)paymentIntentClientSecret withAuthenticationContext:(id _Nonnull)authenticationContext returnURL:(NSString * _Nullable)returnURL completion:(void (^ _Nonnull)(enum STPPaymentHandlerActionStatus, STPPaymentIntent * _Nullable, NSError * _Nullable))completion; +/// Confirms the SetupIntent with the provided parameters and handles any nextAction required +/// to authenticate the SetupIntent. +/// seealso: +/// https://stripe.com/docs/payments/cards/saving-cards#saving-card-without-payment +/// \param setupIntentConfirmParams The params used to confirm the SetupIntent. Note that this method overrides the value of setupIntentConfirmParams.useStripeSDK to @YES. +/// +/// \param authenticationContext The authentication context used to authenticate the SetupIntent. +/// +/// \param completion The completion block. If the status returned is STPPaymentHandlerActionStatusSucceeded, the SetupIntent status will always be STPSetupIntentStatusSucceeded. +/// +- (void)confirmSetupIntent:(STPSetupIntentConfirmParams * _Nonnull)setupIntentConfirmParams withAuthenticationContext:(id _Nonnull)authenticationContext completion:(void (^ _Nonnull)(enum STPPaymentHandlerActionStatus, STPSetupIntent * _Nullable, NSError * _Nullable))completion; +/// Handles any nextAction required to authenticate the SetupIntent. +/// Call this method if you are confirming the SetupIntent on your backend and get a status of requires_action. +/// \param setupIntentClientSecret The client secret of the SetupIntent to handle next actions for. +/// +/// \param authenticationContext The authentication context used to authenticate the SetupIntent. +/// +/// \param returnURL An optional URL to redirect your customer back to after they authenticate or cancel in a webview. This should match the returnURL you specified during SetupIntent confirmation. +/// +/// \param completion The completion block. If the status returned is STPPaymentHandlerActionStatusSucceeded, the SetupIntent status will always be STPSetupIntentStatusSucceeded. +/// +- (void)handleNextActionForSetupIntent:(NSString * _Nonnull)setupIntentClientSecret withAuthenticationContext:(id _Nonnull)authenticationContext returnURL:(NSString * _Nullable)returnURL completion:(void (^ _Nonnull)(enum STPPaymentHandlerActionStatus, STPSetupIntent * _Nullable, NSError * _Nullable))completion; +/// :nodoc: +- (void)safariViewControllerDidFinish:(SFSafariViewController * _Nonnull)controller; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable) SWIFT_AVAILABILITY(ios_app_extension,unavailable) +@interface STPPaymentHandler (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (BOOL)handleURLCallback:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; +@end + + +/// STPPaymentHandlerActionStatus represents the possible outcomes of requesting an action by STPPaymentHandler. An action could be confirming and/or handling the next action for a PaymentIntent. +typedef SWIFT_ENUM(NSInteger, STPPaymentHandlerActionStatus, open) { +/// The action succeeded. + STPPaymentHandlerActionStatusSucceeded = 0, +/// The action was cancelled by the cardholder/user. + STPPaymentHandlerActionStatusCanceled = 1, +/// The action failed. See the error code for more details. + STPPaymentHandlerActionStatusFailed = 2, +}; + +/// Error codes generated by STPPaymentHandler +typedef SWIFT_ENUM(NSInteger, STPPaymentHandlerErrorCode, open) { +/// Indicates that the action requires an authentication method not recognized or supported by the SDK. + STPPaymentHandlerUnsupportedAuthenticationErrorCode SWIFT_COMPILE_NAME("unsupportedAuthenticationErrorCode") = 0, +/// Indicates that the action requires an authentication app, but either the app is not installed or the request to switch to the app was denied. + STPPaymentHandlerRequiredAppNotAvailableErrorCode SWIFT_COMPILE_NAME("requiredAppNotAvailable") = 1, +/// Attach a payment method to the PaymentIntent or SetupIntent before using STPPaymentHandler. + STPPaymentHandlerRequiresPaymentMethodErrorCode SWIFT_COMPILE_NAME("requiresPaymentMethodErrorCode") = 2, +/// The PaymentIntent or SetupIntent status cannot be resolved by STPPaymentHandler. + STPPaymentHandlerIntentStatusErrorCode SWIFT_COMPILE_NAME("intentStatusErrorCode") = 3, +/// The action timed out. + STPPaymentHandlerTimedOutErrorCode SWIFT_COMPILE_NAME("timedOutErrorCode") = 4, +/// There was an error in the Stripe3DS2 SDK. + STPPaymentHandlerStripe3DS2ErrorCode SWIFT_COMPILE_NAME("stripe3DS2ErrorCode") = 5, +/// The transaction did not authenticate (e.g. user entered the wrong code). + STPPaymentHandlerNotAuthenticatedErrorCode SWIFT_COMPILE_NAME("notAuthenticatedErrorCode") = 6, +/// STPPaymentHandler does not support concurrent actions. + STPPaymentHandlerNoConcurrentActionsErrorCode SWIFT_COMPILE_NAME("noConcurrentActionsErrorCode") = 7, +/// Payment requires a valid STPAuthenticationContext. Make sure your presentingViewController isn’t already presenting. + STPPaymentHandlerRequiresAuthenticationContextErrorCode SWIFT_COMPILE_NAME("requiresAuthenticationContextErrorCode") = 8, +/// There was an error confirming the Intent. +/// Inspect the paymentIntent.lastPaymentError or setupIntent.lastSetupError property. + STPPaymentHandlerPaymentErrorCode SWIFT_COMPILE_NAME("paymentErrorCode") = 9, +/// The provided PaymentIntent of SetupIntent client secret does not match the expected pattern for client secrets. +/// Make sure that your server is returning the correct value and that is being passed to STPPaymentHandler. + STPPaymentHandlerInvalidClientSecret SWIFT_COMPILE_NAME("invalidClientSecret") = 10, +}; + +enum STPPaymentIntentCaptureMethod : NSInteger; +enum STPPaymentIntentConfirmationMethod : NSInteger; +enum STPPaymentIntentStatus : NSInteger; +enum STPPaymentIntentSetupFutureUsage : NSInteger; +@class STPPaymentIntentLastPaymentError; +@class STPPaymentIntentShippingDetails; + +/// A PaymentIntent tracks the process of collecting a payment from your customer. +/// seealso: +/// https://stripe.com/docs/api#payment_intents +/// seealso: +/// https://stripe.com/docs/payments/dynamic-authentication +SWIFT_CLASS("_TtC6Stripe16STPPaymentIntent") +@interface STPPaymentIntent : NSObject +/// The Stripe ID of the PaymentIntent. +@property (nonatomic, readonly, copy) NSString * _Nonnull stripeId; +/// The client secret used to fetch this PaymentIntent +@property (nonatomic, readonly, copy) NSString * _Nonnull clientSecret; +/// Amount intended to be collected by this PaymentIntent. +@property (nonatomic, readonly) NSInteger amount; +/// If status is .canceled, when the PaymentIntent was canceled. +@property (nonatomic, readonly, copy) NSDate * _Nullable canceledAt; +/// Capture method of this PaymentIntent +@property (nonatomic, readonly) enum STPPaymentIntentCaptureMethod captureMethod; +/// Confirmation method of this PaymentIntent +@property (nonatomic, readonly) enum STPPaymentIntentConfirmationMethod confirmationMethod; +/// When the PaymentIntent was created. +@property (nonatomic, readonly, copy) NSDate * _Nonnull created; +/// The currency associated with the PaymentIntent. +@property (nonatomic, readonly, copy) NSString * _Nonnull currency; +/// The description field of the PaymentIntent. +/// An arbitrary string attached to the object. Often useful for displaying to users. +@property (nonatomic, readonly, copy) NSString * _Nullable stripeDescription; +/// Whether or not this PaymentIntent was created in livemode. +@property (nonatomic, readonly) BOOL livemode; +/// If status == .requiresAction, this +/// property contains the next action to take for this PaymentIntent. +@property (nonatomic, readonly, strong) STPIntentAction * _Nullable nextAction; +/// Email address that the receipt for the resulting payment will be sent to. +@property (nonatomic, readonly, copy) NSString * _Nullable receiptEmail; +/// The Stripe ID of the Source used in this PaymentIntent. +@property (nonatomic, readonly, copy) NSString * _Nullable sourceId; +/// The Stripe ID of the PaymentMethod used in this PaymentIntent. +@property (nonatomic, readonly, copy) NSString * _Nullable paymentMethodId; +/// Status of the PaymentIntent +@property (nonatomic, readonly) enum STPPaymentIntentStatus status; +/// The list of payment method types (e.g. [NSNumber(value: STPPaymentMethodType.card.rawValue)]) that this PaymentIntent is allowed to use. +@property (nonatomic, readonly, copy) NSArray * _Nonnull paymentMethodTypes; +/// When provided, this property indicates how you intend to use the payment method that your customer provides after the current payment completes. If applicable, additional authentication may be performed to comply with regional legislation or network rules required to enable the usage of the same payment method for additional payments. +/// Use on_session if you intend to only reuse the payment method when the customer is in your checkout flow. Use off_session if your customer may or may not be in your checkout flow. +@property (nonatomic, readonly) enum STPPaymentIntentSetupFutureUsage setupFutureUsage; +/// The payment error encountered in the previous PaymentIntent confirmation. +@property (nonatomic, readonly, strong) STPPaymentIntentLastPaymentError * _Nullable lastPaymentError; +/// Shipping information for this PaymentIntent. +@property (nonatomic, readonly, strong) STPPaymentIntentShippingDetails * _Nullable shipping; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +@interface STPPaymentIntent (SWIFT_EXTENSION(Stripe)) +/// If status == STPPaymentIntentStatusRequiresAction, this +/// property contains the next source action to take for this PaymentIntent. +/// @deprecated Use nextAction instead +@property (nonatomic, readonly, strong) STPIntentAction * _Nullable nextSourceAction SWIFT_DEPRECATED_MSG("Use nextAction instead", "nextAction"); +@end + + +@interface STPPaymentIntent (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Action details for an STPPaymentIntent. This is a container for +/// the various types that are available. Check the type to see which one +/// it is, and then use the related property for the details necessary to handle it. +/// @deprecated Use STPIntentAction instead. +SWIFT_CLASS("_TtC6Stripe22STPPaymentIntentAction") SWIFT_DEPRECATED_MSG("Use `STPIntentAction` instead.", "_TtC6Stripe15STPIntentAction") +@interface STPPaymentIntentAction : STPIntentAction +@end + + +/// Contains instructions for authenticating a payment by redirecting your customer to another page or application. +/// @deprecated Use STPIntentActionRedirectToURL instead. +SWIFT_CLASS("_TtC6Stripe35STPPaymentIntentActionRedirectToURL") SWIFT_UNAVAILABLE_MSG("'STPPaymentIntentActionRedirectToURL' has been renamed to '_TtC6Stripe28STPIntentActionRedirectToURL': Use `STPIntentActionRedirectToURL` instead.") +@interface STPPaymentIntentActionRedirectToURL : STPIntentActionRedirectToURL +@end + +/// Types of Actions from a STPPaymentIntent, when the payment intent +/// status is STPPaymentIntentStatusRequiresAction. +typedef SWIFT_ENUM(NSInteger, STPPaymentIntentActionType, open) { +/// This is an unknown action, that’s been added since the SDK +/// was last updated. +/// Update your SDK, or use the nextAction.allResponseFields +/// for custom handling. + STPPaymentIntentActionTypeUnknown = 0, +/// The payment intent needs to be authorized by the user. We provide +/// STPRedirectContext to handle the url redirections necessary. + STPPaymentIntentActionTypeRedirectToURL = 1, +}; + +/// Capture methods for a STPPaymentIntent +typedef SWIFT_ENUM(NSInteger, STPPaymentIntentCaptureMethod, open) { +/// Unknown capture method + STPPaymentIntentCaptureMethodUnknown = 0, +/// The PaymentIntent will be automatically captured + STPPaymentIntentCaptureMethodAutomatic = 1, +/// The PaymentIntent must be manually captured once it has the status +/// STPPaymentIntentStatusRequiresCapture + STPPaymentIntentCaptureMethodManual = 2, +}; + +/// Confirmation methods for a STPPaymentIntent +typedef SWIFT_ENUM(NSInteger, STPPaymentIntentConfirmationMethod, open) { +/// Unknown confirmation method + STPPaymentIntentConfirmationMethodUnknown = 0, +/// Confirmed via publishable key + STPPaymentIntentConfirmationMethodManual = 1, +/// Confirmed via secret key + STPPaymentIntentConfirmationMethodAutomatic = 2, +}; + +enum STPPaymentIntentLastPaymentErrorType : NSInteger; + +/// A value for code indicating the provided payment method failed authentication./// The payment error encountered in the previous PaymentIntent confirmation. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/object#payment_intent_object-last_payment_error +SWIFT_CLASS("_TtC6Stripe32STPPaymentIntentLastPaymentError") +@interface STPPaymentIntentLastPaymentError : NSObject +/// A value for code indicating the provided payment method failed authentication. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull ErrorCodeAuthenticationFailure;) ++ (NSString * _Nonnull)ErrorCodeAuthenticationFailure SWIFT_WARN_UNUSED_RESULT; +/// For some errors that could be handled programmatically, a short string indicating the error code reported. +/// seealso: +/// https://stripe.com/docs/error-codes +@property (nonatomic, readonly, copy) NSString * _Nullable code; +/// For card (STPPaymentIntentLastPaymentErrorType.card) errors resulting from a card issuer decline, +/// a short string indicating the card issuer’s reason for the decline if they provide one. +/// seealso: +/// https://stripe.com/docs/declines#issuer-declines +@property (nonatomic, readonly, copy) NSString * _Nullable declineCode; +/// A URL to more information about the error code reported. +/// seealso: +/// https://stripe.com/docs/error-codes +@property (nonatomic, readonly, copy) NSString * _Nullable docURL; +/// A human-readable message providing more details about the error. +/// For card (STPPaymentIntentLastPaymentErrorType.card) errors, these messages can be shown to your users. +@property (nonatomic, readonly, copy) NSString * _Nullable message; +/// If the error is parameter-specific, the parameter related to the error. +/// For example, you can use this to display a message near the correct form field. +@property (nonatomic, readonly, copy) NSString * _Nullable param; +/// The PaymentMethod object for errors returned on a request involving a PaymentMethod. +@property (nonatomic, readonly, strong) STPPaymentMethod * _Nullable paymentMethod; +/// The type of error. +@property (nonatomic, readonly) enum STPPaymentIntentLastPaymentErrorType type; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPPaymentIntentLastPaymentError (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// The type of the error represented by STPPaymentIntentLastPaymentError. +/// Some STPPaymentIntentLastPaymentError properties are only populated for certain error types. +typedef SWIFT_ENUM(NSInteger, STPPaymentIntentLastPaymentErrorType, open) { +/// An unknown error type. + STPPaymentIntentLastPaymentErrorTypeUnknown = 0, +/// An error connecting to Stripe’s API. + STPPaymentIntentLastPaymentErrorTypeAPIConnection SWIFT_COMPILE_NAME("apiConnection") = 1, +/// An error with the Stripe API. + STPPaymentIntentLastPaymentErrorTypeAPI SWIFT_COMPILE_NAME("api") = 2, +/// A failure to authenticate your customer. + STPPaymentIntentLastPaymentErrorTypeAuthentication = 3, +/// Card errors are the most common type of error you should expect to handle. +/// They result when the user enters a card that can’t be charged for some reason. +/// Check the declineCode property for the decline code. The message property contains a message you can show to your users. + STPPaymentIntentLastPaymentErrorTypeCard = 4, +/// Keys for idempotent requests can only be used with the same parameters they were first used with. + STPPaymentIntentLastPaymentErrorTypeIdempotency = 5, +/// Invalid request errors. Typically, this is because your request has invalid parameters. + STPPaymentIntentLastPaymentErrorTypeInvalidRequest = 6, +/// Too many requests hit the API too quickly. + STPPaymentIntentLastPaymentErrorTypeRateLimit = 7, +}; + +@class STPSourceParams; +@class STPPaymentIntentShippingDetailsParams; + +/// An object representing parameters used to confirm a PaymentIntent object. +/// A PaymentIntent must have a PaymentMethod or Source associated in order to successfully confirm it. +/// That PaymentMethod or Source can either be: +/// seealso: +/// https://stripe.com/docs/api#confirm_payment_intent +///
    +///
  • +/// created during confirmation, by passing in a STPPaymentMethodParams or STPSourceParams object in the paymentMethodParams or sourceParams field +///
  • +///
  • +/// a pre-existing PaymentMethod or Source can be associated by passing its id in the paymentMethodId or sourceId field +///
  • +///
  • +/// or already set via your backend, either when creating or updating the PaymentIntent +///
  • +///
+SWIFT_CLASS("_TtC6Stripe22STPPaymentIntentParams") +@interface STPPaymentIntentParams : NSObject +/// Initialize this STPPaymentIntentParams with a clientSecret, which is the only required +/// field. +/// \param clientSecret the client secret for this PaymentIntent +/// +- (nonnull instancetype)initWithClientSecret:(NSString * _Nonnull)clientSecret OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// The Stripe id of the PaymentIntent, extracted from the clientSecret. +@property (nonatomic, readonly, copy) NSString * _Nullable stripeId; +/// The client secret of the PaymentIntent. Required +@property (nonatomic, copy) NSString * _Nonnull clientSecret; +/// Provide a supported STPPaymentMethodParams object, and Stripe will create a +/// PaymentMethod during PaymentIntent confirmation. +/// @note alternative to paymentMethodId +@property (nonatomic, strong) STPPaymentMethodParams * _Nullable paymentMethodParams; +/// Provide an already created PaymentMethod’s id, and it will be used to confirm the PaymentIntent. +/// @note alternative to paymentMethodParams +@property (nonatomic, copy) NSString * _Nullable paymentMethodId; +/// Provide a supported STPSourceParams object into here, and Stripe will create a Source +/// during PaymentIntent confirmation. +/// @note alternative to sourceId +@property (nonatomic, strong) STPSourceParams * _Nullable sourceParams; +/// Provide an already created Source’s id, and it will be used to confirm the PaymentIntent. +/// @note alternative to sourceParams +@property (nonatomic, copy) NSString * _Nullable sourceId; +/// Email address that the receipt for the resulting payment will be sent to. +@property (nonatomic, copy) NSString * _Nullable receiptEmail; +/// @YES to save this PaymentIntent’s PaymentMethod or Source to the associated Customer, +/// if the PaymentMethod/Source is not already attached. +/// This should be a boolean NSNumber, so that it can be nil +@property (nonatomic, strong) NSNumber * _Nullable savePaymentMethod; +/// The URL to redirect your customer back to after they authenticate or cancel +/// their payment on the payment method’s app or site. +/// This should probably be a URL that opens your iOS app. +@property (nonatomic, copy) NSString * _Nullable returnURL; +/// When provided, this property indicates how you intend to use the payment method that your customer provides after the current payment completes. +/// If applicable, additional authentication may be performed to comply with regional legislation or network rules required to enable the usage of the same payment method for additional payments. +/// This property should only be used in Objective-C. In Swift, use setupFutureUsage. +/// seealso: +/// STPPaymentIntentSetupFutureUsage for more details on what values you can provide. +@property (nonatomic, strong) NSNumber * _Nullable setupFutureUsage; +/// A boolean number to indicate whether you intend to use the Stripe SDK’s functionality to handle any PaymentIntent next actions. +/// If set to false, STPPaymentIntent.nextAction will only ever contain a redirect url that can be opened in a webview or mobile browser. +/// When set to true, the nextAction may contain information that the Stripe SDK can use to perform native authentication within your +/// app. +@property (nonatomic, strong) NSNumber * _Nullable useStripeSDK; +/// Details about the Mandate to create. +/// @note If this value is null and the (self.paymentMethod.type == STPPaymentMethodTypeSEPADebit | | self.paymentMethodParams.type == STPPaymentMethodTypeAUBECSDebit || self.paymentMethodParams.type == STPPaymentMethodTypeBacsDebit) && self.mandate == nil`, the SDK will set this to an internal value indicating that the mandate data should be inferred from the current context. +@property (nonatomic, strong) STPMandateDataParams * _Nullable mandateData; +/// Options to update the associated PaymentMethod during confirmation. +/// seealso: +/// STPConfirmPaymentMethodOptions +@property (nonatomic, strong) STPConfirmPaymentMethodOptions * _Nullable paymentMethodOptions; +/// Shipping information. +@property (nonatomic, strong) STPPaymentIntentShippingDetailsParams * _Nullable shipping; +/// The URL to redirect your customer back to after they authenticate or cancel +/// their payment on the payment method’s app or site. +/// This property has been renamed to returnURL and deprecated. +@property (nonatomic, copy) NSString * _Nullable returnUrl SWIFT_DEPRECATED_MSG("", "returnURL"); +/// @YES to save this PaymentIntent’s Source to the associated Customer, +/// if the Source is not already attached. +/// This should be a boolean NSNumber, so that it can be nil +/// This property has been renamed to savePaymentMethod and deprecated. +@property (nonatomic, strong) NSNumber * _Nullable saveSourceToCustomer SWIFT_DEPRECATED_MSG("", "savePaymentMethod"); +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Provide an STPPaymentResult from STPPaymentContext, and this will populate +/// the proper field (either paymentMethodId or paymentMethodParams) for your PaymentMethod. +- (void)configureWith:(STPPaymentResult * _Nonnull)paymentResult; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +@end + + +@interface STPPaymentIntentParams (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface STPPaymentIntentParams (SWIFT_EXTENSION(Stripe)) ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +@end + +/// Indicates how you intend to use the payment method that your customer provides after the current payment completes. +/// If applicable, additional authentication may be performed to comply with regional legislation or network rules required to enable the usage of the same payment method for additional payments. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/object#payment_intent_object-setup_future_usage +typedef SWIFT_ENUM(NSInteger, STPPaymentIntentSetupFutureUsage, open) { +/// Unknown value. Update your SDK, or use allResponseFields for custom handling. + STPPaymentIntentSetupFutureUsageUnknown = 0, +/// No value was provided. + STPPaymentIntentSetupFutureUsageNone = 1, +/// Indicates you intend to only reuse the payment method when the customer is in your checkout flow. + STPPaymentIntentSetupFutureUsageOnSession = 2, +/// Indicates you intend to reuse the payment method when the customer may or may not be in your checkout flow. + STPPaymentIntentSetupFutureUsageOffSession = 3, +}; + +@class STPPaymentIntentShippingDetailsAddress; + +/// Shipping information for a PaymentIntent +/// You cannot directly instantiate an STPPaymentIntentShippingDetails. +/// You should only use one that is part of an existing STPPaymentMethod object. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/object#payment_intent_object-shipping +SWIFT_CLASS("_TtC6Stripe31STPPaymentIntentShippingDetails") +@interface STPPaymentIntentShippingDetails : NSObject +/// Shipping address. +@property (nonatomic, readonly, strong) STPPaymentIntentShippingDetailsAddress * _Nullable address; +/// Recipient name. +@property (nonatomic, readonly, copy) NSString * _Nullable name; +/// The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc. +@property (nonatomic, readonly, copy) NSString * _Nullable carrier; +/// Recipient phone (including extension). +@property (nonatomic, readonly, copy) NSString * _Nullable phone; +/// The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas. +@property (nonatomic, readonly, copy) NSString * _Nullable trackingNumber; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPPaymentIntentShippingDetails (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Shipping address for a PaymentIntent’s shipping details. +/// You cannot directly instantiate an STPPaymentIntentShippingDetailsAddress. +/// You should only use one that is part of an existing STPPaymentMethod object. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/object#payment_intent_object-shipping +SWIFT_CLASS("_TtC6Stripe38STPPaymentIntentShippingDetailsAddress") +@interface STPPaymentIntentShippingDetailsAddress : NSObject +/// City/District/Suburb/Town/Village. +@property (nonatomic, readonly, copy) NSString * _Nullable city; +/// Two-letter country code (ISO 3166-1 alpha-2). +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// Address line 1 (Street address/PO Box/Company name). +@property (nonatomic, readonly, copy) NSString * _Nullable line1; +/// Address line 2 (Apartment/Suite/Unit/Building). +@property (nonatomic, readonly, copy) NSString * _Nullable line2; +/// ZIP or postal code. +@property (nonatomic, readonly, copy) NSString * _Nullable postalCode; +/// State/County/Province/Region. +@property (nonatomic, readonly, copy) NSString * _Nullable state; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPPaymentIntentShippingDetailsAddress (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Shipping address for a PaymentIntent’s shipping details. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-shipping-address +SWIFT_CLASS("_TtC6Stripe44STPPaymentIntentShippingDetailsAddressParams") +@interface STPPaymentIntentShippingDetailsAddressParams : NSObject +/// City/District/Suburb/Town/Village. +@property (nonatomic, copy) NSString * _Nullable city; +/// Two-letter country code (ISO 3166-1 alpha-2). +@property (nonatomic, copy) NSString * _Nullable country; +/// Address line 1 (Street address/PO Box/Company name). +@property (nonatomic, copy) NSString * _Nonnull line1; +/// Address line 2 (Apartment/Suite/Unit/Building). +@property (nonatomic, copy) NSString * _Nullable line2; +/// ZIP or postal code. +@property (nonatomic, copy) NSString * _Nullable postalCode; +/// State/County/Province/Region. +@property (nonatomic, copy) NSString * _Nullable state; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initialize an STPPaymentIntentShippingDetailsAddressParams instance with required properties. +- (nonnull instancetype)initWithLine1:(NSString * _Nonnull)line1 OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPPaymentIntentShippingDetailsAddressParams (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface STPPaymentIntentShippingDetailsAddressParams (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Shipping information for a PaymentIntent +/// seealso: +/// https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-shipping +SWIFT_CLASS("_TtC6Stripe37STPPaymentIntentShippingDetailsParams") +@interface STPPaymentIntentShippingDetailsParams : NSObject +/// Shipping address. +@property (nonatomic, strong) STPPaymentIntentShippingDetailsAddressParams * _Nonnull address; +/// Recipient name. +@property (nonatomic, copy) NSString * _Nonnull name; +/// The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc. +@property (nonatomic, copy) NSString * _Nullable carrier; +/// Recipient phone (including extension). +@property (nonatomic, copy) NSString * _Nullable phone; +/// The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas. +@property (nonatomic, copy) NSString * _Nullable trackingNumber; +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initialize an STPPaymentIntentShippingDetailsParams with required properties. +- (nonnull instancetype)initWithAddress:(STPPaymentIntentShippingDetailsAddressParams * _Nonnull)address name:(NSString * _Nonnull)name OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPPaymentIntentShippingDetailsParams (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface STPPaymentIntentShippingDetailsParams (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Source Action details for an STPPaymentIntent. This is a container for +/// the various types that are available. Check the type to see which one +/// it is, and then use the related property for the details necessary to handle +/// it. +/// @deprecated Use STPIntentAction instead. +SWIFT_CLASS("_TtC6Stripe28STPPaymentIntentSourceAction") SWIFT_UNAVAILABLE_MSG("'STPPaymentIntentSourceAction' has been renamed to '_TtC6Stripe15STPIntentAction': Use `STPIntentAction` instead.") +@interface STPPaymentIntentSourceAction : STPIntentAction +@end + + +/// The STPPaymentIntentSourceAction details when type is STPPaymentIntentSourceActionTypeAuthorizeWithURL. +/// These are created & owned by the containing STPPaymentIntent. +/// @deprecated Use STPIntentActionRedirectToURL instead. +SWIFT_CLASS("_TtC6Stripe44STPPaymentIntentSourceActionAuthorizeWithURL") SWIFT_UNAVAILABLE_MSG("'STPPaymentIntentSourceActionAuthorizeWithURL' has been renamed to '_TtC6Stripe28STPIntentActionRedirectToURL': Use `STPIntentActionRedirectToURL` instead.") +@interface STPPaymentIntentSourceActionAuthorizeWithURL : STPIntentActionRedirectToURL +@end + +/// Types of Source Actions from a STPPaymentIntent, when the payment intent +/// status is STPPaymentIntentStatusRequiresSourceAction. +/// @deprecated UseSTPPaymentIntentActionType instead. +typedef SWIFT_ENUM(NSInteger, STPPaymentIntentSourceActionType, open) { +/// This is an unknown source action, that’s been added since the SDK +/// was last updated. +/// Update your SDK, or use the nextSourceAction.allResponseFields +/// for custom handling. + STPPaymentIntentSourceActionTypeUnknown = 0, +/// The payment intent needs to be authorized by the user. We provide +/// STPRedirectContext to handle the url redirections necessary. + STPPaymentIntentSourceActionTypeAuthorizeWithURL = 1, +}; + +/// Status types for an STPPaymentIntent +typedef SWIFT_ENUM(NSInteger, STPPaymentIntentStatus, open) { +/// Unknown status + STPPaymentIntentStatusUnknown = 0, +/// This PaymentIntent requires a PaymentMethod or Source + STPPaymentIntentStatusRequiresPaymentMethod = 1, +/// This PaymentIntent requires a Source +/// Deprecated: Use STPPaymentIntentStatusRequiresPaymentMethod instead. + STPPaymentIntentStatusRequiresSource = 2, +/// This PaymentIntent needs to be confirmed + STPPaymentIntentStatusRequiresConfirmation = 3, +/// The selected PaymentMethod or Source requires additional authentication steps. +/// Additional actions found via next_action + STPPaymentIntentStatusRequiresAction = 4, +/// The selected Source requires additional authentication steps. +/// Additional actions found via next_source_action +/// Deprecated: Use STPPaymentIntentStatusRequiresAction instead. + STPPaymentIntentStatusRequiresSourceAction = 5, +/// Stripe is processing this PaymentIntent + STPPaymentIntentStatusProcessing = 6, +/// The payment has succeeded + STPPaymentIntentStatusSucceeded = 7, +/// Indicates the payment must be captured, for STPPaymentIntentCaptureMethodManual + STPPaymentIntentStatusRequiresCapture = 8, +/// This PaymentIntent was canceled and cannot be changed. + STPPaymentIntentStatusCanceled = 9, +}; + +enum STPPaymentMethodType : NSInteger; +@class STPPaymentMethodAlipay; +@class STPPaymentMethodGrabPay; +@class STPPaymentMethodCard; +@class STPPaymentMethodiDEAL; +@class STPPaymentMethodFPX; +@class STPPaymentMethodCardPresent; +@class STPPaymentMethodSEPADebit; +@class STPPaymentMethodBacsDebit; +@class STPPaymentMethodAUBECSDebit; +@class STPPaymentMethodGiropay; +@class STPPaymentMethodEPS; +@class STPPaymentMethodPrzelewy24; +@class STPPaymentMethodBancontact; +@class STPPaymentMethodNetBanking; +@class STPPaymentMethodOXXO; +@class STPPaymentMethodSofort; +@class STPPaymentMethodUPI; +@class STPPaymentMethodPayPal; +@class STPPaymentMethodAfterpayClearpay; +@class STPPaymentMethodBLIK; +@class STPPaymentMethodBoleto; +@class STPPaymentMethodLink; +@class STPPaymentMethodKlarna; + +/// PaymentMethod objects represent your customer’s payment instruments. They can be used with PaymentIntents to collect payments. +/// seealso: +/// https://stripe.com/docs/api/payment_methods +SWIFT_CLASS("_TtC6Stripe16STPPaymentMethod") +@interface STPPaymentMethod : NSObject +/// Unique identifier for the object. +@property (nonatomic, readonly, copy) NSString * _Nonnull stripeId; +/// Time at which the object was created. Measured in seconds since the Unix epoch. +@property (nonatomic, readonly, copy) NSDate * _Nullable created; +/// YES if the object exists in live mode or the value NO if the object exists in test mode. +@property (nonatomic, readonly) BOOL liveMode; +/// The type of the PaymentMethod. The corresponding, similarly named property contains additional information specific to the PaymentMethod type. +/// e.g. if the type is STPPaymentMethodTypeCard, the card property is also populated. +@property (nonatomic, readonly) enum STPPaymentMethodType type; +/// Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods. +@property (nonatomic, readonly, strong) STPPaymentMethodBillingDetails * _Nullable billingDetails; +/// If this is an Alipay PaymentMethod (ie self.type == STPPaymentMethodTypeAlipay), this contains additional detailsl +@property (nonatomic, readonly, strong) STPPaymentMethodAlipay * _Nullable alipay; +/// If this is a GrabPay PaymentMethod (ie self.type == STPPaymentMethodTypeGrabPay), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodGrabPay * _Nullable grabPay; +/// If this is a card PaymentMethod (ie self.type == STPPaymentMethodTypeCard), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodCard * _Nullable card; +/// If this is a iDEAL PaymentMethod (ie self.type == STPPaymentMethodTypeiDEAL), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodiDEAL * _Nullable iDEAL; +/// If this is an FPX PaymentMethod (ie self.type == STPPaymentMethodTypeFPX), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodFPX * _Nullable fpx; +/// If this is a card present PaymentMethod (ie self.type == STPPaymentMethodTypeCardPresent), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodCardPresent * _Nullable cardPresent; +/// If this is a SEPA Debit PaymentMethod (ie self.type == STPPaymentMethodTypeSEPADebit), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodSEPADebit * _Nullable sepaDebit; +/// If this is a Bacs Debit PaymentMethod (ie self.type == STPPaymentMethodTypeBacsDebit), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodBacsDebit * _Nullable bacsDebit; +/// If this is an AU BECS Debit PaymentMethod (i.e. self.type == STPPaymentMethodTypeAUBECSDebit), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodAUBECSDebit * _Nullable auBECSDebit; +/// If this is a giropay PaymentMethod (i.e. self.type == STPPaymentMethodTypeGiropay), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodGiropay * _Nullable giropay; +/// If this is an EPS PaymentMethod (i.e. self.type == STPPaymentMethodTypeEPS), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodEPS * _Nullable eps; +/// If this is a Przelewy24 PaymentMethod (i.e. self.type == STPPaymentMethodTypePrzelewy24), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodPrzelewy24 * _Nullable przelewy24; +/// If this is a Bancontact PaymentMethod (i.e. self.type == STPPaymentMethodTypeBancontact), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodBancontact * _Nullable bancontact; +/// If this is a NetBanking PaymentMethod (i.e. self.type == STPPaymentMethodTypeNetBanking), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodNetBanking * _Nullable netBanking; +/// If this is an OXXO PaymentMethod (i.e. self.type == STPPaymentMethodTypeOXXO), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodOXXO * _Nullable oxxo; +/// If this is a Sofort PaymentMethod (i.e. self.type == STPPaymentMethodTypeSofort), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodSofort * _Nullable sofort; +/// If this is a UPI PaymentMethod (i.e. self.type == STPPaymentMethodTypeUPI), this contains additional details. :nodoc: +@property (nonatomic, readonly, strong) STPPaymentMethodUPI * _Nullable upi; +/// If this is a PayPal PaymentMethod (i.e. self.type == STPPaymentMethodTypePayPal), this contains additional details. :nodoc: +@property (nonatomic, readonly, strong) STPPaymentMethodPayPal * _Nullable payPal; +/// If this is an AfterpayClearpay PaymentMethod (i.e. self.type == STPPaymentMethodTypeAfterpayClearpay), this contains additional details. :nodoc: +@property (nonatomic, readonly, strong) STPPaymentMethodAfterpayClearpay * _Nullable afterpayClearpay; +/// If this is a BLIK PaymentMethod (i.e. self.type == STPPaymentMethodTypeBLIK), this contains additional details. :nodoc: +@property (nonatomic, readonly, strong) STPPaymentMethodBLIK * _Nullable blik; +/// If this is an Boleto PaymentMethod (i.e. self.type == STPPaymentMethodTypeBoleto), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodBoleto * _Nullable boleto; +/// If this is a Link PaymentMethod (i.e. self.type == STPPaymentMethodTypeLink), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodLink * _Nullable link; +/// If this is an Boleto PaymentMethod (i.e. self.type == STPPaymentMethodTypeKlarna), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodKlarna * _Nullable klarna; +/// The ID of the Customer to which this PaymentMethod is saved. Nil when the PaymentMethod has not been saved to a Customer. +@property (nonatomic, readonly, copy) NSString * _Nullable customerId; +/// Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. +/// @deprecated Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead. +/// seealso: +/// https://stripe.com/docs/api#metadata +@property (nonatomic, readonly, copy) NSDictionary * _Nullable metadata SWIFT_DEPRECATED_MSG("Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead."); +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, strong) UIImage * _Nonnull image; +@property (nonatomic, readonly, strong) UIImage * _Nonnull templateImage; +@property (nonatomic, readonly, copy) NSString * _Nonnull label; +@property (nonatomic, readonly) BOOL isReusable; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + + + +/// An AU BECS Debit Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-au_becs_debit +SWIFT_CLASS("_TtC6Stripe27STPPaymentMethodAUBECSDebit") +@interface STPPaymentMethodAUBECSDebit : NSObject +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// Six-digit number identifying bank and branch associated with this bank account. +@property (nonatomic, readonly, copy) NSString * _Nonnull bsbNumber; +/// Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. +@property (nonatomic, readonly, copy) NSString * _Nonnull fingerprint; +/// Last four digits of the bank account number. +@property (nonatomic, readonly, copy) NSString * _Nonnull last4; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create an AU BECS Debit Payment Method +SWIFT_CLASS("_TtC6Stripe33STPPaymentMethodAUBECSDebitParams") +@interface STPPaymentMethodAUBECSDebitParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// The account number to debit. +@property (nonatomic, copy) NSString * _Nullable accountNumber; +/// Six-digit number identifying bank and branch associated with this bank account. +@property (nonatomic, copy) NSString * _Nullable bsbNumber; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// The billing address, a property on STPPaymentMethodBillingDetails +SWIFT_CLASS("_TtC6Stripe23STPPaymentMethodAddress") +@interface STPPaymentMethodAddress : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// City/District/Suburb/Town/Village. +@property (nonatomic, copy) NSString * _Nullable city; +/// 2-letter country code. +@property (nonatomic, copy) NSString * _Nullable country; +/// Address line 1 (Street address/PO Box/Company name). +@property (nonatomic, copy) NSString * _Nullable line1; +/// Address line 2 (Apartment/Suite/Unit/Building). +@property (nonatomic, copy) NSString * _Nullable line2; +/// ZIP or postal code. +@property (nonatomic, copy) NSString * _Nullable postalCode; +/// State/County/Province/Region. +@property (nonatomic, copy) NSString * _Nullable state; +/// Convenience initializer for creating a STPPaymentMethodAddress from an STPAddress. +- (nonnull instancetype)initWithAddress:(STPAddress * _Nonnull)address OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + + +/// An AfterpayClearpay Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-afterpay_clearpay +SWIFT_CLASS("_TtC6Stripe32STPPaymentMethodAfterpayClearpay") +@interface STPPaymentMethodAfterpayClearpay : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create an AfterpayClearpay Payment Method +SWIFT_CLASS("_TtC6Stripe38STPPaymentMethodAfterpayClearpayParams") +@interface STPPaymentMethodAfterpayClearpayParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// Contains details for an Alipay Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-alipay +SWIFT_CLASS("_TtC6Stripe22STPPaymentMethodAlipay") +@interface STPPaymentMethodAlipay : NSObject +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// :nodoc: ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create an Alipay Payment Method. +/// There are currently no parameters to pass. +/// seealso: +/// https://site-admin.stripe.com/docs/api/payment_methods/create#create_payment_method-alipay +SWIFT_CLASS("_TtC6Stripe28STPPaymentMethodAlipayParams") +@interface STPPaymentMethodAlipayParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// Contains details for a BLIK Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-blik +SWIFT_CLASS("_TtC6Stripe20STPPaymentMethodBLIK") +@interface STPPaymentMethodBLIK : NSObject +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// :nodoc: ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a BLIK Payment Method +/// There are currently no parameters to pass. +/// seealso: +/// https://site-admin.stripe.com/docs/api/payment_methods/create#create_payment_method-blik +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodBLIKParams") +@interface STPPaymentMethodBLIKParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A Bacs Debit Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-bacs_debit +SWIFT_CLASS("_TtC6Stripe25STPPaymentMethodBacsDebit") +@interface STPPaymentMethodBacsDebit : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// This payment method’s fingerprint. +@property (nonatomic, readonly, copy) NSString * _Nullable fingerprint; +/// The last four digits of the bank account. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// The sort code of the bank account (eg 10-88-00) +@property (nonatomic, readonly, copy) NSString * _Nullable sortCode; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// The user’s bank account details. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/create#create_payment_method-bacs_debit +SWIFT_CLASS("_TtC6Stripe31STPPaymentMethodBacsDebitParams") +@interface STPPaymentMethodBacsDebitParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// The bank account number (eg 00012345) +@property (nonatomic, copy) NSString * _Nullable accountNumber; +/// The sort code of the bank account (eg 10-88-00) +@property (nonatomic, copy) NSString * _Nullable sortCode; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A Bancontact Payment Method. +/// seealso: +/// https://stripe.com/docs/payments/bancontact +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodBancontact") +@interface STPPaymentMethodBancontact : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a Bancontact Payment Method +SWIFT_CLASS("_TtC6Stripe32STPPaymentMethodBancontactParams") +@interface STPPaymentMethodBancontactParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// Billing information associated with a STPPaymentMethod that may be used or required by particular types of payment methods. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-billing_details +SWIFT_CLASS("_TtC6Stripe30STPPaymentMethodBillingDetails") +@interface STPPaymentMethodBillingDetails : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Billing address. +@property (nonatomic, strong) STPPaymentMethodAddress * _Nullable address; +/// Email address. +@property (nonatomic, copy) NSString * _Nullable email; +/// Full name. +@property (nonatomic, copy) NSString * _Nullable name; +/// Billing phone number (including extension). +@property (nonatomic, copy) NSString * _Nullable phone; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// :nodoc: +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + + + +/// A Boleto Payment Method. +/// seealso: +/// https://stripe.com/docs/payments/boleto +SWIFT_CLASS("_TtC6Stripe22STPPaymentMethodBoleto") +@interface STPPaymentMethodBoleto : NSObject +/// The tax ID of the customer (CPF for individuals or CNPJ for businesses). +@property (nonatomic, readonly, copy) NSString * _Nonnull taxID; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a Boleto Payment Method +SWIFT_CLASS("_TtC6Stripe28STPPaymentMethodBoletoParams") +@interface STPPaymentMethodBoletoParams : NSObject +/// The tax ID of the customer (CPF for individuals or CNPJ for businesses). +/// Supported formats: +///
    +///
  • +/// XXX.XXX.XXX-XX or XXXXXXXXXXX for CPF +///
  • +///
  • +/// XX.XXX.XXX/XXXX-XX or XXXXXXXXXXXXXX for CNPJ +///
  • +///
+@property (nonatomic, copy) NSString * _Nullable taxID; +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class STPPaymentMethodCardChecks; +@class STPPaymentMethodCardNetworks; +@class STPPaymentMethodThreeDSecureUsage; +@class STPPaymentMethodCardWallet; + +/// Contains details about a user’s credit card. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-card +SWIFT_CLASS("_TtC6Stripe20STPPaymentMethodCard") +@interface STPPaymentMethodCard : NSObject +/// You cannot directly instantiate an STPPaymentMethodCard. You should only use one that is part of an existing STPPaymentMethod object. +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// The issuer of the card. +@property (nonatomic, readonly) enum STPCardBrand brand; +/// Checks on Card address and CVC if provided. +@property (nonatomic, readonly, strong) STPPaymentMethodCardChecks * _Nullable checks; +/// Two-letter ISO code representing the country of the card. +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// Two-digit number representing the card’s expiration month. +@property (nonatomic, readonly) NSInteger expMonth; +/// Four-digit number representing the card’s expiration year. +@property (nonatomic, readonly) NSInteger expYear; +/// Card funding type. Can be credit, debit, prepaid, or unknown. +@property (nonatomic, readonly, copy) NSString * _Nullable funding; +/// The last four digits of the card. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. +@property (nonatomic, readonly, copy) NSString * _Nullable fingerprint; +/// Contains information about card networks that can be used to process the payment. +@property (nonatomic, readonly, strong) STPPaymentMethodCardNetworks * _Nullable networks; +/// Contains details on how this Card maybe be used for 3D Secure authentication. +@property (nonatomic, readonly, strong) STPPaymentMethodThreeDSecureUsage * _Nullable threeDSecureUsage; +/// If this Card is part of a Card Wallet, this contains the details of the Card Wallet. +@property (nonatomic, readonly, strong) STPPaymentMethodCardWallet * _Nullable wallet; +/// Returns a string representation for the provided card brand; +/// i.e. STPPaymentMethodCard.string(from brand:.visa) == "Visa". +/// \param brand the brand you want to convert to a string +/// +/// +/// returns: +/// A string representing the brand, suitable for displaying to a user. ++ (NSString * _Nonnull)stringFromBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// The result of a check on a Card address or CVC. +typedef SWIFT_ENUM(NSInteger, STPPaymentMethodCardCheckResult, open) { +/// The check passed. + STPPaymentMethodCardCheckResultPass = 0, +/// The check failed. + STPPaymentMethodCardCheckResultFailed = 1, +/// The check is unavailable. + STPPaymentMethodCardCheckResultUnavailable = 2, +/// The value was not checked. + STPPaymentMethodCardCheckResultUnchecked = 3, +/// Represents an unknown or null value. + STPPaymentMethodCardCheckResultUnknown = 4, +}; + + +/// Checks on Card address and CVC. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-checks +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodCardChecks") +@interface STPPaymentMethodCardChecks : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// If a address line1 was provided, results of the check. +@property (nonatomic, readonly) enum STPPaymentMethodCardCheckResult addressLine1Check SWIFT_DEPRECATED_MSG("Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead."); +/// If a address postal code was provided, results of the check. +/// deprecated Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead. +@property (nonatomic, readonly) enum STPPaymentMethodCardCheckResult addressPostalCodeCheck SWIFT_DEPRECATED_MSG("Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead."); +/// If a CVC was provided, results of the check. +/// deprecated Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead. +@property (nonatomic, readonly) enum STPPaymentMethodCardCheckResult cvcCheck SWIFT_DEPRECATED_MSG("Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead."); +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// STPPaymentMethodCardNetworks contains information about card networks that can be used to process a payment. +SWIFT_CLASS("_TtC6Stripe28STPPaymentMethodCardNetworks") +@interface STPPaymentMethodCardNetworks : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// All available networks for the card. +@property (nonatomic, readonly, copy) NSArray * _Nonnull available; +/// The preferred network for the card if one exists. +@property (nonatomic, readonly, copy) NSString * _Nullable preferred; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// The user’s card details. +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodCardParams") +@interface STPPaymentMethodCardParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// A convenience initializer for creating a payment method from a card source. +/// This should be used to help with migrations to Payment Methods from Sources. +- (nonnull instancetype)initWithCardSourceParams:(STPCardParams * _Nonnull)cardSourceParams; +/// Initializes an empty STPPaymentMethodCardParams. +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +/// The card number, as a string without any separators. Ex. @“4242424242424242” +@property (nonatomic, copy) NSString * _Nullable number; +/// Number representing the card’s expiration month. Ex. @1 +@property (nonatomic, strong) NSNumber * _Nullable expMonth; +/// Two- or four-digit number representing the card’s expiration year. +@property (nonatomic, strong) NSNumber * _Nullable expYear; +/// For backwards compatibility, you can alternatively set this as a Stripe token (e.g., for apple pay) +@property (nonatomic, copy) NSString * _Nullable token; +/// Card security code. It is highly recommended to always include this value. +@property (nonatomic, copy) NSString * _Nullable cvc; +/// The last 4 digits of the card. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (BOOL)isEqual:(id _Nullable)other SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Details about the Card Present payment method +SWIFT_CLASS("_TtC6Stripe27STPPaymentMethodCardPresent") +@interface STPPaymentMethodCardPresent : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +enum STPPaymentMethodCardWalletType : NSInteger; +@class STPPaymentMethodCardWalletMasterpass; +@class STPPaymentMethodCardWalletVisaCheckout; + +/// A Card Wallet. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-wallet +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodCardWallet") +@interface STPPaymentMethodCardWallet : NSObject +/// The type of the Card Wallet. A matching property is populated if the type is STPPaymentMethodCardWalletTypeMasterpass or STPPaymentMethodCardWalletTypeVisaCheckout containing additional information specific to the Card Wallet type. +@property (nonatomic, readonly) enum STPPaymentMethodCardWalletType type; +/// Contains additional Masterpass information, if the type of the Card Wallet is STPPaymentMethodCardWalletTypeMasterpass +@property (nonatomic, readonly, strong) STPPaymentMethodCardWalletMasterpass * _Nullable masterpass; +/// Contains additional Visa Checkout information, if the type of the Card Wallet is STPPaymentMethodCardWalletTypeVisaCheckout +@property (nonatomic, readonly, strong) STPPaymentMethodCardWalletVisaCheckout * _Nullable visaCheckout; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + + +/// A Masterpass Card Wallet +/// seealso: +/// https://stripe.com/docs/masterpass +SWIFT_CLASS("_TtC6Stripe36STPPaymentMethodCardWalletMasterpass") +@interface STPPaymentMethodCardWalletMasterpass : NSObject +/// Owner’s verified email. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, copy) NSString * _Nullable email; +/// Owner’s verified email. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, copy) NSString * _Nullable name; +/// Owner’s verified billing address. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, strong) STPPaymentMethodAddress * _Nullable billingAddress; +/// Owner’s verified shipping address. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, strong) STPPaymentMethodAddress * _Nullable shippingAddress; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// The type of Card Wallet. +typedef SWIFT_ENUM(NSInteger, STPPaymentMethodCardWalletType, open) { +/// Amex Express Checkout + STPPaymentMethodCardWalletTypeAmexExpressCheckout = 0, +/// Apple Pay + STPPaymentMethodCardWalletTypeApplePay = 1, +/// Google Pay + STPPaymentMethodCardWalletTypeGooglePay = 2, +/// Masterpass + STPPaymentMethodCardWalletTypeMasterpass = 3, +/// Samsung Pay + STPPaymentMethodCardWalletTypeSamsungPay = 4, +/// Visa Checkout + STPPaymentMethodCardWalletTypeVisaCheckout = 5, +/// An unknown Card Wallet type. + STPPaymentMethodCardWalletTypeUnknown = 6, +}; + + +/// A Visa Checkout Card Wallet +/// seealso: +/// https://stripe.com/docs/visa-checkout +SWIFT_CLASS("_TtC6Stripe38STPPaymentMethodCardWalletVisaCheckout") +@interface STPPaymentMethodCardWalletVisaCheckout : NSObject +/// Owner’s verified email. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, copy) NSString * _Nullable email; +/// Owner’s verified email. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, copy) NSString * _Nullable name; +/// Owner’s verified billing address. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, strong) STPPaymentMethodAddress * _Nullable billingAddress; +/// Owner’s verified shipping address. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, strong) STPPaymentMethodAddress * _Nullable shippingAddress; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An EPS Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-eps +SWIFT_CLASS("_TtC6Stripe19STPPaymentMethodEPS") +@interface STPPaymentMethodEPS : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a EPS Payment Method +SWIFT_CLASS("_TtC6Stripe25STPPaymentMethodEPSParams") +@interface STPPaymentMethodEPSParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// An FPX Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-fpx +SWIFT_CLASS("_TtC6Stripe19STPPaymentMethodFPX") +@interface STPPaymentMethodFPX : NSObject +/// The customer’s bank identifier code. +@property (nonatomic, readonly, copy) NSString * _Nullable bankIdentifierCode; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An object representing parameters used to create an FPX Payment Method +SWIFT_CLASS("_TtC6Stripe25STPPaymentMethodFPXParams") +@interface STPPaymentMethodFPXParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// The customer’s bank. Required. +@property (nonatomic) enum STPFPXBankBrand bank; +/// The raw underlying bank string sent to the server. +/// Generally you should use bank instead unless you have a reason not to. +/// You can use this if you want to create a param of a bank not yet supported +/// by the current version of the SDK’s STPFPXBankBrand enum. +/// Setting this to a value not known by the SDK causes bank to +/// return STPFPXBankBrandUnknown +@property (nonatomic, copy) NSString * _Nullable rawBankString; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A giropay Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-giropay +SWIFT_CLASS("_TtC6Stripe23STPPaymentMethodGiropay") +@interface STPPaymentMethodGiropay : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a giropay Payment Method +SWIFT_CLASS("_TtC6Stripe29STPPaymentMethodGiropayParams") +@interface STPPaymentMethodGiropayParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A GrabPay PaymentMethod +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-grabpay +SWIFT_CLASS("_TtC6Stripe23STPPaymentMethodGrabPay") +@interface STPPaymentMethodGrabPay : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a GrabPay Payment Method +SWIFT_CLASS("_TtC6Stripe29STPPaymentMethodGrabPayParams") +@interface STPPaymentMethodGrabPayParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// The Klarna Payment Method. +/// seealso: +/// https://stripe.com/docs/payments/klarna +SWIFT_CLASS("_TtC6Stripe22STPPaymentMethodKlarna") +@interface STPPaymentMethodKlarna : NSObject +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create an Klarna Payment Method +SWIFT_CLASS("_TtC6Stripe28STPPaymentMethodKlarnaParams") +@interface STPPaymentMethodKlarnaParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A Link Payment Method. +SWIFT_CLASS("_TtC6Stripe20STPPaymentMethodLink") +@interface STPPaymentMethodLink : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create an Link Payment Method +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodLinkParams") +@interface STPPaymentMethodLinkParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A NetBanking Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-netbanking +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodNetBanking") +@interface STPPaymentMethodNetBanking : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// Customer’s Bank Name +@property (nonatomic, readonly, copy) NSString * _Nonnull bank; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a NetBanking Payment Method +SWIFT_CLASS("_TtC6Stripe32STPPaymentMethodNetBankingParams") +@interface STPPaymentMethodNetBankingParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Customer’s Bank Name. Required. +@property (nonatomic, copy) NSString * _Nullable bank; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// An OXXO Payment Method. +/// seealso: +/// https://stripe.com/docs/payments/oxxo +SWIFT_CLASS("_TtC6Stripe20STPPaymentMethodOXXO") +@interface STPPaymentMethodOXXO : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An object representing parameters used to create an OXXO Payment Method +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodOXXOParams") +@interface STPPaymentMethodOXXOParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class STPPaymentMethodiDEALParams; +@class STPPaymentMethodSEPADebitParams; +@class STPPaymentMethodPayPalParams; +@class STPPaymentMethodPrzelewy24Params; +@class STPPaymentMethodSofortParams; +@class STPPaymentMethodUPIParams; + +/// An object representing parameters used to create a PaymentMethod object. +/// @note To create a PaymentMethod from an Apple Pay PKPaymentToken, see STPAPIClient createPaymentMethodWithPayment:completion: +/// seealso: +/// https://stripe.com/docs/api/payment_methods/create +SWIFT_CLASS("_TtC6Stripe22STPPaymentMethodParams") +@interface STPPaymentMethodParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// The type of payment method. The associated property will contain additional information (e.g. type == STPPaymentMethodTypeCard means card should also be populated). +@property (nonatomic) enum STPPaymentMethodType type; +/// The raw underlying type string sent to the server. +/// Generally you should use type instead unless you have a reason not to. +/// You can use this if you want to create a param of a type not yet supported +/// by the current version of the SDK’s STPPaymentMethodType enum. +/// Setting this to a value not known by the SDK causes type to +/// return STPPaymentMethodTypeUnknown +@property (nonatomic, copy) NSString * _Nullable rawTypeString; +/// Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods. +@property (nonatomic, strong) STPPaymentMethodBillingDetails * _Nullable billingDetails; +/// If this is a card PaymentMethod, this contains the user’s card details. +@property (nonatomic, strong) STPPaymentMethodCardParams * _Nullable card; +/// If this is an Alipay PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodAlipayParams * _Nullable alipay; +/// If this is a iDEAL PaymentMethod, this contains details about user’s bank. +@property (nonatomic, strong) STPPaymentMethodiDEALParams * _Nullable iDEAL; +/// If this is a FPX PaymentMethod, this contains details about user’s bank. +@property (nonatomic, strong) STPPaymentMethodFPXParams * _Nullable fpx; +/// If this is a SEPA Debit PaymentMethod, this contains details about the bank to debit. +@property (nonatomic, strong) STPPaymentMethodSEPADebitParams * _Nullable sepaDebit; +/// If this is a Bacs Debit PaymentMethod, this contains details about the bank account to debit. +@property (nonatomic, strong) STPPaymentMethodBacsDebitParams * _Nullable bacsDebit; +/// If this is an AU BECS Debit PaymentMethod, this contains details about the bank to debit. +@property (nonatomic, strong) STPPaymentMethodAUBECSDebitParams * _Nullable auBECSDebit; +/// If this is a giropay PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodGiropayParams * _Nullable giropay; +/// If this is a PayPal PaymentMethod, this contains additional details. :nodoc: +@property (nonatomic, strong) STPPaymentMethodPayPalParams * _Nullable payPal; +/// If this is a Przelewy24 PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodPrzelewy24Params * _Nullable przelewy24; +/// If this is an EPS PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodEPSParams * _Nullable eps; +/// If this is a Bancontact PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodBancontactParams * _Nullable bancontact; +/// If this is a NetBanking PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodNetBankingParams * _Nullable netBanking; +/// If this is an OXXO PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodOXXOParams * _Nullable oxxo; +/// If this is a Sofort PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodSofortParams * _Nullable sofort; +/// If this is a UPI PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodUPIParams * _Nullable upi; +/// If this is a GrabPay PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodGrabPayParams * _Nullable grabPay; +/// If this is a Afterpay PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodAfterpayClearpayParams * _Nullable afterpayClearpay; +/// If this is a BLIK PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodBLIKParams * _Nullable blik; +/// If this is an Boleto PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodBoletoParams * _Nullable boleto; +/// If this is a Link PaymentMethod, this contains additional details +@property (nonatomic, strong) STPPaymentMethodLinkParams * _Nullable link; +/// If this is an Klarna PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodKlarnaParams * _Nullable klarna; +/// Set of key-value pairs that you can attach to the PaymentMethod. This can be useful for storing additional information about the PaymentMethod in a structured format. +@property (nonatomic, copy) NSDictionary * _Nullable metadata; +/// Creates params for a card PaymentMethod. +/// \param card An object containing the user’s card details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithCard:(STPPaymentMethodCardParams * _Nonnull)card billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an iDEAL PaymentMethod. +/// \param iDEAL An object containing the user’s iDEAL bank details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithIDEAL:(STPPaymentMethodiDEALParams * _Nonnull)iDEAL billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an FPX PaymentMethod. +/// \param fpx An object containing the user’s FPX bank details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithFpx:(STPPaymentMethodFPXParams * _Nonnull)fpx billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a SEPA Debit PaymentMethod; +/// \param sepaDebit An object containing the SEPA bank debit details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for SEPA Debit PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithSepaDebit:(STPPaymentMethodSEPADebitParams * _Nonnull)sepaDebit billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a Bacs Debit PaymentMethod; +/// \param bacsDebit An object containing the Bacs bank debit details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that name, email, and address are required for Bacs Debit PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithBacsDebit:(STPPaymentMethodBacsDebitParams * _Nonnull)bacsDebit billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an AU BECS Debit PaymentMethod; +/// \param auBECSDebit An object containing the AU BECS bank debit details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name and billingDetails.email are required for AU BECS Debit PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithAubecsDebit:(STPPaymentMethodAUBECSDebitParams * _Nonnull)auBECSDebit billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a giropay PaymentMethod; +/// \param giropay An object containing additional giropay details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for giropay PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithGiropay:(STPPaymentMethodGiropayParams * _Nonnull)giropay billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an EPS PaymentMethod; +/// \param eps An object containing additional EPS details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for EPS PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithEps:(STPPaymentMethodEPSParams * _Nonnull)eps billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a Przelewy24 PaymentMethod; +/// \param przelewy24 An object containing additional Przelewy24 details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.email is required for Przelewy24 PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithPrzelewy24:(STPPaymentMethodPrzelewy24Params * _Nonnull)przelewy24 billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a Bancontact PaymentMethod; +/// \param bancontact An object containing additional Bancontact details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for Bancontact PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithBancontact:(STPPaymentMethodBancontactParams * _Nonnull)bancontact billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a NetBanking PaymentMethod; +/// \param netBanking An object containing additional NetBanking details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithNetBanking:(STPPaymentMethodNetBankingParams * _Nonnull)netBanking billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a GrabPay PaymentMethod; +/// \param grabPay An object containing additional GrabPay details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithGrabPay:(STPPaymentMethodGrabPayParams * _Nonnull)grabPay billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an OXXO PaymentMethod; +/// \param oxxo An object containing additional OXXO details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithOxxo:(STPPaymentMethodOXXOParams * _Nonnull)oxxo billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a Sofort PaymentMethod; +/// \param sofort An object containing additional Sofort details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name and billingDetails.email are required to save bank details from a Sofort payment. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithSofort:(STPPaymentMethodSofortParams * _Nonnull)sofort billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a UPI PaymentMethod; +/// \param upi An object containing additional UPI details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithUpi:(STPPaymentMethodUPIParams * _Nonnull)upi billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an Alipay PaymentMethod. +/// \param alipay An object containing additional Alipay details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithAlipay:(STPPaymentMethodAlipayParams * _Nonnull)alipay billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a PayPal PaymentMethod. :nodoc: +/// \param payPal An object containing additional PayPal details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithPayPal:(STPPaymentMethodPayPalParams * _Nonnull)payPal billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an AfterpayClearpay PaymentMethod. :nodoc: +/// \param afterpayClearpay An object containing additional AfterpayClearpay details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithAfterpayClearpay:(STPPaymentMethodAfterpayClearpayParams * _Nonnull)afterpayClearpay billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a BLIK PaymentMethod. +/// \param blik An object containing additional BLIK details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithBlik:(STPPaymentMethodBLIKParams * _Nonnull)blik billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an Boleto PaymentMethod; +/// \param boleto An object containing additional Boleto details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithBoleto:(STPPaymentMethodBoletoParams * _Nonnull)boleto billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an Klarna PaymentMethod. :nodoc: +/// \param klarna An object containing additional Klarna details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithKlarna:(STPPaymentMethodKlarnaParams * _Nonnull)klarna billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params from a single-use PaymentMethod. This is useful for recreating a new payment method +/// with similar settings. It will return nil if used with a reusable PaymentMethod. +/// \param paymentMethod An object containing the original single-use PaymentMethod. +/// +- (nullable instancetype)initWithSingleUsePaymentMethod:(STPPaymentMethod * _Nonnull)paymentMethod; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, strong) UIImage * _Nonnull image; +@property (nonatomic, readonly, strong) UIImage * _Nonnull templateImage; +@property (nonatomic, readonly, copy) NSString * _Nonnull label; +@property (nonatomic, readonly) BOOL isReusable; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + + + +@interface STPPaymentMethodParams (SWIFT_EXTENSION(Stripe)) +/// Creates params for a card PaymentMethod. +/// \param card An object containing the user’s card details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithCard:(STPPaymentMethodCardParams * _Nonnull)card billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an iDEAL PaymentMethod. +/// \param iDEAL An object containing the user’s iDEAL bank details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithiDEAL:(STPPaymentMethodiDEALParams * _Nonnull)iDEAL billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an FPX PaymentMethod. +/// \param fpx An object containing the user’s FPX bank details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithFPX:(STPPaymentMethodFPXParams * _Nonnull)fpx billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a SEPA Debit PaymentMethod; +/// \param sepaDebit An object containing the SEPA bank debit details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for SEPA Debit PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithSEPADebit:(STPPaymentMethodSEPADebitParams * _Nonnull)sepaDebit billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Bacs Debit PaymentMethod; +/// \param bacsDebit An object containing the Bacs bank debit details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that name, email, and address are required for Bacs Debit PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithBacsDebit:(STPPaymentMethodBacsDebitParams * _Nonnull)bacsDebit billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an AU BECS Debit PaymentMethod; +/// \param auBECSDebit An object containing the AU BECS bank debit details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name and billingDetails.email are required for AU BECS Debit PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithAUBECSDebit:(STPPaymentMethodAUBECSDebitParams * _Nonnull)auBECSDebit billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a giropay PaymentMethod; +/// \param giropay An object containing additional giropay details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for giropay PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithGiropay:(STPPaymentMethodGiropayParams * _Nonnull)giropay billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an EPS PaymentMethod; +/// \param eps An object containing additional EPS details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for EPS PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithEPS:(STPPaymentMethodEPSParams * _Nonnull)eps billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Przelewy24 PaymentMethod; +/// \param przelewy24 An object containing additional Przelewy24 details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.email is required for Przelewy24 PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithPrzelewy24:(STPPaymentMethodPrzelewy24Params * _Nonnull)przelewy24 billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Bancontact PaymentMethod; +/// \param bancontact An object containing additional Bancontact details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for Bancontact PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithBancontact:(STPPaymentMethodBancontactParams * _Nonnull)bancontact billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a NetBanking PaymentMethod; +/// \param netBanking An object containing additional NetBanking details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for Bancontact PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithNetBanking:(STPPaymentMethodNetBankingParams * _Nonnull)netBanking billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an OXXO PaymentMethod; +/// \param oxxo An object containing additional OXXO details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for OXXO PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithOXXO:(STPPaymentMethodOXXOParams * _Nonnull)oxxo billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a GrabPay PaymentMethod; +/// \param grabPay An object containing additional GrabPay details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithGrabPay:(STPPaymentMethodGrabPayParams * _Nonnull)grabPay billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Sofort PaymentMethod; +/// \param sofort An object containing additional Sofort details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name and billingDetails.email are required to save bank details from a Sofort payment. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithSofort:(STPPaymentMethodSofortParams * _Nonnull)sofort billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a UPI PaymentMethod; +/// \param upi An object containing additional UPI details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name and billingDetails.email are required to save bank details from a UPI payment. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithUPI:(STPPaymentMethodUPIParams * _Nonnull)upi billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an Alipay PaymentMethod. +/// \param alipay An object containing additional Alipay details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithAlipay:(STPPaymentMethodAlipayParams * _Nonnull)alipay billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a PayPal PaymentMethod. +/// \param payPal An object containing additional PayPal details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithPayPal:(STPPaymentMethodPayPalParams * _Nonnull)payPal billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an AfterpayClearpay PaymentMethod. +/// \param afterpayClearpay An object containing additional AfterpayClearpay details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithAfterpayClearpay:(STPPaymentMethodAfterpayClearpayParams * _Nonnull)afterpayClearpay billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a BLIK PaymentMethod. +/// \param blik An object containing additional BLIK details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithBLIK:(STPPaymentMethodBLIKParams * _Nonnull)blik billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an Klarna PaymentMethod. +/// \param klarna An object containing additional Klarna details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithKlarna:(STPPaymentMethodKlarnaParams * _Nonnull)klarna billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +@end + + +/// A PayPal Payment Method. :nodoc: +/// seealso: +/// https://stripe.com/docs/payments/paypal +SWIFT_CLASS("_TtC6Stripe22STPPaymentMethodPayPal") +@interface STPPaymentMethodPayPal : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a PayPal Payment Method :nodoc: +SWIFT_CLASS("_TtC6Stripe28STPPaymentMethodPayPalParams") +@interface STPPaymentMethodPayPalParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A Przelewy24 Payment Method. +/// seealso: +/// https://stripe.com/docs/payments/p24 +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodPrzelewy24") +@interface STPPaymentMethodPrzelewy24 : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a Przelewy24 Payment Method +SWIFT_CLASS("_TtC6Stripe32STPPaymentMethodPrzelewy24Params") +@interface STPPaymentMethodPrzelewy24Params : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A SEPA Debit Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-sepa_debit +SWIFT_CLASS("_TtC6Stripe25STPPaymentMethodSEPADebit") +@interface STPPaymentMethodSEPADebit : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// The last 4 digits of the account number. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// The account’s bank code. +@property (nonatomic, readonly, copy) NSString * _Nullable bankCode; +/// The account’s branch code +@property (nonatomic, readonly, copy) NSString * _Nullable branchCode; +/// Two-letter ISO code representing the country of the bank account. +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// The account’s fingerprint. +@property (nonatomic, readonly, copy) NSString * _Nullable fingerprint; +/// The reference of the mandate accepted by your customer. - seealso: https://stripe.com/docs/api/sources/create#create_source-mandate +@property (nonatomic, readonly, copy) NSString * _Nullable mandate; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a SEPA Debit Payment Method +SWIFT_CLASS("_TtC6Stripe31STPPaymentMethodSEPADebitParams") +@interface STPPaymentMethodSEPADebitParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// The IBAN number for the bank account you wish to debit. Required. +@property (nonatomic, copy) NSString * _Nullable iban; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A Sofort Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-Sofort +SWIFT_CLASS("_TtC6Stripe22STPPaymentMethodSofort") +@interface STPPaymentMethodSofort : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// Two-letter ISO code representing the country the bank account is located in. +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a Sofort Payment Method +SWIFT_CLASS("_TtC6Stripe28STPPaymentMethodSofortParams") +@interface STPPaymentMethodSofortParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Two-letter ISO code representing the country the bank account is located in. Required. +@property (nonatomic, copy) NSString * _Nullable country; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// Contains details on how an STPPaymentMethodCard maybe be used for 3D Secure authentication. +SWIFT_CLASS("_TtC6Stripe33STPPaymentMethodThreeDSecureUsage") +@interface STPPaymentMethodThreeDSecureUsage : NSObject +/// YES if 3D Secure is supported on this card. +@property (nonatomic, readonly) BOOL supported; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// The type of the PaymentMethod. +typedef SWIFT_ENUM(NSInteger, STPPaymentMethodType, open) { +/// A card payment method. + STPPaymentMethodTypeCard = 0, +/// An Alipay payment method. + STPPaymentMethodTypeAlipay = 1, +/// A GrabPay payment method. + STPPaymentMethodTypeGrabPay = 2, +/// An iDEAL payment method. + STPPaymentMethodTypeiDEAL SWIFT_COMPILE_NAME("iDEAL") = 3, +/// An FPX payment method. + STPPaymentMethodTypeFPX = 4, +/// A card present payment method. + STPPaymentMethodTypeCardPresent = 5, +/// A SEPA Debit payment method. + STPPaymentMethodTypeSEPADebit SWIFT_COMPILE_NAME("SEPADebit") = 6, +/// An AU BECS Debit payment method. + STPPaymentMethodTypeAUBECSDebit SWIFT_COMPILE_NAME("AUBECSDebit") = 7, +/// A Bacs Debit payment method. + STPPaymentMethodTypeBacsDebit = 8, +/// A giropay payment method. + STPPaymentMethodTypeGiropay = 9, +/// A Przelewy24 Debit payment method. + STPPaymentMethodTypePrzelewy24 = 10, +/// An EPS payment method. + STPPaymentMethodTypeEPS SWIFT_COMPILE_NAME("EPS") = 11, +/// A Bancontact payment method. + STPPaymentMethodTypeBancontact = 12, +/// A NetBanking payment method. + STPPaymentMethodTypeNetBanking = 13, +/// An OXXO payment method. + STPPaymentMethodTypeOXXO SWIFT_COMPILE_NAME("OXXO") = 14, +/// A Sofort payment method. + STPPaymentMethodTypeSofort = 15, +/// A UPI payment method. + STPPaymentMethodTypeUPI = 16, +/// A PayPal payment method. :nodoc: + STPPaymentMethodTypePayPal = 17, +/// An AfterpayClearpay payment method + STPPaymentMethodTypeAfterpayClearpay = 18, +/// A BLIK payment method + STPPaymentMethodTypeBLIK SWIFT_COMPILE_NAME("blik") = 19, +/// A WeChat Pay payment method + STPPaymentMethodTypeWeChatPay = 20, +/// A Boleto payment method. + STPPaymentMethodTypeBoleto = 21, +/// A Link payment method + STPPaymentMethodTypeLink = 22, +/// A Klarna payment method. + STPPaymentMethodTypeKlarna = 23, +/// A Link Instant Debit payment method + STPPaymentMethodTypeLinkInstantDebit = 24, +/// An unknown type. + STPPaymentMethodTypeUnknown = 25, +}; + + +/// A UPI Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-upi +SWIFT_CLASS("_TtC6Stripe19STPPaymentMethodUPI") +@interface STPPaymentMethodUPI : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// Customer’s Virtual Payment Address (VPA). +@property (nonatomic, readonly, copy) NSString * _Nonnull vpa; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a UPI Payment Method +SWIFT_CLASS("_TtC6Stripe25STPPaymentMethodUPIParams") +@interface STPPaymentMethodUPIParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Customer’s Virtual Payment Address (VPA). Required. +@property (nonatomic, copy) NSString * _Nullable vpa; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// An iDEAL Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-ideal +SWIFT_CLASS("_TtC6Stripe21STPPaymentMethodiDEAL") +@interface STPPaymentMethodiDEAL : NSObject +/// The customer’s bank. +@property (nonatomic, readonly, copy) NSString * _Nullable bankName; +/// The Bank Identifier Code of the customer’s bank. +@property (nonatomic, readonly, copy) NSString * _Nullable bankIdentifierCode; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An object representing parameters used to create an iDEAL Payment Method +SWIFT_CLASS("_TtC6Stripe27STPPaymentMethodiDEALParams") +@interface STPPaymentMethodiDEALParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// The customer’s bank. +@property (nonatomic, copy) NSString * _Nullable bankName; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + +/// This view controller presents a list of payment method options to the user, +/// which they can select between. They can also add credit cards to the list. +/// It must be displayed inside a UINavigationController, so you can either +/// create a UINavigationController with an STPPaymentOptionsViewController +/// as the rootViewController and then present the UINavigationController, +/// or push a new STPPaymentOptionsViewController onto an existing +/// UINavigationController’s stack. You can also have STPPaymentContext do this +/// for you automatically, by calling presentPaymentOptionsViewController +/// or pushPaymentOptionsViewController on it. +SWIFT_CLASS("_TtC6Stripe31STPPaymentOptionsViewController") +@interface STPPaymentOptionsViewController : STPCoreViewController +/// Creates a new payment methods view controller. +/// \param paymentContext A payment context to power the view controller’s view. +/// The payment context will in turn use its backend API adapter to fetch the +/// information it needs from your application. +/// +/// +/// returns: +/// an initialized view controller. +- (nonnull instancetype)initWithPaymentContext:(STPPaymentContext * _Nonnull)paymentContext; +/// Initializes a new payment methods view controller without using a +/// payment context. +/// \param configuration The configuration to use to determine what types of +/// payment method to offer your user. - seealso: STPPaymentConfiguration.h +/// +/// \param theme The theme to inform the appearance of the UI. +/// +/// \param customerContext The customer context the view controller will use to +/// fetch and modify its Stripe customer +/// +/// \param delegate A delegate that will be notified when the payment +/// methods view controller’s selection changes. +/// +/// +/// returns: +/// an initialized view controller. +- (nonnull instancetype)initWithConfiguration:(STPPaymentConfiguration * _Nonnull)configuration theme:(STPTheme * _Nonnull)theme customerContext:(STPCustomerContext * _Nonnull)customerContext delegate:(id _Nonnull)delegate; +/// Note: Instead of providing your own backend API adapter, we recommend using +/// STPCustomerContext, which will manage retrieving and updating a +/// Stripe customer for you. - seealso: STPCustomerContext.h +/// Initializes a new payment methods view controller without using +/// a payment context. +/// \param configuration The configuration to use to determine what types of +/// payment method to offer your user. +/// +/// \param theme The theme to inform the appearance of the UI. +/// +/// \param apiAdapter The API adapter to use to retrieve a customer’s stored +/// payment methods and save new ones. +/// +/// \param delegate A delegate that will be notified when the payment methods +/// view controller’s selection changes. +/// +- (nonnull instancetype)initWithConfiguration:(STPPaymentConfiguration * _Nonnull)configuration theme:(STPTheme * _Nonnull)theme apiAdapter:(id _Nonnull)apiAdapter delegate:(id _Nonnull)delegate OBJC_DESIGNATED_INITIALIZER; +/// If you’ve already collected some information from your user, you can set it +/// here and it’ll be automatically filled out when possible/appropriate in any UI +/// that the payment context creates. +@property (nonatomic, strong) STPUserInformation * _Nullable prefilledInformation; +/// @note This is no longer recommended as of v18.3.0 - the SDK automatically saves the Stripe ID of the last selected +/// payment method using NSUserDefaults and displays it as the default pre-selected option. You can override this behavior +/// by setting this property. +/// The Stripe ID of a payment method to display as the default pre-selected option. +/// @note Setting this after the view controller’s view has loaded has no effect. +@property (nonatomic, copy) NSString * _Nullable defaultPaymentMethod; +/// A view that will be placed as the footer of the view controller when it is +/// showing a list of saved payment methods to select from. +/// When the footer view needs to be resized, it will be sent a +/// sizeThatFits: call. The view should respond correctly to this method in order +/// to be sized and positioned properly. +@property (nonatomic, strong) UIView * _Nullable paymentOptionsViewControllerFooterView; +/// A view that will be placed as the footer of the view controller when it is +/// showing the add card view. +/// When the footer view needs to be resized, it will be sent a +/// sizeThatFits: call. The view should respond correctly to this method in order +/// to be sized and positioned properly. +@property (nonatomic, strong) UIView * _Nullable addCardViewControllerFooterView; +/// The STPAPIClient instance to use to make API requests. +/// Defaults to STPAPIClient.shared. +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +/// If you’re pushing STPPaymentOptionsViewController onto an existing +/// UINavigationController‘s stack, you should use this method to dismiss it, +/// since it may have pushed an additional add card view controller onto the +/// navigation controller’s stack. +/// \param completion The callback to run after the view controller is dismissed. +/// You may specify nil for this parameter. +/// +- (void)dismissWithCompletion:(void (^ _Nullable)(void))completion; +/// Use one of the initializers declared in this interface. +- (nonnull instancetype)initWithTheme:(STPTheme * _Nullable)theme OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE_MSG("Use one of the initializers declared in this interface instead."); +/// Use one of the initializers declared in this interface. +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE_MSG("Use one of the initializers declared in this interface instead."); +/// Use one of the initializers declared in this interface. +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE_MSG("Use one of the initializers declared in this interface instead."); +/// :nodoc: +- (void)viewDidLayoutSubviews; +/// :nodoc: +- (void)viewDidAppear:(BOOL)animated; +- (void)addCardViewControllerDidCancel:(STPAddCardViewController * _Nonnull)addCardViewController; +- (void)addCardViewController:(STPAddCardViewController * _Nonnull)addCardViewController didCreatePaymentMethod:(STPPaymentMethod * _Nonnull)paymentMethod completion:(void (^ _Nonnull)(NSError * _Nullable))completion; +@end + + + + +/// When you’re using STPPaymentContext to request your user’s payment details, this is the object that will be returned to your application when they’ve successfully made a payment. +/// See https://stripe.com/docs/mobile/ios/standard#submit-payment-intents. +SWIFT_CLASS("_TtC6Stripe16STPPaymentResult") +@interface STPPaymentResult : NSObject +/// The payment method that the user has selected. This may come from a variety of different payment methods, such as an Apple Pay payment or a stored credit card. - seealso: STPPaymentMethod.h +/// If paymentMethod is nil, paymentMethodParams will be populated instead. +@property (nonatomic, readonly, strong) STPPaymentMethod * _Nullable paymentMethod; +/// The parameters for a payment method that the user has selected. This is +/// populated for non-reusable payment methods, such as FPX and iDEAL. - seealso: STPPaymentMethodParams.h +/// If paymentMethodParams is nil, paymentMethod will be populated instead. +@property (nonatomic, readonly, strong) STPPaymentMethodParams * _Nullable paymentMethodParams; +/// The STPPaymentOption that was used to initialize this STPPaymentResult, either an STPPaymentMethod or an STPPaymentMethodParams. +@property (nonatomic, readonly, weak) id _Nullable paymentOption; +/// Initializes the payment result with a given payment option. This is invoked by STPPaymentContext internally; you shouldn’t have to call it directly. +- (nonnull instancetype)initWithPaymentOption:(id _Nullable)paymentOption OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// An enum representing the status of a payment requested from the user. +typedef SWIFT_ENUM(NSInteger, STPPaymentStatus, open) { +/// The payment succeeded. + STPPaymentStatusSuccess = 0, +/// The payment failed due to an unforeseen error, such as the user’s Internet connection being offline. + STPPaymentStatusError = 1, +/// The user cancelled the payment (for example, by hitting “cancel” in the Apple Pay dialog). + STPPaymentStatusUserCancellation = 2, +}; + +enum STPPinStatus : NSInteger; + +/// STPAPIClient extensions to manage PIN on Stripe Issuing cards +SWIFT_CLASS("_TtC6Stripe23STPPinManagementService") +@interface STPPinManagementService : NSObject +/// The STPAPIClient instance to use to make API requests to Stripe. +/// Defaults to STPAPIClient.shared. +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +/// Create a STPPinManagementService, you must provide an implementation of STPIssuingCardEphemeralKeyProvider +- (nonnull instancetype)initWithKeyProvider:(id _Nonnull)keyProvider OBJC_DESIGNATED_INITIALIZER; +/// Retrieves a PIN number for a given card, +/// this call is asynchronous, implement the completion block to receive the updates +- (void)retrievePin:(NSString * _Nonnull)cardId verificationId:(NSString * _Nonnull)verificationId oneTimeCode:(NSString * _Nonnull)oneTimeCode completion:(void (^ _Nonnull)(STPIssuingCardPin * _Nullable, enum STPPinStatus, NSError * _Nullable))completion; +/// Updates a PIN number for a given card, +/// this call is asynchronous, implement the completion block to receive the updates +- (void)updatePin:(NSString * _Nonnull)cardId newPin:(NSString * _Nonnull)newPin verificationId:(NSString * _Nonnull)verificationId oneTimeCode:(NSString * _Nonnull)oneTimeCode completion:(void (^ _Nonnull)(STPIssuingCardPin * _Nullable, enum STPPinStatus, NSError * _Nullable))completion; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// An enum representing the success and error states of PIN management +typedef SWIFT_ENUM(NSInteger, STPPinStatus, open) { +/// The verification object was already redeemed + STPPinStatusSuccess = 0, +/// The verification object was already redeemed + STPPinStatusErrorVerificationAlreadyRedeemed = 1, +/// The one-time code was incorrect + STPPinStatusErrorVerificationCodeIncorrect = 2, +/// The verification object was expired + STPPinStatusErrorVerificationExpired = 3, +/// The verification object has been attempted too many times + STPPinStatusErrorVerificationTooManyAttempts = 4, +/// An error occured while retrieving the ephemeral key + STPPinStatusEphemeralKeyError = 5, +/// An unknown error occured + STPPinStatusUnknownError = 6, +}; + +@class PKAddPaymentPassViewController; +@class PKAddPaymentPassRequest; + +/// This class makes it easier to implement “Push Provisioning”, the process by which an end-user can add a card to their Apple Pay wallet without having to type their number. This process is mediated by an Apple class called PKAddPaymentPassViewController; this class will help you implement that class’ delegate methods. Note that this flow requires a special entitlement from Apple; for more information please see https://stripe.com/docs/issuing/cards/digital-wallets . +SWIFT_CLASS("_TtC6Stripe26STPPushProvisioningContext") +@interface STPPushProvisioningContext : NSObject +/// The STPAPIClient instance to use to make API requests to Stripe. +/// Defaults to STPAPIClient.shared. +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +/// This is a helper method to generate a PKAddPaymentPassRequestConfiguration that will work with +/// Stripe’s Issuing APIs. Pass the returned configuration object to PKAddPaymentPassViewController’s initWithRequestConfiguration:delegate: initializer. +/// \param name Your cardholder’s name. Example: John Appleseed +/// +/// \param description A localized description of your card’s name. This will appear in Apple’s UI as “{description} will be available in Wallet”. Example: Platinum Rewards Card +/// +/// \param last4 The last 4 of the card to be added to the user’s Apple Pay wallet. Example: 4242 +/// +/// \param brand The brand of the card. Example: STPCardBrandVisa +/// ++ (PKAddPaymentPassRequestConfiguration * _Nonnull)requestConfigurationWithName:(NSString * _Nonnull)name description:(NSString * _Nullable)description last4:(NSString * _Nullable)last4 brand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// In order to retreive the encrypted payload that PKAddPaymentPassViewController expects, the Stripe SDK must talk to the Stripe API. As this requires privileged access, you must write a “key provider” that generates an Ephemeral Key on your backend and provides it to the SDK when requested. For more information, see https://stripe.com/docs/mobile/ios/basic#ephemeral-key +- (nonnull instancetype)initWithKeyProvider:(id _Nonnull)keyProvider OBJC_DESIGNATED_INITIALIZER; +/// This method lines up with the method of the same name on PKAddPaymentPassViewControllerDelegate. You should implement that protocol in your own app, and when that method is called, call this method on your STPPushProvisioningContext. This in turn will first initiate a call to your keyProvider (see above) to obtain an Ephemeral Key, then make a call to the Stripe Issuing API to fetch an encrypted payload for the card in question, then return that payload to iOS. +- (void)addPaymentPassViewController:(PKAddPaymentPassViewController * _Nonnull)controller generateRequestWithCertificateChain:(NSArray * _Nonnull)certificates nonce:(NSData * _Nonnull)nonce nonceSignature:(NSData * _Nonnull)nonceSignature completionHandler:(void (^ _Nonnull)(PKAddPaymentPassRequest * _Nonnull))handler; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// A helper class for turning the raw certificate array, nonce, and nonce signature emitted by PKAddPaymentPassViewController into a format that is understandable by the Stripe API. +/// If you are using STPPushProvisioningContext to implement your integration, you do not need to use this class. +SWIFT_CLASS("_TtC6Stripe32STPPushProvisioningDetailsParams") +@interface STPPushProvisioningDetailsParams : NSObject +/// The Stripe ID of the Issuing card object to retrieve details for. +@property (nonatomic, readonly, copy) NSString * _Nonnull cardId; +/// An array of certificates that should be used to encrypt the card details. +@property (nonatomic, readonly, copy) NSArray * _Nonnull certificates; +/// A nonce that should be used during the encryption of the card details. +@property (nonatomic, readonly, copy) NSData * _Nonnull nonce; +/// A nonce signature that should be used during the encryption of the card details. +@property (nonatomic, readonly, copy) NSData * _Nonnull nonceSignature; +/// Implemented for convenience - the Stripe API expects the certificate chain as an array of base64-encoded strings. +@property (nonatomic, readonly, copy) NSArray * _Nonnull certificatesBase64; +/// Implemented for convenience - the Stripe API expects the nonce as a hex-encoded string. +@property (nonatomic, readonly, copy) NSString * _Nonnull nonceHex; +/// Implemented for convenience - the Stripe API expects the nonce signature as a hex-encoded string. +@property (nonatomic, readonly, copy) NSString * _Nonnull nonceSignatureHex; +/// Instantiates a new params object with the provided attributes. +- (nonnull instancetype)initWithCardId:(NSString * _Nonnull)cardId certificates:(NSArray * _Nonnull)certificates nonce:(NSData * _Nonnull)nonce nonceSignature:(NSData * _Nonnull)nonceSignature OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// A Radar Session. +/// note: +/// This API and the guide linked above require special permissions to use. Contact support@stripe.com if you’re interested. +SWIFT_CLASS("_TtC6Stripe15STPRadarSession") +@interface STPRadarSession : NSObject +/// The Stripe identifier of the RadarSession +@property (nonatomic, readonly, copy) NSString * _Nonnull id; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; ++ (STPRadarSession * _Nullable)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +enum STPRedirectContextState : NSInteger; +@class UIPresentationController; + +/// This is a helper class for handling redirects associated with STPSource and +/// STPPaymentIntents. +/// Init and retain an instance with the Source or PaymentIntent you want to handle, +/// then choose a redirect method. The context will fire the completion handler +/// when the redirect completes. +/// Due to the nature of iOS, very little concrete information can be gained +/// during this process, as all actions take place in either the Safari app +/// or the sandboxed SFSafariViewController class. The context attempts to +/// detect when the user has completed the necessary redirect action by listening +/// for both app foregrounds and url callbacks received in the app delegate. +/// However, it is possible the when the redirect is “completed”, the user may +/// have not actually completed the necessary actions to authorize the charge. +/// You should not use either this class, nor STPAPIClient, as a way +/// to determine when you should charge the Source or to determine if the redirect +/// was successful. Use Stripe webhooks on your backend server to listen for Source +/// state changes and to make the charge. +/// @note You must retain this instance for the duration of the redirect flow. +/// This class dismisses any presented view controller upon deallocation. +/// See https://stripe.com/docs/sources/best-practices +SWIFT_CLASS("_TtC6Stripe18STPRedirectContext") SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable) SWIFT_AVAILABILITY(ios_app_extension,unavailable) +@interface STPRedirectContext : NSObject +/// The domain for NSErrors specific to STPRedirectContext +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull STPRedirectContextErrorDomain;) ++ (NSString * _Nonnull)STPRedirectContextErrorDomain SWIFT_WARN_UNUSED_RESULT; +/// The current state of the context. +@property (nonatomic, readonly) enum STPRedirectContextState state; +/// Initializer for context from an STPSource. +/// @note You must ensure that the returnURL set up in the created source +/// correctly goes to your app so that users can be returned once +/// they complete the redirect in the web broswer. +/// \param source The source that needs user redirect action to be taken. +/// +/// \param completion A block to fire when the action is believed to have +/// been completed. +/// +/// +/// returns: +/// nil if the specified source is not a redirect-flow source. Otherwise +/// a new context object. +/// @note Execution of the completion block does not necessarily mean the user +/// successfully performed the redirect action. You should listen for source status +/// change webhooks on your backend to determine the result of a redirect. +- (nullable instancetype)initWithSource:(STPSource * _Nonnull)source completion:(void (^ _Nonnull)(NSString * _Nonnull, NSString * _Nullable, NSError * _Nullable))completion; +/// Initializer for context from an STPPaymentIntent. +/// This should be used when the status is STPPaymentIntentStatusRequiresAction. +/// If the next action involves a redirect, this init method will return a non-nil object. +/// \param paymentIntent The STPPaymentIntent that needs a redirect. +/// +/// \param completion A block to fire when the action is believed to have +/// been completed. +/// +/// +/// returns: +/// nil if the provided PaymentIntent does not need a redirect. Otherwise +/// a new context object. +/// @note Execution of the completion block does not necessarily mean the user +/// successfully performed the redirect action. +- (nullable instancetype)initWithPaymentIntent:(STPPaymentIntent * _Nonnull)paymentIntent completion:(void (^ _Nonnull)(NSString * _Nonnull, NSError * _Nullable))completion; +/// Starts a redirect flow. +/// You must ensure that your app delegate listens for the returnURL that you +/// set on the Stripe object, and forwards it to the Stripe SDK so that the +/// context can be notified when the redirect is completed and dismiss the +/// view controller. See StripeAPI.handleURLCallback(with url:) +/// The context will listen for both received URLs and app open notifications +/// and fire its completion block when either the URL is received, or the next +/// time the app is foregrounded. +/// The context will initiate the flow by presenting a SFSafariViewController +/// instance from the passsed in view controller. If you want more manual control +/// over the redirect method, you can use startSafariViewControllerRedirectFlowFromViewController +/// or startSafariAppRedirectFlow +/// If the redirect supports a native app, and that app is is installed on the user’s +/// device, this call will do a direct app-to-app redirect instead of showing +/// a web url. +/// @note This method does nothing if the context is not in the +/// STPRedirectContextStateNotStarted state. +/// \param presentingViewController The view controller to present the Safari +/// view controller from. +/// +- (void)startRedirectFlowFromViewController:(UIViewController * _Nonnull)presentingViewController; +/// Starts a redirect flow by presenting an SFSafariViewController in your app +/// from the passed in view controller. +/// You must ensure that your app delegate listens for the returnURL that you +/// set on the Stripe object, and forwards it to the Stripe SDK so that the +/// context can be notified when the redirect is completed and dismiss the +/// view controller. See StripeAPI.handleStripeURLCallback(with url:)] +/// The context will listen for both received URLs and app open notifications +/// and fire its completion block when either the URL is received, or the next +/// time the app is foregrounded. +/// @note This method does nothing if the context is not in the +/// STPRedirectContextStateNotStarted state. +/// \param presentingViewController The view controller to present the Safari +/// view controller from. +/// +- (void)startSafariViewControllerRedirectFlowFromViewController:(UIViewController * _Nonnull)presentingViewController; +/// Starts a redirect flow by calling openURL to bounce the user out to +/// the Safari app. +/// The context will listen for app open notifications and fire its completion +/// block the next time the user re-opens the app (either manually or via url) +/// @note This method does nothing if the context is not in the +/// STPRedirectContextStateNotStarted state. +- (void)startSafariAppRedirectFlow; +/// Dismisses any presented views and stops listening for any +/// app opens or callbacks. The completion block will not be fired. +- (void)cancel; +/// :nodoc: +- (void)safariViewControllerDidFinish:(SFSafariViewController * _Nonnull)controller; +/// :nodoc: +- (void)safariViewController:(SFSafariViewController * _Nonnull)controller didCompleteInitialLoad:(BOOL)didLoadSuccessfully; +/// :nodoc: +- (void)safariViewController:(SFSafariViewController * _Nonnull)controller initialLoadDidRedirectToURL:(NSURL * _Nonnull)URL; +/// :nodoc: +- (UIPresentationController * _Nullable)presentationControllerForPresentedViewController:(UIViewController * _Nonnull)presented presentingViewController:(UIViewController * _Nullable)presenting sourceViewController:(UIViewController * _Nonnull)source SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable) SWIFT_AVAILABILITY(ios_app_extension,unavailable) +@interface STPRedirectContext (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (BOOL)handleURLCallback:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; +@end + +/// Error codes specific to STPRedirectContext +typedef SWIFT_ENUM(NSInteger, STPRedirectContextError, open) { +/// STPRedirectContext failed to redirect to the app to complete the payment. +/// This could be because the app is not installed on the user’s device. + STPRedirectContextAppRedirectError SWIFT_COMPILE_NAME("appRedirectError") = 0, +}; + +/// Possible states for the redirect context to be in +typedef SWIFT_ENUM(NSInteger, STPRedirectContextState, open) { +/// Initialized, but redirect not started. + STPRedirectContextStateNotStarted = 0, +/// Redirect is in progress. + STPRedirectContextStateInProgress = 1, +/// Redirect has been cancelled programmatically before completing. + STPRedirectContextStateCancelled = 2, +/// Redirect has completed. + STPRedirectContextStateCompleted = 3, +}; + +enum STPSetupIntentStatus : NSInteger; +enum STPSetupIntentUsage : NSInteger; +@class STPSetupIntentLastSetupError; + +/// A SetupIntent guides you through the process of setting up a customer’s payment credentials for future payments. +/// seealso: +/// https://stripe.com/docs/api/setup_intents +SWIFT_CLASS("_TtC6Stripe14STPSetupIntent") +@interface STPSetupIntent : NSObject +/// The Stripe ID of the SetupIntent. +@property (nonatomic, readonly, copy) NSString * _Nonnull stripeID; +/// The client secret of this SetupIntent. Used for client-side retrieval using a publishable key. +@property (nonatomic, readonly, copy) NSString * _Nonnull clientSecret; +/// Time at which the object was created. +@property (nonatomic, readonly, copy) NSDate * _Nonnull created; +/// ID of the Customer this SetupIntent belongs to, if one exists. +@property (nonatomic, readonly, copy) NSString * _Nullable customerID; +/// An arbitrary string attached to the object. Often useful for displaying to users. +@property (nonatomic, readonly, copy) NSString * _Nullable stripeDescription; +/// Has the value YES if the object exists in live mode or the value NO if the object exists in test mode. +@property (nonatomic, readonly) BOOL livemode; +/// If present, this property tells you what actions you need to take in order for your customer to set up this payment method. +@property (nonatomic, readonly, strong) STPIntentAction * _Nullable nextAction; +/// ID of the payment method used with this SetupIntent. +@property (nonatomic, readonly, copy) NSString * _Nullable paymentMethodID; +/// The list of payment method types (e.g. [STPPaymentMethodType.card]) that this SetupIntent is allowed to set up. +@property (nonatomic, readonly, copy) NSArray * _Nonnull paymentMethodTypes; +/// Status of this SetupIntent. +@property (nonatomic, readonly) enum STPSetupIntentStatus status; +/// Indicates how the payment method is intended to be used in the future. +@property (nonatomic, readonly) enum STPSetupIntentUsage usage; +/// The setup error encountered in the previous SetupIntent confirmation. +@property (nonatomic, readonly, strong) STPSetupIntentLastSetupError * _Nullable lastSetupError; +/// Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. +/// @deprecated Metadata is not returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead. +/// seealso: +/// https://stripe.com/docs/api#metadata +@property (nonatomic, readonly, copy) NSDictionary * _Nullable metadata SWIFT_DEPRECATED_MSG("Metadata is not returned to clients using publishable keys. Retrieve them on your server using your secret key instead."); +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters to confirm a SetupIntent object. +/// For example, you would confirm a SetupIntent when a customer hits the “Save” button on a payment method management view in your app. +/// If the selected payment method does not require any additional steps from the customer, the SetupIntent’s status will transition to STPSetupIntentStatusSucceeded. Otherwise, it will transition to STPSetupIntentStatusRequiresAction, and suggest additional actions via nextAction. +/// Instead of passing this to STPAPIClient.confirmSetupIntent(...) directly, we recommend using STPPaymentHandler to handle any additional steps for you. +/// seealso: +/// https://stripe.com/docs/api/setup_intents/confirm +SWIFT_CLASS("_TtC6Stripe27STPSetupIntentConfirmParams") +@interface STPSetupIntentConfirmParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initialize this STPSetupIntentConfirmParams with a clientSecret. +/// \param clientSecret the client secret for this SetupIntent +/// +- (nonnull instancetype)initWithClientSecret:(NSString * _Nonnull)clientSecret OBJC_DESIGNATED_INITIALIZER; +/// The client secret of the SetupIntent. Required. +@property (nonatomic, copy) NSString * _Nonnull clientSecret; +/// Provide a supported STPPaymentMethodParams object, and Stripe will create a +/// PaymentMethod during PaymentIntent confirmation. +/// @note alternative to paymentMethodId +@property (nonatomic, strong) STPPaymentMethodParams * _Nullable paymentMethodParams; +/// Provide an already created PaymentMethod’s id, and it will be used to confirm the SetupIntent. +/// @note alternative to paymentMethodParams +@property (nonatomic, copy) NSString * _Nullable paymentMethodID; +/// The URL to redirect your customer back to after they authenticate or cancel +/// their payment on the payment method’s app or site. +/// This should probably be a URL that opens your iOS app. +@property (nonatomic, copy) NSString * _Nullable returnURL; +/// A boolean number to indicate whether you intend to use the Stripe SDK’s functionality to handle any SetupIntent next actions. +/// If set to false, STPSetupIntent.nextAction will only ever contain a redirect url that can be opened in a webview or mobile browser. +/// When set to true, the nextAction may contain information that the Stripe SDK can use to perform native authentication within your +/// app. +@property (nonatomic, strong) NSNumber * _Nullable useStripeSDK; +/// Details about the Mandate to create. +/// @note If this value is null and the (self.paymentMethod.type == STPPaymentMethodTypeSEPADebit | | self.paymentMethodParams.type == STPPaymentMethodTypeAUBECSDebit || self.paymentMethodParams.type == STPPaymentMethodTypeBacsDebit) && self.mandate == nil, the SDK will set this to an internal value indicating that the mandate data should be inferred from the current context. +@property (nonatomic, strong) STPMandateDataParams * _Nullable mandateData; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +@end + +enum STPSetupIntentLastSetupErrorType : NSUInteger; + +/// A value for code indicating the provided payment method failed authentication./// The error encountered in the previous SetupIntent confirmation. +/// seealso: +/// https://stripe.com/docs/api/setup_intents/object#setup_intent_object-last_setup_error +SWIFT_CLASS("_TtC6Stripe28STPSetupIntentLastSetupError") +@interface STPSetupIntentLastSetupError : NSObject +/// For some errors that could be handled programmatically, a short string indicating the error code reported. +/// seealso: +/// https://stripe.com/docs/error-codes +@property (nonatomic, readonly, copy) NSString * _Nullable code; +/// For card (STPSetupIntentLastSetupErrorTypeCard) errors resulting from a card issuer decline, +/// a short string indicating the card issuer’s reason for the decline if they provide one. +/// seealso: +/// https://stripe.com/docs/declines#issuer-declines +@property (nonatomic, readonly, copy) NSString * _Nullable declineCode; +/// A URL to more information about the error code reported. +/// seealso: +/// https://stripe.com/docs/error-codes +@property (nonatomic, readonly, copy) NSString * _Nullable docURL; +/// A human-readable message providing more details about the error. +/// For card (STPSetupIntentLastSetupErrorTypeCard) errors, these messages can be shown to your users. +@property (nonatomic, readonly, copy) NSString * _Nullable message; +/// If the error is parameter-specific, the parameter related to the error. +/// For example, you can use this to display a message near the correct form field. +@property (nonatomic, readonly, copy) NSString * _Nullable param; +/// The PaymentMethod object for errors returned on a request involving a PaymentMethod. +@property (nonatomic, readonly, strong) STPPaymentMethod * _Nullable paymentMethod; +/// The type of error. +@property (nonatomic, readonly) enum STPSetupIntentLastSetupErrorType type; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface STPSetupIntentLastSetupError (SWIFT_EXTENSION(Stripe)) +/// A possible value for the error property. The provided payment method has failed authentication. Provide a new payment method to attempt to fulfill this SetupIntent again. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull CodeAuthenticationFailure;) ++ (NSString * _Nonnull)CodeAuthenticationFailure SWIFT_WARN_UNUSED_RESULT; +@end + +/// The type of the error represented by STPSetupIntentLastSetupError. +/// Some STPSetupIntentLastError properties are only populated for certain error types. +typedef SWIFT_ENUM(NSUInteger, STPSetupIntentLastSetupErrorType, open) { +/// An unknown error type. + STPSetupIntentLastSetupErrorTypeUnknown = 0, +/// An error connecting to Stripe’s API. + STPSetupIntentLastSetupErrorTypeAPIConnection SWIFT_COMPILE_NAME("apiConnection") = 1, +/// An error with the Stripe API. + STPSetupIntentLastSetupErrorTypeAPI = 2, +/// A failure to authenticate your customer. + STPSetupIntentLastSetupErrorTypeAuthentication = 3, +/// Card errors are the most common type of error you should expect to handle. +/// They result when the user enters a card that can’t be charged for some reason. +/// Check the declineCode property for the decline code. The message property contains a message you can show to your users. + STPSetupIntentLastSetupErrorTypeCard = 4, +/// Keys for idempotent requests can only be used with the same parameters they were first used with. + STPSetupIntentLastSetupErrorTypeIdempotency = 5, +/// Invalid request errors. Typically, this is because your request has invalid parameters. + STPSetupIntentLastSetupErrorTypeInvalidRequest = 6, +/// Too many requests hit the API too quickly. + STPSetupIntentLastSetupErrorTypeRateLimit = 7, +}; + +/// Status types for an STPSetupIntent +typedef SWIFT_ENUM(NSInteger, STPSetupIntentStatus, open) { +/// Unknown status + STPSetupIntentStatusUnknown = 0, +/// This SetupIntent requires a PaymentMethod + STPSetupIntentStatusRequiresPaymentMethod = 1, +/// This SetupIntent needs to be confirmed + STPSetupIntentStatusRequiresConfirmation = 2, +/// The selected PaymentMethod requires additional authentication steps. +/// Additional actions found via the nextAction property of STPSetupIntent + STPSetupIntentStatusRequiresAction = 3, +/// Stripe is processing this SetupIntent + STPSetupIntentStatusProcessing = 4, +/// The SetupIntent has succeeded + STPSetupIntentStatusSucceeded = 5, +/// This SetupIntent was canceled and cannot be changed. + STPSetupIntentStatusCanceled = 6, +}; + +/// Indicates how the payment method is intended to be used in the future. +/// seealso: +/// https://stripe.com/docs/api/setup_intents/create#create_setup_intent-usage +typedef SWIFT_ENUM(NSInteger, STPSetupIntentUsage, open) { +/// Unknown value. Update your SDK, or use allResponseFields for custom handling. + STPSetupIntentUsageUnknown = 0, +/// No value was provided. + STPSetupIntentUsageNone = 1, +/// Indicates you intend to only reuse the payment method when the customer is in your checkout flow. + STPSetupIntentUsageOnSession = 2, +/// Indicates you intend to reuse the payment method when the customer may or may not be in your checkout flow. + STPSetupIntentUsageOffSession = 3, +}; + + +/// This view controller contains a shipping address collection form. It renders a right bar button item that submits the form, so it must be shown inside a UINavigationController. Depending on your configuration’s shippingType, the view controller may present a shipping method selection form after the user enters an address. +SWIFT_CLASS("_TtC6Stripe32STPShippingAddressViewController") +@interface STPShippingAddressViewController : STPCoreTableViewController +/// A convenience initializer; equivalent to calling init(configuration: STPPaymentConfiguration.shared theme: STPTheme.defaultTheme currency:"" shippingAddress:nil selectedShippingMethod:nil prefilledInformation:nil). +- (nonnull instancetype)init; +/// Initializes a new STPShippingAddressViewController with the given payment context and sets the payment context as its delegate. +/// \param paymentContext The payment context to use. +/// +- (nonnull instancetype)initWithPaymentContext:(STPPaymentContext * _Nonnull)paymentContext; +/// Initializes a new STPShippingAddressCardViewController with the provided parameters. +/// \param configuration The configuration to use (this determines the required shipping address fields and shipping type). - seealso: STPPaymentConfiguration +/// +/// \param theme The theme to use to inform the view controller’s visual appearance. - seealso: STPTheme +/// +/// \param currency The currency to use when displaying amounts for shipping methods. The default is USD. +/// +/// \param shippingAddress If set, the shipping address view controller will be pre-filled with this address. - seealso: STPAddress +/// +/// \param selectedShippingMethod If set, the shipping methods view controller will use this method as the selected shipping method. If selectedShippingMethod is nil, the first shipping method in the array of methods returned by your delegate will be selected. +/// +/// \param prefilledInformation If set, the shipping address view controller will be pre-filled with this information. - seealso: STPUserInformation +/// +- (nonnull instancetype)initWithConfiguration:(STPPaymentConfiguration * _Nonnull)configuration theme:(STPTheme * _Nonnull)theme currency:(NSString * _Nullable)currency shippingAddress:(STPAddress * _Nullable)shippingAddress selectedShippingMethod:(PKShippingMethod * _Nullable)selectedShippingMethod prefilledInformation:(STPUserInformation * _Nullable)prefilledInformation OBJC_DESIGNATED_INITIALIZER; +/// The view controller’s delegate. This must be set before showing the view controller in order for it to work properly. - seealso: STPShippingAddressViewControllerDelegate +@property (nonatomic, weak) id _Nullable delegate; +/// If you’re pushing STPShippingAddressViewController onto an existing UINavigationController‘s stack, you should use this method to dismiss it, since it may have pushed an additional shipping method view controller onto the navigation controller’s stack. +/// \param completion The callback to run after the view controller is dismissed. You may specify nil for this parameter. +/// +- (void)dismissWithCompletion:(void (^ _Nullable)(void))completion; +/// Use one of the initializers declared in this interface. +- (nonnull instancetype)initWithTheme:(STPTheme * _Nullable)theme OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE_MSG("Use one of the initializers declared in this interface instead."); +/// Use one of the initializers declared in this interface. +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE_MSG("Use one of the initializers declared in this interface instead."); +/// Use one of the initializers declared in this interface. +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE; +/// :nodoc: +- (void)viewDidAppear:(BOOL)animated; +/// :nodoc: +- (CGFloat)tableView:(UITableView * _Nonnull)tableView heightForHeaderInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +@end + + + +@interface STPShippingAddressViewController (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (NSInteger)numberOfSectionsInTableView:(UITableView * _Nonnull)tableView SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (NSInteger)tableView:(UITableView * _Nonnull)tableView numberOfRowsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (UITableViewCell * _Nonnull)tableView:(UITableView * _Nonnull)tableView cellForRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)tableView:(UITableView * _Nonnull)tableView willDisplayCell:(UITableViewCell * _Nonnull)cell forRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath; +/// :nodoc: +- (CGFloat)tableView:(UITableView * _Nonnull)tableView heightForFooterInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (UIView * _Nullable)tableView:(UITableView * _Nonnull)tableView viewForFooterInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (UIView * _Nullable)tableView:(UITableView * _Nonnull)tableView viewForHeaderInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An enum representing the status of a shipping address validation. +typedef SWIFT_ENUM(NSInteger, STPShippingStatus, open) { +/// The shipping address is valid. + STPShippingStatusValid = 0, +/// The shipping address is invalid. + STPShippingStatusInvalid = 1, +}; + +/// These values control the labels used in the shipping info collection form. +typedef SWIFT_ENUM(NSInteger, STPShippingType, open) { +/// Shipping the purchase to the provided address using a third-party +/// shipping company. + STPShippingTypeShipping = 0, +/// Delivering the purchase by the seller. + STPShippingTypeDelivery = 1, +}; + +enum STPSourceFlow : NSInteger; +@class STPSourceOwner; +@class STPSourceReceiver; +@class STPSourceRedirect; +enum STPSourceStatus : NSInteger; +enum STPSourceType : NSInteger; +enum STPSourceUsage : NSInteger; +@class STPSourceVerification; +@class STPSourceCardDetails; +@class STPSourceKlarnaDetails; +@class STPSourceSEPADebitDetails; +@class STPSourceWeChatPayDetails; + +/// Representation of a customer’s payment instrument created with the Stripe API. - seealso: https://stripe.com/docs/api#sources +SWIFT_CLASS("_TtC6Stripe9STPSource") +@interface STPSource : NSObject +/// You cannot directly instantiate an STPSource. You should only use one that +/// has been returned from an STPAPIClient callback. +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// The amount associated with the source. +@property (nonatomic, readonly, strong) NSNumber * _Nullable amount; +/// The client secret of the source. Used for client-side fetching of a source +/// using a publishable key. +@property (nonatomic, readonly, copy) NSString * _Nullable clientSecret; +/// When the source was created. +@property (nonatomic, readonly, copy) NSDate * _Nullable created; +/// The currency associated with the source. +@property (nonatomic, readonly, copy) NSString * _Nullable currency; +/// The authentication flow of the source. +@property (nonatomic, readonly) enum STPSourceFlow flow; +/// Whether or not this source was created in livemode. +@property (nonatomic, readonly) BOOL livemode; +/// Information about the owner of the payment instrument. +@property (nonatomic, readonly, strong) STPSourceOwner * _Nullable owner; +/// Information related to the receiver flow. Present if the source’s flow +/// is receiver. +@property (nonatomic, readonly, strong) STPSourceReceiver * _Nullable receiver; +/// Information related to the redirect flow. Present if the source’s flow +/// is redirect. +@property (nonatomic, readonly, strong) STPSourceRedirect * _Nullable redirect; +/// The status of the source. +@property (nonatomic, readonly) enum STPSourceStatus status; +/// The type of the source. +@property (nonatomic, readonly) enum STPSourceType type; +/// Whether this source should be reusable or not. +@property (nonatomic, readonly) enum STPSourceUsage usage; +/// Information related to the verification flow. Present if the source’s flow +/// is verification. +@property (nonatomic, readonly, strong) STPSourceVerification * _Nullable verification; +/// Information about the source specific to its type +@property (nonatomic, readonly, copy) NSDictionary * _Nullable details; +/// If this is a card source, this property provides typed access to the +/// contents of the details dictionary. +@property (nonatomic, readonly, strong) STPSourceCardDetails * _Nullable cardDetails; +/// If this is a Klarna source, this property provides typed access to the +/// contents of the details dictionary. +@property (nonatomic, readonly, strong) STPSourceKlarnaDetails * _Nullable klarnaDetails; +/// If this is a SEPA Debit source, this property provides typed access to the +/// contents of the details dictionary. +@property (nonatomic, readonly, strong) STPSourceSEPADebitDetails * _Nullable sepaDebitDetails; +/// If this is a WeChat Pay source, this property provides typed access to the +/// contents of the details dictionary. +@property (nonatomic, readonly, strong) STPSourceWeChatPayDetails * _Nullable weChatPayDetails; +/// A set of key/value pairs associated with the source object. +/// @deprecated Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead. +/// seealso: +/// https://stripe.com/docs/api#metadata +@property (nonatomic, readonly, copy) NSDictionary * _Nullable metadata SWIFT_DEPRECATED_MSG("Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead."); +@property (nonatomic, copy) NSString * _Nonnull stripeID; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) NSUInteger hash; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, strong) UIImage * _Nonnull image; +@property (nonatomic, readonly, strong) UIImage * _Nonnull templateImage; +@property (nonatomic, readonly, copy) NSString * _Nonnull label; +@property (nonatomic, readonly) BOOL isReusable; +@end + +/// The status of this card’s 3D Secure support. +/// seealso: +/// https://stripe.com/docs/sources/three-d-secure#check-requirement +typedef SWIFT_ENUM(NSInteger, STPSourceCard3DSecureStatus, open) { +/// 3D Secure is required. This card must be converted into a 3D Secure +/// source for a charge on it to be successful. + STPSourceCard3DSecureStatusRequired = 0, +/// 3D Secure is optional. It is not required nor recommended for successful charging, +/// but can be performed to help reduce the likelihood of fraud. + STPSourceCard3DSecureStatusOptional = 1, +/// 3D Secure is not supported on this card. + STPSourceCard3DSecureStatusNotSupported = 2, +/// 3D Secure is recommended. The process is not required, but it is highly recommended +/// and has minimal impact to your conversion rate. + STPSourceCard3DSecureStatusRecommended = 3, +/// The status of 3D Secure support on this card is unknown. + STPSourceCard3DSecureStatusUnknown = 4, +}; + + +/// This class provides typed access to the contents of an STPSource details +/// dictionary for card sources. +SWIFT_CLASS("_TtC6Stripe20STPSourceCardDetails") +@interface STPSourceCardDetails : NSObject +/// The last 4 digits of the card. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// The card’s expiration month. 1-indexed (i.e. 1 == January) +@property (nonatomic, readonly) NSUInteger expMonth; +/// The card’s expiration year. +@property (nonatomic, readonly) NSUInteger expYear; +/// The issuer of the card. +@property (nonatomic, readonly) enum STPCardBrand brand; +/// The funding source for the card (credit, debit, prepaid, or other) +@property (nonatomic, readonly) enum STPCardFundingType funding; +/// Two-letter ISO code representing the issuing country of the card. +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// Whether 3D Secure is supported or required by the card. +@property (nonatomic, readonly) enum STPSourceCard3DSecureStatus threeDSecure; +/// True if this card was created through Apple Pay, false otherwise. +@property (nonatomic, readonly) BOOL isApplePayCard; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// Authentication flows for a Source +typedef SWIFT_ENUM(NSInteger, STPSourceFlow, open) { +/// No action is required from your customer. +/// @note WeChat Pay Sources also have this flow type. + STPSourceFlowNone = 0, +/// Your customer must be redirected to their online banking service (either a website or mobile banking app) to approve the payment. + STPSourceFlowRedirect = 1, +/// Your customer must verify ownership of their account by providing a code that you post to the Stripe API for authentication. + STPSourceFlowCodeVerification = 2, +/// Your customer must push funds to the account information provided. + STPSourceFlowReceiver = 3, +/// The source’s flow is unknown. + STPSourceFlowUnknown = 4, +}; + + +/// Details of a Klarna source. +SWIFT_CLASS("_TtC6Stripe22STPSourceKlarnaDetails") +@interface STPSourceKlarnaDetails : NSObject +/// The Klarna-specific client token. This may be used with the Klarna SDK. +/// seealso: +/// https://developers.klarna.com/documentation/in-app/ios/steps-klarna-payments-native/#initialization +@property (nonatomic, readonly, copy) NSString * _Nullable clientToken; +/// The ISO-3166 2-letter country code of the customer’s location. +@property (nonatomic, readonly, copy) NSString * _Nullable purchaseCountry; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Information about a source’s owner. +SWIFT_CLASS("_TtC6Stripe14STPSourceOwner") +@interface STPSourceOwner : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// Owner’s address. +@property (nonatomic, readonly, strong) STPAddress * _Nullable address; +/// Owner’s email address. +@property (nonatomic, readonly, copy) NSString * _Nullable email; +/// Owner’s full name. +@property (nonatomic, readonly, copy) NSString * _Nullable name; +/// Owner’s phone number. +@property (nonatomic, readonly, copy) NSString * _Nullable phone; +/// Verified owner’s address. +@property (nonatomic, readonly, strong) STPAddress * _Nullable verifiedAddress; +/// Verified owner’s email address. +@property (nonatomic, readonly, copy) NSString * _Nullable verifiedEmail; +/// Verified owner’s full name. +@property (nonatomic, readonly, copy) NSString * _Nullable verifiedName; +/// Verified owner’s phone number. +@property (nonatomic, readonly, copy) NSString * _Nullable verifiedPhone; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An object representing parameters used to create a Source object. +/// seealso: +/// https://stripe.com/docs/api#create_source +SWIFT_CLASS("_TtC6Stripe15STPSourceParams") +@interface STPSourceParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// The type of the source to create. Required. +@property (nonatomic) enum STPSourceType type; +/// The raw underlying type string sent to the server. +/// Generally you should use type instead unless you have a reason not to. +/// You can use this if you want to create a param of a type not yet supported +/// by the current version of the SDK’s STPSourceType enum. +/// Setting this to a value not known by the SDK causes type to +/// return STPSourceTypeUnknown +@property (nonatomic, copy) NSString * _Nullable rawTypeString; +/// A positive integer in the smallest currency unit representing the +/// amount to charge the customer (e.g., @1099 for a €10.99 payment). +/// Required for single_use sources. +@property (nonatomic, strong) NSNumber * _Nullable amount; +/// The currency associated with the source. This is the currency for which the source +/// will be chargeable once ready. +@property (nonatomic, copy) NSString * _Nullable currency; +/// The authentication flow of the source to create. flow may be “redirect”, +/// “receiver”, “verification”, or “none”. It is generally inferred unless a type +/// supports multiple flows. +@property (nonatomic) enum STPSourceFlow flow; +/// A set of key/value pairs that you can attach to a source object. +@property (nonatomic, copy) NSDictionary * _Nullable metadata; +/// Information about the owner of the payment instrument. May be used or required +/// by particular source types. +@property (nonatomic, copy) NSDictionary * _Nullable owner; +/// Parameters required for the redirect flow. Required if the source is +/// authenticated by a redirect (flow is “redirect”). +@property (nonatomic, copy) NSDictionary * _Nullable redirect; +/// An optional token used to create the source. When passed, token properties will +/// override source parameters. +@property (nonatomic, copy) NSString * _Nullable token; +/// Whether this source should be reusable or not. usage may be “reusable” or +/// “single_use”. Some source types may or may not be reusable by construction, +/// while other may leave the option at creation. +@property (nonatomic) enum STPSourceUsage usage; +/// Initializes an empty STPSourceParams. +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPSourceParams (SWIFT_EXTENSION(Stripe)) +/// Creates params for a Bancontact source. +/// seealso: +/// https://stripe.com/docs/bancontact#create-source +/// \param amount The amount to charge the customer in EUR. +/// +/// \param name The full name of the account holder. +/// +/// \param returnURL The URL the customer should be redirected to after +/// they have successfully verified the payment. +/// +/// \param statementDescriptor (Optional) A custom statement descriptor for +/// the payment. +/// @note The currency for Bancontact must be “eur”. This will be set automatically +/// for you. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)bancontactParamsWithAmount:(NSInteger)amount name:(NSString * _Nonnull)name returnURL:(NSString * _Nonnull)returnURL statementDescriptor:(NSString * _Nullable)statementDescriptor SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Card source. +/// seealso: +/// https://stripe.com/docs/sources/cards#create-source +/// \param card An object containing the user’s card details +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided card details. ++ (STPSourceParams * _Nonnull)cardParamsWithCard:(STPCardParams * _Nonnull)card SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Giropay source. +/// seealso: +/// https://stripe.com/docs/sources/giropay#create-source +/// \param amount The amount to charge the customer in EUR. +/// +/// \param name The full name of the account holder. +/// +/// \param returnURL The URL the customer should be redirected to after +/// they have successfully verified the payment. +/// +/// \param statementDescriptor (Optional) A custom statement descriptor for +/// the payment. +/// @note The currency for Giropay must be “eur”. This will be set automatically +/// for you. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)giropayParamsWithAmount:(NSInteger)amount name:(NSString * _Nonnull)name returnURL:(NSString * _Nonnull)returnURL statementDescriptor:(NSString * _Nullable)statementDescriptor SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an iDEAL source. +/// seealso: +/// https://stripe.com/docs/sources/ideal#create-source +/// \param amount The amount to charge the customer in EUR. +/// +/// \param name (Optional) The full name of the account holder. +/// +/// \param returnURL The URL the customer should be redirected to after +/// they have successfully verified the payment. +/// +/// \param statementDescriptor (Optional) A custom statement descriptor for t +/// he payment. +/// +/// \param bank (Optional) The customer’s bank. +/// @note The currency for iDEAL must be “eur”. This will be set automatically +/// for you. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)idealParamsWithAmount:(NSInteger)amount name:(NSString * _Nullable)name returnURL:(NSString * _Nonnull)returnURL statementDescriptor:(NSString * _Nullable)statementDescriptor bank:(NSString * _Nullable)bank SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a SEPA Debit source. +/// seealso: +/// https://stripe.com/docs/sources/sepa-debit#create-source +/// \param name The full name of the account holder. +/// +/// \param iban The IBAN number for the bank account you wish to debit. +/// +/// \param addressLine1 (Optional) The bank account holder’s first address line. +/// +/// \param city (Optional) The bank account holder’s city. +/// +/// \param postalCode (Optional) The bank account holder’s postal code. +/// +/// \param country (Optional) The bank account holder’s two-letter +/// country code. +/// @note The currency for SEPA Debit must be “eur”. This will be set automatically +/// for you. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)sepaDebitParamsWithName:(NSString * _Nonnull)name iban:(NSString * _Nonnull)iban addressLine1:(NSString * _Nullable)addressLine1 city:(NSString * _Nullable)city postalCode:(NSString * _Nullable)postalCode country:(NSString * _Nullable)country SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Sofort source. +/// seealso: +/// https://stripe.com/docs/sources/sofort#create-source +/// \param amount The amount to charge the customer in EUR. +/// +/// \param returnURL The URL the customer should be redirected to after +/// they have successfully verified the payment. +/// +/// \param country The country code of the customer’s bank. +/// +/// \param statementDescriptor (Optional) A custom statement descriptor for +/// the payment. +/// @note The currency for Sofort must be “eur”. This will be set automatically +/// for you. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)sofortParamsWithAmount:(NSInteger)amount returnURL:(NSString * _Nonnull)returnURL country:(NSString * _Nonnull)country statementDescriptor:(NSString * _Nullable)statementDescriptor SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Klarna source. +/// seealso: +/// https://stripe.com/docs/sources/klarna#create-source +/// \param returnURL The URL the customer should be redirected to after +/// they have successfully verified the payment. +/// +/// \param currency The currency the payment is being created in. +/// +/// \param purchaseCountry The ISO-3166 2-letter country code of the customer’s location. +/// +/// \param items An array of STPKlarnaLineItems. Klarna will present these on the confirmation +/// page. The total amount charged will be a sum of the totalAmount of each of these items. +/// +/// \param customPaymentMethods Required for customers located in the US. This determines whether Pay Later and/or Slice It +/// is offered to a US customer. +/// +/// \param address An STPAddress for the customer. At a minimum, an email, line1, postalCode, city, and country must be provided. +/// The address’ name will be ignored in favor of the firstName and lastName` parameters. +/// +/// \param firstName The customer’s first name. +/// +/// \param lastName The customer’s last name. +/// If the provided information is missing a line1, postal code, city, email, or first/last name, or if the country code is +/// outside the specified country, no address information will be sent to Klarna, and Klarna will prompt the customer to provide their address. +/// +/// \param dateOfBirth The customer’s date of birth. This will be used by Klarna for a credit check in some EU countries. +/// The optional fields (address, firstName, lastName, and dateOfBirth) can be provided to skip Klarna’s customer information form. +/// If this information is missing, Klarna will prompt the customer for these values during checkout. +/// Be careful with this option: If the provided information is invalid, +/// Klarna may reject the transaction without giving the customer a chance to correct it. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)klarnaParamsWithReturnURL:(NSString * _Nonnull)returnURL currency:(NSString * _Nonnull)currency purchaseCountry:(NSString * _Nonnull)purchaseCountry items:(NSArray * _Nonnull)items customPaymentMethods:(NSArray * _Nonnull)customPaymentMethods billingAddress:(STPAddress * _Nullable)address billingFirstName:(NSString * _Nullable)firstName billingLastName:(NSString * _Nullable)lastName billingDOB:(STPDateOfBirth * _Nullable)dateOfBirth SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Klarna source. +/// seealso: +/// https://stripe.com/docs/sources/klarna#create-source +/// \param returnURL The URL the customer should be redirected to after +/// they have successfully verified the payment. +/// +/// \param currency The currency the payment is being created in. +/// +/// \param purchaseCountry The ISO-3166 2-letter country code of the customer’s location. +/// +/// \param items An array of STPKlarnaLineItems. Klarna will present these in the confirmation +/// dialog. The total amount charged will be a sum of the totalAmount of each of these items. +/// +/// \param customPaymentMethods Required for customers located in the US. This determines whether Pay Later and/or Slice It +/// is offered to a US customer. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)klarnaParamsWithReturnURL:(NSString * _Nonnull)returnURL currency:(NSString * _Nonnull)currency purchaseCountry:(NSString * _Nonnull)purchaseCountry items:(NSArray * _Nonnull)items customPaymentMethods:(NSArray * _Nonnull)customPaymentMethods SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a 3DS source. +/// seealso: +/// https://stripe.com/docs/sources/three-d-secure#create-3ds-source +/// \param amount The amount to charge the customer. +/// +/// \param currency The currency the payment is being created in. +/// +/// \param returnURL The URL the customer should be redirected to after they have +/// successfully verified the payment. +/// +/// \param card The ID of the card source. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided card details. ++ (STPSourceParams * _Nonnull)threeDSecureParamsWithAmount:(NSInteger)amount currency:(NSString * _Nonnull)currency returnURL:(NSString * _Nonnull)returnURL card:(NSString * _Nonnull)card SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a single-use Alipay source +/// seealso: +/// https://stripe.com/docs/sources/alipay#create-source +/// \param amount The amount to charge the customer. +/// +/// \param currency The currency the payment is being created in. +/// +/// \param returnURL The URL the customer should be redirected to after they have +/// successfully verified the payment. +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values ++ (STPSourceParams * _Nonnull)alipayParamsWithAmount:(NSInteger)amount currency:(NSString * _Nonnull)currency returnURL:(NSString * _Nonnull)returnURL SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a reusable Alipay source +/// seealso: +/// https://stripe.com/docs/sources/alipay#create-source +/// \param currency The currency the payment is being created in. +/// +/// \param returnURL The URL the customer should be redirected to after they have +/// successfully verified the payment. +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values ++ (STPSourceParams * _Nonnull)alipayReusableParamsWithCurrency:(NSString * _Nonnull)currency returnURL:(NSString * _Nonnull)returnURL SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a P24 source +/// seealso: +/// https://stripe.com/docs/sources/p24#create-source +/// \param amount The amount to charge the customer. +/// +/// \param currency The currency the payment is being created in (this must be +/// EUR or PLN) +/// +/// \param email The email address of the account holder. +/// +/// \param name The full name of the account holder (optional). +/// +/// \param returnURL The URL the customer should be redirected to after they have +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)p24ParamsWithAmount:(NSInteger)amount currency:(NSString * _Nonnull)currency email:(NSString * _Nonnull)email name:(NSString * _Nullable)name returnURL:(NSString * _Nonnull)returnURL SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a card source created from Visa Checkout. +/// seealso: +/// https://stripe.com/docs/visa-checkout +/// @note Creating an STPSource with these params will give you a +/// source with type == STPSourceTypeCard +/// \param callId The callId property from a VisaCheckoutResult object. +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)visaCheckoutParamsWithCallId:(NSString * _Nonnull)callId SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a card source created from Masterpass. +/// seealso: +/// https://stripe.com/docs/masterpass +/// @note Creating an STPSource with these params will give you a +/// source with type == STPSourceTypeCard +/// \param cartId The cartId from a MCCCheckoutResponse object. +/// +/// \param transactionId The transactionid from a MCCCheckoutResponse object. +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)masterpassParamsWithCartId:(NSString * _Nonnull)cartId transactionId:(NSString * _Nonnull)transactionId SWIFT_WARN_UNUSED_RESULT; +/// Create params for an EPS source +/// seealso: +/// https://stripe.com/docs/sources/eps +/// \param amount The amount to charge the customer. +/// +/// \param name The full name of the account holder. +/// +/// \param returnURL The URL the customer should be redirected to +/// after the authorization process. +/// +/// \param statementDescriptor A custom statement descriptor for the +/// payment (optional). +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)epsParamsWithAmount:(NSInteger)amount name:(NSString * _Nonnull)name returnURL:(NSString * _Nonnull)returnURL statementDescriptor:(NSString * _Nullable)statementDescriptor SWIFT_WARN_UNUSED_RESULT; +/// Create params for a Multibanco source +/// seealso: +/// https://stripe.com/docs/sources/multibanco +/// \param amount The amount to charge the customer. +/// +/// \param returnURL The URL the customer should be redirected to after the +/// authorization process. +/// +/// \param email The full email address of the customer. +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)multibancoParamsWithAmount:(NSInteger)amount returnURL:(NSString * _Nonnull)returnURL email:(NSString * _Nonnull)email SWIFT_WARN_UNUSED_RESULT; +/// Create params for a WeChat Pay native app redirect source +/// @note This feature is in private beta. For participating users, see +/// https://stripe.com/docs/sources/wechat-pay/ios +/// \param amount The amount to charge the customer. +/// +/// \param currency The currency of the payment +/// +/// \param appId Your WeChat-provided application id. WeChat Pay uses +/// this as the redirect URL scheme +/// +/// \param statementDescriptor A custom statement descriptor for the payment (optional). +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)wechatPayParamsWithAmount:(NSInteger)amount currency:(NSString * _Nonnull)currency appId:(NSString * _Nonnull)appId statementDescriptor:(NSString * _Nullable)statementDescriptor SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// Private setter allows for setting the name of the app in the returnURL so +/// that it can be displayed on hooks.stripe.com if the automatic redirect back +/// to the app fails. +/// We intercept the reading of redirect dictionary from STPFormEncoder and replace +/// the value of return_url if necessary +- (NSDictionary * _Nonnull)redirectDictionaryWithMerchantNameIfNecessary SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +@end + + + +/// Information related to a source’s receiver flow. +SWIFT_CLASS("_TtC6Stripe17STPSourceReceiver") +@interface STPSourceReceiver : NSObject +/// The address of the receiver source. This is the value that should be communicated to the customer to send their funds to. +@property (nonatomic, readonly, copy) NSString * _Nullable address; +/// The total amount charged by you. +@property (nonatomic, readonly, strong) NSNumber * _Nullable amountCharged; +/// The total amount received by the receiver source. +@property (nonatomic, readonly, strong) NSNumber * _Nullable amountReceived; +/// The total amount that was returned to the customer. +@property (nonatomic, readonly, strong) NSNumber * _Nullable amountReturned; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +enum STPSourceRedirectStatus : NSInteger; + +/// Information related to a source’s redirect flow. +SWIFT_CLASS("_TtC6Stripe17STPSourceRedirect") +@interface STPSourceRedirect : NSObject +/// The URL you provide to redirect the customer to after they authenticated their payment. +@property (nonatomic, readonly, copy) NSURL * _Nonnull returnURL; +/// The status of the redirect. +@property (nonatomic, readonly) enum STPSourceRedirectStatus status; +/// The URL provided to you to redirect a customer to as part of a redirect authentication flow. +@property (nonatomic, readonly, copy) NSURL * _Nonnull url; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// Redirect status types for a Source. +typedef SWIFT_ENUM(NSInteger, STPSourceRedirectStatus, open) { +/// The redirect is pending. + STPSourceRedirectStatusPending = 0, +/// The redirect has succeeded. + STPSourceRedirectStatusSucceeded = 1, +/// The redirect has failed. + STPSourceRedirectStatusFailed = 2, +/// The redirect should not be used. + STPSourceRedirectStatusNotRequired = 3, +/// The state of the redirect is unknown. + STPSourceRedirectStatusUnknown = 4, +}; + + +/// This class provides typed access to the contents of an STPSource details +/// dictionary for SEPA Debit sources. +SWIFT_CLASS("_TtC6Stripe25STPSourceSEPADebitDetails") +@interface STPSourceSEPADebitDetails : NSObject +/// You cannot directly instantiate an STPSourceSEPADebitDetails. +/// You should only use one that is part of an existing STPSource object. +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// The last 4 digits of the account number. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// The account’s bank code. +@property (nonatomic, readonly, copy) NSString * _Nullable bankCode; +/// Two-letter ISO code representing the country of the bank account. +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// The account’s fingerprint. +@property (nonatomic, readonly, copy) NSString * _Nullable fingerprint; +/// The reference of the mandate accepted by your customer. +@property (nonatomic, readonly, copy) NSString * _Nullable mandateReference; +/// The details of the mandate accepted by your customer. +@property (nonatomic, readonly, copy) NSURL * _Nullable mandateURL; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// Status types for a Source +typedef SWIFT_ENUM(NSInteger, STPSourceStatus, open) { +/// The source has been created and is awaiting customer action. + STPSourceStatusPending = 0, +/// The source is ready to use. The customer action has been completed or the +/// payment method requires no customer action. + STPSourceStatusChargeable = 1, +/// The source has been used. This status only applies to single-use sources. + STPSourceStatusConsumed = 2, +/// The source, which was chargeable, has expired because it was not used to +/// make a charge request within a specified amount of time. + STPSourceStatusCanceled = 3, +/// Your customer has not taken the required action or revoked your access +/// (e.g., did not authorize the payment with their bank or canceled their +/// mandate acceptance for SEPA direct debits). + STPSourceStatusFailed = 4, +/// The source status is unknown. + STPSourceStatusUnknown = 5, +}; + +/// Types for a Source +/// seealso: +/// https://stripe.com/docs/sources +typedef SWIFT_ENUM(NSInteger, STPSourceType, open) { +/// A Bancontact source. - seealso: https://stripe.com/docs/sources/bancontact + STPSourceTypeBancontact = 0, +/// A card source. - seealso: https://stripe.com/docs/sources/cards + STPSourceTypeCard = 1, +/// A Giropay source. - seealso: https://stripe.com/docs/sources/giropay + STPSourceTypeGiropay = 2, +/// An iDEAL source. - seealso: https://stripe.com/docs/sources/ideal + STPSourceTypeiDEAL SWIFT_COMPILE_NAME("iDEAL") = 3, +/// A SEPA Direct Debit source. - seealso: https://stripe.com/docs/sources/sepa-debit + STPSourceTypeSEPADebit = 4, +/// A Sofort source. - seealso: https://stripe.com/docs/sources/sofort + STPSourceTypeSofort = 5, +/// A 3DS card source. - seealso: https://stripe.com/docs/sources/three-d-secure + STPSourceTypeThreeDSecure = 6, +/// An Alipay source. - seealso: https://stripe.com/docs/sources/alipay + STPSourceTypeAlipay = 7, +/// A P24 source. - seealso: https://stripe.com/docs/sources/p24 + STPSourceTypeP24 = 8, +/// An EPS source. - seealso: https://stripe.com/docs/sources/eps + STPSourceTypeEPS = 9, +/// A Multibanco source. - seealso: https://stripe.com/docs/sources/multibanco + STPSourceTypeMultibanco = 10, +/// A WeChat Pay source. - seealso: https://stripe.com/docs/sources/wechat-pay + STPSourceTypeWeChatPay = 11, +/// A Klarna source. - seealso: https://stripe.com/docs/sources/klarna + STPSourceTypeKlarna = 12, +/// An unknown type of source. + STPSourceTypeUnknown = 13, +}; + +/// Usage types for a Source +typedef SWIFT_ENUM(NSInteger, STPSourceUsage, open) { +/// The source can be reused. + STPSourceUsageReusable = 0, +/// The source can only be used once. + STPSourceUsageSingleUse = 1, +/// The source’s usage is unknown. + STPSourceUsageUnknown = 2, +}; + +enum STPSourceVerificationStatus : NSInteger; + +/// Information related to a source’s verification flow. +SWIFT_CLASS("_TtC6Stripe21STPSourceVerification") +@interface STPSourceVerification : NSObject +/// The number of attempts remaining to authenticate the source object with a +/// verification code. +@property (nonatomic, readonly, strong) NSNumber * _Nullable attemptsRemaining; +/// The status of the verification. +@property (nonatomic, readonly) enum STPSourceVerificationStatus status; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// Verification status types for a Source. +typedef SWIFT_ENUM(NSInteger, STPSourceVerificationStatus, open) { +/// The verification is pending. + STPSourceVerificationStatusPending = 0, +/// The verification has succeeeded. + STPSourceVerificationStatusSucceeded = 1, +/// The verification has failed. + STPSourceVerificationStatusFailed = 2, +/// The state of the verification is unknown. + STPSourceVerificationStatusUnknown = 3, +}; + + +/// Details of a WeChat Pay Source. +SWIFT_CLASS("_TtC6Stripe25STPSourceWeChatPayDetails") +@interface STPSourceWeChatPayDetails : NSObject +/// A URL to the WeChat App. +/// Use STPRedirectContext instead of redirecting users yourself. +@property (nonatomic, readonly, copy) NSString * _Nullable weChatAppURL; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// :nodoc: +SWIFT_CLASS("_TtC6Stripe22STPStringFromCardBrand") SWIFT_DEPRECATED_MSG("STPStringFromCardBrand has been replaced with STPCardBrandUtilities.stringFrom(brand)") +@interface STPStringFromCardBrand : NSObject +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// STPTheme objects can be used to visually style Stripe-provided UI. See https://stripe.com/docs/mobile/ios/standard#theming for more information. +SWIFT_CLASS("_TtC6Stripe8STPTheme") +@interface STPTheme : NSObject +/// The default theme used by all Stripe UI. All themable UI classes, such as STPAddCardViewController, have one initializer that takes a theme and one that does not. If you use the one that does not, the default theme will be used to customize that view controller’s appearance. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPTheme * _Nonnull defaultTheme;) ++ (STPTheme * _Nonnull)defaultTheme SWIFT_WARN_UNUSED_RESULT; +/// The primary background color of the theme. This will be used as the backgroundColor for any views with this theme. +@property (nonatomic, strong) UIColor * _Nonnull primaryBackgroundColor; +/// The secondary background color of this theme. This will be used as the backgroundColor for any supplemental views inside a view with this theme - for example, a UITableView will set it’s cells’ background color to this value. +@property (nonatomic, strong) UIColor * _Nonnull secondaryBackgroundColor; +/// This color is automatically derived by reducing the alpha of the primaryBackgroundColor and is used as a section border color in table view cells. +@property (nonatomic, readonly, strong) UIColor * _Nonnull tertiaryBackgroundColor; +/// This color is automatically derived by reducing the brightness of the primaryBackgroundColor and is used as a separator color in table view cells. +@property (nonatomic, readonly, strong) UIColor * _Nonnull quaternaryBackgroundColor; +/// The primary foreground color of this theme. This will be used as the text color for any important labels in a view with this theme (such as the text color for a text field that the user needs to fill out). +@property (nonatomic, strong) UIColor * _Nonnull primaryForegroundColor; +/// The secondary foreground color of this theme. This will be used as the text color for any supplementary labels in a view with this theme (such as the placeholder color for a text field that the user needs to fill out). +@property (nonatomic, strong) UIColor * _Nonnull secondaryForegroundColor; +/// This color is automatically derived from the secondaryForegroundColor with a lower alpha component, used for disabled text. +@property (nonatomic, readonly, strong) UIColor * _Nonnull tertiaryForegroundColor; +/// The accent color of this theme - it will be used for any buttons and other elements on a view that are important to highlight. +@property (nonatomic, strong) UIColor * _Nonnull accentColor; +/// The error color of this theme - it will be used for rendering any error messages or views. +@property (nonatomic, strong) UIColor * _Nonnull errorColor; +/// The font to be used for all views using this theme. Make sure to select an appropriate size. +@property (nonatomic, strong) UIFont * _Nonnull font; +/// The medium-weight font to be used for all bold text in views using this theme. Make sure to select an appropriate size. +@property (nonatomic, strong) UIFont * _Nonnull emphasisFont; +/// The navigation bar style to use for any view controllers presented modally +/// by the SDK. The default value will be determined based on the brightness +/// of the theme’s secondaryBackgroundColor. +@property (nonatomic) UIBarStyle barStyle; +/// A Boolean value indicating whether the navigation bar for any view controllers +/// presented modally by the SDK should be translucent. The default value is YES. +@property (nonatomic) BOOL translucentNavigationBar; +/// This font is automatically derived from the font, with a slightly lower point size, and will be used for supplementary labels. +@property (nonatomic, readonly, strong) UIFont * _Nonnull smallFont; +/// This font is automatically derived from the font, with a larger point size, and will be used for large labels such as SMS code entry. +@property (nonatomic, readonly, strong) UIFont * _Nonnull largeFont; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPTheme (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +@end + +enum STPThreeDSCustomizationButtonType : NSInteger; +enum STPThreeDSButtonTitleStyle : NSInteger; + +/// A customization object to use to configure the UI of a button. +SWIFT_CLASS("_TtC6Stripe29STPThreeDSButtonCustomization") +@interface STPThreeDSButtonCustomization : NSObject +/// The default settings for the provided button type. ++ (STPThreeDSButtonCustomization * _Nonnull)defaultSettingsForButtonType:(enum STPThreeDSCustomizationButtonType)type SWIFT_WARN_UNUSED_RESULT; +/// Initializes an instance of STDSButtonCustomization with the given backgroundColor and colorRadius. +- (nonnull instancetype)initWithBackgroundColor:(UIColor * _Nonnull)backgroundColor cornerRadius:(CGFloat)cornerRadius OBJC_DESIGNATED_INITIALIZER; +/// The background color of the button. +/// The default for .resend and .cancel is clear. +/// The default for .submit, .continue, and .next is blue. +@property (nonatomic, strong) UIColor * _Nonnull backgroundColor; +/// The corner radius of the button. Defaults to 8. +@property (nonatomic) CGFloat cornerRadius; +/// The capitalization style of the button title. +@property (nonatomic) enum STPThreeDSButtonTitleStyle titleStyle; +/// The font of the title. +@property (nonatomic, strong) UIFont * _Nullable font; +/// The text color of the title. +@property (nonatomic, strong) UIColor * _Nullable textColor; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// An enumeration of the case transformations that can be applied to the button’s title +typedef SWIFT_ENUM(NSInteger, STPThreeDSButtonTitleStyle, open) { +/// Default style, doesn’t modify the title + STPThreeDSButtonTitleStyleDefault = 0, +/// Applies localizedUppercaseString to the title + STPThreeDSButtonTitleStyleUppercase = 1, +/// Applies localizedLowercaseString to the title + STPThreeDSButtonTitleStyleLowercase = 2, +/// Applies localizedCapitalizedString to the title + STPThreeDSButtonTitleStyleSentenceCapitalized = 3, +}; + +/// An enum that defines the different types of buttons that are able to be customized. +typedef SWIFT_ENUM(NSInteger, STPThreeDSCustomizationButtonType, open) { +/// The submit button type. + STPThreeDSCustomizationButtonTypeSubmit = 0, +/// The continue button type. + STPThreeDSCustomizationButtonTypeContinue = 1, +/// The next button type. + STPThreeDSCustomizationButtonTypeNext = 2, +/// The cancel button type. + STPThreeDSCustomizationButtonTypeCancel = 3, +/// The resend button type. + STPThreeDSCustomizationButtonTypeResend = 4, +}; + +@class STPThreeDSUICustomization; + +/// STPThreeDSCustomizationSettings provides customization options for 3DS2 authentication flows in your app. +SWIFT_CLASS("_TtC6Stripe31STPThreeDSCustomizationSettings") +@interface STPThreeDSCustomizationSettings : NSObject +/// Returns an STPThreeDSCustomizationSettings preconfigured with the default +/// Stripe UI settings and a 10 minute authenticationTimeout. +/// @deprecated Use STPThreeDSCustomizationSettings() instead. The default settings are the same. ++ (STPThreeDSCustomizationSettings * _Nonnull)defaultSettings SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("Use STPThreeDSCustomizationSettings() instead of STPThreeDSCustomizationSettings.defaultSettings()."); +/// uiCustomization can be used to provide custom UI settings for the authentication +/// challenge screens presented during a Three Domain Secure authentication. For more information see +/// our guide on supporting 3DS2 in your iOS application. +/// Note: It’s important to configure this object appropriately before calling any STPPaymentHandler APIs. +/// The API makes a copy of the customization settings you provide; it ignores any subsequent changes you +/// make to your STPThreeDSUICustomization instance. +/// Defaults to STPThreeDSUICustomization.defaultSettings(). +@property (nonatomic, strong) STPThreeDSUICustomization * _Nonnull uiCustomization; +/// authenticationTimeout is the total time allowed for a user to complete a 3DS2 authentication +/// interaction, in minutes. This value must be at least 5 minutes. +/// Defaults to 10 minutes. +@property (nonatomic) NSInteger authenticationTimeout; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// The Challenge view displays a footer with additional details that +/// expand when tapped. This object configures the appearance of that view. +SWIFT_CLASS("_TtC6Stripe29STPThreeDSFooterCustomization") +@interface STPThreeDSFooterCustomization : NSObject +/// The default settings. ++ (STPThreeDSFooterCustomization * _Nonnull)defaultSettings SWIFT_WARN_UNUSED_RESULT; +/// The background color of the footer. +/// Defaults to gray. +@property (nonatomic, strong) UIColor * _Nonnull backgroundColor; +/// The color of the chevron. Defaults to a dark gray. +@property (nonatomic, strong) UIColor * _Nonnull chevronColor; +/// The color of the heading text. Defaults to black. +@property (nonatomic, strong) UIColor * _Nonnull headingTextColor; +/// The font to use for the heading text. +@property (nonatomic, strong) UIFont * _Nonnull headingFont; +/// The font of the text. +@property (nonatomic, strong) UIFont * _Nullable font; +/// The color of the text. +@property (nonatomic, strong) UIColor * _Nullable textColor; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A customization object to use to configure the UI of a text label. +SWIFT_CLASS("_TtC6Stripe28STPThreeDSLabelCustomization") +@interface STPThreeDSLabelCustomization : NSObject +/// The default settings. ++ (STPThreeDSLabelCustomization * _Nonnull)defaultSettings SWIFT_WARN_UNUSED_RESULT; +/// The font to use for heading text. +@property (nonatomic, strong) UIFont * _Nonnull headingFont; +/// The color of heading text. Defaults to black. +@property (nonatomic, strong) UIColor * _Nonnull headingTextColor; +/// The font to use for non-heading text. +@property (nonatomic, strong) UIFont * _Nullable font; +/// The color to use for non-heading text. Defaults to black. +@property (nonatomic, strong) UIColor * _Nullable textColor; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A customization object to use to configure a UINavigationBar. +SWIFT_CLASS("_TtC6Stripe36STPThreeDSNavigationBarCustomization") +@interface STPThreeDSNavigationBarCustomization : NSObject +/// The default settings. ++ (STPThreeDSNavigationBarCustomization * _Nonnull)defaultSettings SWIFT_WARN_UNUSED_RESULT; +/// The tint color of the navigation bar background. +/// Defaults to nil. +@property (nonatomic, strong) UIColor * _Nullable barTintColor; +/// The navigation bar style. +/// Defaults to UIBarStyleDefault. +/// @note This property controls the UIStatusBarStyle. Set this to UIBarStyleBlack +/// to change the statusBarStyle to UIStatusBarStyleLightContent - even if you also set +/// barTintColor to change the actual color of the navigation bar. +@property (nonatomic) UIBarStyle barStyle; +/// A Boolean value indicating whether the navigation bar is translucent or not. +/// Defaults to YES. +@property (nonatomic) BOOL translucent; +/// The text to display in the title of the navigation bar. +/// Defaults to “Secure checkout”. +@property (nonatomic, copy) NSString * _Nonnull headerText; +/// The text to display for the button in the navigation bar. +/// Defaults to “Cancel”. +@property (nonatomic, copy) NSString * _Nonnull buttonText; +/// The font to use for the title. Defaults to nil. +@property (nonatomic, strong) UIFont * _Nullable font; +/// The color to use for the title. Defaults to nil. +@property (nonatomic, strong) UIColor * _Nullable textColor; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A customization object that configures the appearance of +/// radio buttons and checkboxes. +SWIFT_CLASS("_TtC6Stripe32STPThreeDSSelectionCustomization") +@interface STPThreeDSSelectionCustomization : NSObject +/// The default settings. ++ (STPThreeDSSelectionCustomization * _Nonnull)defaultSettings SWIFT_WARN_UNUSED_RESULT; +/// The primary color of the selected state. +/// Defaults to blue. +@property (nonatomic, strong) UIColor * _Nonnull primarySelectedColor; +/// The secondary color of the selected state (e.g. the checkmark color). +/// Defaults to white. +@property (nonatomic, strong) UIColor * _Nonnull secondarySelectedColor; +/// The background color displayed in the unselected state. +/// Defaults to light blue. +@property (nonatomic, strong) UIColor * _Nonnull unselectedBackgroundColor; +/// The color of the border drawn around the view in the unselected state. +/// Defaults to blue. +@property (nonatomic, strong) UIColor * _Nonnull unselectedBorderColor; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A customization object to use to configure the UI of a text field. +SWIFT_CLASS("_TtC6Stripe32STPThreeDSTextFieldCustomization") +@interface STPThreeDSTextFieldCustomization : NSObject +/// The default settings. ++ (STPThreeDSTextFieldCustomization * _Nonnull)defaultSettings SWIFT_WARN_UNUSED_RESULT; +/// The border width of the text field. Defaults to 2. +@property (nonatomic) CGFloat borderWidth; +/// The color of the border of the text field. Defaults to clear. +@property (nonatomic, strong) UIColor * _Nonnull borderColor; +/// The corner radius of the edges of the text field. Defaults to 8. +@property (nonatomic) CGFloat cornerRadius; +/// The appearance of the keyboard. Defaults to UIKeyboardAppearanceDefault. +@property (nonatomic) UIKeyboardAppearance keyboardAppearance; +/// The color of the placeholder text. Defaults to light gray. +@property (nonatomic, strong) UIColor * _Nonnull placeholderTextColor; +/// The font to use for text. +@property (nonatomic, strong) UIFont * _Nullable font; +/// The color to use for the text. Defaults to black. +@property (nonatomic, strong) UIColor * _Nullable textColor; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// The STPThreeDSUICustomization provides configuration for UI elements displayed during 3D Secure authentication. +/// Note: It’s important to configure this object appropriately before calling any STPPaymentHandler APIs. +/// The API makes a copy of the customization settings you provide; it ignores any subsequent changes you +/// make to your STPThreeDSUICustomization instance. +/// seealso: +/// https://stripe.com/docs/mobile/ios/authentication +SWIFT_CLASS("_TtC6Stripe25STPThreeDSUICustomization") +@interface STPThreeDSUICustomization : NSObject +/// The default settings. See individual properties for their default values. ++ (STPThreeDSUICustomization * _Nonnull)defaultSettings SWIFT_WARN_UNUSED_RESULT; +/// Provides custom settings for the UINavigationBar of all UIViewControllers displayed during 3D Secure authentication. +/// The default is STPThreeDSNavigationBarCustomization.defaultSettings(). +@property (nonatomic, strong) STPThreeDSNavigationBarCustomization * _Nonnull navigationBarCustomization; +/// Provides custom settings for labels. +/// The default is STPThreeDSLabelCustomization.defaultSettings(). +@property (nonatomic, strong) STPThreeDSLabelCustomization * _Nonnull labelCustomization; +/// Provides custom settings for text fields. +/// The default is STPThreeDSTextFieldCustomization.defaultSettings(). +@property (nonatomic, strong) STPThreeDSTextFieldCustomization * _Nonnull textFieldCustomization; +/// The primary background color of all UIViewControllers displayed during 3D Secure authentication. +/// Defaults to white. +@property (nonatomic, strong) UIColor * _Nonnull backgroundColor; +/// Provides custom settings for the footer the challenge view can display containing additional details. +/// The default is STPThreeDSFooterCustomization.defaultSettings(). +@property (nonatomic, strong) STPThreeDSFooterCustomization * _Nonnull footerCustomization; +/// Sets a given button customization for the specified type. +/// \param buttonCustomization The buttom customization to use. +/// +/// \param buttonType The type of button to use the customization for. +/// +- (void)setButtonCustomization:(STPThreeDSButtonCustomization * _Nonnull)buttonCustomization forType:(enum STPThreeDSCustomizationButtonType)buttonType; +/// Retrieves a button customization object for the given button type. +/// seealso: +/// STPThreeDSButtonCustomization +/// \param buttonType The button type to retrieve a customization object for. +/// +/// +/// returns: +/// A button customization object, or the default if none was set. +- (STPThreeDSButtonCustomization * _Nonnull)buttonCustomizationForButtonType:(enum STPThreeDSCustomizationButtonType)buttonType SWIFT_WARN_UNUSED_RESULT; +/// Provides custom settings for radio buttons and checkboxes. +/// The default is STPThreeDSSelectionCustomization.defaultSettings(). +@property (nonatomic, strong) STPThreeDSSelectionCustomization * _Nonnull selectionCustomization; +/// The style of UIActivityIndicatorViews displayed. +/// This should contrast with backgroundColor. Defaults to gray. +@property (nonatomic) UIActivityIndicatorViewStyle activityIndicatorViewStyle; +/// The style of the UIBlurEffect displayed underneath the UIActivityIndicatorView. +/// Defaults to UIBlurEffectStyleLight. +@property (nonatomic) UIBlurEffectStyle blurStyle; +/// :nodoc: +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +enum STPTokenType : NSInteger; + +/// A token returned from submitting payment details to the Stripe API. You should not have to instantiate one of these directly. +SWIFT_CLASS("_TtC6Stripe8STPToken") +@interface STPToken : NSObject +/// You cannot directly instantiate an STPToken. You should only use one that has been returned from an STPAPIClient callback. +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// The value of the token. You can store this value on your server and use it to make charges and customers. +/// seealso: +/// https://stripe.com/docs/charges +@property (nonatomic, readonly, copy) NSString * _Nonnull tokenId; +/// Whether or not this token was created in livemode. Will be YES if you used your Live Publishable Key, and NO if you used your Test Publishable Key. +@property (nonatomic, readonly) BOOL livemode; +/// The type of this token. +@property (nonatomic, readonly) enum STPTokenType type; +/// The credit card details that were used to create the token. Will only be set if the token was created via a credit card or Apple Pay, otherwise it will be +/// nil. +@property (nonatomic, readonly, strong) STPCard * _Nullable card; +/// The bank account details that were used to create the token. Will only be set if the token was created with a bank account, otherwise it will be nil. +@property (nonatomic, readonly, strong) STPBankAccount * _Nullable bankAccount; +/// When the token was created. +@property (nonatomic, readonly, copy) NSDate * _Nullable created; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull debugDescription; +/// :nodoc: +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) NSUInteger hash; +@property (nonatomic, readonly, copy) NSString * _Nonnull stripeID; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// Possible Token types +typedef SWIFT_ENUM(NSInteger, STPTokenType, open) { +/// Account token type + STPTokenTypeAccount = 0, +/// Bank account token type + STPTokenTypeBankAccount = 1, +/// Card token type + STPTokenTypeCard = 2, +/// PII token type + STPTokenTypePII = 3, +/// CVC update token type + STPTokenTypeCvcUpdate = 4, +}; + + +/// You can use this class to specify information that you’ve already collected +/// from your user. You can then set the prefilledInformation property on +/// STPPaymentContext, STPAddCardViewController, etc and it will pre-fill +/// this information whenever possible. +SWIFT_CLASS("_TtC6Stripe18STPUserInformation") +@interface STPUserInformation : NSObject +/// The user’s billing address. When set, the add card form will be filled with +/// this address. The user will also have the option to fill their shipping address +/// using this address. +/// @note Set this using setBillingAddressWithBillingDetails: to use the billing +/// details from an STPPaymentMethod or STPPaymentMethodParams instance. +@property (nonatomic, strong) STPAddress * _Nullable billingAddress; +/// The user’s shipping address. When set, the shipping address form will be filled +/// with this address. The user will also have the option to fill their billing +/// address using this address. +@property (nonatomic, strong) STPAddress * _Nullable shippingAddress; +/// A convenience method to populate billingAddress with a PaymentMethod’s billing details. +/// @note Calling this overwrites the value of billingAddress. +- (void)setBillingAddressWithBillingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails; +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + + + + + + + +@interface UINavigationBar (SWIFT_EXTENSION(Stripe)) +/// Sets the navigation bar’s appearance to the desired theme. This will affect the +/// bar’s tintColor and barTintColor properties, as well as the color of the +/// single-pixel line at the bottom of the navbar. +/// \param theme the theme to use to style the navigation bar. - seealso: STPTheme.h +/// @deprecated Use the stp_theme property instead +/// +- (void)stp_setTheme:(STPTheme * _Nonnull)theme SWIFT_DEPRECATED_MSG("Use the `stp_theme` property instead"); +/// Sets the navigation bar’s appearance to the desired theme. This will affect the bar’s tintColor and barTintColor properties, as well as the color of the single-pixel line at the bottom of the navbar. +/// Stripe view controllers will use their navigation bar’s theme for their UIBarButtonItems instead of their own theme if it is not nil. +/// seealso: +/// STPTheme.h +@property (nonatomic, strong) STPTheme * _Nullable stp_theme; +@end + + + + + + + + + + + + + + + + + + +@class PKPaymentRequest; +@protocol STPApplePayContextDelegate; +@class UIWindow; + +/// An Objective-C bridge for STPApplePayContext. +/// :nodoc: +SWIFT_CLASS_NAMED("_stpobjc_APContext") +@interface STPApplePayContext : NSObject +/// Initializes this class. +/// @note This may return nil if the request is invalid e.g. the user is restricted by parental controls, or can’t make payments on any of the request’s supported networks +/// \param paymentRequest The payment request to use with Apple Pay. +/// +/// \param delegate The delegate. +/// +- (nullable instancetype)initWithPaymentRequest:(PKPaymentRequest * _Nonnull)paymentRequest delegate:(id _Nullable)delegate OBJC_DESIGNATED_INITIALIZER; +/// Presents the Apple Pay sheet from the specified view controller, starting the payment process. +/// @note This method should only be called once; create a new instance of STPApplePayContext every time you present Apple Pay. +/// @deprecated A presenting UIViewController is no longer needed. Use presentApplePay(completion:) instead. +/// \param viewController The UIViewController instance to present the Apple Pay sheet on +/// +/// \param completion Called after the Apple Pay sheet is presented +/// +- (void)presentApplePayOnViewController:(UIViewController * _Nonnull)viewController completion:(void (^ _Nullable)(void))completion SWIFT_DEPRECATED_MSG("Use `presentApplePay(completion:)` instead.", "presentApplePayWithCompletion:"); +/// Presents the Apple Pay sheet from the key window, starting the payment process. +/// @note This method should only be called once; create a new instance of STPApplePayContext every time you present Apple Pay. +/// \param completion Called after the Apple Pay sheet is presented +/// +- (void)presentApplePayWithCompletion:(void (^ _Nullable)(void))completion SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable,message="Use `presentApplePay(from:completion:)` in App Extensions.") SWIFT_AVAILABILITY(ios_app_extension,unavailable,message="Use `presentApplePay(from:completion:)` in App Extensions."); +/// Presents the Apple Pay sheet from the specified window, starting the payment process. +/// @note This method should only be called once; create a new instance of STPApplePayContext every time you present Apple Pay. +/// \param window The UIWindow to host the Apple Pay sheet +/// +/// \param completion Called after the Apple Pay sheet is presented +/// +- (void)presentApplePayFromWindow:(UIWindow * _Nullable)window withCompletion:(void (^ _Nullable)(void))completion; +/// The STPAPIClient instance to use to make API requests to Stripe. +/// Defaults to STPAPIClient.shared. +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@class PKPaymentRequestShippingMethodUpdate; +@class PKPaymentRequestShippingContactUpdate; + +/// Implement the required methods of this delegate to supply a PaymentIntent to STPApplePayContext and be notified of the completion of the Apple Pay payment. +/// You may also implement the optional delegate methods to handle shipping methods and shipping address changes e.g. to verify you can ship to the address, or update the payment amount. +/// :nodoc: +SWIFT_PROTOCOL_NAMED("_stpobjc_APContextDelegate") +@protocol STPApplePayContextDelegate +/// Called after the customer has authorized Apple Pay. Implement this method to call the completion block with the client secret of a PaymentIntent or SetupIntent. +/// \param paymentMethod The PaymentMethod that represents the customer’s Apple Pay payment method. +/// If you create the PaymentIntent with confirmation_method=manual, pass paymentMethod.stripeId as the payment_method and confirm=true. Otherwise, you can ignore this parameter. +/// +/// \param paymentInformation The underlying PKPayment created by Apple Pay. +/// If you create the PaymentIntent with confirmation_method=manual, you can collect shipping information using its shippingContact and shippingMethod properties. +/// +/// \param completion Call this with the PaymentIntent or SetupIntent client secret, or the error that occurred creating the PaymentIntent or SetupIntent. +/// +- (void)applePayContext:(STPApplePayContext * _Nonnull)context didCreatePaymentMethod:(STPPaymentMethod * _Nonnull)paymentMethod paymentInformation:(PKPayment * _Nonnull)paymentInformation completion:(void (^ _Nonnull)(NSString * _Nullable, NSError * _Nullable))completion; +/// Called after the Apple Pay sheet is dismissed with the result of the payment. +/// Your implementation could stop a spinner and display a receipt view or error to the customer, for example. +/// \param status The status of the payment +/// +/// \param error The error that occurred, if any. +/// +- (void)applePayContext:(STPApplePayContext * _Nonnull)context didCompleteWithStatus:(enum STPPaymentStatus)status error:(NSError * _Nullable)error; +@optional +/// Called when the user selects a new shipping method. The delegate should determine +/// shipping costs based on the shipping method and either the shipping address supplied in the original +/// PKPaymentRequest or the address fragment provided by the last call to paymentAuthorizationController: +/// didSelectShippingContact:completion:. +/// You must invoke the completion block with an updated array of PKPaymentSummaryItem objects. +- (void)applePayContext:(STPApplePayContext * _Nonnull)context didSelectShippingMethod:(PKShippingMethod * _Nonnull)shippingMethod handler:(void (^ _Nonnull)(PKPaymentRequestShippingMethodUpdate * _Nonnull))handler; +/// Called when the user has selected a new shipping address. You should inspect the +/// address and must invoke the completion block with an updated array of PKPaymentSummaryItem objects. +/// @note To maintain privacy, the shipping information is anonymized. For example, in the United States it only includes the city, state, and zip code. This provides enough information to calculate shipping costs, without revealing sensitive information until the user actually approves the purchase. +/// Receive full shipping information in the paymentInformation passed to applePayContext:didCreatePaymentMethod:paymentInformation:completion: +- (void)applePayContext:(STPApplePayContext * _Nonnull)context didSelectShippingContact:(PKContact * _Nonnull)contact handler:(void (^ _Nonnull)(PKPaymentRequestShippingContactUpdate * _Nonnull))handler; +@end + +@class STPAppInfo; + +/// An Objective-C bridge for STPAPIClient. +/// :nodoc: +SWIFT_CLASS_NAMED("_stpobjc_STPAPIClient") +@interface STPAPIClient : NSObject +/// The current version of this library. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull STPSDKVersion;) ++ (NSString * _Nonnull)STPSDKVersion SWIFT_WARN_UNUSED_RESULT; +/// A shared singleton API client. +/// By default, the SDK uses this instance to make API requests +/// eg in STPPaymentHandler, STPPaymentContext, STPCustomerContext, etc. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPAPIClient * _Nonnull sharedClient;) ++ (STPAPIClient * _Nonnull)sharedClient SWIFT_WARN_UNUSED_RESULT; +/// The client’s publishable key. +/// The default value is StripeAPI.defaultPublishableKey. +@property (nonatomic, copy) NSString * _Nullable publishableKey; +/// The client’s configuration. +/// Defaults to STPPaymentConfiguration.shared. +@property (nonatomic, strong) STPPaymentConfiguration * _Nonnull configuration; +/// In order to perform API requests on behalf of a connected account, e.g. to +/// create a Source or Payment Method on a connected account, set this property to the ID of the +/// account for which this request is being made. +/// seealso: +/// https://stripe.com/docs/connect/authentication#authentication-via-the-stripe-account-header +@property (nonatomic, copy) NSString * _Nullable stripeAccount; +/// Libraries wrapping the Stripe SDK should set this, so that Stripe can contact you about future issues or critical updates. +/// seealso: +/// https://stripe.com/docs/building-plugins#setappinfo +@property (nonatomic, strong) STPAppInfo * _Nullable appInfo; +/// The API version used to communicate with Stripe. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull apiVersion;) ++ (NSString * _Nonnull)apiVersion SWIFT_WARN_UNUSED_RESULT; +/// Initializes an API client with the given publishable key. +/// \param publishableKey The publishable key to use. +/// +/// +/// returns: +/// An instance of STPAPIClient. +- (nonnull instancetype)initWithPublishableKey:(NSString * _Nonnull)publishableKey OBJC_DESIGNATED_INITIALIZER; +/// Initializes an API client with the given configuration. +/// \param configuration The configuration to use. +/// +/// +/// returns: +/// An instance of STPAPIClient. +- (nonnull instancetype)initWithConfiguration:(STPPaymentConfiguration * _Nonnull)configuration OBJC_DESIGNATED_INITIALIZER SWIFT_DEPRECATED_MSG("This initializer previously configured publishableKey and stripeAccount via the STPPaymentConfiguration instance. This behavior is deprecated; set the STPAPIClient configuration, publishableKey, and stripeAccount properties directly on the STPAPIClient instead."); +/// Converts an STPBankAccount object into a Stripe token using the Stripe API. +/// \param bankAccount The user’s bank account details. Cannot be nil. - seealso: https://stripe.com/docs/api#create_bank_account_token +/// +/// \param completion The callback to run with the returned Stripe token (and any errors that may have occurred). +/// +- (void)createTokenWithBankAccount:(STPBankAccountParams * _Nonnull)bankAccount completion:(void (^ _Nonnull)(STPToken * _Nullable, NSError * _Nullable))completion; +/// Converts a personal identification number into a Stripe token using the Stripe API. +/// \param pii The user’s personal identification number. Cannot be nil. - seealso: https://stripe.com/docs/api#create_pii_token +/// +/// \param completion The callback to run with the returned Stripe token (and any errors that may have occurred). +/// +- (void)createTokenWithPersonalIDNumber:(NSString * _Nonnull)pii completion:(void (^ _Nullable)(STPToken * _Nullable, NSError * _Nullable))completion; +/// Converts the last 4 SSN digits into a Stripe token using the Stripe API. +/// \param ssnLast4 The last 4 digits of the user’s SSN. Cannot be nil. +/// +/// \param completion The callback to run with the returned Stripe token (and any errors that may have occurred). +/// +- (void)createTokenWithSSNLast4:(NSString * _Nonnull)ssnLast4 completion:(void (^ _Nonnull)(STPToken * _Nullable, NSError * _Nullable))completion; +/// Converts an STPConnectAccountParams object into a Stripe token using the Stripe API. +/// This allows the connected account to accept the Terms of Service, and/or send Legal Entity information. +/// \param account The Connect Account parameters. Cannot be nil. +/// +/// \param completion The callback to run with the returned Stripe token (and any errors that may have occurred). +/// +- (void)createTokenWithConnectAccount:(STPConnectAccountParams * _Nonnull)account completion:(void (^ _Nullable)(STPToken * _Nullable, NSError * _Nullable))completion; +/// Uses the Stripe file upload API to upload an image. This can be used for +/// identity verification and evidence disputes. +/// seealso: +/// https://stripe.com/docs/file-upload +/// \param image The image to be uploaded. The maximum allowed file size is 4MB +/// for identity documents and 8MB for evidence disputes. Cannot be nil. +/// Your image will be automatically resized down if you pass in one that +/// is too large +/// +/// \param purpose The purpose of this file. This can be either an identifing +/// document or an evidence dispute. +/// +/// \param completion The callback to run with the returned Stripe file +/// (and any errors that may have occurred). +/// +- (void)uploadImage:(UIImage * _Nonnull)image purpose:(enum STPFilePurpose)purpose completion:(void (^ _Nullable)(STPFile * _Nullable, NSError * _Nullable))completion; +/// Converts an STPCardParams object into a Stripe token using the Stripe API. +/// \param cardParams The user’s card details. Cannot be nil. - seealso: https://stripe.com/docs/api#create_card_token +/// +/// \param completion The callback to run with the returned Stripe token (and any errors that may have occurred). +/// +- (void)createTokenWithCard:(STPCardParams * _Nonnull)cardParams completion:(void (^ _Nonnull)(STPToken * _Nullable, NSError * _Nullable))completion; +/// Converts a CVC string into a Stripe token using the Stripe API. +/// \param cvc The CVC/CVV number used to create the token. Cannot be nil. +/// +/// \param completion The callback to run with the returned Stripe token (and any errors that may have occurred). +/// +- (void)createTokenForCVCUpdate:(NSString * _Nonnull)cvc completion:(void (^ _Nullable)(STPToken * _Nullable, NSError * _Nullable))completion; +/// Creates a Source object using the provided details. +/// Note: in order to create a source on a connected account, you can set your +/// API client’s stripeAccount property to the ID of the account. +/// seealso: +/// https://stripe.com/docs/sources/connect#creating-direct-charges +/// \param sourceParams The details of the source to create. Cannot be nil. - seealso: https://stripe.com/docs/api#create_source +/// +/// \param completion The callback to run with the returned Source object, or an error. +/// +- (void)createSourceWithParams:(STPSourceParams * _Nonnull)sourceParams completion:(void (^ _Nonnull)(STPSource * _Nullable, NSError * _Nullable))completion; +/// Retrieves the Source object with the given ID. - seealso: https://stripe.com/docs/api#retrieve_source +/// \param identifier The identifier of the source to be retrieved. Cannot be nil. +/// +/// \param secret The client secret of the source. Cannot be nil. +/// +/// \param completion The callback to run with the returned Source object, or an error. +/// +- (void)retrieveSourceWithId:(NSString * _Nonnull)identifier clientSecret:(NSString * _Nonnull)secret completion:(void (^ _Nonnull)(STPSource * _Nullable, NSError * _Nullable))completion; +/// Starts polling the Source object with the given ID. For payment methods that require +/// additional customer action (e.g. authorizing a payment with their bank), polling +/// allows you to determine if the action was successful. Polling will stop and the +/// provided callback will be called once the source’s status is no longer pending, +/// or if the given timeout is reached and the source is still pending. If polling +/// stops due to an error, the callback will be fired with the latest retrieved +/// source and the error. +/// Note that if a poll is already running for a source, subsequent calls to startPolling +/// with the same source ID will do nothing. +/// \param identifier The identifier of the source to be retrieved. Cannot be nil. +/// +/// \param secret The client secret of the source. Cannot be nil. +/// +/// \param timeout The timeout for the polling operation, in seconds. Timeouts are capped at 5 minutes. +/// +/// \param completion The callback to run with the returned Source object, or an error. +/// +- (void)startPollingSourceWithId:(NSString * _Nonnull)identifier clientSecret:(NSString * _Nonnull)secret timeout:(NSTimeInterval)timeout completion:(void (^ _Nonnull)(STPSource * _Nullable, NSError * _Nullable))completion SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable) SWIFT_AVAILABILITY(ios_app_extension,unavailable); +/// Stops polling the Source object with the given ID. Note that the completion block passed to +/// startPolling will not be fired when stopPolling is called. +/// \param identifier The identifier of the source to be retrieved. Cannot be nil. +/// +- (void)stopPollingSourceWithId:(NSString * _Nonnull)identifier SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable) SWIFT_AVAILABILITY(ios_app_extension,unavailable); +/// Retrieves the PaymentIntent object using the given secret. - seealso: https://stripe.com/docs/api#retrieve_payment_intent +/// \param secret The client secret of the payment intent to be retrieved. Cannot be nil. +/// +/// \param completion The callback to run with the returned PaymentIntent object, or an error. +/// +- (void)retrievePaymentIntentWithClientSecret:(NSString * _Nonnull)secret completion:(void (^ _Nonnull)(STPPaymentIntent * _Nullable, NSError * _Nullable))completion; +/// Retrieves the PaymentIntent object using the given secret. - seealso: https://stripe.com/docs/api#retrieve_payment_intent +/// \param secret The client secret of the payment intent to be retrieved. Cannot be nil. +/// +/// \param expand An array of string keys to expand on the returned PaymentIntent object. These strings should match one or more of the parameter names that are marked as expandable. - seealso: https://stripe.com/docs/api/payment_intents/object +/// +/// \param completion The callback to run with the returned PaymentIntent object, or an error. +/// +- (void)retrievePaymentIntentWithClientSecret:(NSString * _Nonnull)secret expand:(NSArray * _Nullable)expand completion:(void (^ _Nonnull)(STPPaymentIntent * _Nullable, NSError * _Nullable))completion; +/// Confirms the PaymentIntent object with the provided params object. +/// At a minimum, the params object must include the clientSecret. +/// seealso: +/// https://stripe.com/docs/api#confirm_payment_intent +/// @note Use the confirmPayment:withAuthenticationContext:completion: method on STPPaymentHandler instead +/// of calling this method directly. It handles any authentication necessary for you. - seealso: https://stripe.com/docs/mobile/ios/authentication +/// \param paymentIntentParams The STPPaymentIntentParams to pass to /confirm +/// +/// \param completion The callback to run with the returned PaymentIntent object, or an error. +/// +- (void)confirmPaymentIntentWithParams:(STPPaymentIntentParams * _Nonnull)paymentIntentParams completion:(void (^ _Nonnull)(STPPaymentIntent * _Nullable, NSError * _Nullable))completion; +/// Confirms the PaymentIntent object with the provided params object. +/// At a minimum, the params object must include the clientSecret. +/// seealso: +/// https://stripe.com/docs/api#confirm_payment_intent +/// @note Use the confirmPayment:withAuthenticationContext:completion: method on STPPaymentHandler instead +/// of calling this method directly. It handles any authentication necessary for you. - seealso: https://stripe.com/docs/mobile/ios/authentication +/// \param paymentIntentParams The STPPaymentIntentParams to pass to /confirm +/// +/// \param expand An array of string keys to expand on the returned PaymentIntent object. These strings should match one or more of the parameter names that are marked as expandable. - seealso: https://stripe.com/docs/api/payment_intents/object +/// +/// \param completion The callback to run with the returned PaymentIntent object, or an error. +/// +- (void)confirmPaymentIntentWithParams:(STPPaymentIntentParams * _Nonnull)paymentIntentParams expand:(NSArray * _Nullable)expand completion:(void (^ _Nonnull)(STPPaymentIntent * _Nullable, NSError * _Nullable))completion; +/// Retrieves the SetupIntent object using the given secret. - seealso: https://stripe.com/docs/api/setup_intents/retrieve +/// \param secret The client secret of the SetupIntent to be retrieved. Cannot be nil. +/// +/// \param completion The callback to run with the returned SetupIntent object, or an error. +/// +- (void)retrieveSetupIntentWithClientSecret:(NSString * _Nonnull)secret completion:(void (^ _Nonnull)(STPSetupIntent * _Nullable, NSError * _Nullable))completion; +/// Confirms the SetupIntent object with the provided params object. +/// At a minimum, the params object must include the clientSecret. +/// seealso: +/// https://stripe.com/docs/api/setup_intents/confirm +/// @note Use the confirmSetupIntent:withAuthenticationContext:completion: method on STPPaymentHandler instead +/// of calling this method directly. It handles any authentication necessary for you. - seealso: https://stripe.com/docs/mobile/ios/authentication +/// \param setupIntentParams The STPSetupIntentConfirmParams to pass to /confirm +/// +/// \param completion The callback to run with the returned PaymentIntent object, or an error. +/// +- (void)confirmSetupIntentWithParams:(STPSetupIntentConfirmParams * _Nonnull)setupIntentParams completion:(void (^ _Nonnull)(STPSetupIntent * _Nullable, NSError * _Nullable))completion; +/// Creates a PaymentMethod object with the provided params object. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/create +/// \param paymentMethodParams The STPPaymentMethodParams to pass to /v1/payment_methods. Cannot be nil. +/// +/// \param completion The callback to run with the returned PaymentMethod object, or an error. +/// +- (void)createPaymentMethodWithParams:(STPPaymentMethodParams * _Nonnull)paymentMethodParams completion:(void (^ _Nonnull)(STPPaymentMethod * _Nullable, NSError * _Nullable))completion; +/// Creates a Radar Session. +/// note: +/// See https://stripe.com/docs/radar/radar-session +/// note: +/// This API and the guide linked above require special permissions to use. Contact support@stripe.com. +/// note: +/// StripeAPI.advancedFraudSignalsEnabled must be true to use this method. +/// note: +/// See STPRadarSession +/// \param completion The callback to run with the returned STPRadarSession (and any errors that may have occurred). +/// +- (void)createRadarSessionWithCompletion:(void (^ _Nonnull)(STPRadarSession * _Nullable, NSError * _Nullable))completion; +/// Converts a PKPayment object into a Stripe token using the Stripe API. +/// \param payment The user’s encrypted payment information as returned from a PKPaymentAuthorizationController. Cannot be nil. +/// +/// \param completion The callback to run with the returned Stripe token (and any errors that may have occurred). +/// +- (void)createTokenWithPayment:(PKPayment * _Nonnull)payment completion:(void (^ _Nonnull)(STPToken * _Nullable, NSError * _Nullable))completion; +/// Converts a PKPayment object into a Stripe source using the Stripe API. +/// \param payment The user’s encrypted payment information as returned from a PKPaymentAuthorizationController. Cannot be nil. +/// +/// \param completion The callback to run with the returned Stripe source (and any errors that may have occurred). +/// +- (void)createSourceWithPayment:(PKPayment * _Nonnull)payment completion:(void (^ _Nonnull)(STPSource * _Nullable, NSError * _Nullable))completion; +/// Converts a PKPayment object into a Stripe Payment Method using the Stripe API. +/// \param payment The user’s encrypted payment information as returned from a PKPaymentAuthorizationController. Cannot be nil. +/// +/// \param completion The callback to run with the returned Stripe source (and any errors that may have occurred). +/// +- (void)createPaymentMethodWithPayment:(PKPayment * _Nonnull)payment completion:(void (^ _Nonnull)(STPPaymentMethod * _Nullable, NSError * _Nullable))completion; +/// Converts Stripe errors into the appropriate Apple Pay error, for use in PKPaymentAuthorizationResult. +/// If the error can be fixed by the customer within the Apple Pay sheet, we return an NSError that can be displayed in the Apple Pay sheet. +/// Otherwise, the original error is returned, resulting in the Apple Pay sheet being dismissed. You should display the error message to the customer afterwards. +/// Currently, we convert billing address related errors into a PKPaymentError that helpfully points to the billing address field in the Apple Pay sheet. +/// Note that Apple Pay should prevent most card errors (e.g. invalid CVC, expired cards) when you add a card to the wallet. +/// \param stripeError An error from the Stripe SDK. +/// ++ (NSError * _Nullable)pkPaymentErrorForStripeError:(NSError * _Nullable)stripeError SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +/// Libraries wrapping the Stripe SDK should use this object to provide information about the library, and set it +/// in on STPAPIClient. This information is passed to Stripe so that we can contact you about future issues or critical updates. +/// seealso: +/// https://stripe.com/docs/building-plugins#setappinfo +/// :nodoc: +SWIFT_CLASS_NAMED("_stpobjc_STPAppInfo") +@interface STPAppInfo : NSObject +/// Initializes an instance of STPAppInfo. +/// \param name The name of your library (e.g. “MyAwesomeLibrary”). +/// +/// \param partnerId Your Stripe Partner ID (e.g. “pp_partner_1234”). Required for Stripe Verified Partners, optional otherwise. +/// +/// \param version The version of your library (e.g. “1.2.34”). Optional. +/// +/// \param url The website for your library (e.g. “https://myawesomelibrary.info”). Optional. +/// +- (nonnull instancetype)initWithName:(NSString * _Nonnull)name partnerId:(NSString * _Nullable)partnerId version:(NSString * _Nullable)version url:(NSString * _Nullable)url OBJC_DESIGNATED_INITIALIZER; +/// The name of your library (e.g. “MyAwesomeLibrary”). +@property (nonatomic, readonly, copy) NSString * _Nonnull name; +/// Your Stripe Partner ID (e.g. “pp_partner_1234”). +@property (nonatomic, readonly, copy) NSString * _Nullable partnerId; +/// The version of your library (e.g. “1.2.34”). +@property (nonatomic, readonly, copy) NSString * _Nullable version; +/// The website for your library (e.g. “https://myawesomelibrary.info”). +@property (nonatomic, readonly, copy) NSString * _Nullable url; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// :nodoc: +/// Top-level class for Stripe error constants. +SWIFT_CLASS_NAMED("_stpobjc_STPError") +@interface STPError : NSObject +/// All Stripe iOS errors will be under this domain. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull stripeDomain;) ++ (NSString * _Nonnull)stripeDomain SWIFT_WARN_UNUSED_RESULT; +/// A human-readable message providing more details about the error. +/// For card errors, these messages can be shown to your users. +/// seealso: +/// https://stripe.com/docs/api/errors#errors-message +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull errorMessageKey;) ++ (NSString * _Nonnull)errorMessageKey SWIFT_WARN_UNUSED_RESULT; +/// An SDK-supplied “hint” that is intended to help you, the developer, fix the error +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull hintKey;) ++ (NSString * _Nonnull)hintKey SWIFT_WARN_UNUSED_RESULT; +/// What went wrong with your STPCard (e.g., STPInvalidCVC. See below for full list). +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull cardErrorCodeKey;) ++ (NSString * _Nonnull)cardErrorCodeKey SWIFT_WARN_UNUSED_RESULT; +/// Which parameter on the STPCard had an error (e.g., “cvc”). Useful for marking up the +/// right UI element. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull errorParameterKey;) ++ (NSString * _Nonnull)errorParameterKey SWIFT_WARN_UNUSED_RESULT; +/// The error code returned by the Stripe API. +/// seealso: +/// https://stripe.com/docs/api#errors-code +/// seealso: +/// https://stripe.com/docs/error-codes +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull stripeErrorCodeKey;) ++ (NSString * _Nonnull)stripeErrorCodeKey SWIFT_WARN_UNUSED_RESULT; +/// The error type returned by the Stripe API. +/// seealso: +/// https://stripe.com/docs/api#errors-type +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull stripeErrorTypeKey;) ++ (NSString * _Nonnull)stripeErrorTypeKey SWIFT_WARN_UNUSED_RESULT; +/// If the value of userInfo[stripeErrorCodeKey] is STPError.cardDeclined, +/// the value for this key contains the decline code. +/// seealso: +/// https://stripe.com/docs/declines/codes +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull stripeDeclineCodeKey;) ++ (NSString * _Nonnull)stripeDeclineCodeKey SWIFT_WARN_UNUSED_RESULT; +/// The card number is not a valid credit card number. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull invalidNumber;) ++ (NSString * _Nonnull)invalidNumber SWIFT_WARN_UNUSED_RESULT; +/// The card has an invalid expiration month. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull invalidExpMonth;) ++ (NSString * _Nonnull)invalidExpMonth SWIFT_WARN_UNUSED_RESULT; +/// The card has an invalid expiration year. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull invalidExpYear;) ++ (NSString * _Nonnull)invalidExpYear SWIFT_WARN_UNUSED_RESULT; +/// The card has an invalid CVC. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull invalidCVC;) ++ (NSString * _Nonnull)invalidCVC SWIFT_WARN_UNUSED_RESULT; +/// The card number is incorrect. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull incorrectNumber;) ++ (NSString * _Nonnull)incorrectNumber SWIFT_WARN_UNUSED_RESULT; +/// The card is expired. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull expiredCard;) ++ (NSString * _Nonnull)expiredCard SWIFT_WARN_UNUSED_RESULT; +/// The card was declined. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull cardDeclined;) ++ (NSString * _Nonnull)cardDeclined SWIFT_WARN_UNUSED_RESULT; +/// An error occured while processing this card. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull processingError;) ++ (NSString * _Nonnull)processingError SWIFT_WARN_UNUSED_RESULT; +/// The card has an incorrect CVC. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull incorrectCVC;) ++ (NSString * _Nonnull)incorrectCVC SWIFT_WARN_UNUSED_RESULT; +/// The postal code is incorrect. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull incorrectZip;) ++ (NSString * _Nonnull)incorrectZip SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +/// :nodoc: +/// Possible error code values for NSErrors with the StripeDomain domain +typedef SWIFT_ENUM_NAMED(NSInteger, STPErrorCode, "_stpobjc_STPErrorCode", open) { +/// Trouble connecting to Stripe. + STPConnectionError SWIFT_COMPILE_NAME("connectionError") = 40, +/// Your request had invalid parameters. + STPInvalidRequestError SWIFT_COMPILE_NAME("invalidRequestError") = 50, +/// No valid publishable API key provided. + STPAuthenticationError SWIFT_COMPILE_NAME("authenticationError") = 51, +/// General-purpose API error. + STPAPIError SWIFT_COMPILE_NAME("apiError") = 60, +/// Something was wrong with the given card details. + STPCardError SWIFT_COMPILE_NAME("cardError") = 70, +/// The operation was cancelled. + STPCancellationError SWIFT_COMPILE_NAME("cancellationError") = 80, +/// The ephemeral key could not be decoded. Make sure your backend is sending +/// the unmodified JSON of the ephemeral key to your app. +/// https://stripe.com/docs/mobile/ios/standard#prepare-your-api + STPEphemeralKeyDecodingError SWIFT_COMPILE_NAME("ephemeralKeyDecodingError") = 1000, +}; + + +/// A top-level class that imports the rest of the Stripe SDK. +/// :nodoc: +SWIFT_CLASS_NAMED("_stpobjc_StripeAPI") +@interface StripeAPI : NSObject +/// Set this to your Stripe publishable API key, obtained from https://dashboard.stripe.com/apikeys. +/// Set this as early as possible in your application’s lifecycle, preferably in your AppDelegate or SceneDelegate. +/// New instances of STPAPIClient will be initialized with this value. +/// @warning Make sure not to ship your test API keys to the App Store! This will log a warning if you use your test key in a release build. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, copy) NSString * _Nullable defaultPublishableKey;) ++ (NSString * _Nullable)defaultPublishableKey SWIFT_WARN_UNUSED_RESULT; ++ (void)setDefaultPublishableKey:(NSString * _Nullable)newValue; +/// A Boolean value that determines whether additional device data is sent to Stripe for fraud prevention. +/// If YES, additional device signals will be sent to Stripe. +/// For more details on the information we collect, visit https://stripe.com/docs/disputes/prevention/advanced-fraud-detection +/// Disabling this setting will reduce Stripe’s ability to protect your business from fraudulent payments. +/// The default value is YES. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL advancedFraudSignalsEnabled;) ++ (BOOL)advancedFraudSignalsEnabled SWIFT_WARN_UNUSED_RESULT; ++ (void)setAdvancedFraudSignalsEnabled:(BOOL)newValue; +/// If the SDK receives a “Too Many Requests” (429) status code from Stripe, +/// it will automatically retry the request. +/// The default value is 3. +/// See https://stripe.com/docs/rate-limits for more information. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class) NSInteger maxRetries;) ++ (NSInteger)maxRetries SWIFT_WARN_UNUSED_RESULT; ++ (void)setMaxRetries:(NSInteger)newValue; +/// Call this method in your app delegate whenever you receive an URL in your +/// app delegate for a Stripe callback. +/// For convenience, you can pass all URL’s you receive in your app delegate +/// to this method first, and check the return value +/// to easily determine whether it is a callback URL that Stripe will handle +/// or if your app should process it normally. +/// If you are using a universal link URL, you will receive the callback in application:continueUserActivity:restorationHandler: +/// To learn more about universal links, see https://developer.apple.com/library/content/documentation/General/Conceptual/AppSearch/UniversalLinks.html +/// If you are using a native scheme URL, you will receive the callback in application:openURL:options: +/// To learn more about native url schemes, see https://developer.apple.com/library/content/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/Inter-AppCommunication/Inter-AppCommunication.html#//apple_ref/doc/uid/TP40007072-CH6-SW10 +/// \param url The URL that you received in your app delegate +/// +/// +/// returns: +/// YES if the URL is expected and will be handled by Stripe. NO otherwise. ++ (BOOL)handleStripeURLCallbackWithURL:(NSURL * _Nonnull)url; +/// Japanese users can enable JCB for Apple Pay by setting this to YES, after they have been approved by JCB. +/// The default value is NO. +/// @note JCB is only supported on iOS 10.1+ +SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL jcbPaymentNetworkSupported;) ++ (BOOL)jcbPaymentNetworkSupported SWIFT_WARN_UNUSED_RESULT; ++ (void)setJcbPaymentNetworkSupported:(BOOL)newValue; +/// The SDK accepts Amex, Mastercard, Visa, and Discover for Apple Pay. +/// Set this property to enable other card networks in addition to these. +/// For example, additionalEnabledApplePayNetworks = [.JCB] enables JCB (note this requires onboarding from JCB and Stripe). +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, copy) NSArray * _Nonnull additionalEnabledApplePayNetworks;) ++ (NSArray * _Nonnull)additionalEnabledApplePayNetworks SWIFT_WARN_UNUSED_RESULT; ++ (void)setAdditionalEnabledApplePayNetworks:(NSArray * _Nonnull)newValue; +/// Whether or not this device is capable of using Apple Pay. This checks both +/// whether the device supports Apple Pay, as well as whether or not they have +/// stored Apple Pay cards on their device. +/// \param paymentRequest The return value of this method depends on the +/// supportedNetworks property of this payment request, which by default should be +/// [.amex, .masterCard, .visa, .discover]. +/// +/// +/// returns: +/// whether or not the user is currently able to pay with Apple Pay. ++ (BOOL)canSubmitPaymentRequest:(PKPaymentRequest * _Nonnull)paymentRequest SWIFT_WARN_UNUSED_RESULT; +/// Whether or not this can make Apple Pay payments via a card network supported +/// by Stripe. +/// The Stripe supported Apple Pay card networks are: +/// American Express, Visa, Mastercard, Discover, Maestro. +/// Japanese users can enable JCB by setting JCBPaymentNetworkSupported to YES, +/// after they have been approved by JCB. +/// +/// returns: +/// YES if the device is currently able to make Apple Pay payments via one +/// of the supported networks. NO if the user does not have a saved card of a +/// supported type, or other restrictions prevent payment (such as parental controls). ++ (BOOL)deviceSupportsApplePay SWIFT_WARN_UNUSED_RESULT; +/// A convenience method to build a PKPaymentRequest with sane default values. +/// You will still need to configure the paymentSummaryItems property to indicate +/// what the user is purchasing, as well as the optional requiredShippingAddressFields, +/// requiredBillingAddressFields, and shippingMethods properties to indicate +/// what contact information your application requires. +/// Note that this method sets the payment request’s countryCode to “US” and its +/// currencyCode to “USD”. +/// \param merchantIdentifier Your Apple Merchant ID. +/// +/// +/// returns: +/// a PKPaymentRequest with proper default values. Returns nil if running on < iOS8. +/// @deprecated Use paymentRequestWithMerchantIdentifier:country:currency: instead. +/// Apple Pay is available in many countries and currencies, and you should use +/// the appropriate values for your business. ++ (PKPaymentRequest * _Nonnull)paymentRequestWithMerchantIdentifier:(NSString * _Nonnull)merchantIdentifier SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("Use `paymentRequestWithMerchantIdentifier:country:currency:` instead."); +/// A convenience method to build a PKPaymentRequest with sane default values. +/// You will still need to configure the paymentSummaryItems property to indicate +/// what the user is purchasing, as well as the optional requiredShippingContactFields, +/// requiredBillingContactFields, and shippingMethods properties to indicate +/// what additional contact information your application requires. +/// \param merchantIdentifier Your Apple Merchant ID. +/// +/// \param countryCode The two-letter code for the country where the payment +/// will be processed. This should be the country of your Stripe account. +/// +/// \param currencyCode The three-letter code for the currency used by this +/// payment request. Apple Pay interprets the amounts provided by the summary items +/// attached to this request as amounts in this currency. +/// +/// +/// returns: +/// a PKPaymentRequest with proper default values. ++ (PKPaymentRequest * _Nonnull)paymentRequestWithMerchantIdentifier:(NSString * _Nonnull)merchantIdentifier country:(NSString * _Nonnull)countryCode currency:(NSString * _Nonnull)currencyCode SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Headers/Stripe-umbrella.h b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Headers/Stripe-umbrella.h new file mode 100644 index 0000000..b062ed0 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Headers/Stripe-umbrella.h @@ -0,0 +1,11 @@ +// +// Stripe-umbrella.h +// StripeiOS +// +// Copyright © 2020 Stripe, Inc. All rights reserved. +// + +#ifndef Stripe_umbrella_h +#define Stripe_umbrella_h + +#endif /* Stripe_umbrella_h */ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Modules/Stripe.swiftmodule/arm64-apple-ios-macabi.swiftdoc b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Modules/Stripe.swiftmodule/arm64-apple-ios-macabi.swiftdoc new file mode 100644 index 0000000..5f6515e Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Modules/Stripe.swiftmodule/arm64-apple-ios-macabi.swiftdoc differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Modules/Stripe.swiftmodule/arm64-apple-ios-macabi.swiftinterface b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Modules/Stripe.swiftmodule/arm64-apple-ios-macabi.swiftinterface new file mode 100644 index 0000000..6f62ef0 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Modules/Stripe.swiftmodule/arm64-apple-ios-macabi.swiftinterface @@ -0,0 +1,4764 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name Stripe +import AVFoundation +import CommonCrypto +import Contacts +import CoreLocation +import Foundation +import ObjectiveC +import PassKit +import SafariServices +import Security +@_exported import Stripe +import Stripe3DS2 +@_exported import StripeApplePay +@_exported import StripeCore +import StripeUICore +import Swift +import SwiftUI +import UIKit +import Vision +extension STPAPIClient { + public var configuration: Stripe.STPPaymentConfiguration { + get + set + } + @available(*, deprecated, message: "This initializer previously configured publishableKey and stripeAccount via the STPPaymentConfiguration instance. This behavior is deprecated; set the STPAPIClient configuration, publishableKey, and stripeAccount properties directly on the STPAPIClient instead.") + convenience public init(configuration: Stripe.STPPaymentConfiguration) +} +extension STPAPIClient { + public func createToken(withBankAccount bankAccount: Stripe.STPBankAccountParams, completion: @escaping Stripe.STPTokenCompletionBlock) +} +extension STPAPIClient { + public func createToken(withPersonalIDNumber pii: Swift.String, completion: Stripe.STPTokenCompletionBlock?) + public func createToken(withSSNLast4 ssnLast4: Swift.String, completion: @escaping Stripe.STPTokenCompletionBlock) +} +extension STPAPIClient { + public func createToken(withConnectAccount account: Stripe.STPConnectAccountParams, completion: Stripe.STPTokenCompletionBlock?) +} +extension STPAPIClient { + public func uploadImage(_ image: UIKit.UIImage, purpose: Stripe.STPFilePurpose, completion: Stripe.STPFileCompletionBlock?) +} +extension STPAPIClient { + public func createToken(withCard cardParams: Stripe.STPCardParams, completion: @escaping Stripe.STPTokenCompletionBlock) + public func createToken(forCVCUpdate cvc: Swift.String, completion: Stripe.STPTokenCompletionBlock? = nil) +} +extension STPAPIClient { + public func createSource(with sourceParams: Stripe.STPSourceParams, completion: @escaping Stripe.STPSourceCompletionBlock) + public func retrieveSource(withId identifier: Swift.String, clientSecret secret: Swift.String, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public func startPollingSource(withId identifier: Swift.String, clientSecret secret: Swift.String, timeout: Foundation.TimeInterval, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public func stopPollingSource(withId identifier: Swift.String) +} +extension STPAPIClient { + public func retrievePaymentIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + public func retrievePaymentIntent(withClientSecret secret: Swift.String, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) +} +extension STPAPIClient { + public func retrieveSetupIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPSetupIntentCompletionBlock) + public func confirmSetupIntent(with setupIntentParams: Stripe.STPSetupIntentConfirmParams, completion: @escaping Stripe.STPSetupIntentCompletionBlock) +} +extension STPAPIClient { + public func createPaymentMethod(with paymentMethodParams: Stripe.STPPaymentMethodParams, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSLabelCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSLabelCustomization + @objc public var headingFont: UIKit.UIFont { + @objc get + @objc set(headingFont) + } + @objc public var headingTextColor: UIKit.UIColor { + @objc get + @objc set(headingTextColor) + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set(textColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodUPI : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var vpa: Swift.String { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPSourceVerificationStatus : Swift.Int { + case pending + case succeeded + case failed + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceVerification : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var attemptsRemaining: Foundation.NSNumber? { + get + } + @objc public var status: Stripe.STPSourceVerificationStatus { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodOXXO : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public enum STPBankSelectionMethod : Swift.Int { + case FPX + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPBankSelectionViewController : Stripe.STPCoreTableViewController, UIKit.UITableViewDataSource, UIKit.UITableViewDelegate { + @objc convenience public init(bankMethod: Stripe.STPBankSelectionMethod) + @objc convenience required public init(theme: Stripe.STPTheme?) + @objc public init(bankMethod: Stripe.STPBankSelectionMethod, configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc weak public var delegate: Stripe.STPBankSelectionViewControllerDelegate? + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc deinit + @objc public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell + @objc public func tableView(_ tableView: UIKit.UITableView, willDisplay cell: UIKit.UITableViewCell, forRowAt indexPath: Foundation.IndexPath) + @objc public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc public func tableView(_ tableView: UIKit.UITableView, shouldHighlightRowAt indexPath: Foundation.IndexPath) -> Swift.Bool + @objc public func tableView(_ tableView: UIKit.UITableView, didSelectRowAt indexPath: Foundation.IndexPath) +} +@objc public protocol STPBankSelectionViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc(bankSelectionViewController:didCreatePaymentMethodParams:) func bankSelectionViewController(_ bankViewController: Stripe.STPBankSelectionViewController, didCreatePaymentMethodParams paymentMethodParams: Stripe.STPPaymentMethodParams) +} +@objc @_inheritsConvenienceInitializers public class STPSetupIntentConfirmParams : ObjectiveC.NSObject, Foundation.NSCopying, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(clientSecret: Swift.String) + @objc public var clientSecret: Swift.String + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? + @objc public var paymentMethodID: Swift.String? + @objc public var returnURL: Swift.String? + @objc public var useStripeSDK: Foundation.NSNumber? + @objc public var mandateData: Stripe.STPMandateDataParams? { + @objc get + @objc set(newMandateData) + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSUICustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSUICustomization + @objc public var navigationBarCustomization: Stripe.STPThreeDSNavigationBarCustomization { + @objc get + @objc set(navigationBarCustomization) + } + @objc public var labelCustomization: Stripe.STPThreeDSLabelCustomization { + @objc get + @objc set(labelCustomization) + } + @objc public var textFieldCustomization: Stripe.STPThreeDSTextFieldCustomization { + @objc get + @objc set(textFieldCustomization) + } + @objc public var backgroundColor: UIKit.UIColor { + @objc get + @objc set(backgroundColor) + } + @objc public var footerCustomization: Stripe.STPThreeDSFooterCustomization { + @objc get + @objc set(footerCustomization) + } + @objc(setButtonCustomization:forType:) public func setButtonCustomization(_ buttonCustomization: Stripe.STPThreeDSButtonCustomization, for buttonType: Stripe.STPThreeDSCustomizationButtonType) + @objc(buttonCustomizationForButtonType:) public func buttonCustomization(for buttonType: Stripe.STPThreeDSCustomizationButtonType) -> Stripe.STPThreeDSButtonCustomization + @objc public var selectionCustomization: Stripe.STPThreeDSSelectionCustomization { + @objc get + @objc set(selectionCustomization) + } + @objc public var activityIndicatorViewStyle: UIKit.UIActivityIndicatorView.Style { + @objc get + @objc set(activityIndicatorViewStyle) + } + @objc public var blurStyle: UIKit.UIBlurEffect.Style { + @objc get + @objc set(blurStyle) + } + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceWeChatPayDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var weChatAppURL: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@_inheritsConvenienceInitializers @available(swift, obsoleted: 0.0.1, message: "Use 'StripeAPI' instead.") +@objc(StripeAPI) public class _stpobjc_StripeAPI : ObjectiveC.NSObject { + @objc public static var defaultPublishableKey: Swift.String? { + @objc get + @objc set + } + @objc public static var advancedFraudSignalsEnabled: Swift.Bool { + @objc get + @objc set + } + @objc public static var maxRetries: Swift.Int { + @objc get + @objc set + } + @discardableResult + @objc(handleStripeURLCallbackWithURL:) public static func handleURLCallback(with url: Foundation.URL) -> Swift.Bool + @objc public class var jcbPaymentNetworkSupported: Swift.Bool { + @objc get + @objc set + } + @objc public static var additionalEnabledApplePayNetworks: [PassKit.PKPaymentNetwork] { + @objc get + @objc set + } + @objc public class func canSubmitPaymentRequest(_ paymentRequest: PassKit.PKPaymentRequest) -> Swift.Bool + @objc dynamic public class func deviceSupportsApplePay() -> Swift.Bool + @available(*, deprecated, message: "Use `paymentRequestWithMerchantIdentifier:country:currency:` instead.") + @objc public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String) -> PassKit.PKPaymentRequest + @objc public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String, country countryCode: Swift.String, currency currencyCode: Swift.String) -> PassKit.PKPaymentRequest + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPBankAccountHolderType : Swift.Int { + case individual + case company + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPBankAccountParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var accountNumber: Swift.String? + @objc public var last4: Swift.String? { + @objc get + } + @objc public var routingNumber: Swift.String? + @objc public var country: Swift.String? + @objc public var currency: Swift.String? + @objc public var accountHolderName: Swift.String? + @objc public var accountHolderType: Stripe.STPBankAccountHolderType + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public init() + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit +} +@objc public class STPMandateOnlineParams : ObjectiveC.NSObject { + @objc final public let ipAddress: Swift.String + @objc final public let userAgent: Swift.String + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc(initWithIPAddress:userAgent:) public init(ipAddress: Swift.String, userAgent: Swift.String) + @objc override dynamic public init() + @objc deinit +} +extension STPMandateOnlineParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPSetupIntentStatus : Swift.Int { + case unknown + case requiresPaymentMethod + case requiresConfirmation + case requiresAction + case processing + case succeeded + case canceled + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPSetupIntentUsage : Swift.Int { + case unknown + case none + case onSession + case offSession + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionAlipayHandleRedirect : ObjectiveC.NSObject { + @objc final public let nativeURL: Foundation.URL? + @objc final public let returnURL: Foundation.URL + @objc final public let url: Foundation.URL + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPIntentActionAlipayHandleRedirect : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_hasMissingDesignatedInitializers open class STPCustomerContext : ObjectiveC.NSObject, Stripe.STPBackendAPIAdapter { + @objc(initWithKeyProvider:) convenience public init(keyProvider: Stripe.STPCustomerEphemeralKeyProvider) + convenience public init(keyProvider: Stripe.STPCustomerEphemeralKeyProvider?, apiClient: StripeCore.STPAPIClient) + @available(swift, deprecated: 0.0.1, renamed: "init(keyProvider:apiClient:)") + @objc(initWithKeyProvider:apiClient:) convenience public init(keyProvider: Stripe.STPCustomerEphemeralKeyProvider?, apiClient: Stripe._stpobjc_STPAPIClient) + @objc public func clearCache() + @objc public var includeApplePayPaymentMethods: Swift.Bool { + @objc get + @objc set(includeApplePayMethods) + } + @objc public func retrieveCustomer(_ completion: Stripe.STPCustomerCompletionBlock? = nil) + @objc public func updateCustomer(withShippingAddress shipping: Stripe.STPAddress, completion: Stripe.STPErrorBlock?) + @objc public func attachPaymentMethodToCustomer(paymentMethodId: Swift.String, completion: Stripe.STPErrorBlock?) + @objc public func attachPaymentMethod(toCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc public func detachPaymentMethodFromCustomer(paymentMethodId: Swift.String, completion: Stripe.STPErrorBlock?) + @objc public func detachPaymentMethod(fromCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc public func listPaymentMethodsForCustomer(completion: Stripe.STPPaymentMethodsCompletionBlock? = nil) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodLinkParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodEPS : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPConnectAccountBusinessType : Swift.Int { + case individual + case company + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public class STPConnectAccountParams : ObjectiveC.NSObject { + @objc final public let tosShownAndAccepted: Foundation.NSNumber? + @objc final public let businessType: Stripe.STPConnectAccountBusinessType + @objc final public let individual: Stripe.STPConnectAccountIndividualParams? + @objc final public let company: Stripe.STPConnectAccountCompanyParams? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init?(tosShownAndAccepted wasAccepted: Swift.Bool, individual: Stripe.STPConnectAccountIndividualParams) + @objc public init?(tosShownAndAccepted wasAccepted: Swift.Bool, company: Stripe.STPConnectAccountCompanyParams) + @objc public init(individual: Stripe.STPConnectAccountIndividualParams) + @objc public init(company: Stripe.STPConnectAccountCompanyParams) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountParams : Stripe.STPFormEncodable { + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodFPX : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var bankIdentifierCode: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPCoreTableViewController : Stripe.STPCoreScrollViewController { + @objc public var tableView: UIKit.UITableView? { + @objc get + } + @objc override dynamic public func viewWillAppear(_ animated: Swift.Bool) + @objc public func tableView(_ tableView: UIKit.UITableView, heightForHeaderInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc required public init(theme: Stripe.STPTheme?) + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc deinit +} +@objc public enum STPShippingType : Swift.Int { + case shipping + case delivery + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPShippingStatus : Swift.Int { + case valid + case invalid + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentStatus : Swift.Int { + case success + case error + case userCancellation + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPErrorBlock = (Swift.Error?) -> Swift.Void +public typealias STPBooleanSuccessBlock = (Swift.Bool, Swift.Error?) -> Swift.Void +public typealias STPJSONResponseCompletionBlock = ([Swift.AnyHashable : Any]?, Swift.Error?) -> Swift.Void +public typealias STPTokenCompletionBlock = (Stripe.STPToken?, Swift.Error?) -> Swift.Void +public typealias STPSourceCompletionBlock = (Stripe.STPSource?, Swift.Error?) -> Swift.Void +public typealias STPSourceProtocolCompletionBlock = (Stripe.STPSourceProtocol?, Swift.Error?) -> Swift.Void +public typealias STPPaymentIntentCompletionBlock = (Stripe.STPPaymentIntent?, Swift.Error?) -> Swift.Void +public typealias STPSetupIntentCompletionBlock = (Stripe.STPSetupIntent?, Swift.Error?) -> Swift.Void +public typealias STPPaymentMethodCompletionBlock = (Stripe.STPPaymentMethod?, Swift.Error?) -> Swift.Void +public typealias STPPaymentMethodsCompletionBlock = ([Stripe.STPPaymentMethod]?, Swift.Error?) -> Swift.Void +public typealias STPShippingMethodsCompletionBlock = (Stripe.STPShippingStatus, Swift.Error?, [PassKit.PKShippingMethod]?, PassKit.PKShippingMethod?) -> Swift.Void +public typealias STPFileCompletionBlock = (Stripe.STPFile?, Swift.Error?) -> Swift.Void +public typealias STPCustomerCompletionBlock = (Stripe.STPCustomer?, Swift.Error?) -> Swift.Void +@objc public enum STPPinStatus : Swift.Int { + case success + case errorVerificationAlreadyRedeemed + case errorVerificationCodeIncorrect + case errorVerificationExpired + case errorVerificationTooManyAttempts + case ephemeralKeyError + case unknownError + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPPinCompletionBlock = (Stripe.STPIssuingCardPin?, Stripe.STPPinStatus, Swift.Error?) -> Swift.Void +public typealias STPPaymentStatusBlock = (Stripe.STPPaymentStatus, Swift.Error?) -> Swift.Void +public typealias STPRadarSessionCompletionBlock = (Stripe.STPRadarSession?, Swift.Error?) -> Swift.Void +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceKlarnaDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var clientToken: Swift.String? { + get + } + @objc public var purchaseCountry: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public class STPConfirmBLIKOptions : ObjectiveC.NSObject { + @objc public var code: Swift.String + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc required public init(code: Swift.String) + @objc deinit + @objc override dynamic public init() +} +extension STPConfirmBLIKOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPRedirectContextError : Swift.Int { + @objc(STPRedirectContextAppRedirectError) case appRedirectError + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPRedirectContextState : Swift.Int { + case notStarted + case inProgress + case cancelled + case completed + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPRedirectContextSourceCompletionBlock = (Swift.String, Swift.String?, Swift.Error?) -> Swift.Void +public typealias STPRedirectContextCompletionBlock = Stripe.STPRedirectContextSourceCompletionBlock +public typealias STPRedirectContextPaymentIntentCompletionBlock = (Swift.String, Swift.Error?) -> Swift.Void +@objc @_hasMissingDesignatedInitializers @available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +public class STPRedirectContext : ObjectiveC.NSObject, SafariServices.SFSafariViewControllerDelegate, UIKit.UIViewControllerTransitioningDelegate { + @objc public static let STPRedirectContextErrorDomain: Swift.String + @objc public var state: Stripe.STPRedirectContextState { + get + } + @objc convenience public init?(source: Stripe.STPSource, completion: @escaping Stripe.STPRedirectContextSourceCompletionBlock) + @objc convenience public init?(paymentIntent: Stripe.STPPaymentIntent, completion: @escaping Stripe.STPRedirectContextPaymentIntentCompletionBlock) + @objc(startRedirectFlowFromViewController:) public func startRedirectFlow(from presentingViewController: UIKit.UIViewController) + @objc(startSafariViewControllerRedirectFlowFromViewController:) dynamic public func startSafariViewControllerRedirectFlow(from presentingViewController: UIKit.UIViewController) + @objc public func startSafariAppRedirectFlow() + @objc public func cancel() + @objc deinit + @objc public func safariViewControllerDidFinish(_ controller: SafariServices.SFSafariViewController) + @objc public func safariViewController(_ controller: SafariServices.SFSafariViewController, didCompleteInitialLoad didLoadSuccessfully: Swift.Bool) + @objc public func safariViewController(_ controller: SafariServices.SFSafariViewController, initialLoadDidRedirectTo URL: Foundation.URL) + @objc public func presentationController(forPresented presented: UIKit.UIViewController, presenting: UIKit.UIViewController?, source: UIKit.UIViewController) -> UIKit.UIPresentationController? + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers final public class STPRadarSession : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let id: Swift.String + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc public static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Stripe.STPRadarSession? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPKlarnaLineItemType : Swift.Int { + case SKU + case tax + case shipping + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public class STPKlarnaLineItem : ObjectiveC.NSObject { + @objc public var itemType: Stripe.STPKlarnaLineItemType + @objc public var itemDescription: Swift.String + @objc public var quantity: Foundation.NSNumber + @objc public var totalAmount: Foundation.NSNumber + @objc public init(itemType: Stripe.STPKlarnaLineItemType, itemDescription: Swift.String, quantity: Foundation.NSNumber, totalAmount: Foundation.NSNumber) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodOXXOParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @IBDesignable open class STPPaymentCardTextField : UIKit.UIControl, UIKit.UIKeyInput { + @objc open func textField(_ textField: UIKit.UITextField, shouldChangeCharactersIn range: Foundation.NSRange, replacementString string: Swift.String) -> Swift.Bool + @objc @IBOutlet weak open var delegate: Stripe.STPPaymentCardTextFieldDelegate? + @objc open var font: UIKit.UIFont { + @objc get + @objc set + } + @objc open var textColor: UIKit.UIColor { + @objc get + @objc set + } + @objc open var textErrorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc open var placeholderColor: UIKit.UIColor { + @objc get + @objc set + } + @objc @IBInspectable open var numberPlaceholder: Swift.String? { + @objc get + @objc set(numberPlaceholder) + } + @objc @IBInspectable open var expirationPlaceholder: Swift.String? { + @objc get + @objc set(expirationPlaceholder) + } + @objc @IBInspectable open var cvcPlaceholder: Swift.String? { + @objc get + @objc set(cvcPlaceholder) + } + @objc @IBInspectable open var postalCodePlaceholder: Swift.String? { + @objc get + @objc set(postalCodePlaceholder) + } + @objc open var cursorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc open var borderColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc open var borderWidth: CoreGraphics.CGFloat { + @objc get + @objc set + } + @objc open var cornerRadius: CoreGraphics.CGFloat { + @objc get + @objc set + } + @objc open var keyboardAppearance: UIKit.UIKeyboardAppearance { + @objc get + @objc set + } + @objc override dynamic open var inputView: UIKit.UIView? { + @objc get + @objc set(inputView) + } + @objc override dynamic open var inputAccessoryView: UIKit.UIView? { + @objc get + @objc set(inputAccessoryView) + } + @objc open var brandImage: UIKit.UIImage? { + get + } + @objc dynamic open var isValid: Swift.Bool { + @objc get + } + @objc override dynamic open var isEnabled: Swift.Bool { + @objc get + @objc set(enabled) + } + @objc open var cardNumber: Swift.String? { + @objc get + } + @objc open var expirationMonth: Swift.Int { + @objc get + } + @objc open var formattedExpirationMonth: Swift.String? { + @objc get + } + @objc open var expirationYear: Swift.Int { + @objc get + } + @objc open var formattedExpirationYear: Swift.String? { + @objc get + } + @objc open var cvc: Swift.String? { + @objc get + } + @objc open var postalCode: Swift.String? { + @objc get + @objc set + } + @objc open var postalCodeEntryEnabled: Swift.Bool { + @objc get + @objc set(postalCodeEntryEnabled) + } + @objc open var countryCode: Swift.String? { + @objc get + @objc set(cCode) + } + @objc open var cardParams: Stripe.STPPaymentMethodCardParams { + @objc get + @objc set(callersCardParams) + } + @discardableResult + @objc override dynamic open func becomeFirstResponder() -> Swift.Bool + @discardableResult + @objc override dynamic open func resignFirstResponder() -> Swift.Bool + @objc open func clear() + @objc(cvcImageForCardBrand:) open class func cvcImage(for cardBrand: Stripe.STPCardBrand) -> UIKit.UIImage? + @objc(brandImageForCardBrand:) open class func brandImage(for cardBrand: Stripe.STPCardBrand) -> UIKit.UIImage? + @objc(errorImageForCardBrand:) open class func errorImage(for cardBrand: Stripe.STPCardBrand) -> UIKit.UIImage? + @objc(brandImageRectForBounds:) open func brandImageRect(forBounds bounds: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @objc(fieldsRectForBounds:) open func fieldsRect(forBounds bounds: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc override dynamic open func traitCollectionDidChange(_ previousTraitCollection: UIKit.UITraitCollection?) + @objc override dynamic open var backgroundColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc override dynamic open var contentVerticalAlignment: UIKit.UIControl.ContentVerticalAlignment { + @objc get + @objc set(contentVerticalAlignment) + } + @objc override dynamic open var isFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic open var canBecomeFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic open var canResignFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic open var intrinsicContentSize: CoreGraphics.CGSize { + @objc get + } + @objc override dynamic open func layoutSubviews() + @objc open func textFieldShouldBeginEditing(_ textField: UIKit.UITextField) -> Swift.Bool + @objc open func textFieldDidBeginEditing(_ textField: UIKit.UITextField) + @objc open func textFieldShouldEndEditing(_ textField: UIKit.UITextField) -> Swift.Bool + @objc open func textFieldDidEndEditing(_ textField: UIKit.UITextField) + @objc open func textFieldShouldReturn(_ textField: UIKit.UITextField) -> Swift.Bool + @objc open var hasText: Swift.Bool { + @objc get + } + @objc open func insertText(_ text: Swift.String) + @objc open func deleteBackward() + @objc open class func keyPathsForValuesAffectingIsValid() -> Swift.Set + @objc deinit +} +@objc public protocol STPPaymentCardTextFieldDelegate : ObjectiveC.NSObjectProtocol { + @objc optional func paymentCardTextFieldDidChange(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditing(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldWillEndEditing(forReturn textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditing(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingNumber(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingNumber(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingExpiration(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingExpiration(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingPostalCode(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingPostalCode(_ textField: Stripe.STPPaymentCardTextField) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceSEPADebitDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var last4: Swift.String? { + get + } + @objc public var bankCode: Swift.String? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var mandateReference: Swift.String? { + get + } + @objc public var mandateURL: Foundation.URL? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBacsDebitParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var accountNumber: Swift.String? + @objc public var sortCode: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodiDEALParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var bankName: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPAPIResponseDecodable : ObjectiveC.NSObjectProtocol { + @objc static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc var allResponseFields: [Swift.AnyHashable : Any] { get } +} +extension STPAPIClient { + public func createToken(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPTokenCompletionBlock) + public func createSource(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPSourceCompletionBlock) + public func createPaymentMethod(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) +} +@objc @_inheritsConvenienceInitializers public class STPPaymentIntentParams : ObjectiveC.NSObject { + @objc public init(clientSecret: Swift.String) + @objc public var stripeId: Swift.String? { + @objc get + } + @objc public var clientSecret: Swift.String + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? + @objc public var paymentMethodId: Swift.String? + @objc public var sourceParams: Stripe.STPSourceParams? + @objc public var sourceId: Swift.String? + @objc public var receiptEmail: Swift.String? + @objc public var savePaymentMethod: Foundation.NSNumber? + @objc public var returnURL: Swift.String? + public var setupFutureUsage: Stripe.STPPaymentIntentSetupFutureUsage? + @available(swift, obsoleted: 1.0, renamed: "setupFutureUsage") + @objc(setupFutureUsage) public var setupFutureUsage_objc: Foundation.NSNumber? { + @objc get + @objc set + } + @objc public var useStripeSDK: Foundation.NSNumber? + @objc public var mandateData: Stripe.STPMandateDataParams? { + @objc get + @objc set + } + @objc public var paymentMethodOptions: Stripe.STPConfirmPaymentMethodOptions? + @objc public var shipping: Stripe.STPPaymentIntentShippingDetailsParams? + @available(*, deprecated, renamed: "returnURL") + @objc public var returnUrl: Swift.String? { + @objc get + @objc set(returnUrl) + } + @available(*, deprecated, renamed: "savePaymentMethod") + @objc public var saveSourceToCustomer: Foundation.NSNumber? { + @objc get + @objc set(saveSourceToCustomer) + } + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public func configure(with paymentResult: Stripe.STPPaymentResult) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit +} +extension STPPaymentIntentParams : Stripe.STPFormEncodable { + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] +} +extension STPPaymentIntentParams : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodSEPADebit : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var bankCode: Swift.String? { + get + } + @objc public var branchCode: Swift.String? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var mandate: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@_hasMissingDesignatedInitializers @available(swift, deprecated: 0.0.1, renamed: "STPAPIClient") +@objc(STPAPIClient) public class _stpobjc_STPAPIClient : ObjectiveC.NSObject { + @objc public static let STPSDKVersion: Swift.String + @available(swift, deprecated: 0.0.1) + @objc(sharedClient) public static let shared: Stripe._stpobjc_STPAPIClient + @objc public var publishableKey: Swift.String? { + @objc get + @objc set + } + @objc public var configuration: Stripe.STPPaymentConfiguration { + @objc get + @objc set + } + @objc public var stripeAccount: Swift.String? { + @objc get + @objc set + } + @objc public var appInfo: Stripe._stpobjc_STPAppInfo? { + @objc get + @objc set + } + @objc public static let apiVersion: Swift.String + @objc public init(publishableKey: Swift.String) + @available(*, deprecated, message: "This initializer previously configured publishableKey and stripeAccount via the STPPaymentConfiguration instance. This behavior is deprecated; set the STPAPIClient configuration, publishableKey, and stripeAccount properties directly on the STPAPIClient instead.") + @objc public init(configuration: Stripe.STPPaymentConfiguration) + @objc public func createToken(withBankAccount bankAccount: Stripe.STPBankAccountParams, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc public func createToken(withPersonalIDNumber pii: Swift.String, completion: Stripe.STPTokenCompletionBlock?) + @objc public func createToken(withSSNLast4 ssnLast4: Swift.String, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc public func createToken(withConnectAccount account: Stripe.STPConnectAccountParams, completion: Stripe.STPTokenCompletionBlock?) + @objc public func uploadImage(_ image: UIKit.UIImage, purpose: Stripe.STPFilePurpose, completion: Stripe.STPFileCompletionBlock?) + @objc public func createToken(withCard cardParams: Stripe.STPCardParams, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc public func createToken(forCVCUpdate cvc: Swift.String, completion: Stripe.STPTokenCompletionBlock? = nil) + @objc(createSourceWithParams:completion:) public func createSource(with sourceParams: Stripe.STPSourceParams, completion: @escaping Stripe.STPSourceCompletionBlock) + @objc public func retrieveSource(withId identifier: Swift.String, clientSecret secret: Swift.String, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + @objc public func startPollingSource(withId identifier: Swift.String, clientSecret secret: Swift.String, timeout: Foundation.TimeInterval, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + @objc public func stopPollingSource(withId identifier: Swift.String) + @objc public func retrievePaymentIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc public func retrievePaymentIntent(withClientSecret secret: Swift.String, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc(confirmPaymentIntentWithParams:completion:) dynamic public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc(confirmPaymentIntentWithParams:expand:completion:) public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc public func retrieveSetupIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPSetupIntentCompletionBlock) + @objc(confirmSetupIntentWithParams:completion:) dynamic public func confirmSetupIntent(with setupIntentParams: Stripe.STPSetupIntentConfirmParams, completion: @escaping Stripe.STPSetupIntentCompletionBlock) + @objc(createPaymentMethodWithParams:completion:) public func createPaymentMethod(with paymentMethodParams: Stripe.STPPaymentMethodParams, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) + @objc public func createRadarSession(completion: @escaping Stripe.STPRadarSessionCompletionBlock) + @objc(createTokenWithPayment:completion:) public func createToken(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc(createSourceWithPayment:completion:) public func createSource(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPSourceCompletionBlock) + @objc(createPaymentMethodWithPayment:completion:) public func createPaymentMethod(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) + @objc public class func pkPaymentError(forStripeError stripeError: Swift.Error?) -> Swift.Error? + @objc override dynamic public init() + @objc deinit +} +@objc(STPPaymentContext) public class STPPaymentContext : ObjectiveC.NSObject, Stripe.STPAuthenticationContext, Stripe.STPPaymentOptionsViewControllerDelegate, Stripe.STPShippingAddressViewControllerDelegate { + @objc convenience public init(customerContext: Stripe.STPCustomerContext) + @objc convenience public init(customerContext: Stripe.STPCustomerContext, configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc convenience public init(apiAdapter: Stripe.STPBackendAPIAdapter) + @objc public init(apiAdapter: Stripe.STPBackendAPIAdapter, configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc public var apiAdapter: Stripe.STPBackendAPIAdapter { + get + } + @objc public var configuration: Stripe.STPPaymentConfiguration { + get + } + @objc public var theme: Stripe.STPTheme { + get + } + @objc public var prefilledInformation: Stripe.STPUserInformation? { + @objc get + @objc set(prefilledInformation) + } + @objc weak public var hostViewController: UIKit.UIViewController? { + @objc get + @objc set(hostViewController) + } + @objc weak public var delegate: Stripe.STPPaymentContextDelegate? { + @objc get + @objc set(delegate) + } + @objc public var loading: Swift.Bool { + @objc get + } + @objc public var defaultPaymentMethod: Swift.String? + @objc public var selectedPaymentOption: Stripe.STPPaymentOption? { + @objc get + } + @objc public var paymentOptions: [Stripe.STPPaymentOption]? { + @objc get + } + @objc public var selectedShippingMethod: PassKit.PKShippingMethod? { + get + } + @objc public var shippingMethods: [PassKit.PKShippingMethod]? { + @objc get + } + @objc public var shippingAddress: Stripe.STPAddress? { + get + } + @objc public var paymentAmount: Swift.Int { + @objc get + @objc set(paymentAmount) + } + @objc public var paymentCurrency: Swift.String + @objc public var paymentCountry: Swift.String + @objc public var paymentSummaryItems: [PassKit.PKPaymentSummaryItem] { + @objc get + @objc set(paymentSummaryItems) + } + @objc public var modalPresentationStyle: UIKit.UIModalPresentationStyle + @objc public var largeTitleDisplayMode: UIKit.UINavigationItem.LargeTitleDisplayMode + @objc public var paymentOptionsViewControllerFooterView: UIKit.UIView? + @objc public var addCardViewControllerFooterView: UIKit.UIView? + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public func retryLoading() + @objc public func presentPaymentOptionsViewController() + @objc public func pushPaymentOptionsViewController() + @objc public func presentShippingViewController() + @objc public func pushShippingViewController() + @objc public func requestPayment() + @objc public func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didSelect paymentOption: Stripe.STPPaymentOption) + @objc public func paymentOptionsViewControllerDidFinish(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc public func paymentOptionsViewControllerDidCancel(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc public func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didFailToLoadWithError error: Swift.Error) + @objc public func shippingAddressViewControllerDidCancel(_ addressViewController: Stripe.STPShippingAddressViewController) + @objc public func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didEnter address: Stripe.STPAddress, completion: @escaping Stripe.STPShippingMethodsCompletionBlock) + @objc public func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didFinishWith address: Stripe.STPAddress, shippingMethod method: PassKit.PKShippingMethod?) + @objc public func authenticationPresentingViewController() -> UIKit.UIViewController + @objc public func prepare(forPresentation completion: @escaping StripeApplePay.STPVoidBlock) + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPPaymentContextDelegate : ObjectiveC.NSObjectProtocol { + @objc func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didFailToLoadWithError error: Swift.Error) + @objc func paymentContextDidChange(_ paymentContext: Stripe.STPPaymentContext) + @objc func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didCreatePaymentResult paymentResult: Stripe.STPPaymentResult, completion: @escaping Stripe.STPPaymentStatusBlock) + @objc func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didFinishWith status: Stripe.STPPaymentStatus, error: Swift.Error?) + @objc optional func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didUpdateShippingAddress address: Stripe.STPAddress, completion: @escaping Stripe.STPShippingMethodsCompletionBlock) +} +@_hasMissingDesignatedInitializers @objc(STPAppInfo) public class _stpobjc_STPAppInfo : ObjectiveC.NSObject { + @objc public init(name: Swift.String, partnerId: Swift.String?, version: Swift.String?, url: Swift.String?) + @objc public var name: Swift.String { + @objc get + } + @objc public var partnerId: Swift.String? { + @objc get + } + @objc public var version: Swift.String? { + @objc get + } + @objc public var url: Swift.String? { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +@objc public class STPPaymentIntentShippingDetailsParams : ObjectiveC.NSObject { + @objc public var address: Stripe.STPPaymentIntentShippingDetailsAddressParams + @objc public var name: Swift.String + @objc public var carrier: Swift.String? + @objc public var phone: Swift.String? + @objc public var trackingNumber: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(address: Stripe.STPPaymentIntentShippingDetailsAddressParams, name: Swift.String) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetailsParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +extension STPPaymentIntentShippingDetailsParams : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc @_inheritsConvenienceInitializers public class STPConfirmCardOptions : ObjectiveC.NSObject { + @objc public var cvc: Swift.String? + @objc public var network: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPConfirmCardOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, unavailable, renamed: "STPIntentAction", message: "Use `STPIntentAction` instead.") +@objc final public class STPPaymentIntentSourceAction : Stripe.STPIntentAction { + @objc deinit +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension STPPaymentCardTextField { + public struct Representable : SwiftUI.UIViewRepresentable { + public init(paymentMethodParams: SwiftUI.Binding) + public func makeCoordinator() -> Stripe.STPPaymentCardTextField.Representable.Coordinator + public func makeUIView(context: Stripe.STPPaymentCardTextField.Representable.Context) -> Stripe.STPPaymentCardTextField + public func updateUIView(_ paymentCardField: Stripe.STPPaymentCardTextField, context: Stripe.STPPaymentCardTextField.Representable.Context) + @objc @_hasMissingDesignatedInitializers public class Coordinator : ObjectiveC.NSObject, Stripe.STPPaymentCardTextFieldDelegate { + @objc public func paymentCardTextFieldDidChange(_ cardField: Stripe.STPPaymentCardTextField) + @objc deinit + @objc override dynamic public init() + } + public typealias UIViewType = Stripe.STPPaymentCardTextField + public typealias Body = Swift.Never + } +} +@objc public enum STPSourceRedirectStatus : Swift.Int { + case pending + case succeeded + case failed + case notRequired + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPSourceRedirect : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var returnURL: Foundation.URL { + get + } + @objc public var status: Stripe.STPSourceRedirectStatus { + get + } + @objc public var url: Foundation.URL { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSNavigationBarCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSNavigationBarCustomization + @objc public var barTintColor: UIKit.UIColor? { + @objc get + @objc set(barTintColor) + } + @objc public var barStyle: UIKit.UIBarStyle { + @objc get + @objc set(barStyle) + } + @objc public var translucent: Swift.Bool { + @objc get + @objc set(translucent) + } + @objc public var headerText: Swift.String { + @objc get + @objc set(headerText) + } + @objc public var buttonText: Swift.String { + @objc get + @objc set(buttonText) + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set(textColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSource : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPSourceProtocol, Stripe.STPPaymentOption { + @objc public var amount: Foundation.NSNumber? { + get + } + @objc public var clientSecret: Swift.String? { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var currency: Swift.String? { + get + } + @objc public var flow: Stripe.STPSourceFlow { + get + } + @objc public var livemode: Swift.Bool { + get + } + @objc public var owner: Stripe.STPSourceOwner? { + get + } + @objc public var receiver: Stripe.STPSourceReceiver? { + get + } + @objc public var redirect: Stripe.STPSourceRedirect? { + get + } + @objc public var status: Stripe.STPSourceStatus { + get + } + @objc public var type: Stripe.STPSourceType { + get + } + @objc public var usage: Stripe.STPSourceUsage { + get + } + @objc public var verification: Stripe.STPSourceVerification? { + get + } + @objc public var details: [Swift.AnyHashable : Any]? { + get + } + @objc public var cardDetails: Stripe.STPSourceCardDetails? { + get + } + @objc public var klarnaDetails: Stripe.STPSourceKlarnaDetails? { + get + } + @objc public var sepaDebitDetails: Stripe.STPSourceSEPADebitDetails? { + get + } + @objc public var weChatPayDetails: Stripe.STPSourceWeChatPayDetails? { + get + } + @available(*, deprecated, message: "Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @objc public var stripeID: Swift.String + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc deinit +} +@objc public enum STPFilePurpose : Swift.Int { + case identityDocument + case disputeEvidence + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPFile : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var fileId: Swift.String? { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var purpose: Stripe.STPFilePurpose { + get + } + @objc public var size: Foundation.NSNumber? { + get + } + @objc public var type: Swift.String? { + get + } + @objc(stringFromPurpose:) public class func string(from purpose: Stripe.STPFilePurpose) -> Swift.String? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public protocol STPFormTextFieldContainer : ObjectiveC.NSObjectProtocol { + @objc dynamic var formFont: UIKit.UIFont { get set } + @objc dynamic var formTextColor: UIKit.UIColor { get set } + @objc dynamic var formTextErrorColor: UIKit.UIColor { get set } + @objc dynamic var formPlaceholderColor: UIKit.UIColor { get set } + @objc dynamic var formCursorColor: UIKit.UIColor { get set } + @objc dynamic var formKeyboardAppearance: UIKit.UIKeyboardAppearance { get set } +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBoletoParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var taxID: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc public class STPPushProvisioningContext : ObjectiveC.NSObject { + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public class func requestConfiguration(withName name: Swift.String, description: Swift.String?, last4: Swift.String?, brand: Stripe.STPCardBrand) -> PassKit.PKAddPaymentPassRequestConfiguration + @objc public init(keyProvider: Stripe.STPIssuingCardEphemeralKeyProvider) + @objc public func addPaymentPassViewController(_ controller: PassKit.PKAddPaymentPassViewController, generateRequestWithCertificateChain certificates: [Foundation.Data], nonce: Foundation.Data, nonceSignature: Foundation.Data, completionHandler handler: @escaping (PassKit.PKAddPaymentPassRequest) -> Swift.Void) + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPPaymentHandlerActionStatus : Swift.Int { + case succeeded + case canceled + case failed + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentHandlerErrorCode : Swift.Int { + @objc(STPPaymentHandlerUnsupportedAuthenticationErrorCode) case unsupportedAuthenticationErrorCode + @objc(STPPaymentHandlerRequiredAppNotAvailableErrorCode) case requiredAppNotAvailable + @objc(STPPaymentHandlerRequiresPaymentMethodErrorCode) case requiresPaymentMethodErrorCode + @objc(STPPaymentHandlerIntentStatusErrorCode) case intentStatusErrorCode + @objc(STPPaymentHandlerTimedOutErrorCode) case timedOutErrorCode + @objc(STPPaymentHandlerStripe3DS2ErrorCode) case stripe3DS2ErrorCode + @objc(STPPaymentHandlerNotAuthenticatedErrorCode) case notAuthenticatedErrorCode + @objc(STPPaymentHandlerNoConcurrentActionsErrorCode) case noConcurrentActionsErrorCode + @objc(STPPaymentHandlerRequiresAuthenticationContextErrorCode) case requiresAuthenticationContextErrorCode + @objc(STPPaymentHandlerPaymentErrorCode) case paymentErrorCode + @objc(STPPaymentHandlerInvalidClientSecret) case invalidClientSecret + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPPaymentHandlerActionPaymentIntentCompletionBlock = (Stripe.STPPaymentHandlerActionStatus, Stripe.STPPaymentIntent?, Foundation.NSError?) -> Swift.Void +public typealias STPPaymentHandlerActionSetupIntentCompletionBlock = (Stripe.STPPaymentHandlerActionStatus, Stripe.STPSetupIntent?, Foundation.NSError?) -> Swift.Void +@objc @_hasMissingDesignatedInitializers @available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +public class STPPaymentHandler : ObjectiveC.NSObject, SafariServices.SFSafariViewControllerDelegate { + @objc public static let errorDomain: Swift.String + @objc public static let sharedHandler: Stripe.STPPaymentHandler + @objc public class func shared() -> Stripe.STPPaymentHandler + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public var threeDSCustomizationSettings: Stripe.STPThreeDSCustomizationSettings + @objc public var simulateAppToAppRedirect: Swift.Bool { + @objc get + @objc set + } + @objc(confirmPayment:withAuthenticationContext:completion:) public func confirmPayment(_ paymentParams: Stripe.STPPaymentIntentParams, with authenticationContext: Stripe.STPAuthenticationContext, completion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) + @available(*, deprecated, renamed: "confirmPayment(_:with:completion:)", message: "Use confirmPayment(_:with:completion:) instead") + public func confirmPayment(withParams: Stripe.STPPaymentIntentParams, authenticationContext: Stripe.STPAuthenticationContext, completion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) + @objc(handleNextActionForPayment:withAuthenticationContext:returnURL:completion:) public func handleNextAction(forPayment paymentIntentClientSecret: Swift.String, with authenticationContext: Stripe.STPAuthenticationContext, returnURL: Swift.String?, completion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) + @objc(confirmSetupIntent:withAuthenticationContext:completion:) public func confirmSetupIntent(_ setupIntentConfirmParams: Stripe.STPSetupIntentConfirmParams, with authenticationContext: Stripe.STPAuthenticationContext, completion: @escaping Stripe.STPPaymentHandlerActionSetupIntentCompletionBlock) + @objc(handleNextActionForSetupIntent:withAuthenticationContext:returnURL:completion:) public func handleNextAction(forSetupIntent setupIntentClientSecret: Swift.String, with authenticationContext: Stripe.STPAuthenticationContext, returnURL: Swift.String?, completion: @escaping Stripe.STPPaymentHandlerActionSetupIntentCompletionBlock) + @objc public func safariViewControllerDidFinish(_ controller: SafariServices.SFSafariViewController) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSSelectionCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSSelectionCustomization + @objc public var primarySelectedColor: UIKit.UIColor { + @objc get + @objc set(primarySelectedColor) + } + @objc public var secondarySelectedColor: UIKit.UIColor { + @objc get + @objc set(secondarySelectedColor) + } + @objc public var unselectedBackgroundColor: UIKit.UIColor { + @objc get + @objc set(unselectedBackgroundColor) + } + @objc public var unselectedBorderColor: UIKit.UIColor { + @objc get + @objc set(unselectedBorderColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPPaymentMethodType : Swift.Int { + case card + case alipay + case grabPay + @objc(STPPaymentMethodTypeiDEAL) case iDEAL + case FPX + case cardPresent + @objc(STPPaymentMethodTypeSEPADebit) case SEPADebit + @objc(STPPaymentMethodTypeAUBECSDebit) case AUBECSDebit + case bacsDebit + case giropay + case przelewy24 + @objc(STPPaymentMethodTypeEPS) case EPS + case bancontact + case netBanking + @objc(STPPaymentMethodTypeOXXO) case OXXO + case sofort + case UPI + case payPal + case afterpayClearpay + @objc(STPPaymentMethodTypeBLIK) case blik + case weChatPay + case boleto + case link + case klarna + case linkInstantDebit + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPUserInformation : ObjectiveC.NSObject, Foundation.NSCopying { + @objc public var billingAddress: Stripe.STPAddress? + @objc public var shippingAddress: Stripe.STPAddress? + @objc(setBillingAddressWithBillingDetails:) public func setBillingAddress(with billingDetails: Stripe.STPPaymentMethodBillingDetails) + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPFakeAddPaymentPassViewController : UIKit.UIViewController { + @objc public class func canAddPaymentPass() -> Swift.Bool + @objc(initWithRequestConfiguration:delegate:) required public init?(requestConfiguration configuration: PassKit.PKAddPaymentPassRequestConfiguration, delegate: PassKit.PKAddPaymentPassViewControllerDelegate?) + @objc weak public var delegate: PassKit.PKAddPaymentPassViewControllerDelegate? + @objc convenience override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required convenience dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public func viewDidLoad() + @objc deinit +} +@objc public enum STPSourceCard3DSecureStatus : Swift.Int { + case required + case optional + case notSupported + case recommended + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPSourceCardDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var last4: Swift.String? { + get + } + @objc public var expMonth: Swift.UInt { + get + } + @objc public var expYear: Swift.UInt { + get + } + @objc public var brand: Stripe.STPCardBrand { + get + } + @objc public var funding: Stripe.STPCardFundingType { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var threeDSecure: Stripe.STPSourceCard3DSecureStatus { + get + } + @objc public var isApplePayCard: Swift.Bool { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPIssuingCardPin : ObjectiveC.NSObject { + @objc final public let pin: Swift.String? + @objc final public let error: [Swift.AnyHashable : Any]? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc deinit +} +extension STPIssuingCardPin : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodThreeDSecureUsage : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var supported: Swift.Bool { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionBoletoDisplayDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let number: Swift.String + @objc final public let expiresAt: Foundation.Date + @objc final public let hostedVoucherURL: Foundation.URL + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc(_stpinternal_apContextDelegate) public protocol STPApplePayContextDelegate : StripeApplePay._stpinternal_STPApplePayContextDelegateBase { + @objc(applePayContext:didCreatePaymentMethod:paymentInformation:completion:) func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, paymentInformation: PassKit.PKPayment, completion: @escaping StripeApplePay.STPIntentClientSecretCompletionBlock) + @objc(applePayContext:didCompleteWithStatus:error:) func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCompleteWith status: Stripe.STPPaymentStatus, error: Swift.Error?) +} +@objc(STPApplePayContextDelegate) public protocol _stpobjc_APContextDelegate : ObjectiveC.NSObjectProtocol { + @objc(applePayContext:didCreatePaymentMethod:paymentInformation:completion:) func applePayContext(_ context: Stripe._stpobjc_APContext, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, paymentInformation: PassKit.PKPayment, completion: @escaping StripeApplePay.STPIntentClientSecretCompletionBlock) + @objc(applePayContext:didCompleteWithStatus:error:) func applePayContext(_ context: Stripe._stpobjc_APContext, didCompleteWith status: Stripe.STPPaymentStatus, error: Swift.Error?) + @objc(applePayContext:didSelectShippingMethod:handler:) optional func applePayContext(_ context: Stripe._stpobjc_APContext, didSelect shippingMethod: PassKit.PKShippingMethod, handler: @escaping (PassKit.PKPaymentRequestShippingMethodUpdate) -> Swift.Void) + @objc optional func applePayContext(_ context: Stripe._stpobjc_APContext, didSelectShippingContact contact: PassKit.PKContact, handler: @escaping (PassKit.PKPaymentRequestShippingContactUpdate) -> Swift.Void) +} +@_hasMissingDesignatedInitializers @objc(STPApplePayContext) public class _stpobjc_APContext : ObjectiveC.NSObject { + @objc(initWithPaymentRequest:delegate:) required public init?(paymentRequest: PassKit.PKPaymentRequest, delegate: Stripe._stpobjc_APContextDelegate?) + @available(*, deprecated, renamed: "presentApplePay(completion:)", message: "Use `presentApplePay(completion:)` instead.") + @objc(presentApplePayOnViewController:completion:) public func presentApplePay(on viewController: UIKit.UIViewController, completion: StripeApplePay.STPVoidBlock? = nil) + @available(iOSApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + @available(macCatalystApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + @objc(presentApplePayWithCompletion:) public func presentApplePay(completion: StripeApplePay.STPVoidBlock? = nil) + @objc(presentApplePayFromWindow:withCompletion:) public func presentApplePay(from window: UIKit.UIWindow?, completion: StripeApplePay.STPVoidBlock? = nil) + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPCoreViewController : UIKit.UIViewController { + @objc convenience dynamic public init() + @objc required public init(theme: Stripe.STPTheme?) + @objc required override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public func viewDidLoad() + @objc override dynamic public func viewWillAppear(_ animated: Swift.Bool) + @objc override dynamic public func viewWillDisappear(_ animated: Swift.Bool) + @objc override dynamic public var preferredStatusBarStyle: UIKit.UIStatusBarStyle { + @objc get + } + @objc deinit +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension View { + public func paymentConfirmationSheet(isConfirmingPayment: SwiftUI.Binding, paymentIntentParams: Stripe.STPPaymentIntentParams, onCompletion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) -> some SwiftUI.View + + public func setupIntentConfirmationSheet(isConfirmingSetupIntent: SwiftUI.Binding, setupIntentParams: Stripe.STPSetupIntentConfirmParams, onCompletion: @escaping Stripe.STPPaymentHandlerActionSetupIntentCompletionBlock) -> some SwiftUI.View + +} +@objc @_inheritsConvenienceInitializers public class STPPaymentConfiguration : ObjectiveC.NSObject, Foundation.NSCopying { + @objc(sharedConfiguration) public static var shared: Stripe.STPPaymentConfiguration + @objc public var applePayEnabled: Swift.Bool { + @objc get + @objc set + } + @objc public var fpxEnabled: Swift.Bool + @objc public var requiredBillingAddressFields: Stripe.STPBillingAddressFields + @objc public var requiredShippingAddressFields: Swift.Set? + @objc public var verifyPrefilledShippingAddress: Swift.Bool + @objc public var shippingType: Stripe.STPShippingType + @objc public var availableCountries: Swift.Set + @objc public var companyName: Swift.String + @objc public var appleMerchantIdentifier: Swift.String? + @objc public var canDeletePaymentOptions: Swift.Bool + @objc public var cardScanningEnabled: Swift.Bool + @available(*, deprecated, message: "additionalPaymentOptions has been removed. Set applePayEnabled and fpxEnabled on STPPaymentConfiguration instead.") + @objc public var additionalPaymentOptions: Swift.Int + @available(*, deprecated, message: "If you used STPPaymentConfiguration.shared.publishableKey, use STPAPIClient.shared.publishableKey instead. If you passed a STPPaymentConfiguration instance to an SDK component, create an STPAPIClient, set publishableKey on it, and set the SDK component's APIClient property.") + @objc public var publishableKey: Swift.String? { + @objc get + @objc set(publishableKey) + } + @available(*, deprecated, message: "If you used STPPaymentConfiguration.shared.stripeAccount, use STPAPIClient.shared.stripeAccount instead. If you passed a STPPaymentConfiguration instance to an SDK component, create an STPAPIClient, set stripeAccount on it, and set the SDK component's APIClient property.") + @objc public var stripeAccount: Swift.String? { + @objc get + @objc set(stripeAccount) + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodNetBanking : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var bank: Swift.String { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPConfirmPaymentMethodOptions : ObjectiveC.NSObject { + @objc public var cardOptions: Stripe.STPConfirmCardOptions? + @objc public var alipayOptions: Stripe.STPConfirmAlipayOptions? + @objc public var blikOptions: Stripe.STPConfirmBLIKOptions? + @objc public var weChatPayOptions: Stripe.STPConfirmWeChatPayOptions? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPConfirmPaymentMethodOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAddress : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var city: Swift.String? + @objc public var country: Swift.String? + @objc public var line1: Swift.String? + @objc public var line2: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var state: Swift.String? + @objc public init(address: Stripe.STPAddress) + @objc required override dynamic public init() + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceOwner : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var address: Stripe.STPAddress? { + get + } + @objc public var email: Swift.String? { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var phone: Swift.String? { + get + } + @objc public var verifiedAddress: Stripe.STPAddress? { + get + } + @objc public var verifiedEmail: Swift.String? { + get + } + @objc public var verifiedName: Swift.String? { + get + } + @objc public var verifiedPhone: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public protocol STPPaymentOption : ObjectiveC.NSObjectProtocol { + @objc var image: UIKit.UIImage { get } + @objc var templateImage: UIKit.UIImage { get } + @objc var label: Swift.String { get } + @objc var isReusable: Swift.Bool { get } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentActivityIndicatorView : UIKit.UIView { + @objc public func setAnimating(_ animating: Swift.Bool, animated: Swift.Bool) + @objc public var animating: Swift.Bool { + @objc get + @objc set(animating) + } + @objc public var hidesWhenStopped: Swift.Bool { + @objc get + @objc set(hidesWhenStopped) + } + @objc override dynamic public var tintColor: UIKit.UIColor! { + @objc get + @objc set(tintColor) + } + @objc override dynamic public func layoutSubviews() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodEPSParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers final public class STPTheme : ObjectiveC.NSObject { + @objc public static let defaultTheme: Stripe.STPTheme + @available(*, deprecated, renamed: "defaultTheme", message: "Use defaultTheme instead") + public static func `default`() -> Stripe.STPTheme + @objc final public var primaryBackgroundColor: UIKit.UIColor + @objc final public var secondaryBackgroundColor: UIKit.UIColor + @objc final public var tertiaryBackgroundColor: UIKit.UIColor { + @objc get + } + @objc final public var quaternaryBackgroundColor: UIKit.UIColor { + @objc get + } + @objc final public var primaryForegroundColor: UIKit.UIColor + @objc final public var secondaryForegroundColor: UIKit.UIColor + @objc final public var tertiaryForegroundColor: UIKit.UIColor { + @objc get + } + @objc final public var accentColor: UIKit.UIColor + @objc final public var errorColor: UIKit.UIColor + @objc final public var font: UIKit.UIFont { + @objc get + @objc set + } + @objc final public var emphasisFont: UIKit.UIFont { + @objc get + @objc set + } + @objc final public var barStyle: UIKit.UIBarStyle { + @objc get + @objc set + } + @objc final public var translucentNavigationBar: Swift.Bool + @objc final public var smallFont: UIKit.UIFont { + @objc get + } + @objc final public var largeFont: UIKit.UIFont { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPTheme : Foundation.NSCopying { + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc public protocol STPAuthenticationContext : ObjectiveC.NSObjectProtocol { + @objc func authenticationPresentingViewController() -> UIKit.UIViewController + @objc(prepareAuthenticationContextForPresentation:) optional func prepare(forPresentation completion: @escaping StripeApplePay.STPVoidBlock) + @objc optional func configureSafariViewController(_ viewController: SafariServices.SFSafariViewController) + @objc(authenticationContextWillDismissViewController:) optional func authenticationContextWillDismiss(_ viewController: UIKit.UIViewController) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodiDEAL : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var bankName: Swift.String? { + get + } + @objc public var bankIdentifierCode: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public class STPPinManagementService : ObjectiveC.NSObject { + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public init(keyProvider: Stripe.STPIssuingCardEphemeralKeyProvider) + @objc public func retrievePin(_ cardId: Swift.String, verificationId: Swift.String, oneTimeCode: Swift.String, completion: @escaping Stripe.STPPinCompletionBlock) + @objc public func updatePin(_ cardId: Swift.String, newPin: Swift.String, verificationId: Swift.String, oneTimeCode: Swift.String, completion: @escaping Stripe.STPPinCompletionBlock) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPAddCardViewController : Stripe.STPCoreTableViewController, Stripe.STPPaymentCardTextFieldDelegate, UIKit.UITableViewDelegate, UIKit.UITableViewDataSource { + @objc convenience dynamic public init() + @objc(initWithConfiguration:theme:) public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc weak public var delegate: Stripe.STPAddCardViewControllerDelegate? + @objc public var prefilledInformation: Stripe.STPUserInformation? + @objc public var customFooterView: UIKit.UIView? { + @objc get + @objc set(footerView) + } + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public func tableView(_ tableView: UIKit.UITableView, estimatedHeightForRowAt indexPath: Foundation.IndexPath) -> CoreGraphics.CGFloat + @objc override dynamic public func viewDidLayoutSubviews() + @objc public func updateAppearance() + @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool) + @objc public func handleCancelTapped(_ sender: Any?) + @objc public func paymentCardTextFieldDidChange(_ textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldWillEndEditing(forReturn textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldDidBeginEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldDidEndEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldDidBeginEditing(_ textField: Stripe.STPPaymentCardTextField) + @objc public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell + @objc public func tableView(_ tableView: UIKit.UITableView, willDisplay cell: UIKit.UITableViewCell, forRowAt indexPath: Foundation.IndexPath) + @objc public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc override public func tableView(_ tableView: UIKit.UITableView, heightForHeaderInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc public func tableView(_ tableView: UIKit.UITableView, viewForHeaderInSection section: Swift.Int) -> UIKit.UIView? + @objc public func tableView(_ tableView: UIKit.UITableView, viewForFooterInSection section: Swift.Int) -> UIKit.UIView? + @objc override dynamic public func viewWillTransition(to size: CoreGraphics.CGSize, with coordinator: UIKit.UIViewControllerTransitionCoordinator) + @objc deinit +} +@objc public protocol STPAddCardViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc func addCardViewControllerDidCancel(_ addCardViewController: Stripe.STPAddCardViewController) + @objc func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, completion: @escaping Stripe.STPErrorBlock) + @available(*, deprecated, renamed: "addCardViewController(_:didCreatePaymentMethod:completion:)", message: "Use addCardViewController(_:didCreatePaymentMethod:completion:) instead and migrate your integration to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read") + @objc optional func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreateToken token: Stripe.STPToken, completion: (Swift.Error?) -> Swift.Void) + @available(*, deprecated, renamed: "addCardViewController(_:didCreatePaymentMethod:completion:)", message: "Use addCardViewController(_:didCreatePaymentMethod:completion:) instead and migrate your integration to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read") + @objc optional func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreateSource source: Stripe.STPSource, completion: (Swift.Error?) -> Swift.Void) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentOptionsViewController : Stripe.STPCoreViewController, Stripe.STPAddCardViewControllerDelegate { + @objc(initWithPaymentContext:) convenience public init(paymentContext: Stripe.STPPaymentContext) + @objc(initWithConfiguration:theme:customerContext:delegate:) convenience public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme, customerContext: Stripe.STPCustomerContext, delegate: Stripe.STPPaymentOptionsViewControllerDelegate) + @objc(initWithConfiguration:theme:apiAdapter:delegate:) public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme, apiAdapter: Stripe.STPBackendAPIAdapter, delegate: Stripe.STPPaymentOptionsViewControllerDelegate) + @objc public var prefilledInformation: Stripe.STPUserInformation? + @objc public var defaultPaymentMethod: Swift.String? + @objc public var paymentOptionsViewControllerFooterView: UIKit.UIView? + @objc public var addCardViewControllerFooterView: UIKit.UIView? + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc(dismissWithCompletion:) public func dismiss(withCompletion completion: StripeApplePay.STPVoidBlock?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required public init(theme: Stripe.STPTheme?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public func viewDidLayoutSubviews() + @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool) + @objc public func addCardViewControllerDidCancel(_ addCardViewController: Stripe.STPAddCardViewController) + @objc public func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, completion: @escaping Stripe.STPErrorBlock) + @objc deinit +} +@objc public protocol STPPaymentOptionsViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didFailToLoadWithError error: Swift.Error) + @objc func paymentOptionsViewControllerDidFinish(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc func paymentOptionsViewControllerDidCancel(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc(paymentOptionsViewController:didSelectPaymentOption:) optional func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didSelect paymentOption: Stripe.STPPaymentOption) +} +@frozen public enum PaymentSheetResult { + case completed + case canceled + case failed(error: Swift.Error) +} +@_hasMissingDesignatedInitializers public class PaymentSheet { + final public let configuration: Stripe.PaymentSheet.Configuration + public var mostRecentError: Swift.Error? { + get + } + convenience public init(paymentIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration) + convenience public init(setupIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public func present(from presentingViewController: UIKit.UIViewController, completion: @escaping (Stripe.PaymentSheetResult) -> ()) + @objc deinit +} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +@objc(STPErrorCode) public enum _stpobjc_STPErrorCode : Swift.Int { + @objc(STPConnectionError) case connectionError = 40 + @objc(STPInvalidRequestError) case invalidRequestError = 50 + @objc(STPAuthenticationError) case authenticationError = 51 + @objc(STPAPIError) case apiError = 60 + @objc(STPCardError) case cardError = 70 + @objc(STPCancellationError) case cancellationError = 80 + @objc(STPEphemeralKeyDecodingError) case ephemeralKeyDecodingError = 1000 + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @available(swift, deprecated: 0.0.1, renamed: "STPError") +@objc(STPError) public class _stpobjc_STPError : ObjectiveC.NSObject { + @objc public static let stripeDomain: Swift.String + @objc public static let errorMessageKey: Swift.String + @objc public static let hintKey: Swift.String + @objc public static let cardErrorCodeKey: Swift.String + @objc public static let errorParameterKey: Swift.String + @objc public static let stripeErrorCodeKey: Swift.String + @objc public static let stripeErrorTypeKey: Swift.String + @objc public static let stripeDeclineCodeKey: Swift.String + @objc public static let invalidNumber: Swift.String + @objc public static let invalidExpMonth: Swift.String + @objc public static let invalidExpYear: Swift.String + @objc public static let invalidCVC: Swift.String + @objc public static let incorrectNumber: Swift.String + @objc public static let expiredCard: Swift.String + @objc public static let cardDeclined: Swift.String + @objc public static let processingError: Swift.String + @objc public static let incorrectCVC: Swift.String + @objc public static let incorrectZip: Swift.String + @objc deinit + @objc override dynamic public init() +} +@objc extension NSError { + @available(swift, deprecated: 0.0.1, renamed: "stp_error(fromStripeResponse:)") + @objc(stp_errorFromStripeResponse:) public static func _stpobjc_stp_error(fromStripeResponse jsonDictionary: [Swift.AnyHashable : Any]?) -> Foundation.NSError? +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionOXXODisplayDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let expiresAfter: Foundation.Date + @objc final public let hostedVoucherURL: Foundation.URL + @objc final public let number: Swift.String + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc deinit + @objc override dynamic public init() +} +extension StripeAPI { + @available(*, deprecated, message: "Use `paymentRequestWithMerchantIdentifier:country:currency:` instead.") + public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String) -> PassKit.PKPaymentRequest +} +@available(*, deprecated, message: "Use StripeAPI.defaultPublishableKey instead. (StripeAPI.defaultPublishableKey = \"pk_12345_xyzabc\")") +public func setDefaultPublishableKey(_ publishableKey: Swift.String) +@available(*, deprecated, message: "Use StripeAPI.advancedFraudSignalsEnabled instead.") +public var advancedFraudSignalsEnabled: Swift.Bool { + get + set +} +@available(*, deprecated, message: "Use StripeAPI.jcbPaymentNetworkSupported instead.") +public var jcbPaymentNetworkSupported: Swift.Bool { + get + set +} +@available(*, deprecated, message: "Use StripeAPI.additionalEnabledApplePayNetworks instead.") +public var additionalEnabledApplePayNetworks: [PassKit.PKPaymentNetwork] { + get + set +} +@available(*, deprecated, message: "Use StripeAPI.canSubmitPaymentRequest(_:) instead.") +public func canSubmitPaymentRequest(_ paymentRequest: PassKit.PKPaymentRequest) -> Swift.Bool +@available(*, deprecated, message: "Use StripeAPI.deviceSupportsApplePay() instead.") +public func deviceSupportsApplePay() -> Swift.Bool +@available(*, deprecated, message: "Use StripeAPI.paymentRequest(withMerchantIdentifier:country:currency:) instead.") +public func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String, country countryCode: Swift.String, currency currencyCode: Swift.String) -> PassKit.PKPaymentRequest +@available(*, deprecated, message: "Use StripeAPI.handleURLCallback(with:) instead.") +public func handleURLCallback(with url: Foundation.URL) -> Swift.Bool +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBoleto : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let taxID: Swift.String + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension View { + public func paymentSheet(isPresented: SwiftUI.Binding, paymentSheet: Stripe.PaymentSheet, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void) -> some SwiftUI.View + + public func paymentOptionsSheet(isPresented: SwiftUI.Binding, paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onSheetDismissed: (() -> Swift.Void)?) -> some SwiftUI.View + + public func paymentConfirmationSheet(isConfirming: SwiftUI.Binding, paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void) -> some SwiftUI.View + + @available(*, deprecated, renamed: "paymentConfirmationSheet(isConfirming:paymentSheetFlowController:onCompletion:)") + public func paymentConfirmationSheet(isConfirmingPayment: SwiftUI.Binding, paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void) -> some SwiftUI.View + +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension PaymentSheet { + public struct PaymentButton : SwiftUI.View where Content : SwiftUI.View { + public init(paymentSheet: Stripe.PaymentSheet, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void, @SwiftUI.ViewBuilder content: () -> Content) + public var body: some SwiftUI.View { + get + } + public typealias Body = @_opaqueReturnTypeOf("$s6Stripe12PaymentSheetC0B6ButtonV4bodyQrvp", 0) 🦸 + } +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension PaymentSheet.FlowController { + public struct PaymentOptionsButton : SwiftUI.View where Content : SwiftUI.View { + public init(paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onSheetDismissed: @escaping () -> Swift.Void, @SwiftUI.ViewBuilder content: () -> Content) + public var body: some SwiftUI.View { + get + } + public typealias Body = @_opaqueReturnTypeOf("$s6Stripe12PaymentSheetC14FlowControllerC0B13OptionsButtonV4bodyQrvp", 0) 🦸 + } + @available(*, deprecated, renamed: "ConfirmButton") + public typealias ConfirmPaymentButton = Stripe.PaymentSheet.FlowController.ConfirmButton + public struct ConfirmButton : SwiftUI.View where Content : SwiftUI.View { + public init(paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void, @SwiftUI.ViewBuilder content: () -> Content) + public var body: some SwiftUI.View { + get + } + public typealias Body = @_opaqueReturnTypeOf("$s6Stripe12PaymentSheetC14FlowControllerC13ConfirmButtonV4bodyQrvp", 0) 🦸 + } +} +@objc public enum STPCardFundingType : Swift.Int { + case debit + case credit + case prepaid + case other + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPCard : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPPaymentOption, Stripe.STPSourceProtocol { + @objc public var last4: Swift.String { + get + } + @objc public var dynamicLast4: Swift.String? { + get + } + @objc public var isApplePayCard: Swift.Bool { + @objc get + } + @objc public var expMonth: Swift.Int { + get + } + @objc public var expYear: Swift.Int { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var address: Stripe.STPAddress? { + get + } + @objc public var brand: Stripe.STPCardBrand { + get + } + @objc public var funding: Stripe.STPCardFundingType { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var currency: Swift.String? { + get + } + @objc(stringFromBrand:) public class func string(from brand: Stripe.STPCardBrand) -> Swift.String + @objc(brandFromString:) public class func brand(from string: Swift.String) -> Stripe.STPCardBrand + @available(*, deprecated, message: "You cannot directly instantiate an STPCard. You should only use one that has been returned from an STPAPIClient callback.") + @objc(initWithID:brand:last4:expMonth:expYear:funding:) public init(id cardID: Swift.String, brand: Stripe.STPCardBrand, last4: Swift.String, expMonth: Swift.Int, expYear: Swift.Int, funding: Stripe.STPCardFundingType) + @objc(fundingFromString:) public class func funding(from string: Swift.String) -> Stripe.STPCardFundingType + @objc public var stripeID: Swift.String + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ other: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @available(*, deprecated, message: "Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @available(*, deprecated, message: "Use stripeID (defined in STPSourceProtocol)") + @objc public var cardId: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.line1") + @objc public var addressLine1: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.line2") + @objc public var addressLine2: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.city") + @objc public var addressCity: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.state") + @objc public var addressState: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.postalCode") + @objc public var addressZip: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.country") + @objc public var addressCountry: Swift.String? { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodCardParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc convenience public init(cardSourceParams: Stripe.STPCardParams) + @objc required override dynamic public init() + @objc public var number: Swift.String? + @objc public var expMonth: Foundation.NSNumber? + @objc public var expYear: Foundation.NSNumber? + @objc public var token: Swift.String? + @objc public var cvc: Swift.String? + @objc public var last4: Swift.String? { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public func isEqual(_ other: Any?) -> Swift.Bool + @objc deinit +} +@objc public class STPPushProvisioningDetailsParams : ObjectiveC.NSObject { + @objc public var cardId: Swift.String { + get + } + @objc public var certificates: [Foundation.Data] { + get + } + @objc public var nonce: Foundation.Data { + get + } + @objc public var nonceSignature: Foundation.Data { + get + } + @objc public var certificatesBase64: [Swift.String] { + @objc get + } + @objc public var nonceHex: Swift.String { + @objc get + } + @objc public var nonceSignatureHex: Swift.String { + @objc get + } + @objc required public init(cardId: Swift.String, certificates: [Foundation.Data], nonce: Foundation.Data, nonceSignature: Foundation.Data) + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountAddress : ObjectiveC.NSObject { + @objc public var city: Swift.String? + @objc public var country: Swift.String? + @objc public var line1: Swift.String? + @objc public var line2: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var state: Swift.String? + @objc public var town: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountAddress : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPConfirmAlipayOptions : ObjectiveC.NSObject { + @objc public var appBundleID: Swift.String { + @objc get + } + @objc public var appVersionKey: Swift.String { + @objc get + } + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConfirmAlipayOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPPaymentMethodCardWalletType : Swift.Int { + case amexExpressCheckout + case applePay + case googlePay + case masterpass + case samsungPay + case visaCheckout + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardWallet : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var type: Stripe.STPPaymentMethodCardWalletType { + get + } + @objc public var masterpass: Stripe.STPPaymentMethodCardWalletMasterpass? { + get + } + @objc public var visaCheckout: Stripe.STPPaymentMethodCardWalletVisaCheckout? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +extension PaymentSheet { + @available(iOS 13.0, *) + public enum UserInterfaceStyle : Swift.Int { + case automatic + case alwaysLight + case alwaysDark + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } + } + public enum SavePaymentMethodOptInBehavior { + case automatic + case requiresOptIn + case requiresOptOut + public static func == (a: Stripe.PaymentSheet.SavePaymentMethodOptInBehavior, b: Stripe.PaymentSheet.SavePaymentMethodOptInBehavior) -> Swift.Bool + public var hashValue: Swift.Int { + get + } + public func hash(into hasher: inout Swift.Hasher) + } + public struct Configuration { + public var allowsDelayedPaymentMethods: Swift.Bool + public var apiClient: StripeCore.STPAPIClient + public var applePay: Stripe.PaymentSheet.ApplePayConfiguration? + public var primaryButtonColor: UIKit.UIColor + @available(iOS 13.0, *) + public var style: Stripe.PaymentSheet.UserInterfaceStyle { + get + set + } + public var customer: Stripe.PaymentSheet.CustomerConfiguration? + public var merchantDisplayName: Swift.String + public var returnURL: Swift.String? + public init() + public var defaultBillingDetails: Stripe.PaymentSheet.BillingDetails + public var savePaymentMethodOptInBehavior: Stripe.PaymentSheet.SavePaymentMethodOptInBehavior + } + public struct CustomerConfiguration { + public let id: Swift.String + public let ephemeralKeySecret: Swift.String + public init(id: Swift.String, ephemeralKeySecret: Swift.String) + } + public struct ApplePayConfiguration { + public let merchantId: Swift.String + public let merchantCountryCode: Swift.String + public init(merchantId: Swift.String, merchantCountryCode: Swift.String) + } + public struct Address { + public var city: Swift.String? + public var country: Swift.String? + public var line1: Swift.String? + public var line2: Swift.String? + public var postalCode: Swift.String? + public var state: Swift.String? + public init(city: Swift.String? = nil, country: Swift.String? = nil, line1: Swift.String? = nil, line2: Swift.String? = nil, postalCode: Swift.String? = nil, state: Swift.String? = nil) + } + public struct BillingDetails { + public var address: Stripe.PaymentSheet.Address + public var email: Swift.String? + public var name: Swift.String? + public var phone: Swift.String? + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodLink : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPBackendAPIAdapter : ObjectiveC.NSObjectProtocol { + @objc func retrieveCustomer(_ completion: Stripe.STPCustomerCompletionBlock?) + @objc func listPaymentMethodsForCustomer(completion: Stripe.STPPaymentMethodsCompletionBlock?) + @objc func attachPaymentMethod(toCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc optional func detachPaymentMethod(fromCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc optional func updateCustomer(withShippingAddress shipping: Stripe.STPAddress, completion: Stripe.STPErrorBlock?) +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntentShippingDetailsAddress : ObjectiveC.NSObject { + @objc final public let city: Swift.String? + @objc final public let country: Swift.String? + @objc final public let line1: Swift.String? + @objc final public let line2: Swift.String? + @objc final public let postalCode: Swift.String? + @objc final public let state: Swift.String? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetailsAddress : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntentShippingDetails : ObjectiveC.NSObject { + @objc final public let address: Stripe.STPPaymentIntentShippingDetailsAddress? + @objc final public let name: Swift.String? + @objc final public let carrier: Swift.String? + @objc final public let phone: Swift.String? + @objc final public let trackingNumber: Swift.String? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetails : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc public enum STPCardBrand : Swift.Int { + case visa + case amex + case mastercard + case discover + case JCB + case dinersClub + case unionPay + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @available(*, deprecated, message: "STPStringFromCardBrand has been replaced with STPCardBrandUtilities.stringFrom(brand)") +@objc public class STPStringFromCardBrand : ObjectiveC.NSObject { + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPCardBrandUtilities : ObjectiveC.NSObject { + @objc(stringFromCardBrand:) public static func stringFrom(_ brand: Stripe.STPCardBrand) -> Swift.String? + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPCustomerEphemeralKeyProvider : ObjectiveC.NSObjectProtocol { + @objc(createCustomerKeyWithAPIVersion:completion:) func createCustomerKey(withAPIVersion apiVersion: Swift.String, completion: @escaping Stripe.STPJSONResponseCompletionBlock) +} +@objc public protocol STPIssuingCardEphemeralKeyProvider : ObjectiveC.NSObjectProtocol { + @objc(createIssuingCardKeyWithAPIVersion:completion:) func createIssuingCardKey(withAPIVersion apiVersion: Swift.String, completion: @escaping Stripe.STPJSONResponseCompletionBlock) +} +@available(*, deprecated, message: "use `STPCustomerEphemeralKeyProvider` or `STPIssuingCardEphemeralKeyProvider` depending on the type of key that will be fetched.") +@objc public protocol STPEphemeralKeyProvider : Stripe.STPCustomerEphemeralKeyProvider { +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBacsDebit : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var sortCode: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPBankAccountStatus : Swift.Int { + case new + case validated + case verified + case verificationFailed + case errored + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPBankAccount : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPSourceProtocol { + @objc public var routingNumber: Swift.String? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var currency: Swift.String? { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var bankName: Swift.String? { + get + } + @objc public var accountHolderName: Swift.String? { + get + } + @objc public var accountHolderType: Stripe.STPBankAccountHolderType { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var status: Stripe.STPBankAccountStatus { + get + } + @available(*, deprecated, message: "Use stripeID (defined in STPSourceProtocol)") + @objc public var bankAccountId: Swift.String? { + @objc get + } + @objc public var stripeID: Swift.String { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ bankAccount: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodSEPADebitParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var iban: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodParams : ObjectiveC.NSObject, Stripe.STPFormEncodable, Stripe.STPPaymentOption { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var type: Stripe.STPPaymentMethodType { + @objc get + @objc set(newType) + } + @objc public var rawTypeString: Swift.String? + @objc public var billingDetails: Stripe.STPPaymentMethodBillingDetails? + @objc public var card: Stripe.STPPaymentMethodCardParams? + @objc public var alipay: Stripe.STPPaymentMethodAlipayParams? + @objc public var iDEAL: Stripe.STPPaymentMethodiDEALParams? + @objc public var fpx: Stripe.STPPaymentMethodFPXParams? + @objc public var sepaDebit: Stripe.STPPaymentMethodSEPADebitParams? + @objc public var bacsDebit: Stripe.STPPaymentMethodBacsDebitParams? + @objc public var auBECSDebit: Stripe.STPPaymentMethodAUBECSDebitParams? + @objc public var giropay: Stripe.STPPaymentMethodGiropayParams? + @objc public var payPal: Stripe.STPPaymentMethodPayPalParams? + @objc public var przelewy24: Stripe.STPPaymentMethodPrzelewy24Params? + @objc public var eps: Stripe.STPPaymentMethodEPSParams? + @objc public var bancontact: Stripe.STPPaymentMethodBancontactParams? + @objc public var netBanking: Stripe.STPPaymentMethodNetBankingParams? + @objc public var oxxo: Stripe.STPPaymentMethodOXXOParams? + @objc public var sofort: Stripe.STPPaymentMethodSofortParams? + @objc public var upi: Stripe.STPPaymentMethodUPIParams? + @objc public var grabPay: Stripe.STPPaymentMethodGrabPayParams? + @objc public var afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpayParams? + @objc public var blik: Stripe.STPPaymentMethodBLIKParams? + @objc public var boleto: Stripe.STPPaymentMethodBoletoParams? + @objc public var link: Stripe.STPPaymentMethodLinkParams? + @objc public var klarna: Stripe.STPPaymentMethodKlarnaParams? + @objc public var metadata: [Swift.String : Swift.String]? + @objc convenience public init(card: Stripe.STPPaymentMethodCardParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(iDEAL: Stripe.STPPaymentMethodiDEALParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(fpx: Stripe.STPPaymentMethodFPXParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(sepaDebit: Stripe.STPPaymentMethodSEPADebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(bacsDebit: Stripe.STPPaymentMethodBacsDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(aubecsDebit auBECSDebit: Stripe.STPPaymentMethodAUBECSDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(giropay: Stripe.STPPaymentMethodGiropayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(eps: Stripe.STPPaymentMethodEPSParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(przelewy24: Stripe.STPPaymentMethodPrzelewy24Params, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(bancontact: Stripe.STPPaymentMethodBancontactParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(netBanking: Stripe.STPPaymentMethodNetBankingParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(grabPay: Stripe.STPPaymentMethodGrabPayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(oxxo: Stripe.STPPaymentMethodOXXOParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(sofort: Stripe.STPPaymentMethodSofortParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(upi: Stripe.STPPaymentMethodUPIParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(alipay: Stripe.STPPaymentMethodAlipayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(payPal: Stripe.STPPaymentMethodPayPalParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(blik: Stripe.STPPaymentMethodBLIKParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(boleto: Stripe.STPPaymentMethodBoletoParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(klarna: Stripe.STPPaymentMethodKlarnaParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init?(singleUsePaymentMethod paymentMethod: Stripe.STPPaymentMethod) + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +@objc extension STPPaymentMethodParams { + @objc(paramsWithCard:billingDetails:metadata:) dynamic public class func paramsWith(card: Stripe.STPPaymentMethodCardParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithiDEAL:billingDetails:metadata:) dynamic public class func paramsWith(iDEAL: Stripe.STPPaymentMethodiDEALParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithFPX:billingDetails:metadata:) dynamic public class func paramsWith(fpx: Stripe.STPPaymentMethodFPXParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithSEPADebit:billingDetails:metadata:) dynamic public class func paramsWith(sepaDebit: Stripe.STPPaymentMethodSEPADebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithBacsDebit:billingDetails:metadata:) dynamic public class func paramsWith(bacsDebit: Stripe.STPPaymentMethodBacsDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithAUBECSDebit:billingDetails:metadata:) dynamic public class func paramsWith(auBECSDebit: Stripe.STPPaymentMethodAUBECSDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithGiropay:billingDetails:metadata:) dynamic public class func paramsWith(giropay: Stripe.STPPaymentMethodGiropayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithEPS:billingDetails:metadata:) dynamic public class func paramsWith(eps: Stripe.STPPaymentMethodEPSParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithPrzelewy24:billingDetails:metadata:) dynamic public class func paramsWith(przelewy24: Stripe.STPPaymentMethodPrzelewy24Params, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithBancontact:billingDetails:metadata:) dynamic public class func paramsWith(bancontact: Stripe.STPPaymentMethodBancontactParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithNetBanking:billingDetails:metadata:) dynamic public class func paramsWith(netBanking: Stripe.STPPaymentMethodNetBankingParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithOXXO:billingDetails:metadata:) dynamic public class func paramsWith(oxxo: Stripe.STPPaymentMethodOXXOParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithGrabPay:billingDetails:metadata:) dynamic public class func paramsWith(grabPay: Stripe.STPPaymentMethodGrabPayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithSofort:billingDetails:metadata:) dynamic public class func paramsWith(sofort: Stripe.STPPaymentMethodSofortParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithUPI:billingDetails:metadata:) dynamic public class func paramsWith(upi: Stripe.STPPaymentMethodUPIParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithAlipay:billingDetails:metadata:) dynamic public class func paramsWith(alipay: Stripe.STPPaymentMethodAlipayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithPayPal:billingDetails:metadata:) dynamic public class func paramsWith(payPal: Stripe.STPPaymentMethodPayPalParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithAfterpayClearpay:billingDetails:metadata:) dynamic public class func paramsWith(afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithBLIK:billingDetails:metadata:) dynamic public class func paramsWith(blik: Stripe.STPPaymentMethodBLIKParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithKlarna:billingDetails:metadata:) dynamic public class func paramsWith(klarna: Stripe.STPPaymentMethodKlarnaParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodPayPalParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc public protocol STPSourceProtocol : ObjectiveC.NSObjectProtocol { + @objc var stripeID: Swift.String { get } +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, deprecated, renamed: "STPIntentAction", message: "Use `STPIntentAction` instead.") +@objc final public class STPPaymentIntentAction : Stripe.STPIntentAction { + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodGrabPay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPFormView : UIKit.UIView { + @objc override dynamic public var canResignFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func resignFirstResponder() -> Swift.Bool + @objc override dynamic public var isFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public var canBecomeFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func becomeFirstResponder() -> Swift.Bool + @objc override dynamic public var isUserInteractionEnabled: Swift.Bool { + @objc get + @objc set + } + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodPayPal : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodSofortParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var country: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc public enum STPMandateCustomerAcceptanceType : Swift.Int { + case online + case offline + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPMandateCustomerAcceptanceParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var type: Stripe.STPMandateCustomerAcceptanceType + @objc public var onlineParams: Stripe.STPMandateOnlineParams? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc required override dynamic public init() + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public class func rootObjectName() -> Swift.String? + @objc deinit +} +public enum PaymentSheetError : Swift.Error { + case unknown(debugDescription: Swift.String) + public var localizedDescription: Swift.String { + get + } +} +extension UINavigationBar { + @available(*, deprecated, message: "Use the `stp_theme` property instead") + @objc dynamic public func stp_setTheme(_ theme: Stripe.STPTheme) + @objc dynamic public var stp_theme: Stripe.STPTheme? { + @objc get + @objc set(theme) + } +} +@objc public protocol STPAUBECSDebitFormViewDelegate : ObjectiveC.NSObjectProtocol { + @objc func auBECSDebitForm(_ form: Stripe.STPAUBECSDebitFormView, didChangeToStateComplete complete: Swift.Bool) +} +@objc @_inheritsConvenienceInitializers public class STPAUBECSDebitFormView : Stripe.STPMultiFormTextField, UIKit.UITextViewDelegate { + @objc(initWithCompanyName:) required public init(companyName: Swift.String) + @objc public var formBackgroundColor: UIKit.UIColor { + @objc get + @objc set + } + @objc weak public var becsDebitFormDelegate: Stripe.STPAUBECSDebitFormViewDelegate? + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? { + @objc get + } + @objc override dynamic public func systemLayoutSizeFitting(_ targetSize: CoreGraphics.CGSize, withHorizontalFittingPriority horizontalFittingPriority: UIKit.UILayoutPriority, verticalFittingPriority: UIKit.UILayoutPriority) -> CoreGraphics.CGSize + @objc public func textView(_ textView: UIKit.UITextView, shouldInteractWith URL: Foundation.URL, in characterRange: Foundation.NSRange, interaction: UIKit.UITextItemInteraction) -> Swift.Bool + @objc override public var formFont: UIKit.UIFont { + @objc get + @objc set + } + @objc override public var formTextColor: UIKit.UIColor { + @objc get + @objc set + } + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAfterpayClearpayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public static func rootObjectName() -> Swift.String? + @objc public static func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodAfterpayClearpay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPSetupIntent : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let stripeID: Swift.String + @objc final public let clientSecret: Swift.String + @objc final public let created: Foundation.Date + @objc final public let customerID: Swift.String? + @objc final public let stripeDescription: Swift.String? + @objc final public let livemode: Swift.Bool + @objc final public let nextAction: Stripe.STPIntentAction? + @objc final public let paymentMethodID: Swift.String? + @objc final public let paymentMethodTypes: [Foundation.NSNumber] + @objc final public let status: Stripe.STPSetupIntentStatus + @objc final public let usage: Stripe.STPSetupIntentUsage + @objc final public let lastSetupError: Stripe.STPSetupIntentLastSetupError? + @available(*, deprecated, message: "Metadata is not returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPBillingAddressFields : Swift.UInt { + case none + case postalCode + case full + case name + @available(*, deprecated, message: "Use STPBillingAddressFields.postalCode instead") + case zip + public typealias RawValue = Swift.UInt + public init?(rawValue: Swift.UInt) + public var rawValue: Swift.UInt { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPAddress : ObjectiveC.NSObject { + @objc public var name: Swift.String? + @objc public var line1: Swift.String? + @objc public var line2: Swift.String? + @objc public var city: Swift.String? + @objc public var state: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var country: Swift.String? + @objc public var phone: Swift.String? + @objc public var email: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc(shippingInfoForChargeWithAddress:shippingMethod:) public class func shippingInfoForCharge(with address: Stripe.STPAddress?, shippingMethod method: PassKit.PKShippingMethod?) -> [Swift.AnyHashable : Any]? + @objc override dynamic public init() + @objc public init(paymentMethodBillingDetails billingDetails: Stripe.STPPaymentMethodBillingDetails) + @objc(initWithPKContact:) public init(pkContact contact: PassKit.PKContact) + @objc(PKContactValue) public func pkContactValue() -> PassKit.PKContact + @objc(initWithCNContact:) public init(cnContact contact: Contacts.CNContact) + @objc public func containsRequiredFields(_ requiredFields: Stripe.STPBillingAddressFields) -> Swift.Bool + @objc(containsContentForBillingAddressFields:) public func containsContent(for desiredFields: Stripe.STPBillingAddressFields) -> Swift.Bool + @objc public func containsRequiredShippingAddressFields(_ requiredFields: Swift.Set?) -> Swift.Bool + @objc public func containsContent(forShippingAddressFields desiredFields: Swift.Set?) -> Swift.Bool + @objc(applePayContactFieldsFromBillingAddressFields:) public class func applePayContactFields(from billingAddressFields: Stripe.STPBillingAddressFields) -> Swift.Set + @objc public class func pkContactFields(fromStripeContactFields contactFields: Swift.Set?) -> Swift.Set? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc deinit +} +extension STPAddress : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +extension STPAddress : Stripe.STPFormEncodable { + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] +} +extension STPAddress : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodAUBECSDebit : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var bsbNumber: Swift.String { + get + } + @objc public var fingerprint: Swift.String { + get + } + @objc public var last4: Swift.String { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAlipayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc public enum STPCardFormViewStyle : Swift.Int { + case standard + case borderless + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public protocol STPCardFormViewDelegate : ObjectiveC.NSObjectProtocol { + @objc func cardFormView(_ form: Stripe.STPCardFormView, didChangeToStateComplete complete: Swift.Bool) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPCardFormView : Stripe.STPFormView { + @objc weak public var delegate: Stripe.STPCardFormViewDelegate? + @objc override dynamic public var backgroundColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc public var disabledBackgroundColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc public var cardParams: Stripe.STPPaymentMethodParams? { + @objc get + } + @objc override dynamic public var isUserInteractionEnabled: Swift.Bool { + @objc get + @objc set + } + @objc convenience public init(style: Stripe.STPCardFormViewStyle = .standard) + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPCustomer : ObjectiveC.NSObject { + @objc final public let stripeID: Swift.String + @objc public var defaultSource: Stripe.STPSourceProtocol? { + get + } + @objc public var sources: [Stripe.STPSourceProtocol] { + get + } + @objc public var email: Swift.String? { + get + } + @objc public var shippingAddress: Stripe.STPAddress? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc convenience public init(stripeID: Swift.String, defaultSource: Stripe.STPSourceProtocol?, sources: [Stripe.STPSourceProtocol]) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc(updateSourcesFilteringApplePay:) public func updateSources(filteringApplePay: Swift.Bool) + @objc deinit +} +extension STPCustomer : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_hasMissingDesignatedInitializers public class STPCustomerDeserializer : ObjectiveC.NSObject { + @objc final public let customer: Stripe.STPCustomer? + @objc final public let error: Swift.Error? + @objc convenience public init(data: Foundation.Data?, urlResponse: Foundation.URLResponse?, error: Swift.Error?) + @objc convenience public init(jsonResponse json: Any?) + @objc deinit + @objc override dynamic public init() +} +@objc public class STPContactField : ObjectiveC.NSObject, Swift.RawRepresentable { + final public let rawValue: Swift.String + required public init(rawValue: Swift.String) + @objc public static let postalAddress: Stripe.STPContactField + @objc public static let emailAddress: Stripe.STPContactField + @objc public static let phoneNumber: Stripe.STPContactField + @objc public static let name: Stripe.STPContactField + @objc override dynamic public init() + public typealias RawValue = Swift.String + @objc deinit +} +extension PaymentSheet { + @_hasMissingDesignatedInitializers @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public class FlowController { + public struct PaymentOptionDisplayData { + public let image: UIKit.UIImage + public let label: Swift.String + } + final public let configuration: Stripe.PaymentSheet.Configuration + public var paymentOption: Stripe.PaymentSheet.FlowController.PaymentOptionDisplayData? { + get + } + public static func create(paymentIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration, completion: @escaping (Swift.Result) -> Swift.Void) + public static func create(setupIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration, completion: @escaping (Swift.Result) -> Swift.Void) + public func presentPaymentOptions(from presentingViewController: UIKit.UIViewController, completion: (() -> ())? = nil) + public func confirm(from presentingViewController: UIKit.UIViewController, completion: @escaping (Stripe.PaymentSheetResult) -> ()) + @objc deinit + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodKlarna : ObjectiveC.NSObject { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension STPCardFormView { + public struct Representable : SwiftUI.UIViewRepresentable { + public init(_ style: Stripe.STPCardFormViewStyle = .standard, paymentMethodParams: SwiftUI.Binding, isComplete: SwiftUI.Binding) + public func makeCoordinator() -> Stripe.STPCardFormView.Coordinator + public func makeUIView(context: Stripe.STPCardFormView.Representable.Context) -> Stripe.STPCardFormView + public func updateUIView(_ cardFormView: Stripe.STPCardFormView, context: Stripe.STPCardFormView.Representable.Context) + public typealias UIViewType = Stripe.STPCardFormView + public typealias Coordinator = Stripe.STPCardFormView.Coordinator + public typealias Body = Swift.Never + } + @objc @_hasMissingDesignatedInitializers public class Coordinator : ObjectiveC.NSObject, Stripe.STPCardFormViewDelegate { + @objc public func cardFormView(_ form: Stripe.STPCardFormView, didChangeToStateComplete complete: Swift.Bool) + @objc deinit + @objc override dynamic public init() + } +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSTextFieldCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSTextFieldCustomization + @objc public var borderWidth: CoreGraphics.CGFloat { + @objc get + @objc set(borderWidth) + } + @objc public var borderColor: UIKit.UIColor { + @objc get + @objc set(borderColor) + } + @objc public var cornerRadius: CoreGraphics.CGFloat { + @objc get + @objc set(cornerRadius) + } + @objc public var keyboardAppearance: UIKit.UIKeyboardAppearance { + @objc get + @objc set(keyboardAppearance) + } + @objc public var placeholderTextColor: UIKit.UIColor { + @objc get + @objc set(placeholderTextColor) + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set(textColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodNetBankingParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var bank: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardPresent : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceReceiver : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var address: Swift.String? { + get + } + @objc public var amountCharged: Foundation.NSNumber? { + get + } + @objc public var amountReceived: Foundation.NSNumber? { + get + } + @objc public var amountReturned: Foundation.NSNumber? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodPrzelewy24Params : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodKlarnaParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public static func rootObjectName() -> Swift.String? + @objc public static func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBancontactParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, unavailable, renamed: "STPIntentActionRedirectToURL", message: "Use `STPIntentActionRedirectToURL` instead.") +@objc final public class STPPaymentIntentSourceActionAuthorizeWithURL : Stripe.STPIntentActionRedirectToURL { + @objc deinit +} +@objc public enum STPSetupIntentLastSetupErrorType : Swift.UInt { + case unknown + @objc(STPSetupIntentLastSetupErrorTypeAPIConnection) case apiConnection + case API + case authentication + case card + case idempotency + case invalidRequest + case rateLimit + public typealias RawValue = Swift.UInt + public init?(rawValue: Swift.UInt) + public var rawValue: Swift.UInt { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSetupIntentLastSetupError : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var code: Swift.String? { + get + } + @objc public var declineCode: Swift.String? { + get + } + @objc public var docURL: Swift.String? { + get + } + @objc public var message: Swift.String? { + get + } + @objc public var param: Swift.String? { + get + } + @objc public var paymentMethod: Stripe.STPPaymentMethod? { + get + } + @objc public var type: Stripe.STPSetupIntentLastSetupErrorType { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc extension STPSetupIntentLastSetupError { + @objc public static let CodeAuthenticationFailure: Swift.String +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodPrzelewy24 : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCard : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var brand: Stripe.STPCardBrand { + get + } + @objc public var checks: Stripe.STPPaymentMethodCardChecks? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var expMonth: Swift.Int { + get + } + @objc public var expYear: Swift.Int { + get + } + @objc public var funding: Swift.String? { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var networks: Stripe.STPPaymentMethodCardNetworks? { + get + } + @objc public var threeDSecureUsage: Stripe.STPPaymentMethodThreeDSecureUsage? { + get + } + @objc public var wallet: Stripe.STPPaymentMethodCardWallet? { + get + } + @objc(stringFromBrand:) public class func string(from brand: Stripe.STPCardBrand) -> Swift.String + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public enum STPPaymentIntentLastPaymentErrorType : Swift.Int { + case unknown + @objc(STPPaymentIntentLastPaymentErrorTypeAPIConnection) case apiConnection + @objc(STPPaymentIntentLastPaymentErrorTypeAPI) case api + case authentication + case card + case idempotency + case invalidRequest + case rateLimit + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntentLastPaymentError : ObjectiveC.NSObject { + @objc public static let ErrorCodeAuthenticationFailure: Swift.String + @objc final public let code: Swift.String? + @objc final public let declineCode: Swift.String? + @objc final public let docURL: Swift.String? + @objc final public let message: Swift.String? + @objc final public let param: Swift.String? + @objc final public let paymentMethod: Stripe.STPPaymentMethod? + @objc final public let type: Stripe.STPPaymentIntentLastPaymentErrorType + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentLastPaymentError : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc public class STPPaymentResult : ObjectiveC.NSObject { + @objc public var paymentMethod: Stripe.STPPaymentMethod? { + get + } + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? { + get + } + @objc weak public var paymentOption: Stripe.STPPaymentOption? { + @objc get + } + @objc public init(paymentOption: Stripe.STPPaymentOption?) + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionWechatPayRedirectToApp : ObjectiveC.NSObject { + @objc final public let nativeURL: Foundation.URL? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPIntentActionWechatPayRedirectToApp : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc public enum STPPaymentIntentStatus : Swift.Int { + case unknown + case requiresPaymentMethod + @available(*, deprecated, renamed: "STPPaymentIntentStatus.requiresPaymentMethod", message: "Use STPPaymentIntentStatus.requiresPaymentMethod instead") + case requiresSource + case requiresConfirmation + case requiresAction + @available(*, deprecated, renamed: "STPPaymentIntentStatus.requiresAction", message: "Use STPPaymentIntentStatus.requiresAction instead") + case requiresSourceAction + case processing + case succeeded + case requiresCapture + case canceled + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentIntentSetupFutureUsage : Swift.Int { + case unknown + case none + case onSession + case offSession + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPPaymentIntentActionType : Swift.Int { + @available(*, deprecated, renamed: "STPIntentActionType.unknown", message: "Use STPIntentActionType instead") + case unknown + @available(*, deprecated, renamed: "STPIntentActionType.redirectToURL", message: "Use STPIntentActionType instead") + case redirectToURL + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +@objc public enum STPPaymentIntentSourceActionType : Swift.Int { + case unknown + case authorizeWithURL + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodGiropay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAUBECSDebitParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var accountNumber: Swift.String? + @objc public var bsbNumber: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBLIK : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodSofort : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var country: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodUPIParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var vpa: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPCardParams : ObjectiveC.NSObject, Stripe.STPFormEncodable, Foundation.NSCopying { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc convenience public init(paymentMethodParams: Stripe.STPPaymentMethodParams) + @objc public var number: Swift.String? + @objc public func last4() -> Swift.String? + @objc public var expMonth: Swift.UInt + @objc public var expYear: Swift.UInt + @objc public var cvc: Swift.String? + @objc public var name: Swift.String? { + @objc get + @objc set + } + @objc public var address: Stripe.STPAddress { + @objc get + @objc set + } + @objc public var currency: Swift.String? + @objc public var addressLine1: Swift.String? { + @objc get + @objc set(addressLine1) + } + @objc public var addressLine2: Swift.String? { + @objc get + @objc set(addressLine2) + } + @objc public var addressCity: Swift.String? { + @objc get + @objc set(addressCity) + } + @objc public var addressState: Swift.String? { + @objc get + @objc set(addressState) + } + @objc public var addressZip: Swift.String? { + @objc get + @objc set(addressZip) + } + @objc public var addressCountry: Swift.String? { + @objc get + @objc set(addressCountry) + } + @objc override dynamic public init() + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodAlipay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPFormEncodable : ObjectiveC.NSObjectProtocol { + @objc static func rootObjectName() -> Swift.String? + @objc static func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc var additionalAPIParameters: [Swift.AnyHashable : Any] { get set } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBancontact : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethod : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPPaymentOption { + @objc public var stripeId: Swift.String { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var liveMode: Swift.Bool { + get + } + @objc public var type: Stripe.STPPaymentMethodType { + get + } + @objc public var billingDetails: Stripe.STPPaymentMethodBillingDetails? { + get + } + @objc public var alipay: Stripe.STPPaymentMethodAlipay? { + get + } + @objc public var grabPay: Stripe.STPPaymentMethodGrabPay? { + get + } + @objc public var card: Stripe.STPPaymentMethodCard? { + get + } + @objc public var iDEAL: Stripe.STPPaymentMethodiDEAL? { + get + } + @objc public var fpx: Stripe.STPPaymentMethodFPX? { + get + } + @objc public var cardPresent: Stripe.STPPaymentMethodCardPresent? { + get + } + @objc public var sepaDebit: Stripe.STPPaymentMethodSEPADebit? { + get + } + @objc public var bacsDebit: Stripe.STPPaymentMethodBacsDebit? { + get + } + @objc public var auBECSDebit: Stripe.STPPaymentMethodAUBECSDebit? { + get + } + @objc public var giropay: Stripe.STPPaymentMethodGiropay? { + get + } + @objc public var eps: Stripe.STPPaymentMethodEPS? { + get + } + @objc public var przelewy24: Stripe.STPPaymentMethodPrzelewy24? { + get + } + @objc public var bancontact: Stripe.STPPaymentMethodBancontact? { + get + } + @objc public var netBanking: Stripe.STPPaymentMethodNetBanking? { + get + } + @objc public var oxxo: Stripe.STPPaymentMethodOXXO? { + get + } + @objc public var sofort: Stripe.STPPaymentMethodSofort? { + get + } + @objc public var upi: Stripe.STPPaymentMethodUPI? { + get + } + @objc public var payPal: Stripe.STPPaymentMethodPayPal? { + get + } + @objc public var afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpay? { + get + } + @objc public var blik: Stripe.STPPaymentMethodBLIK? { + get + } + @objc public var boleto: Stripe.STPPaymentMethodBoleto? { + get + } + @objc public var link: Stripe.STPPaymentMethodLink? { + get + } + @objc public var klarna: Stripe.STPPaymentMethodKlarna? { + get + } + @objc public var customerId: Swift.String? { + get + } + @available(*, deprecated, message: "Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardWalletVisaCheckout : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var email: Swift.String? { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var billingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var shippingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodFPXParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var bank: Stripe.STPFPXBankBrand { + @objc get + @objc set(_bank) + } + @objc public var rawBankString: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objc public class STPApplePayPaymentOption : ObjectiveC.NSObject, Stripe.STPPaymentOption { + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +@objc public class STPMandateDataParams : ObjectiveC.NSObject { + @objc final public let customerAcceptance: Stripe.STPMandateCustomerAcceptanceParams + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(customerAcceptance: Stripe.STPMandateCustomerAcceptanceParams) + @objc override dynamic public init() + @objc deinit +} +extension STPMandateDataParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPFPXBankBrand : Swift.Int { + case maybank2U + case CIMB + case publicBank + case RHB + case hongLeongBank + case ambank + case affinBank + case allianceBank + case bankIslam + case bankMuamalat + case bankRakyat + case BSN + case HSBC + case KFH + case maybank2E + case ocbc + case standardChartered + case UOB + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc @_inheritsConvenienceInitializers public class STPFPXBank : ObjectiveC.NSObject { + @objc public static func stringFrom(_ brand: Stripe.STPFPXBankBrand) -> Swift.String? + @objc public static func brandFrom(_ identifier: Swift.String?) -> Stripe.STPFPXBankBrand + @objc public static func identifierFrom(_ brand: Stripe.STPFPXBankBrand) -> Swift.String? + @objc public static func bankCodeFrom(_ brand: Stripe.STPFPXBankBrand, _ isBusiness: Swift.Bool) -> Swift.String? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPCardValidationState : Swift.Int { + case valid + case invalid + case incomplete + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPCardValidator : ObjectiveC.NSObject { + @objc(sanitizedNumericStringForString:) public class func sanitizedNumericString(for string: Swift.String) -> Swift.String + @objc(sanitizedPostalStringForString:) public class func sanitizedPostalString(for string: Swift.String) -> Swift.String + @objc(stringIsNumeric:) public class func stringIsNumeric(_ string: Swift.String) -> Swift.Bool + @objc(validationStateForNumber:validatingCardBrand:) public class func validationState(forNumber cardNumber: Swift.String?, validatingCardBrand: Swift.Bool) -> Stripe.STPCardValidationState + @objc(brandForNumber:) public class func brand(forNumber cardNumber: Swift.String) -> Stripe.STPCardBrand + @objc(lengthsForCardBrand:) public class func lengths(for brand: Stripe.STPCardBrand) -> Swift.Set + @objc(maxLengthForCardBrand:) public class func maxLength(for brand: Stripe.STPCardBrand) -> Swift.Int + @objc(fragmentLengthForCardBrand:) public class func fragmentLength(for brand: Stripe.STPCardBrand) -> Swift.Int + @objc(validationStateForExpirationMonth:) public class func validationState(forExpirationMonth expirationMonth: Swift.String) -> Stripe.STPCardValidationState + @objc(validationStateForExpirationYear:inMonth:) public class func validationState(forExpirationYear expirationYear: Swift.String, inMonth expirationMonth: Swift.String) -> Stripe.STPCardValidationState + @objc(maxCVCLengthForCardBrand:) public class func maxCVCLength(for brand: Stripe.STPCardBrand) -> Swift.UInt + @objc(validationStateForCVC:cardBrand:) public class func validationState(forCVC cvc: Swift.String, cardBrand brand: Stripe.STPCardBrand) -> Stripe.STPCardValidationState + @objc(validationStateForCard:) public class func validationState(forCard card: Stripe.STPCardParams) -> Stripe.STPCardValidationState + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountCompanyParams : ObjectiveC.NSObject { + @objc public var address: Stripe.STPConnectAccountAddress! + @objc public var kanaAddress: Stripe.STPConnectAccountAddress? + @objc public var kanjiAddress: Stripe.STPConnectAccountAddress? + @objc public var directorsProvided: Foundation.NSNumber? + @objc public var name: Swift.String? + @objc public var kanaName: Swift.String? + @objc public var kanjiName: Swift.String? + @objc public var ownersProvided: Foundation.NSNumber? + @objc public var phone: Swift.String? + @objc public var taxID: Swift.String? + @objc public var taxIDRegistrar: Swift.String? + @objc public var vatID: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountCompanyParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardWalletMasterpass : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var email: Swift.String? { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var billingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var shippingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBillingDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var address: Stripe.STPPaymentMethodAddress? + @objc public var email: Swift.String? + @objc public var name: Swift.String? + @objc public var phone: Swift.String? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override required dynamic public init() + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSCustomizationSettings : ObjectiveC.NSObject { + @available(*, deprecated, message: "Use STPThreeDSCustomizationSettings() instead of STPThreeDSCustomizationSettings.defaultSettings().") + @objc public class func defaultSettings() -> Stripe.STPThreeDSCustomizationSettings + @objc public var uiCustomization: Stripe.STPThreeDSUICustomization + @objc public var authenticationTimeout: Swift.Int + @objc override dynamic public init() + @objc deinit +} +@objc public enum STPIntentActionType : Swift.Int { + case unknown + case redirectToURL + case useStripeSDK + case OXXODisplayDetails + case alipayHandleRedirect + case BLIKAuthorize + case weChatPayRedirectToApp + case linkAuthenticateAccount + case boletoDisplayDetails + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPIntentAction : ObjectiveC.NSObject { + @objc final public let type: Stripe.STPIntentActionType + @objc final public let redirectToURL: Stripe.STPIntentActionRedirectToURL? + @objc final public let oxxoDisplayDetails: Stripe.STPIntentActionOXXODisplayDetails? + @objc final public let alipayHandleRedirect: Stripe.STPIntentActionAlipayHandleRedirect? + @objc final public let weChatPayRedirectToApp: Stripe.STPIntentActionWechatPayRedirectToApp? + @objc final public let boletoDisplayDetails: Stripe.STPIntentActionBoletoDisplayDetails? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPIntentAction : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +extension STPIntentAction { + @available(*, deprecated, renamed: "redirectToURL", message: "Use `redirectToURL` instead.") + @objc dynamic public var authorizeWithURL: Stripe.STPIntentActionRedirectToURL? { + @objc get + } +} +@objc public class STPPaymentIntentShippingDetailsAddressParams : ObjectiveC.NSObject { + @objc public var city: Swift.String? + @objc public var country: Swift.String? + @objc public var line1: Swift.String + @objc public var line2: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var state: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(line1: Swift.String) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetailsAddressParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +extension STPPaymentIntentShippingDetailsAddressParams : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc public class STPConfirmWeChatPayOptions : ObjectiveC.NSObject { + @objc public var appId: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc required public init(appId: Swift.String) + @objc deinit + @objc override dynamic public init() +} +extension STPConfirmWeChatPayOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodGiropayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPMultiFormTextField : UIKit.UIView, Stripe.STPFormTextFieldContainer, UIKit.UITextFieldDelegate { + @objc public func textField(_ textField: UIKit.UITextField, shouldChangeCharactersIn range: Foundation.NSRange, replacementString string: Swift.String) -> Swift.Bool + @objc public func focusNextForm() + @objc override dynamic public var canResignFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func resignFirstResponder() -> Swift.Bool + @objc override dynamic public var isFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public var canBecomeFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func becomeFirstResponder() -> Swift.Bool + @objc public func textFieldDidEndEditing(_ textField: UIKit.UITextField) + @objc public func textFieldDidBeginEditing(_ textField: UIKit.UITextField) + @objc public func textFieldShouldReturn(_ textField: UIKit.UITextField) -> Swift.Bool + @objc public var formFont: UIKit.UIFont { + @objc get + @objc set + } + @objc public var formTextColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formTextErrorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formPlaceholderColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formCursorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formKeyboardAppearance: UIKit.UIKeyboardAppearance { + @objc get + @objc set + } + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPImageLibrary : ObjectiveC.NSObject { + @objc public class func applePayCardImage() -> UIKit.UIImage + @objc public class func amexCardImage() -> UIKit.UIImage + @objc public class func dinersClubCardImage() -> UIKit.UIImage + @objc public class func discoverCardImage() -> UIKit.UIImage + @objc public class func jcbCardImage() -> UIKit.UIImage + @objc public class func mastercardCardImage() -> UIKit.UIImage + @objc public class func unionPayCardImage() -> UIKit.UIImage + @objc public class func visaCardImage() -> UIKit.UIImage + @objc public class func unknownCardCardImage() -> UIKit.UIImage + @objc(brandImageForCardBrand:) public class func cardBrandImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc(brandImageForFPXBankBrand:) public class func fpxBrandImage(for brand: Stripe.STPFPXBankBrand) -> UIKit.UIImage + @objc public class func fpxLogo() -> UIKit.UIImage + @objc public class func largeFpxLogo() -> UIKit.UIImage + @objc public class func afterpayLogo() -> UIKit.UIImage + @objc(templatedBrandImageForCardBrand:) public class func templatedBrandImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc(cvcImageForCardBrand:) public class func cvcImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc(errorImageForCardBrand:) public class func errorImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodCardNetworks : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var available: [Swift.String] { + get + } + @objc public var preferred: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPSourceParams : ObjectiveC.NSObject, Stripe.STPFormEncodable, Foundation.NSCopying { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var type: Stripe.STPSourceType { + @objc get + @objc set(type) + } + @objc public var rawTypeString: Swift.String? + @objc public var amount: Foundation.NSNumber? + @objc public var currency: Swift.String? + @objc public var flow: Stripe.STPSourceFlow + @objc public var metadata: [Swift.AnyHashable : Any]? + @objc public var owner: [Swift.AnyHashable : Any]? + @objc public var redirect: [Swift.AnyHashable : Any]? + @objc public var token: Swift.String? + @objc public var usage: Stripe.STPSourceUsage + @objc override required dynamic public init() + @objc deinit +} +extension STPSourceParams { + @objc dynamic public class func bancontactParams(withAmount amount: Swift.Int, name: Swift.String, returnURL: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func cardParams(withCard card: Stripe.STPCardParams) -> Stripe.STPSourceParams + @objc dynamic public class func giropayParams(withAmount amount: Swift.Int, name: Swift.String, returnURL: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func idealParams(withAmount amount: Swift.Int, name: Swift.String?, returnURL: Swift.String, statementDescriptor: Swift.String?, bank: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func sepaDebitParams(withName name: Swift.String, iban: Swift.String, addressLine1: Swift.String?, city: Swift.String?, postalCode: Swift.String?, country: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func sofortParams(withAmount amount: Swift.Int, returnURL: Swift.String, country: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @available(swift, obsoleted: 1.0) + @objc(klarnaParamsWithReturnURL:currency:purchaseCountry:items:customPaymentMethods:billingAddress:billingFirstName:billingLastName:billingDOB:) dynamic public class func objc_klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Foundation.NSNumber], billingAddress address: Stripe.STPAddress?, billingFirstName firstName: Swift.String?, billingLastName lastName: Swift.String?, billingDOB dateOfBirth: Stripe.STPDateOfBirth?) -> Stripe.STPSourceParams + public class func klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Stripe.STPKlarnaPaymentMethods], billingAddress address: Stripe.STPAddress? = nil, billingFirstName firstName: Swift.String? = nil, billingLastName lastName: Swift.String? = nil, billingDOB dateOfBirth: Stripe.STPDateOfBirth? = nil) -> Stripe.STPSourceParams + @available(swift, obsoleted: 1.0) + @objc(klarnaParamsWithReturnURL:currency:purchaseCountry:items:customPaymentMethods:) dynamic public class func objc_klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Foundation.NSNumber]) -> Stripe.STPSourceParams + public class func klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Stripe.STPKlarnaPaymentMethods]) -> Stripe.STPSourceParams + @objc dynamic public class func threeDSecureParams(withAmount amount: Swift.Int, currency: Swift.String, returnURL: Swift.String, card: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func alipayParams(withAmount amount: Swift.Int, currency: Swift.String, returnURL: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func alipayReusableParams(withCurrency currency: Swift.String, returnURL: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func p24Params(withAmount amount: Swift.Int, currency: Swift.String, email: Swift.String, name: Swift.String?, returnURL: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func visaCheckoutParams(withCallId callId: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func masterpassParams(withCartId cartId: Swift.String, transactionId: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func epsParams(withAmount amount: Swift.Int, name: Swift.String, returnURL: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func multibancoParams(withAmount amount: Swift.Int, returnURL: Swift.String, email: Swift.String) -> Stripe.STPSourceParams + @objc(wechatPayParamsWithAmount:currency:appId:statementDescriptor:) dynamic public class func wechatPay(withAmount amount: Swift.Int, currency: Swift.String, appId: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc dynamic public func redirectDictionaryWithMerchantNameIfNecessary() -> [Swift.AnyHashable : Any] + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc public enum STPThreeDSCustomizationButtonType : Swift.Int { + case submit = 0 + case `continue` = 1 + case next = 2 + case cancel = 3 + case resend = 4 + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPThreeDSButtonTitleStyle : Swift.Int { + case `default` + case uppercase + case lowercase + case sentenceCapitalized + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public class STPThreeDSButtonCustomization : ObjectiveC.NSObject { + @objc(defaultSettingsForButtonType:) public class func defaultSettings(for type: Stripe.STPThreeDSCustomizationButtonType) -> Stripe.STPThreeDSButtonCustomization + @objc public init(backgroundColor: UIKit.UIColor, cornerRadius: CoreGraphics.CGFloat) + @objc public var backgroundColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var cornerRadius: CoreGraphics.CGFloat { + @objc get + @objc set + } + @objc public var titleStyle: Stripe.STPThreeDSButtonTitleStyle { + @objc get + @objc set + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPPaymentIntentCaptureMethod : Swift.Int { + case unknown + case automatic + case manual + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentIntentConfirmationMethod : Swift.Int { + case unknown + case manual + case automatic + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntent : ObjectiveC.NSObject { + @objc final public let stripeId: Swift.String + @objc final public let clientSecret: Swift.String + @objc final public let amount: Swift.Int + @objc final public let canceledAt: Foundation.Date? + @objc final public let captureMethod: Stripe.STPPaymentIntentCaptureMethod + @objc final public let confirmationMethod: Stripe.STPPaymentIntentConfirmationMethod + @objc final public let created: Foundation.Date + @objc final public let currency: Swift.String + @objc final public let stripeDescription: Swift.String? + @objc final public let livemode: Swift.Bool + @objc final public let nextAction: Stripe.STPIntentAction? + @objc final public let receiptEmail: Swift.String? + @objc final public let sourceId: Swift.String? + @objc final public let paymentMethodId: Swift.String? + @objc final public let status: Stripe.STPPaymentIntentStatus + @objc final public let paymentMethodTypes: [Foundation.NSNumber] + @objc final public let setupFutureUsage: Stripe.STPPaymentIntentSetupFutureUsage + @objc final public let lastPaymentError: Stripe.STPPaymentIntentLastPaymentError? + @objc final public let shipping: Stripe.STPPaymentIntentShippingDetails? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntent : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +extension STPPaymentIntent { + @available(*, deprecated, renamed: "nextAction", message: "Use nextAction instead") + @objc dynamic public var nextSourceAction: Stripe.STPIntentAction? { + @objc get + } +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSFooterCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSFooterCustomization + @objc public var backgroundColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var chevronColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var headingTextColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var headingFont: UIKit.UIFont { + @objc get + @objc set + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc deinit + @objc override dynamic public init() +} +extension STPAPIClient { + public func createRadarSession(completion: @escaping Stripe.STPRadarSessionCompletionBlock) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, unavailable, renamed: "STPIntentActionRedirectToURL", message: "Use `STPIntentActionRedirectToURL` instead.") +@objc final public class STPPaymentIntentActionRedirectToURL : Stripe.STPIntentActionRedirectToURL { + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPShippingAddressViewController : Stripe.STPCoreTableViewController { + @objc convenience dynamic public init() + @objc(initWithPaymentContext:) convenience public init(paymentContext: Stripe.STPPaymentContext) + @objc(initWithConfiguration:theme:currency:shippingAddress:selectedShippingMethod:prefilledInformation:) public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme, currency: Swift.String?, shippingAddress: Stripe.STPAddress?, selectedShippingMethod: PassKit.PKShippingMethod?, prefilledInformation: Stripe.STPUserInformation?) + @objc weak public var delegate: Stripe.STPShippingAddressViewControllerDelegate? + @objc(dismissWithCompletion:) public func dismiss(withCompletion completion: StripeApplePay.STPVoidBlock?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required public init(theme: Stripe.STPTheme?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool) + @objc override public func tableView(_ tableView: UIKit.UITableView, heightForHeaderInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc deinit +} +@objc public protocol STPShippingAddressViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc func shippingAddressViewControllerDidCancel(_ addressViewController: Stripe.STPShippingAddressViewController) + @objc(shippingAddressViewController:didEnterAddress:completion:) func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didEnter address: Stripe.STPAddress, completion: @escaping Stripe.STPShippingMethodsCompletionBlock) + @objc(shippingAddressViewController:didFinishWithAddress:shippingMethod:) func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didFinishWith address: Stripe.STPAddress, shippingMethod method: PassKit.PKShippingMethod?) +} +extension STPShippingAddressViewController : UIKit.UITableViewDelegate, UIKit.UITableViewDataSource { + @objc dynamic public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, willDisplay cell: UIKit.UITableViewCell, forRowAt indexPath: Foundation.IndexPath) + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, viewForFooterInSection section: Swift.Int) -> UIKit.UIView? + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, viewForHeaderInSection section: Swift.Int) -> UIKit.UIView? +} +@objc public enum STPPaymentMethodCardCheckResult : Swift.Int { + case pass + case failed + case unavailable + case unchecked + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardChecks : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @available(*, deprecated, message: "Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var addressLine1Check: Stripe.STPPaymentMethodCardCheckResult { + get + } + @available(*, deprecated, message: "Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var addressPostalCodeCheck: Stripe.STPPaymentMethodCardCheckResult { + get + } + @available(*, deprecated, message: "Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var cvcCheck: Stripe.STPPaymentMethodCardCheckResult { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +extension STPBankAccountHolderType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPBankAccountStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPBankSelectionMethod : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPBillingAddressFields : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardBrand : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardFormViewStyle : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardFundingType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardValidationState : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPConnectAccountBusinessType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPFPXBankBrand : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPFilePurpose : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPIntentActionType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPKlarnaLineItemType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPKlarnaPaymentMethods : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPMandateCustomerAcceptanceType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentHandlerActionStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentHandlerErrorCode : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentActionType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentCaptureMethod : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentConfirmationMethod : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentLastPaymentErrorType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentSetupFutureUsage : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension STPPaymentIntentSourceActionType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentMethodCardCheckResult : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentMethodCardWalletType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentMethodType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPinStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPRedirectContextError : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPRedirectContextState : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSetupIntentLastSetupErrorType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSetupIntentStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSetupIntentUsage : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPShippingStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPShippingType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceCard3DSecureStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceFlow : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceRedirectStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceUsage : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceVerificationStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPThreeDSButtonTitleStyle : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPThreeDSCustomizationButtonType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPTokenType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +@objc public enum STPTokenType : Swift.Int { + case account = 0 + case bankAccount + case card + case PII + case cvcUpdate + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPToken : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPSourceProtocol { + @objc public var tokenId: Swift.String { + get + } + @objc public var livemode: Swift.Bool { + get + } + @objc public var type: Stripe.STPTokenType { + get + } + @objc public var card: Stripe.STPCard? { + get + } + @objc public var bankAccount: Stripe.STPBankAccount? { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public var debugDescription: Swift.String { + @objc get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc public var stripeID: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@_inheritsConvenienceInitializers @objc public class STPPaymentMethodBLIKParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPCoreScrollViewController : Stripe.STPCoreViewController { + @objc public var scrollView: UIKit.UIScrollView { + @objc get + @objc set + } + @objc override dynamic public func viewDidLoad() + @objc override dynamic public func viewDidLayoutSubviews() + @objc required public init(theme: Stripe.STPTheme?) + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc deinit +} +@objc public enum STPSourceFlow : Swift.Int { + case none + case redirect + case codeVerification + case receiver + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPSourceUsage : Swift.Int { + case reusable + case singleUse + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPSourceStatus : Swift.Int { + case pending + case chargeable + case consumed + case canceled + case failed + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPSourceType : Swift.Int { + case bancontact + case card + case giropay + @objc(STPSourceTypeiDEAL) case iDEAL + case SEPADebit + case sofort + case threeDSecure + case alipay + case P24 + case EPS + case multibanco + case weChatPay + case klarna + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPKlarnaPaymentMethods : Swift.Int { + case none + case payIn4 + case installments + case payIn4OrInstallments + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountIndividualParams : ObjectiveC.NSObject { + @objc public var address: Stripe.STPConnectAccountAddress? + @objc public var kanaAddress: Stripe.STPConnectAccountAddress? + @objc public var kanjiAddress: Stripe.STPConnectAccountAddress? + @objc public var dateOfBirth: Foundation.DateComponents? + @objc public var email: Swift.String? + @objc public var firstName: Swift.String? + @objc public var kanaFirstName: Swift.String? + @objc public var kanjiFirstName: Swift.String? + @objc public var gender: Swift.String? + @objc public var idNumber: Swift.String? + @objc public var lastName: Swift.String? + @objc public var kanaLastName: Swift.String? + @objc public var kanjiLastName: Swift.String? + @objc public var maidenName: Swift.String? + @objc public var metadata: [Swift.AnyHashable : Any]? + @objc public var phone: Swift.String? + @objc public var ssnLast4: Swift.String? + @objc public var verification: Stripe.STPConnectAccountIndividualVerification? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountIndividualParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountIndividualVerification : ObjectiveC.NSObject { + @objc public var document: Stripe.STPConnectAccountVerificationDocument? + @objc public var additionalDocument: Stripe.STPConnectAccountVerificationDocument? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountIndividualVerification : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountVerificationDocument : ObjectiveC.NSObject { + @objc public var back: Swift.String? + @objc public var front: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountVerificationDocument : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPDateOfBirth : ObjectiveC.NSObject { + @objc public var day: Swift.Int + @objc public var month: Swift.Int + @objc public var year: Swift.Int + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc deinit + @objc override dynamic public init() +} +extension STPDateOfBirth : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionRedirectToURL : ObjectiveC.NSObject { + @objc final public let url: Foundation.URL + @objc final public let returnURL: Foundation.URL? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPIntentActionRedirectToURL : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodGrabPayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +extension Stripe.STPSourceVerificationStatus : Swift.Equatable {} +extension Stripe.STPSourceVerificationStatus : Swift.Hashable {} +extension Stripe.STPSourceVerificationStatus : Swift.RawRepresentable {} +extension Stripe.STPBankSelectionMethod : Swift.Equatable {} +extension Stripe.STPBankSelectionMethod : Swift.Hashable {} +extension Stripe.STPBankSelectionMethod : Swift.RawRepresentable {} +extension Stripe.STPBankAccountHolderType : Swift.Equatable {} +extension Stripe.STPBankAccountHolderType : Swift.Hashable {} +extension Stripe.STPBankAccountHolderType : Swift.RawRepresentable {} +extension Stripe.STPSetupIntentStatus : Swift.Equatable {} +extension Stripe.STPSetupIntentStatus : Swift.Hashable {} +extension Stripe.STPSetupIntentStatus : Swift.RawRepresentable {} +extension Stripe.STPSetupIntentUsage : Swift.Equatable {} +extension Stripe.STPSetupIntentUsage : Swift.Hashable {} +extension Stripe.STPSetupIntentUsage : Swift.RawRepresentable {} +extension Stripe.STPConnectAccountBusinessType : Swift.Equatable {} +extension Stripe.STPConnectAccountBusinessType : Swift.Hashable {} +extension Stripe.STPConnectAccountBusinessType : Swift.RawRepresentable {} +extension Stripe.STPShippingType : Swift.Equatable {} +extension Stripe.STPShippingType : Swift.Hashable {} +extension Stripe.STPShippingType : Swift.RawRepresentable {} +extension Stripe.STPShippingStatus : Swift.Equatable {} +extension Stripe.STPShippingStatus : Swift.Hashable {} +extension Stripe.STPShippingStatus : Swift.RawRepresentable {} +extension Stripe.STPPaymentStatus : Swift.Equatable {} +extension Stripe.STPPaymentStatus : Swift.Hashable {} +extension Stripe.STPPaymentStatus : Swift.RawRepresentable {} +extension Stripe.STPPinStatus : Swift.Equatable {} +extension Stripe.STPPinStatus : Swift.Hashable {} +extension Stripe.STPPinStatus : Swift.RawRepresentable {} +extension Stripe.STPRedirectContextError : Swift.Equatable {} +extension Stripe.STPRedirectContextError : Swift.Hashable {} +extension Stripe.STPRedirectContextError : Swift.RawRepresentable {} +extension Stripe.STPRedirectContextState : Swift.Equatable {} +extension Stripe.STPRedirectContextState : Swift.Hashable {} +extension Stripe.STPRedirectContextState : Swift.RawRepresentable {} +extension Stripe.STPKlarnaLineItemType : Swift.Equatable {} +extension Stripe.STPKlarnaLineItemType : Swift.Hashable {} +extension Stripe.STPKlarnaLineItemType : Swift.RawRepresentable {} +extension Stripe.STPPaymentMethodType : Swift.Equatable {} +extension Stripe.STPPaymentMethodType : Swift.Hashable {} +extension Stripe.STPPaymentMethodType : Swift.RawRepresentable {} +extension Stripe.STPPaymentCardTextField : UIKit.UITextFieldDelegate {} +extension Stripe.STPSourceRedirectStatus : Swift.Equatable {} +extension Stripe.STPSourceRedirectStatus : Swift.Hashable {} +extension Stripe.STPSourceRedirectStatus : Swift.RawRepresentable {} +extension Stripe.STPFilePurpose : Swift.Equatable {} +extension Stripe.STPFilePurpose : Swift.Hashable {} +extension Stripe.STPFilePurpose : Swift.RawRepresentable {} +extension Stripe.STPPaymentHandlerActionStatus : Swift.Equatable {} +extension Stripe.STPPaymentHandlerActionStatus : Swift.Hashable {} +extension Stripe.STPPaymentHandlerActionStatus : Swift.RawRepresentable {} +extension Stripe.STPPaymentHandlerErrorCode : Swift.Equatable {} +extension Stripe.STPPaymentHandlerErrorCode : Swift.Hashable {} +extension Stripe.STPPaymentHandlerErrorCode : Swift.RawRepresentable {} +extension Stripe.STPSourceCard3DSecureStatus : Swift.Equatable {} +extension Stripe.STPSourceCard3DSecureStatus : Swift.Hashable {} +extension Stripe.STPSourceCard3DSecureStatus : Swift.RawRepresentable {} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +extension Stripe._stpobjc_STPErrorCode : Swift.Equatable {} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +extension Stripe._stpobjc_STPErrorCode : Swift.Hashable {} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +extension Stripe._stpobjc_STPErrorCode : Swift.RawRepresentable {} +extension Stripe.STPCardFundingType : Swift.Equatable {} +extension Stripe.STPCardFundingType : Swift.Hashable {} +extension Stripe.STPCardFundingType : Swift.RawRepresentable {} +extension Stripe.STPPaymentMethodCardWalletType : Swift.Equatable {} +extension Stripe.STPPaymentMethodCardWalletType : Swift.Hashable {} +extension Stripe.STPPaymentMethodCardWalletType : Swift.RawRepresentable {} +@available(iOS 13.0, *) +extension Stripe.PaymentSheet.UserInterfaceStyle : Swift.Equatable {} +@available(iOS 13.0, *) +extension Stripe.PaymentSheet.UserInterfaceStyle : Swift.Hashable {} +@available(iOS 13.0, *) +extension Stripe.PaymentSheet.UserInterfaceStyle : Swift.RawRepresentable {} +extension Stripe.PaymentSheet.SavePaymentMethodOptInBehavior : Swift.Equatable {} +extension Stripe.PaymentSheet.SavePaymentMethodOptInBehavior : Swift.Hashable {} +extension Stripe.STPCardBrand : Swift.Equatable {} +extension Stripe.STPCardBrand : Swift.Hashable {} +extension Stripe.STPCardBrand : Swift.RawRepresentable {} +extension Stripe.STPBankAccountStatus : Swift.Equatable {} +extension Stripe.STPBankAccountStatus : Swift.Hashable {} +extension Stripe.STPBankAccountStatus : Swift.RawRepresentable {} +extension Stripe.STPMandateCustomerAcceptanceType : Swift.Equatable {} +extension Stripe.STPMandateCustomerAcceptanceType : Swift.Hashable {} +extension Stripe.STPMandateCustomerAcceptanceType : Swift.RawRepresentable {} +extension Stripe.STPBillingAddressFields : Swift.Equatable {} +extension Stripe.STPBillingAddressFields : Swift.Hashable {} +extension Stripe.STPBillingAddressFields : Swift.RawRepresentable {} +extension Stripe.STPCardFormViewStyle : Swift.Equatable {} +extension Stripe.STPCardFormViewStyle : Swift.Hashable {} +extension Stripe.STPCardFormViewStyle : Swift.RawRepresentable {} +extension Stripe.STPSetupIntentLastSetupErrorType : Swift.Equatable {} +extension Stripe.STPSetupIntentLastSetupErrorType : Swift.Hashable {} +extension Stripe.STPSetupIntentLastSetupErrorType : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentLastPaymentErrorType : Swift.Equatable {} +extension Stripe.STPPaymentIntentLastPaymentErrorType : Swift.Hashable {} +extension Stripe.STPPaymentIntentLastPaymentErrorType : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentStatus : Swift.Equatable {} +extension Stripe.STPPaymentIntentStatus : Swift.Hashable {} +extension Stripe.STPPaymentIntentStatus : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentSetupFutureUsage : Swift.Equatable {} +extension Stripe.STPPaymentIntentSetupFutureUsage : Swift.Hashable {} +extension Stripe.STPPaymentIntentSetupFutureUsage : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentActionType : Swift.Equatable {} +extension Stripe.STPPaymentIntentActionType : Swift.Hashable {} +extension Stripe.STPPaymentIntentActionType : Swift.RawRepresentable {} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension Stripe.STPPaymentIntentSourceActionType : Swift.Equatable {} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension Stripe.STPPaymentIntentSourceActionType : Swift.Hashable {} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension Stripe.STPPaymentIntentSourceActionType : Swift.RawRepresentable {} +extension Stripe.STPFPXBankBrand : Swift.Equatable {} +extension Stripe.STPFPXBankBrand : Swift.Hashable {} +extension Stripe.STPFPXBankBrand : Swift.RawRepresentable {} +extension Stripe.STPCardValidationState : Swift.Equatable {} +extension Stripe.STPCardValidationState : Swift.Hashable {} +extension Stripe.STPCardValidationState : Swift.RawRepresentable {} +extension Stripe.STPIntentActionType : Swift.Equatable {} +extension Stripe.STPIntentActionType : Swift.Hashable {} +extension Stripe.STPIntentActionType : Swift.RawRepresentable {} +extension Stripe.STPThreeDSCustomizationButtonType : Swift.Equatable {} +extension Stripe.STPThreeDSCustomizationButtonType : Swift.Hashable {} +extension Stripe.STPThreeDSCustomizationButtonType : Swift.RawRepresentable {} +extension Stripe.STPThreeDSButtonTitleStyle : Swift.Equatable {} +extension Stripe.STPThreeDSButtonTitleStyle : Swift.Hashable {} +extension Stripe.STPThreeDSButtonTitleStyle : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentCaptureMethod : Swift.Equatable {} +extension Stripe.STPPaymentIntentCaptureMethod : Swift.Hashable {} +extension Stripe.STPPaymentIntentCaptureMethod : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentConfirmationMethod : Swift.Equatable {} +extension Stripe.STPPaymentIntentConfirmationMethod : Swift.Hashable {} +extension Stripe.STPPaymentIntentConfirmationMethod : Swift.RawRepresentable {} +extension Stripe.STPPaymentMethodCardCheckResult : Swift.Equatable {} +extension Stripe.STPPaymentMethodCardCheckResult : Swift.Hashable {} +extension Stripe.STPPaymentMethodCardCheckResult : Swift.RawRepresentable {} +extension Stripe.STPKlarnaPaymentMethods : Swift.Equatable {} +extension Stripe.STPKlarnaPaymentMethods : Swift.Hashable {} +extension Stripe.STPKlarnaPaymentMethods : Swift.RawRepresentable {} +extension Stripe.STPSourceFlow : Swift.Equatable {} +extension Stripe.STPSourceFlow : Swift.Hashable {} +extension Stripe.STPSourceFlow : Swift.RawRepresentable {} +extension Stripe.STPSourceStatus : Swift.Equatable {} +extension Stripe.STPSourceStatus : Swift.Hashable {} +extension Stripe.STPSourceStatus : Swift.RawRepresentable {} +extension Stripe.STPSourceType : Swift.Equatable {} +extension Stripe.STPSourceType : Swift.Hashable {} +extension Stripe.STPSourceType : Swift.RawRepresentable {} +extension Stripe.STPSourceUsage : Swift.Equatable {} +extension Stripe.STPSourceUsage : Swift.Hashable {} +extension Stripe.STPSourceUsage : Swift.RawRepresentable {} +extension Stripe.STPTokenType : Swift.Equatable {} +extension Stripe.STPTokenType : Swift.Hashable {} +extension Stripe.STPTokenType : Swift.RawRepresentable {} diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Modules/Stripe.swiftmodule/arm64.swiftdoc b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Modules/Stripe.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..5f6515e Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Modules/Stripe.swiftmodule/arm64.swiftdoc differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Modules/Stripe.swiftmodule/arm64.swiftinterface b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Modules/Stripe.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..6f62ef0 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Modules/Stripe.swiftmodule/arm64.swiftinterface @@ -0,0 +1,4764 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name Stripe +import AVFoundation +import CommonCrypto +import Contacts +import CoreLocation +import Foundation +import ObjectiveC +import PassKit +import SafariServices +import Security +@_exported import Stripe +import Stripe3DS2 +@_exported import StripeApplePay +@_exported import StripeCore +import StripeUICore +import Swift +import SwiftUI +import UIKit +import Vision +extension STPAPIClient { + public var configuration: Stripe.STPPaymentConfiguration { + get + set + } + @available(*, deprecated, message: "This initializer previously configured publishableKey and stripeAccount via the STPPaymentConfiguration instance. This behavior is deprecated; set the STPAPIClient configuration, publishableKey, and stripeAccount properties directly on the STPAPIClient instead.") + convenience public init(configuration: Stripe.STPPaymentConfiguration) +} +extension STPAPIClient { + public func createToken(withBankAccount bankAccount: Stripe.STPBankAccountParams, completion: @escaping Stripe.STPTokenCompletionBlock) +} +extension STPAPIClient { + public func createToken(withPersonalIDNumber pii: Swift.String, completion: Stripe.STPTokenCompletionBlock?) + public func createToken(withSSNLast4 ssnLast4: Swift.String, completion: @escaping Stripe.STPTokenCompletionBlock) +} +extension STPAPIClient { + public func createToken(withConnectAccount account: Stripe.STPConnectAccountParams, completion: Stripe.STPTokenCompletionBlock?) +} +extension STPAPIClient { + public func uploadImage(_ image: UIKit.UIImage, purpose: Stripe.STPFilePurpose, completion: Stripe.STPFileCompletionBlock?) +} +extension STPAPIClient { + public func createToken(withCard cardParams: Stripe.STPCardParams, completion: @escaping Stripe.STPTokenCompletionBlock) + public func createToken(forCVCUpdate cvc: Swift.String, completion: Stripe.STPTokenCompletionBlock? = nil) +} +extension STPAPIClient { + public func createSource(with sourceParams: Stripe.STPSourceParams, completion: @escaping Stripe.STPSourceCompletionBlock) + public func retrieveSource(withId identifier: Swift.String, clientSecret secret: Swift.String, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public func startPollingSource(withId identifier: Swift.String, clientSecret secret: Swift.String, timeout: Foundation.TimeInterval, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public func stopPollingSource(withId identifier: Swift.String) +} +extension STPAPIClient { + public func retrievePaymentIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + public func retrievePaymentIntent(withClientSecret secret: Swift.String, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) +} +extension STPAPIClient { + public func retrieveSetupIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPSetupIntentCompletionBlock) + public func confirmSetupIntent(with setupIntentParams: Stripe.STPSetupIntentConfirmParams, completion: @escaping Stripe.STPSetupIntentCompletionBlock) +} +extension STPAPIClient { + public func createPaymentMethod(with paymentMethodParams: Stripe.STPPaymentMethodParams, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSLabelCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSLabelCustomization + @objc public var headingFont: UIKit.UIFont { + @objc get + @objc set(headingFont) + } + @objc public var headingTextColor: UIKit.UIColor { + @objc get + @objc set(headingTextColor) + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set(textColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodUPI : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var vpa: Swift.String { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPSourceVerificationStatus : Swift.Int { + case pending + case succeeded + case failed + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceVerification : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var attemptsRemaining: Foundation.NSNumber? { + get + } + @objc public var status: Stripe.STPSourceVerificationStatus { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodOXXO : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public enum STPBankSelectionMethod : Swift.Int { + case FPX + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPBankSelectionViewController : Stripe.STPCoreTableViewController, UIKit.UITableViewDataSource, UIKit.UITableViewDelegate { + @objc convenience public init(bankMethod: Stripe.STPBankSelectionMethod) + @objc convenience required public init(theme: Stripe.STPTheme?) + @objc public init(bankMethod: Stripe.STPBankSelectionMethod, configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc weak public var delegate: Stripe.STPBankSelectionViewControllerDelegate? + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc deinit + @objc public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell + @objc public func tableView(_ tableView: UIKit.UITableView, willDisplay cell: UIKit.UITableViewCell, forRowAt indexPath: Foundation.IndexPath) + @objc public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc public func tableView(_ tableView: UIKit.UITableView, shouldHighlightRowAt indexPath: Foundation.IndexPath) -> Swift.Bool + @objc public func tableView(_ tableView: UIKit.UITableView, didSelectRowAt indexPath: Foundation.IndexPath) +} +@objc public protocol STPBankSelectionViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc(bankSelectionViewController:didCreatePaymentMethodParams:) func bankSelectionViewController(_ bankViewController: Stripe.STPBankSelectionViewController, didCreatePaymentMethodParams paymentMethodParams: Stripe.STPPaymentMethodParams) +} +@objc @_inheritsConvenienceInitializers public class STPSetupIntentConfirmParams : ObjectiveC.NSObject, Foundation.NSCopying, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(clientSecret: Swift.String) + @objc public var clientSecret: Swift.String + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? + @objc public var paymentMethodID: Swift.String? + @objc public var returnURL: Swift.String? + @objc public var useStripeSDK: Foundation.NSNumber? + @objc public var mandateData: Stripe.STPMandateDataParams? { + @objc get + @objc set(newMandateData) + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSUICustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSUICustomization + @objc public var navigationBarCustomization: Stripe.STPThreeDSNavigationBarCustomization { + @objc get + @objc set(navigationBarCustomization) + } + @objc public var labelCustomization: Stripe.STPThreeDSLabelCustomization { + @objc get + @objc set(labelCustomization) + } + @objc public var textFieldCustomization: Stripe.STPThreeDSTextFieldCustomization { + @objc get + @objc set(textFieldCustomization) + } + @objc public var backgroundColor: UIKit.UIColor { + @objc get + @objc set(backgroundColor) + } + @objc public var footerCustomization: Stripe.STPThreeDSFooterCustomization { + @objc get + @objc set(footerCustomization) + } + @objc(setButtonCustomization:forType:) public func setButtonCustomization(_ buttonCustomization: Stripe.STPThreeDSButtonCustomization, for buttonType: Stripe.STPThreeDSCustomizationButtonType) + @objc(buttonCustomizationForButtonType:) public func buttonCustomization(for buttonType: Stripe.STPThreeDSCustomizationButtonType) -> Stripe.STPThreeDSButtonCustomization + @objc public var selectionCustomization: Stripe.STPThreeDSSelectionCustomization { + @objc get + @objc set(selectionCustomization) + } + @objc public var activityIndicatorViewStyle: UIKit.UIActivityIndicatorView.Style { + @objc get + @objc set(activityIndicatorViewStyle) + } + @objc public var blurStyle: UIKit.UIBlurEffect.Style { + @objc get + @objc set(blurStyle) + } + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceWeChatPayDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var weChatAppURL: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@_inheritsConvenienceInitializers @available(swift, obsoleted: 0.0.1, message: "Use 'StripeAPI' instead.") +@objc(StripeAPI) public class _stpobjc_StripeAPI : ObjectiveC.NSObject { + @objc public static var defaultPublishableKey: Swift.String? { + @objc get + @objc set + } + @objc public static var advancedFraudSignalsEnabled: Swift.Bool { + @objc get + @objc set + } + @objc public static var maxRetries: Swift.Int { + @objc get + @objc set + } + @discardableResult + @objc(handleStripeURLCallbackWithURL:) public static func handleURLCallback(with url: Foundation.URL) -> Swift.Bool + @objc public class var jcbPaymentNetworkSupported: Swift.Bool { + @objc get + @objc set + } + @objc public static var additionalEnabledApplePayNetworks: [PassKit.PKPaymentNetwork] { + @objc get + @objc set + } + @objc public class func canSubmitPaymentRequest(_ paymentRequest: PassKit.PKPaymentRequest) -> Swift.Bool + @objc dynamic public class func deviceSupportsApplePay() -> Swift.Bool + @available(*, deprecated, message: "Use `paymentRequestWithMerchantIdentifier:country:currency:` instead.") + @objc public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String) -> PassKit.PKPaymentRequest + @objc public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String, country countryCode: Swift.String, currency currencyCode: Swift.String) -> PassKit.PKPaymentRequest + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPBankAccountHolderType : Swift.Int { + case individual + case company + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPBankAccountParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var accountNumber: Swift.String? + @objc public var last4: Swift.String? { + @objc get + } + @objc public var routingNumber: Swift.String? + @objc public var country: Swift.String? + @objc public var currency: Swift.String? + @objc public var accountHolderName: Swift.String? + @objc public var accountHolderType: Stripe.STPBankAccountHolderType + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public init() + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit +} +@objc public class STPMandateOnlineParams : ObjectiveC.NSObject { + @objc final public let ipAddress: Swift.String + @objc final public let userAgent: Swift.String + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc(initWithIPAddress:userAgent:) public init(ipAddress: Swift.String, userAgent: Swift.String) + @objc override dynamic public init() + @objc deinit +} +extension STPMandateOnlineParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPSetupIntentStatus : Swift.Int { + case unknown + case requiresPaymentMethod + case requiresConfirmation + case requiresAction + case processing + case succeeded + case canceled + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPSetupIntentUsage : Swift.Int { + case unknown + case none + case onSession + case offSession + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionAlipayHandleRedirect : ObjectiveC.NSObject { + @objc final public let nativeURL: Foundation.URL? + @objc final public let returnURL: Foundation.URL + @objc final public let url: Foundation.URL + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPIntentActionAlipayHandleRedirect : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_hasMissingDesignatedInitializers open class STPCustomerContext : ObjectiveC.NSObject, Stripe.STPBackendAPIAdapter { + @objc(initWithKeyProvider:) convenience public init(keyProvider: Stripe.STPCustomerEphemeralKeyProvider) + convenience public init(keyProvider: Stripe.STPCustomerEphemeralKeyProvider?, apiClient: StripeCore.STPAPIClient) + @available(swift, deprecated: 0.0.1, renamed: "init(keyProvider:apiClient:)") + @objc(initWithKeyProvider:apiClient:) convenience public init(keyProvider: Stripe.STPCustomerEphemeralKeyProvider?, apiClient: Stripe._stpobjc_STPAPIClient) + @objc public func clearCache() + @objc public var includeApplePayPaymentMethods: Swift.Bool { + @objc get + @objc set(includeApplePayMethods) + } + @objc public func retrieveCustomer(_ completion: Stripe.STPCustomerCompletionBlock? = nil) + @objc public func updateCustomer(withShippingAddress shipping: Stripe.STPAddress, completion: Stripe.STPErrorBlock?) + @objc public func attachPaymentMethodToCustomer(paymentMethodId: Swift.String, completion: Stripe.STPErrorBlock?) + @objc public func attachPaymentMethod(toCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc public func detachPaymentMethodFromCustomer(paymentMethodId: Swift.String, completion: Stripe.STPErrorBlock?) + @objc public func detachPaymentMethod(fromCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc public func listPaymentMethodsForCustomer(completion: Stripe.STPPaymentMethodsCompletionBlock? = nil) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodLinkParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodEPS : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPConnectAccountBusinessType : Swift.Int { + case individual + case company + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public class STPConnectAccountParams : ObjectiveC.NSObject { + @objc final public let tosShownAndAccepted: Foundation.NSNumber? + @objc final public let businessType: Stripe.STPConnectAccountBusinessType + @objc final public let individual: Stripe.STPConnectAccountIndividualParams? + @objc final public let company: Stripe.STPConnectAccountCompanyParams? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init?(tosShownAndAccepted wasAccepted: Swift.Bool, individual: Stripe.STPConnectAccountIndividualParams) + @objc public init?(tosShownAndAccepted wasAccepted: Swift.Bool, company: Stripe.STPConnectAccountCompanyParams) + @objc public init(individual: Stripe.STPConnectAccountIndividualParams) + @objc public init(company: Stripe.STPConnectAccountCompanyParams) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountParams : Stripe.STPFormEncodable { + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodFPX : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var bankIdentifierCode: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPCoreTableViewController : Stripe.STPCoreScrollViewController { + @objc public var tableView: UIKit.UITableView? { + @objc get + } + @objc override dynamic public func viewWillAppear(_ animated: Swift.Bool) + @objc public func tableView(_ tableView: UIKit.UITableView, heightForHeaderInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc required public init(theme: Stripe.STPTheme?) + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc deinit +} +@objc public enum STPShippingType : Swift.Int { + case shipping + case delivery + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPShippingStatus : Swift.Int { + case valid + case invalid + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentStatus : Swift.Int { + case success + case error + case userCancellation + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPErrorBlock = (Swift.Error?) -> Swift.Void +public typealias STPBooleanSuccessBlock = (Swift.Bool, Swift.Error?) -> Swift.Void +public typealias STPJSONResponseCompletionBlock = ([Swift.AnyHashable : Any]?, Swift.Error?) -> Swift.Void +public typealias STPTokenCompletionBlock = (Stripe.STPToken?, Swift.Error?) -> Swift.Void +public typealias STPSourceCompletionBlock = (Stripe.STPSource?, Swift.Error?) -> Swift.Void +public typealias STPSourceProtocolCompletionBlock = (Stripe.STPSourceProtocol?, Swift.Error?) -> Swift.Void +public typealias STPPaymentIntentCompletionBlock = (Stripe.STPPaymentIntent?, Swift.Error?) -> Swift.Void +public typealias STPSetupIntentCompletionBlock = (Stripe.STPSetupIntent?, Swift.Error?) -> Swift.Void +public typealias STPPaymentMethodCompletionBlock = (Stripe.STPPaymentMethod?, Swift.Error?) -> Swift.Void +public typealias STPPaymentMethodsCompletionBlock = ([Stripe.STPPaymentMethod]?, Swift.Error?) -> Swift.Void +public typealias STPShippingMethodsCompletionBlock = (Stripe.STPShippingStatus, Swift.Error?, [PassKit.PKShippingMethod]?, PassKit.PKShippingMethod?) -> Swift.Void +public typealias STPFileCompletionBlock = (Stripe.STPFile?, Swift.Error?) -> Swift.Void +public typealias STPCustomerCompletionBlock = (Stripe.STPCustomer?, Swift.Error?) -> Swift.Void +@objc public enum STPPinStatus : Swift.Int { + case success + case errorVerificationAlreadyRedeemed + case errorVerificationCodeIncorrect + case errorVerificationExpired + case errorVerificationTooManyAttempts + case ephemeralKeyError + case unknownError + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPPinCompletionBlock = (Stripe.STPIssuingCardPin?, Stripe.STPPinStatus, Swift.Error?) -> Swift.Void +public typealias STPPaymentStatusBlock = (Stripe.STPPaymentStatus, Swift.Error?) -> Swift.Void +public typealias STPRadarSessionCompletionBlock = (Stripe.STPRadarSession?, Swift.Error?) -> Swift.Void +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceKlarnaDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var clientToken: Swift.String? { + get + } + @objc public var purchaseCountry: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public class STPConfirmBLIKOptions : ObjectiveC.NSObject { + @objc public var code: Swift.String + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc required public init(code: Swift.String) + @objc deinit + @objc override dynamic public init() +} +extension STPConfirmBLIKOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPRedirectContextError : Swift.Int { + @objc(STPRedirectContextAppRedirectError) case appRedirectError + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPRedirectContextState : Swift.Int { + case notStarted + case inProgress + case cancelled + case completed + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPRedirectContextSourceCompletionBlock = (Swift.String, Swift.String?, Swift.Error?) -> Swift.Void +public typealias STPRedirectContextCompletionBlock = Stripe.STPRedirectContextSourceCompletionBlock +public typealias STPRedirectContextPaymentIntentCompletionBlock = (Swift.String, Swift.Error?) -> Swift.Void +@objc @_hasMissingDesignatedInitializers @available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +public class STPRedirectContext : ObjectiveC.NSObject, SafariServices.SFSafariViewControllerDelegate, UIKit.UIViewControllerTransitioningDelegate { + @objc public static let STPRedirectContextErrorDomain: Swift.String + @objc public var state: Stripe.STPRedirectContextState { + get + } + @objc convenience public init?(source: Stripe.STPSource, completion: @escaping Stripe.STPRedirectContextSourceCompletionBlock) + @objc convenience public init?(paymentIntent: Stripe.STPPaymentIntent, completion: @escaping Stripe.STPRedirectContextPaymentIntentCompletionBlock) + @objc(startRedirectFlowFromViewController:) public func startRedirectFlow(from presentingViewController: UIKit.UIViewController) + @objc(startSafariViewControllerRedirectFlowFromViewController:) dynamic public func startSafariViewControllerRedirectFlow(from presentingViewController: UIKit.UIViewController) + @objc public func startSafariAppRedirectFlow() + @objc public func cancel() + @objc deinit + @objc public func safariViewControllerDidFinish(_ controller: SafariServices.SFSafariViewController) + @objc public func safariViewController(_ controller: SafariServices.SFSafariViewController, didCompleteInitialLoad didLoadSuccessfully: Swift.Bool) + @objc public func safariViewController(_ controller: SafariServices.SFSafariViewController, initialLoadDidRedirectTo URL: Foundation.URL) + @objc public func presentationController(forPresented presented: UIKit.UIViewController, presenting: UIKit.UIViewController?, source: UIKit.UIViewController) -> UIKit.UIPresentationController? + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers final public class STPRadarSession : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let id: Swift.String + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc public static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Stripe.STPRadarSession? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPKlarnaLineItemType : Swift.Int { + case SKU + case tax + case shipping + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public class STPKlarnaLineItem : ObjectiveC.NSObject { + @objc public var itemType: Stripe.STPKlarnaLineItemType + @objc public var itemDescription: Swift.String + @objc public var quantity: Foundation.NSNumber + @objc public var totalAmount: Foundation.NSNumber + @objc public init(itemType: Stripe.STPKlarnaLineItemType, itemDescription: Swift.String, quantity: Foundation.NSNumber, totalAmount: Foundation.NSNumber) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodOXXOParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @IBDesignable open class STPPaymentCardTextField : UIKit.UIControl, UIKit.UIKeyInput { + @objc open func textField(_ textField: UIKit.UITextField, shouldChangeCharactersIn range: Foundation.NSRange, replacementString string: Swift.String) -> Swift.Bool + @objc @IBOutlet weak open var delegate: Stripe.STPPaymentCardTextFieldDelegate? + @objc open var font: UIKit.UIFont { + @objc get + @objc set + } + @objc open var textColor: UIKit.UIColor { + @objc get + @objc set + } + @objc open var textErrorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc open var placeholderColor: UIKit.UIColor { + @objc get + @objc set + } + @objc @IBInspectable open var numberPlaceholder: Swift.String? { + @objc get + @objc set(numberPlaceholder) + } + @objc @IBInspectable open var expirationPlaceholder: Swift.String? { + @objc get + @objc set(expirationPlaceholder) + } + @objc @IBInspectable open var cvcPlaceholder: Swift.String? { + @objc get + @objc set(cvcPlaceholder) + } + @objc @IBInspectable open var postalCodePlaceholder: Swift.String? { + @objc get + @objc set(postalCodePlaceholder) + } + @objc open var cursorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc open var borderColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc open var borderWidth: CoreGraphics.CGFloat { + @objc get + @objc set + } + @objc open var cornerRadius: CoreGraphics.CGFloat { + @objc get + @objc set + } + @objc open var keyboardAppearance: UIKit.UIKeyboardAppearance { + @objc get + @objc set + } + @objc override dynamic open var inputView: UIKit.UIView? { + @objc get + @objc set(inputView) + } + @objc override dynamic open var inputAccessoryView: UIKit.UIView? { + @objc get + @objc set(inputAccessoryView) + } + @objc open var brandImage: UIKit.UIImage? { + get + } + @objc dynamic open var isValid: Swift.Bool { + @objc get + } + @objc override dynamic open var isEnabled: Swift.Bool { + @objc get + @objc set(enabled) + } + @objc open var cardNumber: Swift.String? { + @objc get + } + @objc open var expirationMonth: Swift.Int { + @objc get + } + @objc open var formattedExpirationMonth: Swift.String? { + @objc get + } + @objc open var expirationYear: Swift.Int { + @objc get + } + @objc open var formattedExpirationYear: Swift.String? { + @objc get + } + @objc open var cvc: Swift.String? { + @objc get + } + @objc open var postalCode: Swift.String? { + @objc get + @objc set + } + @objc open var postalCodeEntryEnabled: Swift.Bool { + @objc get + @objc set(postalCodeEntryEnabled) + } + @objc open var countryCode: Swift.String? { + @objc get + @objc set(cCode) + } + @objc open var cardParams: Stripe.STPPaymentMethodCardParams { + @objc get + @objc set(callersCardParams) + } + @discardableResult + @objc override dynamic open func becomeFirstResponder() -> Swift.Bool + @discardableResult + @objc override dynamic open func resignFirstResponder() -> Swift.Bool + @objc open func clear() + @objc(cvcImageForCardBrand:) open class func cvcImage(for cardBrand: Stripe.STPCardBrand) -> UIKit.UIImage? + @objc(brandImageForCardBrand:) open class func brandImage(for cardBrand: Stripe.STPCardBrand) -> UIKit.UIImage? + @objc(errorImageForCardBrand:) open class func errorImage(for cardBrand: Stripe.STPCardBrand) -> UIKit.UIImage? + @objc(brandImageRectForBounds:) open func brandImageRect(forBounds bounds: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @objc(fieldsRectForBounds:) open func fieldsRect(forBounds bounds: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc override dynamic open func traitCollectionDidChange(_ previousTraitCollection: UIKit.UITraitCollection?) + @objc override dynamic open var backgroundColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc override dynamic open var contentVerticalAlignment: UIKit.UIControl.ContentVerticalAlignment { + @objc get + @objc set(contentVerticalAlignment) + } + @objc override dynamic open var isFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic open var canBecomeFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic open var canResignFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic open var intrinsicContentSize: CoreGraphics.CGSize { + @objc get + } + @objc override dynamic open func layoutSubviews() + @objc open func textFieldShouldBeginEditing(_ textField: UIKit.UITextField) -> Swift.Bool + @objc open func textFieldDidBeginEditing(_ textField: UIKit.UITextField) + @objc open func textFieldShouldEndEditing(_ textField: UIKit.UITextField) -> Swift.Bool + @objc open func textFieldDidEndEditing(_ textField: UIKit.UITextField) + @objc open func textFieldShouldReturn(_ textField: UIKit.UITextField) -> Swift.Bool + @objc open var hasText: Swift.Bool { + @objc get + } + @objc open func insertText(_ text: Swift.String) + @objc open func deleteBackward() + @objc open class func keyPathsForValuesAffectingIsValid() -> Swift.Set + @objc deinit +} +@objc public protocol STPPaymentCardTextFieldDelegate : ObjectiveC.NSObjectProtocol { + @objc optional func paymentCardTextFieldDidChange(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditing(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldWillEndEditing(forReturn textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditing(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingNumber(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingNumber(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingExpiration(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingExpiration(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingPostalCode(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingPostalCode(_ textField: Stripe.STPPaymentCardTextField) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceSEPADebitDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var last4: Swift.String? { + get + } + @objc public var bankCode: Swift.String? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var mandateReference: Swift.String? { + get + } + @objc public var mandateURL: Foundation.URL? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBacsDebitParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var accountNumber: Swift.String? + @objc public var sortCode: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodiDEALParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var bankName: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPAPIResponseDecodable : ObjectiveC.NSObjectProtocol { + @objc static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc var allResponseFields: [Swift.AnyHashable : Any] { get } +} +extension STPAPIClient { + public func createToken(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPTokenCompletionBlock) + public func createSource(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPSourceCompletionBlock) + public func createPaymentMethod(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) +} +@objc @_inheritsConvenienceInitializers public class STPPaymentIntentParams : ObjectiveC.NSObject { + @objc public init(clientSecret: Swift.String) + @objc public var stripeId: Swift.String? { + @objc get + } + @objc public var clientSecret: Swift.String + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? + @objc public var paymentMethodId: Swift.String? + @objc public var sourceParams: Stripe.STPSourceParams? + @objc public var sourceId: Swift.String? + @objc public var receiptEmail: Swift.String? + @objc public var savePaymentMethod: Foundation.NSNumber? + @objc public var returnURL: Swift.String? + public var setupFutureUsage: Stripe.STPPaymentIntentSetupFutureUsage? + @available(swift, obsoleted: 1.0, renamed: "setupFutureUsage") + @objc(setupFutureUsage) public var setupFutureUsage_objc: Foundation.NSNumber? { + @objc get + @objc set + } + @objc public var useStripeSDK: Foundation.NSNumber? + @objc public var mandateData: Stripe.STPMandateDataParams? { + @objc get + @objc set + } + @objc public var paymentMethodOptions: Stripe.STPConfirmPaymentMethodOptions? + @objc public var shipping: Stripe.STPPaymentIntentShippingDetailsParams? + @available(*, deprecated, renamed: "returnURL") + @objc public var returnUrl: Swift.String? { + @objc get + @objc set(returnUrl) + } + @available(*, deprecated, renamed: "savePaymentMethod") + @objc public var saveSourceToCustomer: Foundation.NSNumber? { + @objc get + @objc set(saveSourceToCustomer) + } + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public func configure(with paymentResult: Stripe.STPPaymentResult) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit +} +extension STPPaymentIntentParams : Stripe.STPFormEncodable { + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] +} +extension STPPaymentIntentParams : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodSEPADebit : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var bankCode: Swift.String? { + get + } + @objc public var branchCode: Swift.String? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var mandate: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@_hasMissingDesignatedInitializers @available(swift, deprecated: 0.0.1, renamed: "STPAPIClient") +@objc(STPAPIClient) public class _stpobjc_STPAPIClient : ObjectiveC.NSObject { + @objc public static let STPSDKVersion: Swift.String + @available(swift, deprecated: 0.0.1) + @objc(sharedClient) public static let shared: Stripe._stpobjc_STPAPIClient + @objc public var publishableKey: Swift.String? { + @objc get + @objc set + } + @objc public var configuration: Stripe.STPPaymentConfiguration { + @objc get + @objc set + } + @objc public var stripeAccount: Swift.String? { + @objc get + @objc set + } + @objc public var appInfo: Stripe._stpobjc_STPAppInfo? { + @objc get + @objc set + } + @objc public static let apiVersion: Swift.String + @objc public init(publishableKey: Swift.String) + @available(*, deprecated, message: "This initializer previously configured publishableKey and stripeAccount via the STPPaymentConfiguration instance. This behavior is deprecated; set the STPAPIClient configuration, publishableKey, and stripeAccount properties directly on the STPAPIClient instead.") + @objc public init(configuration: Stripe.STPPaymentConfiguration) + @objc public func createToken(withBankAccount bankAccount: Stripe.STPBankAccountParams, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc public func createToken(withPersonalIDNumber pii: Swift.String, completion: Stripe.STPTokenCompletionBlock?) + @objc public func createToken(withSSNLast4 ssnLast4: Swift.String, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc public func createToken(withConnectAccount account: Stripe.STPConnectAccountParams, completion: Stripe.STPTokenCompletionBlock?) + @objc public func uploadImage(_ image: UIKit.UIImage, purpose: Stripe.STPFilePurpose, completion: Stripe.STPFileCompletionBlock?) + @objc public func createToken(withCard cardParams: Stripe.STPCardParams, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc public func createToken(forCVCUpdate cvc: Swift.String, completion: Stripe.STPTokenCompletionBlock? = nil) + @objc(createSourceWithParams:completion:) public func createSource(with sourceParams: Stripe.STPSourceParams, completion: @escaping Stripe.STPSourceCompletionBlock) + @objc public func retrieveSource(withId identifier: Swift.String, clientSecret secret: Swift.String, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + @objc public func startPollingSource(withId identifier: Swift.String, clientSecret secret: Swift.String, timeout: Foundation.TimeInterval, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + @objc public func stopPollingSource(withId identifier: Swift.String) + @objc public func retrievePaymentIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc public func retrievePaymentIntent(withClientSecret secret: Swift.String, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc(confirmPaymentIntentWithParams:completion:) dynamic public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc(confirmPaymentIntentWithParams:expand:completion:) public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc public func retrieveSetupIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPSetupIntentCompletionBlock) + @objc(confirmSetupIntentWithParams:completion:) dynamic public func confirmSetupIntent(with setupIntentParams: Stripe.STPSetupIntentConfirmParams, completion: @escaping Stripe.STPSetupIntentCompletionBlock) + @objc(createPaymentMethodWithParams:completion:) public func createPaymentMethod(with paymentMethodParams: Stripe.STPPaymentMethodParams, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) + @objc public func createRadarSession(completion: @escaping Stripe.STPRadarSessionCompletionBlock) + @objc(createTokenWithPayment:completion:) public func createToken(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc(createSourceWithPayment:completion:) public func createSource(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPSourceCompletionBlock) + @objc(createPaymentMethodWithPayment:completion:) public func createPaymentMethod(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) + @objc public class func pkPaymentError(forStripeError stripeError: Swift.Error?) -> Swift.Error? + @objc override dynamic public init() + @objc deinit +} +@objc(STPPaymentContext) public class STPPaymentContext : ObjectiveC.NSObject, Stripe.STPAuthenticationContext, Stripe.STPPaymentOptionsViewControllerDelegate, Stripe.STPShippingAddressViewControllerDelegate { + @objc convenience public init(customerContext: Stripe.STPCustomerContext) + @objc convenience public init(customerContext: Stripe.STPCustomerContext, configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc convenience public init(apiAdapter: Stripe.STPBackendAPIAdapter) + @objc public init(apiAdapter: Stripe.STPBackendAPIAdapter, configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc public var apiAdapter: Stripe.STPBackendAPIAdapter { + get + } + @objc public var configuration: Stripe.STPPaymentConfiguration { + get + } + @objc public var theme: Stripe.STPTheme { + get + } + @objc public var prefilledInformation: Stripe.STPUserInformation? { + @objc get + @objc set(prefilledInformation) + } + @objc weak public var hostViewController: UIKit.UIViewController? { + @objc get + @objc set(hostViewController) + } + @objc weak public var delegate: Stripe.STPPaymentContextDelegate? { + @objc get + @objc set(delegate) + } + @objc public var loading: Swift.Bool { + @objc get + } + @objc public var defaultPaymentMethod: Swift.String? + @objc public var selectedPaymentOption: Stripe.STPPaymentOption? { + @objc get + } + @objc public var paymentOptions: [Stripe.STPPaymentOption]? { + @objc get + } + @objc public var selectedShippingMethod: PassKit.PKShippingMethod? { + get + } + @objc public var shippingMethods: [PassKit.PKShippingMethod]? { + @objc get + } + @objc public var shippingAddress: Stripe.STPAddress? { + get + } + @objc public var paymentAmount: Swift.Int { + @objc get + @objc set(paymentAmount) + } + @objc public var paymentCurrency: Swift.String + @objc public var paymentCountry: Swift.String + @objc public var paymentSummaryItems: [PassKit.PKPaymentSummaryItem] { + @objc get + @objc set(paymentSummaryItems) + } + @objc public var modalPresentationStyle: UIKit.UIModalPresentationStyle + @objc public var largeTitleDisplayMode: UIKit.UINavigationItem.LargeTitleDisplayMode + @objc public var paymentOptionsViewControllerFooterView: UIKit.UIView? + @objc public var addCardViewControllerFooterView: UIKit.UIView? + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public func retryLoading() + @objc public func presentPaymentOptionsViewController() + @objc public func pushPaymentOptionsViewController() + @objc public func presentShippingViewController() + @objc public func pushShippingViewController() + @objc public func requestPayment() + @objc public func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didSelect paymentOption: Stripe.STPPaymentOption) + @objc public func paymentOptionsViewControllerDidFinish(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc public func paymentOptionsViewControllerDidCancel(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc public func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didFailToLoadWithError error: Swift.Error) + @objc public func shippingAddressViewControllerDidCancel(_ addressViewController: Stripe.STPShippingAddressViewController) + @objc public func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didEnter address: Stripe.STPAddress, completion: @escaping Stripe.STPShippingMethodsCompletionBlock) + @objc public func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didFinishWith address: Stripe.STPAddress, shippingMethod method: PassKit.PKShippingMethod?) + @objc public func authenticationPresentingViewController() -> UIKit.UIViewController + @objc public func prepare(forPresentation completion: @escaping StripeApplePay.STPVoidBlock) + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPPaymentContextDelegate : ObjectiveC.NSObjectProtocol { + @objc func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didFailToLoadWithError error: Swift.Error) + @objc func paymentContextDidChange(_ paymentContext: Stripe.STPPaymentContext) + @objc func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didCreatePaymentResult paymentResult: Stripe.STPPaymentResult, completion: @escaping Stripe.STPPaymentStatusBlock) + @objc func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didFinishWith status: Stripe.STPPaymentStatus, error: Swift.Error?) + @objc optional func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didUpdateShippingAddress address: Stripe.STPAddress, completion: @escaping Stripe.STPShippingMethodsCompletionBlock) +} +@_hasMissingDesignatedInitializers @objc(STPAppInfo) public class _stpobjc_STPAppInfo : ObjectiveC.NSObject { + @objc public init(name: Swift.String, partnerId: Swift.String?, version: Swift.String?, url: Swift.String?) + @objc public var name: Swift.String { + @objc get + } + @objc public var partnerId: Swift.String? { + @objc get + } + @objc public var version: Swift.String? { + @objc get + } + @objc public var url: Swift.String? { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +@objc public class STPPaymentIntentShippingDetailsParams : ObjectiveC.NSObject { + @objc public var address: Stripe.STPPaymentIntentShippingDetailsAddressParams + @objc public var name: Swift.String + @objc public var carrier: Swift.String? + @objc public var phone: Swift.String? + @objc public var trackingNumber: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(address: Stripe.STPPaymentIntentShippingDetailsAddressParams, name: Swift.String) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetailsParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +extension STPPaymentIntentShippingDetailsParams : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc @_inheritsConvenienceInitializers public class STPConfirmCardOptions : ObjectiveC.NSObject { + @objc public var cvc: Swift.String? + @objc public var network: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPConfirmCardOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, unavailable, renamed: "STPIntentAction", message: "Use `STPIntentAction` instead.") +@objc final public class STPPaymentIntentSourceAction : Stripe.STPIntentAction { + @objc deinit +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension STPPaymentCardTextField { + public struct Representable : SwiftUI.UIViewRepresentable { + public init(paymentMethodParams: SwiftUI.Binding) + public func makeCoordinator() -> Stripe.STPPaymentCardTextField.Representable.Coordinator + public func makeUIView(context: Stripe.STPPaymentCardTextField.Representable.Context) -> Stripe.STPPaymentCardTextField + public func updateUIView(_ paymentCardField: Stripe.STPPaymentCardTextField, context: Stripe.STPPaymentCardTextField.Representable.Context) + @objc @_hasMissingDesignatedInitializers public class Coordinator : ObjectiveC.NSObject, Stripe.STPPaymentCardTextFieldDelegate { + @objc public func paymentCardTextFieldDidChange(_ cardField: Stripe.STPPaymentCardTextField) + @objc deinit + @objc override dynamic public init() + } + public typealias UIViewType = Stripe.STPPaymentCardTextField + public typealias Body = Swift.Never + } +} +@objc public enum STPSourceRedirectStatus : Swift.Int { + case pending + case succeeded + case failed + case notRequired + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPSourceRedirect : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var returnURL: Foundation.URL { + get + } + @objc public var status: Stripe.STPSourceRedirectStatus { + get + } + @objc public var url: Foundation.URL { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSNavigationBarCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSNavigationBarCustomization + @objc public var barTintColor: UIKit.UIColor? { + @objc get + @objc set(barTintColor) + } + @objc public var barStyle: UIKit.UIBarStyle { + @objc get + @objc set(barStyle) + } + @objc public var translucent: Swift.Bool { + @objc get + @objc set(translucent) + } + @objc public var headerText: Swift.String { + @objc get + @objc set(headerText) + } + @objc public var buttonText: Swift.String { + @objc get + @objc set(buttonText) + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set(textColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSource : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPSourceProtocol, Stripe.STPPaymentOption { + @objc public var amount: Foundation.NSNumber? { + get + } + @objc public var clientSecret: Swift.String? { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var currency: Swift.String? { + get + } + @objc public var flow: Stripe.STPSourceFlow { + get + } + @objc public var livemode: Swift.Bool { + get + } + @objc public var owner: Stripe.STPSourceOwner? { + get + } + @objc public var receiver: Stripe.STPSourceReceiver? { + get + } + @objc public var redirect: Stripe.STPSourceRedirect? { + get + } + @objc public var status: Stripe.STPSourceStatus { + get + } + @objc public var type: Stripe.STPSourceType { + get + } + @objc public var usage: Stripe.STPSourceUsage { + get + } + @objc public var verification: Stripe.STPSourceVerification? { + get + } + @objc public var details: [Swift.AnyHashable : Any]? { + get + } + @objc public var cardDetails: Stripe.STPSourceCardDetails? { + get + } + @objc public var klarnaDetails: Stripe.STPSourceKlarnaDetails? { + get + } + @objc public var sepaDebitDetails: Stripe.STPSourceSEPADebitDetails? { + get + } + @objc public var weChatPayDetails: Stripe.STPSourceWeChatPayDetails? { + get + } + @available(*, deprecated, message: "Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @objc public var stripeID: Swift.String + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc deinit +} +@objc public enum STPFilePurpose : Swift.Int { + case identityDocument + case disputeEvidence + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPFile : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var fileId: Swift.String? { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var purpose: Stripe.STPFilePurpose { + get + } + @objc public var size: Foundation.NSNumber? { + get + } + @objc public var type: Swift.String? { + get + } + @objc(stringFromPurpose:) public class func string(from purpose: Stripe.STPFilePurpose) -> Swift.String? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public protocol STPFormTextFieldContainer : ObjectiveC.NSObjectProtocol { + @objc dynamic var formFont: UIKit.UIFont { get set } + @objc dynamic var formTextColor: UIKit.UIColor { get set } + @objc dynamic var formTextErrorColor: UIKit.UIColor { get set } + @objc dynamic var formPlaceholderColor: UIKit.UIColor { get set } + @objc dynamic var formCursorColor: UIKit.UIColor { get set } + @objc dynamic var formKeyboardAppearance: UIKit.UIKeyboardAppearance { get set } +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBoletoParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var taxID: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc public class STPPushProvisioningContext : ObjectiveC.NSObject { + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public class func requestConfiguration(withName name: Swift.String, description: Swift.String?, last4: Swift.String?, brand: Stripe.STPCardBrand) -> PassKit.PKAddPaymentPassRequestConfiguration + @objc public init(keyProvider: Stripe.STPIssuingCardEphemeralKeyProvider) + @objc public func addPaymentPassViewController(_ controller: PassKit.PKAddPaymentPassViewController, generateRequestWithCertificateChain certificates: [Foundation.Data], nonce: Foundation.Data, nonceSignature: Foundation.Data, completionHandler handler: @escaping (PassKit.PKAddPaymentPassRequest) -> Swift.Void) + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPPaymentHandlerActionStatus : Swift.Int { + case succeeded + case canceled + case failed + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentHandlerErrorCode : Swift.Int { + @objc(STPPaymentHandlerUnsupportedAuthenticationErrorCode) case unsupportedAuthenticationErrorCode + @objc(STPPaymentHandlerRequiredAppNotAvailableErrorCode) case requiredAppNotAvailable + @objc(STPPaymentHandlerRequiresPaymentMethodErrorCode) case requiresPaymentMethodErrorCode + @objc(STPPaymentHandlerIntentStatusErrorCode) case intentStatusErrorCode + @objc(STPPaymentHandlerTimedOutErrorCode) case timedOutErrorCode + @objc(STPPaymentHandlerStripe3DS2ErrorCode) case stripe3DS2ErrorCode + @objc(STPPaymentHandlerNotAuthenticatedErrorCode) case notAuthenticatedErrorCode + @objc(STPPaymentHandlerNoConcurrentActionsErrorCode) case noConcurrentActionsErrorCode + @objc(STPPaymentHandlerRequiresAuthenticationContextErrorCode) case requiresAuthenticationContextErrorCode + @objc(STPPaymentHandlerPaymentErrorCode) case paymentErrorCode + @objc(STPPaymentHandlerInvalidClientSecret) case invalidClientSecret + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPPaymentHandlerActionPaymentIntentCompletionBlock = (Stripe.STPPaymentHandlerActionStatus, Stripe.STPPaymentIntent?, Foundation.NSError?) -> Swift.Void +public typealias STPPaymentHandlerActionSetupIntentCompletionBlock = (Stripe.STPPaymentHandlerActionStatus, Stripe.STPSetupIntent?, Foundation.NSError?) -> Swift.Void +@objc @_hasMissingDesignatedInitializers @available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +public class STPPaymentHandler : ObjectiveC.NSObject, SafariServices.SFSafariViewControllerDelegate { + @objc public static let errorDomain: Swift.String + @objc public static let sharedHandler: Stripe.STPPaymentHandler + @objc public class func shared() -> Stripe.STPPaymentHandler + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public var threeDSCustomizationSettings: Stripe.STPThreeDSCustomizationSettings + @objc public var simulateAppToAppRedirect: Swift.Bool { + @objc get + @objc set + } + @objc(confirmPayment:withAuthenticationContext:completion:) public func confirmPayment(_ paymentParams: Stripe.STPPaymentIntentParams, with authenticationContext: Stripe.STPAuthenticationContext, completion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) + @available(*, deprecated, renamed: "confirmPayment(_:with:completion:)", message: "Use confirmPayment(_:with:completion:) instead") + public func confirmPayment(withParams: Stripe.STPPaymentIntentParams, authenticationContext: Stripe.STPAuthenticationContext, completion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) + @objc(handleNextActionForPayment:withAuthenticationContext:returnURL:completion:) public func handleNextAction(forPayment paymentIntentClientSecret: Swift.String, with authenticationContext: Stripe.STPAuthenticationContext, returnURL: Swift.String?, completion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) + @objc(confirmSetupIntent:withAuthenticationContext:completion:) public func confirmSetupIntent(_ setupIntentConfirmParams: Stripe.STPSetupIntentConfirmParams, with authenticationContext: Stripe.STPAuthenticationContext, completion: @escaping Stripe.STPPaymentHandlerActionSetupIntentCompletionBlock) + @objc(handleNextActionForSetupIntent:withAuthenticationContext:returnURL:completion:) public func handleNextAction(forSetupIntent setupIntentClientSecret: Swift.String, with authenticationContext: Stripe.STPAuthenticationContext, returnURL: Swift.String?, completion: @escaping Stripe.STPPaymentHandlerActionSetupIntentCompletionBlock) + @objc public func safariViewControllerDidFinish(_ controller: SafariServices.SFSafariViewController) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSSelectionCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSSelectionCustomization + @objc public var primarySelectedColor: UIKit.UIColor { + @objc get + @objc set(primarySelectedColor) + } + @objc public var secondarySelectedColor: UIKit.UIColor { + @objc get + @objc set(secondarySelectedColor) + } + @objc public var unselectedBackgroundColor: UIKit.UIColor { + @objc get + @objc set(unselectedBackgroundColor) + } + @objc public var unselectedBorderColor: UIKit.UIColor { + @objc get + @objc set(unselectedBorderColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPPaymentMethodType : Swift.Int { + case card + case alipay + case grabPay + @objc(STPPaymentMethodTypeiDEAL) case iDEAL + case FPX + case cardPresent + @objc(STPPaymentMethodTypeSEPADebit) case SEPADebit + @objc(STPPaymentMethodTypeAUBECSDebit) case AUBECSDebit + case bacsDebit + case giropay + case przelewy24 + @objc(STPPaymentMethodTypeEPS) case EPS + case bancontact + case netBanking + @objc(STPPaymentMethodTypeOXXO) case OXXO + case sofort + case UPI + case payPal + case afterpayClearpay + @objc(STPPaymentMethodTypeBLIK) case blik + case weChatPay + case boleto + case link + case klarna + case linkInstantDebit + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPUserInformation : ObjectiveC.NSObject, Foundation.NSCopying { + @objc public var billingAddress: Stripe.STPAddress? + @objc public var shippingAddress: Stripe.STPAddress? + @objc(setBillingAddressWithBillingDetails:) public func setBillingAddress(with billingDetails: Stripe.STPPaymentMethodBillingDetails) + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPFakeAddPaymentPassViewController : UIKit.UIViewController { + @objc public class func canAddPaymentPass() -> Swift.Bool + @objc(initWithRequestConfiguration:delegate:) required public init?(requestConfiguration configuration: PassKit.PKAddPaymentPassRequestConfiguration, delegate: PassKit.PKAddPaymentPassViewControllerDelegate?) + @objc weak public var delegate: PassKit.PKAddPaymentPassViewControllerDelegate? + @objc convenience override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required convenience dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public func viewDidLoad() + @objc deinit +} +@objc public enum STPSourceCard3DSecureStatus : Swift.Int { + case required + case optional + case notSupported + case recommended + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPSourceCardDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var last4: Swift.String? { + get + } + @objc public var expMonth: Swift.UInt { + get + } + @objc public var expYear: Swift.UInt { + get + } + @objc public var brand: Stripe.STPCardBrand { + get + } + @objc public var funding: Stripe.STPCardFundingType { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var threeDSecure: Stripe.STPSourceCard3DSecureStatus { + get + } + @objc public var isApplePayCard: Swift.Bool { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPIssuingCardPin : ObjectiveC.NSObject { + @objc final public let pin: Swift.String? + @objc final public let error: [Swift.AnyHashable : Any]? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc deinit +} +extension STPIssuingCardPin : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodThreeDSecureUsage : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var supported: Swift.Bool { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionBoletoDisplayDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let number: Swift.String + @objc final public let expiresAt: Foundation.Date + @objc final public let hostedVoucherURL: Foundation.URL + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc(_stpinternal_apContextDelegate) public protocol STPApplePayContextDelegate : StripeApplePay._stpinternal_STPApplePayContextDelegateBase { + @objc(applePayContext:didCreatePaymentMethod:paymentInformation:completion:) func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, paymentInformation: PassKit.PKPayment, completion: @escaping StripeApplePay.STPIntentClientSecretCompletionBlock) + @objc(applePayContext:didCompleteWithStatus:error:) func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCompleteWith status: Stripe.STPPaymentStatus, error: Swift.Error?) +} +@objc(STPApplePayContextDelegate) public protocol _stpobjc_APContextDelegate : ObjectiveC.NSObjectProtocol { + @objc(applePayContext:didCreatePaymentMethod:paymentInformation:completion:) func applePayContext(_ context: Stripe._stpobjc_APContext, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, paymentInformation: PassKit.PKPayment, completion: @escaping StripeApplePay.STPIntentClientSecretCompletionBlock) + @objc(applePayContext:didCompleteWithStatus:error:) func applePayContext(_ context: Stripe._stpobjc_APContext, didCompleteWith status: Stripe.STPPaymentStatus, error: Swift.Error?) + @objc(applePayContext:didSelectShippingMethod:handler:) optional func applePayContext(_ context: Stripe._stpobjc_APContext, didSelect shippingMethod: PassKit.PKShippingMethod, handler: @escaping (PassKit.PKPaymentRequestShippingMethodUpdate) -> Swift.Void) + @objc optional func applePayContext(_ context: Stripe._stpobjc_APContext, didSelectShippingContact contact: PassKit.PKContact, handler: @escaping (PassKit.PKPaymentRequestShippingContactUpdate) -> Swift.Void) +} +@_hasMissingDesignatedInitializers @objc(STPApplePayContext) public class _stpobjc_APContext : ObjectiveC.NSObject { + @objc(initWithPaymentRequest:delegate:) required public init?(paymentRequest: PassKit.PKPaymentRequest, delegate: Stripe._stpobjc_APContextDelegate?) + @available(*, deprecated, renamed: "presentApplePay(completion:)", message: "Use `presentApplePay(completion:)` instead.") + @objc(presentApplePayOnViewController:completion:) public func presentApplePay(on viewController: UIKit.UIViewController, completion: StripeApplePay.STPVoidBlock? = nil) + @available(iOSApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + @available(macCatalystApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + @objc(presentApplePayWithCompletion:) public func presentApplePay(completion: StripeApplePay.STPVoidBlock? = nil) + @objc(presentApplePayFromWindow:withCompletion:) public func presentApplePay(from window: UIKit.UIWindow?, completion: StripeApplePay.STPVoidBlock? = nil) + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPCoreViewController : UIKit.UIViewController { + @objc convenience dynamic public init() + @objc required public init(theme: Stripe.STPTheme?) + @objc required override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public func viewDidLoad() + @objc override dynamic public func viewWillAppear(_ animated: Swift.Bool) + @objc override dynamic public func viewWillDisappear(_ animated: Swift.Bool) + @objc override dynamic public var preferredStatusBarStyle: UIKit.UIStatusBarStyle { + @objc get + } + @objc deinit +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension View { + public func paymentConfirmationSheet(isConfirmingPayment: SwiftUI.Binding, paymentIntentParams: Stripe.STPPaymentIntentParams, onCompletion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) -> some SwiftUI.View + + public func setupIntentConfirmationSheet(isConfirmingSetupIntent: SwiftUI.Binding, setupIntentParams: Stripe.STPSetupIntentConfirmParams, onCompletion: @escaping Stripe.STPPaymentHandlerActionSetupIntentCompletionBlock) -> some SwiftUI.View + +} +@objc @_inheritsConvenienceInitializers public class STPPaymentConfiguration : ObjectiveC.NSObject, Foundation.NSCopying { + @objc(sharedConfiguration) public static var shared: Stripe.STPPaymentConfiguration + @objc public var applePayEnabled: Swift.Bool { + @objc get + @objc set + } + @objc public var fpxEnabled: Swift.Bool + @objc public var requiredBillingAddressFields: Stripe.STPBillingAddressFields + @objc public var requiredShippingAddressFields: Swift.Set? + @objc public var verifyPrefilledShippingAddress: Swift.Bool + @objc public var shippingType: Stripe.STPShippingType + @objc public var availableCountries: Swift.Set + @objc public var companyName: Swift.String + @objc public var appleMerchantIdentifier: Swift.String? + @objc public var canDeletePaymentOptions: Swift.Bool + @objc public var cardScanningEnabled: Swift.Bool + @available(*, deprecated, message: "additionalPaymentOptions has been removed. Set applePayEnabled and fpxEnabled on STPPaymentConfiguration instead.") + @objc public var additionalPaymentOptions: Swift.Int + @available(*, deprecated, message: "If you used STPPaymentConfiguration.shared.publishableKey, use STPAPIClient.shared.publishableKey instead. If you passed a STPPaymentConfiguration instance to an SDK component, create an STPAPIClient, set publishableKey on it, and set the SDK component's APIClient property.") + @objc public var publishableKey: Swift.String? { + @objc get + @objc set(publishableKey) + } + @available(*, deprecated, message: "If you used STPPaymentConfiguration.shared.stripeAccount, use STPAPIClient.shared.stripeAccount instead. If you passed a STPPaymentConfiguration instance to an SDK component, create an STPAPIClient, set stripeAccount on it, and set the SDK component's APIClient property.") + @objc public var stripeAccount: Swift.String? { + @objc get + @objc set(stripeAccount) + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodNetBanking : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var bank: Swift.String { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPConfirmPaymentMethodOptions : ObjectiveC.NSObject { + @objc public var cardOptions: Stripe.STPConfirmCardOptions? + @objc public var alipayOptions: Stripe.STPConfirmAlipayOptions? + @objc public var blikOptions: Stripe.STPConfirmBLIKOptions? + @objc public var weChatPayOptions: Stripe.STPConfirmWeChatPayOptions? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPConfirmPaymentMethodOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAddress : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var city: Swift.String? + @objc public var country: Swift.String? + @objc public var line1: Swift.String? + @objc public var line2: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var state: Swift.String? + @objc public init(address: Stripe.STPAddress) + @objc required override dynamic public init() + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceOwner : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var address: Stripe.STPAddress? { + get + } + @objc public var email: Swift.String? { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var phone: Swift.String? { + get + } + @objc public var verifiedAddress: Stripe.STPAddress? { + get + } + @objc public var verifiedEmail: Swift.String? { + get + } + @objc public var verifiedName: Swift.String? { + get + } + @objc public var verifiedPhone: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public protocol STPPaymentOption : ObjectiveC.NSObjectProtocol { + @objc var image: UIKit.UIImage { get } + @objc var templateImage: UIKit.UIImage { get } + @objc var label: Swift.String { get } + @objc var isReusable: Swift.Bool { get } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentActivityIndicatorView : UIKit.UIView { + @objc public func setAnimating(_ animating: Swift.Bool, animated: Swift.Bool) + @objc public var animating: Swift.Bool { + @objc get + @objc set(animating) + } + @objc public var hidesWhenStopped: Swift.Bool { + @objc get + @objc set(hidesWhenStopped) + } + @objc override dynamic public var tintColor: UIKit.UIColor! { + @objc get + @objc set(tintColor) + } + @objc override dynamic public func layoutSubviews() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodEPSParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers final public class STPTheme : ObjectiveC.NSObject { + @objc public static let defaultTheme: Stripe.STPTheme + @available(*, deprecated, renamed: "defaultTheme", message: "Use defaultTheme instead") + public static func `default`() -> Stripe.STPTheme + @objc final public var primaryBackgroundColor: UIKit.UIColor + @objc final public var secondaryBackgroundColor: UIKit.UIColor + @objc final public var tertiaryBackgroundColor: UIKit.UIColor { + @objc get + } + @objc final public var quaternaryBackgroundColor: UIKit.UIColor { + @objc get + } + @objc final public var primaryForegroundColor: UIKit.UIColor + @objc final public var secondaryForegroundColor: UIKit.UIColor + @objc final public var tertiaryForegroundColor: UIKit.UIColor { + @objc get + } + @objc final public var accentColor: UIKit.UIColor + @objc final public var errorColor: UIKit.UIColor + @objc final public var font: UIKit.UIFont { + @objc get + @objc set + } + @objc final public var emphasisFont: UIKit.UIFont { + @objc get + @objc set + } + @objc final public var barStyle: UIKit.UIBarStyle { + @objc get + @objc set + } + @objc final public var translucentNavigationBar: Swift.Bool + @objc final public var smallFont: UIKit.UIFont { + @objc get + } + @objc final public var largeFont: UIKit.UIFont { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPTheme : Foundation.NSCopying { + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc public protocol STPAuthenticationContext : ObjectiveC.NSObjectProtocol { + @objc func authenticationPresentingViewController() -> UIKit.UIViewController + @objc(prepareAuthenticationContextForPresentation:) optional func prepare(forPresentation completion: @escaping StripeApplePay.STPVoidBlock) + @objc optional func configureSafariViewController(_ viewController: SafariServices.SFSafariViewController) + @objc(authenticationContextWillDismissViewController:) optional func authenticationContextWillDismiss(_ viewController: UIKit.UIViewController) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodiDEAL : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var bankName: Swift.String? { + get + } + @objc public var bankIdentifierCode: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public class STPPinManagementService : ObjectiveC.NSObject { + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public init(keyProvider: Stripe.STPIssuingCardEphemeralKeyProvider) + @objc public func retrievePin(_ cardId: Swift.String, verificationId: Swift.String, oneTimeCode: Swift.String, completion: @escaping Stripe.STPPinCompletionBlock) + @objc public func updatePin(_ cardId: Swift.String, newPin: Swift.String, verificationId: Swift.String, oneTimeCode: Swift.String, completion: @escaping Stripe.STPPinCompletionBlock) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPAddCardViewController : Stripe.STPCoreTableViewController, Stripe.STPPaymentCardTextFieldDelegate, UIKit.UITableViewDelegate, UIKit.UITableViewDataSource { + @objc convenience dynamic public init() + @objc(initWithConfiguration:theme:) public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc weak public var delegate: Stripe.STPAddCardViewControllerDelegate? + @objc public var prefilledInformation: Stripe.STPUserInformation? + @objc public var customFooterView: UIKit.UIView? { + @objc get + @objc set(footerView) + } + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public func tableView(_ tableView: UIKit.UITableView, estimatedHeightForRowAt indexPath: Foundation.IndexPath) -> CoreGraphics.CGFloat + @objc override dynamic public func viewDidLayoutSubviews() + @objc public func updateAppearance() + @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool) + @objc public func handleCancelTapped(_ sender: Any?) + @objc public func paymentCardTextFieldDidChange(_ textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldWillEndEditing(forReturn textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldDidBeginEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldDidEndEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldDidBeginEditing(_ textField: Stripe.STPPaymentCardTextField) + @objc public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell + @objc public func tableView(_ tableView: UIKit.UITableView, willDisplay cell: UIKit.UITableViewCell, forRowAt indexPath: Foundation.IndexPath) + @objc public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc override public func tableView(_ tableView: UIKit.UITableView, heightForHeaderInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc public func tableView(_ tableView: UIKit.UITableView, viewForHeaderInSection section: Swift.Int) -> UIKit.UIView? + @objc public func tableView(_ tableView: UIKit.UITableView, viewForFooterInSection section: Swift.Int) -> UIKit.UIView? + @objc override dynamic public func viewWillTransition(to size: CoreGraphics.CGSize, with coordinator: UIKit.UIViewControllerTransitionCoordinator) + @objc deinit +} +@objc public protocol STPAddCardViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc func addCardViewControllerDidCancel(_ addCardViewController: Stripe.STPAddCardViewController) + @objc func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, completion: @escaping Stripe.STPErrorBlock) + @available(*, deprecated, renamed: "addCardViewController(_:didCreatePaymentMethod:completion:)", message: "Use addCardViewController(_:didCreatePaymentMethod:completion:) instead and migrate your integration to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read") + @objc optional func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreateToken token: Stripe.STPToken, completion: (Swift.Error?) -> Swift.Void) + @available(*, deprecated, renamed: "addCardViewController(_:didCreatePaymentMethod:completion:)", message: "Use addCardViewController(_:didCreatePaymentMethod:completion:) instead and migrate your integration to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read") + @objc optional func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreateSource source: Stripe.STPSource, completion: (Swift.Error?) -> Swift.Void) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentOptionsViewController : Stripe.STPCoreViewController, Stripe.STPAddCardViewControllerDelegate { + @objc(initWithPaymentContext:) convenience public init(paymentContext: Stripe.STPPaymentContext) + @objc(initWithConfiguration:theme:customerContext:delegate:) convenience public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme, customerContext: Stripe.STPCustomerContext, delegate: Stripe.STPPaymentOptionsViewControllerDelegate) + @objc(initWithConfiguration:theme:apiAdapter:delegate:) public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme, apiAdapter: Stripe.STPBackendAPIAdapter, delegate: Stripe.STPPaymentOptionsViewControllerDelegate) + @objc public var prefilledInformation: Stripe.STPUserInformation? + @objc public var defaultPaymentMethod: Swift.String? + @objc public var paymentOptionsViewControllerFooterView: UIKit.UIView? + @objc public var addCardViewControllerFooterView: UIKit.UIView? + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc(dismissWithCompletion:) public func dismiss(withCompletion completion: StripeApplePay.STPVoidBlock?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required public init(theme: Stripe.STPTheme?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public func viewDidLayoutSubviews() + @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool) + @objc public func addCardViewControllerDidCancel(_ addCardViewController: Stripe.STPAddCardViewController) + @objc public func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, completion: @escaping Stripe.STPErrorBlock) + @objc deinit +} +@objc public protocol STPPaymentOptionsViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didFailToLoadWithError error: Swift.Error) + @objc func paymentOptionsViewControllerDidFinish(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc func paymentOptionsViewControllerDidCancel(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc(paymentOptionsViewController:didSelectPaymentOption:) optional func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didSelect paymentOption: Stripe.STPPaymentOption) +} +@frozen public enum PaymentSheetResult { + case completed + case canceled + case failed(error: Swift.Error) +} +@_hasMissingDesignatedInitializers public class PaymentSheet { + final public let configuration: Stripe.PaymentSheet.Configuration + public var mostRecentError: Swift.Error? { + get + } + convenience public init(paymentIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration) + convenience public init(setupIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public func present(from presentingViewController: UIKit.UIViewController, completion: @escaping (Stripe.PaymentSheetResult) -> ()) + @objc deinit +} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +@objc(STPErrorCode) public enum _stpobjc_STPErrorCode : Swift.Int { + @objc(STPConnectionError) case connectionError = 40 + @objc(STPInvalidRequestError) case invalidRequestError = 50 + @objc(STPAuthenticationError) case authenticationError = 51 + @objc(STPAPIError) case apiError = 60 + @objc(STPCardError) case cardError = 70 + @objc(STPCancellationError) case cancellationError = 80 + @objc(STPEphemeralKeyDecodingError) case ephemeralKeyDecodingError = 1000 + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @available(swift, deprecated: 0.0.1, renamed: "STPError") +@objc(STPError) public class _stpobjc_STPError : ObjectiveC.NSObject { + @objc public static let stripeDomain: Swift.String + @objc public static let errorMessageKey: Swift.String + @objc public static let hintKey: Swift.String + @objc public static let cardErrorCodeKey: Swift.String + @objc public static let errorParameterKey: Swift.String + @objc public static let stripeErrorCodeKey: Swift.String + @objc public static let stripeErrorTypeKey: Swift.String + @objc public static let stripeDeclineCodeKey: Swift.String + @objc public static let invalidNumber: Swift.String + @objc public static let invalidExpMonth: Swift.String + @objc public static let invalidExpYear: Swift.String + @objc public static let invalidCVC: Swift.String + @objc public static let incorrectNumber: Swift.String + @objc public static let expiredCard: Swift.String + @objc public static let cardDeclined: Swift.String + @objc public static let processingError: Swift.String + @objc public static let incorrectCVC: Swift.String + @objc public static let incorrectZip: Swift.String + @objc deinit + @objc override dynamic public init() +} +@objc extension NSError { + @available(swift, deprecated: 0.0.1, renamed: "stp_error(fromStripeResponse:)") + @objc(stp_errorFromStripeResponse:) public static func _stpobjc_stp_error(fromStripeResponse jsonDictionary: [Swift.AnyHashable : Any]?) -> Foundation.NSError? +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionOXXODisplayDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let expiresAfter: Foundation.Date + @objc final public let hostedVoucherURL: Foundation.URL + @objc final public let number: Swift.String + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc deinit + @objc override dynamic public init() +} +extension StripeAPI { + @available(*, deprecated, message: "Use `paymentRequestWithMerchantIdentifier:country:currency:` instead.") + public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String) -> PassKit.PKPaymentRequest +} +@available(*, deprecated, message: "Use StripeAPI.defaultPublishableKey instead. (StripeAPI.defaultPublishableKey = \"pk_12345_xyzabc\")") +public func setDefaultPublishableKey(_ publishableKey: Swift.String) +@available(*, deprecated, message: "Use StripeAPI.advancedFraudSignalsEnabled instead.") +public var advancedFraudSignalsEnabled: Swift.Bool { + get + set +} +@available(*, deprecated, message: "Use StripeAPI.jcbPaymentNetworkSupported instead.") +public var jcbPaymentNetworkSupported: Swift.Bool { + get + set +} +@available(*, deprecated, message: "Use StripeAPI.additionalEnabledApplePayNetworks instead.") +public var additionalEnabledApplePayNetworks: [PassKit.PKPaymentNetwork] { + get + set +} +@available(*, deprecated, message: "Use StripeAPI.canSubmitPaymentRequest(_:) instead.") +public func canSubmitPaymentRequest(_ paymentRequest: PassKit.PKPaymentRequest) -> Swift.Bool +@available(*, deprecated, message: "Use StripeAPI.deviceSupportsApplePay() instead.") +public func deviceSupportsApplePay() -> Swift.Bool +@available(*, deprecated, message: "Use StripeAPI.paymentRequest(withMerchantIdentifier:country:currency:) instead.") +public func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String, country countryCode: Swift.String, currency currencyCode: Swift.String) -> PassKit.PKPaymentRequest +@available(*, deprecated, message: "Use StripeAPI.handleURLCallback(with:) instead.") +public func handleURLCallback(with url: Foundation.URL) -> Swift.Bool +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBoleto : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let taxID: Swift.String + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension View { + public func paymentSheet(isPresented: SwiftUI.Binding, paymentSheet: Stripe.PaymentSheet, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void) -> some SwiftUI.View + + public func paymentOptionsSheet(isPresented: SwiftUI.Binding, paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onSheetDismissed: (() -> Swift.Void)?) -> some SwiftUI.View + + public func paymentConfirmationSheet(isConfirming: SwiftUI.Binding, paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void) -> some SwiftUI.View + + @available(*, deprecated, renamed: "paymentConfirmationSheet(isConfirming:paymentSheetFlowController:onCompletion:)") + public func paymentConfirmationSheet(isConfirmingPayment: SwiftUI.Binding, paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void) -> some SwiftUI.View + +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension PaymentSheet { + public struct PaymentButton : SwiftUI.View where Content : SwiftUI.View { + public init(paymentSheet: Stripe.PaymentSheet, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void, @SwiftUI.ViewBuilder content: () -> Content) + public var body: some SwiftUI.View { + get + } + public typealias Body = @_opaqueReturnTypeOf("$s6Stripe12PaymentSheetC0B6ButtonV4bodyQrvp", 0) 🦸 + } +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension PaymentSheet.FlowController { + public struct PaymentOptionsButton : SwiftUI.View where Content : SwiftUI.View { + public init(paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onSheetDismissed: @escaping () -> Swift.Void, @SwiftUI.ViewBuilder content: () -> Content) + public var body: some SwiftUI.View { + get + } + public typealias Body = @_opaqueReturnTypeOf("$s6Stripe12PaymentSheetC14FlowControllerC0B13OptionsButtonV4bodyQrvp", 0) 🦸 + } + @available(*, deprecated, renamed: "ConfirmButton") + public typealias ConfirmPaymentButton = Stripe.PaymentSheet.FlowController.ConfirmButton + public struct ConfirmButton : SwiftUI.View where Content : SwiftUI.View { + public init(paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void, @SwiftUI.ViewBuilder content: () -> Content) + public var body: some SwiftUI.View { + get + } + public typealias Body = @_opaqueReturnTypeOf("$s6Stripe12PaymentSheetC14FlowControllerC13ConfirmButtonV4bodyQrvp", 0) 🦸 + } +} +@objc public enum STPCardFundingType : Swift.Int { + case debit + case credit + case prepaid + case other + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPCard : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPPaymentOption, Stripe.STPSourceProtocol { + @objc public var last4: Swift.String { + get + } + @objc public var dynamicLast4: Swift.String? { + get + } + @objc public var isApplePayCard: Swift.Bool { + @objc get + } + @objc public var expMonth: Swift.Int { + get + } + @objc public var expYear: Swift.Int { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var address: Stripe.STPAddress? { + get + } + @objc public var brand: Stripe.STPCardBrand { + get + } + @objc public var funding: Stripe.STPCardFundingType { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var currency: Swift.String? { + get + } + @objc(stringFromBrand:) public class func string(from brand: Stripe.STPCardBrand) -> Swift.String + @objc(brandFromString:) public class func brand(from string: Swift.String) -> Stripe.STPCardBrand + @available(*, deprecated, message: "You cannot directly instantiate an STPCard. You should only use one that has been returned from an STPAPIClient callback.") + @objc(initWithID:brand:last4:expMonth:expYear:funding:) public init(id cardID: Swift.String, brand: Stripe.STPCardBrand, last4: Swift.String, expMonth: Swift.Int, expYear: Swift.Int, funding: Stripe.STPCardFundingType) + @objc(fundingFromString:) public class func funding(from string: Swift.String) -> Stripe.STPCardFundingType + @objc public var stripeID: Swift.String + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ other: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @available(*, deprecated, message: "Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @available(*, deprecated, message: "Use stripeID (defined in STPSourceProtocol)") + @objc public var cardId: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.line1") + @objc public var addressLine1: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.line2") + @objc public var addressLine2: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.city") + @objc public var addressCity: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.state") + @objc public var addressState: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.postalCode") + @objc public var addressZip: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.country") + @objc public var addressCountry: Swift.String? { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodCardParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc convenience public init(cardSourceParams: Stripe.STPCardParams) + @objc required override dynamic public init() + @objc public var number: Swift.String? + @objc public var expMonth: Foundation.NSNumber? + @objc public var expYear: Foundation.NSNumber? + @objc public var token: Swift.String? + @objc public var cvc: Swift.String? + @objc public var last4: Swift.String? { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public func isEqual(_ other: Any?) -> Swift.Bool + @objc deinit +} +@objc public class STPPushProvisioningDetailsParams : ObjectiveC.NSObject { + @objc public var cardId: Swift.String { + get + } + @objc public var certificates: [Foundation.Data] { + get + } + @objc public var nonce: Foundation.Data { + get + } + @objc public var nonceSignature: Foundation.Data { + get + } + @objc public var certificatesBase64: [Swift.String] { + @objc get + } + @objc public var nonceHex: Swift.String { + @objc get + } + @objc public var nonceSignatureHex: Swift.String { + @objc get + } + @objc required public init(cardId: Swift.String, certificates: [Foundation.Data], nonce: Foundation.Data, nonceSignature: Foundation.Data) + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountAddress : ObjectiveC.NSObject { + @objc public var city: Swift.String? + @objc public var country: Swift.String? + @objc public var line1: Swift.String? + @objc public var line2: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var state: Swift.String? + @objc public var town: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountAddress : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPConfirmAlipayOptions : ObjectiveC.NSObject { + @objc public var appBundleID: Swift.String { + @objc get + } + @objc public var appVersionKey: Swift.String { + @objc get + } + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConfirmAlipayOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPPaymentMethodCardWalletType : Swift.Int { + case amexExpressCheckout + case applePay + case googlePay + case masterpass + case samsungPay + case visaCheckout + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardWallet : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var type: Stripe.STPPaymentMethodCardWalletType { + get + } + @objc public var masterpass: Stripe.STPPaymentMethodCardWalletMasterpass? { + get + } + @objc public var visaCheckout: Stripe.STPPaymentMethodCardWalletVisaCheckout? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +extension PaymentSheet { + @available(iOS 13.0, *) + public enum UserInterfaceStyle : Swift.Int { + case automatic + case alwaysLight + case alwaysDark + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } + } + public enum SavePaymentMethodOptInBehavior { + case automatic + case requiresOptIn + case requiresOptOut + public static func == (a: Stripe.PaymentSheet.SavePaymentMethodOptInBehavior, b: Stripe.PaymentSheet.SavePaymentMethodOptInBehavior) -> Swift.Bool + public var hashValue: Swift.Int { + get + } + public func hash(into hasher: inout Swift.Hasher) + } + public struct Configuration { + public var allowsDelayedPaymentMethods: Swift.Bool + public var apiClient: StripeCore.STPAPIClient + public var applePay: Stripe.PaymentSheet.ApplePayConfiguration? + public var primaryButtonColor: UIKit.UIColor + @available(iOS 13.0, *) + public var style: Stripe.PaymentSheet.UserInterfaceStyle { + get + set + } + public var customer: Stripe.PaymentSheet.CustomerConfiguration? + public var merchantDisplayName: Swift.String + public var returnURL: Swift.String? + public init() + public var defaultBillingDetails: Stripe.PaymentSheet.BillingDetails + public var savePaymentMethodOptInBehavior: Stripe.PaymentSheet.SavePaymentMethodOptInBehavior + } + public struct CustomerConfiguration { + public let id: Swift.String + public let ephemeralKeySecret: Swift.String + public init(id: Swift.String, ephemeralKeySecret: Swift.String) + } + public struct ApplePayConfiguration { + public let merchantId: Swift.String + public let merchantCountryCode: Swift.String + public init(merchantId: Swift.String, merchantCountryCode: Swift.String) + } + public struct Address { + public var city: Swift.String? + public var country: Swift.String? + public var line1: Swift.String? + public var line2: Swift.String? + public var postalCode: Swift.String? + public var state: Swift.String? + public init(city: Swift.String? = nil, country: Swift.String? = nil, line1: Swift.String? = nil, line2: Swift.String? = nil, postalCode: Swift.String? = nil, state: Swift.String? = nil) + } + public struct BillingDetails { + public var address: Stripe.PaymentSheet.Address + public var email: Swift.String? + public var name: Swift.String? + public var phone: Swift.String? + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodLink : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPBackendAPIAdapter : ObjectiveC.NSObjectProtocol { + @objc func retrieveCustomer(_ completion: Stripe.STPCustomerCompletionBlock?) + @objc func listPaymentMethodsForCustomer(completion: Stripe.STPPaymentMethodsCompletionBlock?) + @objc func attachPaymentMethod(toCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc optional func detachPaymentMethod(fromCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc optional func updateCustomer(withShippingAddress shipping: Stripe.STPAddress, completion: Stripe.STPErrorBlock?) +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntentShippingDetailsAddress : ObjectiveC.NSObject { + @objc final public let city: Swift.String? + @objc final public let country: Swift.String? + @objc final public let line1: Swift.String? + @objc final public let line2: Swift.String? + @objc final public let postalCode: Swift.String? + @objc final public let state: Swift.String? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetailsAddress : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntentShippingDetails : ObjectiveC.NSObject { + @objc final public let address: Stripe.STPPaymentIntentShippingDetailsAddress? + @objc final public let name: Swift.String? + @objc final public let carrier: Swift.String? + @objc final public let phone: Swift.String? + @objc final public let trackingNumber: Swift.String? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetails : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc public enum STPCardBrand : Swift.Int { + case visa + case amex + case mastercard + case discover + case JCB + case dinersClub + case unionPay + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @available(*, deprecated, message: "STPStringFromCardBrand has been replaced with STPCardBrandUtilities.stringFrom(brand)") +@objc public class STPStringFromCardBrand : ObjectiveC.NSObject { + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPCardBrandUtilities : ObjectiveC.NSObject { + @objc(stringFromCardBrand:) public static func stringFrom(_ brand: Stripe.STPCardBrand) -> Swift.String? + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPCustomerEphemeralKeyProvider : ObjectiveC.NSObjectProtocol { + @objc(createCustomerKeyWithAPIVersion:completion:) func createCustomerKey(withAPIVersion apiVersion: Swift.String, completion: @escaping Stripe.STPJSONResponseCompletionBlock) +} +@objc public protocol STPIssuingCardEphemeralKeyProvider : ObjectiveC.NSObjectProtocol { + @objc(createIssuingCardKeyWithAPIVersion:completion:) func createIssuingCardKey(withAPIVersion apiVersion: Swift.String, completion: @escaping Stripe.STPJSONResponseCompletionBlock) +} +@available(*, deprecated, message: "use `STPCustomerEphemeralKeyProvider` or `STPIssuingCardEphemeralKeyProvider` depending on the type of key that will be fetched.") +@objc public protocol STPEphemeralKeyProvider : Stripe.STPCustomerEphemeralKeyProvider { +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBacsDebit : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var sortCode: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPBankAccountStatus : Swift.Int { + case new + case validated + case verified + case verificationFailed + case errored + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPBankAccount : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPSourceProtocol { + @objc public var routingNumber: Swift.String? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var currency: Swift.String? { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var bankName: Swift.String? { + get + } + @objc public var accountHolderName: Swift.String? { + get + } + @objc public var accountHolderType: Stripe.STPBankAccountHolderType { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var status: Stripe.STPBankAccountStatus { + get + } + @available(*, deprecated, message: "Use stripeID (defined in STPSourceProtocol)") + @objc public var bankAccountId: Swift.String? { + @objc get + } + @objc public var stripeID: Swift.String { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ bankAccount: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodSEPADebitParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var iban: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodParams : ObjectiveC.NSObject, Stripe.STPFormEncodable, Stripe.STPPaymentOption { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var type: Stripe.STPPaymentMethodType { + @objc get + @objc set(newType) + } + @objc public var rawTypeString: Swift.String? + @objc public var billingDetails: Stripe.STPPaymentMethodBillingDetails? + @objc public var card: Stripe.STPPaymentMethodCardParams? + @objc public var alipay: Stripe.STPPaymentMethodAlipayParams? + @objc public var iDEAL: Stripe.STPPaymentMethodiDEALParams? + @objc public var fpx: Stripe.STPPaymentMethodFPXParams? + @objc public var sepaDebit: Stripe.STPPaymentMethodSEPADebitParams? + @objc public var bacsDebit: Stripe.STPPaymentMethodBacsDebitParams? + @objc public var auBECSDebit: Stripe.STPPaymentMethodAUBECSDebitParams? + @objc public var giropay: Stripe.STPPaymentMethodGiropayParams? + @objc public var payPal: Stripe.STPPaymentMethodPayPalParams? + @objc public var przelewy24: Stripe.STPPaymentMethodPrzelewy24Params? + @objc public var eps: Stripe.STPPaymentMethodEPSParams? + @objc public var bancontact: Stripe.STPPaymentMethodBancontactParams? + @objc public var netBanking: Stripe.STPPaymentMethodNetBankingParams? + @objc public var oxxo: Stripe.STPPaymentMethodOXXOParams? + @objc public var sofort: Stripe.STPPaymentMethodSofortParams? + @objc public var upi: Stripe.STPPaymentMethodUPIParams? + @objc public var grabPay: Stripe.STPPaymentMethodGrabPayParams? + @objc public var afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpayParams? + @objc public var blik: Stripe.STPPaymentMethodBLIKParams? + @objc public var boleto: Stripe.STPPaymentMethodBoletoParams? + @objc public var link: Stripe.STPPaymentMethodLinkParams? + @objc public var klarna: Stripe.STPPaymentMethodKlarnaParams? + @objc public var metadata: [Swift.String : Swift.String]? + @objc convenience public init(card: Stripe.STPPaymentMethodCardParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(iDEAL: Stripe.STPPaymentMethodiDEALParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(fpx: Stripe.STPPaymentMethodFPXParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(sepaDebit: Stripe.STPPaymentMethodSEPADebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(bacsDebit: Stripe.STPPaymentMethodBacsDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(aubecsDebit auBECSDebit: Stripe.STPPaymentMethodAUBECSDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(giropay: Stripe.STPPaymentMethodGiropayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(eps: Stripe.STPPaymentMethodEPSParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(przelewy24: Stripe.STPPaymentMethodPrzelewy24Params, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(bancontact: Stripe.STPPaymentMethodBancontactParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(netBanking: Stripe.STPPaymentMethodNetBankingParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(grabPay: Stripe.STPPaymentMethodGrabPayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(oxxo: Stripe.STPPaymentMethodOXXOParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(sofort: Stripe.STPPaymentMethodSofortParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(upi: Stripe.STPPaymentMethodUPIParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(alipay: Stripe.STPPaymentMethodAlipayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(payPal: Stripe.STPPaymentMethodPayPalParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(blik: Stripe.STPPaymentMethodBLIKParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(boleto: Stripe.STPPaymentMethodBoletoParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(klarna: Stripe.STPPaymentMethodKlarnaParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init?(singleUsePaymentMethod paymentMethod: Stripe.STPPaymentMethod) + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +@objc extension STPPaymentMethodParams { + @objc(paramsWithCard:billingDetails:metadata:) dynamic public class func paramsWith(card: Stripe.STPPaymentMethodCardParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithiDEAL:billingDetails:metadata:) dynamic public class func paramsWith(iDEAL: Stripe.STPPaymentMethodiDEALParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithFPX:billingDetails:metadata:) dynamic public class func paramsWith(fpx: Stripe.STPPaymentMethodFPXParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithSEPADebit:billingDetails:metadata:) dynamic public class func paramsWith(sepaDebit: Stripe.STPPaymentMethodSEPADebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithBacsDebit:billingDetails:metadata:) dynamic public class func paramsWith(bacsDebit: Stripe.STPPaymentMethodBacsDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithAUBECSDebit:billingDetails:metadata:) dynamic public class func paramsWith(auBECSDebit: Stripe.STPPaymentMethodAUBECSDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithGiropay:billingDetails:metadata:) dynamic public class func paramsWith(giropay: Stripe.STPPaymentMethodGiropayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithEPS:billingDetails:metadata:) dynamic public class func paramsWith(eps: Stripe.STPPaymentMethodEPSParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithPrzelewy24:billingDetails:metadata:) dynamic public class func paramsWith(przelewy24: Stripe.STPPaymentMethodPrzelewy24Params, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithBancontact:billingDetails:metadata:) dynamic public class func paramsWith(bancontact: Stripe.STPPaymentMethodBancontactParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithNetBanking:billingDetails:metadata:) dynamic public class func paramsWith(netBanking: Stripe.STPPaymentMethodNetBankingParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithOXXO:billingDetails:metadata:) dynamic public class func paramsWith(oxxo: Stripe.STPPaymentMethodOXXOParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithGrabPay:billingDetails:metadata:) dynamic public class func paramsWith(grabPay: Stripe.STPPaymentMethodGrabPayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithSofort:billingDetails:metadata:) dynamic public class func paramsWith(sofort: Stripe.STPPaymentMethodSofortParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithUPI:billingDetails:metadata:) dynamic public class func paramsWith(upi: Stripe.STPPaymentMethodUPIParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithAlipay:billingDetails:metadata:) dynamic public class func paramsWith(alipay: Stripe.STPPaymentMethodAlipayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithPayPal:billingDetails:metadata:) dynamic public class func paramsWith(payPal: Stripe.STPPaymentMethodPayPalParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithAfterpayClearpay:billingDetails:metadata:) dynamic public class func paramsWith(afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithBLIK:billingDetails:metadata:) dynamic public class func paramsWith(blik: Stripe.STPPaymentMethodBLIKParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithKlarna:billingDetails:metadata:) dynamic public class func paramsWith(klarna: Stripe.STPPaymentMethodKlarnaParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodPayPalParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc public protocol STPSourceProtocol : ObjectiveC.NSObjectProtocol { + @objc var stripeID: Swift.String { get } +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, deprecated, renamed: "STPIntentAction", message: "Use `STPIntentAction` instead.") +@objc final public class STPPaymentIntentAction : Stripe.STPIntentAction { + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodGrabPay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPFormView : UIKit.UIView { + @objc override dynamic public var canResignFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func resignFirstResponder() -> Swift.Bool + @objc override dynamic public var isFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public var canBecomeFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func becomeFirstResponder() -> Swift.Bool + @objc override dynamic public var isUserInteractionEnabled: Swift.Bool { + @objc get + @objc set + } + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodPayPal : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodSofortParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var country: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc public enum STPMandateCustomerAcceptanceType : Swift.Int { + case online + case offline + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPMandateCustomerAcceptanceParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var type: Stripe.STPMandateCustomerAcceptanceType + @objc public var onlineParams: Stripe.STPMandateOnlineParams? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc required override dynamic public init() + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public class func rootObjectName() -> Swift.String? + @objc deinit +} +public enum PaymentSheetError : Swift.Error { + case unknown(debugDescription: Swift.String) + public var localizedDescription: Swift.String { + get + } +} +extension UINavigationBar { + @available(*, deprecated, message: "Use the `stp_theme` property instead") + @objc dynamic public func stp_setTheme(_ theme: Stripe.STPTheme) + @objc dynamic public var stp_theme: Stripe.STPTheme? { + @objc get + @objc set(theme) + } +} +@objc public protocol STPAUBECSDebitFormViewDelegate : ObjectiveC.NSObjectProtocol { + @objc func auBECSDebitForm(_ form: Stripe.STPAUBECSDebitFormView, didChangeToStateComplete complete: Swift.Bool) +} +@objc @_inheritsConvenienceInitializers public class STPAUBECSDebitFormView : Stripe.STPMultiFormTextField, UIKit.UITextViewDelegate { + @objc(initWithCompanyName:) required public init(companyName: Swift.String) + @objc public var formBackgroundColor: UIKit.UIColor { + @objc get + @objc set + } + @objc weak public var becsDebitFormDelegate: Stripe.STPAUBECSDebitFormViewDelegate? + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? { + @objc get + } + @objc override dynamic public func systemLayoutSizeFitting(_ targetSize: CoreGraphics.CGSize, withHorizontalFittingPriority horizontalFittingPriority: UIKit.UILayoutPriority, verticalFittingPriority: UIKit.UILayoutPriority) -> CoreGraphics.CGSize + @objc public func textView(_ textView: UIKit.UITextView, shouldInteractWith URL: Foundation.URL, in characterRange: Foundation.NSRange, interaction: UIKit.UITextItemInteraction) -> Swift.Bool + @objc override public var formFont: UIKit.UIFont { + @objc get + @objc set + } + @objc override public var formTextColor: UIKit.UIColor { + @objc get + @objc set + } + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAfterpayClearpayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public static func rootObjectName() -> Swift.String? + @objc public static func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodAfterpayClearpay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPSetupIntent : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let stripeID: Swift.String + @objc final public let clientSecret: Swift.String + @objc final public let created: Foundation.Date + @objc final public let customerID: Swift.String? + @objc final public let stripeDescription: Swift.String? + @objc final public let livemode: Swift.Bool + @objc final public let nextAction: Stripe.STPIntentAction? + @objc final public let paymentMethodID: Swift.String? + @objc final public let paymentMethodTypes: [Foundation.NSNumber] + @objc final public let status: Stripe.STPSetupIntentStatus + @objc final public let usage: Stripe.STPSetupIntentUsage + @objc final public let lastSetupError: Stripe.STPSetupIntentLastSetupError? + @available(*, deprecated, message: "Metadata is not returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPBillingAddressFields : Swift.UInt { + case none + case postalCode + case full + case name + @available(*, deprecated, message: "Use STPBillingAddressFields.postalCode instead") + case zip + public typealias RawValue = Swift.UInt + public init?(rawValue: Swift.UInt) + public var rawValue: Swift.UInt { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPAddress : ObjectiveC.NSObject { + @objc public var name: Swift.String? + @objc public var line1: Swift.String? + @objc public var line2: Swift.String? + @objc public var city: Swift.String? + @objc public var state: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var country: Swift.String? + @objc public var phone: Swift.String? + @objc public var email: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc(shippingInfoForChargeWithAddress:shippingMethod:) public class func shippingInfoForCharge(with address: Stripe.STPAddress?, shippingMethod method: PassKit.PKShippingMethod?) -> [Swift.AnyHashable : Any]? + @objc override dynamic public init() + @objc public init(paymentMethodBillingDetails billingDetails: Stripe.STPPaymentMethodBillingDetails) + @objc(initWithPKContact:) public init(pkContact contact: PassKit.PKContact) + @objc(PKContactValue) public func pkContactValue() -> PassKit.PKContact + @objc(initWithCNContact:) public init(cnContact contact: Contacts.CNContact) + @objc public func containsRequiredFields(_ requiredFields: Stripe.STPBillingAddressFields) -> Swift.Bool + @objc(containsContentForBillingAddressFields:) public func containsContent(for desiredFields: Stripe.STPBillingAddressFields) -> Swift.Bool + @objc public func containsRequiredShippingAddressFields(_ requiredFields: Swift.Set?) -> Swift.Bool + @objc public func containsContent(forShippingAddressFields desiredFields: Swift.Set?) -> Swift.Bool + @objc(applePayContactFieldsFromBillingAddressFields:) public class func applePayContactFields(from billingAddressFields: Stripe.STPBillingAddressFields) -> Swift.Set + @objc public class func pkContactFields(fromStripeContactFields contactFields: Swift.Set?) -> Swift.Set? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc deinit +} +extension STPAddress : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +extension STPAddress : Stripe.STPFormEncodable { + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] +} +extension STPAddress : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodAUBECSDebit : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var bsbNumber: Swift.String { + get + } + @objc public var fingerprint: Swift.String { + get + } + @objc public var last4: Swift.String { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAlipayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc public enum STPCardFormViewStyle : Swift.Int { + case standard + case borderless + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public protocol STPCardFormViewDelegate : ObjectiveC.NSObjectProtocol { + @objc func cardFormView(_ form: Stripe.STPCardFormView, didChangeToStateComplete complete: Swift.Bool) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPCardFormView : Stripe.STPFormView { + @objc weak public var delegate: Stripe.STPCardFormViewDelegate? + @objc override dynamic public var backgroundColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc public var disabledBackgroundColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc public var cardParams: Stripe.STPPaymentMethodParams? { + @objc get + } + @objc override dynamic public var isUserInteractionEnabled: Swift.Bool { + @objc get + @objc set + } + @objc convenience public init(style: Stripe.STPCardFormViewStyle = .standard) + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPCustomer : ObjectiveC.NSObject { + @objc final public let stripeID: Swift.String + @objc public var defaultSource: Stripe.STPSourceProtocol? { + get + } + @objc public var sources: [Stripe.STPSourceProtocol] { + get + } + @objc public var email: Swift.String? { + get + } + @objc public var shippingAddress: Stripe.STPAddress? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc convenience public init(stripeID: Swift.String, defaultSource: Stripe.STPSourceProtocol?, sources: [Stripe.STPSourceProtocol]) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc(updateSourcesFilteringApplePay:) public func updateSources(filteringApplePay: Swift.Bool) + @objc deinit +} +extension STPCustomer : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_hasMissingDesignatedInitializers public class STPCustomerDeserializer : ObjectiveC.NSObject { + @objc final public let customer: Stripe.STPCustomer? + @objc final public let error: Swift.Error? + @objc convenience public init(data: Foundation.Data?, urlResponse: Foundation.URLResponse?, error: Swift.Error?) + @objc convenience public init(jsonResponse json: Any?) + @objc deinit + @objc override dynamic public init() +} +@objc public class STPContactField : ObjectiveC.NSObject, Swift.RawRepresentable { + final public let rawValue: Swift.String + required public init(rawValue: Swift.String) + @objc public static let postalAddress: Stripe.STPContactField + @objc public static let emailAddress: Stripe.STPContactField + @objc public static let phoneNumber: Stripe.STPContactField + @objc public static let name: Stripe.STPContactField + @objc override dynamic public init() + public typealias RawValue = Swift.String + @objc deinit +} +extension PaymentSheet { + @_hasMissingDesignatedInitializers @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public class FlowController { + public struct PaymentOptionDisplayData { + public let image: UIKit.UIImage + public let label: Swift.String + } + final public let configuration: Stripe.PaymentSheet.Configuration + public var paymentOption: Stripe.PaymentSheet.FlowController.PaymentOptionDisplayData? { + get + } + public static func create(paymentIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration, completion: @escaping (Swift.Result) -> Swift.Void) + public static func create(setupIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration, completion: @escaping (Swift.Result) -> Swift.Void) + public func presentPaymentOptions(from presentingViewController: UIKit.UIViewController, completion: (() -> ())? = nil) + public func confirm(from presentingViewController: UIKit.UIViewController, completion: @escaping (Stripe.PaymentSheetResult) -> ()) + @objc deinit + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodKlarna : ObjectiveC.NSObject { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension STPCardFormView { + public struct Representable : SwiftUI.UIViewRepresentable { + public init(_ style: Stripe.STPCardFormViewStyle = .standard, paymentMethodParams: SwiftUI.Binding, isComplete: SwiftUI.Binding) + public func makeCoordinator() -> Stripe.STPCardFormView.Coordinator + public func makeUIView(context: Stripe.STPCardFormView.Representable.Context) -> Stripe.STPCardFormView + public func updateUIView(_ cardFormView: Stripe.STPCardFormView, context: Stripe.STPCardFormView.Representable.Context) + public typealias UIViewType = Stripe.STPCardFormView + public typealias Coordinator = Stripe.STPCardFormView.Coordinator + public typealias Body = Swift.Never + } + @objc @_hasMissingDesignatedInitializers public class Coordinator : ObjectiveC.NSObject, Stripe.STPCardFormViewDelegate { + @objc public func cardFormView(_ form: Stripe.STPCardFormView, didChangeToStateComplete complete: Swift.Bool) + @objc deinit + @objc override dynamic public init() + } +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSTextFieldCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSTextFieldCustomization + @objc public var borderWidth: CoreGraphics.CGFloat { + @objc get + @objc set(borderWidth) + } + @objc public var borderColor: UIKit.UIColor { + @objc get + @objc set(borderColor) + } + @objc public var cornerRadius: CoreGraphics.CGFloat { + @objc get + @objc set(cornerRadius) + } + @objc public var keyboardAppearance: UIKit.UIKeyboardAppearance { + @objc get + @objc set(keyboardAppearance) + } + @objc public var placeholderTextColor: UIKit.UIColor { + @objc get + @objc set(placeholderTextColor) + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set(textColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodNetBankingParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var bank: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardPresent : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceReceiver : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var address: Swift.String? { + get + } + @objc public var amountCharged: Foundation.NSNumber? { + get + } + @objc public var amountReceived: Foundation.NSNumber? { + get + } + @objc public var amountReturned: Foundation.NSNumber? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodPrzelewy24Params : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodKlarnaParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public static func rootObjectName() -> Swift.String? + @objc public static func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBancontactParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, unavailable, renamed: "STPIntentActionRedirectToURL", message: "Use `STPIntentActionRedirectToURL` instead.") +@objc final public class STPPaymentIntentSourceActionAuthorizeWithURL : Stripe.STPIntentActionRedirectToURL { + @objc deinit +} +@objc public enum STPSetupIntentLastSetupErrorType : Swift.UInt { + case unknown + @objc(STPSetupIntentLastSetupErrorTypeAPIConnection) case apiConnection + case API + case authentication + case card + case idempotency + case invalidRequest + case rateLimit + public typealias RawValue = Swift.UInt + public init?(rawValue: Swift.UInt) + public var rawValue: Swift.UInt { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSetupIntentLastSetupError : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var code: Swift.String? { + get + } + @objc public var declineCode: Swift.String? { + get + } + @objc public var docURL: Swift.String? { + get + } + @objc public var message: Swift.String? { + get + } + @objc public var param: Swift.String? { + get + } + @objc public var paymentMethod: Stripe.STPPaymentMethod? { + get + } + @objc public var type: Stripe.STPSetupIntentLastSetupErrorType { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc extension STPSetupIntentLastSetupError { + @objc public static let CodeAuthenticationFailure: Swift.String +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodPrzelewy24 : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCard : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var brand: Stripe.STPCardBrand { + get + } + @objc public var checks: Stripe.STPPaymentMethodCardChecks? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var expMonth: Swift.Int { + get + } + @objc public var expYear: Swift.Int { + get + } + @objc public var funding: Swift.String? { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var networks: Stripe.STPPaymentMethodCardNetworks? { + get + } + @objc public var threeDSecureUsage: Stripe.STPPaymentMethodThreeDSecureUsage? { + get + } + @objc public var wallet: Stripe.STPPaymentMethodCardWallet? { + get + } + @objc(stringFromBrand:) public class func string(from brand: Stripe.STPCardBrand) -> Swift.String + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public enum STPPaymentIntentLastPaymentErrorType : Swift.Int { + case unknown + @objc(STPPaymentIntentLastPaymentErrorTypeAPIConnection) case apiConnection + @objc(STPPaymentIntentLastPaymentErrorTypeAPI) case api + case authentication + case card + case idempotency + case invalidRequest + case rateLimit + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntentLastPaymentError : ObjectiveC.NSObject { + @objc public static let ErrorCodeAuthenticationFailure: Swift.String + @objc final public let code: Swift.String? + @objc final public let declineCode: Swift.String? + @objc final public let docURL: Swift.String? + @objc final public let message: Swift.String? + @objc final public let param: Swift.String? + @objc final public let paymentMethod: Stripe.STPPaymentMethod? + @objc final public let type: Stripe.STPPaymentIntentLastPaymentErrorType + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentLastPaymentError : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc public class STPPaymentResult : ObjectiveC.NSObject { + @objc public var paymentMethod: Stripe.STPPaymentMethod? { + get + } + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? { + get + } + @objc weak public var paymentOption: Stripe.STPPaymentOption? { + @objc get + } + @objc public init(paymentOption: Stripe.STPPaymentOption?) + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionWechatPayRedirectToApp : ObjectiveC.NSObject { + @objc final public let nativeURL: Foundation.URL? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPIntentActionWechatPayRedirectToApp : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc public enum STPPaymentIntentStatus : Swift.Int { + case unknown + case requiresPaymentMethod + @available(*, deprecated, renamed: "STPPaymentIntentStatus.requiresPaymentMethod", message: "Use STPPaymentIntentStatus.requiresPaymentMethod instead") + case requiresSource + case requiresConfirmation + case requiresAction + @available(*, deprecated, renamed: "STPPaymentIntentStatus.requiresAction", message: "Use STPPaymentIntentStatus.requiresAction instead") + case requiresSourceAction + case processing + case succeeded + case requiresCapture + case canceled + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentIntentSetupFutureUsage : Swift.Int { + case unknown + case none + case onSession + case offSession + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPPaymentIntentActionType : Swift.Int { + @available(*, deprecated, renamed: "STPIntentActionType.unknown", message: "Use STPIntentActionType instead") + case unknown + @available(*, deprecated, renamed: "STPIntentActionType.redirectToURL", message: "Use STPIntentActionType instead") + case redirectToURL + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +@objc public enum STPPaymentIntentSourceActionType : Swift.Int { + case unknown + case authorizeWithURL + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodGiropay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAUBECSDebitParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var accountNumber: Swift.String? + @objc public var bsbNumber: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBLIK : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodSofort : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var country: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodUPIParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var vpa: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPCardParams : ObjectiveC.NSObject, Stripe.STPFormEncodable, Foundation.NSCopying { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc convenience public init(paymentMethodParams: Stripe.STPPaymentMethodParams) + @objc public var number: Swift.String? + @objc public func last4() -> Swift.String? + @objc public var expMonth: Swift.UInt + @objc public var expYear: Swift.UInt + @objc public var cvc: Swift.String? + @objc public var name: Swift.String? { + @objc get + @objc set + } + @objc public var address: Stripe.STPAddress { + @objc get + @objc set + } + @objc public var currency: Swift.String? + @objc public var addressLine1: Swift.String? { + @objc get + @objc set(addressLine1) + } + @objc public var addressLine2: Swift.String? { + @objc get + @objc set(addressLine2) + } + @objc public var addressCity: Swift.String? { + @objc get + @objc set(addressCity) + } + @objc public var addressState: Swift.String? { + @objc get + @objc set(addressState) + } + @objc public var addressZip: Swift.String? { + @objc get + @objc set(addressZip) + } + @objc public var addressCountry: Swift.String? { + @objc get + @objc set(addressCountry) + } + @objc override dynamic public init() + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodAlipay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPFormEncodable : ObjectiveC.NSObjectProtocol { + @objc static func rootObjectName() -> Swift.String? + @objc static func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc var additionalAPIParameters: [Swift.AnyHashable : Any] { get set } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBancontact : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethod : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPPaymentOption { + @objc public var stripeId: Swift.String { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var liveMode: Swift.Bool { + get + } + @objc public var type: Stripe.STPPaymentMethodType { + get + } + @objc public var billingDetails: Stripe.STPPaymentMethodBillingDetails? { + get + } + @objc public var alipay: Stripe.STPPaymentMethodAlipay? { + get + } + @objc public var grabPay: Stripe.STPPaymentMethodGrabPay? { + get + } + @objc public var card: Stripe.STPPaymentMethodCard? { + get + } + @objc public var iDEAL: Stripe.STPPaymentMethodiDEAL? { + get + } + @objc public var fpx: Stripe.STPPaymentMethodFPX? { + get + } + @objc public var cardPresent: Stripe.STPPaymentMethodCardPresent? { + get + } + @objc public var sepaDebit: Stripe.STPPaymentMethodSEPADebit? { + get + } + @objc public var bacsDebit: Stripe.STPPaymentMethodBacsDebit? { + get + } + @objc public var auBECSDebit: Stripe.STPPaymentMethodAUBECSDebit? { + get + } + @objc public var giropay: Stripe.STPPaymentMethodGiropay? { + get + } + @objc public var eps: Stripe.STPPaymentMethodEPS? { + get + } + @objc public var przelewy24: Stripe.STPPaymentMethodPrzelewy24? { + get + } + @objc public var bancontact: Stripe.STPPaymentMethodBancontact? { + get + } + @objc public var netBanking: Stripe.STPPaymentMethodNetBanking? { + get + } + @objc public var oxxo: Stripe.STPPaymentMethodOXXO? { + get + } + @objc public var sofort: Stripe.STPPaymentMethodSofort? { + get + } + @objc public var upi: Stripe.STPPaymentMethodUPI? { + get + } + @objc public var payPal: Stripe.STPPaymentMethodPayPal? { + get + } + @objc public var afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpay? { + get + } + @objc public var blik: Stripe.STPPaymentMethodBLIK? { + get + } + @objc public var boleto: Stripe.STPPaymentMethodBoleto? { + get + } + @objc public var link: Stripe.STPPaymentMethodLink? { + get + } + @objc public var klarna: Stripe.STPPaymentMethodKlarna? { + get + } + @objc public var customerId: Swift.String? { + get + } + @available(*, deprecated, message: "Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardWalletVisaCheckout : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var email: Swift.String? { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var billingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var shippingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodFPXParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var bank: Stripe.STPFPXBankBrand { + @objc get + @objc set(_bank) + } + @objc public var rawBankString: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objc public class STPApplePayPaymentOption : ObjectiveC.NSObject, Stripe.STPPaymentOption { + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +@objc public class STPMandateDataParams : ObjectiveC.NSObject { + @objc final public let customerAcceptance: Stripe.STPMandateCustomerAcceptanceParams + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(customerAcceptance: Stripe.STPMandateCustomerAcceptanceParams) + @objc override dynamic public init() + @objc deinit +} +extension STPMandateDataParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPFPXBankBrand : Swift.Int { + case maybank2U + case CIMB + case publicBank + case RHB + case hongLeongBank + case ambank + case affinBank + case allianceBank + case bankIslam + case bankMuamalat + case bankRakyat + case BSN + case HSBC + case KFH + case maybank2E + case ocbc + case standardChartered + case UOB + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc @_inheritsConvenienceInitializers public class STPFPXBank : ObjectiveC.NSObject { + @objc public static func stringFrom(_ brand: Stripe.STPFPXBankBrand) -> Swift.String? + @objc public static func brandFrom(_ identifier: Swift.String?) -> Stripe.STPFPXBankBrand + @objc public static func identifierFrom(_ brand: Stripe.STPFPXBankBrand) -> Swift.String? + @objc public static func bankCodeFrom(_ brand: Stripe.STPFPXBankBrand, _ isBusiness: Swift.Bool) -> Swift.String? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPCardValidationState : Swift.Int { + case valid + case invalid + case incomplete + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPCardValidator : ObjectiveC.NSObject { + @objc(sanitizedNumericStringForString:) public class func sanitizedNumericString(for string: Swift.String) -> Swift.String + @objc(sanitizedPostalStringForString:) public class func sanitizedPostalString(for string: Swift.String) -> Swift.String + @objc(stringIsNumeric:) public class func stringIsNumeric(_ string: Swift.String) -> Swift.Bool + @objc(validationStateForNumber:validatingCardBrand:) public class func validationState(forNumber cardNumber: Swift.String?, validatingCardBrand: Swift.Bool) -> Stripe.STPCardValidationState + @objc(brandForNumber:) public class func brand(forNumber cardNumber: Swift.String) -> Stripe.STPCardBrand + @objc(lengthsForCardBrand:) public class func lengths(for brand: Stripe.STPCardBrand) -> Swift.Set + @objc(maxLengthForCardBrand:) public class func maxLength(for brand: Stripe.STPCardBrand) -> Swift.Int + @objc(fragmentLengthForCardBrand:) public class func fragmentLength(for brand: Stripe.STPCardBrand) -> Swift.Int + @objc(validationStateForExpirationMonth:) public class func validationState(forExpirationMonth expirationMonth: Swift.String) -> Stripe.STPCardValidationState + @objc(validationStateForExpirationYear:inMonth:) public class func validationState(forExpirationYear expirationYear: Swift.String, inMonth expirationMonth: Swift.String) -> Stripe.STPCardValidationState + @objc(maxCVCLengthForCardBrand:) public class func maxCVCLength(for brand: Stripe.STPCardBrand) -> Swift.UInt + @objc(validationStateForCVC:cardBrand:) public class func validationState(forCVC cvc: Swift.String, cardBrand brand: Stripe.STPCardBrand) -> Stripe.STPCardValidationState + @objc(validationStateForCard:) public class func validationState(forCard card: Stripe.STPCardParams) -> Stripe.STPCardValidationState + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountCompanyParams : ObjectiveC.NSObject { + @objc public var address: Stripe.STPConnectAccountAddress! + @objc public var kanaAddress: Stripe.STPConnectAccountAddress? + @objc public var kanjiAddress: Stripe.STPConnectAccountAddress? + @objc public var directorsProvided: Foundation.NSNumber? + @objc public var name: Swift.String? + @objc public var kanaName: Swift.String? + @objc public var kanjiName: Swift.String? + @objc public var ownersProvided: Foundation.NSNumber? + @objc public var phone: Swift.String? + @objc public var taxID: Swift.String? + @objc public var taxIDRegistrar: Swift.String? + @objc public var vatID: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountCompanyParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardWalletMasterpass : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var email: Swift.String? { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var billingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var shippingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBillingDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var address: Stripe.STPPaymentMethodAddress? + @objc public var email: Swift.String? + @objc public var name: Swift.String? + @objc public var phone: Swift.String? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override required dynamic public init() + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSCustomizationSettings : ObjectiveC.NSObject { + @available(*, deprecated, message: "Use STPThreeDSCustomizationSettings() instead of STPThreeDSCustomizationSettings.defaultSettings().") + @objc public class func defaultSettings() -> Stripe.STPThreeDSCustomizationSettings + @objc public var uiCustomization: Stripe.STPThreeDSUICustomization + @objc public var authenticationTimeout: Swift.Int + @objc override dynamic public init() + @objc deinit +} +@objc public enum STPIntentActionType : Swift.Int { + case unknown + case redirectToURL + case useStripeSDK + case OXXODisplayDetails + case alipayHandleRedirect + case BLIKAuthorize + case weChatPayRedirectToApp + case linkAuthenticateAccount + case boletoDisplayDetails + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPIntentAction : ObjectiveC.NSObject { + @objc final public let type: Stripe.STPIntentActionType + @objc final public let redirectToURL: Stripe.STPIntentActionRedirectToURL? + @objc final public let oxxoDisplayDetails: Stripe.STPIntentActionOXXODisplayDetails? + @objc final public let alipayHandleRedirect: Stripe.STPIntentActionAlipayHandleRedirect? + @objc final public let weChatPayRedirectToApp: Stripe.STPIntentActionWechatPayRedirectToApp? + @objc final public let boletoDisplayDetails: Stripe.STPIntentActionBoletoDisplayDetails? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPIntentAction : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +extension STPIntentAction { + @available(*, deprecated, renamed: "redirectToURL", message: "Use `redirectToURL` instead.") + @objc dynamic public var authorizeWithURL: Stripe.STPIntentActionRedirectToURL? { + @objc get + } +} +@objc public class STPPaymentIntentShippingDetailsAddressParams : ObjectiveC.NSObject { + @objc public var city: Swift.String? + @objc public var country: Swift.String? + @objc public var line1: Swift.String + @objc public var line2: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var state: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(line1: Swift.String) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetailsAddressParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +extension STPPaymentIntentShippingDetailsAddressParams : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc public class STPConfirmWeChatPayOptions : ObjectiveC.NSObject { + @objc public var appId: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc required public init(appId: Swift.String) + @objc deinit + @objc override dynamic public init() +} +extension STPConfirmWeChatPayOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodGiropayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPMultiFormTextField : UIKit.UIView, Stripe.STPFormTextFieldContainer, UIKit.UITextFieldDelegate { + @objc public func textField(_ textField: UIKit.UITextField, shouldChangeCharactersIn range: Foundation.NSRange, replacementString string: Swift.String) -> Swift.Bool + @objc public func focusNextForm() + @objc override dynamic public var canResignFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func resignFirstResponder() -> Swift.Bool + @objc override dynamic public var isFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public var canBecomeFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func becomeFirstResponder() -> Swift.Bool + @objc public func textFieldDidEndEditing(_ textField: UIKit.UITextField) + @objc public func textFieldDidBeginEditing(_ textField: UIKit.UITextField) + @objc public func textFieldShouldReturn(_ textField: UIKit.UITextField) -> Swift.Bool + @objc public var formFont: UIKit.UIFont { + @objc get + @objc set + } + @objc public var formTextColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formTextErrorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formPlaceholderColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formCursorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formKeyboardAppearance: UIKit.UIKeyboardAppearance { + @objc get + @objc set + } + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPImageLibrary : ObjectiveC.NSObject { + @objc public class func applePayCardImage() -> UIKit.UIImage + @objc public class func amexCardImage() -> UIKit.UIImage + @objc public class func dinersClubCardImage() -> UIKit.UIImage + @objc public class func discoverCardImage() -> UIKit.UIImage + @objc public class func jcbCardImage() -> UIKit.UIImage + @objc public class func mastercardCardImage() -> UIKit.UIImage + @objc public class func unionPayCardImage() -> UIKit.UIImage + @objc public class func visaCardImage() -> UIKit.UIImage + @objc public class func unknownCardCardImage() -> UIKit.UIImage + @objc(brandImageForCardBrand:) public class func cardBrandImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc(brandImageForFPXBankBrand:) public class func fpxBrandImage(for brand: Stripe.STPFPXBankBrand) -> UIKit.UIImage + @objc public class func fpxLogo() -> UIKit.UIImage + @objc public class func largeFpxLogo() -> UIKit.UIImage + @objc public class func afterpayLogo() -> UIKit.UIImage + @objc(templatedBrandImageForCardBrand:) public class func templatedBrandImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc(cvcImageForCardBrand:) public class func cvcImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc(errorImageForCardBrand:) public class func errorImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodCardNetworks : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var available: [Swift.String] { + get + } + @objc public var preferred: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPSourceParams : ObjectiveC.NSObject, Stripe.STPFormEncodable, Foundation.NSCopying { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var type: Stripe.STPSourceType { + @objc get + @objc set(type) + } + @objc public var rawTypeString: Swift.String? + @objc public var amount: Foundation.NSNumber? + @objc public var currency: Swift.String? + @objc public var flow: Stripe.STPSourceFlow + @objc public var metadata: [Swift.AnyHashable : Any]? + @objc public var owner: [Swift.AnyHashable : Any]? + @objc public var redirect: [Swift.AnyHashable : Any]? + @objc public var token: Swift.String? + @objc public var usage: Stripe.STPSourceUsage + @objc override required dynamic public init() + @objc deinit +} +extension STPSourceParams { + @objc dynamic public class func bancontactParams(withAmount amount: Swift.Int, name: Swift.String, returnURL: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func cardParams(withCard card: Stripe.STPCardParams) -> Stripe.STPSourceParams + @objc dynamic public class func giropayParams(withAmount amount: Swift.Int, name: Swift.String, returnURL: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func idealParams(withAmount amount: Swift.Int, name: Swift.String?, returnURL: Swift.String, statementDescriptor: Swift.String?, bank: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func sepaDebitParams(withName name: Swift.String, iban: Swift.String, addressLine1: Swift.String?, city: Swift.String?, postalCode: Swift.String?, country: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func sofortParams(withAmount amount: Swift.Int, returnURL: Swift.String, country: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @available(swift, obsoleted: 1.0) + @objc(klarnaParamsWithReturnURL:currency:purchaseCountry:items:customPaymentMethods:billingAddress:billingFirstName:billingLastName:billingDOB:) dynamic public class func objc_klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Foundation.NSNumber], billingAddress address: Stripe.STPAddress?, billingFirstName firstName: Swift.String?, billingLastName lastName: Swift.String?, billingDOB dateOfBirth: Stripe.STPDateOfBirth?) -> Stripe.STPSourceParams + public class func klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Stripe.STPKlarnaPaymentMethods], billingAddress address: Stripe.STPAddress? = nil, billingFirstName firstName: Swift.String? = nil, billingLastName lastName: Swift.String? = nil, billingDOB dateOfBirth: Stripe.STPDateOfBirth? = nil) -> Stripe.STPSourceParams + @available(swift, obsoleted: 1.0) + @objc(klarnaParamsWithReturnURL:currency:purchaseCountry:items:customPaymentMethods:) dynamic public class func objc_klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Foundation.NSNumber]) -> Stripe.STPSourceParams + public class func klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Stripe.STPKlarnaPaymentMethods]) -> Stripe.STPSourceParams + @objc dynamic public class func threeDSecureParams(withAmount amount: Swift.Int, currency: Swift.String, returnURL: Swift.String, card: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func alipayParams(withAmount amount: Swift.Int, currency: Swift.String, returnURL: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func alipayReusableParams(withCurrency currency: Swift.String, returnURL: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func p24Params(withAmount amount: Swift.Int, currency: Swift.String, email: Swift.String, name: Swift.String?, returnURL: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func visaCheckoutParams(withCallId callId: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func masterpassParams(withCartId cartId: Swift.String, transactionId: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func epsParams(withAmount amount: Swift.Int, name: Swift.String, returnURL: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func multibancoParams(withAmount amount: Swift.Int, returnURL: Swift.String, email: Swift.String) -> Stripe.STPSourceParams + @objc(wechatPayParamsWithAmount:currency:appId:statementDescriptor:) dynamic public class func wechatPay(withAmount amount: Swift.Int, currency: Swift.String, appId: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc dynamic public func redirectDictionaryWithMerchantNameIfNecessary() -> [Swift.AnyHashable : Any] + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc public enum STPThreeDSCustomizationButtonType : Swift.Int { + case submit = 0 + case `continue` = 1 + case next = 2 + case cancel = 3 + case resend = 4 + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPThreeDSButtonTitleStyle : Swift.Int { + case `default` + case uppercase + case lowercase + case sentenceCapitalized + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public class STPThreeDSButtonCustomization : ObjectiveC.NSObject { + @objc(defaultSettingsForButtonType:) public class func defaultSettings(for type: Stripe.STPThreeDSCustomizationButtonType) -> Stripe.STPThreeDSButtonCustomization + @objc public init(backgroundColor: UIKit.UIColor, cornerRadius: CoreGraphics.CGFloat) + @objc public var backgroundColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var cornerRadius: CoreGraphics.CGFloat { + @objc get + @objc set + } + @objc public var titleStyle: Stripe.STPThreeDSButtonTitleStyle { + @objc get + @objc set + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPPaymentIntentCaptureMethod : Swift.Int { + case unknown + case automatic + case manual + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentIntentConfirmationMethod : Swift.Int { + case unknown + case manual + case automatic + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntent : ObjectiveC.NSObject { + @objc final public let stripeId: Swift.String + @objc final public let clientSecret: Swift.String + @objc final public let amount: Swift.Int + @objc final public let canceledAt: Foundation.Date? + @objc final public let captureMethod: Stripe.STPPaymentIntentCaptureMethod + @objc final public let confirmationMethod: Stripe.STPPaymentIntentConfirmationMethod + @objc final public let created: Foundation.Date + @objc final public let currency: Swift.String + @objc final public let stripeDescription: Swift.String? + @objc final public let livemode: Swift.Bool + @objc final public let nextAction: Stripe.STPIntentAction? + @objc final public let receiptEmail: Swift.String? + @objc final public let sourceId: Swift.String? + @objc final public let paymentMethodId: Swift.String? + @objc final public let status: Stripe.STPPaymentIntentStatus + @objc final public let paymentMethodTypes: [Foundation.NSNumber] + @objc final public let setupFutureUsage: Stripe.STPPaymentIntentSetupFutureUsage + @objc final public let lastPaymentError: Stripe.STPPaymentIntentLastPaymentError? + @objc final public let shipping: Stripe.STPPaymentIntentShippingDetails? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntent : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +extension STPPaymentIntent { + @available(*, deprecated, renamed: "nextAction", message: "Use nextAction instead") + @objc dynamic public var nextSourceAction: Stripe.STPIntentAction? { + @objc get + } +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSFooterCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSFooterCustomization + @objc public var backgroundColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var chevronColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var headingTextColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var headingFont: UIKit.UIFont { + @objc get + @objc set + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc deinit + @objc override dynamic public init() +} +extension STPAPIClient { + public func createRadarSession(completion: @escaping Stripe.STPRadarSessionCompletionBlock) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, unavailable, renamed: "STPIntentActionRedirectToURL", message: "Use `STPIntentActionRedirectToURL` instead.") +@objc final public class STPPaymentIntentActionRedirectToURL : Stripe.STPIntentActionRedirectToURL { + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPShippingAddressViewController : Stripe.STPCoreTableViewController { + @objc convenience dynamic public init() + @objc(initWithPaymentContext:) convenience public init(paymentContext: Stripe.STPPaymentContext) + @objc(initWithConfiguration:theme:currency:shippingAddress:selectedShippingMethod:prefilledInformation:) public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme, currency: Swift.String?, shippingAddress: Stripe.STPAddress?, selectedShippingMethod: PassKit.PKShippingMethod?, prefilledInformation: Stripe.STPUserInformation?) + @objc weak public var delegate: Stripe.STPShippingAddressViewControllerDelegate? + @objc(dismissWithCompletion:) public func dismiss(withCompletion completion: StripeApplePay.STPVoidBlock?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required public init(theme: Stripe.STPTheme?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool) + @objc override public func tableView(_ tableView: UIKit.UITableView, heightForHeaderInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc deinit +} +@objc public protocol STPShippingAddressViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc func shippingAddressViewControllerDidCancel(_ addressViewController: Stripe.STPShippingAddressViewController) + @objc(shippingAddressViewController:didEnterAddress:completion:) func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didEnter address: Stripe.STPAddress, completion: @escaping Stripe.STPShippingMethodsCompletionBlock) + @objc(shippingAddressViewController:didFinishWithAddress:shippingMethod:) func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didFinishWith address: Stripe.STPAddress, shippingMethod method: PassKit.PKShippingMethod?) +} +extension STPShippingAddressViewController : UIKit.UITableViewDelegate, UIKit.UITableViewDataSource { + @objc dynamic public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, willDisplay cell: UIKit.UITableViewCell, forRowAt indexPath: Foundation.IndexPath) + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, viewForFooterInSection section: Swift.Int) -> UIKit.UIView? + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, viewForHeaderInSection section: Swift.Int) -> UIKit.UIView? +} +@objc public enum STPPaymentMethodCardCheckResult : Swift.Int { + case pass + case failed + case unavailable + case unchecked + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardChecks : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @available(*, deprecated, message: "Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var addressLine1Check: Stripe.STPPaymentMethodCardCheckResult { + get + } + @available(*, deprecated, message: "Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var addressPostalCodeCheck: Stripe.STPPaymentMethodCardCheckResult { + get + } + @available(*, deprecated, message: "Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var cvcCheck: Stripe.STPPaymentMethodCardCheckResult { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +extension STPBankAccountHolderType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPBankAccountStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPBankSelectionMethod : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPBillingAddressFields : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardBrand : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardFormViewStyle : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardFundingType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardValidationState : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPConnectAccountBusinessType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPFPXBankBrand : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPFilePurpose : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPIntentActionType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPKlarnaLineItemType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPKlarnaPaymentMethods : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPMandateCustomerAcceptanceType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentHandlerActionStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentHandlerErrorCode : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentActionType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentCaptureMethod : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentConfirmationMethod : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentLastPaymentErrorType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentSetupFutureUsage : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension STPPaymentIntentSourceActionType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentMethodCardCheckResult : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentMethodCardWalletType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentMethodType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPinStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPRedirectContextError : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPRedirectContextState : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSetupIntentLastSetupErrorType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSetupIntentStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSetupIntentUsage : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPShippingStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPShippingType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceCard3DSecureStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceFlow : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceRedirectStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceUsage : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceVerificationStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPThreeDSButtonTitleStyle : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPThreeDSCustomizationButtonType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPTokenType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +@objc public enum STPTokenType : Swift.Int { + case account = 0 + case bankAccount + case card + case PII + case cvcUpdate + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPToken : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPSourceProtocol { + @objc public var tokenId: Swift.String { + get + } + @objc public var livemode: Swift.Bool { + get + } + @objc public var type: Stripe.STPTokenType { + get + } + @objc public var card: Stripe.STPCard? { + get + } + @objc public var bankAccount: Stripe.STPBankAccount? { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public var debugDescription: Swift.String { + @objc get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc public var stripeID: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@_inheritsConvenienceInitializers @objc public class STPPaymentMethodBLIKParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPCoreScrollViewController : Stripe.STPCoreViewController { + @objc public var scrollView: UIKit.UIScrollView { + @objc get + @objc set + } + @objc override dynamic public func viewDidLoad() + @objc override dynamic public func viewDidLayoutSubviews() + @objc required public init(theme: Stripe.STPTheme?) + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc deinit +} +@objc public enum STPSourceFlow : Swift.Int { + case none + case redirect + case codeVerification + case receiver + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPSourceUsage : Swift.Int { + case reusable + case singleUse + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPSourceStatus : Swift.Int { + case pending + case chargeable + case consumed + case canceled + case failed + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPSourceType : Swift.Int { + case bancontact + case card + case giropay + @objc(STPSourceTypeiDEAL) case iDEAL + case SEPADebit + case sofort + case threeDSecure + case alipay + case P24 + case EPS + case multibanco + case weChatPay + case klarna + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPKlarnaPaymentMethods : Swift.Int { + case none + case payIn4 + case installments + case payIn4OrInstallments + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountIndividualParams : ObjectiveC.NSObject { + @objc public var address: Stripe.STPConnectAccountAddress? + @objc public var kanaAddress: Stripe.STPConnectAccountAddress? + @objc public var kanjiAddress: Stripe.STPConnectAccountAddress? + @objc public var dateOfBirth: Foundation.DateComponents? + @objc public var email: Swift.String? + @objc public var firstName: Swift.String? + @objc public var kanaFirstName: Swift.String? + @objc public var kanjiFirstName: Swift.String? + @objc public var gender: Swift.String? + @objc public var idNumber: Swift.String? + @objc public var lastName: Swift.String? + @objc public var kanaLastName: Swift.String? + @objc public var kanjiLastName: Swift.String? + @objc public var maidenName: Swift.String? + @objc public var metadata: [Swift.AnyHashable : Any]? + @objc public var phone: Swift.String? + @objc public var ssnLast4: Swift.String? + @objc public var verification: Stripe.STPConnectAccountIndividualVerification? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountIndividualParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountIndividualVerification : ObjectiveC.NSObject { + @objc public var document: Stripe.STPConnectAccountVerificationDocument? + @objc public var additionalDocument: Stripe.STPConnectAccountVerificationDocument? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountIndividualVerification : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountVerificationDocument : ObjectiveC.NSObject { + @objc public var back: Swift.String? + @objc public var front: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountVerificationDocument : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPDateOfBirth : ObjectiveC.NSObject { + @objc public var day: Swift.Int + @objc public var month: Swift.Int + @objc public var year: Swift.Int + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc deinit + @objc override dynamic public init() +} +extension STPDateOfBirth : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionRedirectToURL : ObjectiveC.NSObject { + @objc final public let url: Foundation.URL + @objc final public let returnURL: Foundation.URL? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPIntentActionRedirectToURL : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodGrabPayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +extension Stripe.STPSourceVerificationStatus : Swift.Equatable {} +extension Stripe.STPSourceVerificationStatus : Swift.Hashable {} +extension Stripe.STPSourceVerificationStatus : Swift.RawRepresentable {} +extension Stripe.STPBankSelectionMethod : Swift.Equatable {} +extension Stripe.STPBankSelectionMethod : Swift.Hashable {} +extension Stripe.STPBankSelectionMethod : Swift.RawRepresentable {} +extension Stripe.STPBankAccountHolderType : Swift.Equatable {} +extension Stripe.STPBankAccountHolderType : Swift.Hashable {} +extension Stripe.STPBankAccountHolderType : Swift.RawRepresentable {} +extension Stripe.STPSetupIntentStatus : Swift.Equatable {} +extension Stripe.STPSetupIntentStatus : Swift.Hashable {} +extension Stripe.STPSetupIntentStatus : Swift.RawRepresentable {} +extension Stripe.STPSetupIntentUsage : Swift.Equatable {} +extension Stripe.STPSetupIntentUsage : Swift.Hashable {} +extension Stripe.STPSetupIntentUsage : Swift.RawRepresentable {} +extension Stripe.STPConnectAccountBusinessType : Swift.Equatable {} +extension Stripe.STPConnectAccountBusinessType : Swift.Hashable {} +extension Stripe.STPConnectAccountBusinessType : Swift.RawRepresentable {} +extension Stripe.STPShippingType : Swift.Equatable {} +extension Stripe.STPShippingType : Swift.Hashable {} +extension Stripe.STPShippingType : Swift.RawRepresentable {} +extension Stripe.STPShippingStatus : Swift.Equatable {} +extension Stripe.STPShippingStatus : Swift.Hashable {} +extension Stripe.STPShippingStatus : Swift.RawRepresentable {} +extension Stripe.STPPaymentStatus : Swift.Equatable {} +extension Stripe.STPPaymentStatus : Swift.Hashable {} +extension Stripe.STPPaymentStatus : Swift.RawRepresentable {} +extension Stripe.STPPinStatus : Swift.Equatable {} +extension Stripe.STPPinStatus : Swift.Hashable {} +extension Stripe.STPPinStatus : Swift.RawRepresentable {} +extension Stripe.STPRedirectContextError : Swift.Equatable {} +extension Stripe.STPRedirectContextError : Swift.Hashable {} +extension Stripe.STPRedirectContextError : Swift.RawRepresentable {} +extension Stripe.STPRedirectContextState : Swift.Equatable {} +extension Stripe.STPRedirectContextState : Swift.Hashable {} +extension Stripe.STPRedirectContextState : Swift.RawRepresentable {} +extension Stripe.STPKlarnaLineItemType : Swift.Equatable {} +extension Stripe.STPKlarnaLineItemType : Swift.Hashable {} +extension Stripe.STPKlarnaLineItemType : Swift.RawRepresentable {} +extension Stripe.STPPaymentMethodType : Swift.Equatable {} +extension Stripe.STPPaymentMethodType : Swift.Hashable {} +extension Stripe.STPPaymentMethodType : Swift.RawRepresentable {} +extension Stripe.STPPaymentCardTextField : UIKit.UITextFieldDelegate {} +extension Stripe.STPSourceRedirectStatus : Swift.Equatable {} +extension Stripe.STPSourceRedirectStatus : Swift.Hashable {} +extension Stripe.STPSourceRedirectStatus : Swift.RawRepresentable {} +extension Stripe.STPFilePurpose : Swift.Equatable {} +extension Stripe.STPFilePurpose : Swift.Hashable {} +extension Stripe.STPFilePurpose : Swift.RawRepresentable {} +extension Stripe.STPPaymentHandlerActionStatus : Swift.Equatable {} +extension Stripe.STPPaymentHandlerActionStatus : Swift.Hashable {} +extension Stripe.STPPaymentHandlerActionStatus : Swift.RawRepresentable {} +extension Stripe.STPPaymentHandlerErrorCode : Swift.Equatable {} +extension Stripe.STPPaymentHandlerErrorCode : Swift.Hashable {} +extension Stripe.STPPaymentHandlerErrorCode : Swift.RawRepresentable {} +extension Stripe.STPSourceCard3DSecureStatus : Swift.Equatable {} +extension Stripe.STPSourceCard3DSecureStatus : Swift.Hashable {} +extension Stripe.STPSourceCard3DSecureStatus : Swift.RawRepresentable {} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +extension Stripe._stpobjc_STPErrorCode : Swift.Equatable {} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +extension Stripe._stpobjc_STPErrorCode : Swift.Hashable {} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +extension Stripe._stpobjc_STPErrorCode : Swift.RawRepresentable {} +extension Stripe.STPCardFundingType : Swift.Equatable {} +extension Stripe.STPCardFundingType : Swift.Hashable {} +extension Stripe.STPCardFundingType : Swift.RawRepresentable {} +extension Stripe.STPPaymentMethodCardWalletType : Swift.Equatable {} +extension Stripe.STPPaymentMethodCardWalletType : Swift.Hashable {} +extension Stripe.STPPaymentMethodCardWalletType : Swift.RawRepresentable {} +@available(iOS 13.0, *) +extension Stripe.PaymentSheet.UserInterfaceStyle : Swift.Equatable {} +@available(iOS 13.0, *) +extension Stripe.PaymentSheet.UserInterfaceStyle : Swift.Hashable {} +@available(iOS 13.0, *) +extension Stripe.PaymentSheet.UserInterfaceStyle : Swift.RawRepresentable {} +extension Stripe.PaymentSheet.SavePaymentMethodOptInBehavior : Swift.Equatable {} +extension Stripe.PaymentSheet.SavePaymentMethodOptInBehavior : Swift.Hashable {} +extension Stripe.STPCardBrand : Swift.Equatable {} +extension Stripe.STPCardBrand : Swift.Hashable {} +extension Stripe.STPCardBrand : Swift.RawRepresentable {} +extension Stripe.STPBankAccountStatus : Swift.Equatable {} +extension Stripe.STPBankAccountStatus : Swift.Hashable {} +extension Stripe.STPBankAccountStatus : Swift.RawRepresentable {} +extension Stripe.STPMandateCustomerAcceptanceType : Swift.Equatable {} +extension Stripe.STPMandateCustomerAcceptanceType : Swift.Hashable {} +extension Stripe.STPMandateCustomerAcceptanceType : Swift.RawRepresentable {} +extension Stripe.STPBillingAddressFields : Swift.Equatable {} +extension Stripe.STPBillingAddressFields : Swift.Hashable {} +extension Stripe.STPBillingAddressFields : Swift.RawRepresentable {} +extension Stripe.STPCardFormViewStyle : Swift.Equatable {} +extension Stripe.STPCardFormViewStyle : Swift.Hashable {} +extension Stripe.STPCardFormViewStyle : Swift.RawRepresentable {} +extension Stripe.STPSetupIntentLastSetupErrorType : Swift.Equatable {} +extension Stripe.STPSetupIntentLastSetupErrorType : Swift.Hashable {} +extension Stripe.STPSetupIntentLastSetupErrorType : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentLastPaymentErrorType : Swift.Equatable {} +extension Stripe.STPPaymentIntentLastPaymentErrorType : Swift.Hashable {} +extension Stripe.STPPaymentIntentLastPaymentErrorType : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentStatus : Swift.Equatable {} +extension Stripe.STPPaymentIntentStatus : Swift.Hashable {} +extension Stripe.STPPaymentIntentStatus : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentSetupFutureUsage : Swift.Equatable {} +extension Stripe.STPPaymentIntentSetupFutureUsage : Swift.Hashable {} +extension Stripe.STPPaymentIntentSetupFutureUsage : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentActionType : Swift.Equatable {} +extension Stripe.STPPaymentIntentActionType : Swift.Hashable {} +extension Stripe.STPPaymentIntentActionType : Swift.RawRepresentable {} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension Stripe.STPPaymentIntentSourceActionType : Swift.Equatable {} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension Stripe.STPPaymentIntentSourceActionType : Swift.Hashable {} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension Stripe.STPPaymentIntentSourceActionType : Swift.RawRepresentable {} +extension Stripe.STPFPXBankBrand : Swift.Equatable {} +extension Stripe.STPFPXBankBrand : Swift.Hashable {} +extension Stripe.STPFPXBankBrand : Swift.RawRepresentable {} +extension Stripe.STPCardValidationState : Swift.Equatable {} +extension Stripe.STPCardValidationState : Swift.Hashable {} +extension Stripe.STPCardValidationState : Swift.RawRepresentable {} +extension Stripe.STPIntentActionType : Swift.Equatable {} +extension Stripe.STPIntentActionType : Swift.Hashable {} +extension Stripe.STPIntentActionType : Swift.RawRepresentable {} +extension Stripe.STPThreeDSCustomizationButtonType : Swift.Equatable {} +extension Stripe.STPThreeDSCustomizationButtonType : Swift.Hashable {} +extension Stripe.STPThreeDSCustomizationButtonType : Swift.RawRepresentable {} +extension Stripe.STPThreeDSButtonTitleStyle : Swift.Equatable {} +extension Stripe.STPThreeDSButtonTitleStyle : Swift.Hashable {} +extension Stripe.STPThreeDSButtonTitleStyle : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentCaptureMethod : Swift.Equatable {} +extension Stripe.STPPaymentIntentCaptureMethod : Swift.Hashable {} +extension Stripe.STPPaymentIntentCaptureMethod : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentConfirmationMethod : Swift.Equatable {} +extension Stripe.STPPaymentIntentConfirmationMethod : Swift.Hashable {} +extension Stripe.STPPaymentIntentConfirmationMethod : Swift.RawRepresentable {} +extension Stripe.STPPaymentMethodCardCheckResult : Swift.Equatable {} +extension Stripe.STPPaymentMethodCardCheckResult : Swift.Hashable {} +extension Stripe.STPPaymentMethodCardCheckResult : Swift.RawRepresentable {} +extension Stripe.STPKlarnaPaymentMethods : Swift.Equatable {} +extension Stripe.STPKlarnaPaymentMethods : Swift.Hashable {} +extension Stripe.STPKlarnaPaymentMethods : Swift.RawRepresentable {} +extension Stripe.STPSourceFlow : Swift.Equatable {} +extension Stripe.STPSourceFlow : Swift.Hashable {} +extension Stripe.STPSourceFlow : Swift.RawRepresentable {} +extension Stripe.STPSourceStatus : Swift.Equatable {} +extension Stripe.STPSourceStatus : Swift.Hashable {} +extension Stripe.STPSourceStatus : Swift.RawRepresentable {} +extension Stripe.STPSourceType : Swift.Equatable {} +extension Stripe.STPSourceType : Swift.Hashable {} +extension Stripe.STPSourceType : Swift.RawRepresentable {} +extension Stripe.STPSourceUsage : Swift.Equatable {} +extension Stripe.STPSourceUsage : Swift.Hashable {} +extension Stripe.STPSourceUsage : Swift.RawRepresentable {} +extension Stripe.STPTokenType : Swift.Equatable {} +extension Stripe.STPTokenType : Swift.Hashable {} +extension Stripe.STPTokenType : Swift.RawRepresentable {} diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Modules/Stripe.swiftmodule/x86_64-apple-ios-macabi.swiftdoc b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Modules/Stripe.swiftmodule/x86_64-apple-ios-macabi.swiftdoc new file mode 100644 index 0000000..1acbd5a Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Modules/Stripe.swiftmodule/x86_64-apple-ios-macabi.swiftdoc differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Modules/Stripe.swiftmodule/x86_64-apple-ios-macabi.swiftinterface b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Modules/Stripe.swiftmodule/x86_64-apple-ios-macabi.swiftinterface new file mode 100644 index 0000000..d1e2da7 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Modules/Stripe.swiftmodule/x86_64-apple-ios-macabi.swiftinterface @@ -0,0 +1,4764 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target x86_64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name Stripe +import AVFoundation +import CommonCrypto +import Contacts +import CoreLocation +import Foundation +import ObjectiveC +import PassKit +import SafariServices +import Security +@_exported import Stripe +import Stripe3DS2 +@_exported import StripeApplePay +@_exported import StripeCore +import StripeUICore +import Swift +import SwiftUI +import UIKit +import Vision +extension STPAPIClient { + public var configuration: Stripe.STPPaymentConfiguration { + get + set + } + @available(*, deprecated, message: "This initializer previously configured publishableKey and stripeAccount via the STPPaymentConfiguration instance. This behavior is deprecated; set the STPAPIClient configuration, publishableKey, and stripeAccount properties directly on the STPAPIClient instead.") + convenience public init(configuration: Stripe.STPPaymentConfiguration) +} +extension STPAPIClient { + public func createToken(withBankAccount bankAccount: Stripe.STPBankAccountParams, completion: @escaping Stripe.STPTokenCompletionBlock) +} +extension STPAPIClient { + public func createToken(withPersonalIDNumber pii: Swift.String, completion: Stripe.STPTokenCompletionBlock?) + public func createToken(withSSNLast4 ssnLast4: Swift.String, completion: @escaping Stripe.STPTokenCompletionBlock) +} +extension STPAPIClient { + public func createToken(withConnectAccount account: Stripe.STPConnectAccountParams, completion: Stripe.STPTokenCompletionBlock?) +} +extension STPAPIClient { + public func uploadImage(_ image: UIKit.UIImage, purpose: Stripe.STPFilePurpose, completion: Stripe.STPFileCompletionBlock?) +} +extension STPAPIClient { + public func createToken(withCard cardParams: Stripe.STPCardParams, completion: @escaping Stripe.STPTokenCompletionBlock) + public func createToken(forCVCUpdate cvc: Swift.String, completion: Stripe.STPTokenCompletionBlock? = nil) +} +extension STPAPIClient { + public func createSource(with sourceParams: Stripe.STPSourceParams, completion: @escaping Stripe.STPSourceCompletionBlock) + public func retrieveSource(withId identifier: Swift.String, clientSecret secret: Swift.String, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public func startPollingSource(withId identifier: Swift.String, clientSecret secret: Swift.String, timeout: Foundation.TimeInterval, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public func stopPollingSource(withId identifier: Swift.String) +} +extension STPAPIClient { + public func retrievePaymentIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + public func retrievePaymentIntent(withClientSecret secret: Swift.String, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) +} +extension STPAPIClient { + public func retrieveSetupIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPSetupIntentCompletionBlock) + public func confirmSetupIntent(with setupIntentParams: Stripe.STPSetupIntentConfirmParams, completion: @escaping Stripe.STPSetupIntentCompletionBlock) +} +extension STPAPIClient { + public func createPaymentMethod(with paymentMethodParams: Stripe.STPPaymentMethodParams, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSLabelCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSLabelCustomization + @objc public var headingFont: UIKit.UIFont { + @objc get + @objc set(headingFont) + } + @objc public var headingTextColor: UIKit.UIColor { + @objc get + @objc set(headingTextColor) + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set(textColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodUPI : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var vpa: Swift.String { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPSourceVerificationStatus : Swift.Int { + case pending + case succeeded + case failed + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceVerification : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var attemptsRemaining: Foundation.NSNumber? { + get + } + @objc public var status: Stripe.STPSourceVerificationStatus { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodOXXO : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public enum STPBankSelectionMethod : Swift.Int { + case FPX + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPBankSelectionViewController : Stripe.STPCoreTableViewController, UIKit.UITableViewDataSource, UIKit.UITableViewDelegate { + @objc convenience public init(bankMethod: Stripe.STPBankSelectionMethod) + @objc convenience required public init(theme: Stripe.STPTheme?) + @objc public init(bankMethod: Stripe.STPBankSelectionMethod, configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc weak public var delegate: Stripe.STPBankSelectionViewControllerDelegate? + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc deinit + @objc public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell + @objc public func tableView(_ tableView: UIKit.UITableView, willDisplay cell: UIKit.UITableViewCell, forRowAt indexPath: Foundation.IndexPath) + @objc public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc public func tableView(_ tableView: UIKit.UITableView, shouldHighlightRowAt indexPath: Foundation.IndexPath) -> Swift.Bool + @objc public func tableView(_ tableView: UIKit.UITableView, didSelectRowAt indexPath: Foundation.IndexPath) +} +@objc public protocol STPBankSelectionViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc(bankSelectionViewController:didCreatePaymentMethodParams:) func bankSelectionViewController(_ bankViewController: Stripe.STPBankSelectionViewController, didCreatePaymentMethodParams paymentMethodParams: Stripe.STPPaymentMethodParams) +} +@objc @_inheritsConvenienceInitializers public class STPSetupIntentConfirmParams : ObjectiveC.NSObject, Foundation.NSCopying, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(clientSecret: Swift.String) + @objc public var clientSecret: Swift.String + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? + @objc public var paymentMethodID: Swift.String? + @objc public var returnURL: Swift.String? + @objc public var useStripeSDK: Foundation.NSNumber? + @objc public var mandateData: Stripe.STPMandateDataParams? { + @objc get + @objc set(newMandateData) + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSUICustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSUICustomization + @objc public var navigationBarCustomization: Stripe.STPThreeDSNavigationBarCustomization { + @objc get + @objc set(navigationBarCustomization) + } + @objc public var labelCustomization: Stripe.STPThreeDSLabelCustomization { + @objc get + @objc set(labelCustomization) + } + @objc public var textFieldCustomization: Stripe.STPThreeDSTextFieldCustomization { + @objc get + @objc set(textFieldCustomization) + } + @objc public var backgroundColor: UIKit.UIColor { + @objc get + @objc set(backgroundColor) + } + @objc public var footerCustomization: Stripe.STPThreeDSFooterCustomization { + @objc get + @objc set(footerCustomization) + } + @objc(setButtonCustomization:forType:) public func setButtonCustomization(_ buttonCustomization: Stripe.STPThreeDSButtonCustomization, for buttonType: Stripe.STPThreeDSCustomizationButtonType) + @objc(buttonCustomizationForButtonType:) public func buttonCustomization(for buttonType: Stripe.STPThreeDSCustomizationButtonType) -> Stripe.STPThreeDSButtonCustomization + @objc public var selectionCustomization: Stripe.STPThreeDSSelectionCustomization { + @objc get + @objc set(selectionCustomization) + } + @objc public var activityIndicatorViewStyle: UIKit.UIActivityIndicatorView.Style { + @objc get + @objc set(activityIndicatorViewStyle) + } + @objc public var blurStyle: UIKit.UIBlurEffect.Style { + @objc get + @objc set(blurStyle) + } + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceWeChatPayDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var weChatAppURL: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@_inheritsConvenienceInitializers @available(swift, obsoleted: 0.0.1, message: "Use 'StripeAPI' instead.") +@objc(StripeAPI) public class _stpobjc_StripeAPI : ObjectiveC.NSObject { + @objc public static var defaultPublishableKey: Swift.String? { + @objc get + @objc set + } + @objc public static var advancedFraudSignalsEnabled: Swift.Bool { + @objc get + @objc set + } + @objc public static var maxRetries: Swift.Int { + @objc get + @objc set + } + @discardableResult + @objc(handleStripeURLCallbackWithURL:) public static func handleURLCallback(with url: Foundation.URL) -> Swift.Bool + @objc public class var jcbPaymentNetworkSupported: Swift.Bool { + @objc get + @objc set + } + @objc public static var additionalEnabledApplePayNetworks: [PassKit.PKPaymentNetwork] { + @objc get + @objc set + } + @objc public class func canSubmitPaymentRequest(_ paymentRequest: PassKit.PKPaymentRequest) -> Swift.Bool + @objc dynamic public class func deviceSupportsApplePay() -> Swift.Bool + @available(*, deprecated, message: "Use `paymentRequestWithMerchantIdentifier:country:currency:` instead.") + @objc public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String) -> PassKit.PKPaymentRequest + @objc public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String, country countryCode: Swift.String, currency currencyCode: Swift.String) -> PassKit.PKPaymentRequest + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPBankAccountHolderType : Swift.Int { + case individual + case company + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPBankAccountParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var accountNumber: Swift.String? + @objc public var last4: Swift.String? { + @objc get + } + @objc public var routingNumber: Swift.String? + @objc public var country: Swift.String? + @objc public var currency: Swift.String? + @objc public var accountHolderName: Swift.String? + @objc public var accountHolderType: Stripe.STPBankAccountHolderType + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public init() + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit +} +@objc public class STPMandateOnlineParams : ObjectiveC.NSObject { + @objc final public let ipAddress: Swift.String + @objc final public let userAgent: Swift.String + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc(initWithIPAddress:userAgent:) public init(ipAddress: Swift.String, userAgent: Swift.String) + @objc override dynamic public init() + @objc deinit +} +extension STPMandateOnlineParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPSetupIntentStatus : Swift.Int { + case unknown + case requiresPaymentMethod + case requiresConfirmation + case requiresAction + case processing + case succeeded + case canceled + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPSetupIntentUsage : Swift.Int { + case unknown + case none + case onSession + case offSession + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionAlipayHandleRedirect : ObjectiveC.NSObject { + @objc final public let nativeURL: Foundation.URL? + @objc final public let returnURL: Foundation.URL + @objc final public let url: Foundation.URL + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPIntentActionAlipayHandleRedirect : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_hasMissingDesignatedInitializers open class STPCustomerContext : ObjectiveC.NSObject, Stripe.STPBackendAPIAdapter { + @objc(initWithKeyProvider:) convenience public init(keyProvider: Stripe.STPCustomerEphemeralKeyProvider) + convenience public init(keyProvider: Stripe.STPCustomerEphemeralKeyProvider?, apiClient: StripeCore.STPAPIClient) + @available(swift, deprecated: 0.0.1, renamed: "init(keyProvider:apiClient:)") + @objc(initWithKeyProvider:apiClient:) convenience public init(keyProvider: Stripe.STPCustomerEphemeralKeyProvider?, apiClient: Stripe._stpobjc_STPAPIClient) + @objc public func clearCache() + @objc public var includeApplePayPaymentMethods: Swift.Bool { + @objc get + @objc set(includeApplePayMethods) + } + @objc public func retrieveCustomer(_ completion: Stripe.STPCustomerCompletionBlock? = nil) + @objc public func updateCustomer(withShippingAddress shipping: Stripe.STPAddress, completion: Stripe.STPErrorBlock?) + @objc public func attachPaymentMethodToCustomer(paymentMethodId: Swift.String, completion: Stripe.STPErrorBlock?) + @objc public func attachPaymentMethod(toCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc public func detachPaymentMethodFromCustomer(paymentMethodId: Swift.String, completion: Stripe.STPErrorBlock?) + @objc public func detachPaymentMethod(fromCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc public func listPaymentMethodsForCustomer(completion: Stripe.STPPaymentMethodsCompletionBlock? = nil) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodLinkParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodEPS : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPConnectAccountBusinessType : Swift.Int { + case individual + case company + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public class STPConnectAccountParams : ObjectiveC.NSObject { + @objc final public let tosShownAndAccepted: Foundation.NSNumber? + @objc final public let businessType: Stripe.STPConnectAccountBusinessType + @objc final public let individual: Stripe.STPConnectAccountIndividualParams? + @objc final public let company: Stripe.STPConnectAccountCompanyParams? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init?(tosShownAndAccepted wasAccepted: Swift.Bool, individual: Stripe.STPConnectAccountIndividualParams) + @objc public init?(tosShownAndAccepted wasAccepted: Swift.Bool, company: Stripe.STPConnectAccountCompanyParams) + @objc public init(individual: Stripe.STPConnectAccountIndividualParams) + @objc public init(company: Stripe.STPConnectAccountCompanyParams) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountParams : Stripe.STPFormEncodable { + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodFPX : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var bankIdentifierCode: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPCoreTableViewController : Stripe.STPCoreScrollViewController { + @objc public var tableView: UIKit.UITableView? { + @objc get + } + @objc override dynamic public func viewWillAppear(_ animated: Swift.Bool) + @objc public func tableView(_ tableView: UIKit.UITableView, heightForHeaderInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc required public init(theme: Stripe.STPTheme?) + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc deinit +} +@objc public enum STPShippingType : Swift.Int { + case shipping + case delivery + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPShippingStatus : Swift.Int { + case valid + case invalid + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentStatus : Swift.Int { + case success + case error + case userCancellation + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPErrorBlock = (Swift.Error?) -> Swift.Void +public typealias STPBooleanSuccessBlock = (Swift.Bool, Swift.Error?) -> Swift.Void +public typealias STPJSONResponseCompletionBlock = ([Swift.AnyHashable : Any]?, Swift.Error?) -> Swift.Void +public typealias STPTokenCompletionBlock = (Stripe.STPToken?, Swift.Error?) -> Swift.Void +public typealias STPSourceCompletionBlock = (Stripe.STPSource?, Swift.Error?) -> Swift.Void +public typealias STPSourceProtocolCompletionBlock = (Stripe.STPSourceProtocol?, Swift.Error?) -> Swift.Void +public typealias STPPaymentIntentCompletionBlock = (Stripe.STPPaymentIntent?, Swift.Error?) -> Swift.Void +public typealias STPSetupIntentCompletionBlock = (Stripe.STPSetupIntent?, Swift.Error?) -> Swift.Void +public typealias STPPaymentMethodCompletionBlock = (Stripe.STPPaymentMethod?, Swift.Error?) -> Swift.Void +public typealias STPPaymentMethodsCompletionBlock = ([Stripe.STPPaymentMethod]?, Swift.Error?) -> Swift.Void +public typealias STPShippingMethodsCompletionBlock = (Stripe.STPShippingStatus, Swift.Error?, [PassKit.PKShippingMethod]?, PassKit.PKShippingMethod?) -> Swift.Void +public typealias STPFileCompletionBlock = (Stripe.STPFile?, Swift.Error?) -> Swift.Void +public typealias STPCustomerCompletionBlock = (Stripe.STPCustomer?, Swift.Error?) -> Swift.Void +@objc public enum STPPinStatus : Swift.Int { + case success + case errorVerificationAlreadyRedeemed + case errorVerificationCodeIncorrect + case errorVerificationExpired + case errorVerificationTooManyAttempts + case ephemeralKeyError + case unknownError + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPPinCompletionBlock = (Stripe.STPIssuingCardPin?, Stripe.STPPinStatus, Swift.Error?) -> Swift.Void +public typealias STPPaymentStatusBlock = (Stripe.STPPaymentStatus, Swift.Error?) -> Swift.Void +public typealias STPRadarSessionCompletionBlock = (Stripe.STPRadarSession?, Swift.Error?) -> Swift.Void +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceKlarnaDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var clientToken: Swift.String? { + get + } + @objc public var purchaseCountry: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public class STPConfirmBLIKOptions : ObjectiveC.NSObject { + @objc public var code: Swift.String + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc required public init(code: Swift.String) + @objc deinit + @objc override dynamic public init() +} +extension STPConfirmBLIKOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPRedirectContextError : Swift.Int { + @objc(STPRedirectContextAppRedirectError) case appRedirectError + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPRedirectContextState : Swift.Int { + case notStarted + case inProgress + case cancelled + case completed + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPRedirectContextSourceCompletionBlock = (Swift.String, Swift.String?, Swift.Error?) -> Swift.Void +public typealias STPRedirectContextCompletionBlock = Stripe.STPRedirectContextSourceCompletionBlock +public typealias STPRedirectContextPaymentIntentCompletionBlock = (Swift.String, Swift.Error?) -> Swift.Void +@objc @_hasMissingDesignatedInitializers @available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +public class STPRedirectContext : ObjectiveC.NSObject, SafariServices.SFSafariViewControllerDelegate, UIKit.UIViewControllerTransitioningDelegate { + @objc public static let STPRedirectContextErrorDomain: Swift.String + @objc public var state: Stripe.STPRedirectContextState { + get + } + @objc convenience public init?(source: Stripe.STPSource, completion: @escaping Stripe.STPRedirectContextSourceCompletionBlock) + @objc convenience public init?(paymentIntent: Stripe.STPPaymentIntent, completion: @escaping Stripe.STPRedirectContextPaymentIntentCompletionBlock) + @objc(startRedirectFlowFromViewController:) public func startRedirectFlow(from presentingViewController: UIKit.UIViewController) + @objc(startSafariViewControllerRedirectFlowFromViewController:) dynamic public func startSafariViewControllerRedirectFlow(from presentingViewController: UIKit.UIViewController) + @objc public func startSafariAppRedirectFlow() + @objc public func cancel() + @objc deinit + @objc public func safariViewControllerDidFinish(_ controller: SafariServices.SFSafariViewController) + @objc public func safariViewController(_ controller: SafariServices.SFSafariViewController, didCompleteInitialLoad didLoadSuccessfully: Swift.Bool) + @objc public func safariViewController(_ controller: SafariServices.SFSafariViewController, initialLoadDidRedirectTo URL: Foundation.URL) + @objc public func presentationController(forPresented presented: UIKit.UIViewController, presenting: UIKit.UIViewController?, source: UIKit.UIViewController) -> UIKit.UIPresentationController? + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers final public class STPRadarSession : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let id: Swift.String + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc public static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Stripe.STPRadarSession? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPKlarnaLineItemType : Swift.Int { + case SKU + case tax + case shipping + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public class STPKlarnaLineItem : ObjectiveC.NSObject { + @objc public var itemType: Stripe.STPKlarnaLineItemType + @objc public var itemDescription: Swift.String + @objc public var quantity: Foundation.NSNumber + @objc public var totalAmount: Foundation.NSNumber + @objc public init(itemType: Stripe.STPKlarnaLineItemType, itemDescription: Swift.String, quantity: Foundation.NSNumber, totalAmount: Foundation.NSNumber) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodOXXOParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @IBDesignable open class STPPaymentCardTextField : UIKit.UIControl, UIKit.UIKeyInput { + @objc open func textField(_ textField: UIKit.UITextField, shouldChangeCharactersIn range: Foundation.NSRange, replacementString string: Swift.String) -> Swift.Bool + @objc @IBOutlet weak open var delegate: Stripe.STPPaymentCardTextFieldDelegate? + @objc open var font: UIKit.UIFont { + @objc get + @objc set + } + @objc open var textColor: UIKit.UIColor { + @objc get + @objc set + } + @objc open var textErrorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc open var placeholderColor: UIKit.UIColor { + @objc get + @objc set + } + @objc @IBInspectable open var numberPlaceholder: Swift.String? { + @objc get + @objc set(numberPlaceholder) + } + @objc @IBInspectable open var expirationPlaceholder: Swift.String? { + @objc get + @objc set(expirationPlaceholder) + } + @objc @IBInspectable open var cvcPlaceholder: Swift.String? { + @objc get + @objc set(cvcPlaceholder) + } + @objc @IBInspectable open var postalCodePlaceholder: Swift.String? { + @objc get + @objc set(postalCodePlaceholder) + } + @objc open var cursorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc open var borderColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc open var borderWidth: CoreGraphics.CGFloat { + @objc get + @objc set + } + @objc open var cornerRadius: CoreGraphics.CGFloat { + @objc get + @objc set + } + @objc open var keyboardAppearance: UIKit.UIKeyboardAppearance { + @objc get + @objc set + } + @objc override dynamic open var inputView: UIKit.UIView? { + @objc get + @objc set(inputView) + } + @objc override dynamic open var inputAccessoryView: UIKit.UIView? { + @objc get + @objc set(inputAccessoryView) + } + @objc open var brandImage: UIKit.UIImage? { + get + } + @objc dynamic open var isValid: Swift.Bool { + @objc get + } + @objc override dynamic open var isEnabled: Swift.Bool { + @objc get + @objc set(enabled) + } + @objc open var cardNumber: Swift.String? { + @objc get + } + @objc open var expirationMonth: Swift.Int { + @objc get + } + @objc open var formattedExpirationMonth: Swift.String? { + @objc get + } + @objc open var expirationYear: Swift.Int { + @objc get + } + @objc open var formattedExpirationYear: Swift.String? { + @objc get + } + @objc open var cvc: Swift.String? { + @objc get + } + @objc open var postalCode: Swift.String? { + @objc get + @objc set + } + @objc open var postalCodeEntryEnabled: Swift.Bool { + @objc get + @objc set(postalCodeEntryEnabled) + } + @objc open var countryCode: Swift.String? { + @objc get + @objc set(cCode) + } + @objc open var cardParams: Stripe.STPPaymentMethodCardParams { + @objc get + @objc set(callersCardParams) + } + @discardableResult + @objc override dynamic open func becomeFirstResponder() -> Swift.Bool + @discardableResult + @objc override dynamic open func resignFirstResponder() -> Swift.Bool + @objc open func clear() + @objc(cvcImageForCardBrand:) open class func cvcImage(for cardBrand: Stripe.STPCardBrand) -> UIKit.UIImage? + @objc(brandImageForCardBrand:) open class func brandImage(for cardBrand: Stripe.STPCardBrand) -> UIKit.UIImage? + @objc(errorImageForCardBrand:) open class func errorImage(for cardBrand: Stripe.STPCardBrand) -> UIKit.UIImage? + @objc(brandImageRectForBounds:) open func brandImageRect(forBounds bounds: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @objc(fieldsRectForBounds:) open func fieldsRect(forBounds bounds: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc override dynamic open func traitCollectionDidChange(_ previousTraitCollection: UIKit.UITraitCollection?) + @objc override dynamic open var backgroundColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc override dynamic open var contentVerticalAlignment: UIKit.UIControl.ContentVerticalAlignment { + @objc get + @objc set(contentVerticalAlignment) + } + @objc override dynamic open var isFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic open var canBecomeFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic open var canResignFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic open var intrinsicContentSize: CoreGraphics.CGSize { + @objc get + } + @objc override dynamic open func layoutSubviews() + @objc open func textFieldShouldBeginEditing(_ textField: UIKit.UITextField) -> Swift.Bool + @objc open func textFieldDidBeginEditing(_ textField: UIKit.UITextField) + @objc open func textFieldShouldEndEditing(_ textField: UIKit.UITextField) -> Swift.Bool + @objc open func textFieldDidEndEditing(_ textField: UIKit.UITextField) + @objc open func textFieldShouldReturn(_ textField: UIKit.UITextField) -> Swift.Bool + @objc open var hasText: Swift.Bool { + @objc get + } + @objc open func insertText(_ text: Swift.String) + @objc open func deleteBackward() + @objc open class func keyPathsForValuesAffectingIsValid() -> Swift.Set + @objc deinit +} +@objc public protocol STPPaymentCardTextFieldDelegate : ObjectiveC.NSObjectProtocol { + @objc optional func paymentCardTextFieldDidChange(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditing(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldWillEndEditing(forReturn textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditing(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingNumber(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingNumber(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingExpiration(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingExpiration(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingPostalCode(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingPostalCode(_ textField: Stripe.STPPaymentCardTextField) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceSEPADebitDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var last4: Swift.String? { + get + } + @objc public var bankCode: Swift.String? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var mandateReference: Swift.String? { + get + } + @objc public var mandateURL: Foundation.URL? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBacsDebitParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var accountNumber: Swift.String? + @objc public var sortCode: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodiDEALParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var bankName: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPAPIResponseDecodable : ObjectiveC.NSObjectProtocol { + @objc static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc var allResponseFields: [Swift.AnyHashable : Any] { get } +} +extension STPAPIClient { + public func createToken(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPTokenCompletionBlock) + public func createSource(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPSourceCompletionBlock) + public func createPaymentMethod(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) +} +@objc @_inheritsConvenienceInitializers public class STPPaymentIntentParams : ObjectiveC.NSObject { + @objc public init(clientSecret: Swift.String) + @objc public var stripeId: Swift.String? { + @objc get + } + @objc public var clientSecret: Swift.String + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? + @objc public var paymentMethodId: Swift.String? + @objc public var sourceParams: Stripe.STPSourceParams? + @objc public var sourceId: Swift.String? + @objc public var receiptEmail: Swift.String? + @objc public var savePaymentMethod: Foundation.NSNumber? + @objc public var returnURL: Swift.String? + public var setupFutureUsage: Stripe.STPPaymentIntentSetupFutureUsage? + @available(swift, obsoleted: 1.0, renamed: "setupFutureUsage") + @objc(setupFutureUsage) public var setupFutureUsage_objc: Foundation.NSNumber? { + @objc get + @objc set + } + @objc public var useStripeSDK: Foundation.NSNumber? + @objc public var mandateData: Stripe.STPMandateDataParams? { + @objc get + @objc set + } + @objc public var paymentMethodOptions: Stripe.STPConfirmPaymentMethodOptions? + @objc public var shipping: Stripe.STPPaymentIntentShippingDetailsParams? + @available(*, deprecated, renamed: "returnURL") + @objc public var returnUrl: Swift.String? { + @objc get + @objc set(returnUrl) + } + @available(*, deprecated, renamed: "savePaymentMethod") + @objc public var saveSourceToCustomer: Foundation.NSNumber? { + @objc get + @objc set(saveSourceToCustomer) + } + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public func configure(with paymentResult: Stripe.STPPaymentResult) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit +} +extension STPPaymentIntentParams : Stripe.STPFormEncodable { + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] +} +extension STPPaymentIntentParams : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodSEPADebit : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var bankCode: Swift.String? { + get + } + @objc public var branchCode: Swift.String? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var mandate: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@_hasMissingDesignatedInitializers @available(swift, deprecated: 0.0.1, renamed: "STPAPIClient") +@objc(STPAPIClient) public class _stpobjc_STPAPIClient : ObjectiveC.NSObject { + @objc public static let STPSDKVersion: Swift.String + @available(swift, deprecated: 0.0.1) + @objc(sharedClient) public static let shared: Stripe._stpobjc_STPAPIClient + @objc public var publishableKey: Swift.String? { + @objc get + @objc set + } + @objc public var configuration: Stripe.STPPaymentConfiguration { + @objc get + @objc set + } + @objc public var stripeAccount: Swift.String? { + @objc get + @objc set + } + @objc public var appInfo: Stripe._stpobjc_STPAppInfo? { + @objc get + @objc set + } + @objc public static let apiVersion: Swift.String + @objc public init(publishableKey: Swift.String) + @available(*, deprecated, message: "This initializer previously configured publishableKey and stripeAccount via the STPPaymentConfiguration instance. This behavior is deprecated; set the STPAPIClient configuration, publishableKey, and stripeAccount properties directly on the STPAPIClient instead.") + @objc public init(configuration: Stripe.STPPaymentConfiguration) + @objc public func createToken(withBankAccount bankAccount: Stripe.STPBankAccountParams, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc public func createToken(withPersonalIDNumber pii: Swift.String, completion: Stripe.STPTokenCompletionBlock?) + @objc public func createToken(withSSNLast4 ssnLast4: Swift.String, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc public func createToken(withConnectAccount account: Stripe.STPConnectAccountParams, completion: Stripe.STPTokenCompletionBlock?) + @objc public func uploadImage(_ image: UIKit.UIImage, purpose: Stripe.STPFilePurpose, completion: Stripe.STPFileCompletionBlock?) + @objc public func createToken(withCard cardParams: Stripe.STPCardParams, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc public func createToken(forCVCUpdate cvc: Swift.String, completion: Stripe.STPTokenCompletionBlock? = nil) + @objc(createSourceWithParams:completion:) public func createSource(with sourceParams: Stripe.STPSourceParams, completion: @escaping Stripe.STPSourceCompletionBlock) + @objc public func retrieveSource(withId identifier: Swift.String, clientSecret secret: Swift.String, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + @objc public func startPollingSource(withId identifier: Swift.String, clientSecret secret: Swift.String, timeout: Foundation.TimeInterval, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + @objc public func stopPollingSource(withId identifier: Swift.String) + @objc public func retrievePaymentIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc public func retrievePaymentIntent(withClientSecret secret: Swift.String, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc(confirmPaymentIntentWithParams:completion:) dynamic public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc(confirmPaymentIntentWithParams:expand:completion:) public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc public func retrieveSetupIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPSetupIntentCompletionBlock) + @objc(confirmSetupIntentWithParams:completion:) dynamic public func confirmSetupIntent(with setupIntentParams: Stripe.STPSetupIntentConfirmParams, completion: @escaping Stripe.STPSetupIntentCompletionBlock) + @objc(createPaymentMethodWithParams:completion:) public func createPaymentMethod(with paymentMethodParams: Stripe.STPPaymentMethodParams, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) + @objc public func createRadarSession(completion: @escaping Stripe.STPRadarSessionCompletionBlock) + @objc(createTokenWithPayment:completion:) public func createToken(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc(createSourceWithPayment:completion:) public func createSource(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPSourceCompletionBlock) + @objc(createPaymentMethodWithPayment:completion:) public func createPaymentMethod(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) + @objc public class func pkPaymentError(forStripeError stripeError: Swift.Error?) -> Swift.Error? + @objc override dynamic public init() + @objc deinit +} +@objc(STPPaymentContext) public class STPPaymentContext : ObjectiveC.NSObject, Stripe.STPAuthenticationContext, Stripe.STPPaymentOptionsViewControllerDelegate, Stripe.STPShippingAddressViewControllerDelegate { + @objc convenience public init(customerContext: Stripe.STPCustomerContext) + @objc convenience public init(customerContext: Stripe.STPCustomerContext, configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc convenience public init(apiAdapter: Stripe.STPBackendAPIAdapter) + @objc public init(apiAdapter: Stripe.STPBackendAPIAdapter, configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc public var apiAdapter: Stripe.STPBackendAPIAdapter { + get + } + @objc public var configuration: Stripe.STPPaymentConfiguration { + get + } + @objc public var theme: Stripe.STPTheme { + get + } + @objc public var prefilledInformation: Stripe.STPUserInformation? { + @objc get + @objc set(prefilledInformation) + } + @objc weak public var hostViewController: UIKit.UIViewController? { + @objc get + @objc set(hostViewController) + } + @objc weak public var delegate: Stripe.STPPaymentContextDelegate? { + @objc get + @objc set(delegate) + } + @objc public var loading: Swift.Bool { + @objc get + } + @objc public var defaultPaymentMethod: Swift.String? + @objc public var selectedPaymentOption: Stripe.STPPaymentOption? { + @objc get + } + @objc public var paymentOptions: [Stripe.STPPaymentOption]? { + @objc get + } + @objc public var selectedShippingMethod: PassKit.PKShippingMethod? { + get + } + @objc public var shippingMethods: [PassKit.PKShippingMethod]? { + @objc get + } + @objc public var shippingAddress: Stripe.STPAddress? { + get + } + @objc public var paymentAmount: Swift.Int { + @objc get + @objc set(paymentAmount) + } + @objc public var paymentCurrency: Swift.String + @objc public var paymentCountry: Swift.String + @objc public var paymentSummaryItems: [PassKit.PKPaymentSummaryItem] { + @objc get + @objc set(paymentSummaryItems) + } + @objc public var modalPresentationStyle: UIKit.UIModalPresentationStyle + @objc public var largeTitleDisplayMode: UIKit.UINavigationItem.LargeTitleDisplayMode + @objc public var paymentOptionsViewControllerFooterView: UIKit.UIView? + @objc public var addCardViewControllerFooterView: UIKit.UIView? + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public func retryLoading() + @objc public func presentPaymentOptionsViewController() + @objc public func pushPaymentOptionsViewController() + @objc public func presentShippingViewController() + @objc public func pushShippingViewController() + @objc public func requestPayment() + @objc public func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didSelect paymentOption: Stripe.STPPaymentOption) + @objc public func paymentOptionsViewControllerDidFinish(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc public func paymentOptionsViewControllerDidCancel(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc public func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didFailToLoadWithError error: Swift.Error) + @objc public func shippingAddressViewControllerDidCancel(_ addressViewController: Stripe.STPShippingAddressViewController) + @objc public func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didEnter address: Stripe.STPAddress, completion: @escaping Stripe.STPShippingMethodsCompletionBlock) + @objc public func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didFinishWith address: Stripe.STPAddress, shippingMethod method: PassKit.PKShippingMethod?) + @objc public func authenticationPresentingViewController() -> UIKit.UIViewController + @objc public func prepare(forPresentation completion: @escaping StripeApplePay.STPVoidBlock) + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPPaymentContextDelegate : ObjectiveC.NSObjectProtocol { + @objc func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didFailToLoadWithError error: Swift.Error) + @objc func paymentContextDidChange(_ paymentContext: Stripe.STPPaymentContext) + @objc func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didCreatePaymentResult paymentResult: Stripe.STPPaymentResult, completion: @escaping Stripe.STPPaymentStatusBlock) + @objc func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didFinishWith status: Stripe.STPPaymentStatus, error: Swift.Error?) + @objc optional func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didUpdateShippingAddress address: Stripe.STPAddress, completion: @escaping Stripe.STPShippingMethodsCompletionBlock) +} +@_hasMissingDesignatedInitializers @objc(STPAppInfo) public class _stpobjc_STPAppInfo : ObjectiveC.NSObject { + @objc public init(name: Swift.String, partnerId: Swift.String?, version: Swift.String?, url: Swift.String?) + @objc public var name: Swift.String { + @objc get + } + @objc public var partnerId: Swift.String? { + @objc get + } + @objc public var version: Swift.String? { + @objc get + } + @objc public var url: Swift.String? { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +@objc public class STPPaymentIntentShippingDetailsParams : ObjectiveC.NSObject { + @objc public var address: Stripe.STPPaymentIntentShippingDetailsAddressParams + @objc public var name: Swift.String + @objc public var carrier: Swift.String? + @objc public var phone: Swift.String? + @objc public var trackingNumber: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(address: Stripe.STPPaymentIntentShippingDetailsAddressParams, name: Swift.String) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetailsParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +extension STPPaymentIntentShippingDetailsParams : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc @_inheritsConvenienceInitializers public class STPConfirmCardOptions : ObjectiveC.NSObject { + @objc public var cvc: Swift.String? + @objc public var network: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPConfirmCardOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, unavailable, renamed: "STPIntentAction", message: "Use `STPIntentAction` instead.") +@objc final public class STPPaymentIntentSourceAction : Stripe.STPIntentAction { + @objc deinit +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension STPPaymentCardTextField { + public struct Representable : SwiftUI.UIViewRepresentable { + public init(paymentMethodParams: SwiftUI.Binding) + public func makeCoordinator() -> Stripe.STPPaymentCardTextField.Representable.Coordinator + public func makeUIView(context: Stripe.STPPaymentCardTextField.Representable.Context) -> Stripe.STPPaymentCardTextField + public func updateUIView(_ paymentCardField: Stripe.STPPaymentCardTextField, context: Stripe.STPPaymentCardTextField.Representable.Context) + @objc @_hasMissingDesignatedInitializers public class Coordinator : ObjectiveC.NSObject, Stripe.STPPaymentCardTextFieldDelegate { + @objc public func paymentCardTextFieldDidChange(_ cardField: Stripe.STPPaymentCardTextField) + @objc deinit + @objc override dynamic public init() + } + public typealias UIViewType = Stripe.STPPaymentCardTextField + public typealias Body = Swift.Never + } +} +@objc public enum STPSourceRedirectStatus : Swift.Int { + case pending + case succeeded + case failed + case notRequired + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPSourceRedirect : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var returnURL: Foundation.URL { + get + } + @objc public var status: Stripe.STPSourceRedirectStatus { + get + } + @objc public var url: Foundation.URL { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSNavigationBarCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSNavigationBarCustomization + @objc public var barTintColor: UIKit.UIColor? { + @objc get + @objc set(barTintColor) + } + @objc public var barStyle: UIKit.UIBarStyle { + @objc get + @objc set(barStyle) + } + @objc public var translucent: Swift.Bool { + @objc get + @objc set(translucent) + } + @objc public var headerText: Swift.String { + @objc get + @objc set(headerText) + } + @objc public var buttonText: Swift.String { + @objc get + @objc set(buttonText) + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set(textColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSource : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPSourceProtocol, Stripe.STPPaymentOption { + @objc public var amount: Foundation.NSNumber? { + get + } + @objc public var clientSecret: Swift.String? { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var currency: Swift.String? { + get + } + @objc public var flow: Stripe.STPSourceFlow { + get + } + @objc public var livemode: Swift.Bool { + get + } + @objc public var owner: Stripe.STPSourceOwner? { + get + } + @objc public var receiver: Stripe.STPSourceReceiver? { + get + } + @objc public var redirect: Stripe.STPSourceRedirect? { + get + } + @objc public var status: Stripe.STPSourceStatus { + get + } + @objc public var type: Stripe.STPSourceType { + get + } + @objc public var usage: Stripe.STPSourceUsage { + get + } + @objc public var verification: Stripe.STPSourceVerification? { + get + } + @objc public var details: [Swift.AnyHashable : Any]? { + get + } + @objc public var cardDetails: Stripe.STPSourceCardDetails? { + get + } + @objc public var klarnaDetails: Stripe.STPSourceKlarnaDetails? { + get + } + @objc public var sepaDebitDetails: Stripe.STPSourceSEPADebitDetails? { + get + } + @objc public var weChatPayDetails: Stripe.STPSourceWeChatPayDetails? { + get + } + @available(*, deprecated, message: "Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @objc public var stripeID: Swift.String + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc deinit +} +@objc public enum STPFilePurpose : Swift.Int { + case identityDocument + case disputeEvidence + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPFile : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var fileId: Swift.String? { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var purpose: Stripe.STPFilePurpose { + get + } + @objc public var size: Foundation.NSNumber? { + get + } + @objc public var type: Swift.String? { + get + } + @objc(stringFromPurpose:) public class func string(from purpose: Stripe.STPFilePurpose) -> Swift.String? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public protocol STPFormTextFieldContainer : ObjectiveC.NSObjectProtocol { + @objc dynamic var formFont: UIKit.UIFont { get set } + @objc dynamic var formTextColor: UIKit.UIColor { get set } + @objc dynamic var formTextErrorColor: UIKit.UIColor { get set } + @objc dynamic var formPlaceholderColor: UIKit.UIColor { get set } + @objc dynamic var formCursorColor: UIKit.UIColor { get set } + @objc dynamic var formKeyboardAppearance: UIKit.UIKeyboardAppearance { get set } +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBoletoParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var taxID: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc public class STPPushProvisioningContext : ObjectiveC.NSObject { + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public class func requestConfiguration(withName name: Swift.String, description: Swift.String?, last4: Swift.String?, brand: Stripe.STPCardBrand) -> PassKit.PKAddPaymentPassRequestConfiguration + @objc public init(keyProvider: Stripe.STPIssuingCardEphemeralKeyProvider) + @objc public func addPaymentPassViewController(_ controller: PassKit.PKAddPaymentPassViewController, generateRequestWithCertificateChain certificates: [Foundation.Data], nonce: Foundation.Data, nonceSignature: Foundation.Data, completionHandler handler: @escaping (PassKit.PKAddPaymentPassRequest) -> Swift.Void) + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPPaymentHandlerActionStatus : Swift.Int { + case succeeded + case canceled + case failed + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentHandlerErrorCode : Swift.Int { + @objc(STPPaymentHandlerUnsupportedAuthenticationErrorCode) case unsupportedAuthenticationErrorCode + @objc(STPPaymentHandlerRequiredAppNotAvailableErrorCode) case requiredAppNotAvailable + @objc(STPPaymentHandlerRequiresPaymentMethodErrorCode) case requiresPaymentMethodErrorCode + @objc(STPPaymentHandlerIntentStatusErrorCode) case intentStatusErrorCode + @objc(STPPaymentHandlerTimedOutErrorCode) case timedOutErrorCode + @objc(STPPaymentHandlerStripe3DS2ErrorCode) case stripe3DS2ErrorCode + @objc(STPPaymentHandlerNotAuthenticatedErrorCode) case notAuthenticatedErrorCode + @objc(STPPaymentHandlerNoConcurrentActionsErrorCode) case noConcurrentActionsErrorCode + @objc(STPPaymentHandlerRequiresAuthenticationContextErrorCode) case requiresAuthenticationContextErrorCode + @objc(STPPaymentHandlerPaymentErrorCode) case paymentErrorCode + @objc(STPPaymentHandlerInvalidClientSecret) case invalidClientSecret + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPPaymentHandlerActionPaymentIntentCompletionBlock = (Stripe.STPPaymentHandlerActionStatus, Stripe.STPPaymentIntent?, Foundation.NSError?) -> Swift.Void +public typealias STPPaymentHandlerActionSetupIntentCompletionBlock = (Stripe.STPPaymentHandlerActionStatus, Stripe.STPSetupIntent?, Foundation.NSError?) -> Swift.Void +@objc @_hasMissingDesignatedInitializers @available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +public class STPPaymentHandler : ObjectiveC.NSObject, SafariServices.SFSafariViewControllerDelegate { + @objc public static let errorDomain: Swift.String + @objc public static let sharedHandler: Stripe.STPPaymentHandler + @objc public class func shared() -> Stripe.STPPaymentHandler + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public var threeDSCustomizationSettings: Stripe.STPThreeDSCustomizationSettings + @objc public var simulateAppToAppRedirect: Swift.Bool { + @objc get + @objc set + } + @objc(confirmPayment:withAuthenticationContext:completion:) public func confirmPayment(_ paymentParams: Stripe.STPPaymentIntentParams, with authenticationContext: Stripe.STPAuthenticationContext, completion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) + @available(*, deprecated, renamed: "confirmPayment(_:with:completion:)", message: "Use confirmPayment(_:with:completion:) instead") + public func confirmPayment(withParams: Stripe.STPPaymentIntentParams, authenticationContext: Stripe.STPAuthenticationContext, completion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) + @objc(handleNextActionForPayment:withAuthenticationContext:returnURL:completion:) public func handleNextAction(forPayment paymentIntentClientSecret: Swift.String, with authenticationContext: Stripe.STPAuthenticationContext, returnURL: Swift.String?, completion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) + @objc(confirmSetupIntent:withAuthenticationContext:completion:) public func confirmSetupIntent(_ setupIntentConfirmParams: Stripe.STPSetupIntentConfirmParams, with authenticationContext: Stripe.STPAuthenticationContext, completion: @escaping Stripe.STPPaymentHandlerActionSetupIntentCompletionBlock) + @objc(handleNextActionForSetupIntent:withAuthenticationContext:returnURL:completion:) public func handleNextAction(forSetupIntent setupIntentClientSecret: Swift.String, with authenticationContext: Stripe.STPAuthenticationContext, returnURL: Swift.String?, completion: @escaping Stripe.STPPaymentHandlerActionSetupIntentCompletionBlock) + @objc public func safariViewControllerDidFinish(_ controller: SafariServices.SFSafariViewController) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSSelectionCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSSelectionCustomization + @objc public var primarySelectedColor: UIKit.UIColor { + @objc get + @objc set(primarySelectedColor) + } + @objc public var secondarySelectedColor: UIKit.UIColor { + @objc get + @objc set(secondarySelectedColor) + } + @objc public var unselectedBackgroundColor: UIKit.UIColor { + @objc get + @objc set(unselectedBackgroundColor) + } + @objc public var unselectedBorderColor: UIKit.UIColor { + @objc get + @objc set(unselectedBorderColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPPaymentMethodType : Swift.Int { + case card + case alipay + case grabPay + @objc(STPPaymentMethodTypeiDEAL) case iDEAL + case FPX + case cardPresent + @objc(STPPaymentMethodTypeSEPADebit) case SEPADebit + @objc(STPPaymentMethodTypeAUBECSDebit) case AUBECSDebit + case bacsDebit + case giropay + case przelewy24 + @objc(STPPaymentMethodTypeEPS) case EPS + case bancontact + case netBanking + @objc(STPPaymentMethodTypeOXXO) case OXXO + case sofort + case UPI + case payPal + case afterpayClearpay + @objc(STPPaymentMethodTypeBLIK) case blik + case weChatPay + case boleto + case link + case klarna + case linkInstantDebit + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPUserInformation : ObjectiveC.NSObject, Foundation.NSCopying { + @objc public var billingAddress: Stripe.STPAddress? + @objc public var shippingAddress: Stripe.STPAddress? + @objc(setBillingAddressWithBillingDetails:) public func setBillingAddress(with billingDetails: Stripe.STPPaymentMethodBillingDetails) + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPFakeAddPaymentPassViewController : UIKit.UIViewController { + @objc public class func canAddPaymentPass() -> Swift.Bool + @objc(initWithRequestConfiguration:delegate:) required public init?(requestConfiguration configuration: PassKit.PKAddPaymentPassRequestConfiguration, delegate: PassKit.PKAddPaymentPassViewControllerDelegate?) + @objc weak public var delegate: PassKit.PKAddPaymentPassViewControllerDelegate? + @objc convenience override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required convenience dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public func viewDidLoad() + @objc deinit +} +@objc public enum STPSourceCard3DSecureStatus : Swift.Int { + case required + case optional + case notSupported + case recommended + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPSourceCardDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var last4: Swift.String? { + get + } + @objc public var expMonth: Swift.UInt { + get + } + @objc public var expYear: Swift.UInt { + get + } + @objc public var brand: Stripe.STPCardBrand { + get + } + @objc public var funding: Stripe.STPCardFundingType { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var threeDSecure: Stripe.STPSourceCard3DSecureStatus { + get + } + @objc public var isApplePayCard: Swift.Bool { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPIssuingCardPin : ObjectiveC.NSObject { + @objc final public let pin: Swift.String? + @objc final public let error: [Swift.AnyHashable : Any]? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc deinit +} +extension STPIssuingCardPin : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodThreeDSecureUsage : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var supported: Swift.Bool { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionBoletoDisplayDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let number: Swift.String + @objc final public let expiresAt: Foundation.Date + @objc final public let hostedVoucherURL: Foundation.URL + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc(_stpinternal_apContextDelegate) public protocol STPApplePayContextDelegate : StripeApplePay._stpinternal_STPApplePayContextDelegateBase { + @objc(applePayContext:didCreatePaymentMethod:paymentInformation:completion:) func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, paymentInformation: PassKit.PKPayment, completion: @escaping StripeApplePay.STPIntentClientSecretCompletionBlock) + @objc(applePayContext:didCompleteWithStatus:error:) func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCompleteWith status: Stripe.STPPaymentStatus, error: Swift.Error?) +} +@objc(STPApplePayContextDelegate) public protocol _stpobjc_APContextDelegate : ObjectiveC.NSObjectProtocol { + @objc(applePayContext:didCreatePaymentMethod:paymentInformation:completion:) func applePayContext(_ context: Stripe._stpobjc_APContext, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, paymentInformation: PassKit.PKPayment, completion: @escaping StripeApplePay.STPIntentClientSecretCompletionBlock) + @objc(applePayContext:didCompleteWithStatus:error:) func applePayContext(_ context: Stripe._stpobjc_APContext, didCompleteWith status: Stripe.STPPaymentStatus, error: Swift.Error?) + @objc(applePayContext:didSelectShippingMethod:handler:) optional func applePayContext(_ context: Stripe._stpobjc_APContext, didSelect shippingMethod: PassKit.PKShippingMethod, handler: @escaping (PassKit.PKPaymentRequestShippingMethodUpdate) -> Swift.Void) + @objc optional func applePayContext(_ context: Stripe._stpobjc_APContext, didSelectShippingContact contact: PassKit.PKContact, handler: @escaping (PassKit.PKPaymentRequestShippingContactUpdate) -> Swift.Void) +} +@_hasMissingDesignatedInitializers @objc(STPApplePayContext) public class _stpobjc_APContext : ObjectiveC.NSObject { + @objc(initWithPaymentRequest:delegate:) required public init?(paymentRequest: PassKit.PKPaymentRequest, delegate: Stripe._stpobjc_APContextDelegate?) + @available(*, deprecated, renamed: "presentApplePay(completion:)", message: "Use `presentApplePay(completion:)` instead.") + @objc(presentApplePayOnViewController:completion:) public func presentApplePay(on viewController: UIKit.UIViewController, completion: StripeApplePay.STPVoidBlock? = nil) + @available(iOSApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + @available(macCatalystApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + @objc(presentApplePayWithCompletion:) public func presentApplePay(completion: StripeApplePay.STPVoidBlock? = nil) + @objc(presentApplePayFromWindow:withCompletion:) public func presentApplePay(from window: UIKit.UIWindow?, completion: StripeApplePay.STPVoidBlock? = nil) + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPCoreViewController : UIKit.UIViewController { + @objc convenience dynamic public init() + @objc required public init(theme: Stripe.STPTheme?) + @objc required override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public func viewDidLoad() + @objc override dynamic public func viewWillAppear(_ animated: Swift.Bool) + @objc override dynamic public func viewWillDisappear(_ animated: Swift.Bool) + @objc override dynamic public var preferredStatusBarStyle: UIKit.UIStatusBarStyle { + @objc get + } + @objc deinit +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension View { + public func paymentConfirmationSheet(isConfirmingPayment: SwiftUI.Binding, paymentIntentParams: Stripe.STPPaymentIntentParams, onCompletion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) -> some SwiftUI.View + + public func setupIntentConfirmationSheet(isConfirmingSetupIntent: SwiftUI.Binding, setupIntentParams: Stripe.STPSetupIntentConfirmParams, onCompletion: @escaping Stripe.STPPaymentHandlerActionSetupIntentCompletionBlock) -> some SwiftUI.View + +} +@objc @_inheritsConvenienceInitializers public class STPPaymentConfiguration : ObjectiveC.NSObject, Foundation.NSCopying { + @objc(sharedConfiguration) public static var shared: Stripe.STPPaymentConfiguration + @objc public var applePayEnabled: Swift.Bool { + @objc get + @objc set + } + @objc public var fpxEnabled: Swift.Bool + @objc public var requiredBillingAddressFields: Stripe.STPBillingAddressFields + @objc public var requiredShippingAddressFields: Swift.Set? + @objc public var verifyPrefilledShippingAddress: Swift.Bool + @objc public var shippingType: Stripe.STPShippingType + @objc public var availableCountries: Swift.Set + @objc public var companyName: Swift.String + @objc public var appleMerchantIdentifier: Swift.String? + @objc public var canDeletePaymentOptions: Swift.Bool + @objc public var cardScanningEnabled: Swift.Bool + @available(*, deprecated, message: "additionalPaymentOptions has been removed. Set applePayEnabled and fpxEnabled on STPPaymentConfiguration instead.") + @objc public var additionalPaymentOptions: Swift.Int + @available(*, deprecated, message: "If you used STPPaymentConfiguration.shared.publishableKey, use STPAPIClient.shared.publishableKey instead. If you passed a STPPaymentConfiguration instance to an SDK component, create an STPAPIClient, set publishableKey on it, and set the SDK component's APIClient property.") + @objc public var publishableKey: Swift.String? { + @objc get + @objc set(publishableKey) + } + @available(*, deprecated, message: "If you used STPPaymentConfiguration.shared.stripeAccount, use STPAPIClient.shared.stripeAccount instead. If you passed a STPPaymentConfiguration instance to an SDK component, create an STPAPIClient, set stripeAccount on it, and set the SDK component's APIClient property.") + @objc public var stripeAccount: Swift.String? { + @objc get + @objc set(stripeAccount) + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodNetBanking : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var bank: Swift.String { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPConfirmPaymentMethodOptions : ObjectiveC.NSObject { + @objc public var cardOptions: Stripe.STPConfirmCardOptions? + @objc public var alipayOptions: Stripe.STPConfirmAlipayOptions? + @objc public var blikOptions: Stripe.STPConfirmBLIKOptions? + @objc public var weChatPayOptions: Stripe.STPConfirmWeChatPayOptions? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPConfirmPaymentMethodOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAddress : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var city: Swift.String? + @objc public var country: Swift.String? + @objc public var line1: Swift.String? + @objc public var line2: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var state: Swift.String? + @objc public init(address: Stripe.STPAddress) + @objc required override dynamic public init() + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceOwner : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var address: Stripe.STPAddress? { + get + } + @objc public var email: Swift.String? { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var phone: Swift.String? { + get + } + @objc public var verifiedAddress: Stripe.STPAddress? { + get + } + @objc public var verifiedEmail: Swift.String? { + get + } + @objc public var verifiedName: Swift.String? { + get + } + @objc public var verifiedPhone: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public protocol STPPaymentOption : ObjectiveC.NSObjectProtocol { + @objc var image: UIKit.UIImage { get } + @objc var templateImage: UIKit.UIImage { get } + @objc var label: Swift.String { get } + @objc var isReusable: Swift.Bool { get } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentActivityIndicatorView : UIKit.UIView { + @objc public func setAnimating(_ animating: Swift.Bool, animated: Swift.Bool) + @objc public var animating: Swift.Bool { + @objc get + @objc set(animating) + } + @objc public var hidesWhenStopped: Swift.Bool { + @objc get + @objc set(hidesWhenStopped) + } + @objc override dynamic public var tintColor: UIKit.UIColor! { + @objc get + @objc set(tintColor) + } + @objc override dynamic public func layoutSubviews() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodEPSParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers final public class STPTheme : ObjectiveC.NSObject { + @objc public static let defaultTheme: Stripe.STPTheme + @available(*, deprecated, renamed: "defaultTheme", message: "Use defaultTheme instead") + public static func `default`() -> Stripe.STPTheme + @objc final public var primaryBackgroundColor: UIKit.UIColor + @objc final public var secondaryBackgroundColor: UIKit.UIColor + @objc final public var tertiaryBackgroundColor: UIKit.UIColor { + @objc get + } + @objc final public var quaternaryBackgroundColor: UIKit.UIColor { + @objc get + } + @objc final public var primaryForegroundColor: UIKit.UIColor + @objc final public var secondaryForegroundColor: UIKit.UIColor + @objc final public var tertiaryForegroundColor: UIKit.UIColor { + @objc get + } + @objc final public var accentColor: UIKit.UIColor + @objc final public var errorColor: UIKit.UIColor + @objc final public var font: UIKit.UIFont { + @objc get + @objc set + } + @objc final public var emphasisFont: UIKit.UIFont { + @objc get + @objc set + } + @objc final public var barStyle: UIKit.UIBarStyle { + @objc get + @objc set + } + @objc final public var translucentNavigationBar: Swift.Bool + @objc final public var smallFont: UIKit.UIFont { + @objc get + } + @objc final public var largeFont: UIKit.UIFont { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPTheme : Foundation.NSCopying { + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc public protocol STPAuthenticationContext : ObjectiveC.NSObjectProtocol { + @objc func authenticationPresentingViewController() -> UIKit.UIViewController + @objc(prepareAuthenticationContextForPresentation:) optional func prepare(forPresentation completion: @escaping StripeApplePay.STPVoidBlock) + @objc optional func configureSafariViewController(_ viewController: SafariServices.SFSafariViewController) + @objc(authenticationContextWillDismissViewController:) optional func authenticationContextWillDismiss(_ viewController: UIKit.UIViewController) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodiDEAL : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var bankName: Swift.String? { + get + } + @objc public var bankIdentifierCode: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public class STPPinManagementService : ObjectiveC.NSObject { + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public init(keyProvider: Stripe.STPIssuingCardEphemeralKeyProvider) + @objc public func retrievePin(_ cardId: Swift.String, verificationId: Swift.String, oneTimeCode: Swift.String, completion: @escaping Stripe.STPPinCompletionBlock) + @objc public func updatePin(_ cardId: Swift.String, newPin: Swift.String, verificationId: Swift.String, oneTimeCode: Swift.String, completion: @escaping Stripe.STPPinCompletionBlock) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPAddCardViewController : Stripe.STPCoreTableViewController, Stripe.STPPaymentCardTextFieldDelegate, UIKit.UITableViewDelegate, UIKit.UITableViewDataSource { + @objc convenience dynamic public init() + @objc(initWithConfiguration:theme:) public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc weak public var delegate: Stripe.STPAddCardViewControllerDelegate? + @objc public var prefilledInformation: Stripe.STPUserInformation? + @objc public var customFooterView: UIKit.UIView? { + @objc get + @objc set(footerView) + } + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public func tableView(_ tableView: UIKit.UITableView, estimatedHeightForRowAt indexPath: Foundation.IndexPath) -> CoreGraphics.CGFloat + @objc override dynamic public func viewDidLayoutSubviews() + @objc public func updateAppearance() + @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool) + @objc public func handleCancelTapped(_ sender: Any?) + @objc public func paymentCardTextFieldDidChange(_ textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldWillEndEditing(forReturn textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldDidBeginEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldDidEndEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldDidBeginEditing(_ textField: Stripe.STPPaymentCardTextField) + @objc public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell + @objc public func tableView(_ tableView: UIKit.UITableView, willDisplay cell: UIKit.UITableViewCell, forRowAt indexPath: Foundation.IndexPath) + @objc public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc override public func tableView(_ tableView: UIKit.UITableView, heightForHeaderInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc public func tableView(_ tableView: UIKit.UITableView, viewForHeaderInSection section: Swift.Int) -> UIKit.UIView? + @objc public func tableView(_ tableView: UIKit.UITableView, viewForFooterInSection section: Swift.Int) -> UIKit.UIView? + @objc override dynamic public func viewWillTransition(to size: CoreGraphics.CGSize, with coordinator: UIKit.UIViewControllerTransitionCoordinator) + @objc deinit +} +@objc public protocol STPAddCardViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc func addCardViewControllerDidCancel(_ addCardViewController: Stripe.STPAddCardViewController) + @objc func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, completion: @escaping Stripe.STPErrorBlock) + @available(*, deprecated, renamed: "addCardViewController(_:didCreatePaymentMethod:completion:)", message: "Use addCardViewController(_:didCreatePaymentMethod:completion:) instead and migrate your integration to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read") + @objc optional func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreateToken token: Stripe.STPToken, completion: (Swift.Error?) -> Swift.Void) + @available(*, deprecated, renamed: "addCardViewController(_:didCreatePaymentMethod:completion:)", message: "Use addCardViewController(_:didCreatePaymentMethod:completion:) instead and migrate your integration to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read") + @objc optional func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreateSource source: Stripe.STPSource, completion: (Swift.Error?) -> Swift.Void) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentOptionsViewController : Stripe.STPCoreViewController, Stripe.STPAddCardViewControllerDelegate { + @objc(initWithPaymentContext:) convenience public init(paymentContext: Stripe.STPPaymentContext) + @objc(initWithConfiguration:theme:customerContext:delegate:) convenience public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme, customerContext: Stripe.STPCustomerContext, delegate: Stripe.STPPaymentOptionsViewControllerDelegate) + @objc(initWithConfiguration:theme:apiAdapter:delegate:) public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme, apiAdapter: Stripe.STPBackendAPIAdapter, delegate: Stripe.STPPaymentOptionsViewControllerDelegate) + @objc public var prefilledInformation: Stripe.STPUserInformation? + @objc public var defaultPaymentMethod: Swift.String? + @objc public var paymentOptionsViewControllerFooterView: UIKit.UIView? + @objc public var addCardViewControllerFooterView: UIKit.UIView? + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc(dismissWithCompletion:) public func dismiss(withCompletion completion: StripeApplePay.STPVoidBlock?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required public init(theme: Stripe.STPTheme?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public func viewDidLayoutSubviews() + @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool) + @objc public func addCardViewControllerDidCancel(_ addCardViewController: Stripe.STPAddCardViewController) + @objc public func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, completion: @escaping Stripe.STPErrorBlock) + @objc deinit +} +@objc public protocol STPPaymentOptionsViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didFailToLoadWithError error: Swift.Error) + @objc func paymentOptionsViewControllerDidFinish(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc func paymentOptionsViewControllerDidCancel(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc(paymentOptionsViewController:didSelectPaymentOption:) optional func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didSelect paymentOption: Stripe.STPPaymentOption) +} +@frozen public enum PaymentSheetResult { + case completed + case canceled + case failed(error: Swift.Error) +} +@_hasMissingDesignatedInitializers public class PaymentSheet { + final public let configuration: Stripe.PaymentSheet.Configuration + public var mostRecentError: Swift.Error? { + get + } + convenience public init(paymentIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration) + convenience public init(setupIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public func present(from presentingViewController: UIKit.UIViewController, completion: @escaping (Stripe.PaymentSheetResult) -> ()) + @objc deinit +} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +@objc(STPErrorCode) public enum _stpobjc_STPErrorCode : Swift.Int { + @objc(STPConnectionError) case connectionError = 40 + @objc(STPInvalidRequestError) case invalidRequestError = 50 + @objc(STPAuthenticationError) case authenticationError = 51 + @objc(STPAPIError) case apiError = 60 + @objc(STPCardError) case cardError = 70 + @objc(STPCancellationError) case cancellationError = 80 + @objc(STPEphemeralKeyDecodingError) case ephemeralKeyDecodingError = 1000 + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @available(swift, deprecated: 0.0.1, renamed: "STPError") +@objc(STPError) public class _stpobjc_STPError : ObjectiveC.NSObject { + @objc public static let stripeDomain: Swift.String + @objc public static let errorMessageKey: Swift.String + @objc public static let hintKey: Swift.String + @objc public static let cardErrorCodeKey: Swift.String + @objc public static let errorParameterKey: Swift.String + @objc public static let stripeErrorCodeKey: Swift.String + @objc public static let stripeErrorTypeKey: Swift.String + @objc public static let stripeDeclineCodeKey: Swift.String + @objc public static let invalidNumber: Swift.String + @objc public static let invalidExpMonth: Swift.String + @objc public static let invalidExpYear: Swift.String + @objc public static let invalidCVC: Swift.String + @objc public static let incorrectNumber: Swift.String + @objc public static let expiredCard: Swift.String + @objc public static let cardDeclined: Swift.String + @objc public static let processingError: Swift.String + @objc public static let incorrectCVC: Swift.String + @objc public static let incorrectZip: Swift.String + @objc deinit + @objc override dynamic public init() +} +@objc extension NSError { + @available(swift, deprecated: 0.0.1, renamed: "stp_error(fromStripeResponse:)") + @objc(stp_errorFromStripeResponse:) public static func _stpobjc_stp_error(fromStripeResponse jsonDictionary: [Swift.AnyHashable : Any]?) -> Foundation.NSError? +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionOXXODisplayDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let expiresAfter: Foundation.Date + @objc final public let hostedVoucherURL: Foundation.URL + @objc final public let number: Swift.String + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc deinit + @objc override dynamic public init() +} +extension StripeAPI { + @available(*, deprecated, message: "Use `paymentRequestWithMerchantIdentifier:country:currency:` instead.") + public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String) -> PassKit.PKPaymentRequest +} +@available(*, deprecated, message: "Use StripeAPI.defaultPublishableKey instead. (StripeAPI.defaultPublishableKey = \"pk_12345_xyzabc\")") +public func setDefaultPublishableKey(_ publishableKey: Swift.String) +@available(*, deprecated, message: "Use StripeAPI.advancedFraudSignalsEnabled instead.") +public var advancedFraudSignalsEnabled: Swift.Bool { + get + set +} +@available(*, deprecated, message: "Use StripeAPI.jcbPaymentNetworkSupported instead.") +public var jcbPaymentNetworkSupported: Swift.Bool { + get + set +} +@available(*, deprecated, message: "Use StripeAPI.additionalEnabledApplePayNetworks instead.") +public var additionalEnabledApplePayNetworks: [PassKit.PKPaymentNetwork] { + get + set +} +@available(*, deprecated, message: "Use StripeAPI.canSubmitPaymentRequest(_:) instead.") +public func canSubmitPaymentRequest(_ paymentRequest: PassKit.PKPaymentRequest) -> Swift.Bool +@available(*, deprecated, message: "Use StripeAPI.deviceSupportsApplePay() instead.") +public func deviceSupportsApplePay() -> Swift.Bool +@available(*, deprecated, message: "Use StripeAPI.paymentRequest(withMerchantIdentifier:country:currency:) instead.") +public func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String, country countryCode: Swift.String, currency currencyCode: Swift.String) -> PassKit.PKPaymentRequest +@available(*, deprecated, message: "Use StripeAPI.handleURLCallback(with:) instead.") +public func handleURLCallback(with url: Foundation.URL) -> Swift.Bool +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBoleto : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let taxID: Swift.String + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension View { + public func paymentSheet(isPresented: SwiftUI.Binding, paymentSheet: Stripe.PaymentSheet, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void) -> some SwiftUI.View + + public func paymentOptionsSheet(isPresented: SwiftUI.Binding, paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onSheetDismissed: (() -> Swift.Void)?) -> some SwiftUI.View + + public func paymentConfirmationSheet(isConfirming: SwiftUI.Binding, paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void) -> some SwiftUI.View + + @available(*, deprecated, renamed: "paymentConfirmationSheet(isConfirming:paymentSheetFlowController:onCompletion:)") + public func paymentConfirmationSheet(isConfirmingPayment: SwiftUI.Binding, paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void) -> some SwiftUI.View + +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension PaymentSheet { + public struct PaymentButton : SwiftUI.View where Content : SwiftUI.View { + public init(paymentSheet: Stripe.PaymentSheet, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void, @SwiftUI.ViewBuilder content: () -> Content) + public var body: some SwiftUI.View { + get + } + public typealias Body = @_opaqueReturnTypeOf("$s6Stripe12PaymentSheetC0B6ButtonV4bodyQrvp", 0) 🦸 + } +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension PaymentSheet.FlowController { + public struct PaymentOptionsButton : SwiftUI.View where Content : SwiftUI.View { + public init(paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onSheetDismissed: @escaping () -> Swift.Void, @SwiftUI.ViewBuilder content: () -> Content) + public var body: some SwiftUI.View { + get + } + public typealias Body = @_opaqueReturnTypeOf("$s6Stripe12PaymentSheetC14FlowControllerC0B13OptionsButtonV4bodyQrvp", 0) 🦸 + } + @available(*, deprecated, renamed: "ConfirmButton") + public typealias ConfirmPaymentButton = Stripe.PaymentSheet.FlowController.ConfirmButton + public struct ConfirmButton : SwiftUI.View where Content : SwiftUI.View { + public init(paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void, @SwiftUI.ViewBuilder content: () -> Content) + public var body: some SwiftUI.View { + get + } + public typealias Body = @_opaqueReturnTypeOf("$s6Stripe12PaymentSheetC14FlowControllerC13ConfirmButtonV4bodyQrvp", 0) 🦸 + } +} +@objc public enum STPCardFundingType : Swift.Int { + case debit + case credit + case prepaid + case other + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPCard : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPPaymentOption, Stripe.STPSourceProtocol { + @objc public var last4: Swift.String { + get + } + @objc public var dynamicLast4: Swift.String? { + get + } + @objc public var isApplePayCard: Swift.Bool { + @objc get + } + @objc public var expMonth: Swift.Int { + get + } + @objc public var expYear: Swift.Int { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var address: Stripe.STPAddress? { + get + } + @objc public var brand: Stripe.STPCardBrand { + get + } + @objc public var funding: Stripe.STPCardFundingType { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var currency: Swift.String? { + get + } + @objc(stringFromBrand:) public class func string(from brand: Stripe.STPCardBrand) -> Swift.String + @objc(brandFromString:) public class func brand(from string: Swift.String) -> Stripe.STPCardBrand + @available(*, deprecated, message: "You cannot directly instantiate an STPCard. You should only use one that has been returned from an STPAPIClient callback.") + @objc(initWithID:brand:last4:expMonth:expYear:funding:) public init(id cardID: Swift.String, brand: Stripe.STPCardBrand, last4: Swift.String, expMonth: Swift.Int, expYear: Swift.Int, funding: Stripe.STPCardFundingType) + @objc(fundingFromString:) public class func funding(from string: Swift.String) -> Stripe.STPCardFundingType + @objc public var stripeID: Swift.String + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ other: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @available(*, deprecated, message: "Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @available(*, deprecated, message: "Use stripeID (defined in STPSourceProtocol)") + @objc public var cardId: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.line1") + @objc public var addressLine1: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.line2") + @objc public var addressLine2: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.city") + @objc public var addressCity: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.state") + @objc public var addressState: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.postalCode") + @objc public var addressZip: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.country") + @objc public var addressCountry: Swift.String? { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodCardParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc convenience public init(cardSourceParams: Stripe.STPCardParams) + @objc required override dynamic public init() + @objc public var number: Swift.String? + @objc public var expMonth: Foundation.NSNumber? + @objc public var expYear: Foundation.NSNumber? + @objc public var token: Swift.String? + @objc public var cvc: Swift.String? + @objc public var last4: Swift.String? { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public func isEqual(_ other: Any?) -> Swift.Bool + @objc deinit +} +@objc public class STPPushProvisioningDetailsParams : ObjectiveC.NSObject { + @objc public var cardId: Swift.String { + get + } + @objc public var certificates: [Foundation.Data] { + get + } + @objc public var nonce: Foundation.Data { + get + } + @objc public var nonceSignature: Foundation.Data { + get + } + @objc public var certificatesBase64: [Swift.String] { + @objc get + } + @objc public var nonceHex: Swift.String { + @objc get + } + @objc public var nonceSignatureHex: Swift.String { + @objc get + } + @objc required public init(cardId: Swift.String, certificates: [Foundation.Data], nonce: Foundation.Data, nonceSignature: Foundation.Data) + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountAddress : ObjectiveC.NSObject { + @objc public var city: Swift.String? + @objc public var country: Swift.String? + @objc public var line1: Swift.String? + @objc public var line2: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var state: Swift.String? + @objc public var town: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountAddress : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPConfirmAlipayOptions : ObjectiveC.NSObject { + @objc public var appBundleID: Swift.String { + @objc get + } + @objc public var appVersionKey: Swift.String { + @objc get + } + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConfirmAlipayOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPPaymentMethodCardWalletType : Swift.Int { + case amexExpressCheckout + case applePay + case googlePay + case masterpass + case samsungPay + case visaCheckout + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardWallet : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var type: Stripe.STPPaymentMethodCardWalletType { + get + } + @objc public var masterpass: Stripe.STPPaymentMethodCardWalletMasterpass? { + get + } + @objc public var visaCheckout: Stripe.STPPaymentMethodCardWalletVisaCheckout? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +extension PaymentSheet { + @available(iOS 13.0, *) + public enum UserInterfaceStyle : Swift.Int { + case automatic + case alwaysLight + case alwaysDark + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } + } + public enum SavePaymentMethodOptInBehavior { + case automatic + case requiresOptIn + case requiresOptOut + public static func == (a: Stripe.PaymentSheet.SavePaymentMethodOptInBehavior, b: Stripe.PaymentSheet.SavePaymentMethodOptInBehavior) -> Swift.Bool + public var hashValue: Swift.Int { + get + } + public func hash(into hasher: inout Swift.Hasher) + } + public struct Configuration { + public var allowsDelayedPaymentMethods: Swift.Bool + public var apiClient: StripeCore.STPAPIClient + public var applePay: Stripe.PaymentSheet.ApplePayConfiguration? + public var primaryButtonColor: UIKit.UIColor + @available(iOS 13.0, *) + public var style: Stripe.PaymentSheet.UserInterfaceStyle { + get + set + } + public var customer: Stripe.PaymentSheet.CustomerConfiguration? + public var merchantDisplayName: Swift.String + public var returnURL: Swift.String? + public init() + public var defaultBillingDetails: Stripe.PaymentSheet.BillingDetails + public var savePaymentMethodOptInBehavior: Stripe.PaymentSheet.SavePaymentMethodOptInBehavior + } + public struct CustomerConfiguration { + public let id: Swift.String + public let ephemeralKeySecret: Swift.String + public init(id: Swift.String, ephemeralKeySecret: Swift.String) + } + public struct ApplePayConfiguration { + public let merchantId: Swift.String + public let merchantCountryCode: Swift.String + public init(merchantId: Swift.String, merchantCountryCode: Swift.String) + } + public struct Address { + public var city: Swift.String? + public var country: Swift.String? + public var line1: Swift.String? + public var line2: Swift.String? + public var postalCode: Swift.String? + public var state: Swift.String? + public init(city: Swift.String? = nil, country: Swift.String? = nil, line1: Swift.String? = nil, line2: Swift.String? = nil, postalCode: Swift.String? = nil, state: Swift.String? = nil) + } + public struct BillingDetails { + public var address: Stripe.PaymentSheet.Address + public var email: Swift.String? + public var name: Swift.String? + public var phone: Swift.String? + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodLink : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPBackendAPIAdapter : ObjectiveC.NSObjectProtocol { + @objc func retrieveCustomer(_ completion: Stripe.STPCustomerCompletionBlock?) + @objc func listPaymentMethodsForCustomer(completion: Stripe.STPPaymentMethodsCompletionBlock?) + @objc func attachPaymentMethod(toCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc optional func detachPaymentMethod(fromCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc optional func updateCustomer(withShippingAddress shipping: Stripe.STPAddress, completion: Stripe.STPErrorBlock?) +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntentShippingDetailsAddress : ObjectiveC.NSObject { + @objc final public let city: Swift.String? + @objc final public let country: Swift.String? + @objc final public let line1: Swift.String? + @objc final public let line2: Swift.String? + @objc final public let postalCode: Swift.String? + @objc final public let state: Swift.String? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetailsAddress : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntentShippingDetails : ObjectiveC.NSObject { + @objc final public let address: Stripe.STPPaymentIntentShippingDetailsAddress? + @objc final public let name: Swift.String? + @objc final public let carrier: Swift.String? + @objc final public let phone: Swift.String? + @objc final public let trackingNumber: Swift.String? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetails : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc public enum STPCardBrand : Swift.Int { + case visa + case amex + case mastercard + case discover + case JCB + case dinersClub + case unionPay + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @available(*, deprecated, message: "STPStringFromCardBrand has been replaced with STPCardBrandUtilities.stringFrom(brand)") +@objc public class STPStringFromCardBrand : ObjectiveC.NSObject { + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPCardBrandUtilities : ObjectiveC.NSObject { + @objc(stringFromCardBrand:) public static func stringFrom(_ brand: Stripe.STPCardBrand) -> Swift.String? + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPCustomerEphemeralKeyProvider : ObjectiveC.NSObjectProtocol { + @objc(createCustomerKeyWithAPIVersion:completion:) func createCustomerKey(withAPIVersion apiVersion: Swift.String, completion: @escaping Stripe.STPJSONResponseCompletionBlock) +} +@objc public protocol STPIssuingCardEphemeralKeyProvider : ObjectiveC.NSObjectProtocol { + @objc(createIssuingCardKeyWithAPIVersion:completion:) func createIssuingCardKey(withAPIVersion apiVersion: Swift.String, completion: @escaping Stripe.STPJSONResponseCompletionBlock) +} +@available(*, deprecated, message: "use `STPCustomerEphemeralKeyProvider` or `STPIssuingCardEphemeralKeyProvider` depending on the type of key that will be fetched.") +@objc public protocol STPEphemeralKeyProvider : Stripe.STPCustomerEphemeralKeyProvider { +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBacsDebit : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var sortCode: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPBankAccountStatus : Swift.Int { + case new + case validated + case verified + case verificationFailed + case errored + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPBankAccount : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPSourceProtocol { + @objc public var routingNumber: Swift.String? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var currency: Swift.String? { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var bankName: Swift.String? { + get + } + @objc public var accountHolderName: Swift.String? { + get + } + @objc public var accountHolderType: Stripe.STPBankAccountHolderType { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var status: Stripe.STPBankAccountStatus { + get + } + @available(*, deprecated, message: "Use stripeID (defined in STPSourceProtocol)") + @objc public var bankAccountId: Swift.String? { + @objc get + } + @objc public var stripeID: Swift.String { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ bankAccount: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodSEPADebitParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var iban: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodParams : ObjectiveC.NSObject, Stripe.STPFormEncodable, Stripe.STPPaymentOption { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var type: Stripe.STPPaymentMethodType { + @objc get + @objc set(newType) + } + @objc public var rawTypeString: Swift.String? + @objc public var billingDetails: Stripe.STPPaymentMethodBillingDetails? + @objc public var card: Stripe.STPPaymentMethodCardParams? + @objc public var alipay: Stripe.STPPaymentMethodAlipayParams? + @objc public var iDEAL: Stripe.STPPaymentMethodiDEALParams? + @objc public var fpx: Stripe.STPPaymentMethodFPXParams? + @objc public var sepaDebit: Stripe.STPPaymentMethodSEPADebitParams? + @objc public var bacsDebit: Stripe.STPPaymentMethodBacsDebitParams? + @objc public var auBECSDebit: Stripe.STPPaymentMethodAUBECSDebitParams? + @objc public var giropay: Stripe.STPPaymentMethodGiropayParams? + @objc public var payPal: Stripe.STPPaymentMethodPayPalParams? + @objc public var przelewy24: Stripe.STPPaymentMethodPrzelewy24Params? + @objc public var eps: Stripe.STPPaymentMethodEPSParams? + @objc public var bancontact: Stripe.STPPaymentMethodBancontactParams? + @objc public var netBanking: Stripe.STPPaymentMethodNetBankingParams? + @objc public var oxxo: Stripe.STPPaymentMethodOXXOParams? + @objc public var sofort: Stripe.STPPaymentMethodSofortParams? + @objc public var upi: Stripe.STPPaymentMethodUPIParams? + @objc public var grabPay: Stripe.STPPaymentMethodGrabPayParams? + @objc public var afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpayParams? + @objc public var blik: Stripe.STPPaymentMethodBLIKParams? + @objc public var boleto: Stripe.STPPaymentMethodBoletoParams? + @objc public var link: Stripe.STPPaymentMethodLinkParams? + @objc public var klarna: Stripe.STPPaymentMethodKlarnaParams? + @objc public var metadata: [Swift.String : Swift.String]? + @objc convenience public init(card: Stripe.STPPaymentMethodCardParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(iDEAL: Stripe.STPPaymentMethodiDEALParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(fpx: Stripe.STPPaymentMethodFPXParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(sepaDebit: Stripe.STPPaymentMethodSEPADebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(bacsDebit: Stripe.STPPaymentMethodBacsDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(aubecsDebit auBECSDebit: Stripe.STPPaymentMethodAUBECSDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(giropay: Stripe.STPPaymentMethodGiropayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(eps: Stripe.STPPaymentMethodEPSParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(przelewy24: Stripe.STPPaymentMethodPrzelewy24Params, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(bancontact: Stripe.STPPaymentMethodBancontactParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(netBanking: Stripe.STPPaymentMethodNetBankingParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(grabPay: Stripe.STPPaymentMethodGrabPayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(oxxo: Stripe.STPPaymentMethodOXXOParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(sofort: Stripe.STPPaymentMethodSofortParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(upi: Stripe.STPPaymentMethodUPIParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(alipay: Stripe.STPPaymentMethodAlipayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(payPal: Stripe.STPPaymentMethodPayPalParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(blik: Stripe.STPPaymentMethodBLIKParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(boleto: Stripe.STPPaymentMethodBoletoParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(klarna: Stripe.STPPaymentMethodKlarnaParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init?(singleUsePaymentMethod paymentMethod: Stripe.STPPaymentMethod) + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +@objc extension STPPaymentMethodParams { + @objc(paramsWithCard:billingDetails:metadata:) dynamic public class func paramsWith(card: Stripe.STPPaymentMethodCardParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithiDEAL:billingDetails:metadata:) dynamic public class func paramsWith(iDEAL: Stripe.STPPaymentMethodiDEALParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithFPX:billingDetails:metadata:) dynamic public class func paramsWith(fpx: Stripe.STPPaymentMethodFPXParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithSEPADebit:billingDetails:metadata:) dynamic public class func paramsWith(sepaDebit: Stripe.STPPaymentMethodSEPADebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithBacsDebit:billingDetails:metadata:) dynamic public class func paramsWith(bacsDebit: Stripe.STPPaymentMethodBacsDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithAUBECSDebit:billingDetails:metadata:) dynamic public class func paramsWith(auBECSDebit: Stripe.STPPaymentMethodAUBECSDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithGiropay:billingDetails:metadata:) dynamic public class func paramsWith(giropay: Stripe.STPPaymentMethodGiropayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithEPS:billingDetails:metadata:) dynamic public class func paramsWith(eps: Stripe.STPPaymentMethodEPSParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithPrzelewy24:billingDetails:metadata:) dynamic public class func paramsWith(przelewy24: Stripe.STPPaymentMethodPrzelewy24Params, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithBancontact:billingDetails:metadata:) dynamic public class func paramsWith(bancontact: Stripe.STPPaymentMethodBancontactParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithNetBanking:billingDetails:metadata:) dynamic public class func paramsWith(netBanking: Stripe.STPPaymentMethodNetBankingParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithOXXO:billingDetails:metadata:) dynamic public class func paramsWith(oxxo: Stripe.STPPaymentMethodOXXOParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithGrabPay:billingDetails:metadata:) dynamic public class func paramsWith(grabPay: Stripe.STPPaymentMethodGrabPayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithSofort:billingDetails:metadata:) dynamic public class func paramsWith(sofort: Stripe.STPPaymentMethodSofortParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithUPI:billingDetails:metadata:) dynamic public class func paramsWith(upi: Stripe.STPPaymentMethodUPIParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithAlipay:billingDetails:metadata:) dynamic public class func paramsWith(alipay: Stripe.STPPaymentMethodAlipayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithPayPal:billingDetails:metadata:) dynamic public class func paramsWith(payPal: Stripe.STPPaymentMethodPayPalParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithAfterpayClearpay:billingDetails:metadata:) dynamic public class func paramsWith(afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithBLIK:billingDetails:metadata:) dynamic public class func paramsWith(blik: Stripe.STPPaymentMethodBLIKParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithKlarna:billingDetails:metadata:) dynamic public class func paramsWith(klarna: Stripe.STPPaymentMethodKlarnaParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodPayPalParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc public protocol STPSourceProtocol : ObjectiveC.NSObjectProtocol { + @objc var stripeID: Swift.String { get } +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, deprecated, renamed: "STPIntentAction", message: "Use `STPIntentAction` instead.") +@objc final public class STPPaymentIntentAction : Stripe.STPIntentAction { + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodGrabPay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPFormView : UIKit.UIView { + @objc override dynamic public var canResignFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func resignFirstResponder() -> Swift.Bool + @objc override dynamic public var isFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public var canBecomeFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func becomeFirstResponder() -> Swift.Bool + @objc override dynamic public var isUserInteractionEnabled: Swift.Bool { + @objc get + @objc set + } + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodPayPal : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodSofortParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var country: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc public enum STPMandateCustomerAcceptanceType : Swift.Int { + case online + case offline + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPMandateCustomerAcceptanceParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var type: Stripe.STPMandateCustomerAcceptanceType + @objc public var onlineParams: Stripe.STPMandateOnlineParams? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc required override dynamic public init() + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public class func rootObjectName() -> Swift.String? + @objc deinit +} +public enum PaymentSheetError : Swift.Error { + case unknown(debugDescription: Swift.String) + public var localizedDescription: Swift.String { + get + } +} +extension UINavigationBar { + @available(*, deprecated, message: "Use the `stp_theme` property instead") + @objc dynamic public func stp_setTheme(_ theme: Stripe.STPTheme) + @objc dynamic public var stp_theme: Stripe.STPTheme? { + @objc get + @objc set(theme) + } +} +@objc public protocol STPAUBECSDebitFormViewDelegate : ObjectiveC.NSObjectProtocol { + @objc func auBECSDebitForm(_ form: Stripe.STPAUBECSDebitFormView, didChangeToStateComplete complete: Swift.Bool) +} +@objc @_inheritsConvenienceInitializers public class STPAUBECSDebitFormView : Stripe.STPMultiFormTextField, UIKit.UITextViewDelegate { + @objc(initWithCompanyName:) required public init(companyName: Swift.String) + @objc public var formBackgroundColor: UIKit.UIColor { + @objc get + @objc set + } + @objc weak public var becsDebitFormDelegate: Stripe.STPAUBECSDebitFormViewDelegate? + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? { + @objc get + } + @objc override dynamic public func systemLayoutSizeFitting(_ targetSize: CoreGraphics.CGSize, withHorizontalFittingPriority horizontalFittingPriority: UIKit.UILayoutPriority, verticalFittingPriority: UIKit.UILayoutPriority) -> CoreGraphics.CGSize + @objc public func textView(_ textView: UIKit.UITextView, shouldInteractWith URL: Foundation.URL, in characterRange: Foundation.NSRange, interaction: UIKit.UITextItemInteraction) -> Swift.Bool + @objc override public var formFont: UIKit.UIFont { + @objc get + @objc set + } + @objc override public var formTextColor: UIKit.UIColor { + @objc get + @objc set + } + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAfterpayClearpayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public static func rootObjectName() -> Swift.String? + @objc public static func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodAfterpayClearpay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPSetupIntent : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let stripeID: Swift.String + @objc final public let clientSecret: Swift.String + @objc final public let created: Foundation.Date + @objc final public let customerID: Swift.String? + @objc final public let stripeDescription: Swift.String? + @objc final public let livemode: Swift.Bool + @objc final public let nextAction: Stripe.STPIntentAction? + @objc final public let paymentMethodID: Swift.String? + @objc final public let paymentMethodTypes: [Foundation.NSNumber] + @objc final public let status: Stripe.STPSetupIntentStatus + @objc final public let usage: Stripe.STPSetupIntentUsage + @objc final public let lastSetupError: Stripe.STPSetupIntentLastSetupError? + @available(*, deprecated, message: "Metadata is not returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPBillingAddressFields : Swift.UInt { + case none + case postalCode + case full + case name + @available(*, deprecated, message: "Use STPBillingAddressFields.postalCode instead") + case zip + public typealias RawValue = Swift.UInt + public init?(rawValue: Swift.UInt) + public var rawValue: Swift.UInt { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPAddress : ObjectiveC.NSObject { + @objc public var name: Swift.String? + @objc public var line1: Swift.String? + @objc public var line2: Swift.String? + @objc public var city: Swift.String? + @objc public var state: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var country: Swift.String? + @objc public var phone: Swift.String? + @objc public var email: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc(shippingInfoForChargeWithAddress:shippingMethod:) public class func shippingInfoForCharge(with address: Stripe.STPAddress?, shippingMethod method: PassKit.PKShippingMethod?) -> [Swift.AnyHashable : Any]? + @objc override dynamic public init() + @objc public init(paymentMethodBillingDetails billingDetails: Stripe.STPPaymentMethodBillingDetails) + @objc(initWithPKContact:) public init(pkContact contact: PassKit.PKContact) + @objc(PKContactValue) public func pkContactValue() -> PassKit.PKContact + @objc(initWithCNContact:) public init(cnContact contact: Contacts.CNContact) + @objc public func containsRequiredFields(_ requiredFields: Stripe.STPBillingAddressFields) -> Swift.Bool + @objc(containsContentForBillingAddressFields:) public func containsContent(for desiredFields: Stripe.STPBillingAddressFields) -> Swift.Bool + @objc public func containsRequiredShippingAddressFields(_ requiredFields: Swift.Set?) -> Swift.Bool + @objc public func containsContent(forShippingAddressFields desiredFields: Swift.Set?) -> Swift.Bool + @objc(applePayContactFieldsFromBillingAddressFields:) public class func applePayContactFields(from billingAddressFields: Stripe.STPBillingAddressFields) -> Swift.Set + @objc public class func pkContactFields(fromStripeContactFields contactFields: Swift.Set?) -> Swift.Set? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc deinit +} +extension STPAddress : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +extension STPAddress : Stripe.STPFormEncodable { + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] +} +extension STPAddress : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodAUBECSDebit : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var bsbNumber: Swift.String { + get + } + @objc public var fingerprint: Swift.String { + get + } + @objc public var last4: Swift.String { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAlipayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc public enum STPCardFormViewStyle : Swift.Int { + case standard + case borderless + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public protocol STPCardFormViewDelegate : ObjectiveC.NSObjectProtocol { + @objc func cardFormView(_ form: Stripe.STPCardFormView, didChangeToStateComplete complete: Swift.Bool) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPCardFormView : Stripe.STPFormView { + @objc weak public var delegate: Stripe.STPCardFormViewDelegate? + @objc override dynamic public var backgroundColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc public var disabledBackgroundColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc public var cardParams: Stripe.STPPaymentMethodParams? { + @objc get + } + @objc override dynamic public var isUserInteractionEnabled: Swift.Bool { + @objc get + @objc set + } + @objc convenience public init(style: Stripe.STPCardFormViewStyle = .standard) + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPCustomer : ObjectiveC.NSObject { + @objc final public let stripeID: Swift.String + @objc public var defaultSource: Stripe.STPSourceProtocol? { + get + } + @objc public var sources: [Stripe.STPSourceProtocol] { + get + } + @objc public var email: Swift.String? { + get + } + @objc public var shippingAddress: Stripe.STPAddress? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc convenience public init(stripeID: Swift.String, defaultSource: Stripe.STPSourceProtocol?, sources: [Stripe.STPSourceProtocol]) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc(updateSourcesFilteringApplePay:) public func updateSources(filteringApplePay: Swift.Bool) + @objc deinit +} +extension STPCustomer : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_hasMissingDesignatedInitializers public class STPCustomerDeserializer : ObjectiveC.NSObject { + @objc final public let customer: Stripe.STPCustomer? + @objc final public let error: Swift.Error? + @objc convenience public init(data: Foundation.Data?, urlResponse: Foundation.URLResponse?, error: Swift.Error?) + @objc convenience public init(jsonResponse json: Any?) + @objc deinit + @objc override dynamic public init() +} +@objc public class STPContactField : ObjectiveC.NSObject, Swift.RawRepresentable { + final public let rawValue: Swift.String + required public init(rawValue: Swift.String) + @objc public static let postalAddress: Stripe.STPContactField + @objc public static let emailAddress: Stripe.STPContactField + @objc public static let phoneNumber: Stripe.STPContactField + @objc public static let name: Stripe.STPContactField + @objc override dynamic public init() + public typealias RawValue = Swift.String + @objc deinit +} +extension PaymentSheet { + @_hasMissingDesignatedInitializers @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public class FlowController { + public struct PaymentOptionDisplayData { + public let image: UIKit.UIImage + public let label: Swift.String + } + final public let configuration: Stripe.PaymentSheet.Configuration + public var paymentOption: Stripe.PaymentSheet.FlowController.PaymentOptionDisplayData? { + get + } + public static func create(paymentIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration, completion: @escaping (Swift.Result) -> Swift.Void) + public static func create(setupIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration, completion: @escaping (Swift.Result) -> Swift.Void) + public func presentPaymentOptions(from presentingViewController: UIKit.UIViewController, completion: (() -> ())? = nil) + public func confirm(from presentingViewController: UIKit.UIViewController, completion: @escaping (Stripe.PaymentSheetResult) -> ()) + @objc deinit + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodKlarna : ObjectiveC.NSObject { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension STPCardFormView { + public struct Representable : SwiftUI.UIViewRepresentable { + public init(_ style: Stripe.STPCardFormViewStyle = .standard, paymentMethodParams: SwiftUI.Binding, isComplete: SwiftUI.Binding) + public func makeCoordinator() -> Stripe.STPCardFormView.Coordinator + public func makeUIView(context: Stripe.STPCardFormView.Representable.Context) -> Stripe.STPCardFormView + public func updateUIView(_ cardFormView: Stripe.STPCardFormView, context: Stripe.STPCardFormView.Representable.Context) + public typealias UIViewType = Stripe.STPCardFormView + public typealias Coordinator = Stripe.STPCardFormView.Coordinator + public typealias Body = Swift.Never + } + @objc @_hasMissingDesignatedInitializers public class Coordinator : ObjectiveC.NSObject, Stripe.STPCardFormViewDelegate { + @objc public func cardFormView(_ form: Stripe.STPCardFormView, didChangeToStateComplete complete: Swift.Bool) + @objc deinit + @objc override dynamic public init() + } +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSTextFieldCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSTextFieldCustomization + @objc public var borderWidth: CoreGraphics.CGFloat { + @objc get + @objc set(borderWidth) + } + @objc public var borderColor: UIKit.UIColor { + @objc get + @objc set(borderColor) + } + @objc public var cornerRadius: CoreGraphics.CGFloat { + @objc get + @objc set(cornerRadius) + } + @objc public var keyboardAppearance: UIKit.UIKeyboardAppearance { + @objc get + @objc set(keyboardAppearance) + } + @objc public var placeholderTextColor: UIKit.UIColor { + @objc get + @objc set(placeholderTextColor) + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set(textColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodNetBankingParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var bank: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardPresent : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceReceiver : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var address: Swift.String? { + get + } + @objc public var amountCharged: Foundation.NSNumber? { + get + } + @objc public var amountReceived: Foundation.NSNumber? { + get + } + @objc public var amountReturned: Foundation.NSNumber? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodPrzelewy24Params : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodKlarnaParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public static func rootObjectName() -> Swift.String? + @objc public static func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBancontactParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, unavailable, renamed: "STPIntentActionRedirectToURL", message: "Use `STPIntentActionRedirectToURL` instead.") +@objc final public class STPPaymentIntentSourceActionAuthorizeWithURL : Stripe.STPIntentActionRedirectToURL { + @objc deinit +} +@objc public enum STPSetupIntentLastSetupErrorType : Swift.UInt { + case unknown + @objc(STPSetupIntentLastSetupErrorTypeAPIConnection) case apiConnection + case API + case authentication + case card + case idempotency + case invalidRequest + case rateLimit + public typealias RawValue = Swift.UInt + public init?(rawValue: Swift.UInt) + public var rawValue: Swift.UInt { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSetupIntentLastSetupError : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var code: Swift.String? { + get + } + @objc public var declineCode: Swift.String? { + get + } + @objc public var docURL: Swift.String? { + get + } + @objc public var message: Swift.String? { + get + } + @objc public var param: Swift.String? { + get + } + @objc public var paymentMethod: Stripe.STPPaymentMethod? { + get + } + @objc public var type: Stripe.STPSetupIntentLastSetupErrorType { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc extension STPSetupIntentLastSetupError { + @objc public static let CodeAuthenticationFailure: Swift.String +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodPrzelewy24 : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCard : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var brand: Stripe.STPCardBrand { + get + } + @objc public var checks: Stripe.STPPaymentMethodCardChecks? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var expMonth: Swift.Int { + get + } + @objc public var expYear: Swift.Int { + get + } + @objc public var funding: Swift.String? { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var networks: Stripe.STPPaymentMethodCardNetworks? { + get + } + @objc public var threeDSecureUsage: Stripe.STPPaymentMethodThreeDSecureUsage? { + get + } + @objc public var wallet: Stripe.STPPaymentMethodCardWallet? { + get + } + @objc(stringFromBrand:) public class func string(from brand: Stripe.STPCardBrand) -> Swift.String + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public enum STPPaymentIntentLastPaymentErrorType : Swift.Int { + case unknown + @objc(STPPaymentIntentLastPaymentErrorTypeAPIConnection) case apiConnection + @objc(STPPaymentIntentLastPaymentErrorTypeAPI) case api + case authentication + case card + case idempotency + case invalidRequest + case rateLimit + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntentLastPaymentError : ObjectiveC.NSObject { + @objc public static let ErrorCodeAuthenticationFailure: Swift.String + @objc final public let code: Swift.String? + @objc final public let declineCode: Swift.String? + @objc final public let docURL: Swift.String? + @objc final public let message: Swift.String? + @objc final public let param: Swift.String? + @objc final public let paymentMethod: Stripe.STPPaymentMethod? + @objc final public let type: Stripe.STPPaymentIntentLastPaymentErrorType + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentLastPaymentError : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc public class STPPaymentResult : ObjectiveC.NSObject { + @objc public var paymentMethod: Stripe.STPPaymentMethod? { + get + } + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? { + get + } + @objc weak public var paymentOption: Stripe.STPPaymentOption? { + @objc get + } + @objc public init(paymentOption: Stripe.STPPaymentOption?) + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionWechatPayRedirectToApp : ObjectiveC.NSObject { + @objc final public let nativeURL: Foundation.URL? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPIntentActionWechatPayRedirectToApp : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc public enum STPPaymentIntentStatus : Swift.Int { + case unknown + case requiresPaymentMethod + @available(*, deprecated, renamed: "STPPaymentIntentStatus.requiresPaymentMethod", message: "Use STPPaymentIntentStatus.requiresPaymentMethod instead") + case requiresSource + case requiresConfirmation + case requiresAction + @available(*, deprecated, renamed: "STPPaymentIntentStatus.requiresAction", message: "Use STPPaymentIntentStatus.requiresAction instead") + case requiresSourceAction + case processing + case succeeded + case requiresCapture + case canceled + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentIntentSetupFutureUsage : Swift.Int { + case unknown + case none + case onSession + case offSession + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPPaymentIntentActionType : Swift.Int { + @available(*, deprecated, renamed: "STPIntentActionType.unknown", message: "Use STPIntentActionType instead") + case unknown + @available(*, deprecated, renamed: "STPIntentActionType.redirectToURL", message: "Use STPIntentActionType instead") + case redirectToURL + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +@objc public enum STPPaymentIntentSourceActionType : Swift.Int { + case unknown + case authorizeWithURL + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodGiropay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAUBECSDebitParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var accountNumber: Swift.String? + @objc public var bsbNumber: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBLIK : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodSofort : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var country: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodUPIParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var vpa: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPCardParams : ObjectiveC.NSObject, Stripe.STPFormEncodable, Foundation.NSCopying { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc convenience public init(paymentMethodParams: Stripe.STPPaymentMethodParams) + @objc public var number: Swift.String? + @objc public func last4() -> Swift.String? + @objc public var expMonth: Swift.UInt + @objc public var expYear: Swift.UInt + @objc public var cvc: Swift.String? + @objc public var name: Swift.String? { + @objc get + @objc set + } + @objc public var address: Stripe.STPAddress { + @objc get + @objc set + } + @objc public var currency: Swift.String? + @objc public var addressLine1: Swift.String? { + @objc get + @objc set(addressLine1) + } + @objc public var addressLine2: Swift.String? { + @objc get + @objc set(addressLine2) + } + @objc public var addressCity: Swift.String? { + @objc get + @objc set(addressCity) + } + @objc public var addressState: Swift.String? { + @objc get + @objc set(addressState) + } + @objc public var addressZip: Swift.String? { + @objc get + @objc set(addressZip) + } + @objc public var addressCountry: Swift.String? { + @objc get + @objc set(addressCountry) + } + @objc override dynamic public init() + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodAlipay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPFormEncodable : ObjectiveC.NSObjectProtocol { + @objc static func rootObjectName() -> Swift.String? + @objc static func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc var additionalAPIParameters: [Swift.AnyHashable : Any] { get set } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBancontact : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethod : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPPaymentOption { + @objc public var stripeId: Swift.String { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var liveMode: Swift.Bool { + get + } + @objc public var type: Stripe.STPPaymentMethodType { + get + } + @objc public var billingDetails: Stripe.STPPaymentMethodBillingDetails? { + get + } + @objc public var alipay: Stripe.STPPaymentMethodAlipay? { + get + } + @objc public var grabPay: Stripe.STPPaymentMethodGrabPay? { + get + } + @objc public var card: Stripe.STPPaymentMethodCard? { + get + } + @objc public var iDEAL: Stripe.STPPaymentMethodiDEAL? { + get + } + @objc public var fpx: Stripe.STPPaymentMethodFPX? { + get + } + @objc public var cardPresent: Stripe.STPPaymentMethodCardPresent? { + get + } + @objc public var sepaDebit: Stripe.STPPaymentMethodSEPADebit? { + get + } + @objc public var bacsDebit: Stripe.STPPaymentMethodBacsDebit? { + get + } + @objc public var auBECSDebit: Stripe.STPPaymentMethodAUBECSDebit? { + get + } + @objc public var giropay: Stripe.STPPaymentMethodGiropay? { + get + } + @objc public var eps: Stripe.STPPaymentMethodEPS? { + get + } + @objc public var przelewy24: Stripe.STPPaymentMethodPrzelewy24? { + get + } + @objc public var bancontact: Stripe.STPPaymentMethodBancontact? { + get + } + @objc public var netBanking: Stripe.STPPaymentMethodNetBanking? { + get + } + @objc public var oxxo: Stripe.STPPaymentMethodOXXO? { + get + } + @objc public var sofort: Stripe.STPPaymentMethodSofort? { + get + } + @objc public var upi: Stripe.STPPaymentMethodUPI? { + get + } + @objc public var payPal: Stripe.STPPaymentMethodPayPal? { + get + } + @objc public var afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpay? { + get + } + @objc public var blik: Stripe.STPPaymentMethodBLIK? { + get + } + @objc public var boleto: Stripe.STPPaymentMethodBoleto? { + get + } + @objc public var link: Stripe.STPPaymentMethodLink? { + get + } + @objc public var klarna: Stripe.STPPaymentMethodKlarna? { + get + } + @objc public var customerId: Swift.String? { + get + } + @available(*, deprecated, message: "Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardWalletVisaCheckout : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var email: Swift.String? { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var billingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var shippingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodFPXParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var bank: Stripe.STPFPXBankBrand { + @objc get + @objc set(_bank) + } + @objc public var rawBankString: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objc public class STPApplePayPaymentOption : ObjectiveC.NSObject, Stripe.STPPaymentOption { + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +@objc public class STPMandateDataParams : ObjectiveC.NSObject { + @objc final public let customerAcceptance: Stripe.STPMandateCustomerAcceptanceParams + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(customerAcceptance: Stripe.STPMandateCustomerAcceptanceParams) + @objc override dynamic public init() + @objc deinit +} +extension STPMandateDataParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPFPXBankBrand : Swift.Int { + case maybank2U + case CIMB + case publicBank + case RHB + case hongLeongBank + case ambank + case affinBank + case allianceBank + case bankIslam + case bankMuamalat + case bankRakyat + case BSN + case HSBC + case KFH + case maybank2E + case ocbc + case standardChartered + case UOB + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc @_inheritsConvenienceInitializers public class STPFPXBank : ObjectiveC.NSObject { + @objc public static func stringFrom(_ brand: Stripe.STPFPXBankBrand) -> Swift.String? + @objc public static func brandFrom(_ identifier: Swift.String?) -> Stripe.STPFPXBankBrand + @objc public static func identifierFrom(_ brand: Stripe.STPFPXBankBrand) -> Swift.String? + @objc public static func bankCodeFrom(_ brand: Stripe.STPFPXBankBrand, _ isBusiness: Swift.Bool) -> Swift.String? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPCardValidationState : Swift.Int { + case valid + case invalid + case incomplete + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPCardValidator : ObjectiveC.NSObject { + @objc(sanitizedNumericStringForString:) public class func sanitizedNumericString(for string: Swift.String) -> Swift.String + @objc(sanitizedPostalStringForString:) public class func sanitizedPostalString(for string: Swift.String) -> Swift.String + @objc(stringIsNumeric:) public class func stringIsNumeric(_ string: Swift.String) -> Swift.Bool + @objc(validationStateForNumber:validatingCardBrand:) public class func validationState(forNumber cardNumber: Swift.String?, validatingCardBrand: Swift.Bool) -> Stripe.STPCardValidationState + @objc(brandForNumber:) public class func brand(forNumber cardNumber: Swift.String) -> Stripe.STPCardBrand + @objc(lengthsForCardBrand:) public class func lengths(for brand: Stripe.STPCardBrand) -> Swift.Set + @objc(maxLengthForCardBrand:) public class func maxLength(for brand: Stripe.STPCardBrand) -> Swift.Int + @objc(fragmentLengthForCardBrand:) public class func fragmentLength(for brand: Stripe.STPCardBrand) -> Swift.Int + @objc(validationStateForExpirationMonth:) public class func validationState(forExpirationMonth expirationMonth: Swift.String) -> Stripe.STPCardValidationState + @objc(validationStateForExpirationYear:inMonth:) public class func validationState(forExpirationYear expirationYear: Swift.String, inMonth expirationMonth: Swift.String) -> Stripe.STPCardValidationState + @objc(maxCVCLengthForCardBrand:) public class func maxCVCLength(for brand: Stripe.STPCardBrand) -> Swift.UInt + @objc(validationStateForCVC:cardBrand:) public class func validationState(forCVC cvc: Swift.String, cardBrand brand: Stripe.STPCardBrand) -> Stripe.STPCardValidationState + @objc(validationStateForCard:) public class func validationState(forCard card: Stripe.STPCardParams) -> Stripe.STPCardValidationState + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountCompanyParams : ObjectiveC.NSObject { + @objc public var address: Stripe.STPConnectAccountAddress! + @objc public var kanaAddress: Stripe.STPConnectAccountAddress? + @objc public var kanjiAddress: Stripe.STPConnectAccountAddress? + @objc public var directorsProvided: Foundation.NSNumber? + @objc public var name: Swift.String? + @objc public var kanaName: Swift.String? + @objc public var kanjiName: Swift.String? + @objc public var ownersProvided: Foundation.NSNumber? + @objc public var phone: Swift.String? + @objc public var taxID: Swift.String? + @objc public var taxIDRegistrar: Swift.String? + @objc public var vatID: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountCompanyParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardWalletMasterpass : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var email: Swift.String? { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var billingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var shippingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBillingDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var address: Stripe.STPPaymentMethodAddress? + @objc public var email: Swift.String? + @objc public var name: Swift.String? + @objc public var phone: Swift.String? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override required dynamic public init() + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSCustomizationSettings : ObjectiveC.NSObject { + @available(*, deprecated, message: "Use STPThreeDSCustomizationSettings() instead of STPThreeDSCustomizationSettings.defaultSettings().") + @objc public class func defaultSettings() -> Stripe.STPThreeDSCustomizationSettings + @objc public var uiCustomization: Stripe.STPThreeDSUICustomization + @objc public var authenticationTimeout: Swift.Int + @objc override dynamic public init() + @objc deinit +} +@objc public enum STPIntentActionType : Swift.Int { + case unknown + case redirectToURL + case useStripeSDK + case OXXODisplayDetails + case alipayHandleRedirect + case BLIKAuthorize + case weChatPayRedirectToApp + case linkAuthenticateAccount + case boletoDisplayDetails + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPIntentAction : ObjectiveC.NSObject { + @objc final public let type: Stripe.STPIntentActionType + @objc final public let redirectToURL: Stripe.STPIntentActionRedirectToURL? + @objc final public let oxxoDisplayDetails: Stripe.STPIntentActionOXXODisplayDetails? + @objc final public let alipayHandleRedirect: Stripe.STPIntentActionAlipayHandleRedirect? + @objc final public let weChatPayRedirectToApp: Stripe.STPIntentActionWechatPayRedirectToApp? + @objc final public let boletoDisplayDetails: Stripe.STPIntentActionBoletoDisplayDetails? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPIntentAction : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +extension STPIntentAction { + @available(*, deprecated, renamed: "redirectToURL", message: "Use `redirectToURL` instead.") + @objc dynamic public var authorizeWithURL: Stripe.STPIntentActionRedirectToURL? { + @objc get + } +} +@objc public class STPPaymentIntentShippingDetailsAddressParams : ObjectiveC.NSObject { + @objc public var city: Swift.String? + @objc public var country: Swift.String? + @objc public var line1: Swift.String + @objc public var line2: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var state: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(line1: Swift.String) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetailsAddressParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +extension STPPaymentIntentShippingDetailsAddressParams : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc public class STPConfirmWeChatPayOptions : ObjectiveC.NSObject { + @objc public var appId: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc required public init(appId: Swift.String) + @objc deinit + @objc override dynamic public init() +} +extension STPConfirmWeChatPayOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodGiropayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPMultiFormTextField : UIKit.UIView, Stripe.STPFormTextFieldContainer, UIKit.UITextFieldDelegate { + @objc public func textField(_ textField: UIKit.UITextField, shouldChangeCharactersIn range: Foundation.NSRange, replacementString string: Swift.String) -> Swift.Bool + @objc public func focusNextForm() + @objc override dynamic public var canResignFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func resignFirstResponder() -> Swift.Bool + @objc override dynamic public var isFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public var canBecomeFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func becomeFirstResponder() -> Swift.Bool + @objc public func textFieldDidEndEditing(_ textField: UIKit.UITextField) + @objc public func textFieldDidBeginEditing(_ textField: UIKit.UITextField) + @objc public func textFieldShouldReturn(_ textField: UIKit.UITextField) -> Swift.Bool + @objc public var formFont: UIKit.UIFont { + @objc get + @objc set + } + @objc public var formTextColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formTextErrorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formPlaceholderColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formCursorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formKeyboardAppearance: UIKit.UIKeyboardAppearance { + @objc get + @objc set + } + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPImageLibrary : ObjectiveC.NSObject { + @objc public class func applePayCardImage() -> UIKit.UIImage + @objc public class func amexCardImage() -> UIKit.UIImage + @objc public class func dinersClubCardImage() -> UIKit.UIImage + @objc public class func discoverCardImage() -> UIKit.UIImage + @objc public class func jcbCardImage() -> UIKit.UIImage + @objc public class func mastercardCardImage() -> UIKit.UIImage + @objc public class func unionPayCardImage() -> UIKit.UIImage + @objc public class func visaCardImage() -> UIKit.UIImage + @objc public class func unknownCardCardImage() -> UIKit.UIImage + @objc(brandImageForCardBrand:) public class func cardBrandImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc(brandImageForFPXBankBrand:) public class func fpxBrandImage(for brand: Stripe.STPFPXBankBrand) -> UIKit.UIImage + @objc public class func fpxLogo() -> UIKit.UIImage + @objc public class func largeFpxLogo() -> UIKit.UIImage + @objc public class func afterpayLogo() -> UIKit.UIImage + @objc(templatedBrandImageForCardBrand:) public class func templatedBrandImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc(cvcImageForCardBrand:) public class func cvcImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc(errorImageForCardBrand:) public class func errorImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodCardNetworks : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var available: [Swift.String] { + get + } + @objc public var preferred: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPSourceParams : ObjectiveC.NSObject, Stripe.STPFormEncodable, Foundation.NSCopying { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var type: Stripe.STPSourceType { + @objc get + @objc set(type) + } + @objc public var rawTypeString: Swift.String? + @objc public var amount: Foundation.NSNumber? + @objc public var currency: Swift.String? + @objc public var flow: Stripe.STPSourceFlow + @objc public var metadata: [Swift.AnyHashable : Any]? + @objc public var owner: [Swift.AnyHashable : Any]? + @objc public var redirect: [Swift.AnyHashable : Any]? + @objc public var token: Swift.String? + @objc public var usage: Stripe.STPSourceUsage + @objc override required dynamic public init() + @objc deinit +} +extension STPSourceParams { + @objc dynamic public class func bancontactParams(withAmount amount: Swift.Int, name: Swift.String, returnURL: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func cardParams(withCard card: Stripe.STPCardParams) -> Stripe.STPSourceParams + @objc dynamic public class func giropayParams(withAmount amount: Swift.Int, name: Swift.String, returnURL: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func idealParams(withAmount amount: Swift.Int, name: Swift.String?, returnURL: Swift.String, statementDescriptor: Swift.String?, bank: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func sepaDebitParams(withName name: Swift.String, iban: Swift.String, addressLine1: Swift.String?, city: Swift.String?, postalCode: Swift.String?, country: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func sofortParams(withAmount amount: Swift.Int, returnURL: Swift.String, country: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @available(swift, obsoleted: 1.0) + @objc(klarnaParamsWithReturnURL:currency:purchaseCountry:items:customPaymentMethods:billingAddress:billingFirstName:billingLastName:billingDOB:) dynamic public class func objc_klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Foundation.NSNumber], billingAddress address: Stripe.STPAddress?, billingFirstName firstName: Swift.String?, billingLastName lastName: Swift.String?, billingDOB dateOfBirth: Stripe.STPDateOfBirth?) -> Stripe.STPSourceParams + public class func klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Stripe.STPKlarnaPaymentMethods], billingAddress address: Stripe.STPAddress? = nil, billingFirstName firstName: Swift.String? = nil, billingLastName lastName: Swift.String? = nil, billingDOB dateOfBirth: Stripe.STPDateOfBirth? = nil) -> Stripe.STPSourceParams + @available(swift, obsoleted: 1.0) + @objc(klarnaParamsWithReturnURL:currency:purchaseCountry:items:customPaymentMethods:) dynamic public class func objc_klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Foundation.NSNumber]) -> Stripe.STPSourceParams + public class func klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Stripe.STPKlarnaPaymentMethods]) -> Stripe.STPSourceParams + @objc dynamic public class func threeDSecureParams(withAmount amount: Swift.Int, currency: Swift.String, returnURL: Swift.String, card: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func alipayParams(withAmount amount: Swift.Int, currency: Swift.String, returnURL: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func alipayReusableParams(withCurrency currency: Swift.String, returnURL: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func p24Params(withAmount amount: Swift.Int, currency: Swift.String, email: Swift.String, name: Swift.String?, returnURL: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func visaCheckoutParams(withCallId callId: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func masterpassParams(withCartId cartId: Swift.String, transactionId: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func epsParams(withAmount amount: Swift.Int, name: Swift.String, returnURL: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func multibancoParams(withAmount amount: Swift.Int, returnURL: Swift.String, email: Swift.String) -> Stripe.STPSourceParams + @objc(wechatPayParamsWithAmount:currency:appId:statementDescriptor:) dynamic public class func wechatPay(withAmount amount: Swift.Int, currency: Swift.String, appId: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc dynamic public func redirectDictionaryWithMerchantNameIfNecessary() -> [Swift.AnyHashable : Any] + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc public enum STPThreeDSCustomizationButtonType : Swift.Int { + case submit = 0 + case `continue` = 1 + case next = 2 + case cancel = 3 + case resend = 4 + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPThreeDSButtonTitleStyle : Swift.Int { + case `default` + case uppercase + case lowercase + case sentenceCapitalized + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public class STPThreeDSButtonCustomization : ObjectiveC.NSObject { + @objc(defaultSettingsForButtonType:) public class func defaultSettings(for type: Stripe.STPThreeDSCustomizationButtonType) -> Stripe.STPThreeDSButtonCustomization + @objc public init(backgroundColor: UIKit.UIColor, cornerRadius: CoreGraphics.CGFloat) + @objc public var backgroundColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var cornerRadius: CoreGraphics.CGFloat { + @objc get + @objc set + } + @objc public var titleStyle: Stripe.STPThreeDSButtonTitleStyle { + @objc get + @objc set + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPPaymentIntentCaptureMethod : Swift.Int { + case unknown + case automatic + case manual + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentIntentConfirmationMethod : Swift.Int { + case unknown + case manual + case automatic + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntent : ObjectiveC.NSObject { + @objc final public let stripeId: Swift.String + @objc final public let clientSecret: Swift.String + @objc final public let amount: Swift.Int + @objc final public let canceledAt: Foundation.Date? + @objc final public let captureMethod: Stripe.STPPaymentIntentCaptureMethod + @objc final public let confirmationMethod: Stripe.STPPaymentIntentConfirmationMethod + @objc final public let created: Foundation.Date + @objc final public let currency: Swift.String + @objc final public let stripeDescription: Swift.String? + @objc final public let livemode: Swift.Bool + @objc final public let nextAction: Stripe.STPIntentAction? + @objc final public let receiptEmail: Swift.String? + @objc final public let sourceId: Swift.String? + @objc final public let paymentMethodId: Swift.String? + @objc final public let status: Stripe.STPPaymentIntentStatus + @objc final public let paymentMethodTypes: [Foundation.NSNumber] + @objc final public let setupFutureUsage: Stripe.STPPaymentIntentSetupFutureUsage + @objc final public let lastPaymentError: Stripe.STPPaymentIntentLastPaymentError? + @objc final public let shipping: Stripe.STPPaymentIntentShippingDetails? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntent : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +extension STPPaymentIntent { + @available(*, deprecated, renamed: "nextAction", message: "Use nextAction instead") + @objc dynamic public var nextSourceAction: Stripe.STPIntentAction? { + @objc get + } +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSFooterCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSFooterCustomization + @objc public var backgroundColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var chevronColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var headingTextColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var headingFont: UIKit.UIFont { + @objc get + @objc set + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc deinit + @objc override dynamic public init() +} +extension STPAPIClient { + public func createRadarSession(completion: @escaping Stripe.STPRadarSessionCompletionBlock) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, unavailable, renamed: "STPIntentActionRedirectToURL", message: "Use `STPIntentActionRedirectToURL` instead.") +@objc final public class STPPaymentIntentActionRedirectToURL : Stripe.STPIntentActionRedirectToURL { + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPShippingAddressViewController : Stripe.STPCoreTableViewController { + @objc convenience dynamic public init() + @objc(initWithPaymentContext:) convenience public init(paymentContext: Stripe.STPPaymentContext) + @objc(initWithConfiguration:theme:currency:shippingAddress:selectedShippingMethod:prefilledInformation:) public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme, currency: Swift.String?, shippingAddress: Stripe.STPAddress?, selectedShippingMethod: PassKit.PKShippingMethod?, prefilledInformation: Stripe.STPUserInformation?) + @objc weak public var delegate: Stripe.STPShippingAddressViewControllerDelegate? + @objc(dismissWithCompletion:) public func dismiss(withCompletion completion: StripeApplePay.STPVoidBlock?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required public init(theme: Stripe.STPTheme?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool) + @objc override public func tableView(_ tableView: UIKit.UITableView, heightForHeaderInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc deinit +} +@objc public protocol STPShippingAddressViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc func shippingAddressViewControllerDidCancel(_ addressViewController: Stripe.STPShippingAddressViewController) + @objc(shippingAddressViewController:didEnterAddress:completion:) func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didEnter address: Stripe.STPAddress, completion: @escaping Stripe.STPShippingMethodsCompletionBlock) + @objc(shippingAddressViewController:didFinishWithAddress:shippingMethod:) func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didFinishWith address: Stripe.STPAddress, shippingMethod method: PassKit.PKShippingMethod?) +} +extension STPShippingAddressViewController : UIKit.UITableViewDelegate, UIKit.UITableViewDataSource { + @objc dynamic public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, willDisplay cell: UIKit.UITableViewCell, forRowAt indexPath: Foundation.IndexPath) + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, viewForFooterInSection section: Swift.Int) -> UIKit.UIView? + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, viewForHeaderInSection section: Swift.Int) -> UIKit.UIView? +} +@objc public enum STPPaymentMethodCardCheckResult : Swift.Int { + case pass + case failed + case unavailable + case unchecked + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardChecks : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @available(*, deprecated, message: "Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var addressLine1Check: Stripe.STPPaymentMethodCardCheckResult { + get + } + @available(*, deprecated, message: "Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var addressPostalCodeCheck: Stripe.STPPaymentMethodCardCheckResult { + get + } + @available(*, deprecated, message: "Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var cvcCheck: Stripe.STPPaymentMethodCardCheckResult { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +extension STPBankAccountHolderType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPBankAccountStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPBankSelectionMethod : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPBillingAddressFields : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardBrand : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardFormViewStyle : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardFundingType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardValidationState : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPConnectAccountBusinessType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPFPXBankBrand : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPFilePurpose : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPIntentActionType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPKlarnaLineItemType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPKlarnaPaymentMethods : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPMandateCustomerAcceptanceType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentHandlerActionStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentHandlerErrorCode : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentActionType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentCaptureMethod : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentConfirmationMethod : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentLastPaymentErrorType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentSetupFutureUsage : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension STPPaymentIntentSourceActionType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentMethodCardCheckResult : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentMethodCardWalletType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentMethodType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPinStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPRedirectContextError : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPRedirectContextState : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSetupIntentLastSetupErrorType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSetupIntentStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSetupIntentUsage : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPShippingStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPShippingType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceCard3DSecureStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceFlow : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceRedirectStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceUsage : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceVerificationStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPThreeDSButtonTitleStyle : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPThreeDSCustomizationButtonType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPTokenType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +@objc public enum STPTokenType : Swift.Int { + case account = 0 + case bankAccount + case card + case PII + case cvcUpdate + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPToken : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPSourceProtocol { + @objc public var tokenId: Swift.String { + get + } + @objc public var livemode: Swift.Bool { + get + } + @objc public var type: Stripe.STPTokenType { + get + } + @objc public var card: Stripe.STPCard? { + get + } + @objc public var bankAccount: Stripe.STPBankAccount? { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public var debugDescription: Swift.String { + @objc get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc public var stripeID: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@_inheritsConvenienceInitializers @objc public class STPPaymentMethodBLIKParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPCoreScrollViewController : Stripe.STPCoreViewController { + @objc public var scrollView: UIKit.UIScrollView { + @objc get + @objc set + } + @objc override dynamic public func viewDidLoad() + @objc override dynamic public func viewDidLayoutSubviews() + @objc required public init(theme: Stripe.STPTheme?) + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc deinit +} +@objc public enum STPSourceFlow : Swift.Int { + case none + case redirect + case codeVerification + case receiver + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPSourceUsage : Swift.Int { + case reusable + case singleUse + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPSourceStatus : Swift.Int { + case pending + case chargeable + case consumed + case canceled + case failed + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPSourceType : Swift.Int { + case bancontact + case card + case giropay + @objc(STPSourceTypeiDEAL) case iDEAL + case SEPADebit + case sofort + case threeDSecure + case alipay + case P24 + case EPS + case multibanco + case weChatPay + case klarna + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPKlarnaPaymentMethods : Swift.Int { + case none + case payIn4 + case installments + case payIn4OrInstallments + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountIndividualParams : ObjectiveC.NSObject { + @objc public var address: Stripe.STPConnectAccountAddress? + @objc public var kanaAddress: Stripe.STPConnectAccountAddress? + @objc public var kanjiAddress: Stripe.STPConnectAccountAddress? + @objc public var dateOfBirth: Foundation.DateComponents? + @objc public var email: Swift.String? + @objc public var firstName: Swift.String? + @objc public var kanaFirstName: Swift.String? + @objc public var kanjiFirstName: Swift.String? + @objc public var gender: Swift.String? + @objc public var idNumber: Swift.String? + @objc public var lastName: Swift.String? + @objc public var kanaLastName: Swift.String? + @objc public var kanjiLastName: Swift.String? + @objc public var maidenName: Swift.String? + @objc public var metadata: [Swift.AnyHashable : Any]? + @objc public var phone: Swift.String? + @objc public var ssnLast4: Swift.String? + @objc public var verification: Stripe.STPConnectAccountIndividualVerification? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountIndividualParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountIndividualVerification : ObjectiveC.NSObject { + @objc public var document: Stripe.STPConnectAccountVerificationDocument? + @objc public var additionalDocument: Stripe.STPConnectAccountVerificationDocument? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountIndividualVerification : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountVerificationDocument : ObjectiveC.NSObject { + @objc public var back: Swift.String? + @objc public var front: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountVerificationDocument : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPDateOfBirth : ObjectiveC.NSObject { + @objc public var day: Swift.Int + @objc public var month: Swift.Int + @objc public var year: Swift.Int + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc deinit + @objc override dynamic public init() +} +extension STPDateOfBirth : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionRedirectToURL : ObjectiveC.NSObject { + @objc final public let url: Foundation.URL + @objc final public let returnURL: Foundation.URL? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPIntentActionRedirectToURL : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodGrabPayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +extension Stripe.STPSourceVerificationStatus : Swift.Equatable {} +extension Stripe.STPSourceVerificationStatus : Swift.Hashable {} +extension Stripe.STPSourceVerificationStatus : Swift.RawRepresentable {} +extension Stripe.STPBankSelectionMethod : Swift.Equatable {} +extension Stripe.STPBankSelectionMethod : Swift.Hashable {} +extension Stripe.STPBankSelectionMethod : Swift.RawRepresentable {} +extension Stripe.STPBankAccountHolderType : Swift.Equatable {} +extension Stripe.STPBankAccountHolderType : Swift.Hashable {} +extension Stripe.STPBankAccountHolderType : Swift.RawRepresentable {} +extension Stripe.STPSetupIntentStatus : Swift.Equatable {} +extension Stripe.STPSetupIntentStatus : Swift.Hashable {} +extension Stripe.STPSetupIntentStatus : Swift.RawRepresentable {} +extension Stripe.STPSetupIntentUsage : Swift.Equatable {} +extension Stripe.STPSetupIntentUsage : Swift.Hashable {} +extension Stripe.STPSetupIntentUsage : Swift.RawRepresentable {} +extension Stripe.STPConnectAccountBusinessType : Swift.Equatable {} +extension Stripe.STPConnectAccountBusinessType : Swift.Hashable {} +extension Stripe.STPConnectAccountBusinessType : Swift.RawRepresentable {} +extension Stripe.STPShippingType : Swift.Equatable {} +extension Stripe.STPShippingType : Swift.Hashable {} +extension Stripe.STPShippingType : Swift.RawRepresentable {} +extension Stripe.STPShippingStatus : Swift.Equatable {} +extension Stripe.STPShippingStatus : Swift.Hashable {} +extension Stripe.STPShippingStatus : Swift.RawRepresentable {} +extension Stripe.STPPaymentStatus : Swift.Equatable {} +extension Stripe.STPPaymentStatus : Swift.Hashable {} +extension Stripe.STPPaymentStatus : Swift.RawRepresentable {} +extension Stripe.STPPinStatus : Swift.Equatable {} +extension Stripe.STPPinStatus : Swift.Hashable {} +extension Stripe.STPPinStatus : Swift.RawRepresentable {} +extension Stripe.STPRedirectContextError : Swift.Equatable {} +extension Stripe.STPRedirectContextError : Swift.Hashable {} +extension Stripe.STPRedirectContextError : Swift.RawRepresentable {} +extension Stripe.STPRedirectContextState : Swift.Equatable {} +extension Stripe.STPRedirectContextState : Swift.Hashable {} +extension Stripe.STPRedirectContextState : Swift.RawRepresentable {} +extension Stripe.STPKlarnaLineItemType : Swift.Equatable {} +extension Stripe.STPKlarnaLineItemType : Swift.Hashable {} +extension Stripe.STPKlarnaLineItemType : Swift.RawRepresentable {} +extension Stripe.STPPaymentMethodType : Swift.Equatable {} +extension Stripe.STPPaymentMethodType : Swift.Hashable {} +extension Stripe.STPPaymentMethodType : Swift.RawRepresentable {} +extension Stripe.STPPaymentCardTextField : UIKit.UITextFieldDelegate {} +extension Stripe.STPSourceRedirectStatus : Swift.Equatable {} +extension Stripe.STPSourceRedirectStatus : Swift.Hashable {} +extension Stripe.STPSourceRedirectStatus : Swift.RawRepresentable {} +extension Stripe.STPFilePurpose : Swift.Equatable {} +extension Stripe.STPFilePurpose : Swift.Hashable {} +extension Stripe.STPFilePurpose : Swift.RawRepresentable {} +extension Stripe.STPPaymentHandlerActionStatus : Swift.Equatable {} +extension Stripe.STPPaymentHandlerActionStatus : Swift.Hashable {} +extension Stripe.STPPaymentHandlerActionStatus : Swift.RawRepresentable {} +extension Stripe.STPPaymentHandlerErrorCode : Swift.Equatable {} +extension Stripe.STPPaymentHandlerErrorCode : Swift.Hashable {} +extension Stripe.STPPaymentHandlerErrorCode : Swift.RawRepresentable {} +extension Stripe.STPSourceCard3DSecureStatus : Swift.Equatable {} +extension Stripe.STPSourceCard3DSecureStatus : Swift.Hashable {} +extension Stripe.STPSourceCard3DSecureStatus : Swift.RawRepresentable {} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +extension Stripe._stpobjc_STPErrorCode : Swift.Equatable {} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +extension Stripe._stpobjc_STPErrorCode : Swift.Hashable {} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +extension Stripe._stpobjc_STPErrorCode : Swift.RawRepresentable {} +extension Stripe.STPCardFundingType : Swift.Equatable {} +extension Stripe.STPCardFundingType : Swift.Hashable {} +extension Stripe.STPCardFundingType : Swift.RawRepresentable {} +extension Stripe.STPPaymentMethodCardWalletType : Swift.Equatable {} +extension Stripe.STPPaymentMethodCardWalletType : Swift.Hashable {} +extension Stripe.STPPaymentMethodCardWalletType : Swift.RawRepresentable {} +@available(iOS 13.0, *) +extension Stripe.PaymentSheet.UserInterfaceStyle : Swift.Equatable {} +@available(iOS 13.0, *) +extension Stripe.PaymentSheet.UserInterfaceStyle : Swift.Hashable {} +@available(iOS 13.0, *) +extension Stripe.PaymentSheet.UserInterfaceStyle : Swift.RawRepresentable {} +extension Stripe.PaymentSheet.SavePaymentMethodOptInBehavior : Swift.Equatable {} +extension Stripe.PaymentSheet.SavePaymentMethodOptInBehavior : Swift.Hashable {} +extension Stripe.STPCardBrand : Swift.Equatable {} +extension Stripe.STPCardBrand : Swift.Hashable {} +extension Stripe.STPCardBrand : Swift.RawRepresentable {} +extension Stripe.STPBankAccountStatus : Swift.Equatable {} +extension Stripe.STPBankAccountStatus : Swift.Hashable {} +extension Stripe.STPBankAccountStatus : Swift.RawRepresentable {} +extension Stripe.STPMandateCustomerAcceptanceType : Swift.Equatable {} +extension Stripe.STPMandateCustomerAcceptanceType : Swift.Hashable {} +extension Stripe.STPMandateCustomerAcceptanceType : Swift.RawRepresentable {} +extension Stripe.STPBillingAddressFields : Swift.Equatable {} +extension Stripe.STPBillingAddressFields : Swift.Hashable {} +extension Stripe.STPBillingAddressFields : Swift.RawRepresentable {} +extension Stripe.STPCardFormViewStyle : Swift.Equatable {} +extension Stripe.STPCardFormViewStyle : Swift.Hashable {} +extension Stripe.STPCardFormViewStyle : Swift.RawRepresentable {} +extension Stripe.STPSetupIntentLastSetupErrorType : Swift.Equatable {} +extension Stripe.STPSetupIntentLastSetupErrorType : Swift.Hashable {} +extension Stripe.STPSetupIntentLastSetupErrorType : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentLastPaymentErrorType : Swift.Equatable {} +extension Stripe.STPPaymentIntentLastPaymentErrorType : Swift.Hashable {} +extension Stripe.STPPaymentIntentLastPaymentErrorType : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentStatus : Swift.Equatable {} +extension Stripe.STPPaymentIntentStatus : Swift.Hashable {} +extension Stripe.STPPaymentIntentStatus : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentSetupFutureUsage : Swift.Equatable {} +extension Stripe.STPPaymentIntentSetupFutureUsage : Swift.Hashable {} +extension Stripe.STPPaymentIntentSetupFutureUsage : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentActionType : Swift.Equatable {} +extension Stripe.STPPaymentIntentActionType : Swift.Hashable {} +extension Stripe.STPPaymentIntentActionType : Swift.RawRepresentable {} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension Stripe.STPPaymentIntentSourceActionType : Swift.Equatable {} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension Stripe.STPPaymentIntentSourceActionType : Swift.Hashable {} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension Stripe.STPPaymentIntentSourceActionType : Swift.RawRepresentable {} +extension Stripe.STPFPXBankBrand : Swift.Equatable {} +extension Stripe.STPFPXBankBrand : Swift.Hashable {} +extension Stripe.STPFPXBankBrand : Swift.RawRepresentable {} +extension Stripe.STPCardValidationState : Swift.Equatable {} +extension Stripe.STPCardValidationState : Swift.Hashable {} +extension Stripe.STPCardValidationState : Swift.RawRepresentable {} +extension Stripe.STPIntentActionType : Swift.Equatable {} +extension Stripe.STPIntentActionType : Swift.Hashable {} +extension Stripe.STPIntentActionType : Swift.RawRepresentable {} +extension Stripe.STPThreeDSCustomizationButtonType : Swift.Equatable {} +extension Stripe.STPThreeDSCustomizationButtonType : Swift.Hashable {} +extension Stripe.STPThreeDSCustomizationButtonType : Swift.RawRepresentable {} +extension Stripe.STPThreeDSButtonTitleStyle : Swift.Equatable {} +extension Stripe.STPThreeDSButtonTitleStyle : Swift.Hashable {} +extension Stripe.STPThreeDSButtonTitleStyle : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentCaptureMethod : Swift.Equatable {} +extension Stripe.STPPaymentIntentCaptureMethod : Swift.Hashable {} +extension Stripe.STPPaymentIntentCaptureMethod : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentConfirmationMethod : Swift.Equatable {} +extension Stripe.STPPaymentIntentConfirmationMethod : Swift.Hashable {} +extension Stripe.STPPaymentIntentConfirmationMethod : Swift.RawRepresentable {} +extension Stripe.STPPaymentMethodCardCheckResult : Swift.Equatable {} +extension Stripe.STPPaymentMethodCardCheckResult : Swift.Hashable {} +extension Stripe.STPPaymentMethodCardCheckResult : Swift.RawRepresentable {} +extension Stripe.STPKlarnaPaymentMethods : Swift.Equatable {} +extension Stripe.STPKlarnaPaymentMethods : Swift.Hashable {} +extension Stripe.STPKlarnaPaymentMethods : Swift.RawRepresentable {} +extension Stripe.STPSourceFlow : Swift.Equatable {} +extension Stripe.STPSourceFlow : Swift.Hashable {} +extension Stripe.STPSourceFlow : Swift.RawRepresentable {} +extension Stripe.STPSourceStatus : Swift.Equatable {} +extension Stripe.STPSourceStatus : Swift.Hashable {} +extension Stripe.STPSourceStatus : Swift.RawRepresentable {} +extension Stripe.STPSourceType : Swift.Equatable {} +extension Stripe.STPSourceType : Swift.Hashable {} +extension Stripe.STPSourceType : Swift.RawRepresentable {} +extension Stripe.STPSourceUsage : Swift.Equatable {} +extension Stripe.STPSourceUsage : Swift.Hashable {} +extension Stripe.STPSourceUsage : Swift.RawRepresentable {} +extension Stripe.STPTokenType : Swift.Equatable {} +extension Stripe.STPTokenType : Swift.Hashable {} +extension Stripe.STPTokenType : Swift.RawRepresentable {} diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Modules/Stripe.swiftmodule/x86_64.swiftdoc b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Modules/Stripe.swiftmodule/x86_64.swiftdoc new file mode 100644 index 0000000..1acbd5a Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Modules/Stripe.swiftmodule/x86_64.swiftdoc differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Modules/Stripe.swiftmodule/x86_64.swiftinterface b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Modules/Stripe.swiftmodule/x86_64.swiftinterface new file mode 100644 index 0000000..d1e2da7 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Modules/Stripe.swiftmodule/x86_64.swiftinterface @@ -0,0 +1,4764 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target x86_64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name Stripe +import AVFoundation +import CommonCrypto +import Contacts +import CoreLocation +import Foundation +import ObjectiveC +import PassKit +import SafariServices +import Security +@_exported import Stripe +import Stripe3DS2 +@_exported import StripeApplePay +@_exported import StripeCore +import StripeUICore +import Swift +import SwiftUI +import UIKit +import Vision +extension STPAPIClient { + public var configuration: Stripe.STPPaymentConfiguration { + get + set + } + @available(*, deprecated, message: "This initializer previously configured publishableKey and stripeAccount via the STPPaymentConfiguration instance. This behavior is deprecated; set the STPAPIClient configuration, publishableKey, and stripeAccount properties directly on the STPAPIClient instead.") + convenience public init(configuration: Stripe.STPPaymentConfiguration) +} +extension STPAPIClient { + public func createToken(withBankAccount bankAccount: Stripe.STPBankAccountParams, completion: @escaping Stripe.STPTokenCompletionBlock) +} +extension STPAPIClient { + public func createToken(withPersonalIDNumber pii: Swift.String, completion: Stripe.STPTokenCompletionBlock?) + public func createToken(withSSNLast4 ssnLast4: Swift.String, completion: @escaping Stripe.STPTokenCompletionBlock) +} +extension STPAPIClient { + public func createToken(withConnectAccount account: Stripe.STPConnectAccountParams, completion: Stripe.STPTokenCompletionBlock?) +} +extension STPAPIClient { + public func uploadImage(_ image: UIKit.UIImage, purpose: Stripe.STPFilePurpose, completion: Stripe.STPFileCompletionBlock?) +} +extension STPAPIClient { + public func createToken(withCard cardParams: Stripe.STPCardParams, completion: @escaping Stripe.STPTokenCompletionBlock) + public func createToken(forCVCUpdate cvc: Swift.String, completion: Stripe.STPTokenCompletionBlock? = nil) +} +extension STPAPIClient { + public func createSource(with sourceParams: Stripe.STPSourceParams, completion: @escaping Stripe.STPSourceCompletionBlock) + public func retrieveSource(withId identifier: Swift.String, clientSecret secret: Swift.String, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public func startPollingSource(withId identifier: Swift.String, clientSecret secret: Swift.String, timeout: Foundation.TimeInterval, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public func stopPollingSource(withId identifier: Swift.String) +} +extension STPAPIClient { + public func retrievePaymentIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + public func retrievePaymentIntent(withClientSecret secret: Swift.String, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) +} +extension STPAPIClient { + public func retrieveSetupIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPSetupIntentCompletionBlock) + public func confirmSetupIntent(with setupIntentParams: Stripe.STPSetupIntentConfirmParams, completion: @escaping Stripe.STPSetupIntentCompletionBlock) +} +extension STPAPIClient { + public func createPaymentMethod(with paymentMethodParams: Stripe.STPPaymentMethodParams, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSLabelCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSLabelCustomization + @objc public var headingFont: UIKit.UIFont { + @objc get + @objc set(headingFont) + } + @objc public var headingTextColor: UIKit.UIColor { + @objc get + @objc set(headingTextColor) + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set(textColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodUPI : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var vpa: Swift.String { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPSourceVerificationStatus : Swift.Int { + case pending + case succeeded + case failed + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceVerification : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var attemptsRemaining: Foundation.NSNumber? { + get + } + @objc public var status: Stripe.STPSourceVerificationStatus { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodOXXO : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public enum STPBankSelectionMethod : Swift.Int { + case FPX + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPBankSelectionViewController : Stripe.STPCoreTableViewController, UIKit.UITableViewDataSource, UIKit.UITableViewDelegate { + @objc convenience public init(bankMethod: Stripe.STPBankSelectionMethod) + @objc convenience required public init(theme: Stripe.STPTheme?) + @objc public init(bankMethod: Stripe.STPBankSelectionMethod, configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc weak public var delegate: Stripe.STPBankSelectionViewControllerDelegate? + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc deinit + @objc public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell + @objc public func tableView(_ tableView: UIKit.UITableView, willDisplay cell: UIKit.UITableViewCell, forRowAt indexPath: Foundation.IndexPath) + @objc public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc public func tableView(_ tableView: UIKit.UITableView, shouldHighlightRowAt indexPath: Foundation.IndexPath) -> Swift.Bool + @objc public func tableView(_ tableView: UIKit.UITableView, didSelectRowAt indexPath: Foundation.IndexPath) +} +@objc public protocol STPBankSelectionViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc(bankSelectionViewController:didCreatePaymentMethodParams:) func bankSelectionViewController(_ bankViewController: Stripe.STPBankSelectionViewController, didCreatePaymentMethodParams paymentMethodParams: Stripe.STPPaymentMethodParams) +} +@objc @_inheritsConvenienceInitializers public class STPSetupIntentConfirmParams : ObjectiveC.NSObject, Foundation.NSCopying, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(clientSecret: Swift.String) + @objc public var clientSecret: Swift.String + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? + @objc public var paymentMethodID: Swift.String? + @objc public var returnURL: Swift.String? + @objc public var useStripeSDK: Foundation.NSNumber? + @objc public var mandateData: Stripe.STPMandateDataParams? { + @objc get + @objc set(newMandateData) + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSUICustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSUICustomization + @objc public var navigationBarCustomization: Stripe.STPThreeDSNavigationBarCustomization { + @objc get + @objc set(navigationBarCustomization) + } + @objc public var labelCustomization: Stripe.STPThreeDSLabelCustomization { + @objc get + @objc set(labelCustomization) + } + @objc public var textFieldCustomization: Stripe.STPThreeDSTextFieldCustomization { + @objc get + @objc set(textFieldCustomization) + } + @objc public var backgroundColor: UIKit.UIColor { + @objc get + @objc set(backgroundColor) + } + @objc public var footerCustomization: Stripe.STPThreeDSFooterCustomization { + @objc get + @objc set(footerCustomization) + } + @objc(setButtonCustomization:forType:) public func setButtonCustomization(_ buttonCustomization: Stripe.STPThreeDSButtonCustomization, for buttonType: Stripe.STPThreeDSCustomizationButtonType) + @objc(buttonCustomizationForButtonType:) public func buttonCustomization(for buttonType: Stripe.STPThreeDSCustomizationButtonType) -> Stripe.STPThreeDSButtonCustomization + @objc public var selectionCustomization: Stripe.STPThreeDSSelectionCustomization { + @objc get + @objc set(selectionCustomization) + } + @objc public var activityIndicatorViewStyle: UIKit.UIActivityIndicatorView.Style { + @objc get + @objc set(activityIndicatorViewStyle) + } + @objc public var blurStyle: UIKit.UIBlurEffect.Style { + @objc get + @objc set(blurStyle) + } + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceWeChatPayDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var weChatAppURL: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@_inheritsConvenienceInitializers @available(swift, obsoleted: 0.0.1, message: "Use 'StripeAPI' instead.") +@objc(StripeAPI) public class _stpobjc_StripeAPI : ObjectiveC.NSObject { + @objc public static var defaultPublishableKey: Swift.String? { + @objc get + @objc set + } + @objc public static var advancedFraudSignalsEnabled: Swift.Bool { + @objc get + @objc set + } + @objc public static var maxRetries: Swift.Int { + @objc get + @objc set + } + @discardableResult + @objc(handleStripeURLCallbackWithURL:) public static func handleURLCallback(with url: Foundation.URL) -> Swift.Bool + @objc public class var jcbPaymentNetworkSupported: Swift.Bool { + @objc get + @objc set + } + @objc public static var additionalEnabledApplePayNetworks: [PassKit.PKPaymentNetwork] { + @objc get + @objc set + } + @objc public class func canSubmitPaymentRequest(_ paymentRequest: PassKit.PKPaymentRequest) -> Swift.Bool + @objc dynamic public class func deviceSupportsApplePay() -> Swift.Bool + @available(*, deprecated, message: "Use `paymentRequestWithMerchantIdentifier:country:currency:` instead.") + @objc public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String) -> PassKit.PKPaymentRequest + @objc public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String, country countryCode: Swift.String, currency currencyCode: Swift.String) -> PassKit.PKPaymentRequest + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPBankAccountHolderType : Swift.Int { + case individual + case company + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPBankAccountParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var accountNumber: Swift.String? + @objc public var last4: Swift.String? { + @objc get + } + @objc public var routingNumber: Swift.String? + @objc public var country: Swift.String? + @objc public var currency: Swift.String? + @objc public var accountHolderName: Swift.String? + @objc public var accountHolderType: Stripe.STPBankAccountHolderType + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public init() + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit +} +@objc public class STPMandateOnlineParams : ObjectiveC.NSObject { + @objc final public let ipAddress: Swift.String + @objc final public let userAgent: Swift.String + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc(initWithIPAddress:userAgent:) public init(ipAddress: Swift.String, userAgent: Swift.String) + @objc override dynamic public init() + @objc deinit +} +extension STPMandateOnlineParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPSetupIntentStatus : Swift.Int { + case unknown + case requiresPaymentMethod + case requiresConfirmation + case requiresAction + case processing + case succeeded + case canceled + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPSetupIntentUsage : Swift.Int { + case unknown + case none + case onSession + case offSession + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionAlipayHandleRedirect : ObjectiveC.NSObject { + @objc final public let nativeURL: Foundation.URL? + @objc final public let returnURL: Foundation.URL + @objc final public let url: Foundation.URL + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPIntentActionAlipayHandleRedirect : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_hasMissingDesignatedInitializers open class STPCustomerContext : ObjectiveC.NSObject, Stripe.STPBackendAPIAdapter { + @objc(initWithKeyProvider:) convenience public init(keyProvider: Stripe.STPCustomerEphemeralKeyProvider) + convenience public init(keyProvider: Stripe.STPCustomerEphemeralKeyProvider?, apiClient: StripeCore.STPAPIClient) + @available(swift, deprecated: 0.0.1, renamed: "init(keyProvider:apiClient:)") + @objc(initWithKeyProvider:apiClient:) convenience public init(keyProvider: Stripe.STPCustomerEphemeralKeyProvider?, apiClient: Stripe._stpobjc_STPAPIClient) + @objc public func clearCache() + @objc public var includeApplePayPaymentMethods: Swift.Bool { + @objc get + @objc set(includeApplePayMethods) + } + @objc public func retrieveCustomer(_ completion: Stripe.STPCustomerCompletionBlock? = nil) + @objc public func updateCustomer(withShippingAddress shipping: Stripe.STPAddress, completion: Stripe.STPErrorBlock?) + @objc public func attachPaymentMethodToCustomer(paymentMethodId: Swift.String, completion: Stripe.STPErrorBlock?) + @objc public func attachPaymentMethod(toCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc public func detachPaymentMethodFromCustomer(paymentMethodId: Swift.String, completion: Stripe.STPErrorBlock?) + @objc public func detachPaymentMethod(fromCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc public func listPaymentMethodsForCustomer(completion: Stripe.STPPaymentMethodsCompletionBlock? = nil) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodLinkParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodEPS : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPConnectAccountBusinessType : Swift.Int { + case individual + case company + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public class STPConnectAccountParams : ObjectiveC.NSObject { + @objc final public let tosShownAndAccepted: Foundation.NSNumber? + @objc final public let businessType: Stripe.STPConnectAccountBusinessType + @objc final public let individual: Stripe.STPConnectAccountIndividualParams? + @objc final public let company: Stripe.STPConnectAccountCompanyParams? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init?(tosShownAndAccepted wasAccepted: Swift.Bool, individual: Stripe.STPConnectAccountIndividualParams) + @objc public init?(tosShownAndAccepted wasAccepted: Swift.Bool, company: Stripe.STPConnectAccountCompanyParams) + @objc public init(individual: Stripe.STPConnectAccountIndividualParams) + @objc public init(company: Stripe.STPConnectAccountCompanyParams) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountParams : Stripe.STPFormEncodable { + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodFPX : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var bankIdentifierCode: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPCoreTableViewController : Stripe.STPCoreScrollViewController { + @objc public var tableView: UIKit.UITableView? { + @objc get + } + @objc override dynamic public func viewWillAppear(_ animated: Swift.Bool) + @objc public func tableView(_ tableView: UIKit.UITableView, heightForHeaderInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc required public init(theme: Stripe.STPTheme?) + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc deinit +} +@objc public enum STPShippingType : Swift.Int { + case shipping + case delivery + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPShippingStatus : Swift.Int { + case valid + case invalid + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentStatus : Swift.Int { + case success + case error + case userCancellation + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPErrorBlock = (Swift.Error?) -> Swift.Void +public typealias STPBooleanSuccessBlock = (Swift.Bool, Swift.Error?) -> Swift.Void +public typealias STPJSONResponseCompletionBlock = ([Swift.AnyHashable : Any]?, Swift.Error?) -> Swift.Void +public typealias STPTokenCompletionBlock = (Stripe.STPToken?, Swift.Error?) -> Swift.Void +public typealias STPSourceCompletionBlock = (Stripe.STPSource?, Swift.Error?) -> Swift.Void +public typealias STPSourceProtocolCompletionBlock = (Stripe.STPSourceProtocol?, Swift.Error?) -> Swift.Void +public typealias STPPaymentIntentCompletionBlock = (Stripe.STPPaymentIntent?, Swift.Error?) -> Swift.Void +public typealias STPSetupIntentCompletionBlock = (Stripe.STPSetupIntent?, Swift.Error?) -> Swift.Void +public typealias STPPaymentMethodCompletionBlock = (Stripe.STPPaymentMethod?, Swift.Error?) -> Swift.Void +public typealias STPPaymentMethodsCompletionBlock = ([Stripe.STPPaymentMethod]?, Swift.Error?) -> Swift.Void +public typealias STPShippingMethodsCompletionBlock = (Stripe.STPShippingStatus, Swift.Error?, [PassKit.PKShippingMethod]?, PassKit.PKShippingMethod?) -> Swift.Void +public typealias STPFileCompletionBlock = (Stripe.STPFile?, Swift.Error?) -> Swift.Void +public typealias STPCustomerCompletionBlock = (Stripe.STPCustomer?, Swift.Error?) -> Swift.Void +@objc public enum STPPinStatus : Swift.Int { + case success + case errorVerificationAlreadyRedeemed + case errorVerificationCodeIncorrect + case errorVerificationExpired + case errorVerificationTooManyAttempts + case ephemeralKeyError + case unknownError + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPPinCompletionBlock = (Stripe.STPIssuingCardPin?, Stripe.STPPinStatus, Swift.Error?) -> Swift.Void +public typealias STPPaymentStatusBlock = (Stripe.STPPaymentStatus, Swift.Error?) -> Swift.Void +public typealias STPRadarSessionCompletionBlock = (Stripe.STPRadarSession?, Swift.Error?) -> Swift.Void +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceKlarnaDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var clientToken: Swift.String? { + get + } + @objc public var purchaseCountry: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public class STPConfirmBLIKOptions : ObjectiveC.NSObject { + @objc public var code: Swift.String + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc required public init(code: Swift.String) + @objc deinit + @objc override dynamic public init() +} +extension STPConfirmBLIKOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPRedirectContextError : Swift.Int { + @objc(STPRedirectContextAppRedirectError) case appRedirectError + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPRedirectContextState : Swift.Int { + case notStarted + case inProgress + case cancelled + case completed + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPRedirectContextSourceCompletionBlock = (Swift.String, Swift.String?, Swift.Error?) -> Swift.Void +public typealias STPRedirectContextCompletionBlock = Stripe.STPRedirectContextSourceCompletionBlock +public typealias STPRedirectContextPaymentIntentCompletionBlock = (Swift.String, Swift.Error?) -> Swift.Void +@objc @_hasMissingDesignatedInitializers @available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +public class STPRedirectContext : ObjectiveC.NSObject, SafariServices.SFSafariViewControllerDelegate, UIKit.UIViewControllerTransitioningDelegate { + @objc public static let STPRedirectContextErrorDomain: Swift.String + @objc public var state: Stripe.STPRedirectContextState { + get + } + @objc convenience public init?(source: Stripe.STPSource, completion: @escaping Stripe.STPRedirectContextSourceCompletionBlock) + @objc convenience public init?(paymentIntent: Stripe.STPPaymentIntent, completion: @escaping Stripe.STPRedirectContextPaymentIntentCompletionBlock) + @objc(startRedirectFlowFromViewController:) public func startRedirectFlow(from presentingViewController: UIKit.UIViewController) + @objc(startSafariViewControllerRedirectFlowFromViewController:) dynamic public func startSafariViewControllerRedirectFlow(from presentingViewController: UIKit.UIViewController) + @objc public func startSafariAppRedirectFlow() + @objc public func cancel() + @objc deinit + @objc public func safariViewControllerDidFinish(_ controller: SafariServices.SFSafariViewController) + @objc public func safariViewController(_ controller: SafariServices.SFSafariViewController, didCompleteInitialLoad didLoadSuccessfully: Swift.Bool) + @objc public func safariViewController(_ controller: SafariServices.SFSafariViewController, initialLoadDidRedirectTo URL: Foundation.URL) + @objc public func presentationController(forPresented presented: UIKit.UIViewController, presenting: UIKit.UIViewController?, source: UIKit.UIViewController) -> UIKit.UIPresentationController? + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers final public class STPRadarSession : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let id: Swift.String + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc public static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Stripe.STPRadarSession? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPKlarnaLineItemType : Swift.Int { + case SKU + case tax + case shipping + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public class STPKlarnaLineItem : ObjectiveC.NSObject { + @objc public var itemType: Stripe.STPKlarnaLineItemType + @objc public var itemDescription: Swift.String + @objc public var quantity: Foundation.NSNumber + @objc public var totalAmount: Foundation.NSNumber + @objc public init(itemType: Stripe.STPKlarnaLineItemType, itemDescription: Swift.String, quantity: Foundation.NSNumber, totalAmount: Foundation.NSNumber) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodOXXOParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @IBDesignable open class STPPaymentCardTextField : UIKit.UIControl, UIKit.UIKeyInput { + @objc open func textField(_ textField: UIKit.UITextField, shouldChangeCharactersIn range: Foundation.NSRange, replacementString string: Swift.String) -> Swift.Bool + @objc @IBOutlet weak open var delegate: Stripe.STPPaymentCardTextFieldDelegate? + @objc open var font: UIKit.UIFont { + @objc get + @objc set + } + @objc open var textColor: UIKit.UIColor { + @objc get + @objc set + } + @objc open var textErrorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc open var placeholderColor: UIKit.UIColor { + @objc get + @objc set + } + @objc @IBInspectable open var numberPlaceholder: Swift.String? { + @objc get + @objc set(numberPlaceholder) + } + @objc @IBInspectable open var expirationPlaceholder: Swift.String? { + @objc get + @objc set(expirationPlaceholder) + } + @objc @IBInspectable open var cvcPlaceholder: Swift.String? { + @objc get + @objc set(cvcPlaceholder) + } + @objc @IBInspectable open var postalCodePlaceholder: Swift.String? { + @objc get + @objc set(postalCodePlaceholder) + } + @objc open var cursorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc open var borderColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc open var borderWidth: CoreGraphics.CGFloat { + @objc get + @objc set + } + @objc open var cornerRadius: CoreGraphics.CGFloat { + @objc get + @objc set + } + @objc open var keyboardAppearance: UIKit.UIKeyboardAppearance { + @objc get + @objc set + } + @objc override dynamic open var inputView: UIKit.UIView? { + @objc get + @objc set(inputView) + } + @objc override dynamic open var inputAccessoryView: UIKit.UIView? { + @objc get + @objc set(inputAccessoryView) + } + @objc open var brandImage: UIKit.UIImage? { + get + } + @objc dynamic open var isValid: Swift.Bool { + @objc get + } + @objc override dynamic open var isEnabled: Swift.Bool { + @objc get + @objc set(enabled) + } + @objc open var cardNumber: Swift.String? { + @objc get + } + @objc open var expirationMonth: Swift.Int { + @objc get + } + @objc open var formattedExpirationMonth: Swift.String? { + @objc get + } + @objc open var expirationYear: Swift.Int { + @objc get + } + @objc open var formattedExpirationYear: Swift.String? { + @objc get + } + @objc open var cvc: Swift.String? { + @objc get + } + @objc open var postalCode: Swift.String? { + @objc get + @objc set + } + @objc open var postalCodeEntryEnabled: Swift.Bool { + @objc get + @objc set(postalCodeEntryEnabled) + } + @objc open var countryCode: Swift.String? { + @objc get + @objc set(cCode) + } + @objc open var cardParams: Stripe.STPPaymentMethodCardParams { + @objc get + @objc set(callersCardParams) + } + @discardableResult + @objc override dynamic open func becomeFirstResponder() -> Swift.Bool + @discardableResult + @objc override dynamic open func resignFirstResponder() -> Swift.Bool + @objc open func clear() + @objc(cvcImageForCardBrand:) open class func cvcImage(for cardBrand: Stripe.STPCardBrand) -> UIKit.UIImage? + @objc(brandImageForCardBrand:) open class func brandImage(for cardBrand: Stripe.STPCardBrand) -> UIKit.UIImage? + @objc(errorImageForCardBrand:) open class func errorImage(for cardBrand: Stripe.STPCardBrand) -> UIKit.UIImage? + @objc(brandImageRectForBounds:) open func brandImageRect(forBounds bounds: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @objc(fieldsRectForBounds:) open func fieldsRect(forBounds bounds: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc override dynamic open func traitCollectionDidChange(_ previousTraitCollection: UIKit.UITraitCollection?) + @objc override dynamic open var backgroundColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc override dynamic open var contentVerticalAlignment: UIKit.UIControl.ContentVerticalAlignment { + @objc get + @objc set(contentVerticalAlignment) + } + @objc override dynamic open var isFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic open var canBecomeFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic open var canResignFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic open var intrinsicContentSize: CoreGraphics.CGSize { + @objc get + } + @objc override dynamic open func layoutSubviews() + @objc open func textFieldShouldBeginEditing(_ textField: UIKit.UITextField) -> Swift.Bool + @objc open func textFieldDidBeginEditing(_ textField: UIKit.UITextField) + @objc open func textFieldShouldEndEditing(_ textField: UIKit.UITextField) -> Swift.Bool + @objc open func textFieldDidEndEditing(_ textField: UIKit.UITextField) + @objc open func textFieldShouldReturn(_ textField: UIKit.UITextField) -> Swift.Bool + @objc open var hasText: Swift.Bool { + @objc get + } + @objc open func insertText(_ text: Swift.String) + @objc open func deleteBackward() + @objc open class func keyPathsForValuesAffectingIsValid() -> Swift.Set + @objc deinit +} +@objc public protocol STPPaymentCardTextFieldDelegate : ObjectiveC.NSObjectProtocol { + @objc optional func paymentCardTextFieldDidChange(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditing(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldWillEndEditing(forReturn textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditing(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingNumber(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingNumber(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingExpiration(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingExpiration(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingPostalCode(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingPostalCode(_ textField: Stripe.STPPaymentCardTextField) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceSEPADebitDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var last4: Swift.String? { + get + } + @objc public var bankCode: Swift.String? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var mandateReference: Swift.String? { + get + } + @objc public var mandateURL: Foundation.URL? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBacsDebitParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var accountNumber: Swift.String? + @objc public var sortCode: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodiDEALParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var bankName: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPAPIResponseDecodable : ObjectiveC.NSObjectProtocol { + @objc static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc var allResponseFields: [Swift.AnyHashable : Any] { get } +} +extension STPAPIClient { + public func createToken(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPTokenCompletionBlock) + public func createSource(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPSourceCompletionBlock) + public func createPaymentMethod(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) +} +@objc @_inheritsConvenienceInitializers public class STPPaymentIntentParams : ObjectiveC.NSObject { + @objc public init(clientSecret: Swift.String) + @objc public var stripeId: Swift.String? { + @objc get + } + @objc public var clientSecret: Swift.String + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? + @objc public var paymentMethodId: Swift.String? + @objc public var sourceParams: Stripe.STPSourceParams? + @objc public var sourceId: Swift.String? + @objc public var receiptEmail: Swift.String? + @objc public var savePaymentMethod: Foundation.NSNumber? + @objc public var returnURL: Swift.String? + public var setupFutureUsage: Stripe.STPPaymentIntentSetupFutureUsage? + @available(swift, obsoleted: 1.0, renamed: "setupFutureUsage") + @objc(setupFutureUsage) public var setupFutureUsage_objc: Foundation.NSNumber? { + @objc get + @objc set + } + @objc public var useStripeSDK: Foundation.NSNumber? + @objc public var mandateData: Stripe.STPMandateDataParams? { + @objc get + @objc set + } + @objc public var paymentMethodOptions: Stripe.STPConfirmPaymentMethodOptions? + @objc public var shipping: Stripe.STPPaymentIntentShippingDetailsParams? + @available(*, deprecated, renamed: "returnURL") + @objc public var returnUrl: Swift.String? { + @objc get + @objc set(returnUrl) + } + @available(*, deprecated, renamed: "savePaymentMethod") + @objc public var saveSourceToCustomer: Foundation.NSNumber? { + @objc get + @objc set(saveSourceToCustomer) + } + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public func configure(with paymentResult: Stripe.STPPaymentResult) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit +} +extension STPPaymentIntentParams : Stripe.STPFormEncodable { + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] +} +extension STPPaymentIntentParams : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodSEPADebit : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var bankCode: Swift.String? { + get + } + @objc public var branchCode: Swift.String? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var mandate: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@_hasMissingDesignatedInitializers @available(swift, deprecated: 0.0.1, renamed: "STPAPIClient") +@objc(STPAPIClient) public class _stpobjc_STPAPIClient : ObjectiveC.NSObject { + @objc public static let STPSDKVersion: Swift.String + @available(swift, deprecated: 0.0.1) + @objc(sharedClient) public static let shared: Stripe._stpobjc_STPAPIClient + @objc public var publishableKey: Swift.String? { + @objc get + @objc set + } + @objc public var configuration: Stripe.STPPaymentConfiguration { + @objc get + @objc set + } + @objc public var stripeAccount: Swift.String? { + @objc get + @objc set + } + @objc public var appInfo: Stripe._stpobjc_STPAppInfo? { + @objc get + @objc set + } + @objc public static let apiVersion: Swift.String + @objc public init(publishableKey: Swift.String) + @available(*, deprecated, message: "This initializer previously configured publishableKey and stripeAccount via the STPPaymentConfiguration instance. This behavior is deprecated; set the STPAPIClient configuration, publishableKey, and stripeAccount properties directly on the STPAPIClient instead.") + @objc public init(configuration: Stripe.STPPaymentConfiguration) + @objc public func createToken(withBankAccount bankAccount: Stripe.STPBankAccountParams, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc public func createToken(withPersonalIDNumber pii: Swift.String, completion: Stripe.STPTokenCompletionBlock?) + @objc public func createToken(withSSNLast4 ssnLast4: Swift.String, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc public func createToken(withConnectAccount account: Stripe.STPConnectAccountParams, completion: Stripe.STPTokenCompletionBlock?) + @objc public func uploadImage(_ image: UIKit.UIImage, purpose: Stripe.STPFilePurpose, completion: Stripe.STPFileCompletionBlock?) + @objc public func createToken(withCard cardParams: Stripe.STPCardParams, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc public func createToken(forCVCUpdate cvc: Swift.String, completion: Stripe.STPTokenCompletionBlock? = nil) + @objc(createSourceWithParams:completion:) public func createSource(with sourceParams: Stripe.STPSourceParams, completion: @escaping Stripe.STPSourceCompletionBlock) + @objc public func retrieveSource(withId identifier: Swift.String, clientSecret secret: Swift.String, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + @objc public func startPollingSource(withId identifier: Swift.String, clientSecret secret: Swift.String, timeout: Foundation.TimeInterval, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + @objc public func stopPollingSource(withId identifier: Swift.String) + @objc public func retrievePaymentIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc public func retrievePaymentIntent(withClientSecret secret: Swift.String, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc(confirmPaymentIntentWithParams:completion:) dynamic public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc(confirmPaymentIntentWithParams:expand:completion:) public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc public func retrieveSetupIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPSetupIntentCompletionBlock) + @objc(confirmSetupIntentWithParams:completion:) dynamic public func confirmSetupIntent(with setupIntentParams: Stripe.STPSetupIntentConfirmParams, completion: @escaping Stripe.STPSetupIntentCompletionBlock) + @objc(createPaymentMethodWithParams:completion:) public func createPaymentMethod(with paymentMethodParams: Stripe.STPPaymentMethodParams, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) + @objc public func createRadarSession(completion: @escaping Stripe.STPRadarSessionCompletionBlock) + @objc(createTokenWithPayment:completion:) public func createToken(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc(createSourceWithPayment:completion:) public func createSource(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPSourceCompletionBlock) + @objc(createPaymentMethodWithPayment:completion:) public func createPaymentMethod(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) + @objc public class func pkPaymentError(forStripeError stripeError: Swift.Error?) -> Swift.Error? + @objc override dynamic public init() + @objc deinit +} +@objc(STPPaymentContext) public class STPPaymentContext : ObjectiveC.NSObject, Stripe.STPAuthenticationContext, Stripe.STPPaymentOptionsViewControllerDelegate, Stripe.STPShippingAddressViewControllerDelegate { + @objc convenience public init(customerContext: Stripe.STPCustomerContext) + @objc convenience public init(customerContext: Stripe.STPCustomerContext, configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc convenience public init(apiAdapter: Stripe.STPBackendAPIAdapter) + @objc public init(apiAdapter: Stripe.STPBackendAPIAdapter, configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc public var apiAdapter: Stripe.STPBackendAPIAdapter { + get + } + @objc public var configuration: Stripe.STPPaymentConfiguration { + get + } + @objc public var theme: Stripe.STPTheme { + get + } + @objc public var prefilledInformation: Stripe.STPUserInformation? { + @objc get + @objc set(prefilledInformation) + } + @objc weak public var hostViewController: UIKit.UIViewController? { + @objc get + @objc set(hostViewController) + } + @objc weak public var delegate: Stripe.STPPaymentContextDelegate? { + @objc get + @objc set(delegate) + } + @objc public var loading: Swift.Bool { + @objc get + } + @objc public var defaultPaymentMethod: Swift.String? + @objc public var selectedPaymentOption: Stripe.STPPaymentOption? { + @objc get + } + @objc public var paymentOptions: [Stripe.STPPaymentOption]? { + @objc get + } + @objc public var selectedShippingMethod: PassKit.PKShippingMethod? { + get + } + @objc public var shippingMethods: [PassKit.PKShippingMethod]? { + @objc get + } + @objc public var shippingAddress: Stripe.STPAddress? { + get + } + @objc public var paymentAmount: Swift.Int { + @objc get + @objc set(paymentAmount) + } + @objc public var paymentCurrency: Swift.String + @objc public var paymentCountry: Swift.String + @objc public var paymentSummaryItems: [PassKit.PKPaymentSummaryItem] { + @objc get + @objc set(paymentSummaryItems) + } + @objc public var modalPresentationStyle: UIKit.UIModalPresentationStyle + @objc public var largeTitleDisplayMode: UIKit.UINavigationItem.LargeTitleDisplayMode + @objc public var paymentOptionsViewControllerFooterView: UIKit.UIView? + @objc public var addCardViewControllerFooterView: UIKit.UIView? + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public func retryLoading() + @objc public func presentPaymentOptionsViewController() + @objc public func pushPaymentOptionsViewController() + @objc public func presentShippingViewController() + @objc public func pushShippingViewController() + @objc public func requestPayment() + @objc public func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didSelect paymentOption: Stripe.STPPaymentOption) + @objc public func paymentOptionsViewControllerDidFinish(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc public func paymentOptionsViewControllerDidCancel(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc public func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didFailToLoadWithError error: Swift.Error) + @objc public func shippingAddressViewControllerDidCancel(_ addressViewController: Stripe.STPShippingAddressViewController) + @objc public func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didEnter address: Stripe.STPAddress, completion: @escaping Stripe.STPShippingMethodsCompletionBlock) + @objc public func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didFinishWith address: Stripe.STPAddress, shippingMethod method: PassKit.PKShippingMethod?) + @objc public func authenticationPresentingViewController() -> UIKit.UIViewController + @objc public func prepare(forPresentation completion: @escaping StripeApplePay.STPVoidBlock) + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPPaymentContextDelegate : ObjectiveC.NSObjectProtocol { + @objc func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didFailToLoadWithError error: Swift.Error) + @objc func paymentContextDidChange(_ paymentContext: Stripe.STPPaymentContext) + @objc func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didCreatePaymentResult paymentResult: Stripe.STPPaymentResult, completion: @escaping Stripe.STPPaymentStatusBlock) + @objc func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didFinishWith status: Stripe.STPPaymentStatus, error: Swift.Error?) + @objc optional func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didUpdateShippingAddress address: Stripe.STPAddress, completion: @escaping Stripe.STPShippingMethodsCompletionBlock) +} +@_hasMissingDesignatedInitializers @objc(STPAppInfo) public class _stpobjc_STPAppInfo : ObjectiveC.NSObject { + @objc public init(name: Swift.String, partnerId: Swift.String?, version: Swift.String?, url: Swift.String?) + @objc public var name: Swift.String { + @objc get + } + @objc public var partnerId: Swift.String? { + @objc get + } + @objc public var version: Swift.String? { + @objc get + } + @objc public var url: Swift.String? { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +@objc public class STPPaymentIntentShippingDetailsParams : ObjectiveC.NSObject { + @objc public var address: Stripe.STPPaymentIntentShippingDetailsAddressParams + @objc public var name: Swift.String + @objc public var carrier: Swift.String? + @objc public var phone: Swift.String? + @objc public var trackingNumber: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(address: Stripe.STPPaymentIntentShippingDetailsAddressParams, name: Swift.String) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetailsParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +extension STPPaymentIntentShippingDetailsParams : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc @_inheritsConvenienceInitializers public class STPConfirmCardOptions : ObjectiveC.NSObject { + @objc public var cvc: Swift.String? + @objc public var network: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPConfirmCardOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, unavailable, renamed: "STPIntentAction", message: "Use `STPIntentAction` instead.") +@objc final public class STPPaymentIntentSourceAction : Stripe.STPIntentAction { + @objc deinit +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension STPPaymentCardTextField { + public struct Representable : SwiftUI.UIViewRepresentable { + public init(paymentMethodParams: SwiftUI.Binding) + public func makeCoordinator() -> Stripe.STPPaymentCardTextField.Representable.Coordinator + public func makeUIView(context: Stripe.STPPaymentCardTextField.Representable.Context) -> Stripe.STPPaymentCardTextField + public func updateUIView(_ paymentCardField: Stripe.STPPaymentCardTextField, context: Stripe.STPPaymentCardTextField.Representable.Context) + @objc @_hasMissingDesignatedInitializers public class Coordinator : ObjectiveC.NSObject, Stripe.STPPaymentCardTextFieldDelegate { + @objc public func paymentCardTextFieldDidChange(_ cardField: Stripe.STPPaymentCardTextField) + @objc deinit + @objc override dynamic public init() + } + public typealias UIViewType = Stripe.STPPaymentCardTextField + public typealias Body = Swift.Never + } +} +@objc public enum STPSourceRedirectStatus : Swift.Int { + case pending + case succeeded + case failed + case notRequired + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPSourceRedirect : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var returnURL: Foundation.URL { + get + } + @objc public var status: Stripe.STPSourceRedirectStatus { + get + } + @objc public var url: Foundation.URL { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSNavigationBarCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSNavigationBarCustomization + @objc public var barTintColor: UIKit.UIColor? { + @objc get + @objc set(barTintColor) + } + @objc public var barStyle: UIKit.UIBarStyle { + @objc get + @objc set(barStyle) + } + @objc public var translucent: Swift.Bool { + @objc get + @objc set(translucent) + } + @objc public var headerText: Swift.String { + @objc get + @objc set(headerText) + } + @objc public var buttonText: Swift.String { + @objc get + @objc set(buttonText) + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set(textColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSource : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPSourceProtocol, Stripe.STPPaymentOption { + @objc public var amount: Foundation.NSNumber? { + get + } + @objc public var clientSecret: Swift.String? { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var currency: Swift.String? { + get + } + @objc public var flow: Stripe.STPSourceFlow { + get + } + @objc public var livemode: Swift.Bool { + get + } + @objc public var owner: Stripe.STPSourceOwner? { + get + } + @objc public var receiver: Stripe.STPSourceReceiver? { + get + } + @objc public var redirect: Stripe.STPSourceRedirect? { + get + } + @objc public var status: Stripe.STPSourceStatus { + get + } + @objc public var type: Stripe.STPSourceType { + get + } + @objc public var usage: Stripe.STPSourceUsage { + get + } + @objc public var verification: Stripe.STPSourceVerification? { + get + } + @objc public var details: [Swift.AnyHashable : Any]? { + get + } + @objc public var cardDetails: Stripe.STPSourceCardDetails? { + get + } + @objc public var klarnaDetails: Stripe.STPSourceKlarnaDetails? { + get + } + @objc public var sepaDebitDetails: Stripe.STPSourceSEPADebitDetails? { + get + } + @objc public var weChatPayDetails: Stripe.STPSourceWeChatPayDetails? { + get + } + @available(*, deprecated, message: "Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @objc public var stripeID: Swift.String + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc deinit +} +@objc public enum STPFilePurpose : Swift.Int { + case identityDocument + case disputeEvidence + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPFile : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var fileId: Swift.String? { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var purpose: Stripe.STPFilePurpose { + get + } + @objc public var size: Foundation.NSNumber? { + get + } + @objc public var type: Swift.String? { + get + } + @objc(stringFromPurpose:) public class func string(from purpose: Stripe.STPFilePurpose) -> Swift.String? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public protocol STPFormTextFieldContainer : ObjectiveC.NSObjectProtocol { + @objc dynamic var formFont: UIKit.UIFont { get set } + @objc dynamic var formTextColor: UIKit.UIColor { get set } + @objc dynamic var formTextErrorColor: UIKit.UIColor { get set } + @objc dynamic var formPlaceholderColor: UIKit.UIColor { get set } + @objc dynamic var formCursorColor: UIKit.UIColor { get set } + @objc dynamic var formKeyboardAppearance: UIKit.UIKeyboardAppearance { get set } +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBoletoParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var taxID: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc public class STPPushProvisioningContext : ObjectiveC.NSObject { + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public class func requestConfiguration(withName name: Swift.String, description: Swift.String?, last4: Swift.String?, brand: Stripe.STPCardBrand) -> PassKit.PKAddPaymentPassRequestConfiguration + @objc public init(keyProvider: Stripe.STPIssuingCardEphemeralKeyProvider) + @objc public func addPaymentPassViewController(_ controller: PassKit.PKAddPaymentPassViewController, generateRequestWithCertificateChain certificates: [Foundation.Data], nonce: Foundation.Data, nonceSignature: Foundation.Data, completionHandler handler: @escaping (PassKit.PKAddPaymentPassRequest) -> Swift.Void) + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPPaymentHandlerActionStatus : Swift.Int { + case succeeded + case canceled + case failed + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentHandlerErrorCode : Swift.Int { + @objc(STPPaymentHandlerUnsupportedAuthenticationErrorCode) case unsupportedAuthenticationErrorCode + @objc(STPPaymentHandlerRequiredAppNotAvailableErrorCode) case requiredAppNotAvailable + @objc(STPPaymentHandlerRequiresPaymentMethodErrorCode) case requiresPaymentMethodErrorCode + @objc(STPPaymentHandlerIntentStatusErrorCode) case intentStatusErrorCode + @objc(STPPaymentHandlerTimedOutErrorCode) case timedOutErrorCode + @objc(STPPaymentHandlerStripe3DS2ErrorCode) case stripe3DS2ErrorCode + @objc(STPPaymentHandlerNotAuthenticatedErrorCode) case notAuthenticatedErrorCode + @objc(STPPaymentHandlerNoConcurrentActionsErrorCode) case noConcurrentActionsErrorCode + @objc(STPPaymentHandlerRequiresAuthenticationContextErrorCode) case requiresAuthenticationContextErrorCode + @objc(STPPaymentHandlerPaymentErrorCode) case paymentErrorCode + @objc(STPPaymentHandlerInvalidClientSecret) case invalidClientSecret + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPPaymentHandlerActionPaymentIntentCompletionBlock = (Stripe.STPPaymentHandlerActionStatus, Stripe.STPPaymentIntent?, Foundation.NSError?) -> Swift.Void +public typealias STPPaymentHandlerActionSetupIntentCompletionBlock = (Stripe.STPPaymentHandlerActionStatus, Stripe.STPSetupIntent?, Foundation.NSError?) -> Swift.Void +@objc @_hasMissingDesignatedInitializers @available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +public class STPPaymentHandler : ObjectiveC.NSObject, SafariServices.SFSafariViewControllerDelegate { + @objc public static let errorDomain: Swift.String + @objc public static let sharedHandler: Stripe.STPPaymentHandler + @objc public class func shared() -> Stripe.STPPaymentHandler + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public var threeDSCustomizationSettings: Stripe.STPThreeDSCustomizationSettings + @objc public var simulateAppToAppRedirect: Swift.Bool { + @objc get + @objc set + } + @objc(confirmPayment:withAuthenticationContext:completion:) public func confirmPayment(_ paymentParams: Stripe.STPPaymentIntentParams, with authenticationContext: Stripe.STPAuthenticationContext, completion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) + @available(*, deprecated, renamed: "confirmPayment(_:with:completion:)", message: "Use confirmPayment(_:with:completion:) instead") + public func confirmPayment(withParams: Stripe.STPPaymentIntentParams, authenticationContext: Stripe.STPAuthenticationContext, completion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) + @objc(handleNextActionForPayment:withAuthenticationContext:returnURL:completion:) public func handleNextAction(forPayment paymentIntentClientSecret: Swift.String, with authenticationContext: Stripe.STPAuthenticationContext, returnURL: Swift.String?, completion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) + @objc(confirmSetupIntent:withAuthenticationContext:completion:) public func confirmSetupIntent(_ setupIntentConfirmParams: Stripe.STPSetupIntentConfirmParams, with authenticationContext: Stripe.STPAuthenticationContext, completion: @escaping Stripe.STPPaymentHandlerActionSetupIntentCompletionBlock) + @objc(handleNextActionForSetupIntent:withAuthenticationContext:returnURL:completion:) public func handleNextAction(forSetupIntent setupIntentClientSecret: Swift.String, with authenticationContext: Stripe.STPAuthenticationContext, returnURL: Swift.String?, completion: @escaping Stripe.STPPaymentHandlerActionSetupIntentCompletionBlock) + @objc public func safariViewControllerDidFinish(_ controller: SafariServices.SFSafariViewController) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSSelectionCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSSelectionCustomization + @objc public var primarySelectedColor: UIKit.UIColor { + @objc get + @objc set(primarySelectedColor) + } + @objc public var secondarySelectedColor: UIKit.UIColor { + @objc get + @objc set(secondarySelectedColor) + } + @objc public var unselectedBackgroundColor: UIKit.UIColor { + @objc get + @objc set(unselectedBackgroundColor) + } + @objc public var unselectedBorderColor: UIKit.UIColor { + @objc get + @objc set(unselectedBorderColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPPaymentMethodType : Swift.Int { + case card + case alipay + case grabPay + @objc(STPPaymentMethodTypeiDEAL) case iDEAL + case FPX + case cardPresent + @objc(STPPaymentMethodTypeSEPADebit) case SEPADebit + @objc(STPPaymentMethodTypeAUBECSDebit) case AUBECSDebit + case bacsDebit + case giropay + case przelewy24 + @objc(STPPaymentMethodTypeEPS) case EPS + case bancontact + case netBanking + @objc(STPPaymentMethodTypeOXXO) case OXXO + case sofort + case UPI + case payPal + case afterpayClearpay + @objc(STPPaymentMethodTypeBLIK) case blik + case weChatPay + case boleto + case link + case klarna + case linkInstantDebit + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPUserInformation : ObjectiveC.NSObject, Foundation.NSCopying { + @objc public var billingAddress: Stripe.STPAddress? + @objc public var shippingAddress: Stripe.STPAddress? + @objc(setBillingAddressWithBillingDetails:) public func setBillingAddress(with billingDetails: Stripe.STPPaymentMethodBillingDetails) + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPFakeAddPaymentPassViewController : UIKit.UIViewController { + @objc public class func canAddPaymentPass() -> Swift.Bool + @objc(initWithRequestConfiguration:delegate:) required public init?(requestConfiguration configuration: PassKit.PKAddPaymentPassRequestConfiguration, delegate: PassKit.PKAddPaymentPassViewControllerDelegate?) + @objc weak public var delegate: PassKit.PKAddPaymentPassViewControllerDelegate? + @objc convenience override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required convenience dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public func viewDidLoad() + @objc deinit +} +@objc public enum STPSourceCard3DSecureStatus : Swift.Int { + case required + case optional + case notSupported + case recommended + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPSourceCardDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var last4: Swift.String? { + get + } + @objc public var expMonth: Swift.UInt { + get + } + @objc public var expYear: Swift.UInt { + get + } + @objc public var brand: Stripe.STPCardBrand { + get + } + @objc public var funding: Stripe.STPCardFundingType { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var threeDSecure: Stripe.STPSourceCard3DSecureStatus { + get + } + @objc public var isApplePayCard: Swift.Bool { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPIssuingCardPin : ObjectiveC.NSObject { + @objc final public let pin: Swift.String? + @objc final public let error: [Swift.AnyHashable : Any]? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc deinit +} +extension STPIssuingCardPin : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodThreeDSecureUsage : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var supported: Swift.Bool { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionBoletoDisplayDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let number: Swift.String + @objc final public let expiresAt: Foundation.Date + @objc final public let hostedVoucherURL: Foundation.URL + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc(_stpinternal_apContextDelegate) public protocol STPApplePayContextDelegate : StripeApplePay._stpinternal_STPApplePayContextDelegateBase { + @objc(applePayContext:didCreatePaymentMethod:paymentInformation:completion:) func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, paymentInformation: PassKit.PKPayment, completion: @escaping StripeApplePay.STPIntentClientSecretCompletionBlock) + @objc(applePayContext:didCompleteWithStatus:error:) func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCompleteWith status: Stripe.STPPaymentStatus, error: Swift.Error?) +} +@objc(STPApplePayContextDelegate) public protocol _stpobjc_APContextDelegate : ObjectiveC.NSObjectProtocol { + @objc(applePayContext:didCreatePaymentMethod:paymentInformation:completion:) func applePayContext(_ context: Stripe._stpobjc_APContext, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, paymentInformation: PassKit.PKPayment, completion: @escaping StripeApplePay.STPIntentClientSecretCompletionBlock) + @objc(applePayContext:didCompleteWithStatus:error:) func applePayContext(_ context: Stripe._stpobjc_APContext, didCompleteWith status: Stripe.STPPaymentStatus, error: Swift.Error?) + @objc(applePayContext:didSelectShippingMethod:handler:) optional func applePayContext(_ context: Stripe._stpobjc_APContext, didSelect shippingMethod: PassKit.PKShippingMethod, handler: @escaping (PassKit.PKPaymentRequestShippingMethodUpdate) -> Swift.Void) + @objc optional func applePayContext(_ context: Stripe._stpobjc_APContext, didSelectShippingContact contact: PassKit.PKContact, handler: @escaping (PassKit.PKPaymentRequestShippingContactUpdate) -> Swift.Void) +} +@_hasMissingDesignatedInitializers @objc(STPApplePayContext) public class _stpobjc_APContext : ObjectiveC.NSObject { + @objc(initWithPaymentRequest:delegate:) required public init?(paymentRequest: PassKit.PKPaymentRequest, delegate: Stripe._stpobjc_APContextDelegate?) + @available(*, deprecated, renamed: "presentApplePay(completion:)", message: "Use `presentApplePay(completion:)` instead.") + @objc(presentApplePayOnViewController:completion:) public func presentApplePay(on viewController: UIKit.UIViewController, completion: StripeApplePay.STPVoidBlock? = nil) + @available(iOSApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + @available(macCatalystApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + @objc(presentApplePayWithCompletion:) public func presentApplePay(completion: StripeApplePay.STPVoidBlock? = nil) + @objc(presentApplePayFromWindow:withCompletion:) public func presentApplePay(from window: UIKit.UIWindow?, completion: StripeApplePay.STPVoidBlock? = nil) + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPCoreViewController : UIKit.UIViewController { + @objc convenience dynamic public init() + @objc required public init(theme: Stripe.STPTheme?) + @objc required override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public func viewDidLoad() + @objc override dynamic public func viewWillAppear(_ animated: Swift.Bool) + @objc override dynamic public func viewWillDisappear(_ animated: Swift.Bool) + @objc override dynamic public var preferredStatusBarStyle: UIKit.UIStatusBarStyle { + @objc get + } + @objc deinit +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension View { + public func paymentConfirmationSheet(isConfirmingPayment: SwiftUI.Binding, paymentIntentParams: Stripe.STPPaymentIntentParams, onCompletion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) -> some SwiftUI.View + + public func setupIntentConfirmationSheet(isConfirmingSetupIntent: SwiftUI.Binding, setupIntentParams: Stripe.STPSetupIntentConfirmParams, onCompletion: @escaping Stripe.STPPaymentHandlerActionSetupIntentCompletionBlock) -> some SwiftUI.View + +} +@objc @_inheritsConvenienceInitializers public class STPPaymentConfiguration : ObjectiveC.NSObject, Foundation.NSCopying { + @objc(sharedConfiguration) public static var shared: Stripe.STPPaymentConfiguration + @objc public var applePayEnabled: Swift.Bool { + @objc get + @objc set + } + @objc public var fpxEnabled: Swift.Bool + @objc public var requiredBillingAddressFields: Stripe.STPBillingAddressFields + @objc public var requiredShippingAddressFields: Swift.Set? + @objc public var verifyPrefilledShippingAddress: Swift.Bool + @objc public var shippingType: Stripe.STPShippingType + @objc public var availableCountries: Swift.Set + @objc public var companyName: Swift.String + @objc public var appleMerchantIdentifier: Swift.String? + @objc public var canDeletePaymentOptions: Swift.Bool + @objc public var cardScanningEnabled: Swift.Bool + @available(*, deprecated, message: "additionalPaymentOptions has been removed. Set applePayEnabled and fpxEnabled on STPPaymentConfiguration instead.") + @objc public var additionalPaymentOptions: Swift.Int + @available(*, deprecated, message: "If you used STPPaymentConfiguration.shared.publishableKey, use STPAPIClient.shared.publishableKey instead. If you passed a STPPaymentConfiguration instance to an SDK component, create an STPAPIClient, set publishableKey on it, and set the SDK component's APIClient property.") + @objc public var publishableKey: Swift.String? { + @objc get + @objc set(publishableKey) + } + @available(*, deprecated, message: "If you used STPPaymentConfiguration.shared.stripeAccount, use STPAPIClient.shared.stripeAccount instead. If you passed a STPPaymentConfiguration instance to an SDK component, create an STPAPIClient, set stripeAccount on it, and set the SDK component's APIClient property.") + @objc public var stripeAccount: Swift.String? { + @objc get + @objc set(stripeAccount) + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodNetBanking : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var bank: Swift.String { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPConfirmPaymentMethodOptions : ObjectiveC.NSObject { + @objc public var cardOptions: Stripe.STPConfirmCardOptions? + @objc public var alipayOptions: Stripe.STPConfirmAlipayOptions? + @objc public var blikOptions: Stripe.STPConfirmBLIKOptions? + @objc public var weChatPayOptions: Stripe.STPConfirmWeChatPayOptions? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPConfirmPaymentMethodOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAddress : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var city: Swift.String? + @objc public var country: Swift.String? + @objc public var line1: Swift.String? + @objc public var line2: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var state: Swift.String? + @objc public init(address: Stripe.STPAddress) + @objc required override dynamic public init() + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceOwner : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var address: Stripe.STPAddress? { + get + } + @objc public var email: Swift.String? { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var phone: Swift.String? { + get + } + @objc public var verifiedAddress: Stripe.STPAddress? { + get + } + @objc public var verifiedEmail: Swift.String? { + get + } + @objc public var verifiedName: Swift.String? { + get + } + @objc public var verifiedPhone: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public protocol STPPaymentOption : ObjectiveC.NSObjectProtocol { + @objc var image: UIKit.UIImage { get } + @objc var templateImage: UIKit.UIImage { get } + @objc var label: Swift.String { get } + @objc var isReusable: Swift.Bool { get } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentActivityIndicatorView : UIKit.UIView { + @objc public func setAnimating(_ animating: Swift.Bool, animated: Swift.Bool) + @objc public var animating: Swift.Bool { + @objc get + @objc set(animating) + } + @objc public var hidesWhenStopped: Swift.Bool { + @objc get + @objc set(hidesWhenStopped) + } + @objc override dynamic public var tintColor: UIKit.UIColor! { + @objc get + @objc set(tintColor) + } + @objc override dynamic public func layoutSubviews() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodEPSParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers final public class STPTheme : ObjectiveC.NSObject { + @objc public static let defaultTheme: Stripe.STPTheme + @available(*, deprecated, renamed: "defaultTheme", message: "Use defaultTheme instead") + public static func `default`() -> Stripe.STPTheme + @objc final public var primaryBackgroundColor: UIKit.UIColor + @objc final public var secondaryBackgroundColor: UIKit.UIColor + @objc final public var tertiaryBackgroundColor: UIKit.UIColor { + @objc get + } + @objc final public var quaternaryBackgroundColor: UIKit.UIColor { + @objc get + } + @objc final public var primaryForegroundColor: UIKit.UIColor + @objc final public var secondaryForegroundColor: UIKit.UIColor + @objc final public var tertiaryForegroundColor: UIKit.UIColor { + @objc get + } + @objc final public var accentColor: UIKit.UIColor + @objc final public var errorColor: UIKit.UIColor + @objc final public var font: UIKit.UIFont { + @objc get + @objc set + } + @objc final public var emphasisFont: UIKit.UIFont { + @objc get + @objc set + } + @objc final public var barStyle: UIKit.UIBarStyle { + @objc get + @objc set + } + @objc final public var translucentNavigationBar: Swift.Bool + @objc final public var smallFont: UIKit.UIFont { + @objc get + } + @objc final public var largeFont: UIKit.UIFont { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPTheme : Foundation.NSCopying { + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc public protocol STPAuthenticationContext : ObjectiveC.NSObjectProtocol { + @objc func authenticationPresentingViewController() -> UIKit.UIViewController + @objc(prepareAuthenticationContextForPresentation:) optional func prepare(forPresentation completion: @escaping StripeApplePay.STPVoidBlock) + @objc optional func configureSafariViewController(_ viewController: SafariServices.SFSafariViewController) + @objc(authenticationContextWillDismissViewController:) optional func authenticationContextWillDismiss(_ viewController: UIKit.UIViewController) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodiDEAL : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var bankName: Swift.String? { + get + } + @objc public var bankIdentifierCode: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public class STPPinManagementService : ObjectiveC.NSObject { + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public init(keyProvider: Stripe.STPIssuingCardEphemeralKeyProvider) + @objc public func retrievePin(_ cardId: Swift.String, verificationId: Swift.String, oneTimeCode: Swift.String, completion: @escaping Stripe.STPPinCompletionBlock) + @objc public func updatePin(_ cardId: Swift.String, newPin: Swift.String, verificationId: Swift.String, oneTimeCode: Swift.String, completion: @escaping Stripe.STPPinCompletionBlock) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPAddCardViewController : Stripe.STPCoreTableViewController, Stripe.STPPaymentCardTextFieldDelegate, UIKit.UITableViewDelegate, UIKit.UITableViewDataSource { + @objc convenience dynamic public init() + @objc(initWithConfiguration:theme:) public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc weak public var delegate: Stripe.STPAddCardViewControllerDelegate? + @objc public var prefilledInformation: Stripe.STPUserInformation? + @objc public var customFooterView: UIKit.UIView? { + @objc get + @objc set(footerView) + } + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public func tableView(_ tableView: UIKit.UITableView, estimatedHeightForRowAt indexPath: Foundation.IndexPath) -> CoreGraphics.CGFloat + @objc override dynamic public func viewDidLayoutSubviews() + @objc public func updateAppearance() + @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool) + @objc public func handleCancelTapped(_ sender: Any?) + @objc public func paymentCardTextFieldDidChange(_ textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldWillEndEditing(forReturn textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldDidBeginEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldDidEndEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldDidBeginEditing(_ textField: Stripe.STPPaymentCardTextField) + @objc public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell + @objc public func tableView(_ tableView: UIKit.UITableView, willDisplay cell: UIKit.UITableViewCell, forRowAt indexPath: Foundation.IndexPath) + @objc public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc override public func tableView(_ tableView: UIKit.UITableView, heightForHeaderInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc public func tableView(_ tableView: UIKit.UITableView, viewForHeaderInSection section: Swift.Int) -> UIKit.UIView? + @objc public func tableView(_ tableView: UIKit.UITableView, viewForFooterInSection section: Swift.Int) -> UIKit.UIView? + @objc override dynamic public func viewWillTransition(to size: CoreGraphics.CGSize, with coordinator: UIKit.UIViewControllerTransitionCoordinator) + @objc deinit +} +@objc public protocol STPAddCardViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc func addCardViewControllerDidCancel(_ addCardViewController: Stripe.STPAddCardViewController) + @objc func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, completion: @escaping Stripe.STPErrorBlock) + @available(*, deprecated, renamed: "addCardViewController(_:didCreatePaymentMethod:completion:)", message: "Use addCardViewController(_:didCreatePaymentMethod:completion:) instead and migrate your integration to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read") + @objc optional func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreateToken token: Stripe.STPToken, completion: (Swift.Error?) -> Swift.Void) + @available(*, deprecated, renamed: "addCardViewController(_:didCreatePaymentMethod:completion:)", message: "Use addCardViewController(_:didCreatePaymentMethod:completion:) instead and migrate your integration to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read") + @objc optional func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreateSource source: Stripe.STPSource, completion: (Swift.Error?) -> Swift.Void) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentOptionsViewController : Stripe.STPCoreViewController, Stripe.STPAddCardViewControllerDelegate { + @objc(initWithPaymentContext:) convenience public init(paymentContext: Stripe.STPPaymentContext) + @objc(initWithConfiguration:theme:customerContext:delegate:) convenience public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme, customerContext: Stripe.STPCustomerContext, delegate: Stripe.STPPaymentOptionsViewControllerDelegate) + @objc(initWithConfiguration:theme:apiAdapter:delegate:) public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme, apiAdapter: Stripe.STPBackendAPIAdapter, delegate: Stripe.STPPaymentOptionsViewControllerDelegate) + @objc public var prefilledInformation: Stripe.STPUserInformation? + @objc public var defaultPaymentMethod: Swift.String? + @objc public var paymentOptionsViewControllerFooterView: UIKit.UIView? + @objc public var addCardViewControllerFooterView: UIKit.UIView? + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc(dismissWithCompletion:) public func dismiss(withCompletion completion: StripeApplePay.STPVoidBlock?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required public init(theme: Stripe.STPTheme?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public func viewDidLayoutSubviews() + @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool) + @objc public func addCardViewControllerDidCancel(_ addCardViewController: Stripe.STPAddCardViewController) + @objc public func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, completion: @escaping Stripe.STPErrorBlock) + @objc deinit +} +@objc public protocol STPPaymentOptionsViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didFailToLoadWithError error: Swift.Error) + @objc func paymentOptionsViewControllerDidFinish(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc func paymentOptionsViewControllerDidCancel(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc(paymentOptionsViewController:didSelectPaymentOption:) optional func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didSelect paymentOption: Stripe.STPPaymentOption) +} +@frozen public enum PaymentSheetResult { + case completed + case canceled + case failed(error: Swift.Error) +} +@_hasMissingDesignatedInitializers public class PaymentSheet { + final public let configuration: Stripe.PaymentSheet.Configuration + public var mostRecentError: Swift.Error? { + get + } + convenience public init(paymentIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration) + convenience public init(setupIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public func present(from presentingViewController: UIKit.UIViewController, completion: @escaping (Stripe.PaymentSheetResult) -> ()) + @objc deinit +} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +@objc(STPErrorCode) public enum _stpobjc_STPErrorCode : Swift.Int { + @objc(STPConnectionError) case connectionError = 40 + @objc(STPInvalidRequestError) case invalidRequestError = 50 + @objc(STPAuthenticationError) case authenticationError = 51 + @objc(STPAPIError) case apiError = 60 + @objc(STPCardError) case cardError = 70 + @objc(STPCancellationError) case cancellationError = 80 + @objc(STPEphemeralKeyDecodingError) case ephemeralKeyDecodingError = 1000 + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @available(swift, deprecated: 0.0.1, renamed: "STPError") +@objc(STPError) public class _stpobjc_STPError : ObjectiveC.NSObject { + @objc public static let stripeDomain: Swift.String + @objc public static let errorMessageKey: Swift.String + @objc public static let hintKey: Swift.String + @objc public static let cardErrorCodeKey: Swift.String + @objc public static let errorParameterKey: Swift.String + @objc public static let stripeErrorCodeKey: Swift.String + @objc public static let stripeErrorTypeKey: Swift.String + @objc public static let stripeDeclineCodeKey: Swift.String + @objc public static let invalidNumber: Swift.String + @objc public static let invalidExpMonth: Swift.String + @objc public static let invalidExpYear: Swift.String + @objc public static let invalidCVC: Swift.String + @objc public static let incorrectNumber: Swift.String + @objc public static let expiredCard: Swift.String + @objc public static let cardDeclined: Swift.String + @objc public static let processingError: Swift.String + @objc public static let incorrectCVC: Swift.String + @objc public static let incorrectZip: Swift.String + @objc deinit + @objc override dynamic public init() +} +@objc extension NSError { + @available(swift, deprecated: 0.0.1, renamed: "stp_error(fromStripeResponse:)") + @objc(stp_errorFromStripeResponse:) public static func _stpobjc_stp_error(fromStripeResponse jsonDictionary: [Swift.AnyHashable : Any]?) -> Foundation.NSError? +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionOXXODisplayDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let expiresAfter: Foundation.Date + @objc final public let hostedVoucherURL: Foundation.URL + @objc final public let number: Swift.String + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc deinit + @objc override dynamic public init() +} +extension StripeAPI { + @available(*, deprecated, message: "Use `paymentRequestWithMerchantIdentifier:country:currency:` instead.") + public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String) -> PassKit.PKPaymentRequest +} +@available(*, deprecated, message: "Use StripeAPI.defaultPublishableKey instead. (StripeAPI.defaultPublishableKey = \"pk_12345_xyzabc\")") +public func setDefaultPublishableKey(_ publishableKey: Swift.String) +@available(*, deprecated, message: "Use StripeAPI.advancedFraudSignalsEnabled instead.") +public var advancedFraudSignalsEnabled: Swift.Bool { + get + set +} +@available(*, deprecated, message: "Use StripeAPI.jcbPaymentNetworkSupported instead.") +public var jcbPaymentNetworkSupported: Swift.Bool { + get + set +} +@available(*, deprecated, message: "Use StripeAPI.additionalEnabledApplePayNetworks instead.") +public var additionalEnabledApplePayNetworks: [PassKit.PKPaymentNetwork] { + get + set +} +@available(*, deprecated, message: "Use StripeAPI.canSubmitPaymentRequest(_:) instead.") +public func canSubmitPaymentRequest(_ paymentRequest: PassKit.PKPaymentRequest) -> Swift.Bool +@available(*, deprecated, message: "Use StripeAPI.deviceSupportsApplePay() instead.") +public func deviceSupportsApplePay() -> Swift.Bool +@available(*, deprecated, message: "Use StripeAPI.paymentRequest(withMerchantIdentifier:country:currency:) instead.") +public func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String, country countryCode: Swift.String, currency currencyCode: Swift.String) -> PassKit.PKPaymentRequest +@available(*, deprecated, message: "Use StripeAPI.handleURLCallback(with:) instead.") +public func handleURLCallback(with url: Foundation.URL) -> Swift.Bool +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBoleto : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let taxID: Swift.String + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension View { + public func paymentSheet(isPresented: SwiftUI.Binding, paymentSheet: Stripe.PaymentSheet, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void) -> some SwiftUI.View + + public func paymentOptionsSheet(isPresented: SwiftUI.Binding, paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onSheetDismissed: (() -> Swift.Void)?) -> some SwiftUI.View + + public func paymentConfirmationSheet(isConfirming: SwiftUI.Binding, paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void) -> some SwiftUI.View + + @available(*, deprecated, renamed: "paymentConfirmationSheet(isConfirming:paymentSheetFlowController:onCompletion:)") + public func paymentConfirmationSheet(isConfirmingPayment: SwiftUI.Binding, paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void) -> some SwiftUI.View + +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension PaymentSheet { + public struct PaymentButton : SwiftUI.View where Content : SwiftUI.View { + public init(paymentSheet: Stripe.PaymentSheet, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void, @SwiftUI.ViewBuilder content: () -> Content) + public var body: some SwiftUI.View { + get + } + public typealias Body = @_opaqueReturnTypeOf("$s6Stripe12PaymentSheetC0B6ButtonV4bodyQrvp", 0) 🦸 + } +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension PaymentSheet.FlowController { + public struct PaymentOptionsButton : SwiftUI.View where Content : SwiftUI.View { + public init(paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onSheetDismissed: @escaping () -> Swift.Void, @SwiftUI.ViewBuilder content: () -> Content) + public var body: some SwiftUI.View { + get + } + public typealias Body = @_opaqueReturnTypeOf("$s6Stripe12PaymentSheetC14FlowControllerC0B13OptionsButtonV4bodyQrvp", 0) 🦸 + } + @available(*, deprecated, renamed: "ConfirmButton") + public typealias ConfirmPaymentButton = Stripe.PaymentSheet.FlowController.ConfirmButton + public struct ConfirmButton : SwiftUI.View where Content : SwiftUI.View { + public init(paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void, @SwiftUI.ViewBuilder content: () -> Content) + public var body: some SwiftUI.View { + get + } + public typealias Body = @_opaqueReturnTypeOf("$s6Stripe12PaymentSheetC14FlowControllerC13ConfirmButtonV4bodyQrvp", 0) 🦸 + } +} +@objc public enum STPCardFundingType : Swift.Int { + case debit + case credit + case prepaid + case other + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPCard : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPPaymentOption, Stripe.STPSourceProtocol { + @objc public var last4: Swift.String { + get + } + @objc public var dynamicLast4: Swift.String? { + get + } + @objc public var isApplePayCard: Swift.Bool { + @objc get + } + @objc public var expMonth: Swift.Int { + get + } + @objc public var expYear: Swift.Int { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var address: Stripe.STPAddress? { + get + } + @objc public var brand: Stripe.STPCardBrand { + get + } + @objc public var funding: Stripe.STPCardFundingType { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var currency: Swift.String? { + get + } + @objc(stringFromBrand:) public class func string(from brand: Stripe.STPCardBrand) -> Swift.String + @objc(brandFromString:) public class func brand(from string: Swift.String) -> Stripe.STPCardBrand + @available(*, deprecated, message: "You cannot directly instantiate an STPCard. You should only use one that has been returned from an STPAPIClient callback.") + @objc(initWithID:brand:last4:expMonth:expYear:funding:) public init(id cardID: Swift.String, brand: Stripe.STPCardBrand, last4: Swift.String, expMonth: Swift.Int, expYear: Swift.Int, funding: Stripe.STPCardFundingType) + @objc(fundingFromString:) public class func funding(from string: Swift.String) -> Stripe.STPCardFundingType + @objc public var stripeID: Swift.String + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ other: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @available(*, deprecated, message: "Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @available(*, deprecated, message: "Use stripeID (defined in STPSourceProtocol)") + @objc public var cardId: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.line1") + @objc public var addressLine1: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.line2") + @objc public var addressLine2: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.city") + @objc public var addressCity: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.state") + @objc public var addressState: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.postalCode") + @objc public var addressZip: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.country") + @objc public var addressCountry: Swift.String? { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodCardParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc convenience public init(cardSourceParams: Stripe.STPCardParams) + @objc required override dynamic public init() + @objc public var number: Swift.String? + @objc public var expMonth: Foundation.NSNumber? + @objc public var expYear: Foundation.NSNumber? + @objc public var token: Swift.String? + @objc public var cvc: Swift.String? + @objc public var last4: Swift.String? { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public func isEqual(_ other: Any?) -> Swift.Bool + @objc deinit +} +@objc public class STPPushProvisioningDetailsParams : ObjectiveC.NSObject { + @objc public var cardId: Swift.String { + get + } + @objc public var certificates: [Foundation.Data] { + get + } + @objc public var nonce: Foundation.Data { + get + } + @objc public var nonceSignature: Foundation.Data { + get + } + @objc public var certificatesBase64: [Swift.String] { + @objc get + } + @objc public var nonceHex: Swift.String { + @objc get + } + @objc public var nonceSignatureHex: Swift.String { + @objc get + } + @objc required public init(cardId: Swift.String, certificates: [Foundation.Data], nonce: Foundation.Data, nonceSignature: Foundation.Data) + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountAddress : ObjectiveC.NSObject { + @objc public var city: Swift.String? + @objc public var country: Swift.String? + @objc public var line1: Swift.String? + @objc public var line2: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var state: Swift.String? + @objc public var town: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountAddress : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPConfirmAlipayOptions : ObjectiveC.NSObject { + @objc public var appBundleID: Swift.String { + @objc get + } + @objc public var appVersionKey: Swift.String { + @objc get + } + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConfirmAlipayOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPPaymentMethodCardWalletType : Swift.Int { + case amexExpressCheckout + case applePay + case googlePay + case masterpass + case samsungPay + case visaCheckout + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardWallet : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var type: Stripe.STPPaymentMethodCardWalletType { + get + } + @objc public var masterpass: Stripe.STPPaymentMethodCardWalletMasterpass? { + get + } + @objc public var visaCheckout: Stripe.STPPaymentMethodCardWalletVisaCheckout? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +extension PaymentSheet { + @available(iOS 13.0, *) + public enum UserInterfaceStyle : Swift.Int { + case automatic + case alwaysLight + case alwaysDark + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } + } + public enum SavePaymentMethodOptInBehavior { + case automatic + case requiresOptIn + case requiresOptOut + public static func == (a: Stripe.PaymentSheet.SavePaymentMethodOptInBehavior, b: Stripe.PaymentSheet.SavePaymentMethodOptInBehavior) -> Swift.Bool + public var hashValue: Swift.Int { + get + } + public func hash(into hasher: inout Swift.Hasher) + } + public struct Configuration { + public var allowsDelayedPaymentMethods: Swift.Bool + public var apiClient: StripeCore.STPAPIClient + public var applePay: Stripe.PaymentSheet.ApplePayConfiguration? + public var primaryButtonColor: UIKit.UIColor + @available(iOS 13.0, *) + public var style: Stripe.PaymentSheet.UserInterfaceStyle { + get + set + } + public var customer: Stripe.PaymentSheet.CustomerConfiguration? + public var merchantDisplayName: Swift.String + public var returnURL: Swift.String? + public init() + public var defaultBillingDetails: Stripe.PaymentSheet.BillingDetails + public var savePaymentMethodOptInBehavior: Stripe.PaymentSheet.SavePaymentMethodOptInBehavior + } + public struct CustomerConfiguration { + public let id: Swift.String + public let ephemeralKeySecret: Swift.String + public init(id: Swift.String, ephemeralKeySecret: Swift.String) + } + public struct ApplePayConfiguration { + public let merchantId: Swift.String + public let merchantCountryCode: Swift.String + public init(merchantId: Swift.String, merchantCountryCode: Swift.String) + } + public struct Address { + public var city: Swift.String? + public var country: Swift.String? + public var line1: Swift.String? + public var line2: Swift.String? + public var postalCode: Swift.String? + public var state: Swift.String? + public init(city: Swift.String? = nil, country: Swift.String? = nil, line1: Swift.String? = nil, line2: Swift.String? = nil, postalCode: Swift.String? = nil, state: Swift.String? = nil) + } + public struct BillingDetails { + public var address: Stripe.PaymentSheet.Address + public var email: Swift.String? + public var name: Swift.String? + public var phone: Swift.String? + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodLink : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPBackendAPIAdapter : ObjectiveC.NSObjectProtocol { + @objc func retrieveCustomer(_ completion: Stripe.STPCustomerCompletionBlock?) + @objc func listPaymentMethodsForCustomer(completion: Stripe.STPPaymentMethodsCompletionBlock?) + @objc func attachPaymentMethod(toCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc optional func detachPaymentMethod(fromCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc optional func updateCustomer(withShippingAddress shipping: Stripe.STPAddress, completion: Stripe.STPErrorBlock?) +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntentShippingDetailsAddress : ObjectiveC.NSObject { + @objc final public let city: Swift.String? + @objc final public let country: Swift.String? + @objc final public let line1: Swift.String? + @objc final public let line2: Swift.String? + @objc final public let postalCode: Swift.String? + @objc final public let state: Swift.String? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetailsAddress : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntentShippingDetails : ObjectiveC.NSObject { + @objc final public let address: Stripe.STPPaymentIntentShippingDetailsAddress? + @objc final public let name: Swift.String? + @objc final public let carrier: Swift.String? + @objc final public let phone: Swift.String? + @objc final public let trackingNumber: Swift.String? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetails : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc public enum STPCardBrand : Swift.Int { + case visa + case amex + case mastercard + case discover + case JCB + case dinersClub + case unionPay + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @available(*, deprecated, message: "STPStringFromCardBrand has been replaced with STPCardBrandUtilities.stringFrom(brand)") +@objc public class STPStringFromCardBrand : ObjectiveC.NSObject { + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPCardBrandUtilities : ObjectiveC.NSObject { + @objc(stringFromCardBrand:) public static func stringFrom(_ brand: Stripe.STPCardBrand) -> Swift.String? + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPCustomerEphemeralKeyProvider : ObjectiveC.NSObjectProtocol { + @objc(createCustomerKeyWithAPIVersion:completion:) func createCustomerKey(withAPIVersion apiVersion: Swift.String, completion: @escaping Stripe.STPJSONResponseCompletionBlock) +} +@objc public protocol STPIssuingCardEphemeralKeyProvider : ObjectiveC.NSObjectProtocol { + @objc(createIssuingCardKeyWithAPIVersion:completion:) func createIssuingCardKey(withAPIVersion apiVersion: Swift.String, completion: @escaping Stripe.STPJSONResponseCompletionBlock) +} +@available(*, deprecated, message: "use `STPCustomerEphemeralKeyProvider` or `STPIssuingCardEphemeralKeyProvider` depending on the type of key that will be fetched.") +@objc public protocol STPEphemeralKeyProvider : Stripe.STPCustomerEphemeralKeyProvider { +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBacsDebit : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var sortCode: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPBankAccountStatus : Swift.Int { + case new + case validated + case verified + case verificationFailed + case errored + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPBankAccount : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPSourceProtocol { + @objc public var routingNumber: Swift.String? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var currency: Swift.String? { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var bankName: Swift.String? { + get + } + @objc public var accountHolderName: Swift.String? { + get + } + @objc public var accountHolderType: Stripe.STPBankAccountHolderType { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var status: Stripe.STPBankAccountStatus { + get + } + @available(*, deprecated, message: "Use stripeID (defined in STPSourceProtocol)") + @objc public var bankAccountId: Swift.String? { + @objc get + } + @objc public var stripeID: Swift.String { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ bankAccount: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodSEPADebitParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var iban: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodParams : ObjectiveC.NSObject, Stripe.STPFormEncodable, Stripe.STPPaymentOption { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var type: Stripe.STPPaymentMethodType { + @objc get + @objc set(newType) + } + @objc public var rawTypeString: Swift.String? + @objc public var billingDetails: Stripe.STPPaymentMethodBillingDetails? + @objc public var card: Stripe.STPPaymentMethodCardParams? + @objc public var alipay: Stripe.STPPaymentMethodAlipayParams? + @objc public var iDEAL: Stripe.STPPaymentMethodiDEALParams? + @objc public var fpx: Stripe.STPPaymentMethodFPXParams? + @objc public var sepaDebit: Stripe.STPPaymentMethodSEPADebitParams? + @objc public var bacsDebit: Stripe.STPPaymentMethodBacsDebitParams? + @objc public var auBECSDebit: Stripe.STPPaymentMethodAUBECSDebitParams? + @objc public var giropay: Stripe.STPPaymentMethodGiropayParams? + @objc public var payPal: Stripe.STPPaymentMethodPayPalParams? + @objc public var przelewy24: Stripe.STPPaymentMethodPrzelewy24Params? + @objc public var eps: Stripe.STPPaymentMethodEPSParams? + @objc public var bancontact: Stripe.STPPaymentMethodBancontactParams? + @objc public var netBanking: Stripe.STPPaymentMethodNetBankingParams? + @objc public var oxxo: Stripe.STPPaymentMethodOXXOParams? + @objc public var sofort: Stripe.STPPaymentMethodSofortParams? + @objc public var upi: Stripe.STPPaymentMethodUPIParams? + @objc public var grabPay: Stripe.STPPaymentMethodGrabPayParams? + @objc public var afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpayParams? + @objc public var blik: Stripe.STPPaymentMethodBLIKParams? + @objc public var boleto: Stripe.STPPaymentMethodBoletoParams? + @objc public var link: Stripe.STPPaymentMethodLinkParams? + @objc public var klarna: Stripe.STPPaymentMethodKlarnaParams? + @objc public var metadata: [Swift.String : Swift.String]? + @objc convenience public init(card: Stripe.STPPaymentMethodCardParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(iDEAL: Stripe.STPPaymentMethodiDEALParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(fpx: Stripe.STPPaymentMethodFPXParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(sepaDebit: Stripe.STPPaymentMethodSEPADebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(bacsDebit: Stripe.STPPaymentMethodBacsDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(aubecsDebit auBECSDebit: Stripe.STPPaymentMethodAUBECSDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(giropay: Stripe.STPPaymentMethodGiropayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(eps: Stripe.STPPaymentMethodEPSParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(przelewy24: Stripe.STPPaymentMethodPrzelewy24Params, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(bancontact: Stripe.STPPaymentMethodBancontactParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(netBanking: Stripe.STPPaymentMethodNetBankingParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(grabPay: Stripe.STPPaymentMethodGrabPayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(oxxo: Stripe.STPPaymentMethodOXXOParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(sofort: Stripe.STPPaymentMethodSofortParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(upi: Stripe.STPPaymentMethodUPIParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(alipay: Stripe.STPPaymentMethodAlipayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(payPal: Stripe.STPPaymentMethodPayPalParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(blik: Stripe.STPPaymentMethodBLIKParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(boleto: Stripe.STPPaymentMethodBoletoParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(klarna: Stripe.STPPaymentMethodKlarnaParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init?(singleUsePaymentMethod paymentMethod: Stripe.STPPaymentMethod) + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +@objc extension STPPaymentMethodParams { + @objc(paramsWithCard:billingDetails:metadata:) dynamic public class func paramsWith(card: Stripe.STPPaymentMethodCardParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithiDEAL:billingDetails:metadata:) dynamic public class func paramsWith(iDEAL: Stripe.STPPaymentMethodiDEALParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithFPX:billingDetails:metadata:) dynamic public class func paramsWith(fpx: Stripe.STPPaymentMethodFPXParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithSEPADebit:billingDetails:metadata:) dynamic public class func paramsWith(sepaDebit: Stripe.STPPaymentMethodSEPADebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithBacsDebit:billingDetails:metadata:) dynamic public class func paramsWith(bacsDebit: Stripe.STPPaymentMethodBacsDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithAUBECSDebit:billingDetails:metadata:) dynamic public class func paramsWith(auBECSDebit: Stripe.STPPaymentMethodAUBECSDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithGiropay:billingDetails:metadata:) dynamic public class func paramsWith(giropay: Stripe.STPPaymentMethodGiropayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithEPS:billingDetails:metadata:) dynamic public class func paramsWith(eps: Stripe.STPPaymentMethodEPSParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithPrzelewy24:billingDetails:metadata:) dynamic public class func paramsWith(przelewy24: Stripe.STPPaymentMethodPrzelewy24Params, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithBancontact:billingDetails:metadata:) dynamic public class func paramsWith(bancontact: Stripe.STPPaymentMethodBancontactParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithNetBanking:billingDetails:metadata:) dynamic public class func paramsWith(netBanking: Stripe.STPPaymentMethodNetBankingParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithOXXO:billingDetails:metadata:) dynamic public class func paramsWith(oxxo: Stripe.STPPaymentMethodOXXOParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithGrabPay:billingDetails:metadata:) dynamic public class func paramsWith(grabPay: Stripe.STPPaymentMethodGrabPayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithSofort:billingDetails:metadata:) dynamic public class func paramsWith(sofort: Stripe.STPPaymentMethodSofortParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithUPI:billingDetails:metadata:) dynamic public class func paramsWith(upi: Stripe.STPPaymentMethodUPIParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithAlipay:billingDetails:metadata:) dynamic public class func paramsWith(alipay: Stripe.STPPaymentMethodAlipayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithPayPal:billingDetails:metadata:) dynamic public class func paramsWith(payPal: Stripe.STPPaymentMethodPayPalParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithAfterpayClearpay:billingDetails:metadata:) dynamic public class func paramsWith(afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithBLIK:billingDetails:metadata:) dynamic public class func paramsWith(blik: Stripe.STPPaymentMethodBLIKParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithKlarna:billingDetails:metadata:) dynamic public class func paramsWith(klarna: Stripe.STPPaymentMethodKlarnaParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodPayPalParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc public protocol STPSourceProtocol : ObjectiveC.NSObjectProtocol { + @objc var stripeID: Swift.String { get } +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, deprecated, renamed: "STPIntentAction", message: "Use `STPIntentAction` instead.") +@objc final public class STPPaymentIntentAction : Stripe.STPIntentAction { + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodGrabPay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPFormView : UIKit.UIView { + @objc override dynamic public var canResignFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func resignFirstResponder() -> Swift.Bool + @objc override dynamic public var isFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public var canBecomeFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func becomeFirstResponder() -> Swift.Bool + @objc override dynamic public var isUserInteractionEnabled: Swift.Bool { + @objc get + @objc set + } + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodPayPal : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodSofortParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var country: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc public enum STPMandateCustomerAcceptanceType : Swift.Int { + case online + case offline + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPMandateCustomerAcceptanceParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var type: Stripe.STPMandateCustomerAcceptanceType + @objc public var onlineParams: Stripe.STPMandateOnlineParams? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc required override dynamic public init() + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public class func rootObjectName() -> Swift.String? + @objc deinit +} +public enum PaymentSheetError : Swift.Error { + case unknown(debugDescription: Swift.String) + public var localizedDescription: Swift.String { + get + } +} +extension UINavigationBar { + @available(*, deprecated, message: "Use the `stp_theme` property instead") + @objc dynamic public func stp_setTheme(_ theme: Stripe.STPTheme) + @objc dynamic public var stp_theme: Stripe.STPTheme? { + @objc get + @objc set(theme) + } +} +@objc public protocol STPAUBECSDebitFormViewDelegate : ObjectiveC.NSObjectProtocol { + @objc func auBECSDebitForm(_ form: Stripe.STPAUBECSDebitFormView, didChangeToStateComplete complete: Swift.Bool) +} +@objc @_inheritsConvenienceInitializers public class STPAUBECSDebitFormView : Stripe.STPMultiFormTextField, UIKit.UITextViewDelegate { + @objc(initWithCompanyName:) required public init(companyName: Swift.String) + @objc public var formBackgroundColor: UIKit.UIColor { + @objc get + @objc set + } + @objc weak public var becsDebitFormDelegate: Stripe.STPAUBECSDebitFormViewDelegate? + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? { + @objc get + } + @objc override dynamic public func systemLayoutSizeFitting(_ targetSize: CoreGraphics.CGSize, withHorizontalFittingPriority horizontalFittingPriority: UIKit.UILayoutPriority, verticalFittingPriority: UIKit.UILayoutPriority) -> CoreGraphics.CGSize + @objc public func textView(_ textView: UIKit.UITextView, shouldInteractWith URL: Foundation.URL, in characterRange: Foundation.NSRange, interaction: UIKit.UITextItemInteraction) -> Swift.Bool + @objc override public var formFont: UIKit.UIFont { + @objc get + @objc set + } + @objc override public var formTextColor: UIKit.UIColor { + @objc get + @objc set + } + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAfterpayClearpayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public static func rootObjectName() -> Swift.String? + @objc public static func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodAfterpayClearpay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPSetupIntent : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let stripeID: Swift.String + @objc final public let clientSecret: Swift.String + @objc final public let created: Foundation.Date + @objc final public let customerID: Swift.String? + @objc final public let stripeDescription: Swift.String? + @objc final public let livemode: Swift.Bool + @objc final public let nextAction: Stripe.STPIntentAction? + @objc final public let paymentMethodID: Swift.String? + @objc final public let paymentMethodTypes: [Foundation.NSNumber] + @objc final public let status: Stripe.STPSetupIntentStatus + @objc final public let usage: Stripe.STPSetupIntentUsage + @objc final public let lastSetupError: Stripe.STPSetupIntentLastSetupError? + @available(*, deprecated, message: "Metadata is not returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPBillingAddressFields : Swift.UInt { + case none + case postalCode + case full + case name + @available(*, deprecated, message: "Use STPBillingAddressFields.postalCode instead") + case zip + public typealias RawValue = Swift.UInt + public init?(rawValue: Swift.UInt) + public var rawValue: Swift.UInt { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPAddress : ObjectiveC.NSObject { + @objc public var name: Swift.String? + @objc public var line1: Swift.String? + @objc public var line2: Swift.String? + @objc public var city: Swift.String? + @objc public var state: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var country: Swift.String? + @objc public var phone: Swift.String? + @objc public var email: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc(shippingInfoForChargeWithAddress:shippingMethod:) public class func shippingInfoForCharge(with address: Stripe.STPAddress?, shippingMethod method: PassKit.PKShippingMethod?) -> [Swift.AnyHashable : Any]? + @objc override dynamic public init() + @objc public init(paymentMethodBillingDetails billingDetails: Stripe.STPPaymentMethodBillingDetails) + @objc(initWithPKContact:) public init(pkContact contact: PassKit.PKContact) + @objc(PKContactValue) public func pkContactValue() -> PassKit.PKContact + @objc(initWithCNContact:) public init(cnContact contact: Contacts.CNContact) + @objc public func containsRequiredFields(_ requiredFields: Stripe.STPBillingAddressFields) -> Swift.Bool + @objc(containsContentForBillingAddressFields:) public func containsContent(for desiredFields: Stripe.STPBillingAddressFields) -> Swift.Bool + @objc public func containsRequiredShippingAddressFields(_ requiredFields: Swift.Set?) -> Swift.Bool + @objc public func containsContent(forShippingAddressFields desiredFields: Swift.Set?) -> Swift.Bool + @objc(applePayContactFieldsFromBillingAddressFields:) public class func applePayContactFields(from billingAddressFields: Stripe.STPBillingAddressFields) -> Swift.Set + @objc public class func pkContactFields(fromStripeContactFields contactFields: Swift.Set?) -> Swift.Set? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc deinit +} +extension STPAddress : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +extension STPAddress : Stripe.STPFormEncodable { + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] +} +extension STPAddress : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodAUBECSDebit : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var bsbNumber: Swift.String { + get + } + @objc public var fingerprint: Swift.String { + get + } + @objc public var last4: Swift.String { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAlipayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc public enum STPCardFormViewStyle : Swift.Int { + case standard + case borderless + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public protocol STPCardFormViewDelegate : ObjectiveC.NSObjectProtocol { + @objc func cardFormView(_ form: Stripe.STPCardFormView, didChangeToStateComplete complete: Swift.Bool) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPCardFormView : Stripe.STPFormView { + @objc weak public var delegate: Stripe.STPCardFormViewDelegate? + @objc override dynamic public var backgroundColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc public var disabledBackgroundColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc public var cardParams: Stripe.STPPaymentMethodParams? { + @objc get + } + @objc override dynamic public var isUserInteractionEnabled: Swift.Bool { + @objc get + @objc set + } + @objc convenience public init(style: Stripe.STPCardFormViewStyle = .standard) + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPCustomer : ObjectiveC.NSObject { + @objc final public let stripeID: Swift.String + @objc public var defaultSource: Stripe.STPSourceProtocol? { + get + } + @objc public var sources: [Stripe.STPSourceProtocol] { + get + } + @objc public var email: Swift.String? { + get + } + @objc public var shippingAddress: Stripe.STPAddress? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc convenience public init(stripeID: Swift.String, defaultSource: Stripe.STPSourceProtocol?, sources: [Stripe.STPSourceProtocol]) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc(updateSourcesFilteringApplePay:) public func updateSources(filteringApplePay: Swift.Bool) + @objc deinit +} +extension STPCustomer : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_hasMissingDesignatedInitializers public class STPCustomerDeserializer : ObjectiveC.NSObject { + @objc final public let customer: Stripe.STPCustomer? + @objc final public let error: Swift.Error? + @objc convenience public init(data: Foundation.Data?, urlResponse: Foundation.URLResponse?, error: Swift.Error?) + @objc convenience public init(jsonResponse json: Any?) + @objc deinit + @objc override dynamic public init() +} +@objc public class STPContactField : ObjectiveC.NSObject, Swift.RawRepresentable { + final public let rawValue: Swift.String + required public init(rawValue: Swift.String) + @objc public static let postalAddress: Stripe.STPContactField + @objc public static let emailAddress: Stripe.STPContactField + @objc public static let phoneNumber: Stripe.STPContactField + @objc public static let name: Stripe.STPContactField + @objc override dynamic public init() + public typealias RawValue = Swift.String + @objc deinit +} +extension PaymentSheet { + @_hasMissingDesignatedInitializers @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public class FlowController { + public struct PaymentOptionDisplayData { + public let image: UIKit.UIImage + public let label: Swift.String + } + final public let configuration: Stripe.PaymentSheet.Configuration + public var paymentOption: Stripe.PaymentSheet.FlowController.PaymentOptionDisplayData? { + get + } + public static func create(paymentIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration, completion: @escaping (Swift.Result) -> Swift.Void) + public static func create(setupIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration, completion: @escaping (Swift.Result) -> Swift.Void) + public func presentPaymentOptions(from presentingViewController: UIKit.UIViewController, completion: (() -> ())? = nil) + public func confirm(from presentingViewController: UIKit.UIViewController, completion: @escaping (Stripe.PaymentSheetResult) -> ()) + @objc deinit + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodKlarna : ObjectiveC.NSObject { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension STPCardFormView { + public struct Representable : SwiftUI.UIViewRepresentable { + public init(_ style: Stripe.STPCardFormViewStyle = .standard, paymentMethodParams: SwiftUI.Binding, isComplete: SwiftUI.Binding) + public func makeCoordinator() -> Stripe.STPCardFormView.Coordinator + public func makeUIView(context: Stripe.STPCardFormView.Representable.Context) -> Stripe.STPCardFormView + public func updateUIView(_ cardFormView: Stripe.STPCardFormView, context: Stripe.STPCardFormView.Representable.Context) + public typealias UIViewType = Stripe.STPCardFormView + public typealias Coordinator = Stripe.STPCardFormView.Coordinator + public typealias Body = Swift.Never + } + @objc @_hasMissingDesignatedInitializers public class Coordinator : ObjectiveC.NSObject, Stripe.STPCardFormViewDelegate { + @objc public func cardFormView(_ form: Stripe.STPCardFormView, didChangeToStateComplete complete: Swift.Bool) + @objc deinit + @objc override dynamic public init() + } +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSTextFieldCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSTextFieldCustomization + @objc public var borderWidth: CoreGraphics.CGFloat { + @objc get + @objc set(borderWidth) + } + @objc public var borderColor: UIKit.UIColor { + @objc get + @objc set(borderColor) + } + @objc public var cornerRadius: CoreGraphics.CGFloat { + @objc get + @objc set(cornerRadius) + } + @objc public var keyboardAppearance: UIKit.UIKeyboardAppearance { + @objc get + @objc set(keyboardAppearance) + } + @objc public var placeholderTextColor: UIKit.UIColor { + @objc get + @objc set(placeholderTextColor) + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set(textColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodNetBankingParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var bank: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardPresent : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceReceiver : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var address: Swift.String? { + get + } + @objc public var amountCharged: Foundation.NSNumber? { + get + } + @objc public var amountReceived: Foundation.NSNumber? { + get + } + @objc public var amountReturned: Foundation.NSNumber? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodPrzelewy24Params : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodKlarnaParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public static func rootObjectName() -> Swift.String? + @objc public static func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBancontactParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, unavailable, renamed: "STPIntentActionRedirectToURL", message: "Use `STPIntentActionRedirectToURL` instead.") +@objc final public class STPPaymentIntentSourceActionAuthorizeWithURL : Stripe.STPIntentActionRedirectToURL { + @objc deinit +} +@objc public enum STPSetupIntentLastSetupErrorType : Swift.UInt { + case unknown + @objc(STPSetupIntentLastSetupErrorTypeAPIConnection) case apiConnection + case API + case authentication + case card + case idempotency + case invalidRequest + case rateLimit + public typealias RawValue = Swift.UInt + public init?(rawValue: Swift.UInt) + public var rawValue: Swift.UInt { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSetupIntentLastSetupError : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var code: Swift.String? { + get + } + @objc public var declineCode: Swift.String? { + get + } + @objc public var docURL: Swift.String? { + get + } + @objc public var message: Swift.String? { + get + } + @objc public var param: Swift.String? { + get + } + @objc public var paymentMethod: Stripe.STPPaymentMethod? { + get + } + @objc public var type: Stripe.STPSetupIntentLastSetupErrorType { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc extension STPSetupIntentLastSetupError { + @objc public static let CodeAuthenticationFailure: Swift.String +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodPrzelewy24 : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCard : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var brand: Stripe.STPCardBrand { + get + } + @objc public var checks: Stripe.STPPaymentMethodCardChecks? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var expMonth: Swift.Int { + get + } + @objc public var expYear: Swift.Int { + get + } + @objc public var funding: Swift.String? { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var networks: Stripe.STPPaymentMethodCardNetworks? { + get + } + @objc public var threeDSecureUsage: Stripe.STPPaymentMethodThreeDSecureUsage? { + get + } + @objc public var wallet: Stripe.STPPaymentMethodCardWallet? { + get + } + @objc(stringFromBrand:) public class func string(from brand: Stripe.STPCardBrand) -> Swift.String + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public enum STPPaymentIntentLastPaymentErrorType : Swift.Int { + case unknown + @objc(STPPaymentIntentLastPaymentErrorTypeAPIConnection) case apiConnection + @objc(STPPaymentIntentLastPaymentErrorTypeAPI) case api + case authentication + case card + case idempotency + case invalidRequest + case rateLimit + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntentLastPaymentError : ObjectiveC.NSObject { + @objc public static let ErrorCodeAuthenticationFailure: Swift.String + @objc final public let code: Swift.String? + @objc final public let declineCode: Swift.String? + @objc final public let docURL: Swift.String? + @objc final public let message: Swift.String? + @objc final public let param: Swift.String? + @objc final public let paymentMethod: Stripe.STPPaymentMethod? + @objc final public let type: Stripe.STPPaymentIntentLastPaymentErrorType + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentLastPaymentError : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc public class STPPaymentResult : ObjectiveC.NSObject { + @objc public var paymentMethod: Stripe.STPPaymentMethod? { + get + } + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? { + get + } + @objc weak public var paymentOption: Stripe.STPPaymentOption? { + @objc get + } + @objc public init(paymentOption: Stripe.STPPaymentOption?) + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionWechatPayRedirectToApp : ObjectiveC.NSObject { + @objc final public let nativeURL: Foundation.URL? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPIntentActionWechatPayRedirectToApp : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc public enum STPPaymentIntentStatus : Swift.Int { + case unknown + case requiresPaymentMethod + @available(*, deprecated, renamed: "STPPaymentIntentStatus.requiresPaymentMethod", message: "Use STPPaymentIntentStatus.requiresPaymentMethod instead") + case requiresSource + case requiresConfirmation + case requiresAction + @available(*, deprecated, renamed: "STPPaymentIntentStatus.requiresAction", message: "Use STPPaymentIntentStatus.requiresAction instead") + case requiresSourceAction + case processing + case succeeded + case requiresCapture + case canceled + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentIntentSetupFutureUsage : Swift.Int { + case unknown + case none + case onSession + case offSession + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPPaymentIntentActionType : Swift.Int { + @available(*, deprecated, renamed: "STPIntentActionType.unknown", message: "Use STPIntentActionType instead") + case unknown + @available(*, deprecated, renamed: "STPIntentActionType.redirectToURL", message: "Use STPIntentActionType instead") + case redirectToURL + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +@objc public enum STPPaymentIntentSourceActionType : Swift.Int { + case unknown + case authorizeWithURL + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodGiropay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAUBECSDebitParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var accountNumber: Swift.String? + @objc public var bsbNumber: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBLIK : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodSofort : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var country: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodUPIParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var vpa: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPCardParams : ObjectiveC.NSObject, Stripe.STPFormEncodable, Foundation.NSCopying { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc convenience public init(paymentMethodParams: Stripe.STPPaymentMethodParams) + @objc public var number: Swift.String? + @objc public func last4() -> Swift.String? + @objc public var expMonth: Swift.UInt + @objc public var expYear: Swift.UInt + @objc public var cvc: Swift.String? + @objc public var name: Swift.String? { + @objc get + @objc set + } + @objc public var address: Stripe.STPAddress { + @objc get + @objc set + } + @objc public var currency: Swift.String? + @objc public var addressLine1: Swift.String? { + @objc get + @objc set(addressLine1) + } + @objc public var addressLine2: Swift.String? { + @objc get + @objc set(addressLine2) + } + @objc public var addressCity: Swift.String? { + @objc get + @objc set(addressCity) + } + @objc public var addressState: Swift.String? { + @objc get + @objc set(addressState) + } + @objc public var addressZip: Swift.String? { + @objc get + @objc set(addressZip) + } + @objc public var addressCountry: Swift.String? { + @objc get + @objc set(addressCountry) + } + @objc override dynamic public init() + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodAlipay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPFormEncodable : ObjectiveC.NSObjectProtocol { + @objc static func rootObjectName() -> Swift.String? + @objc static func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc var additionalAPIParameters: [Swift.AnyHashable : Any] { get set } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBancontact : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethod : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPPaymentOption { + @objc public var stripeId: Swift.String { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var liveMode: Swift.Bool { + get + } + @objc public var type: Stripe.STPPaymentMethodType { + get + } + @objc public var billingDetails: Stripe.STPPaymentMethodBillingDetails? { + get + } + @objc public var alipay: Stripe.STPPaymentMethodAlipay? { + get + } + @objc public var grabPay: Stripe.STPPaymentMethodGrabPay? { + get + } + @objc public var card: Stripe.STPPaymentMethodCard? { + get + } + @objc public var iDEAL: Stripe.STPPaymentMethodiDEAL? { + get + } + @objc public var fpx: Stripe.STPPaymentMethodFPX? { + get + } + @objc public var cardPresent: Stripe.STPPaymentMethodCardPresent? { + get + } + @objc public var sepaDebit: Stripe.STPPaymentMethodSEPADebit? { + get + } + @objc public var bacsDebit: Stripe.STPPaymentMethodBacsDebit? { + get + } + @objc public var auBECSDebit: Stripe.STPPaymentMethodAUBECSDebit? { + get + } + @objc public var giropay: Stripe.STPPaymentMethodGiropay? { + get + } + @objc public var eps: Stripe.STPPaymentMethodEPS? { + get + } + @objc public var przelewy24: Stripe.STPPaymentMethodPrzelewy24? { + get + } + @objc public var bancontact: Stripe.STPPaymentMethodBancontact? { + get + } + @objc public var netBanking: Stripe.STPPaymentMethodNetBanking? { + get + } + @objc public var oxxo: Stripe.STPPaymentMethodOXXO? { + get + } + @objc public var sofort: Stripe.STPPaymentMethodSofort? { + get + } + @objc public var upi: Stripe.STPPaymentMethodUPI? { + get + } + @objc public var payPal: Stripe.STPPaymentMethodPayPal? { + get + } + @objc public var afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpay? { + get + } + @objc public var blik: Stripe.STPPaymentMethodBLIK? { + get + } + @objc public var boleto: Stripe.STPPaymentMethodBoleto? { + get + } + @objc public var link: Stripe.STPPaymentMethodLink? { + get + } + @objc public var klarna: Stripe.STPPaymentMethodKlarna? { + get + } + @objc public var customerId: Swift.String? { + get + } + @available(*, deprecated, message: "Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardWalletVisaCheckout : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var email: Swift.String? { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var billingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var shippingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodFPXParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var bank: Stripe.STPFPXBankBrand { + @objc get + @objc set(_bank) + } + @objc public var rawBankString: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objc public class STPApplePayPaymentOption : ObjectiveC.NSObject, Stripe.STPPaymentOption { + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +@objc public class STPMandateDataParams : ObjectiveC.NSObject { + @objc final public let customerAcceptance: Stripe.STPMandateCustomerAcceptanceParams + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(customerAcceptance: Stripe.STPMandateCustomerAcceptanceParams) + @objc override dynamic public init() + @objc deinit +} +extension STPMandateDataParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPFPXBankBrand : Swift.Int { + case maybank2U + case CIMB + case publicBank + case RHB + case hongLeongBank + case ambank + case affinBank + case allianceBank + case bankIslam + case bankMuamalat + case bankRakyat + case BSN + case HSBC + case KFH + case maybank2E + case ocbc + case standardChartered + case UOB + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc @_inheritsConvenienceInitializers public class STPFPXBank : ObjectiveC.NSObject { + @objc public static func stringFrom(_ brand: Stripe.STPFPXBankBrand) -> Swift.String? + @objc public static func brandFrom(_ identifier: Swift.String?) -> Stripe.STPFPXBankBrand + @objc public static func identifierFrom(_ brand: Stripe.STPFPXBankBrand) -> Swift.String? + @objc public static func bankCodeFrom(_ brand: Stripe.STPFPXBankBrand, _ isBusiness: Swift.Bool) -> Swift.String? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPCardValidationState : Swift.Int { + case valid + case invalid + case incomplete + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPCardValidator : ObjectiveC.NSObject { + @objc(sanitizedNumericStringForString:) public class func sanitizedNumericString(for string: Swift.String) -> Swift.String + @objc(sanitizedPostalStringForString:) public class func sanitizedPostalString(for string: Swift.String) -> Swift.String + @objc(stringIsNumeric:) public class func stringIsNumeric(_ string: Swift.String) -> Swift.Bool + @objc(validationStateForNumber:validatingCardBrand:) public class func validationState(forNumber cardNumber: Swift.String?, validatingCardBrand: Swift.Bool) -> Stripe.STPCardValidationState + @objc(brandForNumber:) public class func brand(forNumber cardNumber: Swift.String) -> Stripe.STPCardBrand + @objc(lengthsForCardBrand:) public class func lengths(for brand: Stripe.STPCardBrand) -> Swift.Set + @objc(maxLengthForCardBrand:) public class func maxLength(for brand: Stripe.STPCardBrand) -> Swift.Int + @objc(fragmentLengthForCardBrand:) public class func fragmentLength(for brand: Stripe.STPCardBrand) -> Swift.Int + @objc(validationStateForExpirationMonth:) public class func validationState(forExpirationMonth expirationMonth: Swift.String) -> Stripe.STPCardValidationState + @objc(validationStateForExpirationYear:inMonth:) public class func validationState(forExpirationYear expirationYear: Swift.String, inMonth expirationMonth: Swift.String) -> Stripe.STPCardValidationState + @objc(maxCVCLengthForCardBrand:) public class func maxCVCLength(for brand: Stripe.STPCardBrand) -> Swift.UInt + @objc(validationStateForCVC:cardBrand:) public class func validationState(forCVC cvc: Swift.String, cardBrand brand: Stripe.STPCardBrand) -> Stripe.STPCardValidationState + @objc(validationStateForCard:) public class func validationState(forCard card: Stripe.STPCardParams) -> Stripe.STPCardValidationState + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountCompanyParams : ObjectiveC.NSObject { + @objc public var address: Stripe.STPConnectAccountAddress! + @objc public var kanaAddress: Stripe.STPConnectAccountAddress? + @objc public var kanjiAddress: Stripe.STPConnectAccountAddress? + @objc public var directorsProvided: Foundation.NSNumber? + @objc public var name: Swift.String? + @objc public var kanaName: Swift.String? + @objc public var kanjiName: Swift.String? + @objc public var ownersProvided: Foundation.NSNumber? + @objc public var phone: Swift.String? + @objc public var taxID: Swift.String? + @objc public var taxIDRegistrar: Swift.String? + @objc public var vatID: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountCompanyParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardWalletMasterpass : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var email: Swift.String? { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var billingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var shippingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBillingDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var address: Stripe.STPPaymentMethodAddress? + @objc public var email: Swift.String? + @objc public var name: Swift.String? + @objc public var phone: Swift.String? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override required dynamic public init() + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSCustomizationSettings : ObjectiveC.NSObject { + @available(*, deprecated, message: "Use STPThreeDSCustomizationSettings() instead of STPThreeDSCustomizationSettings.defaultSettings().") + @objc public class func defaultSettings() -> Stripe.STPThreeDSCustomizationSettings + @objc public var uiCustomization: Stripe.STPThreeDSUICustomization + @objc public var authenticationTimeout: Swift.Int + @objc override dynamic public init() + @objc deinit +} +@objc public enum STPIntentActionType : Swift.Int { + case unknown + case redirectToURL + case useStripeSDK + case OXXODisplayDetails + case alipayHandleRedirect + case BLIKAuthorize + case weChatPayRedirectToApp + case linkAuthenticateAccount + case boletoDisplayDetails + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPIntentAction : ObjectiveC.NSObject { + @objc final public let type: Stripe.STPIntentActionType + @objc final public let redirectToURL: Stripe.STPIntentActionRedirectToURL? + @objc final public let oxxoDisplayDetails: Stripe.STPIntentActionOXXODisplayDetails? + @objc final public let alipayHandleRedirect: Stripe.STPIntentActionAlipayHandleRedirect? + @objc final public let weChatPayRedirectToApp: Stripe.STPIntentActionWechatPayRedirectToApp? + @objc final public let boletoDisplayDetails: Stripe.STPIntentActionBoletoDisplayDetails? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPIntentAction : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +extension STPIntentAction { + @available(*, deprecated, renamed: "redirectToURL", message: "Use `redirectToURL` instead.") + @objc dynamic public var authorizeWithURL: Stripe.STPIntentActionRedirectToURL? { + @objc get + } +} +@objc public class STPPaymentIntentShippingDetailsAddressParams : ObjectiveC.NSObject { + @objc public var city: Swift.String? + @objc public var country: Swift.String? + @objc public var line1: Swift.String + @objc public var line2: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var state: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(line1: Swift.String) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetailsAddressParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +extension STPPaymentIntentShippingDetailsAddressParams : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc public class STPConfirmWeChatPayOptions : ObjectiveC.NSObject { + @objc public var appId: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc required public init(appId: Swift.String) + @objc deinit + @objc override dynamic public init() +} +extension STPConfirmWeChatPayOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodGiropayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPMultiFormTextField : UIKit.UIView, Stripe.STPFormTextFieldContainer, UIKit.UITextFieldDelegate { + @objc public func textField(_ textField: UIKit.UITextField, shouldChangeCharactersIn range: Foundation.NSRange, replacementString string: Swift.String) -> Swift.Bool + @objc public func focusNextForm() + @objc override dynamic public var canResignFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func resignFirstResponder() -> Swift.Bool + @objc override dynamic public var isFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public var canBecomeFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func becomeFirstResponder() -> Swift.Bool + @objc public func textFieldDidEndEditing(_ textField: UIKit.UITextField) + @objc public func textFieldDidBeginEditing(_ textField: UIKit.UITextField) + @objc public func textFieldShouldReturn(_ textField: UIKit.UITextField) -> Swift.Bool + @objc public var formFont: UIKit.UIFont { + @objc get + @objc set + } + @objc public var formTextColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formTextErrorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formPlaceholderColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formCursorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formKeyboardAppearance: UIKit.UIKeyboardAppearance { + @objc get + @objc set + } + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPImageLibrary : ObjectiveC.NSObject { + @objc public class func applePayCardImage() -> UIKit.UIImage + @objc public class func amexCardImage() -> UIKit.UIImage + @objc public class func dinersClubCardImage() -> UIKit.UIImage + @objc public class func discoverCardImage() -> UIKit.UIImage + @objc public class func jcbCardImage() -> UIKit.UIImage + @objc public class func mastercardCardImage() -> UIKit.UIImage + @objc public class func unionPayCardImage() -> UIKit.UIImage + @objc public class func visaCardImage() -> UIKit.UIImage + @objc public class func unknownCardCardImage() -> UIKit.UIImage + @objc(brandImageForCardBrand:) public class func cardBrandImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc(brandImageForFPXBankBrand:) public class func fpxBrandImage(for brand: Stripe.STPFPXBankBrand) -> UIKit.UIImage + @objc public class func fpxLogo() -> UIKit.UIImage + @objc public class func largeFpxLogo() -> UIKit.UIImage + @objc public class func afterpayLogo() -> UIKit.UIImage + @objc(templatedBrandImageForCardBrand:) public class func templatedBrandImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc(cvcImageForCardBrand:) public class func cvcImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc(errorImageForCardBrand:) public class func errorImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodCardNetworks : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var available: [Swift.String] { + get + } + @objc public var preferred: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPSourceParams : ObjectiveC.NSObject, Stripe.STPFormEncodable, Foundation.NSCopying { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var type: Stripe.STPSourceType { + @objc get + @objc set(type) + } + @objc public var rawTypeString: Swift.String? + @objc public var amount: Foundation.NSNumber? + @objc public var currency: Swift.String? + @objc public var flow: Stripe.STPSourceFlow + @objc public var metadata: [Swift.AnyHashable : Any]? + @objc public var owner: [Swift.AnyHashable : Any]? + @objc public var redirect: [Swift.AnyHashable : Any]? + @objc public var token: Swift.String? + @objc public var usage: Stripe.STPSourceUsage + @objc override required dynamic public init() + @objc deinit +} +extension STPSourceParams { + @objc dynamic public class func bancontactParams(withAmount amount: Swift.Int, name: Swift.String, returnURL: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func cardParams(withCard card: Stripe.STPCardParams) -> Stripe.STPSourceParams + @objc dynamic public class func giropayParams(withAmount amount: Swift.Int, name: Swift.String, returnURL: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func idealParams(withAmount amount: Swift.Int, name: Swift.String?, returnURL: Swift.String, statementDescriptor: Swift.String?, bank: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func sepaDebitParams(withName name: Swift.String, iban: Swift.String, addressLine1: Swift.String?, city: Swift.String?, postalCode: Swift.String?, country: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func sofortParams(withAmount amount: Swift.Int, returnURL: Swift.String, country: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @available(swift, obsoleted: 1.0) + @objc(klarnaParamsWithReturnURL:currency:purchaseCountry:items:customPaymentMethods:billingAddress:billingFirstName:billingLastName:billingDOB:) dynamic public class func objc_klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Foundation.NSNumber], billingAddress address: Stripe.STPAddress?, billingFirstName firstName: Swift.String?, billingLastName lastName: Swift.String?, billingDOB dateOfBirth: Stripe.STPDateOfBirth?) -> Stripe.STPSourceParams + public class func klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Stripe.STPKlarnaPaymentMethods], billingAddress address: Stripe.STPAddress? = nil, billingFirstName firstName: Swift.String? = nil, billingLastName lastName: Swift.String? = nil, billingDOB dateOfBirth: Stripe.STPDateOfBirth? = nil) -> Stripe.STPSourceParams + @available(swift, obsoleted: 1.0) + @objc(klarnaParamsWithReturnURL:currency:purchaseCountry:items:customPaymentMethods:) dynamic public class func objc_klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Foundation.NSNumber]) -> Stripe.STPSourceParams + public class func klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Stripe.STPKlarnaPaymentMethods]) -> Stripe.STPSourceParams + @objc dynamic public class func threeDSecureParams(withAmount amount: Swift.Int, currency: Swift.String, returnURL: Swift.String, card: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func alipayParams(withAmount amount: Swift.Int, currency: Swift.String, returnURL: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func alipayReusableParams(withCurrency currency: Swift.String, returnURL: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func p24Params(withAmount amount: Swift.Int, currency: Swift.String, email: Swift.String, name: Swift.String?, returnURL: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func visaCheckoutParams(withCallId callId: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func masterpassParams(withCartId cartId: Swift.String, transactionId: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func epsParams(withAmount amount: Swift.Int, name: Swift.String, returnURL: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func multibancoParams(withAmount amount: Swift.Int, returnURL: Swift.String, email: Swift.String) -> Stripe.STPSourceParams + @objc(wechatPayParamsWithAmount:currency:appId:statementDescriptor:) dynamic public class func wechatPay(withAmount amount: Swift.Int, currency: Swift.String, appId: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc dynamic public func redirectDictionaryWithMerchantNameIfNecessary() -> [Swift.AnyHashable : Any] + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc public enum STPThreeDSCustomizationButtonType : Swift.Int { + case submit = 0 + case `continue` = 1 + case next = 2 + case cancel = 3 + case resend = 4 + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPThreeDSButtonTitleStyle : Swift.Int { + case `default` + case uppercase + case lowercase + case sentenceCapitalized + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public class STPThreeDSButtonCustomization : ObjectiveC.NSObject { + @objc(defaultSettingsForButtonType:) public class func defaultSettings(for type: Stripe.STPThreeDSCustomizationButtonType) -> Stripe.STPThreeDSButtonCustomization + @objc public init(backgroundColor: UIKit.UIColor, cornerRadius: CoreGraphics.CGFloat) + @objc public var backgroundColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var cornerRadius: CoreGraphics.CGFloat { + @objc get + @objc set + } + @objc public var titleStyle: Stripe.STPThreeDSButtonTitleStyle { + @objc get + @objc set + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPPaymentIntentCaptureMethod : Swift.Int { + case unknown + case automatic + case manual + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentIntentConfirmationMethod : Swift.Int { + case unknown + case manual + case automatic + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntent : ObjectiveC.NSObject { + @objc final public let stripeId: Swift.String + @objc final public let clientSecret: Swift.String + @objc final public let amount: Swift.Int + @objc final public let canceledAt: Foundation.Date? + @objc final public let captureMethod: Stripe.STPPaymentIntentCaptureMethod + @objc final public let confirmationMethod: Stripe.STPPaymentIntentConfirmationMethod + @objc final public let created: Foundation.Date + @objc final public let currency: Swift.String + @objc final public let stripeDescription: Swift.String? + @objc final public let livemode: Swift.Bool + @objc final public let nextAction: Stripe.STPIntentAction? + @objc final public let receiptEmail: Swift.String? + @objc final public let sourceId: Swift.String? + @objc final public let paymentMethodId: Swift.String? + @objc final public let status: Stripe.STPPaymentIntentStatus + @objc final public let paymentMethodTypes: [Foundation.NSNumber] + @objc final public let setupFutureUsage: Stripe.STPPaymentIntentSetupFutureUsage + @objc final public let lastPaymentError: Stripe.STPPaymentIntentLastPaymentError? + @objc final public let shipping: Stripe.STPPaymentIntentShippingDetails? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntent : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +extension STPPaymentIntent { + @available(*, deprecated, renamed: "nextAction", message: "Use nextAction instead") + @objc dynamic public var nextSourceAction: Stripe.STPIntentAction? { + @objc get + } +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSFooterCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSFooterCustomization + @objc public var backgroundColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var chevronColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var headingTextColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var headingFont: UIKit.UIFont { + @objc get + @objc set + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc deinit + @objc override dynamic public init() +} +extension STPAPIClient { + public func createRadarSession(completion: @escaping Stripe.STPRadarSessionCompletionBlock) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, unavailable, renamed: "STPIntentActionRedirectToURL", message: "Use `STPIntentActionRedirectToURL` instead.") +@objc final public class STPPaymentIntentActionRedirectToURL : Stripe.STPIntentActionRedirectToURL { + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPShippingAddressViewController : Stripe.STPCoreTableViewController { + @objc convenience dynamic public init() + @objc(initWithPaymentContext:) convenience public init(paymentContext: Stripe.STPPaymentContext) + @objc(initWithConfiguration:theme:currency:shippingAddress:selectedShippingMethod:prefilledInformation:) public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme, currency: Swift.String?, shippingAddress: Stripe.STPAddress?, selectedShippingMethod: PassKit.PKShippingMethod?, prefilledInformation: Stripe.STPUserInformation?) + @objc weak public var delegate: Stripe.STPShippingAddressViewControllerDelegate? + @objc(dismissWithCompletion:) public func dismiss(withCompletion completion: StripeApplePay.STPVoidBlock?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required public init(theme: Stripe.STPTheme?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool) + @objc override public func tableView(_ tableView: UIKit.UITableView, heightForHeaderInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc deinit +} +@objc public protocol STPShippingAddressViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc func shippingAddressViewControllerDidCancel(_ addressViewController: Stripe.STPShippingAddressViewController) + @objc(shippingAddressViewController:didEnterAddress:completion:) func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didEnter address: Stripe.STPAddress, completion: @escaping Stripe.STPShippingMethodsCompletionBlock) + @objc(shippingAddressViewController:didFinishWithAddress:shippingMethod:) func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didFinishWith address: Stripe.STPAddress, shippingMethod method: PassKit.PKShippingMethod?) +} +extension STPShippingAddressViewController : UIKit.UITableViewDelegate, UIKit.UITableViewDataSource { + @objc dynamic public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, willDisplay cell: UIKit.UITableViewCell, forRowAt indexPath: Foundation.IndexPath) + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, viewForFooterInSection section: Swift.Int) -> UIKit.UIView? + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, viewForHeaderInSection section: Swift.Int) -> UIKit.UIView? +} +@objc public enum STPPaymentMethodCardCheckResult : Swift.Int { + case pass + case failed + case unavailable + case unchecked + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardChecks : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @available(*, deprecated, message: "Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var addressLine1Check: Stripe.STPPaymentMethodCardCheckResult { + get + } + @available(*, deprecated, message: "Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var addressPostalCodeCheck: Stripe.STPPaymentMethodCardCheckResult { + get + } + @available(*, deprecated, message: "Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var cvcCheck: Stripe.STPPaymentMethodCardCheckResult { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +extension STPBankAccountHolderType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPBankAccountStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPBankSelectionMethod : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPBillingAddressFields : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardBrand : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardFormViewStyle : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardFundingType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardValidationState : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPConnectAccountBusinessType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPFPXBankBrand : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPFilePurpose : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPIntentActionType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPKlarnaLineItemType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPKlarnaPaymentMethods : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPMandateCustomerAcceptanceType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentHandlerActionStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentHandlerErrorCode : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentActionType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentCaptureMethod : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentConfirmationMethod : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentLastPaymentErrorType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentSetupFutureUsage : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension STPPaymentIntentSourceActionType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentMethodCardCheckResult : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentMethodCardWalletType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentMethodType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPinStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPRedirectContextError : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPRedirectContextState : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSetupIntentLastSetupErrorType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSetupIntentStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSetupIntentUsage : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPShippingStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPShippingType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceCard3DSecureStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceFlow : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceRedirectStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceUsage : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceVerificationStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPThreeDSButtonTitleStyle : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPThreeDSCustomizationButtonType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPTokenType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +@objc public enum STPTokenType : Swift.Int { + case account = 0 + case bankAccount + case card + case PII + case cvcUpdate + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPToken : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPSourceProtocol { + @objc public var tokenId: Swift.String { + get + } + @objc public var livemode: Swift.Bool { + get + } + @objc public var type: Stripe.STPTokenType { + get + } + @objc public var card: Stripe.STPCard? { + get + } + @objc public var bankAccount: Stripe.STPBankAccount? { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public var debugDescription: Swift.String { + @objc get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc public var stripeID: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@_inheritsConvenienceInitializers @objc public class STPPaymentMethodBLIKParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPCoreScrollViewController : Stripe.STPCoreViewController { + @objc public var scrollView: UIKit.UIScrollView { + @objc get + @objc set + } + @objc override dynamic public func viewDidLoad() + @objc override dynamic public func viewDidLayoutSubviews() + @objc required public init(theme: Stripe.STPTheme?) + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc deinit +} +@objc public enum STPSourceFlow : Swift.Int { + case none + case redirect + case codeVerification + case receiver + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPSourceUsage : Swift.Int { + case reusable + case singleUse + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPSourceStatus : Swift.Int { + case pending + case chargeable + case consumed + case canceled + case failed + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPSourceType : Swift.Int { + case bancontact + case card + case giropay + @objc(STPSourceTypeiDEAL) case iDEAL + case SEPADebit + case sofort + case threeDSecure + case alipay + case P24 + case EPS + case multibanco + case weChatPay + case klarna + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPKlarnaPaymentMethods : Swift.Int { + case none + case payIn4 + case installments + case payIn4OrInstallments + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountIndividualParams : ObjectiveC.NSObject { + @objc public var address: Stripe.STPConnectAccountAddress? + @objc public var kanaAddress: Stripe.STPConnectAccountAddress? + @objc public var kanjiAddress: Stripe.STPConnectAccountAddress? + @objc public var dateOfBirth: Foundation.DateComponents? + @objc public var email: Swift.String? + @objc public var firstName: Swift.String? + @objc public var kanaFirstName: Swift.String? + @objc public var kanjiFirstName: Swift.String? + @objc public var gender: Swift.String? + @objc public var idNumber: Swift.String? + @objc public var lastName: Swift.String? + @objc public var kanaLastName: Swift.String? + @objc public var kanjiLastName: Swift.String? + @objc public var maidenName: Swift.String? + @objc public var metadata: [Swift.AnyHashable : Any]? + @objc public var phone: Swift.String? + @objc public var ssnLast4: Swift.String? + @objc public var verification: Stripe.STPConnectAccountIndividualVerification? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountIndividualParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountIndividualVerification : ObjectiveC.NSObject { + @objc public var document: Stripe.STPConnectAccountVerificationDocument? + @objc public var additionalDocument: Stripe.STPConnectAccountVerificationDocument? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountIndividualVerification : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountVerificationDocument : ObjectiveC.NSObject { + @objc public var back: Swift.String? + @objc public var front: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountVerificationDocument : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPDateOfBirth : ObjectiveC.NSObject { + @objc public var day: Swift.Int + @objc public var month: Swift.Int + @objc public var year: Swift.Int + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc deinit + @objc override dynamic public init() +} +extension STPDateOfBirth : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionRedirectToURL : ObjectiveC.NSObject { + @objc final public let url: Foundation.URL + @objc final public let returnURL: Foundation.URL? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPIntentActionRedirectToURL : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodGrabPayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +extension Stripe.STPSourceVerificationStatus : Swift.Equatable {} +extension Stripe.STPSourceVerificationStatus : Swift.Hashable {} +extension Stripe.STPSourceVerificationStatus : Swift.RawRepresentable {} +extension Stripe.STPBankSelectionMethod : Swift.Equatable {} +extension Stripe.STPBankSelectionMethod : Swift.Hashable {} +extension Stripe.STPBankSelectionMethod : Swift.RawRepresentable {} +extension Stripe.STPBankAccountHolderType : Swift.Equatable {} +extension Stripe.STPBankAccountHolderType : Swift.Hashable {} +extension Stripe.STPBankAccountHolderType : Swift.RawRepresentable {} +extension Stripe.STPSetupIntentStatus : Swift.Equatable {} +extension Stripe.STPSetupIntentStatus : Swift.Hashable {} +extension Stripe.STPSetupIntentStatus : Swift.RawRepresentable {} +extension Stripe.STPSetupIntentUsage : Swift.Equatable {} +extension Stripe.STPSetupIntentUsage : Swift.Hashable {} +extension Stripe.STPSetupIntentUsage : Swift.RawRepresentable {} +extension Stripe.STPConnectAccountBusinessType : Swift.Equatable {} +extension Stripe.STPConnectAccountBusinessType : Swift.Hashable {} +extension Stripe.STPConnectAccountBusinessType : Swift.RawRepresentable {} +extension Stripe.STPShippingType : Swift.Equatable {} +extension Stripe.STPShippingType : Swift.Hashable {} +extension Stripe.STPShippingType : Swift.RawRepresentable {} +extension Stripe.STPShippingStatus : Swift.Equatable {} +extension Stripe.STPShippingStatus : Swift.Hashable {} +extension Stripe.STPShippingStatus : Swift.RawRepresentable {} +extension Stripe.STPPaymentStatus : Swift.Equatable {} +extension Stripe.STPPaymentStatus : Swift.Hashable {} +extension Stripe.STPPaymentStatus : Swift.RawRepresentable {} +extension Stripe.STPPinStatus : Swift.Equatable {} +extension Stripe.STPPinStatus : Swift.Hashable {} +extension Stripe.STPPinStatus : Swift.RawRepresentable {} +extension Stripe.STPRedirectContextError : Swift.Equatable {} +extension Stripe.STPRedirectContextError : Swift.Hashable {} +extension Stripe.STPRedirectContextError : Swift.RawRepresentable {} +extension Stripe.STPRedirectContextState : Swift.Equatable {} +extension Stripe.STPRedirectContextState : Swift.Hashable {} +extension Stripe.STPRedirectContextState : Swift.RawRepresentable {} +extension Stripe.STPKlarnaLineItemType : Swift.Equatable {} +extension Stripe.STPKlarnaLineItemType : Swift.Hashable {} +extension Stripe.STPKlarnaLineItemType : Swift.RawRepresentable {} +extension Stripe.STPPaymentMethodType : Swift.Equatable {} +extension Stripe.STPPaymentMethodType : Swift.Hashable {} +extension Stripe.STPPaymentMethodType : Swift.RawRepresentable {} +extension Stripe.STPPaymentCardTextField : UIKit.UITextFieldDelegate {} +extension Stripe.STPSourceRedirectStatus : Swift.Equatable {} +extension Stripe.STPSourceRedirectStatus : Swift.Hashable {} +extension Stripe.STPSourceRedirectStatus : Swift.RawRepresentable {} +extension Stripe.STPFilePurpose : Swift.Equatable {} +extension Stripe.STPFilePurpose : Swift.Hashable {} +extension Stripe.STPFilePurpose : Swift.RawRepresentable {} +extension Stripe.STPPaymentHandlerActionStatus : Swift.Equatable {} +extension Stripe.STPPaymentHandlerActionStatus : Swift.Hashable {} +extension Stripe.STPPaymentHandlerActionStatus : Swift.RawRepresentable {} +extension Stripe.STPPaymentHandlerErrorCode : Swift.Equatable {} +extension Stripe.STPPaymentHandlerErrorCode : Swift.Hashable {} +extension Stripe.STPPaymentHandlerErrorCode : Swift.RawRepresentable {} +extension Stripe.STPSourceCard3DSecureStatus : Swift.Equatable {} +extension Stripe.STPSourceCard3DSecureStatus : Swift.Hashable {} +extension Stripe.STPSourceCard3DSecureStatus : Swift.RawRepresentable {} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +extension Stripe._stpobjc_STPErrorCode : Swift.Equatable {} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +extension Stripe._stpobjc_STPErrorCode : Swift.Hashable {} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +extension Stripe._stpobjc_STPErrorCode : Swift.RawRepresentable {} +extension Stripe.STPCardFundingType : Swift.Equatable {} +extension Stripe.STPCardFundingType : Swift.Hashable {} +extension Stripe.STPCardFundingType : Swift.RawRepresentable {} +extension Stripe.STPPaymentMethodCardWalletType : Swift.Equatable {} +extension Stripe.STPPaymentMethodCardWalletType : Swift.Hashable {} +extension Stripe.STPPaymentMethodCardWalletType : Swift.RawRepresentable {} +@available(iOS 13.0, *) +extension Stripe.PaymentSheet.UserInterfaceStyle : Swift.Equatable {} +@available(iOS 13.0, *) +extension Stripe.PaymentSheet.UserInterfaceStyle : Swift.Hashable {} +@available(iOS 13.0, *) +extension Stripe.PaymentSheet.UserInterfaceStyle : Swift.RawRepresentable {} +extension Stripe.PaymentSheet.SavePaymentMethodOptInBehavior : Swift.Equatable {} +extension Stripe.PaymentSheet.SavePaymentMethodOptInBehavior : Swift.Hashable {} +extension Stripe.STPCardBrand : Swift.Equatable {} +extension Stripe.STPCardBrand : Swift.Hashable {} +extension Stripe.STPCardBrand : Swift.RawRepresentable {} +extension Stripe.STPBankAccountStatus : Swift.Equatable {} +extension Stripe.STPBankAccountStatus : Swift.Hashable {} +extension Stripe.STPBankAccountStatus : Swift.RawRepresentable {} +extension Stripe.STPMandateCustomerAcceptanceType : Swift.Equatable {} +extension Stripe.STPMandateCustomerAcceptanceType : Swift.Hashable {} +extension Stripe.STPMandateCustomerAcceptanceType : Swift.RawRepresentable {} +extension Stripe.STPBillingAddressFields : Swift.Equatable {} +extension Stripe.STPBillingAddressFields : Swift.Hashable {} +extension Stripe.STPBillingAddressFields : Swift.RawRepresentable {} +extension Stripe.STPCardFormViewStyle : Swift.Equatable {} +extension Stripe.STPCardFormViewStyle : Swift.Hashable {} +extension Stripe.STPCardFormViewStyle : Swift.RawRepresentable {} +extension Stripe.STPSetupIntentLastSetupErrorType : Swift.Equatable {} +extension Stripe.STPSetupIntentLastSetupErrorType : Swift.Hashable {} +extension Stripe.STPSetupIntentLastSetupErrorType : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentLastPaymentErrorType : Swift.Equatable {} +extension Stripe.STPPaymentIntentLastPaymentErrorType : Swift.Hashable {} +extension Stripe.STPPaymentIntentLastPaymentErrorType : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentStatus : Swift.Equatable {} +extension Stripe.STPPaymentIntentStatus : Swift.Hashable {} +extension Stripe.STPPaymentIntentStatus : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentSetupFutureUsage : Swift.Equatable {} +extension Stripe.STPPaymentIntentSetupFutureUsage : Swift.Hashable {} +extension Stripe.STPPaymentIntentSetupFutureUsage : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentActionType : Swift.Equatable {} +extension Stripe.STPPaymentIntentActionType : Swift.Hashable {} +extension Stripe.STPPaymentIntentActionType : Swift.RawRepresentable {} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension Stripe.STPPaymentIntentSourceActionType : Swift.Equatable {} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension Stripe.STPPaymentIntentSourceActionType : Swift.Hashable {} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension Stripe.STPPaymentIntentSourceActionType : Swift.RawRepresentable {} +extension Stripe.STPFPXBankBrand : Swift.Equatable {} +extension Stripe.STPFPXBankBrand : Swift.Hashable {} +extension Stripe.STPFPXBankBrand : Swift.RawRepresentable {} +extension Stripe.STPCardValidationState : Swift.Equatable {} +extension Stripe.STPCardValidationState : Swift.Hashable {} +extension Stripe.STPCardValidationState : Swift.RawRepresentable {} +extension Stripe.STPIntentActionType : Swift.Equatable {} +extension Stripe.STPIntentActionType : Swift.Hashable {} +extension Stripe.STPIntentActionType : Swift.RawRepresentable {} +extension Stripe.STPThreeDSCustomizationButtonType : Swift.Equatable {} +extension Stripe.STPThreeDSCustomizationButtonType : Swift.Hashable {} +extension Stripe.STPThreeDSCustomizationButtonType : Swift.RawRepresentable {} +extension Stripe.STPThreeDSButtonTitleStyle : Swift.Equatable {} +extension Stripe.STPThreeDSButtonTitleStyle : Swift.Hashable {} +extension Stripe.STPThreeDSButtonTitleStyle : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentCaptureMethod : Swift.Equatable {} +extension Stripe.STPPaymentIntentCaptureMethod : Swift.Hashable {} +extension Stripe.STPPaymentIntentCaptureMethod : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentConfirmationMethod : Swift.Equatable {} +extension Stripe.STPPaymentIntentConfirmationMethod : Swift.Hashable {} +extension Stripe.STPPaymentIntentConfirmationMethod : Swift.RawRepresentable {} +extension Stripe.STPPaymentMethodCardCheckResult : Swift.Equatable {} +extension Stripe.STPPaymentMethodCardCheckResult : Swift.Hashable {} +extension Stripe.STPPaymentMethodCardCheckResult : Swift.RawRepresentable {} +extension Stripe.STPKlarnaPaymentMethods : Swift.Equatable {} +extension Stripe.STPKlarnaPaymentMethods : Swift.Hashable {} +extension Stripe.STPKlarnaPaymentMethods : Swift.RawRepresentable {} +extension Stripe.STPSourceFlow : Swift.Equatable {} +extension Stripe.STPSourceFlow : Swift.Hashable {} +extension Stripe.STPSourceFlow : Swift.RawRepresentable {} +extension Stripe.STPSourceStatus : Swift.Equatable {} +extension Stripe.STPSourceStatus : Swift.Hashable {} +extension Stripe.STPSourceStatus : Swift.RawRepresentable {} +extension Stripe.STPSourceType : Swift.Equatable {} +extension Stripe.STPSourceType : Swift.Hashable {} +extension Stripe.STPSourceType : Swift.RawRepresentable {} +extension Stripe.STPSourceUsage : Swift.Equatable {} +extension Stripe.STPSourceUsage : Swift.Hashable {} +extension Stripe.STPSourceUsage : Swift.RawRepresentable {} +extension Stripe.STPTokenType : Swift.Equatable {} +extension Stripe.STPTokenType : Swift.Hashable {} +extension Stripe.STPTokenType : Swift.RawRepresentable {} diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Modules/module.modulemap b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 0000000..5212dca --- /dev/null +++ b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module Stripe { + umbrella header "Stripe-umbrella.h" + + export * + module * { export * } +} + +module Stripe.Swift { + header "Stripe-Swift.h" + requires objc +} diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/Info.plist b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/Info.plist new file mode 100644 index 0000000..4affe60 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,50 @@ + + + + + BuildMachineOSBuild + 20G165 + CFBundleDevelopmentRegion + en + CFBundleExecutable + Stripe + CFBundleIdentifier + com.stripe.stripe-ios + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + FMWK + CFBundleShortVersionString + 21.12.0 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 21.12.0 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 12B45b + DTPlatformName + macosx + DTPlatformVersion + 11.0 + DTSDKBuild + 20A2408 + DTSDKName + macosx11.0 + DTXcode + 1220 + DTXcodeBuild + 12B45b + LSMinimumSystemVersion + 10.15 + UIDeviceFamily + + 2 + + + diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/afterpay_icon_info@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/afterpay_icon_info@3x.png new file mode 100644 index 0000000..fa35f54 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/afterpay_icon_info@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/afterpay_mark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/afterpay_mark@3x.png new file mode 100644 index 0000000..989b8ce Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/afterpay_mark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/afterpay_mark_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/afterpay_mark_dark@3x.png new file mode 100644 index 0000000..99f6e38 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/afterpay_mark_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/anz@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/anz@3x.png new file mode 100644 index 0000000..a3acd1c Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/anz@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/apple_pay_mark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/apple_pay_mark@3x.png new file mode 100644 index 0000000..e8e6ba9 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/apple_pay_mark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/au_becs_bsb.json b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/au_becs_bsb.json new file mode 100644 index 0000000..cc94f61 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/au_becs_bsb.json @@ -0,0 +1,373 @@ +{ + "10": { + "icon": "banksa", + "name": "BankSA (division of Westpac Bank)" + }, + "11": { + "icon": "stgeorges", + "name": "St George Bank (division of Westpac Bank)" + }, + "12": { + "icon": "boq", + "name": "Bank of Queensland" + }, + "14": { + "name": "Rabobank" + }, + "15": { + "name": "Town & Country Bank" + }, + "18": { + "name": "Macquarie Bank" + }, + "19": { + "icon": "bankofmelbourne", + "name": "Bank of Melbourne (division of Westpac Bank)" + }, + "21": { + "name": "JP Morgan Chase Bank" + }, + "22": { + "name": "BNP Paribas" + }, + "23": { + "name": "Bank of America" + }, + "24": { + "name": "Citibank" + }, + "25": { + "name": "BNP Paribas Securities" + }, + "26": { + "name": "Bankers Trust Australia (division of Westpac Bank)" + }, + "29": { + "name": "Bank of Tokyo-Mitsubishi" + }, + "30": { + "icon": "bankwest", + "name": "Bankwest (division of Commonwealth Bank)" + }, + "31": { + "name": "Bankmecu" + }, + "33": { + "icon": "stgeorges", + "name": "St George Bank (division of Westpac Bank)" + }, + "34": { + "name": "HSBC Bank Australia" + }, + "35": { + "name": "Bank of China" + }, + "40": { + "icon": "cba", + "name": "Commonwealth Bank of Australia" + }, + "41": { + "name": "Deutsche Bank" + }, + "42": { + "icon": "cba", + "name": "Commonwealth Bank of Australia" + }, + "45": { + "name": "OCBC Bank" + }, + "46": { + "name": "Advance Bank (division of Westpac Bank)" + }, + "47": { + "name": "Challenge Bank (division of Westpac Bank)" + }, + "48": { + "icon": "suncorpmetway", + "name": "Suncorp-Metway" + }, + "52": { + "icon": "cba", + "name": "Commonwealth Bank of Australia" + }, + "55": { + "icon": "bankofmelbourne", + "name": "Bank of Melbourne (division of Westpac Bank)" + }, + "57": { + "name": "Australian Settlements" + }, + "61": { + "name": "Adelaide Bank (division of Bendigo and Adelaide Bank)" + }, + "70": { + "name": "Indue" + }, + "73": { + "icon": "westpac", + "name": "Westpac Banking Corporation" + }, + "76": { + "icon": "cba", + "name": "Commonwealth Bank of Australia" + }, + "78": { + "icon": "nab", + "name": "National Australia Bank" + }, + "80": { + "name": "Cuscal" + }, + "90": { + "name": "Australia Post" + }, + "325": { + "name": "Beyond Bank Australia" + }, + "432": { + "name": "Standard Chartered Bank" + }, + "510": { + "name": "Citibank N.A." + }, + "512": { + "name": "Community First Credit Union" + }, + "514": { + "name": "QT Mutual Bank" + }, + "517": { + "name": "Australian Settlements Limited" + }, + "533": { + "name": "Bananacoast Community Credit Union" + }, + "611": { + "name": "Select Credit Union" + }, + "630": { + "name": "ABS Building Society" + }, + "632": { + "name": "B&E" + }, + "633": { + "name": "Bendigo Bank" + }, + "634": { + "name": "Uniting Financial Services" + }, + "636": { + "name": "Cuscal Limited" + }, + "637": { + "name": "Greater Building Society" + }, + "638": { + "name": "Heritage Bank" + }, + "639": { + "name": "Home Building Society (division of Bank of Queensland)" + }, + "640": { + "name": "Hume Bank" + }, + "641": { + "name": "IMB" + }, + "642": { + "name": "Australian Defence Credit Union" + }, + "645": { + "name": "Wide Bay Australia" + }, + "646": { + "name": "Maitland Mutual Building Society" + }, + "647": { + "name": "IMB" + }, + "650": { + "name": "Newcastle Permanent Building Society" + }, + "653": { + "name": "Pioneer Permanent Building Society (division of Bank of Queensland)" + }, + "654": { + "name": "ECU Australia" + }, + "655": { + "name": "The Rock Building Society" + }, + "656": { + "name": "Wide Bay Australia" + }, + "657": { + "name": "Greater Building Society" + }, + "659": { + "name": "SGE Credit Union" + }, + "664": { + "icon": "suncorpmetway", + "name": "Suncorp-Metway" + }, + "670": { + "name": "Cuscal Limited" + }, + "676": { + "name": "Gateway Credit Union" + }, + "721": { + "name": "Holiday Coast Credit Union" + }, + "722": { + "name": "Southern Cross Credit" + }, + "723": { + "name": "Heritage Isle Credit Union" + }, + "724": { + "name": "Railways Credit Union" + }, + "725": { + "name": "Judo Bank Pty Ltd" + }, + "728": { + "name": "Summerland Credit Union" + }, + "775": { + "name": "Australian Settlements Limited" + }, + "777": { + "name": "Police & Nurse" + }, + "812": { + "name": "Teachers Mutual Bank" + }, + "813": { + "name": "Capricornian" + }, + "814": { + "name": "Credit Union Australia" + }, + "815": { + "name": "Police Bank" + }, + "817": { + "name": "Warwick Credit Union" + }, + "818": { + "name": "Bank of Communications" + }, + "819": { + "name": "Industrial & Commercial Bank of China" + }, + "823": { + "name": "Encompass Credit Union" + }, + "824": { + "name": "Sutherland Credit Union" + }, + "825": { + "name": "Big Sky Building Society" + }, + "833": { + "name": "Defence Bank Limited" + }, + "880": { + "name": "Heritage Bank" + }, + "882": { + "name": "Maritime Mining & Power Credit Union" + }, + "888": { + "name": "China Construction Bank Corporation" + }, + "889": { + "name": "DBS Bank Ltd." + }, + "911": { + "name": "Sumitomo Mitsui Banking Corporation" + }, + "913": { + "name": "State Street Bank & Trust Company" + }, + "917": { + "name": "Arab Bank Australia" + }, + "918": { + "name": "Mizuho Bank" + }, + "922": { + "name": "United Overseas Bank" + }, + "923": { + "name": "ING Bank" + }, + "931": { + "name": "Mega International Commercial Bank" + }, + "932": { + "name": "Community Mutual" + }, + "936": { + "name": "ING Bank" + }, + "939": { + "name": "AMP Bank" + }, + "941": { + "name": "Delphi Bank (division of Bendigo and Adelaide Bank)" + }, + "942": { + "name": "Bank of Sydney" + }, + "943": { + "name": "Taiwan Business Bank" + }, + "944": { + "name": "Members Equity Bank" + }, + "946": { + "name": "UBS AG" + }, + "951": { + "name": "BOQ Specialist Bank" + }, + "952": { + "name": "Royal Bank of Scotland" + }, + "969": { + "name": "Tyro Payments" + }, + "980": { + "name": "Bank of China" + }, + "985": { + "name": "HSBC Bank Australia" + }, + "01": { + "icon": "anz", + "name": "Australia and New Zealand Banking Group" + }, + "03": { + "icon": "westpac", + "name": "Westpac Banking Corporation" + }, + "04": { + "icon": "westpac", + "name": "Westpac Banking Corporation" + }, + "06": { + "icon": "cba", + "name": "Commonwealth Bank of Australia" + }, + "08": { + "icon": "nab", + "name": "National Australia Bank" + }, + "09": { + "name": "Reserve Bank of Australia" + } +} diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/back_button@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/back_button@3x.png new file mode 100644 index 0000000..82108de Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/back_button@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bank_icon_boa@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bank_icon_boa@3x.png new file mode 100644 index 0000000..79ff87c Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bank_icon_boa@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bank_icon_capitalone@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bank_icon_capitalone@3x.png new file mode 100644 index 0000000..fa84000 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bank_icon_capitalone@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bank_icon_citibank@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bank_icon_citibank@3x.png new file mode 100644 index 0000000..2b54e97 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bank_icon_citibank@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bank_icon_compass@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bank_icon_compass@3x.png new file mode 100644 index 0000000..48ebf5f Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bank_icon_compass@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bank_icon_morganchase@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bank_icon_morganchase@3x.png new file mode 100644 index 0000000..bcdbae5 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bank_icon_morganchase@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bank_icon_pnc@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bank_icon_pnc@3x.png new file mode 100644 index 0000000..1017e93 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bank_icon_pnc@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bank_icon_stripe@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bank_icon_stripe@3x.png new file mode 100644 index 0000000..d86982f Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bank_icon_stripe@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bank_icon_suntrust@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bank_icon_suntrust@3x.png new file mode 100644 index 0000000..6947aeb Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bank_icon_suntrust@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bank_icon_svb@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bank_icon_svb@3x.png new file mode 100644 index 0000000..3acda9a Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bank_icon_svb@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bank_icon_usaa@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bank_icon_usaa@3x.png new file mode 100644 index 0000000..ea3b637 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bank_icon_usaa@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bank_icon_usbank@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bank_icon_usbank@3x.png new file mode 100644 index 0000000..16e500f Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bank_icon_usbank@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bank_icon_wellsfargo@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bank_icon_wellsfargo@3x.png new file mode 100644 index 0000000..3fe25ad Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bank_icon_wellsfargo@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bankofmelbourne@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bankofmelbourne@3x.png new file mode 100644 index 0000000..746ca0f Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bankofmelbourne@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/banksa@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/banksa@3x.png new file mode 100644 index 0000000..6a1c425 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/banksa@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bankwest@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bankwest@3x.png new file mode 100644 index 0000000..1514277 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bankwest@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bg-BG.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bg-BG.lproj/Localizable.strings new file mode 100644 index 0000000..cb5ecb3 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/bg-BG.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/boq@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/boq@3x.png new file mode 100644 index 0000000..40ea11b Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/boq@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/ca-ES.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/ca-ES.lproj/Localizable.strings new file mode 100644 index 0000000..9caecd6 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/ca-ES.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_amex@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_amex@3x.png new file mode 100644 index 0000000..3569643 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_amex@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_amex_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_amex_dark@3x.png new file mode 100644 index 0000000..ce2f8f0 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_amex_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_cvc_amex_icon@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_cvc_amex_icon@3x.png new file mode 100644 index 0000000..f28d614 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_cvc_amex_icon@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_cvc_amex_icon_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_cvc_amex_icon_dark@3x.png new file mode 100644 index 0000000..6effe5b Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_cvc_amex_icon_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_cvc_icon@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_cvc_icon@3x.png new file mode 100644 index 0000000..f454dbc Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_cvc_icon@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_cvc_icon_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_cvc_icon_dark@3x.png new file mode 100644 index 0000000..1af521b Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_cvc_icon_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_diners@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_diners@3x.png new file mode 100644 index 0000000..36ad55c Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_diners@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_diners_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_diners_dark@3x.png new file mode 100644 index 0000000..1d7e05e Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_diners_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_discover@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_discover@3x.png new file mode 100644 index 0000000..95c9334 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_discover@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_discover_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_discover_dark@3x.png new file mode 100644 index 0000000..9027216 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_discover_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_jcb@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_jcb@3x.png new file mode 100644 index 0000000..f123521 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_jcb@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_jcb_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_jcb_dark@3x.png new file mode 100644 index 0000000..22a6a80 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_jcb_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_mastercard@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_mastercard@3x.png new file mode 100644 index 0000000..4caa637 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_mastercard@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_mastercard_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_mastercard_dark@3x.png new file mode 100644 index 0000000..db2af0f Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_mastercard_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_unionpay@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_unionpay@3x.png new file mode 100644 index 0000000..c05bf2c Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_unionpay@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_unionpay_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_unionpay_dark@3x.png new file mode 100644 index 0000000..f53534c Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_unionpay_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_unknown@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_unknown@3x.png new file mode 100644 index 0000000..20a6e7f Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_unknown@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_unknown_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_unknown_dark@3x.png new file mode 100644 index 0000000..58d4e37 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_unknown_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_unknown_icon@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_unknown_icon@3x.png new file mode 100644 index 0000000..19ebd56 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_unknown_icon@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_unknown_icon_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_unknown_icon_dark@3x.png new file mode 100644 index 0000000..72efa8f Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_unknown_icon_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_visa@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_visa@3x.png new file mode 100644 index 0000000..e844723 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_visa@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_visa_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_visa_dark@3x.png new file mode 100644 index 0000000..b863930 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/card_visa_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/cba@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/cba@3x.png new file mode 100644 index 0000000..674abbf Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/cba@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/clearpay_mark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/clearpay_mark@3x.png new file mode 100644 index 0000000..1e6c831 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/clearpay_mark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/clearpay_mark_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/clearpay_mark_dark@3x.png new file mode 100644 index 0000000..2356eb3 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/clearpay_mark_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/cs-CZ.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/cs-CZ.lproj/Localizable.strings new file mode 100644 index 0000000..b1aa543 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/cs-CZ.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/da.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/da.lproj/Localizable.strings new file mode 100644 index 0000000..bfa7b37 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/da.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/de.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/de.lproj/Localizable.strings new file mode 100644 index 0000000..675ac29 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/de.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/el-GR.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/el-GR.lproj/Localizable.strings new file mode 100644 index 0000000..5f6ef2a Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/el-GR.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/en-GB.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/en-GB.lproj/Localizable.strings new file mode 100644 index 0000000..96f1123 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/en-GB.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/en.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/en.lproj/Localizable.strings new file mode 100644 index 0000000..4fdf6cb Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/en.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/es-419.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/es-419.lproj/Localizable.strings new file mode 100644 index 0000000..bffeb8e Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/es-419.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/es.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/es.lproj/Localizable.strings new file mode 100644 index 0000000..13d0252 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/es.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/et-EE.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/et-EE.lproj/Localizable.strings new file mode 100644 index 0000000..62549c1 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/et-EE.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/fi.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/fi.lproj/Localizable.strings new file mode 100644 index 0000000..748bb97 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/fi.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/fil.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/fil.lproj/Localizable.strings new file mode 100644 index 0000000..bd7b1e5 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/fil.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/form_error_icon@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/form_error_icon@3x.png new file mode 100644 index 0000000..badbb44 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/form_error_icon@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/form_error_icon_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/form_error_icon_dark@3x.png new file mode 100644 index 0000000..01ef780 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/form_error_icon_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/fr-CA.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/fr-CA.lproj/Localizable.strings new file mode 100644 index 0000000..7f841fe Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/fr-CA.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/fr.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/fr.lproj/Localizable.strings new file mode 100644 index 0000000..6a1421e Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/fr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/hr.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/hr.lproj/Localizable.strings new file mode 100644 index 0000000..5ada41c Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/hr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/hu.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/hu.lproj/Localizable.strings new file mode 100644 index 0000000..78083aa Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/hu.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-afterpay@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-afterpay@3x.png new file mode 100644 index 0000000..7b76d4e Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-afterpay@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-afterpay_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-afterpay_dark@3x.png new file mode 100644 index 0000000..f905550 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-afterpay_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-bancontact@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-bancontact@3x.png new file mode 100644 index 0000000..fd25505 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-bancontact@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-bancontact_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-bancontact_dark@3x.png new file mode 100644 index 0000000..c265bd5 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-bancontact_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-card@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-card@3x.png new file mode 100644 index 0000000..eab91c6 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-card@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-eps@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-eps@3x.png new file mode 100644 index 0000000..39d0b6f Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-eps@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-eps_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-eps_dark@3x.png new file mode 100644 index 0000000..ca2443c Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-eps_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-giropay@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-giropay@3x.png new file mode 100644 index 0000000..06b65dc Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-giropay@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-giropay_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-giropay_dark@3x.png new file mode 100644 index 0000000..69b190a Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-giropay_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-ideal@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-ideal@3x.png new file mode 100644 index 0000000..ac8c4f2 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-ideal@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-ideal_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-ideal_dark@3x.png new file mode 100644 index 0000000..393b200 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-ideal_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-klarna@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-klarna@3x.png new file mode 100644 index 0000000..9ab807a Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-klarna@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-klarna_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-klarna_dark@3x.png new file mode 100644 index 0000000..1873c19 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-klarna_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-p24@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-p24@3x.png new file mode 100644 index 0000000..7c2248c Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-p24@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-p24_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-p24_dark@3x.png new file mode 100644 index 0000000..c48ff82 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-p24_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-paypal@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-paypal@3x.png new file mode 100644 index 0000000..259c3c1 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-paypal@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-paypal_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-paypal_dark@3x.png new file mode 100644 index 0000000..d2412aa Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-paypal_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-sepa@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-sepa@3x.png new file mode 100644 index 0000000..d57c51a Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-sepa@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-sepa_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-sepa_dark@3x.png new file mode 100644 index 0000000..28841bb Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon-pm-sepa_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon_add_bordered@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon_add_bordered@3x.png new file mode 100644 index 0000000..a849155 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon_add_bordered@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon_cancel@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon_cancel@3x.png new file mode 100644 index 0000000..6eb8a5c Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon_cancel@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon_checkmark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon_checkmark@3x.png new file mode 100644 index 0000000..5b16185 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon_checkmark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon_chevron_left@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon_chevron_left@3x.png new file mode 100644 index 0000000..4bc84ff Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon_chevron_left@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon_link_toast_success@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon_link_toast_success@3x.png new file mode 100644 index 0000000..1b088e8 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon_link_toast_success@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon_lock@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon_lock@3x.png new file mode 100644 index 0000000..5a6aced Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon_lock@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon_menu@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon_menu@3x.png new file mode 100644 index 0000000..660b886 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon_menu@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon_plus@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon_plus@3x.png new file mode 100644 index 0000000..80d58ec Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon_plus@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon_x@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon_x@3x.png new file mode 100644 index 0000000..05f4dcc Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/icon_x@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/id.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/id.lproj/Localizable.strings new file mode 100644 index 0000000..ab8bf7f Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/id.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/it.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/it.lproj/Localizable.strings new file mode 100644 index 0000000..0751b18 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/it.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/ja.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/ja.lproj/Localizable.strings new file mode 100644 index 0000000..bdfe72f Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/ja.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/ko.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/ko.lproj/Localizable.strings new file mode 100644 index 0000000..4a41167 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/ko.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/link_logo@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/link_logo@3x.png new file mode 100644 index 0000000..bf60abf Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/link_logo@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/lt-LT.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/lt-LT.lproj/Localizable.strings new file mode 100644 index 0000000..c03d588 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/lt-LT.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/lv-LV.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/lv-LV.lproj/Localizable.strings new file mode 100644 index 0000000..491c1b8 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/lv-LV.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/ms-MY.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/ms-MY.lproj/Localizable.strings new file mode 100644 index 0000000..42eb462 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/ms-MY.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/mt.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/mt.lproj/Localizable.strings new file mode 100644 index 0000000..151dace Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/mt.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/nab@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/nab@3x.png new file mode 100644 index 0000000..346476e Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/nab@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/nb.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/nb.lproj/Localizable.strings new file mode 100644 index 0000000..afc708e Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/nb.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/nl.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/nl.lproj/Localizable.strings new file mode 100644 index 0000000..c1b410a Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/nl.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/nn-NO.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/nn-NO.lproj/Localizable.strings new file mode 100644 index 0000000..4916677 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/nn-NO.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/pl-PL.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/pl-PL.lproj/Localizable.strings new file mode 100644 index 0000000..7d8d8f3 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/pl-PL.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/pt-BR.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/pt-BR.lproj/Localizable.strings new file mode 100644 index 0000000..a8bbce9 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/pt-BR.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/pt-PT.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/pt-PT.lproj/Localizable.strings new file mode 100644 index 0000000..27a21a2 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/pt-PT.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/ro-RO.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/ro-RO.lproj/Localizable.strings new file mode 100644 index 0000000..df87c2b Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/ro-RO.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/ru.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/ru.lproj/Localizable.strings new file mode 100644 index 0000000..7bf56a6 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/ru.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/sk-SK.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/sk-SK.lproj/Localizable.strings new file mode 100644 index 0000000..35d33b7 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/sk-SK.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/sl-SI.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/sl-SI.lproj/Localizable.strings new file mode 100644 index 0000000..212083d Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/sl-SI.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stgeorges@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stgeorges@3x.png new file mode 100644 index 0000000..5fa8631 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stgeorges@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_affin_bank@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_affin_bank@3x.png new file mode 100644 index 0000000..3f14b77 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_affin_bank@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_alliance_bank@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_alliance_bank@3x.png new file mode 100644 index 0000000..b1f28c2 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_alliance_bank@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_ambank@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_ambank@3x.png new file mode 100644 index 0000000..3bb86b8 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_ambank@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_bank_islam@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_bank_islam@3x.png new file mode 100644 index 0000000..a2816c5 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_bank_islam@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_bank_muamalat@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_bank_muamalat@3x.png new file mode 100644 index 0000000..2c8fdfd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_bank_muamalat@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_bank_rakyat@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_bank_rakyat@3x.png new file mode 100644 index 0000000..00d9c0f Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_bank_rakyat@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_bsn@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_bsn@3x.png new file mode 100644 index 0000000..04eee84 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_bsn@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_cimb@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_cimb@3x.png new file mode 100644 index 0000000..79eb5e5 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_cimb@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_hong_leong_bank@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_hong_leong_bank@3x.png new file mode 100644 index 0000000..fdc1aef Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_hong_leong_bank@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_hsbc@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_hsbc@3x.png new file mode 100644 index 0000000..abae989 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_hsbc@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_kfh@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_kfh@3x.png new file mode 100644 index 0000000..2329a19 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_kfh@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_maybank2e@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_maybank2e@3x.png new file mode 100644 index 0000000..0e7f4fe Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_maybank2e@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_maybank2u@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_maybank2u@3x.png new file mode 100644 index 0000000..0e7f4fe Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_maybank2u@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_ocbc@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_ocbc@3x.png new file mode 100644 index 0000000..08cc3ba Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_ocbc@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_public_bank@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_public_bank@3x.png new file mode 100644 index 0000000..7b3d3b3 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_public_bank@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_rhb@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_rhb@3x.png new file mode 100644 index 0000000..9886204 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_rhb@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_standard_chartered@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_standard_chartered@3x.png new file mode 100644 index 0000000..ed5aa32 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_standard_chartered@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_uob@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_uob@3x.png new file mode 100644 index 0000000..1adae8c Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_bank_fpx_uob@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_amex@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_amex@3x.png new file mode 100644 index 0000000..17e8df1 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_amex@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_amex_template@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_amex_template@3x.png new file mode 100644 index 0000000..af59eb1 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_amex_template@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_applepay@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_applepay@3x.png new file mode 100644 index 0000000..90ec972 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_applepay@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_cvc@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_cvc@3x.png new file mode 100644 index 0000000..9d2446e Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_cvc@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_cvc_amex@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_cvc_amex@3x.png new file mode 100644 index 0000000..1f915c1 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_cvc_amex@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_diners@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_diners@3x.png new file mode 100644 index 0000000..f04e6c9 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_diners@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_diners_template@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_diners_template@3x.png new file mode 100644 index 0000000..7adc9be Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_diners_template@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_discover@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_discover@3x.png new file mode 100644 index 0000000..6ea8fcf Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_discover@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_discover_template@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_discover_template@3x.png new file mode 100644 index 0000000..436adde Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_discover_template@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_error@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_error@3x.png new file mode 100644 index 0000000..74ec510 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_error@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_error_amex@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_error_amex@3x.png new file mode 100644 index 0000000..58d99ff Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_error_amex@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_form_amex_cvc@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_form_amex_cvc@3x.png new file mode 100644 index 0000000..1657e52 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_form_amex_cvc@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_form_back@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_form_back@3x.png new file mode 100644 index 0000000..3dae121 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_form_back@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_form_front@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_form_front@3x.png new file mode 100644 index 0000000..06bac1d Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_form_front@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_jcb@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_jcb@3x.png new file mode 100644 index 0000000..5e33fed Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_jcb@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_jcb_template@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_jcb_template@3x.png new file mode 100644 index 0000000..5ddb150 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_jcb_template@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_mastercard@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_mastercard@3x.png new file mode 100644 index 0000000..eaf557e Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_mastercard@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_mastercard_template@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_mastercard_template@3x.png new file mode 100644 index 0000000..c8e5916 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_mastercard_template@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_unionpay_en@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_unionpay_en@3x.png new file mode 100644 index 0000000..13b5a29 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_unionpay_en@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_unionpay_template_en@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_unionpay_template_en@3x.png new file mode 100644 index 0000000..021305e Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_unionpay_template_en@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_unionpay_template_zh@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_unionpay_template_zh@3x.png new file mode 100644 index 0000000..5875a0f Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_unionpay_template_zh@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_unionpay_zh@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_unionpay_zh@3x.png new file mode 100644 index 0000000..b895491 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_unionpay_zh@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_unknown@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_unknown@3x.png new file mode 100644 index 0000000..43e7f22 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_unknown@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_visa@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_visa@3x.png new file mode 100644 index 0000000..f7fece2 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_visa@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_visa_template@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_visa_template@3x.png new file mode 100644 index 0000000..f5321eb Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_card_visa_template@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_fpx_big_logo@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_fpx_big_logo@3x.png new file mode 100644 index 0000000..b1ffd00 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_fpx_big_logo@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_fpx_logo@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_fpx_logo@3x.png new file mode 100644 index 0000000..87dc233 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_fpx_logo@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_icon_add@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_icon_add@3x.png new file mode 100644 index 0000000..8a108a7 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_icon_add@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_icon_bank@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_icon_bank@3x.png new file mode 100644 index 0000000..f49ebe9 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_icon_bank@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_icon_checkmark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_icon_checkmark@3x.png new file mode 100644 index 0000000..25831dc Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_icon_checkmark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_shipping_form@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_shipping_form@3x.png new file mode 100644 index 0000000..60ed212 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/stp_shipping_form@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/suncorpmetway@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/suncorpmetway@3x.png new file mode 100644 index 0000000..4b52ca6 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/suncorpmetway@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/sv.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/sv.lproj/Localizable.strings new file mode 100644 index 0000000..ad72a9a Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/sv.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/tk.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/tk.lproj/Localizable.strings new file mode 100644 index 0000000..bbc141e Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/tk.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/tr.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/tr.lproj/Localizable.strings new file mode 100644 index 0000000..ce8a40b Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/tr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/vi.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/vi.lproj/Localizable.strings new file mode 100644 index 0000000..1289a8f Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/vi.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/westpac@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/westpac@3x.png new file mode 100644 index 0000000..ebf2e86 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/westpac@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/zh-HK.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/zh-HK.lproj/Localizable.strings new file mode 100644 index 0000000..c164dd5 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/zh-HK.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/zh-Hans.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/zh-Hans.lproj/Localizable.strings new file mode 100644 index 0000000..6db3764 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/zh-Hans.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/zh-Hant.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/zh-Hant.lproj/Localizable.strings new file mode 100644 index 0000000..9aac84f Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Resources/zh-Hant.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Stripe b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Stripe new file mode 100755 index 0000000..b71af94 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/A/Stripe differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/Current b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/Current new file mode 120000 index 0000000..8c7e5a6 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-maccatalyst/Stripe.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Headers/Stripe-Swift.h b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Headers/Stripe-Swift.h new file mode 100644 index 0000000..17cb5a3 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Headers/Stripe-Swift.h @@ -0,0 +1,16006 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +#ifndef STRIPE_SWIFT_H +#define STRIPE_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# 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 +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import CoreGraphics; +@import Foundation; +@import ObjectiveC; +@import PassKit; +@import SafariServices; +@import StripeApplePay; +@import StripeCore; +@import UIKit; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="Stripe",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + + + + +@interface NSError (SWIFT_EXTENSION(Stripe)) +/// Creates an NSError object from a given Stripe API json response. +/// \param jsonDictionary The root dictionary from the JSON response. +/// +/// +/// returns: +/// An NSError object with the error information from the JSON response, +/// or nil if there was no error information included in the JSON dictionary. ++ (NSError * _Nullable)stp_errorFromStripeResponse:(NSDictionary * _Nullable)jsonDictionary SWIFT_WARN_UNUSED_RESULT; +@end + + + + +/// Objects conforming to STPAPIResponseDecodable can be automatically converted +/// from a JSON dictionary that was returned from the Stripe API. +SWIFT_PROTOCOL("_TtP6Stripe23STPAPIResponseDecodable_") +@protocol STPAPIResponseDecodable +/// Parses an response from the Stripe API (in JSON format; represented as +/// an NSDictionary) into an instance of the class. +/// \param response The JSON dictionary that represents an object of this type +/// +/// +/// returns: +/// The object represented by the JSON dictionary, or nil if the object +/// could not be decoded (i.e. if one of its requiredFields is nil). ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +/// The raw JSON response used to create the object. This can be useful for accessing +/// fields that haven’t yet been made into native properties in the SDK. +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +@end + +@class UIFont; +@class UIColor; + +/// STPFormTextFieldContainer is a protocol that views can conform to to provide customization properties for the field form views that they contain. +SWIFT_PROTOCOL("_TtP6Stripe25STPFormTextFieldContainer_") +@protocol STPFormTextFieldContainer +/// The font used in each child field. Default is .body. +@property (nonatomic, strong) UIFont * _Nonnull formFont; +/// The text color to be used when entering valid text. Default is .label on iOS 13.0 and later and .darkText on earlier versions. +@property (nonatomic, strong) UIColor * _Nonnull formTextColor; +/// The text color to be used when the user has entered invalid information, +/// such as an invalid card number. +/// Default is .red. +@property (nonatomic, strong) UIColor * _Nonnull formTextErrorColor; +/// The text placeholder color used in each child field. +/// This will also set the color of the card placeholder icon. +/// Default is .placeholderText on iOS 13.0 and .lightGray on earlier versions. +@property (nonatomic, strong) UIColor * _Nonnull formPlaceholderColor; +/// The cursor color for the field. +/// This is a proxy for the view’s tintColor property, exposed for clarity only +/// (in other words, calling setCursorColor is identical to calling setTintColor). +@property (nonatomic, strong) UIColor * _Nonnull formCursorColor; +/// The keyboard appearance for the field. +/// Default is .default. +@property (nonatomic) UIKeyboardAppearance formKeyboardAppearance; +@end + +@class UITextField; +@class NSCoder; + +/// STPMultiFormTextField is a lightweight UIView that wraps a collection of STPFormTextFields and can automatically move to the next form field when one is completed. +SWIFT_CLASS("_TtC6Stripe21STPMultiFormTextField") +@interface STPMultiFormTextField : UIView +/// :nodoc: +- (BOOL)textField:(UITextField * _Nonnull)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString * _Nonnull)string SWIFT_WARN_UNUSED_RESULT; +/// Calling this method will make the next incomplete STPFormTextField in formTextFields become the first responder. +/// If all of the form text fields are already complete, then the last field in formTextFields will become the first responder. +- (void)focusNextForm; +/// :nodoc: +@property (nonatomic, readonly) BOOL canResignFirstResponder; +/// :nodoc: +- (BOOL)resignFirstResponder SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) BOOL isFirstResponder; +/// :nodoc: +@property (nonatomic, readonly) BOOL canBecomeFirstResponder; +/// :nodoc: +- (BOOL)becomeFirstResponder SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)textFieldDidEndEditing:(UITextField * _Nonnull)textField; +/// :nodoc: +- (void)textFieldDidBeginEditing:(UITextField * _Nonnull)textField; +/// :nodoc: +- (BOOL)textFieldShouldReturn:(UITextField * _Nonnull)textField SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, strong) UIFont * _Nonnull formFont; +@property (nonatomic, strong) UIColor * _Nonnull formTextColor; +@property (nonatomic, strong) UIColor * _Nonnull formTextErrorColor; +@property (nonatomic, strong) UIColor * _Nonnull formPlaceholderColor; +@property (nonatomic, strong) UIColor * _Nonnull formCursorColor; +@property (nonatomic) UIKeyboardAppearance formKeyboardAppearance; +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; +@end + +@protocol STPAUBECSDebitFormViewDelegate; +@class STPPaymentMethodParams; +@class UITextView; + +/// STPAUBECSDebitFormView is a subclass of UIControl that contains all of the necessary fields and legal text for collecting AU BECS Debit payments. +/// For additional customization options - seealso: STPFormTextFieldContainer +SWIFT_CLASS("_TtC6Stripe22STPAUBECSDebitFormView") +@interface STPAUBECSDebitFormView : STPMultiFormTextField +/// \param companyName The name of the company collecting AU BECS Debit payment details information. This will be used to provide the required service agreement text. - seealso: https://stripe.com/au-becs/legal +/// +- (nonnull instancetype)initWithCompanyName:(NSString * _Nonnull)companyName OBJC_DESIGNATED_INITIALIZER; +/// Use initWithCompanyName instead. +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; +/// Use initWithCompanyName instead. +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +/// The background color for the form text fields. Defaults to .systemBackground on iOS 13.0 and later, .white on earlier iOS versions. +@property (nonatomic, strong) UIColor * _Nonnull formBackgroundColor; +/// The delegate to inform about changes to this STPAUBECSDebitFormView instance. +@property (nonatomic, weak) id _Nullable becsDebitFormDelegate; +/// This property will return a non-nil value if and only if the form is in a complete state. The STPPaymentMethodParams instance +/// will have it’s auBECSDebit property populated with the values input in this form. +@property (nonatomic, readonly, strong) STPPaymentMethodParams * _Nullable paymentMethodParams; +/// :nodoc: +- (CGSize)systemLayoutSizeFittingSize:(CGSize)targetSize withHorizontalFittingPriority:(UILayoutPriority)horizontalFittingPriority verticalFittingPriority:(UILayoutPriority)verticalFittingPriority SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (BOOL)textView:(UITextView * _Nonnull)textView shouldInteractWithURL:(NSURL * _Nonnull)URL inRange:(NSRange)characterRange interaction:(UITextItemInteraction)interaction SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, strong) UIFont * _Nonnull formFont; +/// :nodoc: +@property (nonatomic, strong) UIColor * _Nonnull formTextColor; +@end + + + +/// STPAUBECSDebitFormViewDelegate provides methods for STPAUBECSDebitFormView to inform its delegate +/// of when the form has been completed. +SWIFT_PROTOCOL("_TtP6Stripe30STPAUBECSDebitFormViewDelegate_") +@protocol STPAUBECSDebitFormViewDelegate +/// Called when the form transitions from complete to incomplete or vice-versa. +/// \param form The STPAUBECSDebitFormView instance whose completion state has changed +/// +/// \param complete Whether the form is considered complete and can generate an STPPaymentMethodParams instance. +/// +- (void)auBECSDebitForm:(STPAUBECSDebitFormView * _Nonnull)form didChangeToStateComplete:(BOOL)complete; +@end + +@class STPPaymentCardTextField; + +/// This protocol allows a delegate to be notified when a payment text field’s +/// contents change, which can in turn be used to take further actions depending +/// on the validity of its contents. +SWIFT_PROTOCOL("_TtP6Stripe31STPPaymentCardTextFieldDelegate_") +@protocol STPPaymentCardTextFieldDelegate +@optional +/// Called when either the card number, expiration, or CVC changes. At this point, +/// one can call isValid on the text field to determine, for example, +/// whether or not to enable a button to submit the form. Example: +///
    +///
  • +/// (void)paymentCardTextFieldDidChange:(STPPaymentCardTextField *)textField { +/// self.paymentButton.enabled = textField.isValid; +/// } +///
  • +///
+/// \param textField the text field that has changed +/// +- (void)paymentCardTextFieldDidChange:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing begins in the text field as a whole. +/// After receiving this callback, you will always also receive a callback for which +/// specific subfield of the view began editing. +- (void)paymentCardTextFieldDidBeginEditing:(STPPaymentCardTextField * _Nonnull)textField; +/// Notification that the user pressed the return key after completely filling +/// out the STPPaymentCardTextField with data that passes validation. +/// The Stripe SDK is going to resignFirstResponder on the STPPaymentCardTextField +/// to dismiss the keyboard after this delegate method returns, however if your app wants +/// to do something more (ex: move first responder to another field), this is a good +/// opportunity to do that. +/// This is delivered before the corresponding paymentCardTextFieldDidEndEditing: +/// \param textField The STPPaymentCardTextField that was being edited when the user pressed return +/// +- (void)paymentCardTextFieldWillEndEditingForReturn:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing ends in the text field as a whole. +/// This callback is always preceded by an callback for which +/// specific subfield of the view ended its editing. +- (void)paymentCardTextFieldDidEndEditing:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing begins in the payment card field’s number field. +- (void)paymentCardTextFieldDidBeginEditingNumber:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing ends in the payment card field’s number field. +- (void)paymentCardTextFieldDidEndEditingNumber:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing begins in the payment card field’s CVC field. +- (void)paymentCardTextFieldDidBeginEditingCVC:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing ends in the payment card field’s CVC field. +- (void)paymentCardTextFieldDidEndEditingCVC:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing begins in the payment card field’s expiration field. +- (void)paymentCardTextFieldDidBeginEditingExpiration:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing ends in the payment card field’s expiration field. +- (void)paymentCardTextFieldDidEndEditingExpiration:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing begins in the payment card field’s ZIP/postal code field. +- (void)paymentCardTextFieldDidBeginEditingPostalCode:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing ends in the payment card field’s ZIP/postal code field. +- (void)paymentCardTextFieldDidEndEditingPostalCode:(STPPaymentCardTextField * _Nonnull)textField; +@end + +@class STPTheme; +@class NSBundle; + +/// This is the base class for all Stripe view controllers. It is intended for use +/// only by Stripe classes, you should not subclass it yourself in your app. +/// It theming, back/cancel button management, and other shared logic for +/// Stripe view controllers. +SWIFT_CLASS("_TtC6Stripe21STPCoreViewController") +@interface STPCoreViewController : UIViewController +/// A convenience initializer; equivalent to calling init(theme: STPTheme.defaultTheme). +- (nonnull instancetype)init; +/// Initializes a new view controller with the specified theme +/// \param theme The theme to use to inform the view controller’s visual appearance. - seealso: STPTheme +/// +- (nonnull instancetype)initWithTheme:(STPTheme * _Nullable)theme OBJC_DESIGNATED_INITIALIZER; +/// Passes through to the default UIViewController behavior for this initializer, +/// and then also sets the default theme as in init +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER; +/// Passes through to the default UIViewController behavior for this initializer, +/// and then also sets the default theme as in init +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +- (void)viewDidLoad; +/// :nodoc: +- (void)viewWillAppear:(BOOL)animated; +/// :nodoc: +- (void)viewWillDisappear:(BOOL)animated; +/// :nodoc: +@property (nonatomic, readonly) UIStatusBarStyle preferredStatusBarStyle; +@end + +@class UIScrollView; + +/// This is the base class for all Stripe scroll view controllers. It is intended +/// for use only by Stripe classes, you should not subclass it yourself in your app. +SWIFT_CLASS("_TtC6Stripe27STPCoreScrollViewController") +@interface STPCoreScrollViewController : STPCoreViewController +/// This returns the scroll view being managed by the view controller +@property (nonatomic, strong) UIScrollView * _Nonnull scrollView; +/// :nodoc: +- (void)viewDidLoad; +/// :nodoc: +- (void)viewDidLayoutSubviews; +- (nonnull instancetype)initWithTheme:(STPTheme * _Nullable)theme OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER; +@end + +@class UITableView; + +/// This is the base class for all Stripe scroll view controllers. It is intended +/// for use only by Stripe classes, you should not subclass it yourself in your app. +/// It inherits from STPCoreScrollViewController and changes the type of the +/// created scroll view to UITableView, as well as other shared table view logic. +SWIFT_CLASS("_TtC6Stripe26STPCoreTableViewController") +@interface STPCoreTableViewController : STPCoreScrollViewController +/// This points to the same object as STPCoreScrollViewController’s scrollView +/// property but with the type cast to UITableView +@property (nonatomic, readonly, strong) UITableView * _Nullable tableView; +/// :nodoc: +- (void)viewWillAppear:(BOOL)animated; +/// :nodoc: +- (CGFloat)tableView:(UITableView * _Nonnull)tableView heightForHeaderInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)initWithTheme:(STPTheme * _Nullable)theme OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER; +@end + +@class STPPaymentConfiguration; +@protocol STPAddCardViewControllerDelegate; +@class STPUserInformation; +@class STPAPIClient; +@class UITableViewCell; +@protocol UIViewControllerTransitionCoordinator; + +/// This view controller contains a credit card entry form that the user can fill out. On submission, it will use the Stripe API to convert the user’s card details to a Stripe token. It renders a right bar button item that submits the form, so it must be shown inside a UINavigationController. +SWIFT_CLASS("_TtC6Stripe24STPAddCardViewController") +@interface STPAddCardViewController : STPCoreTableViewController +/// A convenience initializer; equivalent to calling init(configuration: STPPaymentConfiguration.shared, theme: STPTheme.defaultTheme). +- (nonnull instancetype)init; +/// Initializes a new STPAddCardViewController with the provided configuration and theme. Don’t forget to set the delegate property after initialization. +/// \param configuration The configuration to use (this determines the Stripe publishable key to use, the required billing address fields, whether or not to use SMS autofill, etc). - seealso: STPPaymentConfiguration +/// +/// \param theme The theme to use to inform the view controller’s visual appearance. - seealso: STPTheme +/// +- (nonnull instancetype)initWithConfiguration:(STPPaymentConfiguration * _Nonnull)configuration theme:(STPTheme * _Nonnull)theme OBJC_DESIGNATED_INITIALIZER; +/// The view controller’s delegate. This must be set before showing the view controller in order for it to work properly. - seealso: STPAddCardViewControllerDelegate +@property (nonatomic, weak) id _Nullable delegate; +/// You can set this property to pre-fill any information you’ve already collected from your user. - seealso: STPUserInformation.h +@property (nonatomic, strong) STPUserInformation * _Nullable prefilledInformation; +/// Provide this view controller with a footer view. +/// When the footer view needs to be resized, it will be sent a +/// sizeThatFits: call. The view should respond correctly to this method in order +/// to be sized and positioned properly. +@property (nonatomic, strong) UIView * _Nullable customFooterView; +/// The API Client to use to make requests. +/// Defaults to STPAPIClient.shared. +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +/// Use init: or initWithConfiguration:theme: +- (nonnull instancetype)initWithTheme:(STPTheme * _Nullable)theme SWIFT_UNAVAILABLE; +/// Use init: or initWithConfiguration:theme: +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE; +/// Use init: or initWithConfiguration:theme: +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE; +/// :nodoc: +- (CGFloat)tableView:(UITableView * _Nonnull)tableView estimatedHeightForRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)viewDidLayoutSubviews; +/// :nodoc: +- (void)updateAppearance; +/// :nodoc: +- (void)viewDidAppear:(BOOL)animated; +/// :nodoc: +- (void)handleCancelTapped:(id _Nullable)sender; +- (void)paymentCardTextFieldDidChange:(STPPaymentCardTextField * _Nonnull)textField; +- (void)paymentCardTextFieldWillEndEditingForReturn:(STPPaymentCardTextField * _Nonnull)textField; +- (void)paymentCardTextFieldDidBeginEditingCVC:(STPPaymentCardTextField * _Nonnull)textField; +- (void)paymentCardTextFieldDidEndEditingCVC:(STPPaymentCardTextField * _Nonnull)textField; +- (void)paymentCardTextFieldDidBeginEditing:(STPPaymentCardTextField * _Nonnull)textField; +/// :nodoc: +- (NSInteger)numberOfSectionsInTableView:(UITableView * _Nonnull)tableView SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (NSInteger)tableView:(UITableView * _Nonnull)tableView numberOfRowsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (UITableViewCell * _Nonnull)tableView:(UITableView * _Nonnull)tableView cellForRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)tableView:(UITableView * _Nonnull)tableView willDisplayCell:(UITableViewCell * _Nonnull)cell forRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath; +/// :nodoc: +- (CGFloat)tableView:(UITableView * _Nonnull)tableView heightForFooterInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (CGFloat)tableView:(UITableView * _Nonnull)tableView heightForHeaderInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (UIView * _Nullable)tableView:(UITableView * _Nonnull)tableView viewForHeaderInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (UIView * _Nullable)tableView:(UITableView * _Nonnull)tableView viewForFooterInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id _Nonnull)coordinator; +@end + + +@class STPPaymentMethod; +@class STPToken; +@class STPSource; + +/// An STPAddCardViewControllerDelegate is notified when an STPAddCardViewController +/// successfully creates a card token or is cancelled. It has internal error-handling +/// logic, so there’s no error case to deal with. +SWIFT_PROTOCOL("_TtP6Stripe32STPAddCardViewControllerDelegate_") +@protocol STPAddCardViewControllerDelegate +/// Called when the user cancels adding a card. You should dismiss (or pop) the +/// view controller at this point. +/// \param addCardViewController the view controller that has been cancelled +/// +- (void)addCardViewControllerDidCancel:(STPAddCardViewController * _Nonnull)addCardViewController; +/// This is called when the user successfully adds a card and Stripe returns a +/// Payment Method. +/// You should send the PaymentMethod to your backend to store it on a customer, and then +/// call the provided completion block when that call is finished. If an error +/// occurs while talking to your backend, call completion(error), otherwise, +/// dismiss (or pop) the view controller. +/// \param addCardViewController the view controller that successfully created a token +/// +/// \param paymentMethod the Payment Method that was created. - seealso: STPPaymentMethod +/// +/// \param completion call this callback when you’re done sending the token to your backend +/// +- (void)addCardViewController:(STPAddCardViewController * _Nonnull)addCardViewController didCreatePaymentMethod:(STPPaymentMethod * _Nonnull)paymentMethod completion:(void (^ _Nonnull)(NSError * _Nullable))completion; +@optional +/// This method is deprecated as of v16.0.0 (https://github.com/stripe/stripe-ios/blob/master/MIGRATING.md#migrating-from-versions–1600). +/// To use this class, migrate your integration from Charges to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read +- (void)addCardViewController:(STPAddCardViewController * _Nonnull)addCardViewController didCreateToken:(STPToken * _Nonnull)token completion:(SWIFT_NOESCAPE void (^ _Nonnull)(NSError * _Nullable))completion SWIFT_DEPRECATED_MSG("Use addCardViewController(_:didCreatePaymentMethod:completion:) instead and migrate your integration to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read", "addCardViewController:didCreatePaymentMethod:completion:"); +/// This method is deprecated as of v16.0.0 (https://github.com/stripe/stripe-ios/blob/master/MIGRATING.md#migrating-from-versions–1600). +/// To use this class, migrate your integration from Charges to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read +- (void)addCardViewController:(STPAddCardViewController * _Nonnull)addCardViewController didCreateSource:(STPSource * _Nonnull)source completion:(SWIFT_NOESCAPE void (^ _Nonnull)(NSError * _Nullable))completion SWIFT_DEPRECATED_MSG("Use addCardViewController(_:didCreatePaymentMethod:completion:) instead and migrate your integration to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read", "addCardViewController:didCreatePaymentMethod:completion:"); +@end + +@class PKShippingMethod; +@class STPPaymentMethodBillingDetails; +@class PKContact; +@class CNContact; +enum STPBillingAddressFields : NSUInteger; +@class STPContactField; + +/// STPAddress Contains an address as represented by the Stripe API. +SWIFT_CLASS("_TtC6Stripe10STPAddress") +@interface STPAddress : NSObject +/// The user’s full name (e.g. “Jane Doe”) +@property (nonatomic, copy) NSString * _Nullable name; +/// The first line of the user’s street address (e.g. “123 Fake St”) +@property (nonatomic, copy) NSString * _Nullable line1; +/// The apartment, floor number, etc of the user’s street address (e.g. “Apartment 1A”) +@property (nonatomic, copy) NSString * _Nullable line2; +/// The city in which the user resides (e.g. “San Francisco”) +@property (nonatomic, copy) NSString * _Nullable city; +/// The state in which the user resides (e.g. “CA”) +@property (nonatomic, copy) NSString * _Nullable state; +/// The postal code in which the user resides (e.g. “90210”) +@property (nonatomic, copy) NSString * _Nullable postalCode; +/// The ISO country code of the address (e.g. “US”) +@property (nonatomic, copy) NSString * _Nullable country; +/// The phone number of the address (e.g. “8885551212”) +@property (nonatomic, copy) NSString * _Nullable phone; +/// The email of the address (e.g. “jane@doe.com”) +@property (nonatomic, copy) NSString * _Nullable email; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// When creating a charge on your backend, you can attach shipping information +/// to prevent fraud on a physical good. You can use this method to turn your user’s +/// shipping address and selected shipping method into a hash suitable for attaching +/// to a charge. You should pass this to your backend, and use it as the shipping +/// parameter when creating a charge. +/// seealso: +/// https://stripe.com/docs/api#create_charge-shipping +/// \param address The user’s shipping address. If nil, this method will return nil. +/// +/// \param method The user’s selected shipping method. May be nil. +/// ++ (NSDictionary * _Nullable)shippingInfoForChargeWithAddress:(STPAddress * _Nullable)address shippingMethod:(PKShippingMethod * _Nullable)method SWIFT_WARN_UNUSED_RESULT; +/// Initializes an empty STPAddress. +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +/// Initializes a new STPAddress with data from STPPaymentMethodBillingDetails. +/// \param billingDetails The STPPaymentMethodBillingDetails instance you want to populate the STPAddress from. +/// +/// +/// returns: +/// A new STPAddress instance with data copied from the passed in billing details. +- (nonnull instancetype)initWithPaymentMethodBillingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails OBJC_DESIGNATED_INITIALIZER; +/// Initializes a new STPAddress with data from an PassKit contact. +/// \param contact The PassKit contact you want to populate the STPAddress from. +/// +/// +/// returns: +/// A new STPAddress instance with data copied from the passed in contact. +- (nonnull instancetype)initWithPKContact:(PKContact * _Nonnull)contact OBJC_DESIGNATED_INITIALIZER; +/// Generates a PassKit contact representation of this STPAddress. +/// +/// returns: +/// A new PassKit contact with data copied from this STPAddress instance. +- (PKContact * _Nonnull)PKContactValue SWIFT_WARN_UNUSED_RESULT; +/// Initializes a new STPAddress with a contact from the Contacts framework. +/// \param contact The CNContact you want to populate the STPAddress from. +/// +/// +/// returns: +/// A new STPAddress instance with data copied from the passed in contact. +- (nonnull instancetype)initWithCNContact:(CNContact * _Nonnull)contact OBJC_DESIGNATED_INITIALIZER; +/// Checks if this STPAddress has the level of valid address information +/// required by the passed in setting. +/// \param requiredFields The required level of billing address information to +/// check against. +/// +/// +/// returns: +/// YES if this address contains at least the necessary information, +/// NO otherwise. +- (BOOL)containsRequiredFields:(enum STPBillingAddressFields)requiredFields SWIFT_WARN_UNUSED_RESULT; +/// Checks if this STPAddress has any content (possibly invalid) in any of the +/// desired billing address fields. +/// Where containsRequiredFields: validates that this STPAddress contains valid data in +/// all of the required fields, this method checks for the existence of any data. +/// For example, if desiredFields is STPBillingAddressFieldsZip, this will check +/// if the postalCode is empty. +/// Note: When desiredFields == STPBillingAddressFieldsNone, this method always returns +/// NO. +/// @parameter desiredFields The billing address information the caller is interested in. +/// +/// returns: +/// YES if there is any data in this STPAddress that’s relevant for those fields. +- (BOOL)containsContentForBillingAddressFields:(enum STPBillingAddressFields)desiredFields SWIFT_WARN_UNUSED_RESULT; +/// Checks if this STPAddress has the level of valid address information +/// required by the passed in setting. +/// Note: When requiredFields == nil, this method always returns +/// YES. +/// \param requiredFields The required shipping address information to check against. +/// +/// +/// returns: +/// YES if this address contains at least the necessary information, +/// NO otherwise. +- (BOOL)containsRequiredShippingAddressFields:(NSSet * _Nullable)requiredFields SWIFT_WARN_UNUSED_RESULT; +/// Checks if this STPAddress has any content (possibly invalid) in any of the +/// desired shipping address fields. +/// Where containsRequiredShippingAddressFields: validates that this STPAddress +/// contains valid data in all of the required fields, this method checks for the +/// existence of any data. +/// Note: When desiredFields == nil, this method always returns +/// NO. +/// @parameter desiredFields The shipping address information the caller is interested in. +/// +/// returns: +/// YES if there is any data in this STPAddress that’s relevant for those fields. +- (BOOL)containsContentForShippingAddressFields:(NSSet * _Nullable)desiredFields SWIFT_WARN_UNUSED_RESULT; +/// Converts an STPBillingAddressFields enum value into the closest equivalent +/// representation of PKContactField options +/// \param billingAddressFields Stripe billing address fields enum value to convert. +/// +/// +/// returns: +/// The closest representation of the billing address requirement as +/// a PKContactField value. ++ (NSSet * _Nonnull)applePayContactFieldsFromBillingAddressFields:(enum STPBillingAddressFields)billingAddressFields SWIFT_WARN_UNUSED_RESULT; +/// Converts a set of STPContactField values into the closest equivalent +/// representation of PKContactField options +/// \param contactFields Stripe contact fields values to convert. +/// +/// +/// returns: +/// The closest representation of the contact fields as +/// a PKContactField value. ++ (NSSet * _Nullable)pkContactFieldsFromStripeContactFields:(NSSet * _Nullable)contactFields SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +@end + + +@interface STPAddress (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface STPAddress (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Objects conforming to STPFormEncodable can be automatically converted to a form-encoded string, which can then be used when making requests to the Stripe API. +SWIFT_PROTOCOL("_TtP6Stripe16STPFormEncodable_") +@protocol STPFormEncodable +/// The root object name to be used when converting this object to a form-encoded string. For example, if this returns “card”, then the form-encoded output will resemble “card[foo]=bar” (where ‘foo’ and ‘bar’ are specified by propertyNamesToFormFieldNamesMapping below. ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +/// This maps properties on an object that is being form-encoded into parameter names in the Stripe API. For example, STPCardParams has a field called expMonth, but the Stripe API expects a field called exp_month. This dictionary represents a mapping from the former to the latter (in other words, STPCardParams.propertyNamesToFormFieldNamesMapping()[“expMonth”] == “exp_month”.) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +/// You can use this property to add additional fields to an API request that are not explicitly defined by the object’s interface. This can be useful when using beta features that haven’t been added to the Stripe SDK yet. For example, if the /v1/tokens API began to accept a beta field called “test_field”, you might do the following: +/// var cardParams = STPCardParams() +/// // add card values +/// cardParams.additionalAPIParameters = [“test_field”: “example_value”] +/// STPAPIClient.shared.createToken(withParameters: cardParams completion:…); +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +@end + + +@interface STPAddress (SWIFT_EXTENSION(Stripe)) ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +@end + + + + + + + + + +@class _stpinternal_APContextSwift; +@class PKPayment; +enum STPPaymentStatus : NSInteger; + +/// Implement the required methods of this delegate to supply a PaymentIntent to STPApplePayContext and be notified of the completion of the Apple Pay payment. +/// You may also implement the optional delegate methods to handle shipping methods and shipping address changes e.g. to verify you can ship to the address, or update the payment amount. +SWIFT_PROTOCOL_NAMED("STPApplePayContextDelegate") +@protocol _stpinternal_apContextDelegate <_stpinternal_STPApplePayContextDelegateBase> +/// Called after the customer has authorized Apple Pay. Implement this method to call the completion block with the client secret of a PaymentIntent or SetupIntent. +/// \param paymentMethod The PaymentMethod that represents the customer’s Apple Pay payment method. +/// If you create the PaymentIntent with confirmation_method=manual, pass paymentMethod.stripeId as the payment_method and confirm=true. Otherwise, you can ignore this parameter. +/// +/// \param paymentInformation The underlying PKPayment created by Apple Pay. +/// If you create the PaymentIntent with confirmation_method=manual, you can collect shipping information using its shippingContact and shippingMethod properties. +/// +/// \param completion Call this with the PaymentIntent or SetupIntent client secret, or the error that occurred creating the PaymentIntent or SetupIntent. +/// +- (void)applePayContext:(_stpinternal_APContextSwift * _Nonnull)context didCreatePaymentMethod:(STPPaymentMethod * _Nonnull)paymentMethod paymentInformation:(PKPayment * _Nonnull)paymentInformation completion:(void (^ _Nonnull)(NSString * _Nullable, NSError * _Nullable))completion; +/// Called after the Apple Pay sheet is dismissed with the result of the payment. +/// Your implementation could stop a spinner and display a receipt view or error to the customer, for example. +/// \param status The status of the payment +/// +/// \param error The error that occurred, if any. +/// +- (void)applePayContext:(_stpinternal_APContextSwift * _Nonnull)context didCompleteWithStatus:(enum STPPaymentStatus)status error:(NSError * _Nullable)error; +@end + +@class UIImage; + +/// This protocol represents a payment method that a user can select and use to +/// pay. +/// The classes that conform to it and are supported by the UI: +///
    +///
  • +/// STPApplePay, which represents that the user wants to pay with +/// Apple Pay +///
  • +///
  • +/// STPPaymentMethod. Only STPPaymentMethod.type == STPPaymentMethodTypeCard and +/// STPPaymentMethod.type == STPPaymentMethodTypeFPX are supported by STPPaymentContext +/// and STPPaymentOptionsViewController +///
  • +///
  • +/// STPPaymentMethodParams. This should be used with non-reusable payment method, such +/// as FPX and iDEAL. Instead of reaching out to Stripe to create a PaymentMethod, you can +/// pass an STPPaymentMethodParams directly to Stripe when confirming a PaymentIntent. +/// @note card-based Sources, Cards, and FPX support this protocol for use +/// in a custom integration. +///
  • +///
+SWIFT_PROTOCOL("_TtP6Stripe16STPPaymentOption_") +@protocol STPPaymentOption +/// A small (32 x 20 points) logo image representing the payment method. For +/// example, the Visa logo for a Visa card, or the Apple Pay logo. +@property (nonatomic, readonly, strong) UIImage * _Nonnull image; +/// A small (32 x 20 points) logo image representing the payment method that can be +/// used as template for tinted icons. +@property (nonatomic, readonly, strong) UIImage * _Nonnull templateImage; +/// A string describing the payment method, such as “Apple Pay” or “Visa 4242”. +@property (nonatomic, readonly, copy) NSString * _Nonnull label; +/// Describes whether this payment option may be used multiple times. If it is not reusable, +/// the payment method must be discarded after use. +@property (nonatomic, readonly) BOOL isReusable; +@end + + +/// An empty class representing that the user wishes to pay via Apple Pay. This can +/// be checked on an STPPaymentContext, e.g: +/// \code +/// if paymentContext.selectedPaymentOption is STPApplePayPaymentOption { +/// // Don't ask the user for their card number; they want to pay with apple pay. +/// } +/// +/// \endcode +SWIFT_CLASS("_TtC6Stripe24STPApplePayPaymentOption") +@interface STPApplePayPaymentOption : NSObject +@property (nonatomic, readonly, strong) UIImage * _Nonnull image; +@property (nonatomic, readonly, strong) UIImage * _Nonnull templateImage; +@property (nonatomic, readonly, copy) NSString * _Nonnull label; +@property (nonatomic, readonly) BOOL isReusable; +/// :nodoc: +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) NSUInteger hash; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class SFSafariViewController; + +/// STPAuthenticationContext provides information required to present authentication challenges +/// to a user. +SWIFT_PROTOCOL("_TtP6Stripe24STPAuthenticationContext_") +@protocol STPAuthenticationContext +/// The Stripe SDK will modally present additional view controllers on top +/// of the authenticationPresentingViewController when required for user +/// authentication, like in the Challenge Flow for 3DS2 transactions. +- (UIViewController * _Nonnull)authenticationPresentingViewController SWIFT_WARN_UNUSED_RESULT; +@optional +/// This method is called before presenting a UIViewController for authentication. +/// @note STPPaymentHandler will not proceed until completion is called. +- (void)prepareAuthenticationContextForPresentation:(void (^ _Nonnull)(void))completion; +/// This method is called before presenting an SFSafariViewController for web-based authentication. +/// Implement this method to configure the SFSafariViewController instance, e.g. viewController.preferredBarTintColor = MyBarTintColor +/// @note Setting the delegate property has no effect. +- (void)configureSafariViewController:(SFSafariViewController * _Nonnull)viewController; +/// This method is called when an authentication UIViewController is about to be dismissed. +/// Implement this method to prepare your UI for the authentication view controller to be dismissed. For example, +/// if you requested authentication while displaying an STPBankSelectionViewController, you may want to hide +/// it to return the user to your desired view controller. +- (void)authenticationContextWillDismissViewController:(UIViewController * _Nonnull)viewController; +@end + +@class STPCustomer; + +/// A “bridge” from our pre-built UI (STPPaymentContext, STPPaymentOptionsViewController) +/// to your backend to fetch Customer-related information needed to power those views. +/// Typically, you will not need to implement this protocol yourself. You +/// should instead use STPCustomerContext, which implements +/// and manages retrieving and updating a Stripe customer for you. +/// seealso: +/// STPCustomerContext.h +/// If you would prefer retrieving and updating your Stripe customer object via +/// your own backend instead of using STPCustomerContext, you should make your +/// application’s API client conform to this interface. +SWIFT_PROTOCOL("_TtP6Stripe20STPBackendAPIAdapter_") +@protocol STPBackendAPIAdapter +/// Retrieve the customer to be displayed inside a payment context. +/// If you are not using STPCustomerContext: +/// On your backend, retrieve the Stripe customer associated with your currently +/// logged-in user ( https://stripe.com/docs/api#retrieve_customer ), and return +/// the raw JSON response from the Stripe API. Back in your iOS app, after you’ve +/// called this API, deserialize your API response into an STPCustomer object +/// (you can use the STPCustomerDeserializer class to do this). +/// seealso: +/// STPCard +/// \param completion call this callback when you’re done fetching and parsing the above information from your backend. For example, completion(customer, nil) (if your call succeeds) or completion(nil, error) if an error is returned. +/// +- (void)retrieveCustomer:(void (^ _Nullable)(STPCustomer * _Nullable, NSError * _Nullable))completion; +/// Retrieves a list of Payment Methods attached to a customer. +/// If you are implementing your own : +/// Call the list method ( https://stripe.com/docs/api/payment_methods/lists ) +/// with the Stripe customer. If this API call succeeds, call completion(paymentMethods) +/// with the list of PaymentMethods. Otherwise, call completion(error) with the error +/// that occurred. +/// \param completion Call this callback with the list of Payment Methods attached to the +/// customer. For example, completion(paymentMethods) (if your call succeeds) or +/// completion(error) if an error is returned. +/// +- (void)listPaymentMethodsForCustomerWithCompletion:(void (^ _Nullable)(NSArray * _Nullable, NSError * _Nullable))completion; +/// Adds a Payment Method to a customer. +/// If you are implementing your own : +/// On your backend, retrieve the Stripe customer associated with your logged-in user. +/// Then, call the Attach method on the Payment Method with that customer’s ID +/// ( https://stripe.com/docs/api/payment_methods/attach ). If this API call succeeds, +/// call completion(nil). Otherwise, call completion(error) with the error that +/// occurred. +/// \param paymentMethod A valid Payment Method +/// +/// \param completion Call this callback when you’re done adding the payment method +/// to the customer on your backend. For example, completion(nil) (if your call succeeds) +/// or completion(error) if an error is returned. +/// +- (void)attachPaymentMethodToCustomer:(STPPaymentMethod * _Nonnull)paymentMethod completion:(void (^ _Nullable)(NSError * _Nullable))completion; +@optional +/// Deletes the given Payment Method from the customer. +/// If you are implementing your own : +/// Call the Detach method ( https://stripe.com/docs/api/payment_methods/detach ) +/// on the Payment Method. If this API call succeeds, call completion(nil). +/// Otherwise, call completion(error) with the error that occurred. +/// \param paymentMethod The Payment Method to delete from the customer +/// +/// \param completion Call this callback when you’re done deleting the Payment Method +/// from the customer on your backend. For example, completion(nil) (if your call +/// succeeds) or completion(error) if an error is returned. +/// +- (void)detachPaymentMethodFromCustomer:(STPPaymentMethod * _Nonnull)paymentMethod completion:(void (^ _Nullable)(NSError * _Nullable))completion; +/// Sets the given shipping address on the customer. +/// If you are implementing your own : +/// On your backend, retrieve the Stripe customer associated with your logged-in user. +/// Then, call the Customer Update method ( https://stripe.com/docs/api#update_customer ) +/// specifying shipping to be the given shipping address. If this API call succeeds, +/// call completion(nil). Otherwise, call completion(error) with the error that occurred. +/// seealso: +/// https://stripe.com/docs/api#update_customer +/// \param shipping The shipping address to set on the customer +/// +/// \param completion call this callback when you’re done updating the customer on +/// your backend. For example, completion(nil) (if your call succeeds) or +/// completion(error) if an error is returned. +/// +- (void)updateCustomerWithShippingAddress:(STPAddress * _Nonnull)shipping completion:(void (^ _Nullable)(NSError * _Nullable))completion; +@end + + +/// Objects conforming to this protocol can be attached to a Stripe Customer object +/// as a payment source. +/// seealso: +/// https://stripe.com/docs/api#customer_object-sources +SWIFT_PROTOCOL("_TtP6Stripe17STPSourceProtocol_") +@protocol STPSourceProtocol +/// The Stripe ID of the source. +@property (nonatomic, readonly, copy) NSString * _Nonnull stripeID; +@end + +enum STPBankAccountHolderType : NSInteger; +enum STPBankAccountStatus : NSInteger; + +/// Representation of a user’s bank account details that have been tokenized with +/// the Stripe API. +/// seealso: +/// https://stripe.com/docs/api#bank_accounts +SWIFT_CLASS("_TtC6Stripe14STPBankAccount") +@interface STPBankAccount : NSObject +/// You cannot directly instantiate an STPBankAccount. You should only use one +/// that has been returned from an STPAPIClient callback. +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// The routing number for the bank account. This should be the ACH routing number, +/// not the wire routing number. +@property (nonatomic, readonly, copy) NSString * _Nullable routingNumber; +/// Two-letter ISO code representing the country the bank account is located in. +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// The default currency for the bank account. +@property (nonatomic, readonly, copy) NSString * _Nullable currency; +/// The last 4 digits of the account number. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// The name of the bank that owns the account. +@property (nonatomic, readonly, copy) NSString * _Nullable bankName; +/// The name of the person or business that owns the bank account. +@property (nonatomic, readonly, copy) NSString * _Nullable accountHolderName; +/// The type of entity that holds the account. +@property (nonatomic, readonly) enum STPBankAccountHolderType accountHolderType; +/// A proxy for the account number, this uniquely identifies the account and can be +/// used to compare equality of different bank accounts. +@property (nonatomic, readonly, copy) NSString * _Nullable fingerprint; +/// The validation status of the bank account. - seealso: STPBankAccountStatus +@property (nonatomic, readonly) enum STPBankAccountStatus status; +/// The Stripe ID for the bank account. +@property (nonatomic, readonly, copy) NSString * _Nullable bankAccountId SWIFT_DEPRECATED_MSG("Use stripeID (defined in STPSourceProtocol)"); +@property (nonatomic, readonly, copy) NSString * _Nonnull stripeID; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +- (BOOL)isEqual:(id _Nullable)bankAccount SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) NSUInteger hash; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// The type of entity that holds a bank account. +typedef SWIFT_ENUM(NSInteger, STPBankAccountHolderType, open) { +/// An individual holds this bank account. + STPBankAccountHolderTypeIndividual = 0, +/// A company holds this bank account. + STPBankAccountHolderTypeCompany = 1, +}; + + +/// Representation of a user’s bank account details. You can assemble these with +/// information that your user enters and then create Stripe tokens with them using +/// an STPAPIClient. +/// seealso: +/// https://stripe.com/docs/api#create_bank_account_token +SWIFT_CLASS("_TtC6Stripe20STPBankAccountParams") +@interface STPBankAccountParams : NSObject +/// The account number for the bank account. Currently must be a checking account. +@property (nonatomic, copy) NSString * _Nullable accountNumber; +/// The last 4 digits of the bank account’s account number, if it’s been set, +/// otherwise nil. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// The routing number for the bank account. This should be the ACH routing number, +/// not the wire routing number. +@property (nonatomic, copy) NSString * _Nullable routingNumber; +/// Two-letter ISO code representing the country the bank account is located in. +@property (nonatomic, copy) NSString * _Nullable country; +/// The default currency for the bank account. +@property (nonatomic, copy) NSString * _Nullable currency; +/// The name of the person or business that owns the bank account. +@property (nonatomic, copy) NSString * _Nullable accountHolderName; +/// The type of entity that holds the account. +/// Defaults to STPBankAccountHolderTypeIndividual. +@property (nonatomic) enum STPBankAccountHolderType accountHolderType; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initializes an empty STPBankAccountParams. +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +@end + +/// Possible validation states for a bank account. +typedef SWIFT_ENUM(NSInteger, STPBankAccountStatus, open) { +/// The account has had no activity or validation performed + STPBankAccountStatusNew = 0, +/// Stripe has determined this bank account exists. + STPBankAccountStatusValidated = 1, +/// Bank account verification has succeeded. + STPBankAccountStatusVerified = 2, +/// Verification for this bank account has failed. + STPBankAccountStatusVerificationFailed = 3, +/// A transfer sent to this bank account has failed. + STPBankAccountStatusErrored = 4, +}; + +/// The payment methods supported by STPBankSelectionViewController. +typedef SWIFT_ENUM(NSInteger, STPBankSelectionMethod, open) { +/// FPX (Malaysia) + STPBankSelectionMethodFPX = 0, +/// An unknown payment method + STPBankSelectionMethodUnknown = 1, +}; + +@protocol STPBankSelectionViewControllerDelegate; + +/// This view controller displays a list of banks of the specified type, allowing the user to select one to pay from. +/// Once a bank is selected, it will return a PaymentMethodParams object, which you can use to confirm a PaymentIntent +/// or inspect to obtain details about the selected bank. +SWIFT_CLASS("_TtC6Stripe30STPBankSelectionViewController") +@interface STPBankSelectionViewController : STPCoreTableViewController +/// A convenience initializer; equivalent to calling init( bankMethod:bankMethod configuration:STPPaymentConfiguration.shared theme:STPTheme.defaultTheme. +- (nonnull instancetype)initWithBankMethod:(enum STPBankSelectionMethod)bankMethod; +- (nonnull instancetype)initWithTheme:(STPTheme * _Nullable)theme; +/// Initializes a new STPBankSelectionViewController with the provided configuration and theme. Don’t forget to set the delegate property after initialization. +/// \param bankMethod The user will be presented with a list of banks for this payment method. STPBankSelectionMethodFPX is currently the only supported payment method. +/// +/// \param configuration The configuration to use. This determines the Stripe publishable key to use when querying metadata about the banks. - seealso: STPPaymentConfiguration +/// +/// \param theme The theme to use to inform the view controller’s visual appearance. - seealso: STPTheme +/// +- (nonnull instancetype)initWithBankMethod:(enum STPBankSelectionMethod)bankMethod configuration:(STPPaymentConfiguration * _Nonnull)configuration theme:(STPTheme * _Nonnull)theme OBJC_DESIGNATED_INITIALIZER; +/// The view controller’s delegate. This must be set before showing the view controller in order for it to work properly. - seealso: STPBankSelectionViewControllerDelegate +@property (nonatomic, weak) id _Nullable delegate; +/// The API Client to use to make requests. +/// Defaults to STPAPIClient.shared +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +/// :nodoc: +- (NSInteger)numberOfSectionsInTableView:(UITableView * _Nonnull)tableView SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (NSInteger)tableView:(UITableView * _Nonnull)tableView numberOfRowsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (UITableViewCell * _Nonnull)tableView:(UITableView * _Nonnull)tableView cellForRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)tableView:(UITableView * _Nonnull)tableView willDisplayCell:(UITableViewCell * _Nonnull)cell forRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath; +/// :nodoc: +- (CGFloat)tableView:(UITableView * _Nonnull)tableView heightForFooterInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (BOOL)tableView:(UITableView * _Nonnull)tableView shouldHighlightRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)tableView:(UITableView * _Nonnull)tableView didSelectRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE; +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE; +@end + + + +/// An STPBankSelectionViewControllerDelegate is notified when a user selects a bank. +SWIFT_PROTOCOL("_TtP6Stripe38STPBankSelectionViewControllerDelegate_") +@protocol STPBankSelectionViewControllerDelegate +/// This is called when the user selects a bank. +/// You can use the returned PaymentMethodParams to confirm a PaymentIntent, or inspect +/// it to obtain details about the selected bank. +/// Once you’re done, you’ll want to dismiss (or pop) the view controller. +/// \param bankViewController the view controller that created the PaymentMethodParams +/// +/// \param paymentMethodParams the PaymentMethodParams that was created. - seealso: STPPaymentMethodParams +/// +- (void)bankSelectionViewController:(STPBankSelectionViewController * _Nonnull)bankViewController didCreatePaymentMethodParams:(STPPaymentMethodParams * _Nonnull)paymentMethodParams; +@end + +/// What set of billing address information you need to collect from your user. +/// @note If the user is from a country that does not use zip/postal codes, +/// the user may not be asked for one regardless of this setting. +typedef SWIFT_ENUM(NSUInteger, STPBillingAddressFields, open) { +/// No billing address information + STPBillingAddressFieldsNone = 0, +/// Just request the user’s billing postal code + STPBillingAddressFieldsPostalCode = 1, +/// Request the user’s full billing address + STPBillingAddressFieldsFull = 2, +/// Just request the user’s billing name + STPBillingAddressFieldsName = 3, +/// Just request the user’s billing ZIP (synonym for STPBillingAddressFieldsZip) + STPBillingAddressFieldsZip = 4, +}; + +enum STPCardBrand : NSInteger; +enum STPCardFundingType : NSInteger; + +/// Representation of a user’s credit card details that have been tokenized with +/// the Stripe API +/// seealso: +/// https://stripe.com/docs/api#cards +SWIFT_CLASS("_TtC6Stripe7STPCard") +@interface STPCard : NSObject +/// The last 4 digits of the card. +@property (nonatomic, readonly, copy) NSString * _Nonnull last4; +/// For cards made with Apple Pay, this refers to the last 4 digits of the +/// “Device Account Number” for the tokenized card. For regular cards, it will +/// be nil. +@property (nonatomic, readonly, copy) NSString * _Nullable dynamicLast4; +/// Whether or not the card originated from Apple Pay. +@property (nonatomic, readonly) BOOL isApplePayCard; +/// The card’s expiration month. 1-indexed (i.e. 1 == January) +@property (nonatomic, readonly) NSInteger expMonth; +/// The card’s expiration year. +@property (nonatomic, readonly) NSInteger expYear; +/// The cardholder’s name. +@property (nonatomic, readonly, copy) NSString * _Nullable name; +/// The cardholder’s address. +@property (nonatomic, readonly, strong) STPAddress * _Nullable address; +/// The issuer of the card. +@property (nonatomic, readonly) enum STPCardBrand brand; +/// The funding source for the card (credit, debit, prepaid, or other) +@property (nonatomic, readonly) enum STPCardFundingType funding; +/// Two-letter ISO code representing the issuing country of the card. +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// This is only applicable when tokenizing debit cards to issue payouts to managed +/// accounts. You should not set it otherwise. The card can then be used as a +/// transfer destination for funds in this currency. +@property (nonatomic, readonly, copy) NSString * _Nullable currency; +/// Returns a string representation for the provided card brand; +/// i.e. STPCard.string(from brand: .visa) == "Visa". +/// \param brand the brand you want to convert to a string +/// +/// +/// returns: +/// A string representing the brand, suitable for displaying to a user. ++ (NSString * _Nonnull)stringFromBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// This parses a string representing a card’s brand into the appropriate +/// STPCardBrand enum value, +/// i.e. STPCard.brand(from string: "American Express") == .amex. +/// The string values themselves are specific to Stripe as listed in the Stripe API +/// documentation. +/// seealso: +/// https://stripe.com/docs/api#card_object-brand +/// \param string a string representing the card’s brand as returned from +/// the Stripe API +/// +/// +/// returns: +/// an enum value mapped to that string. If the string is unrecognized, +/// returns STPCardBrandUnknown. ++ (enum STPCardBrand)brandFromString:(NSString * _Nonnull)string SWIFT_WARN_UNUSED_RESULT; +/// Create an STPCard from a Stripe API response. +/// \param cardID The Stripe ID of the card, e.g. card_185iQx4JYtv6MPZKfcuXwkOx +/// +/// \param brand The brand of the card (e.g. “Visa”. To obtain this enum value +/// from a string, use STPCardBrand.brand(from string:string); +/// +/// \param last4 The last 4 digits of the card, e.g. 4242 +/// +/// \param expMonth The card’s expiration month, 1-indexed (i.e. 1 = January) +/// +/// \param expYear The card’s expiration year +/// +/// \param funding The card’s funding type (credit, debit, or prepaid). To obtain +/// this enum value from a string, use STPCardBrand.funding(from string:). +/// +/// +/// returns: +/// an STPCard instance populated with the provided values. +- (nonnull instancetype)initWithID:(NSString * _Nonnull)cardID brand:(enum STPCardBrand)brand last4:(NSString * _Nonnull)last4 expMonth:(NSInteger)expMonth expYear:(NSInteger)expYear funding:(enum STPCardFundingType)funding OBJC_DESIGNATED_INITIALIZER SWIFT_DEPRECATED_MSG("You cannot directly instantiate an STPCard. You should only use one that has been returned from an STPAPIClient callback."); +/// This parses a string representing a card’s funding type into the appropriate +/// STPCardFundingType enum value, +/// i.e. STPCard.funding(from string:"prepaid") == .prepaid. +/// \param string a string representing the card’s funding type as returned from +/// the Stripe API +/// +/// +/// returns: +/// an enum value mapped to that string. If the string is unrecognized, +/// returns STPCardFundingTypeOther. ++ (enum STPCardFundingType)fundingFromString:(NSString * _Nonnull)string SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, copy) NSString * _Nonnull stripeID; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +- (BOOL)isEqual:(id _Nullable)other SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) NSUInteger hash; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, strong) UIImage * _Nonnull image; +@property (nonatomic, readonly, strong) UIImage * _Nonnull templateImage; +@property (nonatomic, readonly, copy) NSString * _Nonnull label; +@property (nonatomic, readonly) BOOL isReusable; +/// A set of key/value pairs associated with the card object. +/// @deprecated Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead. +/// seealso: +/// https://stripe.com/docs/api#metadata +@property (nonatomic, readonly, copy) NSDictionary * _Nullable metadata SWIFT_DEPRECATED_MSG("Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead."); +/// The Stripe ID for the card. +@property (nonatomic, readonly, copy) NSString * _Nullable cardId SWIFT_DEPRECATED_MSG("Use stripeID (defined in STPSourceProtocol)"); +/// The first line of the cardholder’s address +@property (nonatomic, readonly, copy) NSString * _Nullable addressLine1 SWIFT_DEPRECATED_MSG("Use address.line1"); +/// The second line of the cardholder’s address +@property (nonatomic, readonly, copy) NSString * _Nullable addressLine2 SWIFT_DEPRECATED_MSG("Use address.line2"); +/// The city of the cardholder’s address +@property (nonatomic, readonly, copy) NSString * _Nullable addressCity SWIFT_DEPRECATED_MSG("Use address.city"); +/// The state of the cardholder’s address +@property (nonatomic, readonly, copy) NSString * _Nullable addressState SWIFT_DEPRECATED_MSG("Use address.state"); +/// The zip code of the cardholder’s address +@property (nonatomic, readonly, copy) NSString * _Nullable addressZip SWIFT_DEPRECATED_MSG("Use address.postalCode"); +/// The country of the cardholder’s address +@property (nonatomic, readonly, copy) NSString * _Nullable addressCountry SWIFT_DEPRECATED_MSG("Use address.country"); +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// The various card brands to which a payment card can belong. +typedef SWIFT_ENUM(NSInteger, STPCardBrand, open) { +/// Visa card + STPCardBrandVisa = 0, +/// American Express card + STPCardBrandAmex = 1, +/// Mastercard card + STPCardBrandMastercard = 2, +/// Discover card + STPCardBrandDiscover = 3, +/// JCB card + STPCardBrandJCB = 4, +/// Diners Club card + STPCardBrandDinersClub = 5, +/// UnionPay card + STPCardBrandUnionPay = 6, +/// An unknown card brand type + STPCardBrandUnknown = 7, +}; + + +/// Contains STPStringFromCardBrand +SWIFT_CLASS("_TtC6Stripe21STPCardBrandUtilities") +@interface STPCardBrandUtilities : NSObject +/// Returns a string representation for the provided card brand; +/// i.e. STPCardBrandUtilities.stringFrom(brand: .visa) == "Visa". +/// \param brand the brand you want to convert to a string +/// +/// +/// returns: +/// A string representing the brand, suitable for displaying to a user. ++ (NSString * _Nullable)stringFromCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// STPFormView is a base class for the Stripe SDK’s form input UI. You should use one of the available subclasses +/// (STPCardFormView) rather than instantiating an STPFormView instance directly. +SWIFT_CLASS("_TtC6Stripe11STPFormView") +@interface STPFormView : UIView +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; +/// :nodoc: +@property (nonatomic, readonly) BOOL canResignFirstResponder; +/// :nodoc: +- (BOOL)resignFirstResponder SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) BOOL isFirstResponder; +/// :nodoc: +@property (nonatomic, readonly) BOOL canBecomeFirstResponder; +/// :nodoc: +- (BOOL)becomeFirstResponder SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, getter=isUserInteractionEnabled) BOOL userInteractionEnabled; +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +@end + +@protocol STPCardFormViewDelegate; +enum STPCardFormViewStyle : NSInteger; + +/// STPCardFormView provides a multiline interface for users to input their +/// credit card details as well as billing postal code and provides an interface to access +/// the created STPPaymentMethodParams. +/// STPCardFormView includes both the input fields as well as an error label that +/// is displayed when invalid input is detected. +SWIFT_CLASS("_TtC6Stripe15STPCardFormView") +@interface STPCardFormView : STPFormView +/// The delegate to notify when the card form transitions to or from being complete. +/// seealso: +/// STPCardFormViewDelegate +@property (nonatomic, weak) id _Nullable delegate; +/// :nodoc: +@property (nonatomic, strong) UIColor * _Nullable backgroundColor; +/// The background color that is automatically applied to the input fields when isUserInteractionEnabled is set to false. @note STPCardFormView` uses text colors, most of which are iOS system colors, that are designed to be as +/// accessible as possible, so any customization should avoid decreasing contrast between the text and background. +@property (nonatomic, strong) UIColor * _Nullable disabledBackgroundColor; +/// A configured STPPaymentMethodParams with the entered card number, expiration date, cvc, and +/// postal code (if applicable). If any field is invalid or incomplete then this property will return nil. +/// You can monitor when STPCardFormView has complete details by implementing +/// STPFormViewDelegate and setting the STPCardFormView's delegate +/// property. +@property (nonatomic, readonly, strong) STPPaymentMethodParams * _Nullable cardParams; +@property (nonatomic, getter=isUserInteractionEnabled) BOOL userInteractionEnabled; +/// Public initializer for STPCardFormView. +/// @param style The visual style to use for this instance. @see STPCardFormViewStyle +- (nonnull instancetype)initWithStyle:(enum STPCardFormViewStyle)style; +@end + + + + +SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable) SWIFT_AVAILABILITY(ios_app_extension,unavailable) SWIFT_AVAILABILITY(ios,introduced=13.0) +@interface STPCardFormView (SWIFT_EXTENSION(Stripe)) +@end + + + +/// STPCardFormViewDelegate defines the interface that should be adopted to receive +/// updates from STPCardFormView instances. +SWIFT_PROTOCOL("_TtP6Stripe23STPCardFormViewDelegate_") +@protocol STPCardFormViewDelegate +/// Delegate method that is called when all of the form view’s required inputs +/// are complete or transition away from all being complete. These transitions +/// correspond to cardForView.cardParams returning a nil value or not. +- (void)cardFormView:(STPCardFormView * _Nonnull)form didChangeToStateComplete:(BOOL)complete; +@end + +/// Options for configuring the display of an STPCardFormView instance. +typedef SWIFT_ENUM(NSInteger, STPCardFormViewStyle, open) { +/// Draws the form in a rounded rect with full separators between +/// each input field. + STPCardFormViewStyleStandard = 0, +/// Draws the form without an outer border and underlines under +/// each input field. + STPCardFormViewStyleBorderless = 1, +}; + +/// The various funding sources for a payment card. +typedef SWIFT_ENUM(NSInteger, STPCardFundingType, open) { +/// Debit card funding + STPCardFundingTypeDebit = 0, +/// Credit card funding + STPCardFundingTypeCredit = 1, +/// Prepaid card funding + STPCardFundingTypePrepaid = 2, +/// An other or unknown type of funding source. + STPCardFundingTypeOther = 3, +}; + + +/// Representation of a user’s credit card details. You can assemble these with +/// information that your user enters and then create Stripe tokens with them using +/// an STPAPIClient. +/// seealso: +/// https://stripe.com/docs/api#cards +SWIFT_CLASS("_TtC6Stripe13STPCardParams") +@interface STPCardParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// A convenience initializer for creating a card params from a card payment method params. +- (nonnull instancetype)initWithPaymentMethodParams:(STPPaymentMethodParams * _Nonnull)paymentMethodParams; +/// The card’s number. +@property (nonatomic, copy) NSString * _Nullable number; +/// The last 4 digits of the card’s number, if it’s been set, otherwise nil. +- (NSString * _Nullable)last4 SWIFT_WARN_UNUSED_RESULT; +/// The card’s expiration month. +@property (nonatomic) NSUInteger expMonth; +/// The card’s expiration year. +@property (nonatomic) NSUInteger expYear; +/// The card’s security code, found on the back. +@property (nonatomic, copy) NSString * _Nullable cvc; +/// The cardholder’s name. +/// @note Changing this property will also changing the name of the +/// param’s address property. +@property (nonatomic, copy) NSString * _Nullable name; +/// The cardholder’s address. +/// @note Setting address to a new value will also change the name property to +/// be the value of address.name. However, changing address.name directly will +/// not* change name. +@property (nonatomic, strong) STPAddress * _Nonnull address; +/// Three-letter ISO currency code representing the currency paid out to the bank +/// account. This is only applicable when tokenizing debit cards to issue payouts +/// to managed accounts. You should not set it otherwise. The card can then be +/// used as a transfer destination for funds in this currency. +@property (nonatomic, copy) NSString * _Nullable currency; +/// The first line of the cardholder’s address +@property (nonatomic, copy) NSString * _Nullable addressLine1; +/// The second line of the cardholder’s address +@property (nonatomic, copy) NSString * _Nullable addressLine2; +/// The city of the cardholder’s address +@property (nonatomic, copy) NSString * _Nullable addressCity; +/// The state of the cardholder’s address +@property (nonatomic, copy) NSString * _Nullable addressState; +/// The zip code of the cardholder’s address +@property (nonatomic, copy) NSString * _Nullable addressZip; +/// The country of the cardholder’s address +@property (nonatomic, copy) NSString * _Nullable addressCountry; +/// Initializes an empty STPCardParams. +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +@end + +/// These fields indicate whether a card field represents a valid value, invalid +/// value, or incomplete value. +typedef SWIFT_ENUM(NSInteger, STPCardValidationState, open) { +/// The field’s contents are valid. For example, a valid, 16-digit card number. +/// Note that valid values may not be complete. For example: a US Zip code can +/// be 5 or 9 digits. A 5-digit code is Valid, but more text could be entered +/// to transition to incomplete again. American Express CVC codes can be 3 or +/// 4 digits and both will be treated as Valid. + STPCardValidationStateValid = 0, +/// The field’s contents are invalid. For example, an expiration date +/// of “13/42”. + STPCardValidationStateInvalid = 1, +/// The field’s contents are not currently valid, but could be by typing +/// additional characters. For example, a CVC of “1”. + STPCardValidationStateIncomplete = 2, +}; + + +/// This class contains static methods to validate card numbers, expiration dates, +/// and CVCs. For a list of test card numbers to use with this code, +/// see https://stripe.com/docs/testing +SWIFT_CLASS("_TtC6Stripe16STPCardValidator") +@interface STPCardValidator : NSObject +/// Returns a copy of the passed string with all non-numeric characters removed. ++ (NSString * _Nonnull)sanitizedNumericStringForString:(NSString * _Nonnull)string SWIFT_WARN_UNUSED_RESULT; +/// Returns a copy of the passed string with all characters removed that do not exist within a postal code. ++ (NSString * _Nonnull)sanitizedPostalStringForString:(NSString * _Nonnull)string SWIFT_WARN_UNUSED_RESULT; +/// Whether or not the target string contains only numeric characters. ++ (BOOL)stringIsNumeric:(NSString * _Nonnull)string SWIFT_WARN_UNUSED_RESULT; +/// Validates a card number, passed as a string. This will return +/// STPCardValidationStateInvalid for numbers that are too short or long, contain +/// invalid characters, do not pass Luhn validation, or (optionally) do not match +/// a number format issued by a major card brand. +/// \param cardNumber The card number to validate. Ex. @“4242424242424242” +/// +/// \param validatingCardBrand Whether or not to enforce that the number appears to +/// be issued by a major card brand (or could be). For example, no issuing card +/// network currently issues card numbers beginning with the digit 9; if an +/// otherwise correct-length and luhn-valid card number beginning with 9 +/// (example: 9999999999999995) were passed to this method, it would return +/// STPCardValidationStateInvalid if this parameter were YES and +/// STPCardValidationStateValid if this parameter were NO. If unsure, you should +/// use YES for this value. +/// +/// +/// returns: +/// STPCardValidationStateValid if the number is valid, +/// STPCardValidationStateInvalid if the number is invalid, or +/// STPCardValidationStateIncomplete if the number is a substring of a valid +/// card (e.g. @“4242”). ++ (enum STPCardValidationState)validationStateForNumber:(NSString * _Nullable)cardNumber validatingCardBrand:(BOOL)validatingCardBrand SWIFT_WARN_UNUSED_RESULT; +/// The card brand for a card number or substring thereof. +/// \param cardNumber A card number, or partial card number. For +/// example, @“4242”, @“5555555555554444”, or @“123”. +/// +/// +/// returns: +/// The brand for that card number. The example parameters would +/// return STPCardBrandVisa, STPCardBrandMasterCard, and +/// STPCardBrandUnknown, respectively. ++ (enum STPCardBrand)brandForNumber:(NSString * _Nonnull)cardNumber SWIFT_WARN_UNUSED_RESULT; +/// The possible number lengths for cards associated with a card brand. For +/// example, Discover card numbers contain 16 characters, while American Express +/// cards contain 15 characters. +/// \param brand The brand to return lengths for. +/// +/// +/// returns: +/// The set of possible lengths cards associated with that brand can be. ++ (NSSet * _Nonnull)lengthsForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// The maximum possible length the number of a card associated with the specified +/// brand could be. +/// For example, Visa cards could be either 13 or 16 characters, so this method +/// would return 16 for the that card brand. +/// \param brand The brand to return the max length for. +/// +/// +/// returns: +/// The maximum length card numbers associated with that brand could be. ++ (NSInteger)maxLengthForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// The length of the final grouping of digits to use when formatting a card number +/// for display. +/// For example, Visa cards display their final 4 numbers, e.g. “4242”, while +/// American Express cards display their final 5 digits, e.g. “10005”. +/// \param brand The brand to return the fragment length for. +/// +/// +/// returns: +/// The final fragment length card numbers associated with that brand use. ++ (NSInteger)fragmentLengthForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// Validates an expiration month, passed as an (optionally 0-padded) string. +/// Example valid values are “3”, “12”, and “08”. Example invalid values are “99”, +/// “a”, and “00”. Incomplete values include “0” and “1”. +/// \param expirationMonth A string representing a 2-digit expiration month for a +/// payment card. +/// +/// +/// returns: +/// STPCardValidationStateValid if the month is valid, +/// STPCardValidationStateInvalid if the month is invalid, or +/// STPCardValidationStateIncomplete if the month is a substring of a valid +/// month (e.g. @“0” or @“1”). ++ (enum STPCardValidationState)validationStateForExpirationMonth:(NSString * _Nonnull)expirationMonth SWIFT_WARN_UNUSED_RESULT; +/// Validates an expiration year, passed as a string representing the final +/// 2 digits of the year. +/// This considers the period between the current year until 2099 as valid times. +/// An example valid year value would be “16” (assuming the current year, as +/// determined by NSDate.date, is 2015). +/// Will return STPCardValidationStateInvalid for a month/year combination that +/// is earlier than the current date (i.e. @“15” and @“04” in October 2015). +/// Example invalid year values are “00”, “a”, and “13”. Any 1-digit year string +/// will return STPCardValidationStateIncomplete. +/// \param expirationYear A string representing a 2-digit expiration year for a +/// payment card. +/// +/// \param expirationMonth A string representing a valid 2-digit expiration month +/// for a payment card. If the month is invalid +/// (see validationStateForExpirationMonth), this will +/// return STPCardValidationStateInvalid. +/// +/// +/// returns: +/// STPCardValidationStateValid if the year is valid, +/// STPCardValidationStateInvalid if the year is invalid, or +/// STPCardValidationStateIncomplete if the year is a substring of a valid +/// year (e.g. @“1” or @“2”). ++ (enum STPCardValidationState)validationStateForExpirationYear:(NSString * _Nonnull)expirationYear inMonth:(NSString * _Nonnull)expirationMonth SWIFT_WARN_UNUSED_RESULT; +/// The max CVC length for a card brand (for example, American Express CVCs are +/// 4 digits, while all others are 3). +/// \param brand The brand to return the max CVC length for. +/// +/// +/// returns: +/// The maximum length of CVC numbers for cards associated with that brand. ++ (NSUInteger)maxCVCLengthForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// Validates a card’s CVC, passed as a numeric string, for the given card brand. +/// \param cvc the CVC to validate +/// +/// \param brand the card brand (can be determined from the card’s number +/// using brandForNumber) +/// +/// +/// returns: +/// Whether the CVC represents a valid CVC for that card brand. For +/// example, would return STPCardValidationStateValid for @“123” and +/// STPCardBrandVisa, STPCardValidationStateValid for @“1234” and +/// STPCardBrandAmericanExpress, STPCardValidationStateIncomplete for @“12” and +/// STPCardBrandVisa, and STPCardValidationStateInvalid for @“12345” and any brand. ++ (enum STPCardValidationState)validationStateForCVC:(NSString * _Nonnull)cvc cardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// Validates the given card details. +/// \param card The card details to validate. +/// +/// +/// returns: +/// STPCardValidationStateValid if all fields are valid, +/// STPCardValidationStateInvalid if any field is invalid, or +/// STPCardValidationStateIncomplete if all fields are either incomplete or valid. ++ (enum STPCardValidationState)validationStateForCard:(STPCardParams * _Nonnull)card SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + +/// Alipay options to pass to `STPConfirmPaymentMethodOptions`` +SWIFT_CLASS("_TtC6Stripe23STPConfirmAlipayOptions") +@interface STPConfirmAlipayOptions : NSObject +/// The app bundle ID. +/// @note This is automatically populated by the SDK. +@property (nonatomic, readonly, copy) NSString * _Nonnull appBundleID; +/// The app version. +/// @note This is automatically populated by the SDK. +@property (nonatomic, readonly, copy) NSString * _Nonnull appVersionKey; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPConfirmAlipayOptions (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// BLIK options to pass to `STPConfirmPaymentMethodOptions`` +/// seealso: +/// https://site-admin.stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-blik +SWIFT_CLASS("_TtC6Stripe21STPConfirmBLIKOptions") +@interface STPConfirmBLIKOptions : NSObject +/// The 6-digit BLIK code that a customer has generated using their banking application. +@property (nonatomic, copy) NSString * _Nonnull code; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// Initializes STPConfirmBLIKOptions +/// \param code The 6-digit BLIK code that a customer has generated using their banking application. +/// +- (nonnull instancetype)initWithCode:(NSString * _Nonnull)code OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPConfirmBLIKOptions (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Options to update a Card PaymentMethod during PaymentIntent confirmation. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card +SWIFT_CLASS("_TtC6Stripe21STPConfirmCardOptions") +@interface STPConfirmCardOptions : NSObject +/// CVC value with which to update the Card PaymentMethod. +@property (nonatomic, copy) NSString * _Nullable cvc; +/// Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time. +@property (nonatomic, copy) NSString * _Nullable network; +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPConfirmCardOptions (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + +@class STPConfirmWeChatPayOptions; + +/// Options to update the associated PaymentMethod during PaymentIntent confirmation. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-payment_method_options +SWIFT_CLASS("_TtC6Stripe30STPConfirmPaymentMethodOptions") +@interface STPConfirmPaymentMethodOptions : NSObject +/// Options to update a Card PaymentMethod. +/// seealso: +/// STPConfirmCardOptions +@property (nonatomic, strong) STPConfirmCardOptions * _Nullable cardOptions; +/// Options for an Alipay Payment Method. +@property (nonatomic, strong) STPConfirmAlipayOptions * _Nullable alipayOptions; +/// Options for a BLIK Payment Method. +@property (nonatomic, strong) STPConfirmBLIKOptions * _Nullable blikOptions; +/// Options for a WeChat Pay Payment Method. +@property (nonatomic, strong) STPConfirmWeChatPayOptions * _Nullable weChatPayOptions; +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + +@interface STPConfirmPaymentMethodOptions (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// WeChat Pay options to pass to `STPConfirmPaymentMethodOptions`` +/// seealso: +/// https://site-admin.stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-wechat_pay +SWIFT_CLASS("_TtC6Stripe26STPConfirmWeChatPayOptions") +@interface STPConfirmWeChatPayOptions : NSObject +/// Your WeChat-provided application ID. WeChat Pay uses +/// this as the redirect URL scheme. +@property (nonatomic, copy) NSString * _Nullable appId; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// Initializes STPConfirmWeChatPayOptions +/// \param appId Your WeChat-provided application ID. WeChat Pay +/// uses this as the redirect URL scheme. +/// +- (nonnull instancetype)initWithAppId:(NSString * _Nonnull)appId OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPConfirmWeChatPayOptions (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An address to use with STPConnectAccountParams. +SWIFT_CLASS("_TtC6Stripe24STPConnectAccountAddress") +@interface STPConnectAccountAddress : NSObject +/// City, district, suburb, town, or village. +/// For addresses in Japan: City or ward. +@property (nonatomic, copy) NSString * _Nullable city; +/// Two-letter country code (ISO 3166-1 alpha-2). +/// seealso: +/// https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 +@property (nonatomic, copy) NSString * _Nullable country; +/// Address line 1 (e.g., street, PO Box, or company name). +/// For addresses in Japan: Block or building number. +@property (nonatomic, copy) NSString * _Nullable line1; +/// Address line 2 (e.g., apartment, suite, unit, or building). +/// For addresses in Japan: Building details. +@property (nonatomic, copy) NSString * _Nullable line2; +/// ZIP or postal code. +@property (nonatomic, copy) NSString * _Nullable postalCode; +/// State, county, province, or region. +/// For addresses in Japan: Prefecture. +@property (nonatomic, copy) NSString * _Nullable state; +/// Town or cho-me. +/// This property only applies to Japanese addresses. +@property (nonatomic, copy) NSString * _Nullable town; +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPConnectAccountAddress (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + +/// The business type of the Connect account. +typedef SWIFT_ENUM(NSInteger, STPConnectAccountBusinessType, open) { +/// This Connect account represents an individual. + STPConnectAccountBusinessTypeIndividual = 0, +/// This Connect account represents a company. + STPConnectAccountBusinessTypeCompany = 1, +}; + +@class NSNumber; + +/// Information about the company or business to use with STPConnectAccountParams. +/// seealso: +/// https://stripe.com/docs/api/tokens/create_account#create_account_token-account-company +SWIFT_CLASS("_TtC6Stripe30STPConnectAccountCompanyParams") +@interface STPConnectAccountCompanyParams : NSObject +/// The company’s primary address. +@property (nonatomic, strong) STPConnectAccountAddress * _Null_unspecified address; +/// The Kana variation of the company’s primary address (Japan only). +@property (nonatomic, strong) STPConnectAccountAddress * _Nullable kanaAddress; +/// The Kanji variation of the company’s primary address (Japan only). +@property (nonatomic, strong) STPConnectAccountAddress * _Nullable kanjiAddress; +/// Whether the company’s directors have been provided. +/// Set this Boolean to true after creating all the company’s directors with the Persons API (https://stripe.com/docs/api/persons) for accounts with a relationship.director requirement. +/// This value is not automatically set to true after creating directors, so it needs to be updated to indicate all directors have been provided. +@property (nonatomic, strong) NSNumber * _Nullable directorsProvided; +/// The company’s legal name. +@property (nonatomic, copy) NSString * _Nullable name; +/// The Kana variation of the company’s legal name (Japan only). +@property (nonatomic, copy) NSString * _Nullable kanaName; +/// The Kanji variation of the company’s legal name (Japan only). +@property (nonatomic, copy) NSString * _Nullable kanjiName; +/// Whether the company’s owners have been provided. +/// Set this Boolean to true after creating all the company’s owners with the Persons API (https://stripe.com/docs/api/persons) for accounts with a relationship.owner requirement. +@property (nonatomic, strong) NSNumber * _Nullable ownersProvided; +/// The company’s phone number (used for verification). +@property (nonatomic, copy) NSString * _Nullable phone; +/// The business ID number of the company, as appropriate for the company’s country. +/// (Examples are an Employer ID Number in the U.S., a Business Number in Canada, or a Company Number in the UK.) +@property (nonatomic, copy) NSString * _Nullable taxID; +/// The jurisdiction in which the taxID is registered (Germany-based companies only). +@property (nonatomic, copy) NSString * _Nullable taxIDRegistrar; +/// The VAT number of the company. +@property (nonatomic, copy) NSString * _Nullable vatID; +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPConnectAccountCompanyParams (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + +@class STPConnectAccountIndividualVerification; + +/// Information about the person represented by the account for use with STPConnectAccountParams. +/// seealso: +/// https://stripe.com/docs/api/tokens/create_account#create_account_token-account-individual +SWIFT_CLASS("_TtC6Stripe33STPConnectAccountIndividualParams") +@interface STPConnectAccountIndividualParams : NSObject +/// The individual’s primary address. +@property (nonatomic, strong) STPConnectAccountAddress * _Nullable address; +/// The Kana variation of the the individual’s primary address (Japan only). +@property (nonatomic, strong) STPConnectAccountAddress * _Nullable kanaAddress; +/// The Kanji variation of the the individual’s primary address (Japan only). +@property (nonatomic, strong) STPConnectAccountAddress * _Nullable kanjiAddress; +/// The individual’s date of birth. +/// Must include day, month, and year, and only those fields are used. +@property (nonatomic, copy) NSDateComponents * _Nullable dateOfBirth; +/// The individual’s email address. +@property (nonatomic, copy) NSString * _Nullable email; +/// The individual’s first name. +@property (nonatomic, copy) NSString * _Nullable firstName; +/// The Kana variation of the the individual’s first name (Japan only). +@property (nonatomic, copy) NSString * _Nullable kanaFirstName; +/// The Kanji variation of the individual’s first name (Japan only). +@property (nonatomic, copy) NSString * _Nullable kanjiFirstName; +/// The individual’s gender +/// International regulations require either “male” or “female”. +@property (nonatomic, copy) NSString * _Nullable gender; +/// The government-issued ID number of the individual, as appropriate for the representative’s country. +/// Examples are a Social Security Number in the U.S., or a Social Insurance Number in Canada. +/// Instead of the number itself, you can also provide a PII token created with Stripe.js (see https://stripe.com/docs/stripe-js/reference#collecting-pii-data). +@property (nonatomic, copy) NSString * _Nullable idNumber; +/// The individual’s last name. +@property (nonatomic, copy) NSString * _Nullable lastName; +/// The Kana varation of the individual’s last name (Japan only). +@property (nonatomic, copy) NSString * _Nullable kanaLastName; +/// The Kanji varation of the individual’s last name (Japan only). +@property (nonatomic, copy) NSString * _Nullable kanjiLastName; +/// The individual’s maiden name. +@property (nonatomic, copy) NSString * _Nullable maidenName; +/// Set of key-value pairs that you can attach to an object. +/// This can be useful for storing additional information about the object in a structured format. +@property (nonatomic, copy) NSDictionary * _Nullable metadata; +/// The individual’s phone number. +@property (nonatomic, copy) NSString * _Nullable phone; +/// The last four digits of the individual’s Social Security Number (U.S. only). +@property (nonatomic, copy) NSString * _Nullable ssnLast4; +/// The individual’s verification document information. +@property (nonatomic, strong) STPConnectAccountIndividualVerification * _Nullable verification; +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPConnectAccountIndividualParams (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + +@class STPConnectAccountVerificationDocument; + +/// The individual’s verification document information for use with STPConnectAccountIndividualParams. +SWIFT_CLASS("_TtC6Stripe39STPConnectAccountIndividualVerification") +@interface STPConnectAccountIndividualVerification : NSObject +/// An identifying document, either a passport or local ID card. +@property (nonatomic, strong) STPConnectAccountVerificationDocument * _Nullable document; +/// A document showing address, either a passport, local ID card, or utility bill from a well-known utility company. +@property (nonatomic, strong) STPConnectAccountVerificationDocument * _Nullable additionalDocument; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPConnectAccountIndividualVerification (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Parameters for creating a Connect Account token. +/// seealso: +/// https://stripe.com/docs/api/tokens/create_account +SWIFT_CLASS("_TtC6Stripe23STPConnectAccountParams") +@interface STPConnectAccountParams : NSObject +/// Boolean indicating that the Terms Of Service were shown to the user & +/// the user accepted them. +@property (nonatomic, readonly, strong) NSNumber * _Nullable tosShownAndAccepted; +/// The business type. +@property (nonatomic, readonly) enum STPConnectAccountBusinessType businessType; +/// Information about the individual represented by the account. +@property (nonatomic, readonly, strong) STPConnectAccountIndividualParams * _Nullable individual; +/// Information about the company or business. +@property (nonatomic, readonly, strong) STPConnectAccountCompanyParams * _Nullable company; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initialize STPConnectAccountParams with tosShownAndAccepted = YES +/// This method cannot be called with wasAccepted == NO, guarded by a NSParameterAssert(). +/// Use this init method if you want to set the tosShownAndAccepted parameter. If you +/// don’t, use the initWithIndividual: version instead. +/// \param wasAccepted Must be YES, but only if the user was shown & accepted the ToS +/// +/// \param individual Information about the person represented by the account. See STPConnectAccountIndividualParams. +/// +- (nullable instancetype)initWithTosShownAndAccepted:(BOOL)wasAccepted individual:(STPConnectAccountIndividualParams * _Nonnull)individual OBJC_DESIGNATED_INITIALIZER; +/// Initialize STPConnectAccountParams with tosShownAndAccepted = YES +/// This method cannot be called with wasAccepted == NO, guarded by a NSParameterAssert(). +/// Use this init method if you want to set the tosShownAndAccepted parameter. If you +/// don’t, use the initWithCompany: version instead. +/// \param wasAccepted Must be YES, but only if the user was shown & accepted the ToS +/// +/// \param company Information about the company or business. See STPConnectAccountCompanyParams. +/// +- (nullable instancetype)initWithTosShownAndAccepted:(BOOL)wasAccepted company:(STPConnectAccountCompanyParams * _Nonnull)company OBJC_DESIGNATED_INITIALIZER; +/// Initialize STPConnectAccountParams with the provided individual dictionary. +/// \param individual Information about the person represented by the account +/// This init method cannot change the tosShownAndAccepted parameter. Use +/// initWithTosShownAndAccepted:individual: instead if you need to do that. +/// +- (nonnull instancetype)initWithIndividual:(STPConnectAccountIndividualParams * _Nonnull)individual OBJC_DESIGNATED_INITIALIZER; +/// Initialize STPConnectAccountParams with the provided company dictionary. +/// \param company Information about the company or business +/// This init method cannot change the tosShownAndAccepted parameter. Use +/// initWithTosShownAndAccepted:company: instead if you need to do that. +/// +- (nonnull instancetype)initWithCompany:(STPConnectAccountCompanyParams * _Nonnull)company OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPConnectAccountParams (SWIFT_EXTENSION(Stripe)) ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An identifying document, either a passport or local ID card for use with STPConnectAccountIndividualVerification. +SWIFT_CLASS("_TtC6Stripe37STPConnectAccountVerificationDocument") +@interface STPConnectAccountVerificationDocument : NSObject +/// The back of an ID returned by a file upload with a purpose value of identity_document. +/// seealso: +/// https://stripe.com/docs/api/files/create for file uploads +@property (nonatomic, copy) NSString * _Nullable back; +/// The front of an ID returned by a file upload with a purpose value of identity_document. +/// seealso: +/// https://stripe.com/docs/api/files/create for file uploads +@property (nonatomic, copy) NSString * _Nullable front; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPConnectAccountVerificationDocument (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Contains constants that represent different parts of a users contact/address information. +SWIFT_CLASS("_TtC6Stripe15STPContactField") +@interface STPContactField : NSObject +/// The contact’s full physical address. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPContactField * _Nonnull postalAddress;) ++ (STPContactField * _Nonnull)postalAddress SWIFT_WARN_UNUSED_RESULT; +/// The contact’s email address +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPContactField * _Nonnull emailAddress;) ++ (STPContactField * _Nonnull)emailAddress SWIFT_WARN_UNUSED_RESULT; +/// The contact’s phone number. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPContactField * _Nonnull phoneNumber;) ++ (STPContactField * _Nonnull)phoneNumber SWIFT_WARN_UNUSED_RESULT; +/// The contact’s name. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPContactField * _Nonnull name;) ++ (STPContactField * _Nonnull)name SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + + + +/// An STPCustomer represents a deserialized Customer object from the Stripe API. +/// You shouldn’t need to instantiate an STPCustomer – you should instead use +/// STPCustomerContext to manage retrieving and updating a customer. +SWIFT_CLASS("_TtC6Stripe11STPCustomer") +@interface STPCustomer : NSObject +/// The Stripe ID of the customer, e.g. cus_1234 +@property (nonatomic, readonly, copy) NSString * _Nonnull stripeID; +/// The default source used to charge the customer. +@property (nonatomic, readonly, strong) id _Nullable defaultSource; +/// The available payment sources the customer has (this may be an empty array). +@property (nonatomic, readonly, copy) NSArray> * _Nonnull sources; +/// The customer’s email address. +@property (nonatomic, readonly, copy) NSString * _Nullable email; +/// The customer’s shipping address. +@property (nonatomic, strong) STPAddress * _Nullable shippingAddress; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// Initialize a customer object with the provided values. +/// \param stripeID The ID of the customer, e.g. cus_abc +/// +/// \param defaultSource The default source of the customer, such as an STPCard object. Can be nil. +/// +/// \param sources All of the customer’s payment sources. This might be an empty array. +/// +/// +/// returns: +/// an instance of STPCustomer +- (nonnull instancetype)initWithStripeID:(NSString * _Nonnull)stripeID defaultSource:(id _Nullable)defaultSource sources:(NSArray> * _Nonnull)sources; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// Replaces the customer’s sources and defaultSource based on whether or not +/// they should include Apple Pay sources. More details on documentation for +/// STPCustomerContext includeApplePaySources +/// @param filteringApplePay If YES, Apple Pay sources will be ignored +- (void)updateSourcesFilteringApplePay:(BOOL)filteringApplePay; +@end + + +@interface STPCustomer (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +@protocol STPCustomerEphemeralKeyProvider; + +/// An STPCustomerContext retrieves and updates a Stripe customer and their attached +/// payment methods using an ephemeral key, a short-lived API key scoped to a specific +/// customer object. If your current user logs out of your app and a new user logs in, +/// be sure to either create a new instance of STPCustomerContext or clear the current +/// instance’s cache. On your backend, be sure to create and return a +/// new ephemeral key for the Customer object associated with the new user. +SWIFT_CLASS("_TtC6Stripe18STPCustomerContext") +@interface STPCustomerContext : NSObject +/// Initializes a new STPCustomerContext with the specified key provider. +/// Upon initialization, a CustomerContext will fetch a new ephemeral key from +/// your backend and use it to prefetch the customer object specified in the key. +/// Subsequent customer and payment method retrievals (e.g. by STPPaymentContext) +/// will return the prefetched customer / attached payment methods immediately if +/// its age does not exceed 60 seconds. +/// \param keyProvider The key provider the customer context will use. +/// +/// +/// returns: +/// the newly-instantiated customer context. +- (nonnull instancetype)initWithKeyProvider:(id _Nonnull)keyProvider; +/// Initializes a new STPCustomerContext with the specified key provider. +/// Upon initialization, a CustomerContext will fetch a new ephemeral key from +/// your backend and use it to prefetch the customer object specified in the key. +/// Subsequent customer and payment method retrievals (e.g. by STPPaymentContext) +/// will return the prefetched customer / attached payment methods immediately if +/// its age does not exceed 60 seconds. +/// \param keyProvider The key provider the customer context will use. +/// +/// \param apiClient The API Client to use to make requests. +/// +/// +/// returns: +/// the newly-instantiated customer context. +- (nonnull instancetype)initWithKeyProvider:(id _Nullable)keyProvider apiClient:(STPAPIClient * _Nonnull)apiClient; +/// STPCustomerContext will cache its customer object and associated payment methods +/// for up to 60 seconds. If your current user logs out of your app and a new user logs +/// in, be sure to either call this method or create a new instance of STPCustomerContext. +/// On your backend, be sure to create and return a new ephemeral key for the +/// customer object associated with the new user. +- (void)clearCache; +/// By default, STPCustomerContext will filter Apple Pay when it retrieves +/// Payment Methods. Apple Pay payment methods should generally not be re-used and +/// shouldn’t be offered to customers as a new payment method (Apple Pay payment +/// methods may only be re-used for subscriptions). +/// If you are using STPCustomerContext to back your own UI and would like to +/// disable Apple Pay filtering, set this property to YES. +/// Note: If you are using STPPaymentContext, you should not change this property. +@property (nonatomic) BOOL includeApplePayPaymentMethods; +- (void)retrieveCustomer:(void (^ _Nullable)(STPCustomer * _Nullable, NSError * _Nullable))completion; +- (void)updateCustomerWithShippingAddress:(STPAddress * _Nonnull)shipping completion:(void (^ _Nullable)(NSError * _Nullable))completion; +/// A convenience method for attaching the PaymentMethod to the current Customer +- (void)attachPaymentMethodToCustomerWithPaymentMethodId:(NSString * _Nonnull)paymentMethodId completion:(void (^ _Nullable)(NSError * _Nullable))completion; +- (void)attachPaymentMethodToCustomer:(STPPaymentMethod * _Nonnull)paymentMethod completion:(void (^ _Nullable)(NSError * _Nullable))completion; +/// A convenience method for detaching the PaymentMethod to the current Customer +- (void)detachPaymentMethodFromCustomerWithPaymentMethodId:(NSString * _Nonnull)paymentMethodId completion:(void (^ _Nullable)(NSError * _Nullable))completion; +- (void)detachPaymentMethodFromCustomer:(STPPaymentMethod * _Nonnull)paymentMethod completion:(void (^ _Nullable)(NSError * _Nullable))completion; +- (void)listPaymentMethodsForCustomerWithCompletion:(void (^ _Nullable)(NSArray * _Nullable, NSError * _Nullable))completion; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@class NSURLResponse; + +/// Use STPCustomerDeserializer to convert a response from the Stripe API into an STPCustomer object. STPCustomerDeserializer expects the JSON response to be in the exact same format as the Stripe API. +SWIFT_CLASS("_TtC6Stripe23STPCustomerDeserializer") +@interface STPCustomerDeserializer : NSObject +/// If a customer was successfully parsed from the response, it will be set here. Otherwise, this value wil be nil (and the error property will explain what went wrong). +@property (nonatomic, readonly, strong) STPCustomer * _Nullable customer; +/// If the deserializer failed to parse a customer, this property will explain why (and the customer property will be nil). +@property (nonatomic, readonly) NSError * _Nullable error; +/// Initialize a customer deserializer. The data, urlResponse, and error +/// parameters are intended to be passed from an NSURLSessionDataTask callback. +/// After it has been initialized, you can inspect the error and customer +/// properties to see if the deserialization was successful. If error is nil, +/// customer will be non-nil (and vice versa). +/// \param data An NSData object representing encoded JSON for a Customer object +/// +/// \param urlResponse The URL response obtained from the NSURLSessionTask +/// +/// \param error Any error that occurred from the URL session task (if this +/// is non-nil, the error property will be set to this value after initialization). +/// +- (nonnull instancetype)initWithData:(NSData * _Nullable)data urlResponse:(NSURLResponse * _Nullable)urlResponse error:(NSError * _Nullable)error; +/// Initializes a customer deserializer with a JSON dictionary. This JSON should be +/// in the exact same format as what the Stripe API returns. If it’s successfully +/// parsed, the customer parameter will be present after initialization; +/// otherwise error will be present. +/// \param json a JSON dictionary. +/// +- (nonnull instancetype)initWithJsonResponse:(id _Nullable)json; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// You should make your application’s API client conform to this interface. +/// It provides a way for Stripe utility classes to request a new ephemeral key from +/// your backend, which it will use to retrieve and update Stripe API objects. +SWIFT_PROTOCOL("_TtP6Stripe31STPCustomerEphemeralKeyProvider_") +@protocol STPCustomerEphemeralKeyProvider +/// Creates a new ephemeral key for retrieving and updating a Stripe customer. +/// On your backend, you should create a new ephemeral key for the Stripe customer +/// associated with your user, and return the raw JSON response from the Stripe API. +/// For an example Ruby implementation of this API, refer to our example backend: +/// https://github.com/stripe/example-mobile-backend/blob/v18.1.0/web.rb +/// Back in your iOS app, once you have a response from this API, call the provided +/// completion block with the JSON response, or an error if one occurred. +/// \param apiVersion The Stripe API version to use when creating a key. +/// You should pass this parameter to your backend, and use it to set the API version +/// in your key creation request. Passing this version parameter ensures that the +/// Stripe SDK can always parse the ephemeral key response from your server. +/// +/// \param completion Call this callback when you’re done fetching a new ephemeral +/// key from your backend. For example, completion(json, nil) (if your call succeeds) +/// or completion(nil, error) if an error is returned. +/// +- (void)createCustomerKeyWithAPIVersion:(NSString * _Nonnull)apiVersion completion:(void (^ _Nonnull)(NSDictionary * _Nullable, NSError * _Nullable))completion; +@end + + +/// An individual’s date of birth. +/// See https://stripe.com/docs/api/tokens/create_account#create_account_token-account-individual-dob +SWIFT_CLASS("_TtC6Stripe14STPDateOfBirth") +@interface STPDateOfBirth : NSObject +/// The day of birth, between 1 and 31. +@property (nonatomic) NSInteger day; +/// The month of birth, between 1 and 12. +@property (nonatomic) NSInteger month; +/// The four-digit year of birth. +@property (nonatomic) NSInteger year; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPDateOfBirth (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// You should make your application’s API client conform to this interface. +/// It provides a way for Stripe utility classes to request a new ephemeral key from +/// your backend, which it will use to retrieve and update Stripe API objects. +/// @deprecated use STPCustomerEphemeralKeyProvider or STPIssuingCardEphemeralKeyProvider +/// depending on the type of key that will@objc be fetched. +SWIFT_PROTOCOL("_TtP6Stripe23STPEphemeralKeyProvider_") SWIFT_DEPRECATED_MSG("use `STPCustomerEphemeralKeyProvider` or `STPIssuingCardEphemeralKeyProvider` depending on the type of key that will be fetched.") +@protocol STPEphemeralKeyProvider +@end + +enum STPFPXBankBrand : NSInteger; + +/// Convenience methods for using FPX bank brands. +SWIFT_CLASS("_TtC6Stripe10STPFPXBank") +@interface STPFPXBank : NSObject +/// Returns a string representation for the provided bank brand; +/// i.e. STPFPXBank.stringFrom(brand:.uob) == "UOB Bank". +/// \param brand The brand you want to convert to a string +/// +/// +/// returns: +/// A string representing the brand, suitable for displaying to a user. ++ (NSString * _Nullable)stringFrom:(enum STPFPXBankBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// Returns a bank brand provided a string representation identifying a bank brand; +/// i.e. STPFPXBankBrandFromIdentifier(@"uob") == STPCardBrandUob. +/// \param identifier The identifier for the brand +/// +/// +/// returns: +/// The STPFPXBankBrand enum value ++ (enum STPFPXBankBrand)brandFrom:(NSString * _Nullable)identifier SWIFT_WARN_UNUSED_RESULT; +/// Returns a string representation identifying the provided bank brand; +/// i.e. STPIdentifierFromFPXBankBrand(STPCardBrandUob) == @"uob". +/// \param brand The brand you want to convert to a string +/// +/// +/// returns: +/// A string representing the brand, suitable for using with the Stripe API. ++ (NSString * _Nullable)identifierFrom:(enum STPFPXBankBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// Returns the code identifying the provided bank brand in the FPX status API; +/// i.e. STPIdentifierFromFPXBankBrand(STPCardBrandUob) == @"UOB0226". +/// \param brand The brand you want to convert to an FPX bank code +/// +/// \param isBusiness Requests the code for the business version of this bank brand, which may be different from the code used for individual accounts +/// +/// +/// returns: +/// A string representing the brand, suitable for checking against the FPX status API. ++ (NSString * _Nullable)bankCodeFrom:(enum STPFPXBankBrand)brand :(BOOL)isBusiness SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +/// The various bank brands available for FPX payments. +typedef SWIFT_ENUM(NSInteger, STPFPXBankBrand, open) { +/// Maybank2U + STPFPXBankBrandMaybank2U = 0, +/// CIMB Clicks + STPFPXBankBrandCIMB = 1, +/// Public Bank + STPFPXBankBrandPublicBank = 2, +/// RHB Bank + STPFPXBankBrandRHB = 3, +/// Hong Leong Bank + STPFPXBankBrandHongLeongBank = 4, +/// AmBank + STPFPXBankBrandAmbank = 5, +/// Affin Bank + STPFPXBankBrandAffinBank = 6, +/// Alliance Bank + STPFPXBankBrandAllianceBank = 7, +/// Bank Islam + STPFPXBankBrandBankIslam = 8, +/// Bank Muamalat + STPFPXBankBrandBankMuamalat = 9, +/// Bank Rakyat + STPFPXBankBrandBankRakyat = 10, +/// BSN + STPFPXBankBrandBSN = 11, +/// HSBC BANK + STPFPXBankBrandHSBC = 12, +/// KFH + STPFPXBankBrandKFH = 13, +/// Maybank2E + STPFPXBankBrandMaybank2E = 14, +/// OCBC Bank + STPFPXBankBrandOcbc = 15, +/// Standard Chartered + STPFPXBankBrandStandardChartered = 16, +/// UOB Bank + STPFPXBankBrandUOB = 17, +/// An unknown bank + STPFPXBankBrandUnknown = 18, +}; + +@class PKAddPaymentPassRequestConfiguration; +@protocol PKAddPaymentPassViewControllerDelegate; + +/// This class is a piece of fake UI that is intended to mimic PKAddPaymentPassViewController. That class is restricted to apps with a special entitlement from Apple, and as such can be difficult to build and test against. This class implements the same public API as PKAddPaymentPassViewController, and can be used to develop against the Stripe API in testmode only. (Obviously it will not actually place cards into the user’s Apple Pay wallet either.) When it’s time to go to production, you may simply replace all references to STPFakeAddPaymentPassViewController in your app with PKAddPaymentPassViewController and it will continue to function. For more information on developing against this API, please see https://stripe.com/docs/issuing/cards/digital-wallets . +SWIFT_CLASS("_TtC6Stripe35STPFakeAddPaymentPassViewController") +@interface STPFakeAddPaymentPassViewController : UIViewController +/// @see PKAddPaymentPassViewController ++ (BOOL)canAddPaymentPass SWIFT_WARN_UNUSED_RESULT; +/// @see PKAddPaymentPassViewController +- (nullable instancetype)initWithRequestConfiguration:(PKAddPaymentPassRequestConfiguration * _Nonnull)configuration delegate:(id _Nullable)delegate OBJC_DESIGNATED_INITIALIZER; +/// @see PKAddPaymentPassViewController +@property (nonatomic, weak) id _Nullable delegate; +/// :nodoc: +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil; +/// :nodoc: +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder; +/// :nodoc: +- (void)viewDidLoad; +@end + +enum STPFilePurpose : NSInteger; + +/// Representation of a file upload object in the Stripe API. +/// seealso: +/// https://stripe.com/docs/api#file_uploads +SWIFT_CLASS("_TtC6Stripe7STPFile") +@interface STPFile : NSObject +/// The token for this file. +@property (nonatomic, readonly, copy) NSString * _Nullable fileId; +/// The date this file was created. +@property (nonatomic, readonly, copy) NSDate * _Nullable created; +/// The purpose of this file. This can be either an identifing document or an evidence dispute. +/// seealso: +/// https://stripe.com/docs/file-upload +@property (nonatomic, readonly) enum STPFilePurpose purpose; +/// The file size in bytes. +@property (nonatomic, readonly, strong) NSNumber * _Nullable size; +/// The file type. This can be “jpg”, “png”, or “pdf”. +@property (nonatomic, readonly, copy) NSString * _Nullable type; +/// Returns the string value for a purpose. ++ (NSString * _Nullable)stringFromPurpose:(enum STPFilePurpose)purpose SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// :nodoc: +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) NSUInteger hash; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// The purpose of the uploaded file. +/// seealso: +/// https://stripe.com/docs/file-upload +typedef SWIFT_ENUM(NSInteger, STPFilePurpose, open) { +/// Identity document file + STPFilePurposeIdentityDocument = 0, +/// Dispute evidence file + STPFilePurposeDisputeEvidence = 1, +/// A file of unknown purpose type + STPFilePurposeUnknown = 2, +}; + + + + + + + +/// This class lets you access card icons used by the Stripe SDK. All icons are 32 x 20 points. +SWIFT_CLASS("_TtC6Stripe15STPImageLibrary") +@interface STPImageLibrary : NSObject +/// An icon representing Apple Pay. ++ (UIImage * _Nonnull)applePayCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon representing American Express. ++ (UIImage * _Nonnull)amexCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon representing Diners Club. ++ (UIImage * _Nonnull)dinersClubCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon representing Discover. ++ (UIImage * _Nonnull)discoverCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon representing JCB. ++ (UIImage * _Nonnull)jcbCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon representing Mastercard. ++ (UIImage * _Nonnull)mastercardCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon representing UnionPay. ++ (UIImage * _Nonnull)unionPayCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon representing Visa. ++ (UIImage * _Nonnull)visaCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon to use when the type of the card is unknown. ++ (UIImage * _Nonnull)unknownCardCardImage SWIFT_WARN_UNUSED_RESULT; +/// This returns the appropriate icon for the specified card brand. ++ (UIImage * _Nonnull)brandImageForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// This returns the appropriate icon for the specified bank brand. ++ (UIImage * _Nonnull)brandImageForFPXBankBrand:(enum STPFPXBankBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// An icon representing FPX. ++ (UIImage * _Nonnull)fpxLogo SWIFT_WARN_UNUSED_RESULT; +/// A large branding image for FPX. ++ (UIImage * _Nonnull)largeFpxLogo SWIFT_WARN_UNUSED_RESULT; +/// An icon representing Afterpay. ++ (UIImage * _Nonnull)afterpayLogo SWIFT_WARN_UNUSED_RESULT; +/// This returns the appropriate icon for the specified card brand as a +/// single color template that can be tinted ++ (UIImage * _Nonnull)templatedBrandImageForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// This returns a small icon indicating the CVC location for the given card brand. ++ (UIImage * _Nonnull)cvcImageForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// This returns a small icon indicating a card number error for the given card brand. ++ (UIImage * _Nonnull)errorImageForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +enum STPIntentActionType : NSInteger; +@class STPIntentActionRedirectToURL; +@class STPIntentActionOXXODisplayDetails; +@class STPIntentActionAlipayHandleRedirect; +@class STPIntentActionWechatPayRedirectToApp; +@class STPIntentActionBoletoDisplayDetails; + +/// Next action details for STPPaymentIntent and STPSetupIntent. +/// This is a container for the various types that are available. +/// Check the type to see which one it is, and then use the related +/// property for the details necessary to handle it. +/// You cannot directly instantiate an STPIntentAction. +SWIFT_CLASS("_TtC6Stripe15STPIntentAction") +@interface STPIntentAction : NSObject +/// The type of action needed. The value of this field determines which +/// property of this object contains further details about the action. +@property (nonatomic, readonly) enum STPIntentActionType type; +/// The details for authorizing via URL, when type == .redirectToURL +@property (nonatomic, readonly, strong) STPIntentActionRedirectToURL * _Nullable redirectToURL; +/// The details for displaying OXXO voucher via URL, when type == .OXXODisplayDetails +@property (nonatomic, readonly, strong) STPIntentActionOXXODisplayDetails * _Nullable oxxoDisplayDetails; +/// Contains instructions for authenticating a payment by redirecting your customer to Alipay App or website. +@property (nonatomic, readonly, strong) STPIntentActionAlipayHandleRedirect * _Nullable alipayHandleRedirect; +/// Contains instructions for authenticating a payment by redirecting your customer to the WeChat Pay app. +@property (nonatomic, readonly, strong) STPIntentActionWechatPayRedirectToApp * _Nullable weChatPayRedirectToApp; +/// The details for displaying Boleto voucher via URL, when type == .boleto +@property (nonatomic, readonly, strong) STPIntentActionBoletoDisplayDetails * _Nullable boletoDisplayDetails; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPIntentAction (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface STPIntentAction (SWIFT_EXTENSION(Stripe)) +/// The details for authorizing via URL, when type == STPIntentActionTypeRedirectToURL +/// @deprecated Use redirectToURL instead. +@property (nonatomic, readonly, strong) STPIntentActionRedirectToURL * _Nullable authorizeWithURL SWIFT_DEPRECATED_MSG("Use `redirectToURL` instead.", "redirectToURL"); +@end + + +/// Contains instructions for authenticating a payment by redirecting your customer to Alipay App or website. +/// You cannot directly instantiate an STPPaymentIntentActionAlipayHandleRedirect. +SWIFT_CLASS("_TtC6Stripe35STPIntentActionAlipayHandleRedirect") +@interface STPIntentActionAlipayHandleRedirect : NSObject +/// The native URL you must redirect your customer to in order to authenticate the payment. +@property (nonatomic, readonly, copy) NSURL * _Nullable nativeURL; +/// If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion. +@property (nonatomic, readonly, copy) NSURL * _Nonnull returnURL; +/// The URL you must redirect your customer to in order to authenticate the payment. +@property (nonatomic, readonly, copy) NSURL * _Nonnull url; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPIntentActionAlipayHandleRedirect (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + + +/// Contains Boleto details necessary for the customer to complete the payment. +SWIFT_CLASS("_TtC6Stripe35STPIntentActionBoletoDisplayDetails") +@interface STPIntentActionBoletoDisplayDetails : NSObject +/// The boleto voucher number. +@property (nonatomic, readonly, copy) NSString * _Nonnull number; +/// The expiry date of the boleto voucher. +@property (nonatomic, readonly, copy) NSDate * _Nonnull expiresAt; +/// The URL to the hosted boleto voucher page, which allows customers to view the boleto voucher. +@property (nonatomic, readonly, copy) NSURL * _Nonnull hostedVoucherURL; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// Contains OXXO details necessary for the customer to complete the payment. +SWIFT_CLASS("_TtC6Stripe33STPIntentActionOXXODisplayDetails") +@interface STPIntentActionOXXODisplayDetails : NSObject +/// The timestamp after which the OXXO voucher expires. +@property (nonatomic, readonly, copy) NSDate * _Nonnull expiresAfter; +/// The URL for the hosted OXXO voucher page, which allows customers to view and print an OXXO voucher. +@property (nonatomic, readonly, copy) NSURL * _Nonnull hostedVoucherURL; +/// OXXO reference number. +@property (nonatomic, readonly, copy) NSString * _Nonnull number; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// Contains instructions for authenticating a payment by redirecting your customer to another page or application. +/// You cannot directly instantiate an STPIntentActionRedirectToURL. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/object#payment_intent_object-next_action +SWIFT_CLASS("_TtC6Stripe28STPIntentActionRedirectToURL") +@interface STPIntentActionRedirectToURL : NSObject +/// The URL you must redirect your customer to in order to authenticate the payment. +@property (nonatomic, readonly, copy) NSURL * _Nonnull url; +/// The return URL that’ll be redirected back to when the user is done +/// authenticating. +@property (nonatomic, readonly, copy) NSURL * _Nullable returnURL; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPIntentActionRedirectToURL (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// Types of next actions for STPPaymentIntent and STPSetupIntent. +/// You shouldn’t need to inspect this yourself; STPPaymentHandler will handle any next actions for you. +typedef SWIFT_ENUM(NSInteger, STPIntentActionType, open) { +/// This is an unknown action that’s been added since the SDK +/// was last updated. +/// Update your SDK, or use the nextAction.allResponseFields +/// for custom handling. + STPIntentActionTypeUnknown = 0, +/// The payment intent needs to be authorized by the user. We provide +/// STPPaymentHandler to handle the url redirections necessary. + STPIntentActionTypeRedirectToURL = 1, +/// The payment intent requires additional action handled by STPPaymentHandler. + STPIntentActionTypeUseStripeSDK = 2, +/// The action type is OXXO payment. We provide STPPaymentHandler to display +/// the OXXO voucher. + STPIntentActionTypeOXXODisplayDetails = 3, +/// Contains instructions for authenticating a payment by redirecting your customer to Alipay App or website. + STPIntentActionTypeAlipayHandleRedirect = 4, +/// The action type for BLIK payment methods. The customer must authorize the transaction in their banking app within 1 minute. + STPIntentActionTypeBLIKAuthorize = 5, +/// Contains instructions for authenticating a payment by redirecting your customer to the WeChat Pay App. + STPIntentActionTypeWeChatPayRedirectToApp = 6, +/// The payment intent requires authorization with Payment Sheet. + STPIntentActionTypeLinkAuthenticateAccount = 7, +/// The action type is Boleto payment. We provide STPPaymentHandler to display the Boleto voucher. + STPIntentActionTypeBoletoDisplayDetails = 8, +}; + + +/// Contains instructions for authenticating a payment by redirecting your customer to WeChat Pay app. +/// You cannot directly instantiate an STPIntentActionWechatPayRedirectToApp. +SWIFT_CLASS("_TtC6Stripe37STPIntentActionWechatPayRedirectToApp") +@interface STPIntentActionWechatPayRedirectToApp : NSObject +/// The native URL you must redirect your customer to in order to authenticate the payment. +@property (nonatomic, readonly, copy) NSURL * _Nullable nativeURL; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPIntentActionWechatPayRedirectToApp (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// You should make your application’s API client conform to this interface. +/// It provides a way for Stripe utility classes to request a new ephemeral key from +/// your backend, which it will use to retrieve and update Stripe API objects. +SWIFT_PROTOCOL("_TtP6Stripe34STPIssuingCardEphemeralKeyProvider_") +@protocol STPIssuingCardEphemeralKeyProvider +/// Creates a new ephemeral key for retrieving and updating a Stripe Issuing Card. +/// On your backend, you should create a new ephemeral key for your logged-in user’s +/// primary Issuing Card, and return the raw JSON response from the Stripe API. +/// For an example Ruby implementation of this API, refer to our example backend: +/// https://github.com/stripe/example-mobile-backend/blob/v18.1.0/web.rb +/// Back in your iOS app, once you have a response from this API, call the provided +/// completion block with the JSON response, or an error if one occurred. +/// \param apiVersion The Stripe API version to use when creating a key. +/// You should pass this parameter to your backend, and use it to set the API version +/// in your key creation request. Passing this version parameter ensures that the +/// Stripe SDK can always parse the ephemeral key response from your server. +/// +/// \param completion Call this callback when you’re done fetching a new ephemeral +/// key from your backend. For example, completion(json, nil) (if your call succeeds) +/// or completion(nil, error) if an error is returned. +/// +- (void)createIssuingCardKeyWithAPIVersion:(NSString * _Nonnull)apiVersion completion:(void (^ _Nonnull)(NSDictionary * _Nullable, NSError * _Nullable))completion; +@end + + +/// Information related to a Stripe Issuing card, including the PIN +SWIFT_CLASS("_TtC6Stripe17STPIssuingCardPin") +@interface STPIssuingCardPin : NSObject +/// The PIN for the card +@property (nonatomic, readonly, copy) NSString * _Nullable pin; +/// If the PIN failed to be created, this error might be present +@property (nonatomic, readonly, copy) NSDictionary * _Nullable error; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPIssuingCardPin (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +enum STPKlarnaLineItemType : NSInteger; + +/// An object representing a line item in a Klarna source. +/// seealso: +/// https://stripe.com/docs/sources/klarna#create-source +SWIFT_CLASS("_TtC6Stripe17STPKlarnaLineItem") +@interface STPKlarnaLineItem : NSObject +/// The line item’s type. One of sku (for a product), tax (for taxes), or shipping (for shipping costs). +@property (nonatomic) enum STPKlarnaLineItemType itemType; +/// The human-readable description for the line item. +@property (nonatomic, copy) NSString * _Nonnull itemDescription; +/// The quantity to display for this line item. +@property (nonatomic, strong) NSNumber * _Nonnull quantity; +/// The total price of this line item. +/// Note: This is the total price after multiplying by the quantity, not +/// the price of an individual item. It is denominated in the currency +/// of the STPSourceParams which contains it. +@property (nonatomic, strong) NSNumber * _Nonnull totalAmount; +/// Initialize this STPKlarnaLineItem with a set of parameters. +/// \param itemType The line item’s type. +/// +/// \param itemDescription The human-readable description for the line item. +/// +/// \param quantity The quantity to display for this line item. +/// +/// \param totalAmount The total price of this line item. +/// +- (nonnull instancetype)initWithItemType:(enum STPKlarnaLineItemType)itemType itemDescription:(NSString * _Nonnull)itemDescription quantity:(NSNumber * _Nonnull)quantity totalAmount:(NSNumber * _Nonnull)totalAmount OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// The type of the Klarna line item. +typedef SWIFT_ENUM(NSInteger, STPKlarnaLineItemType, open) { +/// The line item for a product + STPKlarnaLineItemTypeSKU = 0, +/// The line item for taxes + STPKlarnaLineItemTypeTax = 1, +/// The line item for shipping costs + STPKlarnaLineItemTypeShipping = 2, +}; + +/// Custom payment methods for Klarna +/// seealso: +/// https://stripe.com/docs/sources/klarna#create-source +typedef SWIFT_ENUM(NSInteger, STPKlarnaPaymentMethods, open) { +/// Don’t specify any custom payment methods. + STPKlarnaPaymentMethodsNone = 0, +/// Offer payments over 4 installments. (a.k.a. Pay Later in 4) + STPKlarnaPaymentMethodsPayIn4 = 1, +/// Offer payments over an arbitrary number of installments. (a.k.a. Slice It) + STPKlarnaPaymentMethodsInstallments = 2, +/// Offer payments over 4 or an arbitrary number of installments. + STPKlarnaPaymentMethodsPayIn4OrInstallments = 3, +}; + +enum STPMandateCustomerAcceptanceType : NSInteger; +@class STPMandateOnlineParams; + +/// An object that contains details about the customer acceptance of the Mandate. - seealso: https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-mandate_data-customer_acceptance +SWIFT_CLASS("_TtC6Stripe34STPMandateCustomerAcceptanceParams") +@interface STPMandateCustomerAcceptanceParams : NSObject +/// The type of customer acceptance information included with the Mandate. +@property (nonatomic) enum STPMandateCustomerAcceptanceType type; +/// If this is a Mandate accepted online, this object contains details about the online acceptance. +/// @note If type == STPMandateCustomerAcceptanceTypeOnline, this value must be non-nil. +@property (nonatomic, strong) STPMandateOnlineParams * _Nullable onlineParams; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initializes an empty STPMandateCustomerAcceptanceParams. +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + +/// The type of customer acceptance information included with the Mandate. +typedef SWIFT_ENUM(NSInteger, STPMandateCustomerAcceptanceType, open) { +/// A Mandate that was accepted online. + STPMandateCustomerAcceptanceTypeOnline = 0, +/// A Mandate that was accepted offline. + STPMandateCustomerAcceptanceTypeOffline = 1, +}; + + +/// This object contains details about the Mandate to create. - seealso: https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-mandate_data +SWIFT_CLASS("_TtC6Stripe20STPMandateDataParams") +@interface STPMandateDataParams : NSObject +/// Details about the customer acceptance of the Mandate. +@property (nonatomic, readonly, strong) STPMandateCustomerAcceptanceParams * _Nonnull customerAcceptance; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initializes an STPMandateDataParams from an STPMandateCustomerAcceptanceParams. +- (nonnull instancetype)initWithCustomerAcceptance:(STPMandateCustomerAcceptanceParams * _Nonnull)customerAcceptance OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPMandateDataParams (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Contains details about a Mandate accepted online. - seealso: https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-mandate_data-customer_acceptance-online +SWIFT_CLASS("_TtC6Stripe22STPMandateOnlineParams") +@interface STPMandateOnlineParams : NSObject +/// The IP address from which the Mandate was accepted by the customer. +@property (nonatomic, readonly, copy) NSString * _Nonnull ipAddress; +/// The user agent of the browser from which the Mandate was accepted by the customer. +@property (nonatomic, readonly, copy) NSString * _Nonnull userAgent; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initializes an STPMandateOnlineParams. +/// \param ipAddress The IP address from which the Mandate was accepted by the customer. +/// +/// \param userAgent The user agent of the browser from which the Mandate was accepted by the customer. +/// +/// +/// returns: +/// A new STPMandateOnlineParams instance with the specified parameters. +- (nonnull instancetype)initWithIPAddress:(NSString * _Nonnull)ipAddress userAgent:(NSString * _Nonnull)userAgent OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPMandateOnlineParams (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + + +/// This class can be used wherever you’d use a UIActivityIndicatorView and is intended to have a similar API. It renders as a spinning circle with a gap in it, similar to what you see in the App Store app or in the Apple Pay dialog when making a purchase. To change its color, set the tintColor property. +SWIFT_CLASS("_TtC6Stripe31STPPaymentActivityIndicatorView") +@interface STPPaymentActivityIndicatorView : UIView +/// Tell the view to start or stop spinning. If hidesWhenStopped is true, it will fade in/out if animated is true. +- (void)setAnimating:(BOOL)animating animated:(BOOL)animated; +/// Whether or not the view is animating. +@property (nonatomic) BOOL animating; +/// If true, the view will hide when it is not spinning. Default is true. +@property (nonatomic) BOOL hidesWhenStopped; +/// :nodoc: +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +/// :nodoc: +@property (nonatomic, strong) UIColor * _Null_unspecified tintColor; +/// :nodoc: +- (void)layoutSubviews; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE; +@end + +@class STPPaymentMethodCardParams; +@class UITraitCollection; + +/// STPPaymentCardTextField is a text field with similar properties to UITextField, +/// but specialized for credit/debit card information. It manages +/// multiple UITextFields under the hood to collect this information. It’s +/// designed to fit on a single line, and from a design perspective can be used +/// anywhere a UITextField would be appropriate. +IB_DESIGNABLE +SWIFT_CLASS("_TtC6Stripe23STPPaymentCardTextField") +@interface STPPaymentCardTextField : UIControl +/// :nodoc: +- (BOOL)textField:(UITextField * _Nonnull)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString * _Nonnull)string SWIFT_WARN_UNUSED_RESULT; +/// seealso: +/// STPPaymentCardTextFieldDelegate +@property (nonatomic, weak) IBOutlet id _Nullable delegate; +/// The font used in each child field. Default is UIFont.systemFont(ofSize:18). +@property (nonatomic, strong) UIFont * _Nonnull font; +/// The text color to be used when entering valid text. Default is .label. +@property (nonatomic, strong) UIColor * _Nonnull textColor; +/// The text color to be used when the user has entered invalid information, +/// such as an invalid card number. +/// Default is .red. +@property (nonatomic, strong) UIColor * _Nonnull textErrorColor; +/// The text placeholder color used in each child field. +/// This will also set the color of the card placeholder icon. +/// Default is .systemGray2. +@property (nonatomic, strong) UIColor * _Nonnull placeholderColor; +/// The placeholder for the card number field. +/// Default is “4242424242424242”. +/// If this is set to something that resembles a card number, it will automatically +/// format it as such (in other words, you don’t need to add spaces to this string). +@property (nonatomic, copy) IBInspectable NSString * _Nullable numberPlaceholder; +/// The placeholder for the expiration field. Defaults to “MM/YY”. +@property (nonatomic, copy) IBInspectable NSString * _Nullable expirationPlaceholder; +/// The placeholder for the cvc field. Defaults to “CVC”. +@property (nonatomic, copy) IBInspectable NSString * _Nullable cvcPlaceholder; +/// The placeholder for the postal code field. Defaults to “ZIP” for United States +/// or @“Postal” for all other country codes. +@property (nonatomic, copy) IBInspectable NSString * _Nullable postalCodePlaceholder; +/// The cursor color for the field. +/// This is a proxy for the view’s tintColor property, exposed for clarity only +/// (in other words, calling setCursorColor is identical to calling setTintColor). +@property (nonatomic, strong) UIColor * _Nonnull cursorColor; +/// The border color for the field. +/// Can be nil (in which case no border will be drawn). +/// Default is .systemGray2. +@property (nonatomic, strong) UIColor * _Nullable borderColor; +/// The width of the field’s border. +/// Default is 1.0. +@property (nonatomic) CGFloat borderWidth; +/// The corner radius for the field’s border. +/// Default is 5.0. +@property (nonatomic) CGFloat cornerRadius; +/// The keyboard appearance for the field. +/// Default is UIKeyboardAppearanceDefault. +@property (nonatomic) UIKeyboardAppearance keyboardAppearance; +/// This behaves identically to setting the inputView for each child text field. +@property (nonatomic, strong) UIView * _Nullable inputView; +/// This behaves identically to setting the inputAccessoryView for each child text field. +@property (nonatomic, strong) UIView * _Nullable inputAccessoryView; +/// The curent brand image displayed in the receiver. +@property (nonatomic, readonly, strong) UIImage * _Nullable brandImage; +/// Whether or not the form currently contains a valid card number, +/// expiration date, CVC, and postal code (if required). +/// seealso: +/// STPCardValidator +@property (nonatomic, readonly) BOOL isValid; +/// Enable/disable selecting or editing the field. Useful when submitting card details to Stripe. +@property (nonatomic, getter=isEnabled) BOOL enabled; +/// The current card number displayed by the field. +/// May or may not be valid, unless isValid is true, in which case it is guaranteed +/// to be valid. +@property (nonatomic, readonly, copy) NSString * _Nullable cardNumber; +/// The current expiration month displayed by the field (1 = January, etc). +/// May or may not be valid, unless isValid is true, in which case it is +/// guaranteed to be valid. +@property (nonatomic, readonly) NSInteger expirationMonth; +/// The current expiration month displayed by the field, as a string. T +/// This may or may not be a valid entry (i.e. “0”) unless isValid is true. +/// It may be also 0-prefixed (i.e. “01” for January). +@property (nonatomic, readonly, copy) NSString * _Nullable formattedExpirationMonth; +/// The current expiration year displayed by the field, modulo 100 +/// (e.g. the year 2015 will be represented as 15). +/// May or may not be valid, unless isValid is true, in which case it is +/// guaranteed to be valid. +@property (nonatomic, readonly) NSInteger expirationYear; +/// The current expiration year displayed by the field, as a string. +/// This is a 2-digit year (i.e. “15”), and may or may not be a valid entry +/// unless isValid is true. +@property (nonatomic, readonly, copy) NSString * _Nullable formattedExpirationYear; +/// The current card CVC displayed by the field. +/// May or may not be valid, unless isValid is true, in which case it +/// is guaranteed to be valid. +@property (nonatomic, readonly, copy) NSString * _Nullable cvc; +/// The current card ZIP or postal code displayed by the field. +@property (nonatomic, copy) NSString * _Nullable postalCode; +/// Controls if a postal code entry field can be displayed to the user. +/// Default is YES. +/// If YES, the type of code entry shown is controlled by the set countryCode +/// value. Some country codes may result in no postal code entry being shown if +/// those countries do not commonly use postal codes. +/// If NO, no postal code entry will ever be displayed. +@property (nonatomic) BOOL postalCodeEntryEnabled; +/// The two-letter ISO country code that corresponds to the user’s billing address. +/// If postalCodeEntryEnabled is YES, this controls which type of entry is allowed. +/// If postalCodeEntryEnabled is NO, this property currently has no effect. +/// If set to nil and postal code entry is enabled, the country from the user’s current +/// locale will be filled in. Otherwise the specific country code set will be used. +/// By default this will fetch the user’s current country code from NSLocale. +@property (nonatomic, copy) NSString * _Nullable countryCode; +/// Convenience property for creating an STPPaymentMethodCardParams from the currently entered information +/// or programmatically setting the field’s contents. For example, if you’re using another library +/// to scan your user’s credit card with a camera, you can assemble that data into an STPPaymentMethodCardParams +/// object and set this property to that object to prefill the fields you’ve collected. +/// Accessing this property returns a copied cardParams. The only way to change properties in this +/// object is to make changes to a STPPaymentMethodCardParams you own (retrieved from this text field if desired), +/// and then set this property to the new value. +@property (nonatomic, strong) STPPaymentMethodCardParams * _Nonnull cardParams; +/// Causes the text field to begin editing. Presents the keyboard. +/// seealso: +/// UIResponder +/// +/// returns: +/// Whether or not the text field successfully began editing. +- (BOOL)becomeFirstResponder; +/// Causes the text field to stop editing. Dismisses the keyboard. +/// seealso: +/// UIResponder +/// +/// returns: +/// Whether or not the field successfully stopped editing. +- (BOOL)resignFirstResponder; +/// Resets all of the contents of all of the fields. If the field is currently being edited, the number field will become selected. +- (void)clear; +/// Returns the cvc image used for a card brand. +/// Override this method in a subclass if you would like to provide custom images. +/// \param cardBrand The brand of card entered. +/// +/// +/// returns: +/// The cvc image used for a card brand. ++ (UIImage * _Nullable)cvcImageForCardBrand:(enum STPCardBrand)cardBrand SWIFT_WARN_UNUSED_RESULT; +/// Returns the brand image used for a card brand. +/// Override this method in a subclass if you would like to provide custom images. +/// \param cardBrand The brand of card entered. +/// +/// +/// returns: +/// The brand image used for a card brand. ++ (UIImage * _Nullable)brandImageForCardBrand:(enum STPCardBrand)cardBrand SWIFT_WARN_UNUSED_RESULT; +/// Returns the error image used for a card brand. +/// Override this method in a subclass if you would like to provide custom images. +/// \param cardBrand The brand of card entered. +/// +/// +/// returns: +/// The error image used for a card brand. ++ (UIImage * _Nullable)errorImageForCardBrand:(enum STPCardBrand)cardBrand SWIFT_WARN_UNUSED_RESULT; +/// Returns the rectangle in which the receiver draws its brand image. +/// \param bounds The bounding rectangle of the receiver. +/// +/// +/// returns: +/// the rectangle in which the receiver draws its brand image. +- (CGRect)brandImageRectForBounds:(CGRect)bounds SWIFT_WARN_UNUSED_RESULT; +/// Returns the rectangle in which the receiver draws the text fields. +/// \param bounds The bounding rectangle of the receiver. +/// +/// +/// returns: +/// The rectangle in which the receiver draws the text fields. +- (CGRect)fieldsRectForBounds:(CGRect)bounds SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (void)traitCollectionDidChange:(UITraitCollection * _Nullable)previousTraitCollection; +/// :nodoc: +@property (nonatomic, strong) UIColor * _Nullable backgroundColor; +/// :nodoc: +@property (nonatomic) UIControlContentVerticalAlignment contentVerticalAlignment; +/// :nodoc: +@property (nonatomic, readonly) BOOL isFirstResponder; +/// :nodoc: +@property (nonatomic, readonly) BOOL canBecomeFirstResponder; +/// :nodoc: +@property (nonatomic, readonly) BOOL canResignFirstResponder; +/// :nodoc: +@property (nonatomic, readonly) CGSize intrinsicContentSize; +/// :nodoc: +- (void)layoutSubviews; +/// :nodoc: +- (BOOL)textFieldShouldBeginEditing:(UITextField * _Nonnull)textField SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)textFieldDidBeginEditing:(UITextField * _Nonnull)textField; +/// :nodoc: +- (BOOL)textFieldShouldEndEditing:(UITextField * _Nonnull)textField SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)textFieldDidEndEditing:(UITextField * _Nonnull)textField; +/// :nodoc: +- (BOOL)textFieldShouldReturn:(UITextField * _Nonnull)textField SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) BOOL hasText; +/// :nodoc: +- (void)insertText:(NSString * _Nonnull)text; +/// :nodoc: +- (void)deleteBackward; +/// :nodoc: ++ (NSSet * _Nonnull)keyPathsForValuesAffectingIsValid SWIFT_WARN_UNUSED_RESULT; +@end + + + + +enum STPShippingType : NSInteger; + +/// An STPPaymentConfiguration represents all the options you can set or change +/// around a payment. +/// You provide an STPPaymentConfiguration object to your STPPaymentContext +/// when making a charge. The configuration generally has settings that +/// will not change from payment to payment and thus is reusable, while the context +/// is specific to a single particular payment instance. +SWIFT_CLASS("_TtC6Stripe23STPPaymentConfiguration") +@interface STPPaymentConfiguration : NSObject +/// This is a convenience singleton configuration that uses the default values for +/// every property +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) STPPaymentConfiguration * _Nonnull sharedConfiguration;) ++ (STPPaymentConfiguration * _Nonnull)sharedConfiguration SWIFT_WARN_UNUSED_RESULT; ++ (void)setSharedConfiguration:(STPPaymentConfiguration * _Nonnull)value; +/// The user is allowed to pay with Apple Pay if it’s configured and available on their device. +@property (nonatomic) BOOL applePayEnabled; +/// The user is allowed to pay with FPX. +@property (nonatomic) BOOL fpxEnabled; +/// The billing address fields the user must fill out when prompted for their +/// payment details. These fields will all be present on the returned PaymentMethod from +/// Stripe. +/// The default value is STPBillingAddressFieldsPostalCode. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/create#create_payment_method-billing_details +@property (nonatomic) enum STPBillingAddressFields requiredBillingAddressFields; +/// The shipping address fields the user must fill out when prompted for their +/// shipping info. Set to nil if shipping address is not required. +/// The default value is nil. +@property (nonatomic, copy) NSSet * _Nullable requiredShippingAddressFields; +/// Whether the user should be prompted to verify prefilled shipping information. +/// The default value is YES. +@property (nonatomic) BOOL verifyPrefilledShippingAddress; +/// The type of shipping for this purchase. This property sets the labels displayed +/// when the user is prompted for shipping info, and whether they should also be +/// asked to select a shipping method. +/// The default value is STPShippingTypeShipping. +@property (nonatomic) enum STPShippingType shippingType; +/// The set of countries supported when entering an address. This property accepts +/// a set of ISO 2-character country codes. +/// The default value is all known countries. Setting this property will limit +/// the available countries to your selected set. +@property (nonatomic, copy) NSSet * _Nonnull availableCountries; +/// The name of your company, for displaying to the user during payment flows. For +/// example, when using Apple Pay, the payment sheet’s final line item will read +/// “PAY {companyName}”. +/// The default value is the name of your iOS application which is derived from the +/// kCFBundleNameKey of Bundle.main. +@property (nonatomic, copy) NSString * _Nonnull companyName; +/// The Apple Merchant Identifier to use during Apple Pay transactions. To create +/// one of these, see our guide at https://stripe.com/docs/mobile/apple-pay . You +/// must set this to a valid identifier in order to automatically enable Apple Pay. +@property (nonatomic, copy) NSString * _Nullable appleMerchantIdentifier; +/// Determines whether or not the user is able to delete payment options +/// This is only relevant to the STPPaymentOptionsViewController which, if +/// enabled, will allow the user to delete payment options by tapping the “Edit” +/// button in the navigation bar or by swiping left on a payment option and tapping +/// “Delete”. Currently, the user is not allowed to delete the selected payment +/// option but this may change in the future. +/// Default value is YES but will only work if STPPaymentOptionsViewController is +/// initialized with a STPCustomerContext either through the STPPaymentContext +/// or directly as an init parameter. +@property (nonatomic) BOOL canDeletePaymentOptions; +/// Determines whether STPAddCardViewController allows the user to +/// scan cards using the camera on devices running iOS 13 or later. +/// To use this feature, you must also set the NSCameraUsageDescription +/// value in your app’s Info.plist. +/// @note This feature is currently in beta. Please file bugs at +/// https://github.com/stripe/stripe-ios/issues +/// The default value is currently NO. This will be changed in a future update. +@property (nonatomic) BOOL cardScanningEnabled; +/// An enum value representing which payment options you will accept from your user +/// in addition to credit cards. +@property (nonatomic) NSInteger additionalPaymentOptions SWIFT_DEPRECATED_MSG("additionalPaymentOptions has been removed. Set applePayEnabled and fpxEnabled on STPPaymentConfiguration instead."); +/// If you used STPPaymentConfiguration.shared.publishableKey, use STPAPIClient.shared.publishableKey instead. The SDK uses STPAPIClient.shared to make API requests by default. +/// Your Stripe publishable key +/// seealso: +/// https://dashboard.stripe.com/account/apikeys +@property (nonatomic, copy) NSString * _Nullable publishableKey SWIFT_DEPRECATED_MSG("If you used STPPaymentConfiguration.shared.publishableKey, use STPAPIClient.shared.publishableKey instead. If you passed a STPPaymentConfiguration instance to an SDK component, create an STPAPIClient, set publishableKey on it, and set the SDK component's APIClient property."); +/// If you used STPPaymentConfiguration.shared.stripeAccount, use STPAPIClient.shared.stripeAccount instead. The SDK uses STPAPIClient.shared to make API requests by default. +/// In order to perform API requests on behalf of a connected account, e.g. to +/// create charges for a connected account, set this property to the ID of the +/// account for which this request is being made. +/// seealso: +/// https://stripe.com/docs/payments/payment-intents/use-cases#connected-accounts +@property (nonatomic, copy) NSString * _Nullable stripeAccount SWIFT_DEPRECATED_MSG("If you used STPPaymentConfiguration.shared.stripeAccount, use STPAPIClient.shared.stripeAccount instead. If you passed a STPPaymentConfiguration instance to an SDK component, create an STPAPIClient, set stripeAccount on it, and set the SDK component's APIClient property."); +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class STPShippingAddressViewController; +enum STPShippingStatus : NSInteger; + +/// An STPShippingAddressViewControllerDelegate is notified when an STPShippingAddressViewController receives an address, completes with an address, or is cancelled. +SWIFT_PROTOCOL("_TtP6Stripe40STPShippingAddressViewControllerDelegate_") +@protocol STPShippingAddressViewControllerDelegate +/// Called when the user cancels entering a shipping address. You should dismiss (or pop) the view controller at this point. +/// \param addressViewController the view controller that has been cancelled +/// +- (void)shippingAddressViewControllerDidCancel:(STPShippingAddressViewController * _Nonnull)addressViewController; +/// This is called when the user enters a shipping address and taps next. You +/// should validate the address and determine what shipping methods are available, +/// and call the completion block when finished. If an error occurrs, call +/// the completion block with the error. Otherwise, call the completion +/// block with a nil error and an array of available shipping methods. If you don’t +/// need to collect a shipping method, you may pass an empty array or nil. +/// \param addressViewController the view controller where the address was entered +/// +/// \param address the address that was entered. - seealso: STPAddress +/// +/// \param completion call this callback when you’re done validating the address and determining available shipping methods. +/// +- (void)shippingAddressViewController:(STPShippingAddressViewController * _Nonnull)addressViewController didEnterAddress:(STPAddress * _Nonnull)address completion:(void (^ _Nonnull)(enum STPShippingStatus, NSError * _Nullable, NSArray * _Nullable, PKShippingMethod * _Nullable))completion; +/// This is called when the user selects a shipping method. If no shipping methods are given, or if the shipping type doesn’t require a shipping method, this will be called after the user has a shipping address and your validation has succeeded. After updating your app with the user’s shipping info, you should dismiss (or pop) the view controller. Note that if shippingMethod is non-nil, there will be an additional shipping methods view controller on the navigation controller’s stack. +/// \param addressViewController the view controller where the address was entered +/// +/// \param address the address that was entered. - seealso: STPAddress +/// +/// \param method the shipping method that was selected. +/// +- (void)shippingAddressViewController:(STPShippingAddressViewController * _Nonnull)addressViewController didFinishWithAddress:(STPAddress * _Nonnull)address shippingMethod:(PKShippingMethod * _Nullable)method; +@end + +@class STPPaymentOptionsViewController; + +/// An STPPaymentOptionsViewControllerDelegate responds when a user selects a +/// payment option from (or cancels) an STPPaymentOptionsViewController. In both +/// of these instances, you should dismiss the view controller (either by popping +/// it off the navigation stack, or dismissing it). +SWIFT_PROTOCOL("_TtP6Stripe39STPPaymentOptionsViewControllerDelegate_") +@protocol STPPaymentOptionsViewControllerDelegate +/// This is called when the view controller encounters an error fetching the user’s +/// payment options from its API adapter. You should dismiss the view controller +/// when this is called. +/// \param paymentOptionsViewController the view controller in question +/// +/// \param error the error that occurred +/// +- (void)paymentOptionsViewController:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController didFailToLoadWithError:(NSError * _Nonnull)error; +/// This is called when the user selects or adds a payment method, so it will often +/// be called immediately after calling paymentOptionsViewController:didSelectPaymentOption:. +/// You should dismiss the view controller when this is called. +/// \param paymentOptionsViewController the view controller that has finished +/// +- (void)paymentOptionsViewControllerDidFinish:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController; +/// This is called when the user taps “cancel”. +/// You should dismiss the view controller when this is called. +/// \param paymentOptionsViewController the view controller that has finished +/// +- (void)paymentOptionsViewControllerDidCancel:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController; +@optional +/// This is called when the user either makes a selection, or adds a new card. +/// This will be triggered after the view controller loads with the user’s current +/// selection (if they have one) and then subsequently when they change their +/// choice. You should use this callback to update any necessary UI in your app +/// that displays the user’s currently selected payment method. You should not +/// dismiss the view controller at this point, instead do this in +/// paymentOptionsViewControllerDidFinish:. STPPaymentOptionsViewController +/// will also call the necessary methods on your API adapter, so you don’t need to +/// call them directly during this method. +/// \param paymentOptionsViewController the view controller in question +/// +/// \param paymentOption the selected payment method +/// +- (void)paymentOptionsViewController:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController didSelectPaymentOption:(id _Nonnull)paymentOption; +@end + +@protocol STPPaymentContextDelegate; +@class PKPaymentSummaryItem; + +/// An STPPaymentContext keeps track of all of the state around a payment. It will manage fetching a user’s saved payment methods, tracking any information they select, and prompting them for required additional information before completing their purchase. It can be used to power your application’s “payment confirmation” page with just a few lines of code. +/// STPPaymentContext also provides a unified interface to multiple payment methods - for example, you can write a single integration to accept both credit card payments and Apple Pay. +/// STPPaymentContext saves information about a user’s payment methods to a Stripe customer object, and requires an STPCustomerContext to manage retrieving and modifying the customer. +SWIFT_CLASS_NAMED("STPPaymentContext") +@interface STPPaymentContext : NSObject +/// This is a convenience initializer; it is equivalent to calling +/// init(customerContext:customerContext configuration:STPPaymentConfiguration.shared theme:STPTheme.defaultTheme. +/// \param customerContext The customer context the payment context will use to fetch +/// and modify its Stripe customer. - seealso: STPCustomerContext.h +/// +/// +/// returns: +/// the newly-instantiated payment context +- (nonnull instancetype)initWithCustomerContext:(STPCustomerContext * _Nonnull)customerContext; +/// Initializes a new Payment Context with the provided customer context, configuration, +/// and theme. After this class is initialized, you should also make sure to set its +/// delegate and hostViewController properties. +/// seealso: +/// STPPaymentConfiguration.h +///
    +///
  • +/// theme: The theme describing the visual appearance of all UI +/// that the payment context automatically creates for you. - seealso: STPTheme.h +///
  • +///
+/// \param customerContext The customer context the payment context will use to fetch +/// and modify its Stripe customer. - seealso: STPCustomerContext.h +/// +/// \param configuration The configuration for the payment context to use. This +/// lets you set your Stripe publishable API key, required billing address fields, etc. +/// +/// +/// returns: +/// the newly-instantiated payment context +- (nonnull instancetype)initWithCustomerContext:(STPCustomerContext * _Nonnull)customerContext configuration:(STPPaymentConfiguration * _Nonnull)configuration theme:(STPTheme * _Nonnull)theme; +/// Note: Instead of providing your own backend API adapter, we recommend using +/// STPCustomerContext, which will manage retrieving and updating a +/// Stripe customer for you. - seealso: STPCustomerContext.h +/// This is a convenience initializer; it is equivalent to calling +/// init(apiAdapter:apiAdapter configuration:STPPaymentConfiguration.shared theme:STPTheme.defaultTheme). +- (nonnull instancetype)initWithApiAdapter:(id _Nonnull)apiAdapter; +/// Note: Instead of providing your own backend API adapter, we recommend using +/// STPCustomerContext, which will manage retrieving and updating a +/// Stripe customer for you. - seealso: STPCustomerContext.h +/// Initializes a new Payment Context with the provided API adapter and configuration. +/// After this class is initialized, you should also make sure to set its delegate +/// and hostViewController properties. +/// seealso: +/// STPPaymentConfiguration.h +///
    +///
  • +/// theme: The theme describing the visual appearance of all UI that +/// the payment context automatically creates for you. - seealso: STPTheme.h +///
  • +///
+/// \param apiAdapter The API adapter the payment context will use to fetch and +/// modify its contents. You need to make a class conforming to this protocol that +/// talks to your server. - seealso: STPBackendAPIAdapter.h +/// +/// \param configuration The configuration for the payment context to use. This lets +/// you set your Stripe publishable API key, required billing address fields, etc. +/// +/// +/// returns: +/// the newly-instantiated payment context +- (nonnull instancetype)initWithApiAdapter:(id _Nonnull)apiAdapter configuration:(STPPaymentConfiguration * _Nonnull)configuration theme:(STPTheme * _Nonnull)theme OBJC_DESIGNATED_INITIALIZER; +/// Note: Instead of providing your own backend API adapter, we recommend using +/// STPCustomerContext, which will manage retrieving and updating a +/// Stripe customer for you. - seealso: STPCustomerContext.h +/// The API adapter the payment context will use to fetch and modify its contents. +/// You need to make a class conforming to this protocol that talks to your server. +/// seealso: +/// STPBackendAPIAdapter.h +@property (nonatomic, readonly, strong) id _Nonnull apiAdapter; +/// The configuration for the payment context to use internally. - seealso: STPPaymentConfiguration.h +@property (nonatomic, readonly, strong) STPPaymentConfiguration * _Nonnull configuration; +/// The visual appearance that will be used by any views that the context generates. - seealso: STPTheme.h +@property (nonatomic, readonly, strong) STPTheme * _Nonnull theme; +/// If you’ve already collected some information from your user, you can set it here and it’ll be automatically filled out when possible/appropriate in any UI that the payment context creates. +@property (nonatomic, strong) STPUserInformation * _Nullable prefilledInformation; +/// The view controller that any additional UI will be presented on. If you have a “checkout view controller” in your app, that should be used as the host view controller. +@property (nonatomic, weak) UIViewController * _Nullable hostViewController; +/// This delegate will be notified when the payment context’s contents change. - seealso: STPPaymentContextDelegate +@property (nonatomic, weak) id _Nullable delegate; +/// Whether or not the payment context is currently loading information from the network. +@property (nonatomic, readonly) BOOL loading; +/// @note This is no longer recommended as of v18.3.0 - the SDK automatically saves the Stripe ID of the last selected +/// payment method using NSUserDefaults and displays it as the default pre-selected option. You can override this behavior +/// by setting this property. +/// The Stripe ID of a payment method to display as the default pre-selected option. +/// @note Set this property immediately after initializing STPPaymentContext, or call retryLoading afterwards. +@property (nonatomic, copy) NSString * _Nullable defaultPaymentMethod; +/// The user’s currently selected payment option. May be nil. +@property (nonatomic, readonly, strong) id _Nullable selectedPaymentOption; +/// The available payment options the user can choose between. May be nil. +@property (nonatomic, readonly, copy) NSArray> * _Nullable paymentOptions; +/// The user’s currently selected shipping method. May be nil. +@property (nonatomic, readonly, strong) PKShippingMethod * _Nullable selectedShippingMethod; +/// An array of STPShippingMethod objects that describe the supported shipping methods. May be nil. +@property (nonatomic, readonly, copy) NSArray * _Nullable shippingMethods; +/// The user’s shipping address. May be nil. +/// If you’ve already collected a shipping address from your user, you may +/// prefill it by setting a shippingAddress in PaymentContext’s prefilledInformation. +/// When your user enters a new shipping address, PaymentContext will save it to +/// the current customer object. When PaymentContext loads, if you haven’t +/// manually set a prefilled value, any shipping information saved on the customer +/// will be used to prefill the shipping address form. Note that because your +/// customer’s email may not be the same as the email provided with their shipping +/// info, PaymentContext will not prefill the shipping form’s email using your +/// customer’s email. +/// You should not rely on the shipping information stored on the Stripe customer +/// for order fulfillment, as your user may change this information if they make +/// multiple purchases. We recommend adding shipping information when you create +/// a charge (which can also help prevent fraud), or saving it to your own +/// database. https://stripe.com/docs/api/payment_intents/create#create_payment_intent-shipping +/// Note: by default, your user will still be prompted to verify a prefilled +/// shipping address. To change this behavior, you can set +/// verifyPrefilledShippingAddress to NO in your STPPaymentConfiguration. +@property (nonatomic, readonly, strong) STPAddress * _Nullable shippingAddress; +/// The amount of money you’re requesting from the user, in the smallest currency +/// unit for the selected currency. For example, to indicate $10 USD, use 1000 +/// (i.e. 1000 cents). For more information, see https://stripe.com/docs/api/payment_intents/create#create_payment_intent-amount +/// @note This value must be present and greater than zero in order for Apple Pay +/// to be automatically enabled. +/// @note You should only set either this or paymentSummaryItems, not both. +/// The other will be automatically calculated on demand using your paymentCurrency. +@property (nonatomic) NSInteger paymentAmount; +/// The three-letter currency code for the currency of the payment (i.e. USD, GBP, +/// JPY, etc). Defaults to “USD”. +/// @note Changing this property may change the return value of paymentAmount +/// or paymentSummaryItems (whichever one you didn’t directly set yourself). +@property (nonatomic, copy) NSString * _Nonnull paymentCurrency; +/// The two-letter country code for the country where the payment will be processed. +/// You should set this to the country your Stripe account is in. Defaults to “US”. +/// @note Changing this property will change the countryCode of your Apple Pay +/// payment requests. +/// seealso: +/// PKPaymentRequest for more information. +@property (nonatomic, copy) NSString * _Nonnull paymentCountry; +/// If you support Apple Pay, you can optionally set the PKPaymentSummaryItems +/// you want to display here instead of using paymentAmount. Note that the +/// grand total (the amount of the last summary item) must be greater than zero. +/// If not set, a single summary item will be automatically generated using +/// paymentAmount and your configuration’s companyName. +/// seealso: +/// PKPaymentRequest for more information +/// @note You should only set either this or paymentAmount, not both. +/// The other will be automatically calculated on demand using your paymentCurrency. +@property (nonatomic, copy) NSArray * _Nonnull paymentSummaryItems; +/// The presentation style used for all view controllers presented modally by the context. +/// Since custom transition styles are not supported, you should set this to either +/// UIModalPresentationFullScreen, UIModalPresentationPageSheet, or UIModalPresentationFormSheet. +/// The default value is UIModalPresentationFullScreen. +@property (nonatomic) UIModalPresentationStyle modalPresentationStyle; +/// The mode to use when displaying the title of the navigation bar in all view +/// controllers presented by the context. The default value is automatic, +/// which causes the title to use the same styling as the previously displayed +/// navigation item (if the view controller is pushed onto the hostViewController). +/// If the prefersLargeTitles property of the hostViewController‘s navigation bar +/// is false, this property has no effect and the navigation item’s title is always +/// displayed as a small title. +/// If the view controller is presented modally, automatic and +/// never always result in a navigation bar with a small title. +@property (nonatomic) UINavigationItemLargeTitleDisplayMode largeTitleDisplayMode; +/// A view that will be placed as the footer of the payment options selection +/// view controller. +/// When the footer view needs to be resized, it will be sent a +/// sizeThatFits: call. The view should respond correctly to this method in order +/// to be sized and positioned properly. +@property (nonatomic, strong) UIView * _Nullable paymentOptionsViewControllerFooterView; +/// A view that will be placed as the footer of the add card view controller. +/// When the footer view needs to be resized, it will be sent a +/// sizeThatFits: call. The view should respond correctly to this method in order +/// to be sized and positioned properly. +@property (nonatomic, strong) UIView * _Nullable addCardViewControllerFooterView; +/// The STPAPIClient instance to use to make API requests. +/// Defaults to STPAPIClient.shared. +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +/// If paymentContext:didFailToLoadWithError: is called on your delegate, you +/// can in turn call this method to try loading again (if that hasn’t been called, +/// calling this will do nothing). If retrying in turn fails, paymentContext:didFailToLoadWithError: +/// will be called again (and you can again call this to keep retrying, etc). +- (void)retryLoading; +/// This creates, configures, and appropriately presents an STPPaymentOptionsViewController +/// on top of the payment context’s hostViewController. It’ll be dismissed automatically +/// when the user is done selecting their payment method. +/// @note This method will do nothing if it is called while STPPaymentContext is +/// already showing a view controller or in the middle of requesting a payment. +- (void)presentPaymentOptionsViewController; +/// This creates, configures, and appropriately pushes an STPPaymentOptionsViewController +/// onto the navigation stack of the context’s hostViewController. It’ll be popped +/// automatically when the user is done selecting their payment method. +/// @note This method will do nothing if it is called while STPPaymentContext is +/// already showing a view controller or in the middle of requesting a payment. +- (void)pushPaymentOptionsViewController; +/// This creates, configures, and appropriately presents a view controller for +/// collecting shipping address and shipping method on top of the payment context’s +/// hostViewController. It’ll be dismissed automatically when the user is done +/// entering their shipping info. +/// @note This method will do nothing if it is called while STPPaymentContext is +/// already showing a view controller or in the middle of requesting a payment. +- (void)presentShippingViewController; +/// This creates, configures, and appropriately pushes a view controller for +/// collecting shipping address and shipping method onto the navigation stack of +/// the context’s hostViewController. It’ll be popped automatically when the +/// user is done entering their shipping info. +/// @note This method will do nothing if it is called while STPPaymentContext is +/// already showing a view controller, or in the middle of requesting a payment. +- (void)pushShippingViewController; +/// Requests payment from the user. This may need to present some supplemental UI +/// to the user, in which case it will be presented on the payment context’s +/// hostViewController. For instance, if they’ve selected Apple Pay as their +/// payment method, calling this method will show the payment sheet. If the user +/// has a card on file, this will use that without presenting any additional UI. +/// After this is called, the paymentContext:didCreatePaymentResult:completion: +/// and paymentContext:didFinishWithStatus:error: methods will be called on the +/// context’s delegate. +/// @note This method will do nothing if it is called while STPPaymentContext is +/// already showing a view controller, or in the middle of requesting a payment. +- (void)requestPayment; +- (void)paymentOptionsViewController:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController didSelectPaymentOption:(id _Nonnull)paymentOption; +- (void)paymentOptionsViewControllerDidFinish:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController; +- (void)paymentOptionsViewControllerDidCancel:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController; +- (void)paymentOptionsViewController:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController didFailToLoadWithError:(NSError * _Nonnull)error; +- (void)shippingAddressViewControllerDidCancel:(STPShippingAddressViewController * _Nonnull)addressViewController; +- (void)shippingAddressViewController:(STPShippingAddressViewController * _Nonnull)addressViewController didEnterAddress:(STPAddress * _Nonnull)address completion:(void (^ _Nonnull)(enum STPShippingStatus, NSError * _Nullable, NSArray * _Nullable, PKShippingMethod * _Nullable))completion; +- (void)shippingAddressViewController:(STPShippingAddressViewController * _Nonnull)addressViewController didFinishWithAddress:(STPAddress * _Nonnull)address shippingMethod:(PKShippingMethod * _Nullable)method; +- (UIViewController * _Nonnull)authenticationPresentingViewController SWIFT_WARN_UNUSED_RESULT; +- (void)prepareAuthenticationContextForPresentation:(void (^ _Nonnull)(void))completion; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@class STPPaymentResult; + +/// Implement STPPaymentContextDelegate to get notified when a payment context changes, finishes, encounters errors, etc. In practice, if your app has a “checkout screen view controller”, that is a good candidate to implement this protocol. +SWIFT_PROTOCOL("_TtP6Stripe25STPPaymentContextDelegate_") +@protocol STPPaymentContextDelegate +/// Called when the payment context encounters an error when fetching its initial set of data. A few ways to handle this are: +///
    +///
  • +/// If you’re showing the user a checkout page, dismiss the checkout page when this is called and present the error to the user. +///
  • +///
  • +/// Present the error to the user using a UIAlertController with two buttons: Retry and Cancel. If they cancel, dismiss your UI. If they Retry, call retryLoading on the payment context. +/// To make it harder to get your UI into a bad state, this won’t be called until the context’s hostViewController has finished appearing. +///
  • +///
+/// \param paymentContext the payment context that encountered the error +/// +/// \param error the error that was encountered +/// +- (void)paymentContext:(STPPaymentContext * _Nonnull)paymentContext didFailToLoadWithError:(NSError * _Nonnull)error; +/// This is called every time the contents of the payment context change. When this is called, you should update your app’s UI to reflect the current state of the payment context. For example, if you have a checkout page with a “selected payment method” row, you should update its payment method with paymentContext.selectedPaymentOption.label. If that checkout page has a “buy” button, you should enable/disable it depending on the result of paymentContext.isReadyForPayment. +/// \param paymentContext the payment context that changed +/// +- (void)paymentContextDidChange:(STPPaymentContext * _Nonnull)paymentContext; +/// Inside this method, you should make a call to your backend API to make a PaymentIntent with that Customer + payment method, and invoke the completion block when that is done. +/// \param paymentContext The context that succeeded +/// +/// \param paymentResult Information associated with the payment that you can pass to your server. You should go to your backend API with this payment result and use the PaymentIntent API to complete the payment. See https://stripe.com/docs/mobile/ios/standard#submit-payment-intents. Once that’s done call the completion block with any error that occurred (or none, if the payment succeeded). - seealso: STPPaymentResult.h +/// +/// \param completion Call this block when you’re done creating a payment intent (or subscription, etc) on your backend. If it succeeded, call completion(STPPaymentStatusSuccess, nil). If it failed with an error, call completion(STPPaymentStatusError, error). If the user canceled, call completion(STPPaymentStatusUserCancellation, nil). +/// +- (void)paymentContext:(STPPaymentContext * _Nonnull)paymentContext didCreatePaymentResult:(STPPaymentResult * _Nonnull)paymentResult completion:(void (^ _Nonnull)(enum STPPaymentStatus, NSError * _Nullable))completion; +/// This is invoked by an STPPaymentContext when it is finished. This will be called after the payment is done and all necessary UI has been dismissed. You should inspect the returned status and behave appropriately. For example: if it’s STPPaymentStatusSuccess, show the user a receipt. If it’s STPPaymentStatusError, inform the user of the error. If it’s STPPaymentStatusUserCancellation, do nothing. +/// \param paymentContext The payment context that finished +/// +/// \param status The status of the payment - STPPaymentStatusSuccess if it succeeded, STPPaymentStatusError if it failed with an error (in which case the error parameter will be non-nil), STPPaymentStatusUserCancellation if the user canceled the payment. +/// +/// \param error An error that occurred, if any. +/// +- (void)paymentContext:(STPPaymentContext * _Nonnull)paymentContext didFinishWith:(enum STPPaymentStatus)status error:(NSError * _Nullable)error; +@optional +/// Inside this method, you should verify that you can ship to the given address. +/// You should call the completion block with the results of your validation +/// and the available shipping methods for the given address. If you don’t implement +/// this method, the user won’t be prompted to select a shipping method and all +/// addresses will be valid. If you call the completion block with nil or an +/// empty array of shipping methods, the user won’t be prompted to select a +/// shipping method. +/// @note If a user updates their shipping address within the Apple Pay dialog, +/// this address will be anonymized. For example, in the US, it will only include the +/// city, state, and zip code. The payment context will have the user’s complete +/// shipping address by the time paymentContext:didFinishWithStatus:error is +/// called. +/// \param paymentContext The context that updated its shipping address +/// +/// \param address The current shipping address +/// +/// \param completion Call this block when you’re done validating the shipping +/// address and calculating available shipping methods. If you call the completion +/// block with nil or an empty array of shipping methods, the user won’t be prompted +/// to select a shipping method. +/// +- (void)paymentContext:(STPPaymentContext * _Nonnull)paymentContext didUpdateShippingAddress:(STPAddress * _Nonnull)address completion:(void (^ _Nonnull)(enum STPShippingStatus, NSError * _Nullable, NSArray * _Nullable, PKShippingMethod * _Nullable))completion; +@end + +@class STPThreeDSCustomizationSettings; +@class STPPaymentIntentParams; +enum STPPaymentHandlerActionStatus : NSInteger; +@class STPPaymentIntent; +@class STPSetupIntentConfirmParams; +@class STPSetupIntent; + +/// STPPaymentHandler is a utility class that confirms PaymentIntents/SetupIntents and handles any authentication required, such as 3DS1/3DS2 for Strong Customer Authentication. +/// It can present authentication UI on top of your app or redirect users out of your app (to e.g. their banking app). +/// seealso: +/// https://stripe.com/docs/mobile/ios/authentication +SWIFT_CLASS("_TtC6Stripe17STPPaymentHandler") SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable) SWIFT_AVAILABILITY(ios_app_extension,unavailable) +@interface STPPaymentHandler : NSObject +/// The error domain for errors in STPPaymentHandler. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull errorDomain;) ++ (NSString * _Nonnull)errorDomain SWIFT_WARN_UNUSED_RESULT; +/// The globally shared instance of STPPaymentHandler. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPPaymentHandler * _Nonnull sharedHandler;) ++ (STPPaymentHandler * _Nonnull)sharedHandler SWIFT_WARN_UNUSED_RESULT; +/// The globally shared instance of STPPaymentHandler. ++ (STPPaymentHandler * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; +/// By default sharedHandler initializes with STPAPIClient.shared. +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +/// Customizable settings to use when performing 3DS2 authentication. +/// Note: Configure this before calling any methods. +/// Defaults to STPThreeDSCustomizationSettings(). +@property (nonatomic, strong) STPThreeDSCustomizationSettings * _Nonnull threeDSCustomizationSettings; +/// When this flag is enabled, STPPaymentHandler will confirm certain PaymentMethods using +/// Safari instead of SFSafariViewController. If you’d like to use this in your own +/// testing or Continuous Integration platform, please see the IntegrationTester app +/// for usage examples. +/// Note: This flag is only intended for development, and only impacts payments made with testmode keys. +/// Setting this to true with a livemode key will fail. +@property (nonatomic) BOOL simulateAppToAppRedirect; +/// Confirms the PaymentIntent with the provided parameters and handles any nextAction required +/// to authenticate the PaymentIntent. +/// Call this method if you are using automatic confirmation. - seealso: https://stripe.com/docs/payments/payment-intents/ios +/// \param paymentParams The params used to confirm the PaymentIntent. Note that this method overrides the value of paymentParams.useStripeSDK to @YES. +/// +/// \param authenticationContext The authentication context used to authenticate the payment. +/// +/// \param completion The completion block. If the status returned is STPPaymentHandlerActionStatusSucceeded, the PaymentIntent status is not necessarily STPPaymentIntentStatusSucceeded (e.g. some bank payment methods take days before the PaymentIntent succeeds). +/// +- (void)confirmPayment:(STPPaymentIntentParams * _Nonnull)paymentParams withAuthenticationContext:(id _Nonnull)authenticationContext completion:(void (^ _Nonnull)(enum STPPaymentHandlerActionStatus, STPPaymentIntent * _Nullable, NSError * _Nullable))completion; +/// Handles any nextAction required to authenticate the PaymentIntent. +/// Call this method if you are using manual confirmation. - seealso: https://stripe.com/docs/payments/payment-intents/ios +/// \param paymentIntentClientSecret The client secret of the PaymentIntent to handle next actions for. +/// +/// \param authenticationContext The authentication context used to authenticate the payment. +/// +/// \param returnURL An optional URL to redirect your customer back to after they authenticate or cancel in a webview. This should match the returnURL you specified during PaymentIntent confirmation. +/// +/// \param completion The completion block. If the status returned is STPPaymentHandlerActionStatusSucceeded, the PaymentIntent status will always be either STPPaymentIntentStatusSucceeded, or STPPaymentIntentStatusRequiresConfirmation, or STPPaymentIntentStatusRequiresCapture if you are using manual capture. In the latter two cases, confirm or capture the PaymentIntent on your backend to complete the payment. +/// +- (void)handleNextActionForPayment:(NSString * _Nonnull)paymentIntentClientSecret withAuthenticationContext:(id _Nonnull)authenticationContext returnURL:(NSString * _Nullable)returnURL completion:(void (^ _Nonnull)(enum STPPaymentHandlerActionStatus, STPPaymentIntent * _Nullable, NSError * _Nullable))completion; +/// Confirms the SetupIntent with the provided parameters and handles any nextAction required +/// to authenticate the SetupIntent. +/// seealso: +/// https://stripe.com/docs/payments/cards/saving-cards#saving-card-without-payment +/// \param setupIntentConfirmParams The params used to confirm the SetupIntent. Note that this method overrides the value of setupIntentConfirmParams.useStripeSDK to @YES. +/// +/// \param authenticationContext The authentication context used to authenticate the SetupIntent. +/// +/// \param completion The completion block. If the status returned is STPPaymentHandlerActionStatusSucceeded, the SetupIntent status will always be STPSetupIntentStatusSucceeded. +/// +- (void)confirmSetupIntent:(STPSetupIntentConfirmParams * _Nonnull)setupIntentConfirmParams withAuthenticationContext:(id _Nonnull)authenticationContext completion:(void (^ _Nonnull)(enum STPPaymentHandlerActionStatus, STPSetupIntent * _Nullable, NSError * _Nullable))completion; +/// Handles any nextAction required to authenticate the SetupIntent. +/// Call this method if you are confirming the SetupIntent on your backend and get a status of requires_action. +/// \param setupIntentClientSecret The client secret of the SetupIntent to handle next actions for. +/// +/// \param authenticationContext The authentication context used to authenticate the SetupIntent. +/// +/// \param returnURL An optional URL to redirect your customer back to after they authenticate or cancel in a webview. This should match the returnURL you specified during SetupIntent confirmation. +/// +/// \param completion The completion block. If the status returned is STPPaymentHandlerActionStatusSucceeded, the SetupIntent status will always be STPSetupIntentStatusSucceeded. +/// +- (void)handleNextActionForSetupIntent:(NSString * _Nonnull)setupIntentClientSecret withAuthenticationContext:(id _Nonnull)authenticationContext returnURL:(NSString * _Nullable)returnURL completion:(void (^ _Nonnull)(enum STPPaymentHandlerActionStatus, STPSetupIntent * _Nullable, NSError * _Nullable))completion; +/// :nodoc: +- (void)safariViewControllerDidFinish:(SFSafariViewController * _Nonnull)controller; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable) SWIFT_AVAILABILITY(ios_app_extension,unavailable) +@interface STPPaymentHandler (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (BOOL)handleURLCallback:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; +@end + + +/// STPPaymentHandlerActionStatus represents the possible outcomes of requesting an action by STPPaymentHandler. An action could be confirming and/or handling the next action for a PaymentIntent. +typedef SWIFT_ENUM(NSInteger, STPPaymentHandlerActionStatus, open) { +/// The action succeeded. + STPPaymentHandlerActionStatusSucceeded = 0, +/// The action was cancelled by the cardholder/user. + STPPaymentHandlerActionStatusCanceled = 1, +/// The action failed. See the error code for more details. + STPPaymentHandlerActionStatusFailed = 2, +}; + +/// Error codes generated by STPPaymentHandler +typedef SWIFT_ENUM(NSInteger, STPPaymentHandlerErrorCode, open) { +/// Indicates that the action requires an authentication method not recognized or supported by the SDK. + STPPaymentHandlerUnsupportedAuthenticationErrorCode SWIFT_COMPILE_NAME("unsupportedAuthenticationErrorCode") = 0, +/// Indicates that the action requires an authentication app, but either the app is not installed or the request to switch to the app was denied. + STPPaymentHandlerRequiredAppNotAvailableErrorCode SWIFT_COMPILE_NAME("requiredAppNotAvailable") = 1, +/// Attach a payment method to the PaymentIntent or SetupIntent before using STPPaymentHandler. + STPPaymentHandlerRequiresPaymentMethodErrorCode SWIFT_COMPILE_NAME("requiresPaymentMethodErrorCode") = 2, +/// The PaymentIntent or SetupIntent status cannot be resolved by STPPaymentHandler. + STPPaymentHandlerIntentStatusErrorCode SWIFT_COMPILE_NAME("intentStatusErrorCode") = 3, +/// The action timed out. + STPPaymentHandlerTimedOutErrorCode SWIFT_COMPILE_NAME("timedOutErrorCode") = 4, +/// There was an error in the Stripe3DS2 SDK. + STPPaymentHandlerStripe3DS2ErrorCode SWIFT_COMPILE_NAME("stripe3DS2ErrorCode") = 5, +/// The transaction did not authenticate (e.g. user entered the wrong code). + STPPaymentHandlerNotAuthenticatedErrorCode SWIFT_COMPILE_NAME("notAuthenticatedErrorCode") = 6, +/// STPPaymentHandler does not support concurrent actions. + STPPaymentHandlerNoConcurrentActionsErrorCode SWIFT_COMPILE_NAME("noConcurrentActionsErrorCode") = 7, +/// Payment requires a valid STPAuthenticationContext. Make sure your presentingViewController isn’t already presenting. + STPPaymentHandlerRequiresAuthenticationContextErrorCode SWIFT_COMPILE_NAME("requiresAuthenticationContextErrorCode") = 8, +/// There was an error confirming the Intent. +/// Inspect the paymentIntent.lastPaymentError or setupIntent.lastSetupError property. + STPPaymentHandlerPaymentErrorCode SWIFT_COMPILE_NAME("paymentErrorCode") = 9, +/// The provided PaymentIntent of SetupIntent client secret does not match the expected pattern for client secrets. +/// Make sure that your server is returning the correct value and that is being passed to STPPaymentHandler. + STPPaymentHandlerInvalidClientSecret SWIFT_COMPILE_NAME("invalidClientSecret") = 10, +}; + +enum STPPaymentIntentCaptureMethod : NSInteger; +enum STPPaymentIntentConfirmationMethod : NSInteger; +enum STPPaymentIntentStatus : NSInteger; +enum STPPaymentIntentSetupFutureUsage : NSInteger; +@class STPPaymentIntentLastPaymentError; +@class STPPaymentIntentShippingDetails; + +/// A PaymentIntent tracks the process of collecting a payment from your customer. +/// seealso: +/// https://stripe.com/docs/api#payment_intents +/// seealso: +/// https://stripe.com/docs/payments/dynamic-authentication +SWIFT_CLASS("_TtC6Stripe16STPPaymentIntent") +@interface STPPaymentIntent : NSObject +/// The Stripe ID of the PaymentIntent. +@property (nonatomic, readonly, copy) NSString * _Nonnull stripeId; +/// The client secret used to fetch this PaymentIntent +@property (nonatomic, readonly, copy) NSString * _Nonnull clientSecret; +/// Amount intended to be collected by this PaymentIntent. +@property (nonatomic, readonly) NSInteger amount; +/// If status is .canceled, when the PaymentIntent was canceled. +@property (nonatomic, readonly, copy) NSDate * _Nullable canceledAt; +/// Capture method of this PaymentIntent +@property (nonatomic, readonly) enum STPPaymentIntentCaptureMethod captureMethod; +/// Confirmation method of this PaymentIntent +@property (nonatomic, readonly) enum STPPaymentIntentConfirmationMethod confirmationMethod; +/// When the PaymentIntent was created. +@property (nonatomic, readonly, copy) NSDate * _Nonnull created; +/// The currency associated with the PaymentIntent. +@property (nonatomic, readonly, copy) NSString * _Nonnull currency; +/// The description field of the PaymentIntent. +/// An arbitrary string attached to the object. Often useful for displaying to users. +@property (nonatomic, readonly, copy) NSString * _Nullable stripeDescription; +/// Whether or not this PaymentIntent was created in livemode. +@property (nonatomic, readonly) BOOL livemode; +/// If status == .requiresAction, this +/// property contains the next action to take for this PaymentIntent. +@property (nonatomic, readonly, strong) STPIntentAction * _Nullable nextAction; +/// Email address that the receipt for the resulting payment will be sent to. +@property (nonatomic, readonly, copy) NSString * _Nullable receiptEmail; +/// The Stripe ID of the Source used in this PaymentIntent. +@property (nonatomic, readonly, copy) NSString * _Nullable sourceId; +/// The Stripe ID of the PaymentMethod used in this PaymentIntent. +@property (nonatomic, readonly, copy) NSString * _Nullable paymentMethodId; +/// Status of the PaymentIntent +@property (nonatomic, readonly) enum STPPaymentIntentStatus status; +/// The list of payment method types (e.g. [NSNumber(value: STPPaymentMethodType.card.rawValue)]) that this PaymentIntent is allowed to use. +@property (nonatomic, readonly, copy) NSArray * _Nonnull paymentMethodTypes; +/// When provided, this property indicates how you intend to use the payment method that your customer provides after the current payment completes. If applicable, additional authentication may be performed to comply with regional legislation or network rules required to enable the usage of the same payment method for additional payments. +/// Use on_session if you intend to only reuse the payment method when the customer is in your checkout flow. Use off_session if your customer may or may not be in your checkout flow. +@property (nonatomic, readonly) enum STPPaymentIntentSetupFutureUsage setupFutureUsage; +/// The payment error encountered in the previous PaymentIntent confirmation. +@property (nonatomic, readonly, strong) STPPaymentIntentLastPaymentError * _Nullable lastPaymentError; +/// Shipping information for this PaymentIntent. +@property (nonatomic, readonly, strong) STPPaymentIntentShippingDetails * _Nullable shipping; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +@interface STPPaymentIntent (SWIFT_EXTENSION(Stripe)) +/// If status == STPPaymentIntentStatusRequiresAction, this +/// property contains the next source action to take for this PaymentIntent. +/// @deprecated Use nextAction instead +@property (nonatomic, readonly, strong) STPIntentAction * _Nullable nextSourceAction SWIFT_DEPRECATED_MSG("Use nextAction instead", "nextAction"); +@end + + +@interface STPPaymentIntent (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Action details for an STPPaymentIntent. This is a container for +/// the various types that are available. Check the type to see which one +/// it is, and then use the related property for the details necessary to handle it. +/// @deprecated Use STPIntentAction instead. +SWIFT_CLASS("_TtC6Stripe22STPPaymentIntentAction") SWIFT_DEPRECATED_MSG("Use `STPIntentAction` instead.", "_TtC6Stripe15STPIntentAction") +@interface STPPaymentIntentAction : STPIntentAction +@end + + +/// Contains instructions for authenticating a payment by redirecting your customer to another page or application. +/// @deprecated Use STPIntentActionRedirectToURL instead. +SWIFT_CLASS("_TtC6Stripe35STPPaymentIntentActionRedirectToURL") SWIFT_UNAVAILABLE_MSG("'STPPaymentIntentActionRedirectToURL' has been renamed to '_TtC6Stripe28STPIntentActionRedirectToURL': Use `STPIntentActionRedirectToURL` instead.") +@interface STPPaymentIntentActionRedirectToURL : STPIntentActionRedirectToURL +@end + +/// Types of Actions from a STPPaymentIntent, when the payment intent +/// status is STPPaymentIntentStatusRequiresAction. +typedef SWIFT_ENUM(NSInteger, STPPaymentIntentActionType, open) { +/// This is an unknown action, that’s been added since the SDK +/// was last updated. +/// Update your SDK, or use the nextAction.allResponseFields +/// for custom handling. + STPPaymentIntentActionTypeUnknown = 0, +/// The payment intent needs to be authorized by the user. We provide +/// STPRedirectContext to handle the url redirections necessary. + STPPaymentIntentActionTypeRedirectToURL = 1, +}; + +/// Capture methods for a STPPaymentIntent +typedef SWIFT_ENUM(NSInteger, STPPaymentIntentCaptureMethod, open) { +/// Unknown capture method + STPPaymentIntentCaptureMethodUnknown = 0, +/// The PaymentIntent will be automatically captured + STPPaymentIntentCaptureMethodAutomatic = 1, +/// The PaymentIntent must be manually captured once it has the status +/// STPPaymentIntentStatusRequiresCapture + STPPaymentIntentCaptureMethodManual = 2, +}; + +/// Confirmation methods for a STPPaymentIntent +typedef SWIFT_ENUM(NSInteger, STPPaymentIntentConfirmationMethod, open) { +/// Unknown confirmation method + STPPaymentIntentConfirmationMethodUnknown = 0, +/// Confirmed via publishable key + STPPaymentIntentConfirmationMethodManual = 1, +/// Confirmed via secret key + STPPaymentIntentConfirmationMethodAutomatic = 2, +}; + +enum STPPaymentIntentLastPaymentErrorType : NSInteger; + +/// A value for code indicating the provided payment method failed authentication./// The payment error encountered in the previous PaymentIntent confirmation. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/object#payment_intent_object-last_payment_error +SWIFT_CLASS("_TtC6Stripe32STPPaymentIntentLastPaymentError") +@interface STPPaymentIntentLastPaymentError : NSObject +/// A value for code indicating the provided payment method failed authentication. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull ErrorCodeAuthenticationFailure;) ++ (NSString * _Nonnull)ErrorCodeAuthenticationFailure SWIFT_WARN_UNUSED_RESULT; +/// For some errors that could be handled programmatically, a short string indicating the error code reported. +/// seealso: +/// https://stripe.com/docs/error-codes +@property (nonatomic, readonly, copy) NSString * _Nullable code; +/// For card (STPPaymentIntentLastPaymentErrorType.card) errors resulting from a card issuer decline, +/// a short string indicating the card issuer’s reason for the decline if they provide one. +/// seealso: +/// https://stripe.com/docs/declines#issuer-declines +@property (nonatomic, readonly, copy) NSString * _Nullable declineCode; +/// A URL to more information about the error code reported. +/// seealso: +/// https://stripe.com/docs/error-codes +@property (nonatomic, readonly, copy) NSString * _Nullable docURL; +/// A human-readable message providing more details about the error. +/// For card (STPPaymentIntentLastPaymentErrorType.card) errors, these messages can be shown to your users. +@property (nonatomic, readonly, copy) NSString * _Nullable message; +/// If the error is parameter-specific, the parameter related to the error. +/// For example, you can use this to display a message near the correct form field. +@property (nonatomic, readonly, copy) NSString * _Nullable param; +/// The PaymentMethod object for errors returned on a request involving a PaymentMethod. +@property (nonatomic, readonly, strong) STPPaymentMethod * _Nullable paymentMethod; +/// The type of error. +@property (nonatomic, readonly) enum STPPaymentIntentLastPaymentErrorType type; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPPaymentIntentLastPaymentError (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// The type of the error represented by STPPaymentIntentLastPaymentError. +/// Some STPPaymentIntentLastPaymentError properties are only populated for certain error types. +typedef SWIFT_ENUM(NSInteger, STPPaymentIntentLastPaymentErrorType, open) { +/// An unknown error type. + STPPaymentIntentLastPaymentErrorTypeUnknown = 0, +/// An error connecting to Stripe’s API. + STPPaymentIntentLastPaymentErrorTypeAPIConnection SWIFT_COMPILE_NAME("apiConnection") = 1, +/// An error with the Stripe API. + STPPaymentIntentLastPaymentErrorTypeAPI SWIFT_COMPILE_NAME("api") = 2, +/// A failure to authenticate your customer. + STPPaymentIntentLastPaymentErrorTypeAuthentication = 3, +/// Card errors are the most common type of error you should expect to handle. +/// They result when the user enters a card that can’t be charged for some reason. +/// Check the declineCode property for the decline code. The message property contains a message you can show to your users. + STPPaymentIntentLastPaymentErrorTypeCard = 4, +/// Keys for idempotent requests can only be used with the same parameters they were first used with. + STPPaymentIntentLastPaymentErrorTypeIdempotency = 5, +/// Invalid request errors. Typically, this is because your request has invalid parameters. + STPPaymentIntentLastPaymentErrorTypeInvalidRequest = 6, +/// Too many requests hit the API too quickly. + STPPaymentIntentLastPaymentErrorTypeRateLimit = 7, +}; + +@class STPSourceParams; +@class STPPaymentIntentShippingDetailsParams; + +/// An object representing parameters used to confirm a PaymentIntent object. +/// A PaymentIntent must have a PaymentMethod or Source associated in order to successfully confirm it. +/// That PaymentMethod or Source can either be: +/// seealso: +/// https://stripe.com/docs/api#confirm_payment_intent +///
    +///
  • +/// created during confirmation, by passing in a STPPaymentMethodParams or STPSourceParams object in the paymentMethodParams or sourceParams field +///
  • +///
  • +/// a pre-existing PaymentMethod or Source can be associated by passing its id in the paymentMethodId or sourceId field +///
  • +///
  • +/// or already set via your backend, either when creating or updating the PaymentIntent +///
  • +///
+SWIFT_CLASS("_TtC6Stripe22STPPaymentIntentParams") +@interface STPPaymentIntentParams : NSObject +/// Initialize this STPPaymentIntentParams with a clientSecret, which is the only required +/// field. +/// \param clientSecret the client secret for this PaymentIntent +/// +- (nonnull instancetype)initWithClientSecret:(NSString * _Nonnull)clientSecret OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// The Stripe id of the PaymentIntent, extracted from the clientSecret. +@property (nonatomic, readonly, copy) NSString * _Nullable stripeId; +/// The client secret of the PaymentIntent. Required +@property (nonatomic, copy) NSString * _Nonnull clientSecret; +/// Provide a supported STPPaymentMethodParams object, and Stripe will create a +/// PaymentMethod during PaymentIntent confirmation. +/// @note alternative to paymentMethodId +@property (nonatomic, strong) STPPaymentMethodParams * _Nullable paymentMethodParams; +/// Provide an already created PaymentMethod’s id, and it will be used to confirm the PaymentIntent. +/// @note alternative to paymentMethodParams +@property (nonatomic, copy) NSString * _Nullable paymentMethodId; +/// Provide a supported STPSourceParams object into here, and Stripe will create a Source +/// during PaymentIntent confirmation. +/// @note alternative to sourceId +@property (nonatomic, strong) STPSourceParams * _Nullable sourceParams; +/// Provide an already created Source’s id, and it will be used to confirm the PaymentIntent. +/// @note alternative to sourceParams +@property (nonatomic, copy) NSString * _Nullable sourceId; +/// Email address that the receipt for the resulting payment will be sent to. +@property (nonatomic, copy) NSString * _Nullable receiptEmail; +/// @YES to save this PaymentIntent’s PaymentMethod or Source to the associated Customer, +/// if the PaymentMethod/Source is not already attached. +/// This should be a boolean NSNumber, so that it can be nil +@property (nonatomic, strong) NSNumber * _Nullable savePaymentMethod; +/// The URL to redirect your customer back to after they authenticate or cancel +/// their payment on the payment method’s app or site. +/// This should probably be a URL that opens your iOS app. +@property (nonatomic, copy) NSString * _Nullable returnURL; +/// When provided, this property indicates how you intend to use the payment method that your customer provides after the current payment completes. +/// If applicable, additional authentication may be performed to comply with regional legislation or network rules required to enable the usage of the same payment method for additional payments. +/// This property should only be used in Objective-C. In Swift, use setupFutureUsage. +/// seealso: +/// STPPaymentIntentSetupFutureUsage for more details on what values you can provide. +@property (nonatomic, strong) NSNumber * _Nullable setupFutureUsage; +/// A boolean number to indicate whether you intend to use the Stripe SDK’s functionality to handle any PaymentIntent next actions. +/// If set to false, STPPaymentIntent.nextAction will only ever contain a redirect url that can be opened in a webview or mobile browser. +/// When set to true, the nextAction may contain information that the Stripe SDK can use to perform native authentication within your +/// app. +@property (nonatomic, strong) NSNumber * _Nullable useStripeSDK; +/// Details about the Mandate to create. +/// @note If this value is null and the (self.paymentMethod.type == STPPaymentMethodTypeSEPADebit | | self.paymentMethodParams.type == STPPaymentMethodTypeAUBECSDebit || self.paymentMethodParams.type == STPPaymentMethodTypeBacsDebit) && self.mandate == nil`, the SDK will set this to an internal value indicating that the mandate data should be inferred from the current context. +@property (nonatomic, strong) STPMandateDataParams * _Nullable mandateData; +/// Options to update the associated PaymentMethod during confirmation. +/// seealso: +/// STPConfirmPaymentMethodOptions +@property (nonatomic, strong) STPConfirmPaymentMethodOptions * _Nullable paymentMethodOptions; +/// Shipping information. +@property (nonatomic, strong) STPPaymentIntentShippingDetailsParams * _Nullable shipping; +/// The URL to redirect your customer back to after they authenticate or cancel +/// their payment on the payment method’s app or site. +/// This property has been renamed to returnURL and deprecated. +@property (nonatomic, copy) NSString * _Nullable returnUrl SWIFT_DEPRECATED_MSG("", "returnURL"); +/// @YES to save this PaymentIntent’s Source to the associated Customer, +/// if the Source is not already attached. +/// This should be a boolean NSNumber, so that it can be nil +/// This property has been renamed to savePaymentMethod and deprecated. +@property (nonatomic, strong) NSNumber * _Nullable saveSourceToCustomer SWIFT_DEPRECATED_MSG("", "savePaymentMethod"); +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Provide an STPPaymentResult from STPPaymentContext, and this will populate +/// the proper field (either paymentMethodId or paymentMethodParams) for your PaymentMethod. +- (void)configureWith:(STPPaymentResult * _Nonnull)paymentResult; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +@end + + +@interface STPPaymentIntentParams (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface STPPaymentIntentParams (SWIFT_EXTENSION(Stripe)) ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +@end + +/// Indicates how you intend to use the payment method that your customer provides after the current payment completes. +/// If applicable, additional authentication may be performed to comply with regional legislation or network rules required to enable the usage of the same payment method for additional payments. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/object#payment_intent_object-setup_future_usage +typedef SWIFT_ENUM(NSInteger, STPPaymentIntentSetupFutureUsage, open) { +/// Unknown value. Update your SDK, or use allResponseFields for custom handling. + STPPaymentIntentSetupFutureUsageUnknown = 0, +/// No value was provided. + STPPaymentIntentSetupFutureUsageNone = 1, +/// Indicates you intend to only reuse the payment method when the customer is in your checkout flow. + STPPaymentIntentSetupFutureUsageOnSession = 2, +/// Indicates you intend to reuse the payment method when the customer may or may not be in your checkout flow. + STPPaymentIntentSetupFutureUsageOffSession = 3, +}; + +@class STPPaymentIntentShippingDetailsAddress; + +/// Shipping information for a PaymentIntent +/// You cannot directly instantiate an STPPaymentIntentShippingDetails. +/// You should only use one that is part of an existing STPPaymentMethod object. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/object#payment_intent_object-shipping +SWIFT_CLASS("_TtC6Stripe31STPPaymentIntentShippingDetails") +@interface STPPaymentIntentShippingDetails : NSObject +/// Shipping address. +@property (nonatomic, readonly, strong) STPPaymentIntentShippingDetailsAddress * _Nullable address; +/// Recipient name. +@property (nonatomic, readonly, copy) NSString * _Nullable name; +/// The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc. +@property (nonatomic, readonly, copy) NSString * _Nullable carrier; +/// Recipient phone (including extension). +@property (nonatomic, readonly, copy) NSString * _Nullable phone; +/// The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas. +@property (nonatomic, readonly, copy) NSString * _Nullable trackingNumber; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPPaymentIntentShippingDetails (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Shipping address for a PaymentIntent’s shipping details. +/// You cannot directly instantiate an STPPaymentIntentShippingDetailsAddress. +/// You should only use one that is part of an existing STPPaymentMethod object. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/object#payment_intent_object-shipping +SWIFT_CLASS("_TtC6Stripe38STPPaymentIntentShippingDetailsAddress") +@interface STPPaymentIntentShippingDetailsAddress : NSObject +/// City/District/Suburb/Town/Village. +@property (nonatomic, readonly, copy) NSString * _Nullable city; +/// Two-letter country code (ISO 3166-1 alpha-2). +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// Address line 1 (Street address/PO Box/Company name). +@property (nonatomic, readonly, copy) NSString * _Nullable line1; +/// Address line 2 (Apartment/Suite/Unit/Building). +@property (nonatomic, readonly, copy) NSString * _Nullable line2; +/// ZIP or postal code. +@property (nonatomic, readonly, copy) NSString * _Nullable postalCode; +/// State/County/Province/Region. +@property (nonatomic, readonly, copy) NSString * _Nullable state; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPPaymentIntentShippingDetailsAddress (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Shipping address for a PaymentIntent’s shipping details. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-shipping-address +SWIFT_CLASS("_TtC6Stripe44STPPaymentIntentShippingDetailsAddressParams") +@interface STPPaymentIntentShippingDetailsAddressParams : NSObject +/// City/District/Suburb/Town/Village. +@property (nonatomic, copy) NSString * _Nullable city; +/// Two-letter country code (ISO 3166-1 alpha-2). +@property (nonatomic, copy) NSString * _Nullable country; +/// Address line 1 (Street address/PO Box/Company name). +@property (nonatomic, copy) NSString * _Nonnull line1; +/// Address line 2 (Apartment/Suite/Unit/Building). +@property (nonatomic, copy) NSString * _Nullable line2; +/// ZIP or postal code. +@property (nonatomic, copy) NSString * _Nullable postalCode; +/// State/County/Province/Region. +@property (nonatomic, copy) NSString * _Nullable state; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initialize an STPPaymentIntentShippingDetailsAddressParams instance with required properties. +- (nonnull instancetype)initWithLine1:(NSString * _Nonnull)line1 OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPPaymentIntentShippingDetailsAddressParams (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface STPPaymentIntentShippingDetailsAddressParams (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Shipping information for a PaymentIntent +/// seealso: +/// https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-shipping +SWIFT_CLASS("_TtC6Stripe37STPPaymentIntentShippingDetailsParams") +@interface STPPaymentIntentShippingDetailsParams : NSObject +/// Shipping address. +@property (nonatomic, strong) STPPaymentIntentShippingDetailsAddressParams * _Nonnull address; +/// Recipient name. +@property (nonatomic, copy) NSString * _Nonnull name; +/// The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc. +@property (nonatomic, copy) NSString * _Nullable carrier; +/// Recipient phone (including extension). +@property (nonatomic, copy) NSString * _Nullable phone; +/// The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas. +@property (nonatomic, copy) NSString * _Nullable trackingNumber; +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initialize an STPPaymentIntentShippingDetailsParams with required properties. +- (nonnull instancetype)initWithAddress:(STPPaymentIntentShippingDetailsAddressParams * _Nonnull)address name:(NSString * _Nonnull)name OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPPaymentIntentShippingDetailsParams (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface STPPaymentIntentShippingDetailsParams (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Source Action details for an STPPaymentIntent. This is a container for +/// the various types that are available. Check the type to see which one +/// it is, and then use the related property for the details necessary to handle +/// it. +/// @deprecated Use STPIntentAction instead. +SWIFT_CLASS("_TtC6Stripe28STPPaymentIntentSourceAction") SWIFT_UNAVAILABLE_MSG("'STPPaymentIntentSourceAction' has been renamed to '_TtC6Stripe15STPIntentAction': Use `STPIntentAction` instead.") +@interface STPPaymentIntentSourceAction : STPIntentAction +@end + + +/// The STPPaymentIntentSourceAction details when type is STPPaymentIntentSourceActionTypeAuthorizeWithURL. +/// These are created & owned by the containing STPPaymentIntent. +/// @deprecated Use STPIntentActionRedirectToURL instead. +SWIFT_CLASS("_TtC6Stripe44STPPaymentIntentSourceActionAuthorizeWithURL") SWIFT_UNAVAILABLE_MSG("'STPPaymentIntentSourceActionAuthorizeWithURL' has been renamed to '_TtC6Stripe28STPIntentActionRedirectToURL': Use `STPIntentActionRedirectToURL` instead.") +@interface STPPaymentIntentSourceActionAuthorizeWithURL : STPIntentActionRedirectToURL +@end + +/// Types of Source Actions from a STPPaymentIntent, when the payment intent +/// status is STPPaymentIntentStatusRequiresSourceAction. +/// @deprecated UseSTPPaymentIntentActionType instead. +typedef SWIFT_ENUM(NSInteger, STPPaymentIntentSourceActionType, open) { +/// This is an unknown source action, that’s been added since the SDK +/// was last updated. +/// Update your SDK, or use the nextSourceAction.allResponseFields +/// for custom handling. + STPPaymentIntentSourceActionTypeUnknown = 0, +/// The payment intent needs to be authorized by the user. We provide +/// STPRedirectContext to handle the url redirections necessary. + STPPaymentIntentSourceActionTypeAuthorizeWithURL = 1, +}; + +/// Status types for an STPPaymentIntent +typedef SWIFT_ENUM(NSInteger, STPPaymentIntentStatus, open) { +/// Unknown status + STPPaymentIntentStatusUnknown = 0, +/// This PaymentIntent requires a PaymentMethod or Source + STPPaymentIntentStatusRequiresPaymentMethod = 1, +/// This PaymentIntent requires a Source +/// Deprecated: Use STPPaymentIntentStatusRequiresPaymentMethod instead. + STPPaymentIntentStatusRequiresSource = 2, +/// This PaymentIntent needs to be confirmed + STPPaymentIntentStatusRequiresConfirmation = 3, +/// The selected PaymentMethod or Source requires additional authentication steps. +/// Additional actions found via next_action + STPPaymentIntentStatusRequiresAction = 4, +/// The selected Source requires additional authentication steps. +/// Additional actions found via next_source_action +/// Deprecated: Use STPPaymentIntentStatusRequiresAction instead. + STPPaymentIntentStatusRequiresSourceAction = 5, +/// Stripe is processing this PaymentIntent + STPPaymentIntentStatusProcessing = 6, +/// The payment has succeeded + STPPaymentIntentStatusSucceeded = 7, +/// Indicates the payment must be captured, for STPPaymentIntentCaptureMethodManual + STPPaymentIntentStatusRequiresCapture = 8, +/// This PaymentIntent was canceled and cannot be changed. + STPPaymentIntentStatusCanceled = 9, +}; + +enum STPPaymentMethodType : NSInteger; +@class STPPaymentMethodAlipay; +@class STPPaymentMethodGrabPay; +@class STPPaymentMethodCard; +@class STPPaymentMethodiDEAL; +@class STPPaymentMethodFPX; +@class STPPaymentMethodCardPresent; +@class STPPaymentMethodSEPADebit; +@class STPPaymentMethodBacsDebit; +@class STPPaymentMethodAUBECSDebit; +@class STPPaymentMethodGiropay; +@class STPPaymentMethodEPS; +@class STPPaymentMethodPrzelewy24; +@class STPPaymentMethodBancontact; +@class STPPaymentMethodNetBanking; +@class STPPaymentMethodOXXO; +@class STPPaymentMethodSofort; +@class STPPaymentMethodUPI; +@class STPPaymentMethodPayPal; +@class STPPaymentMethodAfterpayClearpay; +@class STPPaymentMethodBLIK; +@class STPPaymentMethodBoleto; +@class STPPaymentMethodLink; +@class STPPaymentMethodKlarna; + +/// PaymentMethod objects represent your customer’s payment instruments. They can be used with PaymentIntents to collect payments. +/// seealso: +/// https://stripe.com/docs/api/payment_methods +SWIFT_CLASS("_TtC6Stripe16STPPaymentMethod") +@interface STPPaymentMethod : NSObject +/// Unique identifier for the object. +@property (nonatomic, readonly, copy) NSString * _Nonnull stripeId; +/// Time at which the object was created. Measured in seconds since the Unix epoch. +@property (nonatomic, readonly, copy) NSDate * _Nullable created; +/// YES if the object exists in live mode or the value NO if the object exists in test mode. +@property (nonatomic, readonly) BOOL liveMode; +/// The type of the PaymentMethod. The corresponding, similarly named property contains additional information specific to the PaymentMethod type. +/// e.g. if the type is STPPaymentMethodTypeCard, the card property is also populated. +@property (nonatomic, readonly) enum STPPaymentMethodType type; +/// Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods. +@property (nonatomic, readonly, strong) STPPaymentMethodBillingDetails * _Nullable billingDetails; +/// If this is an Alipay PaymentMethod (ie self.type == STPPaymentMethodTypeAlipay), this contains additional detailsl +@property (nonatomic, readonly, strong) STPPaymentMethodAlipay * _Nullable alipay; +/// If this is a GrabPay PaymentMethod (ie self.type == STPPaymentMethodTypeGrabPay), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodGrabPay * _Nullable grabPay; +/// If this is a card PaymentMethod (ie self.type == STPPaymentMethodTypeCard), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodCard * _Nullable card; +/// If this is a iDEAL PaymentMethod (ie self.type == STPPaymentMethodTypeiDEAL), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodiDEAL * _Nullable iDEAL; +/// If this is an FPX PaymentMethod (ie self.type == STPPaymentMethodTypeFPX), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodFPX * _Nullable fpx; +/// If this is a card present PaymentMethod (ie self.type == STPPaymentMethodTypeCardPresent), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodCardPresent * _Nullable cardPresent; +/// If this is a SEPA Debit PaymentMethod (ie self.type == STPPaymentMethodTypeSEPADebit), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodSEPADebit * _Nullable sepaDebit; +/// If this is a Bacs Debit PaymentMethod (ie self.type == STPPaymentMethodTypeBacsDebit), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodBacsDebit * _Nullable bacsDebit; +/// If this is an AU BECS Debit PaymentMethod (i.e. self.type == STPPaymentMethodTypeAUBECSDebit), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodAUBECSDebit * _Nullable auBECSDebit; +/// If this is a giropay PaymentMethod (i.e. self.type == STPPaymentMethodTypeGiropay), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodGiropay * _Nullable giropay; +/// If this is an EPS PaymentMethod (i.e. self.type == STPPaymentMethodTypeEPS), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodEPS * _Nullable eps; +/// If this is a Przelewy24 PaymentMethod (i.e. self.type == STPPaymentMethodTypePrzelewy24), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodPrzelewy24 * _Nullable przelewy24; +/// If this is a Bancontact PaymentMethod (i.e. self.type == STPPaymentMethodTypeBancontact), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodBancontact * _Nullable bancontact; +/// If this is a NetBanking PaymentMethod (i.e. self.type == STPPaymentMethodTypeNetBanking), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodNetBanking * _Nullable netBanking; +/// If this is an OXXO PaymentMethod (i.e. self.type == STPPaymentMethodTypeOXXO), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodOXXO * _Nullable oxxo; +/// If this is a Sofort PaymentMethod (i.e. self.type == STPPaymentMethodTypeSofort), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodSofort * _Nullable sofort; +/// If this is a UPI PaymentMethod (i.e. self.type == STPPaymentMethodTypeUPI), this contains additional details. :nodoc: +@property (nonatomic, readonly, strong) STPPaymentMethodUPI * _Nullable upi; +/// If this is a PayPal PaymentMethod (i.e. self.type == STPPaymentMethodTypePayPal), this contains additional details. :nodoc: +@property (nonatomic, readonly, strong) STPPaymentMethodPayPal * _Nullable payPal; +/// If this is an AfterpayClearpay PaymentMethod (i.e. self.type == STPPaymentMethodTypeAfterpayClearpay), this contains additional details. :nodoc: +@property (nonatomic, readonly, strong) STPPaymentMethodAfterpayClearpay * _Nullable afterpayClearpay; +/// If this is a BLIK PaymentMethod (i.e. self.type == STPPaymentMethodTypeBLIK), this contains additional details. :nodoc: +@property (nonatomic, readonly, strong) STPPaymentMethodBLIK * _Nullable blik; +/// If this is an Boleto PaymentMethod (i.e. self.type == STPPaymentMethodTypeBoleto), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodBoleto * _Nullable boleto; +/// If this is a Link PaymentMethod (i.e. self.type == STPPaymentMethodTypeLink), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodLink * _Nullable link; +/// If this is an Boleto PaymentMethod (i.e. self.type == STPPaymentMethodTypeKlarna), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodKlarna * _Nullable klarna; +/// The ID of the Customer to which this PaymentMethod is saved. Nil when the PaymentMethod has not been saved to a Customer. +@property (nonatomic, readonly, copy) NSString * _Nullable customerId; +/// Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. +/// @deprecated Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead. +/// seealso: +/// https://stripe.com/docs/api#metadata +@property (nonatomic, readonly, copy) NSDictionary * _Nullable metadata SWIFT_DEPRECATED_MSG("Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead."); +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, strong) UIImage * _Nonnull image; +@property (nonatomic, readonly, strong) UIImage * _Nonnull templateImage; +@property (nonatomic, readonly, copy) NSString * _Nonnull label; +@property (nonatomic, readonly) BOOL isReusable; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + + + +/// An AU BECS Debit Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-au_becs_debit +SWIFT_CLASS("_TtC6Stripe27STPPaymentMethodAUBECSDebit") +@interface STPPaymentMethodAUBECSDebit : NSObject +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// Six-digit number identifying bank and branch associated with this bank account. +@property (nonatomic, readonly, copy) NSString * _Nonnull bsbNumber; +/// Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. +@property (nonatomic, readonly, copy) NSString * _Nonnull fingerprint; +/// Last four digits of the bank account number. +@property (nonatomic, readonly, copy) NSString * _Nonnull last4; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create an AU BECS Debit Payment Method +SWIFT_CLASS("_TtC6Stripe33STPPaymentMethodAUBECSDebitParams") +@interface STPPaymentMethodAUBECSDebitParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// The account number to debit. +@property (nonatomic, copy) NSString * _Nullable accountNumber; +/// Six-digit number identifying bank and branch associated with this bank account. +@property (nonatomic, copy) NSString * _Nullable bsbNumber; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// The billing address, a property on STPPaymentMethodBillingDetails +SWIFT_CLASS("_TtC6Stripe23STPPaymentMethodAddress") +@interface STPPaymentMethodAddress : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// City/District/Suburb/Town/Village. +@property (nonatomic, copy) NSString * _Nullable city; +/// 2-letter country code. +@property (nonatomic, copy) NSString * _Nullable country; +/// Address line 1 (Street address/PO Box/Company name). +@property (nonatomic, copy) NSString * _Nullable line1; +/// Address line 2 (Apartment/Suite/Unit/Building). +@property (nonatomic, copy) NSString * _Nullable line2; +/// ZIP or postal code. +@property (nonatomic, copy) NSString * _Nullable postalCode; +/// State/County/Province/Region. +@property (nonatomic, copy) NSString * _Nullable state; +/// Convenience initializer for creating a STPPaymentMethodAddress from an STPAddress. +- (nonnull instancetype)initWithAddress:(STPAddress * _Nonnull)address OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + + +/// An AfterpayClearpay Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-afterpay_clearpay +SWIFT_CLASS("_TtC6Stripe32STPPaymentMethodAfterpayClearpay") +@interface STPPaymentMethodAfterpayClearpay : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create an AfterpayClearpay Payment Method +SWIFT_CLASS("_TtC6Stripe38STPPaymentMethodAfterpayClearpayParams") +@interface STPPaymentMethodAfterpayClearpayParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// Contains details for an Alipay Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-alipay +SWIFT_CLASS("_TtC6Stripe22STPPaymentMethodAlipay") +@interface STPPaymentMethodAlipay : NSObject +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// :nodoc: ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create an Alipay Payment Method. +/// There are currently no parameters to pass. +/// seealso: +/// https://site-admin.stripe.com/docs/api/payment_methods/create#create_payment_method-alipay +SWIFT_CLASS("_TtC6Stripe28STPPaymentMethodAlipayParams") +@interface STPPaymentMethodAlipayParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// Contains details for a BLIK Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-blik +SWIFT_CLASS("_TtC6Stripe20STPPaymentMethodBLIK") +@interface STPPaymentMethodBLIK : NSObject +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// :nodoc: ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a BLIK Payment Method +/// There are currently no parameters to pass. +/// seealso: +/// https://site-admin.stripe.com/docs/api/payment_methods/create#create_payment_method-blik +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodBLIKParams") +@interface STPPaymentMethodBLIKParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A Bacs Debit Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-bacs_debit +SWIFT_CLASS("_TtC6Stripe25STPPaymentMethodBacsDebit") +@interface STPPaymentMethodBacsDebit : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// This payment method’s fingerprint. +@property (nonatomic, readonly, copy) NSString * _Nullable fingerprint; +/// The last four digits of the bank account. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// The sort code of the bank account (eg 10-88-00) +@property (nonatomic, readonly, copy) NSString * _Nullable sortCode; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// The user’s bank account details. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/create#create_payment_method-bacs_debit +SWIFT_CLASS("_TtC6Stripe31STPPaymentMethodBacsDebitParams") +@interface STPPaymentMethodBacsDebitParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// The bank account number (eg 00012345) +@property (nonatomic, copy) NSString * _Nullable accountNumber; +/// The sort code of the bank account (eg 10-88-00) +@property (nonatomic, copy) NSString * _Nullable sortCode; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A Bancontact Payment Method. +/// seealso: +/// https://stripe.com/docs/payments/bancontact +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodBancontact") +@interface STPPaymentMethodBancontact : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a Bancontact Payment Method +SWIFT_CLASS("_TtC6Stripe32STPPaymentMethodBancontactParams") +@interface STPPaymentMethodBancontactParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// Billing information associated with a STPPaymentMethod that may be used or required by particular types of payment methods. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-billing_details +SWIFT_CLASS("_TtC6Stripe30STPPaymentMethodBillingDetails") +@interface STPPaymentMethodBillingDetails : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Billing address. +@property (nonatomic, strong) STPPaymentMethodAddress * _Nullable address; +/// Email address. +@property (nonatomic, copy) NSString * _Nullable email; +/// Full name. +@property (nonatomic, copy) NSString * _Nullable name; +/// Billing phone number (including extension). +@property (nonatomic, copy) NSString * _Nullable phone; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// :nodoc: +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + + + +/// A Boleto Payment Method. +/// seealso: +/// https://stripe.com/docs/payments/boleto +SWIFT_CLASS("_TtC6Stripe22STPPaymentMethodBoleto") +@interface STPPaymentMethodBoleto : NSObject +/// The tax ID of the customer (CPF for individuals or CNPJ for businesses). +@property (nonatomic, readonly, copy) NSString * _Nonnull taxID; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a Boleto Payment Method +SWIFT_CLASS("_TtC6Stripe28STPPaymentMethodBoletoParams") +@interface STPPaymentMethodBoletoParams : NSObject +/// The tax ID of the customer (CPF for individuals or CNPJ for businesses). +/// Supported formats: +///
    +///
  • +/// XXX.XXX.XXX-XX or XXXXXXXXXXX for CPF +///
  • +///
  • +/// XX.XXX.XXX/XXXX-XX or XXXXXXXXXXXXXX for CNPJ +///
  • +///
+@property (nonatomic, copy) NSString * _Nullable taxID; +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class STPPaymentMethodCardChecks; +@class STPPaymentMethodCardNetworks; +@class STPPaymentMethodThreeDSecureUsage; +@class STPPaymentMethodCardWallet; + +/// Contains details about a user’s credit card. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-card +SWIFT_CLASS("_TtC6Stripe20STPPaymentMethodCard") +@interface STPPaymentMethodCard : NSObject +/// You cannot directly instantiate an STPPaymentMethodCard. You should only use one that is part of an existing STPPaymentMethod object. +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// The issuer of the card. +@property (nonatomic, readonly) enum STPCardBrand brand; +/// Checks on Card address and CVC if provided. +@property (nonatomic, readonly, strong) STPPaymentMethodCardChecks * _Nullable checks; +/// Two-letter ISO code representing the country of the card. +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// Two-digit number representing the card’s expiration month. +@property (nonatomic, readonly) NSInteger expMonth; +/// Four-digit number representing the card’s expiration year. +@property (nonatomic, readonly) NSInteger expYear; +/// Card funding type. Can be credit, debit, prepaid, or unknown. +@property (nonatomic, readonly, copy) NSString * _Nullable funding; +/// The last four digits of the card. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. +@property (nonatomic, readonly, copy) NSString * _Nullable fingerprint; +/// Contains information about card networks that can be used to process the payment. +@property (nonatomic, readonly, strong) STPPaymentMethodCardNetworks * _Nullable networks; +/// Contains details on how this Card maybe be used for 3D Secure authentication. +@property (nonatomic, readonly, strong) STPPaymentMethodThreeDSecureUsage * _Nullable threeDSecureUsage; +/// If this Card is part of a Card Wallet, this contains the details of the Card Wallet. +@property (nonatomic, readonly, strong) STPPaymentMethodCardWallet * _Nullable wallet; +/// Returns a string representation for the provided card brand; +/// i.e. STPPaymentMethodCard.string(from brand:.visa) == "Visa". +/// \param brand the brand you want to convert to a string +/// +/// +/// returns: +/// A string representing the brand, suitable for displaying to a user. ++ (NSString * _Nonnull)stringFromBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// The result of a check on a Card address or CVC. +typedef SWIFT_ENUM(NSInteger, STPPaymentMethodCardCheckResult, open) { +/// The check passed. + STPPaymentMethodCardCheckResultPass = 0, +/// The check failed. + STPPaymentMethodCardCheckResultFailed = 1, +/// The check is unavailable. + STPPaymentMethodCardCheckResultUnavailable = 2, +/// The value was not checked. + STPPaymentMethodCardCheckResultUnchecked = 3, +/// Represents an unknown or null value. + STPPaymentMethodCardCheckResultUnknown = 4, +}; + + +/// Checks on Card address and CVC. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-checks +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodCardChecks") +@interface STPPaymentMethodCardChecks : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// If a address line1 was provided, results of the check. +@property (nonatomic, readonly) enum STPPaymentMethodCardCheckResult addressLine1Check SWIFT_DEPRECATED_MSG("Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead."); +/// If a address postal code was provided, results of the check. +/// deprecated Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead. +@property (nonatomic, readonly) enum STPPaymentMethodCardCheckResult addressPostalCodeCheck SWIFT_DEPRECATED_MSG("Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead."); +/// If a CVC was provided, results of the check. +/// deprecated Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead. +@property (nonatomic, readonly) enum STPPaymentMethodCardCheckResult cvcCheck SWIFT_DEPRECATED_MSG("Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead."); +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// STPPaymentMethodCardNetworks contains information about card networks that can be used to process a payment. +SWIFT_CLASS("_TtC6Stripe28STPPaymentMethodCardNetworks") +@interface STPPaymentMethodCardNetworks : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// All available networks for the card. +@property (nonatomic, readonly, copy) NSArray * _Nonnull available; +/// The preferred network for the card if one exists. +@property (nonatomic, readonly, copy) NSString * _Nullable preferred; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// The user’s card details. +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodCardParams") +@interface STPPaymentMethodCardParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// A convenience initializer for creating a payment method from a card source. +/// This should be used to help with migrations to Payment Methods from Sources. +- (nonnull instancetype)initWithCardSourceParams:(STPCardParams * _Nonnull)cardSourceParams; +/// Initializes an empty STPPaymentMethodCardParams. +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +/// The card number, as a string without any separators. Ex. @“4242424242424242” +@property (nonatomic, copy) NSString * _Nullable number; +/// Number representing the card’s expiration month. Ex. @1 +@property (nonatomic, strong) NSNumber * _Nullable expMonth; +/// Two- or four-digit number representing the card’s expiration year. +@property (nonatomic, strong) NSNumber * _Nullable expYear; +/// For backwards compatibility, you can alternatively set this as a Stripe token (e.g., for apple pay) +@property (nonatomic, copy) NSString * _Nullable token; +/// Card security code. It is highly recommended to always include this value. +@property (nonatomic, copy) NSString * _Nullable cvc; +/// The last 4 digits of the card. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (BOOL)isEqual:(id _Nullable)other SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Details about the Card Present payment method +SWIFT_CLASS("_TtC6Stripe27STPPaymentMethodCardPresent") +@interface STPPaymentMethodCardPresent : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +enum STPPaymentMethodCardWalletType : NSInteger; +@class STPPaymentMethodCardWalletMasterpass; +@class STPPaymentMethodCardWalletVisaCheckout; + +/// A Card Wallet. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-wallet +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodCardWallet") +@interface STPPaymentMethodCardWallet : NSObject +/// The type of the Card Wallet. A matching property is populated if the type is STPPaymentMethodCardWalletTypeMasterpass or STPPaymentMethodCardWalletTypeVisaCheckout containing additional information specific to the Card Wallet type. +@property (nonatomic, readonly) enum STPPaymentMethodCardWalletType type; +/// Contains additional Masterpass information, if the type of the Card Wallet is STPPaymentMethodCardWalletTypeMasterpass +@property (nonatomic, readonly, strong) STPPaymentMethodCardWalletMasterpass * _Nullable masterpass; +/// Contains additional Visa Checkout information, if the type of the Card Wallet is STPPaymentMethodCardWalletTypeVisaCheckout +@property (nonatomic, readonly, strong) STPPaymentMethodCardWalletVisaCheckout * _Nullable visaCheckout; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + + +/// A Masterpass Card Wallet +/// seealso: +/// https://stripe.com/docs/masterpass +SWIFT_CLASS("_TtC6Stripe36STPPaymentMethodCardWalletMasterpass") +@interface STPPaymentMethodCardWalletMasterpass : NSObject +/// Owner’s verified email. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, copy) NSString * _Nullable email; +/// Owner’s verified email. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, copy) NSString * _Nullable name; +/// Owner’s verified billing address. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, strong) STPPaymentMethodAddress * _Nullable billingAddress; +/// Owner’s verified shipping address. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, strong) STPPaymentMethodAddress * _Nullable shippingAddress; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// The type of Card Wallet. +typedef SWIFT_ENUM(NSInteger, STPPaymentMethodCardWalletType, open) { +/// Amex Express Checkout + STPPaymentMethodCardWalletTypeAmexExpressCheckout = 0, +/// Apple Pay + STPPaymentMethodCardWalletTypeApplePay = 1, +/// Google Pay + STPPaymentMethodCardWalletTypeGooglePay = 2, +/// Masterpass + STPPaymentMethodCardWalletTypeMasterpass = 3, +/// Samsung Pay + STPPaymentMethodCardWalletTypeSamsungPay = 4, +/// Visa Checkout + STPPaymentMethodCardWalletTypeVisaCheckout = 5, +/// An unknown Card Wallet type. + STPPaymentMethodCardWalletTypeUnknown = 6, +}; + + +/// A Visa Checkout Card Wallet +/// seealso: +/// https://stripe.com/docs/visa-checkout +SWIFT_CLASS("_TtC6Stripe38STPPaymentMethodCardWalletVisaCheckout") +@interface STPPaymentMethodCardWalletVisaCheckout : NSObject +/// Owner’s verified email. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, copy) NSString * _Nullable email; +/// Owner’s verified email. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, copy) NSString * _Nullable name; +/// Owner’s verified billing address. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, strong) STPPaymentMethodAddress * _Nullable billingAddress; +/// Owner’s verified shipping address. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, strong) STPPaymentMethodAddress * _Nullable shippingAddress; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An EPS Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-eps +SWIFT_CLASS("_TtC6Stripe19STPPaymentMethodEPS") +@interface STPPaymentMethodEPS : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a EPS Payment Method +SWIFT_CLASS("_TtC6Stripe25STPPaymentMethodEPSParams") +@interface STPPaymentMethodEPSParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// An FPX Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-fpx +SWIFT_CLASS("_TtC6Stripe19STPPaymentMethodFPX") +@interface STPPaymentMethodFPX : NSObject +/// The customer’s bank identifier code. +@property (nonatomic, readonly, copy) NSString * _Nullable bankIdentifierCode; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An object representing parameters used to create an FPX Payment Method +SWIFT_CLASS("_TtC6Stripe25STPPaymentMethodFPXParams") +@interface STPPaymentMethodFPXParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// The customer’s bank. Required. +@property (nonatomic) enum STPFPXBankBrand bank; +/// The raw underlying bank string sent to the server. +/// Generally you should use bank instead unless you have a reason not to. +/// You can use this if you want to create a param of a bank not yet supported +/// by the current version of the SDK’s STPFPXBankBrand enum. +/// Setting this to a value not known by the SDK causes bank to +/// return STPFPXBankBrandUnknown +@property (nonatomic, copy) NSString * _Nullable rawBankString; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A giropay Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-giropay +SWIFT_CLASS("_TtC6Stripe23STPPaymentMethodGiropay") +@interface STPPaymentMethodGiropay : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a giropay Payment Method +SWIFT_CLASS("_TtC6Stripe29STPPaymentMethodGiropayParams") +@interface STPPaymentMethodGiropayParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A GrabPay PaymentMethod +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-grabpay +SWIFT_CLASS("_TtC6Stripe23STPPaymentMethodGrabPay") +@interface STPPaymentMethodGrabPay : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a GrabPay Payment Method +SWIFT_CLASS("_TtC6Stripe29STPPaymentMethodGrabPayParams") +@interface STPPaymentMethodGrabPayParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// The Klarna Payment Method. +/// seealso: +/// https://stripe.com/docs/payments/klarna +SWIFT_CLASS("_TtC6Stripe22STPPaymentMethodKlarna") +@interface STPPaymentMethodKlarna : NSObject +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create an Klarna Payment Method +SWIFT_CLASS("_TtC6Stripe28STPPaymentMethodKlarnaParams") +@interface STPPaymentMethodKlarnaParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A Link Payment Method. +SWIFT_CLASS("_TtC6Stripe20STPPaymentMethodLink") +@interface STPPaymentMethodLink : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create an Link Payment Method +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodLinkParams") +@interface STPPaymentMethodLinkParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A NetBanking Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-netbanking +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodNetBanking") +@interface STPPaymentMethodNetBanking : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// Customer’s Bank Name +@property (nonatomic, readonly, copy) NSString * _Nonnull bank; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a NetBanking Payment Method +SWIFT_CLASS("_TtC6Stripe32STPPaymentMethodNetBankingParams") +@interface STPPaymentMethodNetBankingParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Customer’s Bank Name. Required. +@property (nonatomic, copy) NSString * _Nullable bank; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// An OXXO Payment Method. +/// seealso: +/// https://stripe.com/docs/payments/oxxo +SWIFT_CLASS("_TtC6Stripe20STPPaymentMethodOXXO") +@interface STPPaymentMethodOXXO : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An object representing parameters used to create an OXXO Payment Method +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodOXXOParams") +@interface STPPaymentMethodOXXOParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class STPPaymentMethodiDEALParams; +@class STPPaymentMethodSEPADebitParams; +@class STPPaymentMethodPayPalParams; +@class STPPaymentMethodPrzelewy24Params; +@class STPPaymentMethodSofortParams; +@class STPPaymentMethodUPIParams; + +/// An object representing parameters used to create a PaymentMethod object. +/// @note To create a PaymentMethod from an Apple Pay PKPaymentToken, see STPAPIClient createPaymentMethodWithPayment:completion: +/// seealso: +/// https://stripe.com/docs/api/payment_methods/create +SWIFT_CLASS("_TtC6Stripe22STPPaymentMethodParams") +@interface STPPaymentMethodParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// The type of payment method. The associated property will contain additional information (e.g. type == STPPaymentMethodTypeCard means card should also be populated). +@property (nonatomic) enum STPPaymentMethodType type; +/// The raw underlying type string sent to the server. +/// Generally you should use type instead unless you have a reason not to. +/// You can use this if you want to create a param of a type not yet supported +/// by the current version of the SDK’s STPPaymentMethodType enum. +/// Setting this to a value not known by the SDK causes type to +/// return STPPaymentMethodTypeUnknown +@property (nonatomic, copy) NSString * _Nullable rawTypeString; +/// Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods. +@property (nonatomic, strong) STPPaymentMethodBillingDetails * _Nullable billingDetails; +/// If this is a card PaymentMethod, this contains the user’s card details. +@property (nonatomic, strong) STPPaymentMethodCardParams * _Nullable card; +/// If this is an Alipay PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodAlipayParams * _Nullable alipay; +/// If this is a iDEAL PaymentMethod, this contains details about user’s bank. +@property (nonatomic, strong) STPPaymentMethodiDEALParams * _Nullable iDEAL; +/// If this is a FPX PaymentMethod, this contains details about user’s bank. +@property (nonatomic, strong) STPPaymentMethodFPXParams * _Nullable fpx; +/// If this is a SEPA Debit PaymentMethod, this contains details about the bank to debit. +@property (nonatomic, strong) STPPaymentMethodSEPADebitParams * _Nullable sepaDebit; +/// If this is a Bacs Debit PaymentMethod, this contains details about the bank account to debit. +@property (nonatomic, strong) STPPaymentMethodBacsDebitParams * _Nullable bacsDebit; +/// If this is an AU BECS Debit PaymentMethod, this contains details about the bank to debit. +@property (nonatomic, strong) STPPaymentMethodAUBECSDebitParams * _Nullable auBECSDebit; +/// If this is a giropay PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodGiropayParams * _Nullable giropay; +/// If this is a PayPal PaymentMethod, this contains additional details. :nodoc: +@property (nonatomic, strong) STPPaymentMethodPayPalParams * _Nullable payPal; +/// If this is a Przelewy24 PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodPrzelewy24Params * _Nullable przelewy24; +/// If this is an EPS PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodEPSParams * _Nullable eps; +/// If this is a Bancontact PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodBancontactParams * _Nullable bancontact; +/// If this is a NetBanking PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodNetBankingParams * _Nullable netBanking; +/// If this is an OXXO PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodOXXOParams * _Nullable oxxo; +/// If this is a Sofort PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodSofortParams * _Nullable sofort; +/// If this is a UPI PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodUPIParams * _Nullable upi; +/// If this is a GrabPay PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodGrabPayParams * _Nullable grabPay; +/// If this is a Afterpay PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodAfterpayClearpayParams * _Nullable afterpayClearpay; +/// If this is a BLIK PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodBLIKParams * _Nullable blik; +/// If this is an Boleto PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodBoletoParams * _Nullable boleto; +/// If this is a Link PaymentMethod, this contains additional details +@property (nonatomic, strong) STPPaymentMethodLinkParams * _Nullable link; +/// If this is an Klarna PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodKlarnaParams * _Nullable klarna; +/// Set of key-value pairs that you can attach to the PaymentMethod. This can be useful for storing additional information about the PaymentMethod in a structured format. +@property (nonatomic, copy) NSDictionary * _Nullable metadata; +/// Creates params for a card PaymentMethod. +/// \param card An object containing the user’s card details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithCard:(STPPaymentMethodCardParams * _Nonnull)card billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an iDEAL PaymentMethod. +/// \param iDEAL An object containing the user’s iDEAL bank details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithIDEAL:(STPPaymentMethodiDEALParams * _Nonnull)iDEAL billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an FPX PaymentMethod. +/// \param fpx An object containing the user’s FPX bank details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithFpx:(STPPaymentMethodFPXParams * _Nonnull)fpx billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a SEPA Debit PaymentMethod; +/// \param sepaDebit An object containing the SEPA bank debit details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for SEPA Debit PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithSepaDebit:(STPPaymentMethodSEPADebitParams * _Nonnull)sepaDebit billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a Bacs Debit PaymentMethod; +/// \param bacsDebit An object containing the Bacs bank debit details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that name, email, and address are required for Bacs Debit PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithBacsDebit:(STPPaymentMethodBacsDebitParams * _Nonnull)bacsDebit billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an AU BECS Debit PaymentMethod; +/// \param auBECSDebit An object containing the AU BECS bank debit details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name and billingDetails.email are required for AU BECS Debit PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithAubecsDebit:(STPPaymentMethodAUBECSDebitParams * _Nonnull)auBECSDebit billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a giropay PaymentMethod; +/// \param giropay An object containing additional giropay details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for giropay PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithGiropay:(STPPaymentMethodGiropayParams * _Nonnull)giropay billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an EPS PaymentMethod; +/// \param eps An object containing additional EPS details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for EPS PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithEps:(STPPaymentMethodEPSParams * _Nonnull)eps billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a Przelewy24 PaymentMethod; +/// \param przelewy24 An object containing additional Przelewy24 details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.email is required for Przelewy24 PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithPrzelewy24:(STPPaymentMethodPrzelewy24Params * _Nonnull)przelewy24 billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a Bancontact PaymentMethod; +/// \param bancontact An object containing additional Bancontact details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for Bancontact PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithBancontact:(STPPaymentMethodBancontactParams * _Nonnull)bancontact billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a NetBanking PaymentMethod; +/// \param netBanking An object containing additional NetBanking details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithNetBanking:(STPPaymentMethodNetBankingParams * _Nonnull)netBanking billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a GrabPay PaymentMethod; +/// \param grabPay An object containing additional GrabPay details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithGrabPay:(STPPaymentMethodGrabPayParams * _Nonnull)grabPay billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an OXXO PaymentMethod; +/// \param oxxo An object containing additional OXXO details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithOxxo:(STPPaymentMethodOXXOParams * _Nonnull)oxxo billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a Sofort PaymentMethod; +/// \param sofort An object containing additional Sofort details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name and billingDetails.email are required to save bank details from a Sofort payment. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithSofort:(STPPaymentMethodSofortParams * _Nonnull)sofort billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a UPI PaymentMethod; +/// \param upi An object containing additional UPI details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithUpi:(STPPaymentMethodUPIParams * _Nonnull)upi billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an Alipay PaymentMethod. +/// \param alipay An object containing additional Alipay details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithAlipay:(STPPaymentMethodAlipayParams * _Nonnull)alipay billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a PayPal PaymentMethod. :nodoc: +/// \param payPal An object containing additional PayPal details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithPayPal:(STPPaymentMethodPayPalParams * _Nonnull)payPal billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an AfterpayClearpay PaymentMethod. :nodoc: +/// \param afterpayClearpay An object containing additional AfterpayClearpay details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithAfterpayClearpay:(STPPaymentMethodAfterpayClearpayParams * _Nonnull)afterpayClearpay billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a BLIK PaymentMethod. +/// \param blik An object containing additional BLIK details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithBlik:(STPPaymentMethodBLIKParams * _Nonnull)blik billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an Boleto PaymentMethod; +/// \param boleto An object containing additional Boleto details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithBoleto:(STPPaymentMethodBoletoParams * _Nonnull)boleto billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an Klarna PaymentMethod. :nodoc: +/// \param klarna An object containing additional Klarna details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithKlarna:(STPPaymentMethodKlarnaParams * _Nonnull)klarna billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params from a single-use PaymentMethod. This is useful for recreating a new payment method +/// with similar settings. It will return nil if used with a reusable PaymentMethod. +/// \param paymentMethod An object containing the original single-use PaymentMethod. +/// +- (nullable instancetype)initWithSingleUsePaymentMethod:(STPPaymentMethod * _Nonnull)paymentMethod; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, strong) UIImage * _Nonnull image; +@property (nonatomic, readonly, strong) UIImage * _Nonnull templateImage; +@property (nonatomic, readonly, copy) NSString * _Nonnull label; +@property (nonatomic, readonly) BOOL isReusable; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + + + +@interface STPPaymentMethodParams (SWIFT_EXTENSION(Stripe)) +/// Creates params for a card PaymentMethod. +/// \param card An object containing the user’s card details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithCard:(STPPaymentMethodCardParams * _Nonnull)card billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an iDEAL PaymentMethod. +/// \param iDEAL An object containing the user’s iDEAL bank details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithiDEAL:(STPPaymentMethodiDEALParams * _Nonnull)iDEAL billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an FPX PaymentMethod. +/// \param fpx An object containing the user’s FPX bank details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithFPX:(STPPaymentMethodFPXParams * _Nonnull)fpx billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a SEPA Debit PaymentMethod; +/// \param sepaDebit An object containing the SEPA bank debit details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for SEPA Debit PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithSEPADebit:(STPPaymentMethodSEPADebitParams * _Nonnull)sepaDebit billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Bacs Debit PaymentMethod; +/// \param bacsDebit An object containing the Bacs bank debit details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that name, email, and address are required for Bacs Debit PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithBacsDebit:(STPPaymentMethodBacsDebitParams * _Nonnull)bacsDebit billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an AU BECS Debit PaymentMethod; +/// \param auBECSDebit An object containing the AU BECS bank debit details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name and billingDetails.email are required for AU BECS Debit PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithAUBECSDebit:(STPPaymentMethodAUBECSDebitParams * _Nonnull)auBECSDebit billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a giropay PaymentMethod; +/// \param giropay An object containing additional giropay details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for giropay PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithGiropay:(STPPaymentMethodGiropayParams * _Nonnull)giropay billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an EPS PaymentMethod; +/// \param eps An object containing additional EPS details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for EPS PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithEPS:(STPPaymentMethodEPSParams * _Nonnull)eps billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Przelewy24 PaymentMethod; +/// \param przelewy24 An object containing additional Przelewy24 details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.email is required for Przelewy24 PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithPrzelewy24:(STPPaymentMethodPrzelewy24Params * _Nonnull)przelewy24 billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Bancontact PaymentMethod; +/// \param bancontact An object containing additional Bancontact details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for Bancontact PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithBancontact:(STPPaymentMethodBancontactParams * _Nonnull)bancontact billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a NetBanking PaymentMethod; +/// \param netBanking An object containing additional NetBanking details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for Bancontact PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithNetBanking:(STPPaymentMethodNetBankingParams * _Nonnull)netBanking billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an OXXO PaymentMethod; +/// \param oxxo An object containing additional OXXO details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for OXXO PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithOXXO:(STPPaymentMethodOXXOParams * _Nonnull)oxxo billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a GrabPay PaymentMethod; +/// \param grabPay An object containing additional GrabPay details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithGrabPay:(STPPaymentMethodGrabPayParams * _Nonnull)grabPay billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Sofort PaymentMethod; +/// \param sofort An object containing additional Sofort details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name and billingDetails.email are required to save bank details from a Sofort payment. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithSofort:(STPPaymentMethodSofortParams * _Nonnull)sofort billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a UPI PaymentMethod; +/// \param upi An object containing additional UPI details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name and billingDetails.email are required to save bank details from a UPI payment. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithUPI:(STPPaymentMethodUPIParams * _Nonnull)upi billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an Alipay PaymentMethod. +/// \param alipay An object containing additional Alipay details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithAlipay:(STPPaymentMethodAlipayParams * _Nonnull)alipay billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a PayPal PaymentMethod. +/// \param payPal An object containing additional PayPal details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithPayPal:(STPPaymentMethodPayPalParams * _Nonnull)payPal billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an AfterpayClearpay PaymentMethod. +/// \param afterpayClearpay An object containing additional AfterpayClearpay details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithAfterpayClearpay:(STPPaymentMethodAfterpayClearpayParams * _Nonnull)afterpayClearpay billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a BLIK PaymentMethod. +/// \param blik An object containing additional BLIK details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithBLIK:(STPPaymentMethodBLIKParams * _Nonnull)blik billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an Klarna PaymentMethod. +/// \param klarna An object containing additional Klarna details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithKlarna:(STPPaymentMethodKlarnaParams * _Nonnull)klarna billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +@end + + +/// A PayPal Payment Method. :nodoc: +/// seealso: +/// https://stripe.com/docs/payments/paypal +SWIFT_CLASS("_TtC6Stripe22STPPaymentMethodPayPal") +@interface STPPaymentMethodPayPal : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a PayPal Payment Method :nodoc: +SWIFT_CLASS("_TtC6Stripe28STPPaymentMethodPayPalParams") +@interface STPPaymentMethodPayPalParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A Przelewy24 Payment Method. +/// seealso: +/// https://stripe.com/docs/payments/p24 +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodPrzelewy24") +@interface STPPaymentMethodPrzelewy24 : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a Przelewy24 Payment Method +SWIFT_CLASS("_TtC6Stripe32STPPaymentMethodPrzelewy24Params") +@interface STPPaymentMethodPrzelewy24Params : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A SEPA Debit Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-sepa_debit +SWIFT_CLASS("_TtC6Stripe25STPPaymentMethodSEPADebit") +@interface STPPaymentMethodSEPADebit : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// The last 4 digits of the account number. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// The account’s bank code. +@property (nonatomic, readonly, copy) NSString * _Nullable bankCode; +/// The account’s branch code +@property (nonatomic, readonly, copy) NSString * _Nullable branchCode; +/// Two-letter ISO code representing the country of the bank account. +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// The account’s fingerprint. +@property (nonatomic, readonly, copy) NSString * _Nullable fingerprint; +/// The reference of the mandate accepted by your customer. - seealso: https://stripe.com/docs/api/sources/create#create_source-mandate +@property (nonatomic, readonly, copy) NSString * _Nullable mandate; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a SEPA Debit Payment Method +SWIFT_CLASS("_TtC6Stripe31STPPaymentMethodSEPADebitParams") +@interface STPPaymentMethodSEPADebitParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// The IBAN number for the bank account you wish to debit. Required. +@property (nonatomic, copy) NSString * _Nullable iban; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A Sofort Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-Sofort +SWIFT_CLASS("_TtC6Stripe22STPPaymentMethodSofort") +@interface STPPaymentMethodSofort : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// Two-letter ISO code representing the country the bank account is located in. +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a Sofort Payment Method +SWIFT_CLASS("_TtC6Stripe28STPPaymentMethodSofortParams") +@interface STPPaymentMethodSofortParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Two-letter ISO code representing the country the bank account is located in. Required. +@property (nonatomic, copy) NSString * _Nullable country; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// Contains details on how an STPPaymentMethodCard maybe be used for 3D Secure authentication. +SWIFT_CLASS("_TtC6Stripe33STPPaymentMethodThreeDSecureUsage") +@interface STPPaymentMethodThreeDSecureUsage : NSObject +/// YES if 3D Secure is supported on this card. +@property (nonatomic, readonly) BOOL supported; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// The type of the PaymentMethod. +typedef SWIFT_ENUM(NSInteger, STPPaymentMethodType, open) { +/// A card payment method. + STPPaymentMethodTypeCard = 0, +/// An Alipay payment method. + STPPaymentMethodTypeAlipay = 1, +/// A GrabPay payment method. + STPPaymentMethodTypeGrabPay = 2, +/// An iDEAL payment method. + STPPaymentMethodTypeiDEAL SWIFT_COMPILE_NAME("iDEAL") = 3, +/// An FPX payment method. + STPPaymentMethodTypeFPX = 4, +/// A card present payment method. + STPPaymentMethodTypeCardPresent = 5, +/// A SEPA Debit payment method. + STPPaymentMethodTypeSEPADebit SWIFT_COMPILE_NAME("SEPADebit") = 6, +/// An AU BECS Debit payment method. + STPPaymentMethodTypeAUBECSDebit SWIFT_COMPILE_NAME("AUBECSDebit") = 7, +/// A Bacs Debit payment method. + STPPaymentMethodTypeBacsDebit = 8, +/// A giropay payment method. + STPPaymentMethodTypeGiropay = 9, +/// A Przelewy24 Debit payment method. + STPPaymentMethodTypePrzelewy24 = 10, +/// An EPS payment method. + STPPaymentMethodTypeEPS SWIFT_COMPILE_NAME("EPS") = 11, +/// A Bancontact payment method. + STPPaymentMethodTypeBancontact = 12, +/// A NetBanking payment method. + STPPaymentMethodTypeNetBanking = 13, +/// An OXXO payment method. + STPPaymentMethodTypeOXXO SWIFT_COMPILE_NAME("OXXO") = 14, +/// A Sofort payment method. + STPPaymentMethodTypeSofort = 15, +/// A UPI payment method. + STPPaymentMethodTypeUPI = 16, +/// A PayPal payment method. :nodoc: + STPPaymentMethodTypePayPal = 17, +/// An AfterpayClearpay payment method + STPPaymentMethodTypeAfterpayClearpay = 18, +/// A BLIK payment method + STPPaymentMethodTypeBLIK SWIFT_COMPILE_NAME("blik") = 19, +/// A WeChat Pay payment method + STPPaymentMethodTypeWeChatPay = 20, +/// A Boleto payment method. + STPPaymentMethodTypeBoleto = 21, +/// A Link payment method + STPPaymentMethodTypeLink = 22, +/// A Klarna payment method. + STPPaymentMethodTypeKlarna = 23, +/// A Link Instant Debit payment method + STPPaymentMethodTypeLinkInstantDebit = 24, +/// An unknown type. + STPPaymentMethodTypeUnknown = 25, +}; + + +/// A UPI Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-upi +SWIFT_CLASS("_TtC6Stripe19STPPaymentMethodUPI") +@interface STPPaymentMethodUPI : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// Customer’s Virtual Payment Address (VPA). +@property (nonatomic, readonly, copy) NSString * _Nonnull vpa; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a UPI Payment Method +SWIFT_CLASS("_TtC6Stripe25STPPaymentMethodUPIParams") +@interface STPPaymentMethodUPIParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Customer’s Virtual Payment Address (VPA). Required. +@property (nonatomic, copy) NSString * _Nullable vpa; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// An iDEAL Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-ideal +SWIFT_CLASS("_TtC6Stripe21STPPaymentMethodiDEAL") +@interface STPPaymentMethodiDEAL : NSObject +/// The customer’s bank. +@property (nonatomic, readonly, copy) NSString * _Nullable bankName; +/// The Bank Identifier Code of the customer’s bank. +@property (nonatomic, readonly, copy) NSString * _Nullable bankIdentifierCode; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An object representing parameters used to create an iDEAL Payment Method +SWIFT_CLASS("_TtC6Stripe27STPPaymentMethodiDEALParams") +@interface STPPaymentMethodiDEALParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// The customer’s bank. +@property (nonatomic, copy) NSString * _Nullable bankName; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + +/// This view controller presents a list of payment method options to the user, +/// which they can select between. They can also add credit cards to the list. +/// It must be displayed inside a UINavigationController, so you can either +/// create a UINavigationController with an STPPaymentOptionsViewController +/// as the rootViewController and then present the UINavigationController, +/// or push a new STPPaymentOptionsViewController onto an existing +/// UINavigationController’s stack. You can also have STPPaymentContext do this +/// for you automatically, by calling presentPaymentOptionsViewController +/// or pushPaymentOptionsViewController on it. +SWIFT_CLASS("_TtC6Stripe31STPPaymentOptionsViewController") +@interface STPPaymentOptionsViewController : STPCoreViewController +/// Creates a new payment methods view controller. +/// \param paymentContext A payment context to power the view controller’s view. +/// The payment context will in turn use its backend API adapter to fetch the +/// information it needs from your application. +/// +/// +/// returns: +/// an initialized view controller. +- (nonnull instancetype)initWithPaymentContext:(STPPaymentContext * _Nonnull)paymentContext; +/// Initializes a new payment methods view controller without using a +/// payment context. +/// \param configuration The configuration to use to determine what types of +/// payment method to offer your user. - seealso: STPPaymentConfiguration.h +/// +/// \param theme The theme to inform the appearance of the UI. +/// +/// \param customerContext The customer context the view controller will use to +/// fetch and modify its Stripe customer +/// +/// \param delegate A delegate that will be notified when the payment +/// methods view controller’s selection changes. +/// +/// +/// returns: +/// an initialized view controller. +- (nonnull instancetype)initWithConfiguration:(STPPaymentConfiguration * _Nonnull)configuration theme:(STPTheme * _Nonnull)theme customerContext:(STPCustomerContext * _Nonnull)customerContext delegate:(id _Nonnull)delegate; +/// Note: Instead of providing your own backend API adapter, we recommend using +/// STPCustomerContext, which will manage retrieving and updating a +/// Stripe customer for you. - seealso: STPCustomerContext.h +/// Initializes a new payment methods view controller without using +/// a payment context. +/// \param configuration The configuration to use to determine what types of +/// payment method to offer your user. +/// +/// \param theme The theme to inform the appearance of the UI. +/// +/// \param apiAdapter The API adapter to use to retrieve a customer’s stored +/// payment methods and save new ones. +/// +/// \param delegate A delegate that will be notified when the payment methods +/// view controller’s selection changes. +/// +- (nonnull instancetype)initWithConfiguration:(STPPaymentConfiguration * _Nonnull)configuration theme:(STPTheme * _Nonnull)theme apiAdapter:(id _Nonnull)apiAdapter delegate:(id _Nonnull)delegate OBJC_DESIGNATED_INITIALIZER; +/// If you’ve already collected some information from your user, you can set it +/// here and it’ll be automatically filled out when possible/appropriate in any UI +/// that the payment context creates. +@property (nonatomic, strong) STPUserInformation * _Nullable prefilledInformation; +/// @note This is no longer recommended as of v18.3.0 - the SDK automatically saves the Stripe ID of the last selected +/// payment method using NSUserDefaults and displays it as the default pre-selected option. You can override this behavior +/// by setting this property. +/// The Stripe ID of a payment method to display as the default pre-selected option. +/// @note Setting this after the view controller’s view has loaded has no effect. +@property (nonatomic, copy) NSString * _Nullable defaultPaymentMethod; +/// A view that will be placed as the footer of the view controller when it is +/// showing a list of saved payment methods to select from. +/// When the footer view needs to be resized, it will be sent a +/// sizeThatFits: call. The view should respond correctly to this method in order +/// to be sized and positioned properly. +@property (nonatomic, strong) UIView * _Nullable paymentOptionsViewControllerFooterView; +/// A view that will be placed as the footer of the view controller when it is +/// showing the add card view. +/// When the footer view needs to be resized, it will be sent a +/// sizeThatFits: call. The view should respond correctly to this method in order +/// to be sized and positioned properly. +@property (nonatomic, strong) UIView * _Nullable addCardViewControllerFooterView; +/// The STPAPIClient instance to use to make API requests. +/// Defaults to STPAPIClient.shared. +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +/// If you’re pushing STPPaymentOptionsViewController onto an existing +/// UINavigationController‘s stack, you should use this method to dismiss it, +/// since it may have pushed an additional add card view controller onto the +/// navigation controller’s stack. +/// \param completion The callback to run after the view controller is dismissed. +/// You may specify nil for this parameter. +/// +- (void)dismissWithCompletion:(void (^ _Nullable)(void))completion; +/// Use one of the initializers declared in this interface. +- (nonnull instancetype)initWithTheme:(STPTheme * _Nullable)theme OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE_MSG("Use one of the initializers declared in this interface instead."); +/// Use one of the initializers declared in this interface. +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE_MSG("Use one of the initializers declared in this interface instead."); +/// Use one of the initializers declared in this interface. +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE_MSG("Use one of the initializers declared in this interface instead."); +/// :nodoc: +- (void)viewDidLayoutSubviews; +/// :nodoc: +- (void)viewDidAppear:(BOOL)animated; +- (void)addCardViewControllerDidCancel:(STPAddCardViewController * _Nonnull)addCardViewController; +- (void)addCardViewController:(STPAddCardViewController * _Nonnull)addCardViewController didCreatePaymentMethod:(STPPaymentMethod * _Nonnull)paymentMethod completion:(void (^ _Nonnull)(NSError * _Nullable))completion; +@end + + + + +/// When you’re using STPPaymentContext to request your user’s payment details, this is the object that will be returned to your application when they’ve successfully made a payment. +/// See https://stripe.com/docs/mobile/ios/standard#submit-payment-intents. +SWIFT_CLASS("_TtC6Stripe16STPPaymentResult") +@interface STPPaymentResult : NSObject +/// The payment method that the user has selected. This may come from a variety of different payment methods, such as an Apple Pay payment or a stored credit card. - seealso: STPPaymentMethod.h +/// If paymentMethod is nil, paymentMethodParams will be populated instead. +@property (nonatomic, readonly, strong) STPPaymentMethod * _Nullable paymentMethod; +/// The parameters for a payment method that the user has selected. This is +/// populated for non-reusable payment methods, such as FPX and iDEAL. - seealso: STPPaymentMethodParams.h +/// If paymentMethodParams is nil, paymentMethod will be populated instead. +@property (nonatomic, readonly, strong) STPPaymentMethodParams * _Nullable paymentMethodParams; +/// The STPPaymentOption that was used to initialize this STPPaymentResult, either an STPPaymentMethod or an STPPaymentMethodParams. +@property (nonatomic, readonly, weak) id _Nullable paymentOption; +/// Initializes the payment result with a given payment option. This is invoked by STPPaymentContext internally; you shouldn’t have to call it directly. +- (nonnull instancetype)initWithPaymentOption:(id _Nullable)paymentOption OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// An enum representing the status of a payment requested from the user. +typedef SWIFT_ENUM(NSInteger, STPPaymentStatus, open) { +/// The payment succeeded. + STPPaymentStatusSuccess = 0, +/// The payment failed due to an unforeseen error, such as the user’s Internet connection being offline. + STPPaymentStatusError = 1, +/// The user cancelled the payment (for example, by hitting “cancel” in the Apple Pay dialog). + STPPaymentStatusUserCancellation = 2, +}; + +enum STPPinStatus : NSInteger; + +/// STPAPIClient extensions to manage PIN on Stripe Issuing cards +SWIFT_CLASS("_TtC6Stripe23STPPinManagementService") +@interface STPPinManagementService : NSObject +/// The STPAPIClient instance to use to make API requests to Stripe. +/// Defaults to STPAPIClient.shared. +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +/// Create a STPPinManagementService, you must provide an implementation of STPIssuingCardEphemeralKeyProvider +- (nonnull instancetype)initWithKeyProvider:(id _Nonnull)keyProvider OBJC_DESIGNATED_INITIALIZER; +/// Retrieves a PIN number for a given card, +/// this call is asynchronous, implement the completion block to receive the updates +- (void)retrievePin:(NSString * _Nonnull)cardId verificationId:(NSString * _Nonnull)verificationId oneTimeCode:(NSString * _Nonnull)oneTimeCode completion:(void (^ _Nonnull)(STPIssuingCardPin * _Nullable, enum STPPinStatus, NSError * _Nullable))completion; +/// Updates a PIN number for a given card, +/// this call is asynchronous, implement the completion block to receive the updates +- (void)updatePin:(NSString * _Nonnull)cardId newPin:(NSString * _Nonnull)newPin verificationId:(NSString * _Nonnull)verificationId oneTimeCode:(NSString * _Nonnull)oneTimeCode completion:(void (^ _Nonnull)(STPIssuingCardPin * _Nullable, enum STPPinStatus, NSError * _Nullable))completion; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// An enum representing the success and error states of PIN management +typedef SWIFT_ENUM(NSInteger, STPPinStatus, open) { +/// The verification object was already redeemed + STPPinStatusSuccess = 0, +/// The verification object was already redeemed + STPPinStatusErrorVerificationAlreadyRedeemed = 1, +/// The one-time code was incorrect + STPPinStatusErrorVerificationCodeIncorrect = 2, +/// The verification object was expired + STPPinStatusErrorVerificationExpired = 3, +/// The verification object has been attempted too many times + STPPinStatusErrorVerificationTooManyAttempts = 4, +/// An error occured while retrieving the ephemeral key + STPPinStatusEphemeralKeyError = 5, +/// An unknown error occured + STPPinStatusUnknownError = 6, +}; + +@class PKAddPaymentPassViewController; +@class PKAddPaymentPassRequest; + +/// This class makes it easier to implement “Push Provisioning”, the process by which an end-user can add a card to their Apple Pay wallet without having to type their number. This process is mediated by an Apple class called PKAddPaymentPassViewController; this class will help you implement that class’ delegate methods. Note that this flow requires a special entitlement from Apple; for more information please see https://stripe.com/docs/issuing/cards/digital-wallets . +SWIFT_CLASS("_TtC6Stripe26STPPushProvisioningContext") +@interface STPPushProvisioningContext : NSObject +/// The STPAPIClient instance to use to make API requests to Stripe. +/// Defaults to STPAPIClient.shared. +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +/// This is a helper method to generate a PKAddPaymentPassRequestConfiguration that will work with +/// Stripe’s Issuing APIs. Pass the returned configuration object to PKAddPaymentPassViewController’s initWithRequestConfiguration:delegate: initializer. +/// \param name Your cardholder’s name. Example: John Appleseed +/// +/// \param description A localized description of your card’s name. This will appear in Apple’s UI as “{description} will be available in Wallet”. Example: Platinum Rewards Card +/// +/// \param last4 The last 4 of the card to be added to the user’s Apple Pay wallet. Example: 4242 +/// +/// \param brand The brand of the card. Example: STPCardBrandVisa +/// ++ (PKAddPaymentPassRequestConfiguration * _Nonnull)requestConfigurationWithName:(NSString * _Nonnull)name description:(NSString * _Nullable)description last4:(NSString * _Nullable)last4 brand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// In order to retreive the encrypted payload that PKAddPaymentPassViewController expects, the Stripe SDK must talk to the Stripe API. As this requires privileged access, you must write a “key provider” that generates an Ephemeral Key on your backend and provides it to the SDK when requested. For more information, see https://stripe.com/docs/mobile/ios/basic#ephemeral-key +- (nonnull instancetype)initWithKeyProvider:(id _Nonnull)keyProvider OBJC_DESIGNATED_INITIALIZER; +/// This method lines up with the method of the same name on PKAddPaymentPassViewControllerDelegate. You should implement that protocol in your own app, and when that method is called, call this method on your STPPushProvisioningContext. This in turn will first initiate a call to your keyProvider (see above) to obtain an Ephemeral Key, then make a call to the Stripe Issuing API to fetch an encrypted payload for the card in question, then return that payload to iOS. +- (void)addPaymentPassViewController:(PKAddPaymentPassViewController * _Nonnull)controller generateRequestWithCertificateChain:(NSArray * _Nonnull)certificates nonce:(NSData * _Nonnull)nonce nonceSignature:(NSData * _Nonnull)nonceSignature completionHandler:(void (^ _Nonnull)(PKAddPaymentPassRequest * _Nonnull))handler; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// A helper class for turning the raw certificate array, nonce, and nonce signature emitted by PKAddPaymentPassViewController into a format that is understandable by the Stripe API. +/// If you are using STPPushProvisioningContext to implement your integration, you do not need to use this class. +SWIFT_CLASS("_TtC6Stripe32STPPushProvisioningDetailsParams") +@interface STPPushProvisioningDetailsParams : NSObject +/// The Stripe ID of the Issuing card object to retrieve details for. +@property (nonatomic, readonly, copy) NSString * _Nonnull cardId; +/// An array of certificates that should be used to encrypt the card details. +@property (nonatomic, readonly, copy) NSArray * _Nonnull certificates; +/// A nonce that should be used during the encryption of the card details. +@property (nonatomic, readonly, copy) NSData * _Nonnull nonce; +/// A nonce signature that should be used during the encryption of the card details. +@property (nonatomic, readonly, copy) NSData * _Nonnull nonceSignature; +/// Implemented for convenience - the Stripe API expects the certificate chain as an array of base64-encoded strings. +@property (nonatomic, readonly, copy) NSArray * _Nonnull certificatesBase64; +/// Implemented for convenience - the Stripe API expects the nonce as a hex-encoded string. +@property (nonatomic, readonly, copy) NSString * _Nonnull nonceHex; +/// Implemented for convenience - the Stripe API expects the nonce signature as a hex-encoded string. +@property (nonatomic, readonly, copy) NSString * _Nonnull nonceSignatureHex; +/// Instantiates a new params object with the provided attributes. +- (nonnull instancetype)initWithCardId:(NSString * _Nonnull)cardId certificates:(NSArray * _Nonnull)certificates nonce:(NSData * _Nonnull)nonce nonceSignature:(NSData * _Nonnull)nonceSignature OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// A Radar Session. +/// note: +/// This API and the guide linked above require special permissions to use. Contact support@stripe.com if you’re interested. +SWIFT_CLASS("_TtC6Stripe15STPRadarSession") +@interface STPRadarSession : NSObject +/// The Stripe identifier of the RadarSession +@property (nonatomic, readonly, copy) NSString * _Nonnull id; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; ++ (STPRadarSession * _Nullable)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +enum STPRedirectContextState : NSInteger; +@class UIPresentationController; + +/// This is a helper class for handling redirects associated with STPSource and +/// STPPaymentIntents. +/// Init and retain an instance with the Source or PaymentIntent you want to handle, +/// then choose a redirect method. The context will fire the completion handler +/// when the redirect completes. +/// Due to the nature of iOS, very little concrete information can be gained +/// during this process, as all actions take place in either the Safari app +/// or the sandboxed SFSafariViewController class. The context attempts to +/// detect when the user has completed the necessary redirect action by listening +/// for both app foregrounds and url callbacks received in the app delegate. +/// However, it is possible the when the redirect is “completed”, the user may +/// have not actually completed the necessary actions to authorize the charge. +/// You should not use either this class, nor STPAPIClient, as a way +/// to determine when you should charge the Source or to determine if the redirect +/// was successful. Use Stripe webhooks on your backend server to listen for Source +/// state changes and to make the charge. +/// @note You must retain this instance for the duration of the redirect flow. +/// This class dismisses any presented view controller upon deallocation. +/// See https://stripe.com/docs/sources/best-practices +SWIFT_CLASS("_TtC6Stripe18STPRedirectContext") SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable) SWIFT_AVAILABILITY(ios_app_extension,unavailable) +@interface STPRedirectContext : NSObject +/// The domain for NSErrors specific to STPRedirectContext +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull STPRedirectContextErrorDomain;) ++ (NSString * _Nonnull)STPRedirectContextErrorDomain SWIFT_WARN_UNUSED_RESULT; +/// The current state of the context. +@property (nonatomic, readonly) enum STPRedirectContextState state; +/// Initializer for context from an STPSource. +/// @note You must ensure that the returnURL set up in the created source +/// correctly goes to your app so that users can be returned once +/// they complete the redirect in the web broswer. +/// \param source The source that needs user redirect action to be taken. +/// +/// \param completion A block to fire when the action is believed to have +/// been completed. +/// +/// +/// returns: +/// nil if the specified source is not a redirect-flow source. Otherwise +/// a new context object. +/// @note Execution of the completion block does not necessarily mean the user +/// successfully performed the redirect action. You should listen for source status +/// change webhooks on your backend to determine the result of a redirect. +- (nullable instancetype)initWithSource:(STPSource * _Nonnull)source completion:(void (^ _Nonnull)(NSString * _Nonnull, NSString * _Nullable, NSError * _Nullable))completion; +/// Initializer for context from an STPPaymentIntent. +/// This should be used when the status is STPPaymentIntentStatusRequiresAction. +/// If the next action involves a redirect, this init method will return a non-nil object. +/// \param paymentIntent The STPPaymentIntent that needs a redirect. +/// +/// \param completion A block to fire when the action is believed to have +/// been completed. +/// +/// +/// returns: +/// nil if the provided PaymentIntent does not need a redirect. Otherwise +/// a new context object. +/// @note Execution of the completion block does not necessarily mean the user +/// successfully performed the redirect action. +- (nullable instancetype)initWithPaymentIntent:(STPPaymentIntent * _Nonnull)paymentIntent completion:(void (^ _Nonnull)(NSString * _Nonnull, NSError * _Nullable))completion; +/// Starts a redirect flow. +/// You must ensure that your app delegate listens for the returnURL that you +/// set on the Stripe object, and forwards it to the Stripe SDK so that the +/// context can be notified when the redirect is completed and dismiss the +/// view controller. See StripeAPI.handleURLCallback(with url:) +/// The context will listen for both received URLs and app open notifications +/// and fire its completion block when either the URL is received, or the next +/// time the app is foregrounded. +/// The context will initiate the flow by presenting a SFSafariViewController +/// instance from the passsed in view controller. If you want more manual control +/// over the redirect method, you can use startSafariViewControllerRedirectFlowFromViewController +/// or startSafariAppRedirectFlow +/// If the redirect supports a native app, and that app is is installed on the user’s +/// device, this call will do a direct app-to-app redirect instead of showing +/// a web url. +/// @note This method does nothing if the context is not in the +/// STPRedirectContextStateNotStarted state. +/// \param presentingViewController The view controller to present the Safari +/// view controller from. +/// +- (void)startRedirectFlowFromViewController:(UIViewController * _Nonnull)presentingViewController; +/// Starts a redirect flow by presenting an SFSafariViewController in your app +/// from the passed in view controller. +/// You must ensure that your app delegate listens for the returnURL that you +/// set on the Stripe object, and forwards it to the Stripe SDK so that the +/// context can be notified when the redirect is completed and dismiss the +/// view controller. See StripeAPI.handleStripeURLCallback(with url:)] +/// The context will listen for both received URLs and app open notifications +/// and fire its completion block when either the URL is received, or the next +/// time the app is foregrounded. +/// @note This method does nothing if the context is not in the +/// STPRedirectContextStateNotStarted state. +/// \param presentingViewController The view controller to present the Safari +/// view controller from. +/// +- (void)startSafariViewControllerRedirectFlowFromViewController:(UIViewController * _Nonnull)presentingViewController; +/// Starts a redirect flow by calling openURL to bounce the user out to +/// the Safari app. +/// The context will listen for app open notifications and fire its completion +/// block the next time the user re-opens the app (either manually or via url) +/// @note This method does nothing if the context is not in the +/// STPRedirectContextStateNotStarted state. +- (void)startSafariAppRedirectFlow; +/// Dismisses any presented views and stops listening for any +/// app opens or callbacks. The completion block will not be fired. +- (void)cancel; +/// :nodoc: +- (void)safariViewControllerDidFinish:(SFSafariViewController * _Nonnull)controller; +/// :nodoc: +- (void)safariViewController:(SFSafariViewController * _Nonnull)controller didCompleteInitialLoad:(BOOL)didLoadSuccessfully; +/// :nodoc: +- (void)safariViewController:(SFSafariViewController * _Nonnull)controller initialLoadDidRedirectToURL:(NSURL * _Nonnull)URL; +/// :nodoc: +- (UIPresentationController * _Nullable)presentationControllerForPresentedViewController:(UIViewController * _Nonnull)presented presentingViewController:(UIViewController * _Nullable)presenting sourceViewController:(UIViewController * _Nonnull)source SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable) SWIFT_AVAILABILITY(ios_app_extension,unavailable) +@interface STPRedirectContext (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (BOOL)handleURLCallback:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; +@end + +/// Error codes specific to STPRedirectContext +typedef SWIFT_ENUM(NSInteger, STPRedirectContextError, open) { +/// STPRedirectContext failed to redirect to the app to complete the payment. +/// This could be because the app is not installed on the user’s device. + STPRedirectContextAppRedirectError SWIFT_COMPILE_NAME("appRedirectError") = 0, +}; + +/// Possible states for the redirect context to be in +typedef SWIFT_ENUM(NSInteger, STPRedirectContextState, open) { +/// Initialized, but redirect not started. + STPRedirectContextStateNotStarted = 0, +/// Redirect is in progress. + STPRedirectContextStateInProgress = 1, +/// Redirect has been cancelled programmatically before completing. + STPRedirectContextStateCancelled = 2, +/// Redirect has completed. + STPRedirectContextStateCompleted = 3, +}; + +enum STPSetupIntentStatus : NSInteger; +enum STPSetupIntentUsage : NSInteger; +@class STPSetupIntentLastSetupError; + +/// A SetupIntent guides you through the process of setting up a customer’s payment credentials for future payments. +/// seealso: +/// https://stripe.com/docs/api/setup_intents +SWIFT_CLASS("_TtC6Stripe14STPSetupIntent") +@interface STPSetupIntent : NSObject +/// The Stripe ID of the SetupIntent. +@property (nonatomic, readonly, copy) NSString * _Nonnull stripeID; +/// The client secret of this SetupIntent. Used for client-side retrieval using a publishable key. +@property (nonatomic, readonly, copy) NSString * _Nonnull clientSecret; +/// Time at which the object was created. +@property (nonatomic, readonly, copy) NSDate * _Nonnull created; +/// ID of the Customer this SetupIntent belongs to, if one exists. +@property (nonatomic, readonly, copy) NSString * _Nullable customerID; +/// An arbitrary string attached to the object. Often useful for displaying to users. +@property (nonatomic, readonly, copy) NSString * _Nullable stripeDescription; +/// Has the value YES if the object exists in live mode or the value NO if the object exists in test mode. +@property (nonatomic, readonly) BOOL livemode; +/// If present, this property tells you what actions you need to take in order for your customer to set up this payment method. +@property (nonatomic, readonly, strong) STPIntentAction * _Nullable nextAction; +/// ID of the payment method used with this SetupIntent. +@property (nonatomic, readonly, copy) NSString * _Nullable paymentMethodID; +/// The list of payment method types (e.g. [STPPaymentMethodType.card]) that this SetupIntent is allowed to set up. +@property (nonatomic, readonly, copy) NSArray * _Nonnull paymentMethodTypes; +/// Status of this SetupIntent. +@property (nonatomic, readonly) enum STPSetupIntentStatus status; +/// Indicates how the payment method is intended to be used in the future. +@property (nonatomic, readonly) enum STPSetupIntentUsage usage; +/// The setup error encountered in the previous SetupIntent confirmation. +@property (nonatomic, readonly, strong) STPSetupIntentLastSetupError * _Nullable lastSetupError; +/// Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. +/// @deprecated Metadata is not returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead. +/// seealso: +/// https://stripe.com/docs/api#metadata +@property (nonatomic, readonly, copy) NSDictionary * _Nullable metadata SWIFT_DEPRECATED_MSG("Metadata is not returned to clients using publishable keys. Retrieve them on your server using your secret key instead."); +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters to confirm a SetupIntent object. +/// For example, you would confirm a SetupIntent when a customer hits the “Save” button on a payment method management view in your app. +/// If the selected payment method does not require any additional steps from the customer, the SetupIntent’s status will transition to STPSetupIntentStatusSucceeded. Otherwise, it will transition to STPSetupIntentStatusRequiresAction, and suggest additional actions via nextAction. +/// Instead of passing this to STPAPIClient.confirmSetupIntent(...) directly, we recommend using STPPaymentHandler to handle any additional steps for you. +/// seealso: +/// https://stripe.com/docs/api/setup_intents/confirm +SWIFT_CLASS("_TtC6Stripe27STPSetupIntentConfirmParams") +@interface STPSetupIntentConfirmParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initialize this STPSetupIntentConfirmParams with a clientSecret. +/// \param clientSecret the client secret for this SetupIntent +/// +- (nonnull instancetype)initWithClientSecret:(NSString * _Nonnull)clientSecret OBJC_DESIGNATED_INITIALIZER; +/// The client secret of the SetupIntent. Required. +@property (nonatomic, copy) NSString * _Nonnull clientSecret; +/// Provide a supported STPPaymentMethodParams object, and Stripe will create a +/// PaymentMethod during PaymentIntent confirmation. +/// @note alternative to paymentMethodId +@property (nonatomic, strong) STPPaymentMethodParams * _Nullable paymentMethodParams; +/// Provide an already created PaymentMethod’s id, and it will be used to confirm the SetupIntent. +/// @note alternative to paymentMethodParams +@property (nonatomic, copy) NSString * _Nullable paymentMethodID; +/// The URL to redirect your customer back to after they authenticate or cancel +/// their payment on the payment method’s app or site. +/// This should probably be a URL that opens your iOS app. +@property (nonatomic, copy) NSString * _Nullable returnURL; +/// A boolean number to indicate whether you intend to use the Stripe SDK’s functionality to handle any SetupIntent next actions. +/// If set to false, STPSetupIntent.nextAction will only ever contain a redirect url that can be opened in a webview or mobile browser. +/// When set to true, the nextAction may contain information that the Stripe SDK can use to perform native authentication within your +/// app. +@property (nonatomic, strong) NSNumber * _Nullable useStripeSDK; +/// Details about the Mandate to create. +/// @note If this value is null and the (self.paymentMethod.type == STPPaymentMethodTypeSEPADebit | | self.paymentMethodParams.type == STPPaymentMethodTypeAUBECSDebit || self.paymentMethodParams.type == STPPaymentMethodTypeBacsDebit) && self.mandate == nil, the SDK will set this to an internal value indicating that the mandate data should be inferred from the current context. +@property (nonatomic, strong) STPMandateDataParams * _Nullable mandateData; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +@end + +enum STPSetupIntentLastSetupErrorType : NSUInteger; + +/// A value for code indicating the provided payment method failed authentication./// The error encountered in the previous SetupIntent confirmation. +/// seealso: +/// https://stripe.com/docs/api/setup_intents/object#setup_intent_object-last_setup_error +SWIFT_CLASS("_TtC6Stripe28STPSetupIntentLastSetupError") +@interface STPSetupIntentLastSetupError : NSObject +/// For some errors that could be handled programmatically, a short string indicating the error code reported. +/// seealso: +/// https://stripe.com/docs/error-codes +@property (nonatomic, readonly, copy) NSString * _Nullable code; +/// For card (STPSetupIntentLastSetupErrorTypeCard) errors resulting from a card issuer decline, +/// a short string indicating the card issuer’s reason for the decline if they provide one. +/// seealso: +/// https://stripe.com/docs/declines#issuer-declines +@property (nonatomic, readonly, copy) NSString * _Nullable declineCode; +/// A URL to more information about the error code reported. +/// seealso: +/// https://stripe.com/docs/error-codes +@property (nonatomic, readonly, copy) NSString * _Nullable docURL; +/// A human-readable message providing more details about the error. +/// For card (STPSetupIntentLastSetupErrorTypeCard) errors, these messages can be shown to your users. +@property (nonatomic, readonly, copy) NSString * _Nullable message; +/// If the error is parameter-specific, the parameter related to the error. +/// For example, you can use this to display a message near the correct form field. +@property (nonatomic, readonly, copy) NSString * _Nullable param; +/// The PaymentMethod object for errors returned on a request involving a PaymentMethod. +@property (nonatomic, readonly, strong) STPPaymentMethod * _Nullable paymentMethod; +/// The type of error. +@property (nonatomic, readonly) enum STPSetupIntentLastSetupErrorType type; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface STPSetupIntentLastSetupError (SWIFT_EXTENSION(Stripe)) +/// A possible value for the error property. The provided payment method has failed authentication. Provide a new payment method to attempt to fulfill this SetupIntent again. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull CodeAuthenticationFailure;) ++ (NSString * _Nonnull)CodeAuthenticationFailure SWIFT_WARN_UNUSED_RESULT; +@end + +/// The type of the error represented by STPSetupIntentLastSetupError. +/// Some STPSetupIntentLastError properties are only populated for certain error types. +typedef SWIFT_ENUM(NSUInteger, STPSetupIntentLastSetupErrorType, open) { +/// An unknown error type. + STPSetupIntentLastSetupErrorTypeUnknown = 0, +/// An error connecting to Stripe’s API. + STPSetupIntentLastSetupErrorTypeAPIConnection SWIFT_COMPILE_NAME("apiConnection") = 1, +/// An error with the Stripe API. + STPSetupIntentLastSetupErrorTypeAPI = 2, +/// A failure to authenticate your customer. + STPSetupIntentLastSetupErrorTypeAuthentication = 3, +/// Card errors are the most common type of error you should expect to handle. +/// They result when the user enters a card that can’t be charged for some reason. +/// Check the declineCode property for the decline code. The message property contains a message you can show to your users. + STPSetupIntentLastSetupErrorTypeCard = 4, +/// Keys for idempotent requests can only be used with the same parameters they were first used with. + STPSetupIntentLastSetupErrorTypeIdempotency = 5, +/// Invalid request errors. Typically, this is because your request has invalid parameters. + STPSetupIntentLastSetupErrorTypeInvalidRequest = 6, +/// Too many requests hit the API too quickly. + STPSetupIntentLastSetupErrorTypeRateLimit = 7, +}; + +/// Status types for an STPSetupIntent +typedef SWIFT_ENUM(NSInteger, STPSetupIntentStatus, open) { +/// Unknown status + STPSetupIntentStatusUnknown = 0, +/// This SetupIntent requires a PaymentMethod + STPSetupIntentStatusRequiresPaymentMethod = 1, +/// This SetupIntent needs to be confirmed + STPSetupIntentStatusRequiresConfirmation = 2, +/// The selected PaymentMethod requires additional authentication steps. +/// Additional actions found via the nextAction property of STPSetupIntent + STPSetupIntentStatusRequiresAction = 3, +/// Stripe is processing this SetupIntent + STPSetupIntentStatusProcessing = 4, +/// The SetupIntent has succeeded + STPSetupIntentStatusSucceeded = 5, +/// This SetupIntent was canceled and cannot be changed. + STPSetupIntentStatusCanceled = 6, +}; + +/// Indicates how the payment method is intended to be used in the future. +/// seealso: +/// https://stripe.com/docs/api/setup_intents/create#create_setup_intent-usage +typedef SWIFT_ENUM(NSInteger, STPSetupIntentUsage, open) { +/// Unknown value. Update your SDK, or use allResponseFields for custom handling. + STPSetupIntentUsageUnknown = 0, +/// No value was provided. + STPSetupIntentUsageNone = 1, +/// Indicates you intend to only reuse the payment method when the customer is in your checkout flow. + STPSetupIntentUsageOnSession = 2, +/// Indicates you intend to reuse the payment method when the customer may or may not be in your checkout flow. + STPSetupIntentUsageOffSession = 3, +}; + + +/// This view controller contains a shipping address collection form. It renders a right bar button item that submits the form, so it must be shown inside a UINavigationController. Depending on your configuration’s shippingType, the view controller may present a shipping method selection form after the user enters an address. +SWIFT_CLASS("_TtC6Stripe32STPShippingAddressViewController") +@interface STPShippingAddressViewController : STPCoreTableViewController +/// A convenience initializer; equivalent to calling init(configuration: STPPaymentConfiguration.shared theme: STPTheme.defaultTheme currency:"" shippingAddress:nil selectedShippingMethod:nil prefilledInformation:nil). +- (nonnull instancetype)init; +/// Initializes a new STPShippingAddressViewController with the given payment context and sets the payment context as its delegate. +/// \param paymentContext The payment context to use. +/// +- (nonnull instancetype)initWithPaymentContext:(STPPaymentContext * _Nonnull)paymentContext; +/// Initializes a new STPShippingAddressCardViewController with the provided parameters. +/// \param configuration The configuration to use (this determines the required shipping address fields and shipping type). - seealso: STPPaymentConfiguration +/// +/// \param theme The theme to use to inform the view controller’s visual appearance. - seealso: STPTheme +/// +/// \param currency The currency to use when displaying amounts for shipping methods. The default is USD. +/// +/// \param shippingAddress If set, the shipping address view controller will be pre-filled with this address. - seealso: STPAddress +/// +/// \param selectedShippingMethod If set, the shipping methods view controller will use this method as the selected shipping method. If selectedShippingMethod is nil, the first shipping method in the array of methods returned by your delegate will be selected. +/// +/// \param prefilledInformation If set, the shipping address view controller will be pre-filled with this information. - seealso: STPUserInformation +/// +- (nonnull instancetype)initWithConfiguration:(STPPaymentConfiguration * _Nonnull)configuration theme:(STPTheme * _Nonnull)theme currency:(NSString * _Nullable)currency shippingAddress:(STPAddress * _Nullable)shippingAddress selectedShippingMethod:(PKShippingMethod * _Nullable)selectedShippingMethod prefilledInformation:(STPUserInformation * _Nullable)prefilledInformation OBJC_DESIGNATED_INITIALIZER; +/// The view controller’s delegate. This must be set before showing the view controller in order for it to work properly. - seealso: STPShippingAddressViewControllerDelegate +@property (nonatomic, weak) id _Nullable delegate; +/// If you’re pushing STPShippingAddressViewController onto an existing UINavigationController‘s stack, you should use this method to dismiss it, since it may have pushed an additional shipping method view controller onto the navigation controller’s stack. +/// \param completion The callback to run after the view controller is dismissed. You may specify nil for this parameter. +/// +- (void)dismissWithCompletion:(void (^ _Nullable)(void))completion; +/// Use one of the initializers declared in this interface. +- (nonnull instancetype)initWithTheme:(STPTheme * _Nullable)theme OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE_MSG("Use one of the initializers declared in this interface instead."); +/// Use one of the initializers declared in this interface. +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE_MSG("Use one of the initializers declared in this interface instead."); +/// Use one of the initializers declared in this interface. +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE; +/// :nodoc: +- (void)viewDidAppear:(BOOL)animated; +/// :nodoc: +- (CGFloat)tableView:(UITableView * _Nonnull)tableView heightForHeaderInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +@end + + + +@interface STPShippingAddressViewController (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (NSInteger)numberOfSectionsInTableView:(UITableView * _Nonnull)tableView SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (NSInteger)tableView:(UITableView * _Nonnull)tableView numberOfRowsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (UITableViewCell * _Nonnull)tableView:(UITableView * _Nonnull)tableView cellForRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)tableView:(UITableView * _Nonnull)tableView willDisplayCell:(UITableViewCell * _Nonnull)cell forRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath; +/// :nodoc: +- (CGFloat)tableView:(UITableView * _Nonnull)tableView heightForFooterInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (UIView * _Nullable)tableView:(UITableView * _Nonnull)tableView viewForFooterInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (UIView * _Nullable)tableView:(UITableView * _Nonnull)tableView viewForHeaderInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An enum representing the status of a shipping address validation. +typedef SWIFT_ENUM(NSInteger, STPShippingStatus, open) { +/// The shipping address is valid. + STPShippingStatusValid = 0, +/// The shipping address is invalid. + STPShippingStatusInvalid = 1, +}; + +/// These values control the labels used in the shipping info collection form. +typedef SWIFT_ENUM(NSInteger, STPShippingType, open) { +/// Shipping the purchase to the provided address using a third-party +/// shipping company. + STPShippingTypeShipping = 0, +/// Delivering the purchase by the seller. + STPShippingTypeDelivery = 1, +}; + +enum STPSourceFlow : NSInteger; +@class STPSourceOwner; +@class STPSourceReceiver; +@class STPSourceRedirect; +enum STPSourceStatus : NSInteger; +enum STPSourceType : NSInteger; +enum STPSourceUsage : NSInteger; +@class STPSourceVerification; +@class STPSourceCardDetails; +@class STPSourceKlarnaDetails; +@class STPSourceSEPADebitDetails; +@class STPSourceWeChatPayDetails; + +/// Representation of a customer’s payment instrument created with the Stripe API. - seealso: https://stripe.com/docs/api#sources +SWIFT_CLASS("_TtC6Stripe9STPSource") +@interface STPSource : NSObject +/// You cannot directly instantiate an STPSource. You should only use one that +/// has been returned from an STPAPIClient callback. +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// The amount associated with the source. +@property (nonatomic, readonly, strong) NSNumber * _Nullable amount; +/// The client secret of the source. Used for client-side fetching of a source +/// using a publishable key. +@property (nonatomic, readonly, copy) NSString * _Nullable clientSecret; +/// When the source was created. +@property (nonatomic, readonly, copy) NSDate * _Nullable created; +/// The currency associated with the source. +@property (nonatomic, readonly, copy) NSString * _Nullable currency; +/// The authentication flow of the source. +@property (nonatomic, readonly) enum STPSourceFlow flow; +/// Whether or not this source was created in livemode. +@property (nonatomic, readonly) BOOL livemode; +/// Information about the owner of the payment instrument. +@property (nonatomic, readonly, strong) STPSourceOwner * _Nullable owner; +/// Information related to the receiver flow. Present if the source’s flow +/// is receiver. +@property (nonatomic, readonly, strong) STPSourceReceiver * _Nullable receiver; +/// Information related to the redirect flow. Present if the source’s flow +/// is redirect. +@property (nonatomic, readonly, strong) STPSourceRedirect * _Nullable redirect; +/// The status of the source. +@property (nonatomic, readonly) enum STPSourceStatus status; +/// The type of the source. +@property (nonatomic, readonly) enum STPSourceType type; +/// Whether this source should be reusable or not. +@property (nonatomic, readonly) enum STPSourceUsage usage; +/// Information related to the verification flow. Present if the source’s flow +/// is verification. +@property (nonatomic, readonly, strong) STPSourceVerification * _Nullable verification; +/// Information about the source specific to its type +@property (nonatomic, readonly, copy) NSDictionary * _Nullable details; +/// If this is a card source, this property provides typed access to the +/// contents of the details dictionary. +@property (nonatomic, readonly, strong) STPSourceCardDetails * _Nullable cardDetails; +/// If this is a Klarna source, this property provides typed access to the +/// contents of the details dictionary. +@property (nonatomic, readonly, strong) STPSourceKlarnaDetails * _Nullable klarnaDetails; +/// If this is a SEPA Debit source, this property provides typed access to the +/// contents of the details dictionary. +@property (nonatomic, readonly, strong) STPSourceSEPADebitDetails * _Nullable sepaDebitDetails; +/// If this is a WeChat Pay source, this property provides typed access to the +/// contents of the details dictionary. +@property (nonatomic, readonly, strong) STPSourceWeChatPayDetails * _Nullable weChatPayDetails; +/// A set of key/value pairs associated with the source object. +/// @deprecated Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead. +/// seealso: +/// https://stripe.com/docs/api#metadata +@property (nonatomic, readonly, copy) NSDictionary * _Nullable metadata SWIFT_DEPRECATED_MSG("Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead."); +@property (nonatomic, copy) NSString * _Nonnull stripeID; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) NSUInteger hash; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, strong) UIImage * _Nonnull image; +@property (nonatomic, readonly, strong) UIImage * _Nonnull templateImage; +@property (nonatomic, readonly, copy) NSString * _Nonnull label; +@property (nonatomic, readonly) BOOL isReusable; +@end + +/// The status of this card’s 3D Secure support. +/// seealso: +/// https://stripe.com/docs/sources/three-d-secure#check-requirement +typedef SWIFT_ENUM(NSInteger, STPSourceCard3DSecureStatus, open) { +/// 3D Secure is required. This card must be converted into a 3D Secure +/// source for a charge on it to be successful. + STPSourceCard3DSecureStatusRequired = 0, +/// 3D Secure is optional. It is not required nor recommended for successful charging, +/// but can be performed to help reduce the likelihood of fraud. + STPSourceCard3DSecureStatusOptional = 1, +/// 3D Secure is not supported on this card. + STPSourceCard3DSecureStatusNotSupported = 2, +/// 3D Secure is recommended. The process is not required, but it is highly recommended +/// and has minimal impact to your conversion rate. + STPSourceCard3DSecureStatusRecommended = 3, +/// The status of 3D Secure support on this card is unknown. + STPSourceCard3DSecureStatusUnknown = 4, +}; + + +/// This class provides typed access to the contents of an STPSource details +/// dictionary for card sources. +SWIFT_CLASS("_TtC6Stripe20STPSourceCardDetails") +@interface STPSourceCardDetails : NSObject +/// The last 4 digits of the card. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// The card’s expiration month. 1-indexed (i.e. 1 == January) +@property (nonatomic, readonly) NSUInteger expMonth; +/// The card’s expiration year. +@property (nonatomic, readonly) NSUInteger expYear; +/// The issuer of the card. +@property (nonatomic, readonly) enum STPCardBrand brand; +/// The funding source for the card (credit, debit, prepaid, or other) +@property (nonatomic, readonly) enum STPCardFundingType funding; +/// Two-letter ISO code representing the issuing country of the card. +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// Whether 3D Secure is supported or required by the card. +@property (nonatomic, readonly) enum STPSourceCard3DSecureStatus threeDSecure; +/// True if this card was created through Apple Pay, false otherwise. +@property (nonatomic, readonly) BOOL isApplePayCard; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// Authentication flows for a Source +typedef SWIFT_ENUM(NSInteger, STPSourceFlow, open) { +/// No action is required from your customer. +/// @note WeChat Pay Sources also have this flow type. + STPSourceFlowNone = 0, +/// Your customer must be redirected to their online banking service (either a website or mobile banking app) to approve the payment. + STPSourceFlowRedirect = 1, +/// Your customer must verify ownership of their account by providing a code that you post to the Stripe API for authentication. + STPSourceFlowCodeVerification = 2, +/// Your customer must push funds to the account information provided. + STPSourceFlowReceiver = 3, +/// The source’s flow is unknown. + STPSourceFlowUnknown = 4, +}; + + +/// Details of a Klarna source. +SWIFT_CLASS("_TtC6Stripe22STPSourceKlarnaDetails") +@interface STPSourceKlarnaDetails : NSObject +/// The Klarna-specific client token. This may be used with the Klarna SDK. +/// seealso: +/// https://developers.klarna.com/documentation/in-app/ios/steps-klarna-payments-native/#initialization +@property (nonatomic, readonly, copy) NSString * _Nullable clientToken; +/// The ISO-3166 2-letter country code of the customer’s location. +@property (nonatomic, readonly, copy) NSString * _Nullable purchaseCountry; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Information about a source’s owner. +SWIFT_CLASS("_TtC6Stripe14STPSourceOwner") +@interface STPSourceOwner : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// Owner’s address. +@property (nonatomic, readonly, strong) STPAddress * _Nullable address; +/// Owner’s email address. +@property (nonatomic, readonly, copy) NSString * _Nullable email; +/// Owner’s full name. +@property (nonatomic, readonly, copy) NSString * _Nullable name; +/// Owner’s phone number. +@property (nonatomic, readonly, copy) NSString * _Nullable phone; +/// Verified owner’s address. +@property (nonatomic, readonly, strong) STPAddress * _Nullable verifiedAddress; +/// Verified owner’s email address. +@property (nonatomic, readonly, copy) NSString * _Nullable verifiedEmail; +/// Verified owner’s full name. +@property (nonatomic, readonly, copy) NSString * _Nullable verifiedName; +/// Verified owner’s phone number. +@property (nonatomic, readonly, copy) NSString * _Nullable verifiedPhone; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An object representing parameters used to create a Source object. +/// seealso: +/// https://stripe.com/docs/api#create_source +SWIFT_CLASS("_TtC6Stripe15STPSourceParams") +@interface STPSourceParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// The type of the source to create. Required. +@property (nonatomic) enum STPSourceType type; +/// The raw underlying type string sent to the server. +/// Generally you should use type instead unless you have a reason not to. +/// You can use this if you want to create a param of a type not yet supported +/// by the current version of the SDK’s STPSourceType enum. +/// Setting this to a value not known by the SDK causes type to +/// return STPSourceTypeUnknown +@property (nonatomic, copy) NSString * _Nullable rawTypeString; +/// A positive integer in the smallest currency unit representing the +/// amount to charge the customer (e.g., @1099 for a €10.99 payment). +/// Required for single_use sources. +@property (nonatomic, strong) NSNumber * _Nullable amount; +/// The currency associated with the source. This is the currency for which the source +/// will be chargeable once ready. +@property (nonatomic, copy) NSString * _Nullable currency; +/// The authentication flow of the source to create. flow may be “redirect”, +/// “receiver”, “verification”, or “none”. It is generally inferred unless a type +/// supports multiple flows. +@property (nonatomic) enum STPSourceFlow flow; +/// A set of key/value pairs that you can attach to a source object. +@property (nonatomic, copy) NSDictionary * _Nullable metadata; +/// Information about the owner of the payment instrument. May be used or required +/// by particular source types. +@property (nonatomic, copy) NSDictionary * _Nullable owner; +/// Parameters required for the redirect flow. Required if the source is +/// authenticated by a redirect (flow is “redirect”). +@property (nonatomic, copy) NSDictionary * _Nullable redirect; +/// An optional token used to create the source. When passed, token properties will +/// override source parameters. +@property (nonatomic, copy) NSString * _Nullable token; +/// Whether this source should be reusable or not. usage may be “reusable” or +/// “single_use”. Some source types may or may not be reusable by construction, +/// while other may leave the option at creation. +@property (nonatomic) enum STPSourceUsage usage; +/// Initializes an empty STPSourceParams. +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPSourceParams (SWIFT_EXTENSION(Stripe)) +/// Creates params for a Bancontact source. +/// seealso: +/// https://stripe.com/docs/bancontact#create-source +/// \param amount The amount to charge the customer in EUR. +/// +/// \param name The full name of the account holder. +/// +/// \param returnURL The URL the customer should be redirected to after +/// they have successfully verified the payment. +/// +/// \param statementDescriptor (Optional) A custom statement descriptor for +/// the payment. +/// @note The currency for Bancontact must be “eur”. This will be set automatically +/// for you. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)bancontactParamsWithAmount:(NSInteger)amount name:(NSString * _Nonnull)name returnURL:(NSString * _Nonnull)returnURL statementDescriptor:(NSString * _Nullable)statementDescriptor SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Card source. +/// seealso: +/// https://stripe.com/docs/sources/cards#create-source +/// \param card An object containing the user’s card details +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided card details. ++ (STPSourceParams * _Nonnull)cardParamsWithCard:(STPCardParams * _Nonnull)card SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Giropay source. +/// seealso: +/// https://stripe.com/docs/sources/giropay#create-source +/// \param amount The amount to charge the customer in EUR. +/// +/// \param name The full name of the account holder. +/// +/// \param returnURL The URL the customer should be redirected to after +/// they have successfully verified the payment. +/// +/// \param statementDescriptor (Optional) A custom statement descriptor for +/// the payment. +/// @note The currency for Giropay must be “eur”. This will be set automatically +/// for you. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)giropayParamsWithAmount:(NSInteger)amount name:(NSString * _Nonnull)name returnURL:(NSString * _Nonnull)returnURL statementDescriptor:(NSString * _Nullable)statementDescriptor SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an iDEAL source. +/// seealso: +/// https://stripe.com/docs/sources/ideal#create-source +/// \param amount The amount to charge the customer in EUR. +/// +/// \param name (Optional) The full name of the account holder. +/// +/// \param returnURL The URL the customer should be redirected to after +/// they have successfully verified the payment. +/// +/// \param statementDescriptor (Optional) A custom statement descriptor for t +/// he payment. +/// +/// \param bank (Optional) The customer’s bank. +/// @note The currency for iDEAL must be “eur”. This will be set automatically +/// for you. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)idealParamsWithAmount:(NSInteger)amount name:(NSString * _Nullable)name returnURL:(NSString * _Nonnull)returnURL statementDescriptor:(NSString * _Nullable)statementDescriptor bank:(NSString * _Nullable)bank SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a SEPA Debit source. +/// seealso: +/// https://stripe.com/docs/sources/sepa-debit#create-source +/// \param name The full name of the account holder. +/// +/// \param iban The IBAN number for the bank account you wish to debit. +/// +/// \param addressLine1 (Optional) The bank account holder’s first address line. +/// +/// \param city (Optional) The bank account holder’s city. +/// +/// \param postalCode (Optional) The bank account holder’s postal code. +/// +/// \param country (Optional) The bank account holder’s two-letter +/// country code. +/// @note The currency for SEPA Debit must be “eur”. This will be set automatically +/// for you. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)sepaDebitParamsWithName:(NSString * _Nonnull)name iban:(NSString * _Nonnull)iban addressLine1:(NSString * _Nullable)addressLine1 city:(NSString * _Nullable)city postalCode:(NSString * _Nullable)postalCode country:(NSString * _Nullable)country SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Sofort source. +/// seealso: +/// https://stripe.com/docs/sources/sofort#create-source +/// \param amount The amount to charge the customer in EUR. +/// +/// \param returnURL The URL the customer should be redirected to after +/// they have successfully verified the payment. +/// +/// \param country The country code of the customer’s bank. +/// +/// \param statementDescriptor (Optional) A custom statement descriptor for +/// the payment. +/// @note The currency for Sofort must be “eur”. This will be set automatically +/// for you. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)sofortParamsWithAmount:(NSInteger)amount returnURL:(NSString * _Nonnull)returnURL country:(NSString * _Nonnull)country statementDescriptor:(NSString * _Nullable)statementDescriptor SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Klarna source. +/// seealso: +/// https://stripe.com/docs/sources/klarna#create-source +/// \param returnURL The URL the customer should be redirected to after +/// they have successfully verified the payment. +/// +/// \param currency The currency the payment is being created in. +/// +/// \param purchaseCountry The ISO-3166 2-letter country code of the customer’s location. +/// +/// \param items An array of STPKlarnaLineItems. Klarna will present these on the confirmation +/// page. The total amount charged will be a sum of the totalAmount of each of these items. +/// +/// \param customPaymentMethods Required for customers located in the US. This determines whether Pay Later and/or Slice It +/// is offered to a US customer. +/// +/// \param address An STPAddress for the customer. At a minimum, an email, line1, postalCode, city, and country must be provided. +/// The address’ name will be ignored in favor of the firstName and lastName` parameters. +/// +/// \param firstName The customer’s first name. +/// +/// \param lastName The customer’s last name. +/// If the provided information is missing a line1, postal code, city, email, or first/last name, or if the country code is +/// outside the specified country, no address information will be sent to Klarna, and Klarna will prompt the customer to provide their address. +/// +/// \param dateOfBirth The customer’s date of birth. This will be used by Klarna for a credit check in some EU countries. +/// The optional fields (address, firstName, lastName, and dateOfBirth) can be provided to skip Klarna’s customer information form. +/// If this information is missing, Klarna will prompt the customer for these values during checkout. +/// Be careful with this option: If the provided information is invalid, +/// Klarna may reject the transaction without giving the customer a chance to correct it. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)klarnaParamsWithReturnURL:(NSString * _Nonnull)returnURL currency:(NSString * _Nonnull)currency purchaseCountry:(NSString * _Nonnull)purchaseCountry items:(NSArray * _Nonnull)items customPaymentMethods:(NSArray * _Nonnull)customPaymentMethods billingAddress:(STPAddress * _Nullable)address billingFirstName:(NSString * _Nullable)firstName billingLastName:(NSString * _Nullable)lastName billingDOB:(STPDateOfBirth * _Nullable)dateOfBirth SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Klarna source. +/// seealso: +/// https://stripe.com/docs/sources/klarna#create-source +/// \param returnURL The URL the customer should be redirected to after +/// they have successfully verified the payment. +/// +/// \param currency The currency the payment is being created in. +/// +/// \param purchaseCountry The ISO-3166 2-letter country code of the customer’s location. +/// +/// \param items An array of STPKlarnaLineItems. Klarna will present these in the confirmation +/// dialog. The total amount charged will be a sum of the totalAmount of each of these items. +/// +/// \param customPaymentMethods Required for customers located in the US. This determines whether Pay Later and/or Slice It +/// is offered to a US customer. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)klarnaParamsWithReturnURL:(NSString * _Nonnull)returnURL currency:(NSString * _Nonnull)currency purchaseCountry:(NSString * _Nonnull)purchaseCountry items:(NSArray * _Nonnull)items customPaymentMethods:(NSArray * _Nonnull)customPaymentMethods SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a 3DS source. +/// seealso: +/// https://stripe.com/docs/sources/three-d-secure#create-3ds-source +/// \param amount The amount to charge the customer. +/// +/// \param currency The currency the payment is being created in. +/// +/// \param returnURL The URL the customer should be redirected to after they have +/// successfully verified the payment. +/// +/// \param card The ID of the card source. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided card details. ++ (STPSourceParams * _Nonnull)threeDSecureParamsWithAmount:(NSInteger)amount currency:(NSString * _Nonnull)currency returnURL:(NSString * _Nonnull)returnURL card:(NSString * _Nonnull)card SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a single-use Alipay source +/// seealso: +/// https://stripe.com/docs/sources/alipay#create-source +/// \param amount The amount to charge the customer. +/// +/// \param currency The currency the payment is being created in. +/// +/// \param returnURL The URL the customer should be redirected to after they have +/// successfully verified the payment. +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values ++ (STPSourceParams * _Nonnull)alipayParamsWithAmount:(NSInteger)amount currency:(NSString * _Nonnull)currency returnURL:(NSString * _Nonnull)returnURL SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a reusable Alipay source +/// seealso: +/// https://stripe.com/docs/sources/alipay#create-source +/// \param currency The currency the payment is being created in. +/// +/// \param returnURL The URL the customer should be redirected to after they have +/// successfully verified the payment. +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values ++ (STPSourceParams * _Nonnull)alipayReusableParamsWithCurrency:(NSString * _Nonnull)currency returnURL:(NSString * _Nonnull)returnURL SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a P24 source +/// seealso: +/// https://stripe.com/docs/sources/p24#create-source +/// \param amount The amount to charge the customer. +/// +/// \param currency The currency the payment is being created in (this must be +/// EUR or PLN) +/// +/// \param email The email address of the account holder. +/// +/// \param name The full name of the account holder (optional). +/// +/// \param returnURL The URL the customer should be redirected to after they have +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)p24ParamsWithAmount:(NSInteger)amount currency:(NSString * _Nonnull)currency email:(NSString * _Nonnull)email name:(NSString * _Nullable)name returnURL:(NSString * _Nonnull)returnURL SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a card source created from Visa Checkout. +/// seealso: +/// https://stripe.com/docs/visa-checkout +/// @note Creating an STPSource with these params will give you a +/// source with type == STPSourceTypeCard +/// \param callId The callId property from a VisaCheckoutResult object. +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)visaCheckoutParamsWithCallId:(NSString * _Nonnull)callId SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a card source created from Masterpass. +/// seealso: +/// https://stripe.com/docs/masterpass +/// @note Creating an STPSource with these params will give you a +/// source with type == STPSourceTypeCard +/// \param cartId The cartId from a MCCCheckoutResponse object. +/// +/// \param transactionId The transactionid from a MCCCheckoutResponse object. +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)masterpassParamsWithCartId:(NSString * _Nonnull)cartId transactionId:(NSString * _Nonnull)transactionId SWIFT_WARN_UNUSED_RESULT; +/// Create params for an EPS source +/// seealso: +/// https://stripe.com/docs/sources/eps +/// \param amount The amount to charge the customer. +/// +/// \param name The full name of the account holder. +/// +/// \param returnURL The URL the customer should be redirected to +/// after the authorization process. +/// +/// \param statementDescriptor A custom statement descriptor for the +/// payment (optional). +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)epsParamsWithAmount:(NSInteger)amount name:(NSString * _Nonnull)name returnURL:(NSString * _Nonnull)returnURL statementDescriptor:(NSString * _Nullable)statementDescriptor SWIFT_WARN_UNUSED_RESULT; +/// Create params for a Multibanco source +/// seealso: +/// https://stripe.com/docs/sources/multibanco +/// \param amount The amount to charge the customer. +/// +/// \param returnURL The URL the customer should be redirected to after the +/// authorization process. +/// +/// \param email The full email address of the customer. +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)multibancoParamsWithAmount:(NSInteger)amount returnURL:(NSString * _Nonnull)returnURL email:(NSString * _Nonnull)email SWIFT_WARN_UNUSED_RESULT; +/// Create params for a WeChat Pay native app redirect source +/// @note This feature is in private beta. For participating users, see +/// https://stripe.com/docs/sources/wechat-pay/ios +/// \param amount The amount to charge the customer. +/// +/// \param currency The currency of the payment +/// +/// \param appId Your WeChat-provided application id. WeChat Pay uses +/// this as the redirect URL scheme +/// +/// \param statementDescriptor A custom statement descriptor for the payment (optional). +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)wechatPayParamsWithAmount:(NSInteger)amount currency:(NSString * _Nonnull)currency appId:(NSString * _Nonnull)appId statementDescriptor:(NSString * _Nullable)statementDescriptor SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// Private setter allows for setting the name of the app in the returnURL so +/// that it can be displayed on hooks.stripe.com if the automatic redirect back +/// to the app fails. +/// We intercept the reading of redirect dictionary from STPFormEncoder and replace +/// the value of return_url if necessary +- (NSDictionary * _Nonnull)redirectDictionaryWithMerchantNameIfNecessary SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +@end + + + +/// Information related to a source’s receiver flow. +SWIFT_CLASS("_TtC6Stripe17STPSourceReceiver") +@interface STPSourceReceiver : NSObject +/// The address of the receiver source. This is the value that should be communicated to the customer to send their funds to. +@property (nonatomic, readonly, copy) NSString * _Nullable address; +/// The total amount charged by you. +@property (nonatomic, readonly, strong) NSNumber * _Nullable amountCharged; +/// The total amount received by the receiver source. +@property (nonatomic, readonly, strong) NSNumber * _Nullable amountReceived; +/// The total amount that was returned to the customer. +@property (nonatomic, readonly, strong) NSNumber * _Nullable amountReturned; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +enum STPSourceRedirectStatus : NSInteger; + +/// Information related to a source’s redirect flow. +SWIFT_CLASS("_TtC6Stripe17STPSourceRedirect") +@interface STPSourceRedirect : NSObject +/// The URL you provide to redirect the customer to after they authenticated their payment. +@property (nonatomic, readonly, copy) NSURL * _Nonnull returnURL; +/// The status of the redirect. +@property (nonatomic, readonly) enum STPSourceRedirectStatus status; +/// The URL provided to you to redirect a customer to as part of a redirect authentication flow. +@property (nonatomic, readonly, copy) NSURL * _Nonnull url; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// Redirect status types for a Source. +typedef SWIFT_ENUM(NSInteger, STPSourceRedirectStatus, open) { +/// The redirect is pending. + STPSourceRedirectStatusPending = 0, +/// The redirect has succeeded. + STPSourceRedirectStatusSucceeded = 1, +/// The redirect has failed. + STPSourceRedirectStatusFailed = 2, +/// The redirect should not be used. + STPSourceRedirectStatusNotRequired = 3, +/// The state of the redirect is unknown. + STPSourceRedirectStatusUnknown = 4, +}; + + +/// This class provides typed access to the contents of an STPSource details +/// dictionary for SEPA Debit sources. +SWIFT_CLASS("_TtC6Stripe25STPSourceSEPADebitDetails") +@interface STPSourceSEPADebitDetails : NSObject +/// You cannot directly instantiate an STPSourceSEPADebitDetails. +/// You should only use one that is part of an existing STPSource object. +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// The last 4 digits of the account number. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// The account’s bank code. +@property (nonatomic, readonly, copy) NSString * _Nullable bankCode; +/// Two-letter ISO code representing the country of the bank account. +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// The account’s fingerprint. +@property (nonatomic, readonly, copy) NSString * _Nullable fingerprint; +/// The reference of the mandate accepted by your customer. +@property (nonatomic, readonly, copy) NSString * _Nullable mandateReference; +/// The details of the mandate accepted by your customer. +@property (nonatomic, readonly, copy) NSURL * _Nullable mandateURL; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// Status types for a Source +typedef SWIFT_ENUM(NSInteger, STPSourceStatus, open) { +/// The source has been created and is awaiting customer action. + STPSourceStatusPending = 0, +/// The source is ready to use. The customer action has been completed or the +/// payment method requires no customer action. + STPSourceStatusChargeable = 1, +/// The source has been used. This status only applies to single-use sources. + STPSourceStatusConsumed = 2, +/// The source, which was chargeable, has expired because it was not used to +/// make a charge request within a specified amount of time. + STPSourceStatusCanceled = 3, +/// Your customer has not taken the required action or revoked your access +/// (e.g., did not authorize the payment with their bank or canceled their +/// mandate acceptance for SEPA direct debits). + STPSourceStatusFailed = 4, +/// The source status is unknown. + STPSourceStatusUnknown = 5, +}; + +/// Types for a Source +/// seealso: +/// https://stripe.com/docs/sources +typedef SWIFT_ENUM(NSInteger, STPSourceType, open) { +/// A Bancontact source. - seealso: https://stripe.com/docs/sources/bancontact + STPSourceTypeBancontact = 0, +/// A card source. - seealso: https://stripe.com/docs/sources/cards + STPSourceTypeCard = 1, +/// A Giropay source. - seealso: https://stripe.com/docs/sources/giropay + STPSourceTypeGiropay = 2, +/// An iDEAL source. - seealso: https://stripe.com/docs/sources/ideal + STPSourceTypeiDEAL SWIFT_COMPILE_NAME("iDEAL") = 3, +/// A SEPA Direct Debit source. - seealso: https://stripe.com/docs/sources/sepa-debit + STPSourceTypeSEPADebit = 4, +/// A Sofort source. - seealso: https://stripe.com/docs/sources/sofort + STPSourceTypeSofort = 5, +/// A 3DS card source. - seealso: https://stripe.com/docs/sources/three-d-secure + STPSourceTypeThreeDSecure = 6, +/// An Alipay source. - seealso: https://stripe.com/docs/sources/alipay + STPSourceTypeAlipay = 7, +/// A P24 source. - seealso: https://stripe.com/docs/sources/p24 + STPSourceTypeP24 = 8, +/// An EPS source. - seealso: https://stripe.com/docs/sources/eps + STPSourceTypeEPS = 9, +/// A Multibanco source. - seealso: https://stripe.com/docs/sources/multibanco + STPSourceTypeMultibanco = 10, +/// A WeChat Pay source. - seealso: https://stripe.com/docs/sources/wechat-pay + STPSourceTypeWeChatPay = 11, +/// A Klarna source. - seealso: https://stripe.com/docs/sources/klarna + STPSourceTypeKlarna = 12, +/// An unknown type of source. + STPSourceTypeUnknown = 13, +}; + +/// Usage types for a Source +typedef SWIFT_ENUM(NSInteger, STPSourceUsage, open) { +/// The source can be reused. + STPSourceUsageReusable = 0, +/// The source can only be used once. + STPSourceUsageSingleUse = 1, +/// The source’s usage is unknown. + STPSourceUsageUnknown = 2, +}; + +enum STPSourceVerificationStatus : NSInteger; + +/// Information related to a source’s verification flow. +SWIFT_CLASS("_TtC6Stripe21STPSourceVerification") +@interface STPSourceVerification : NSObject +/// The number of attempts remaining to authenticate the source object with a +/// verification code. +@property (nonatomic, readonly, strong) NSNumber * _Nullable attemptsRemaining; +/// The status of the verification. +@property (nonatomic, readonly) enum STPSourceVerificationStatus status; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// Verification status types for a Source. +typedef SWIFT_ENUM(NSInteger, STPSourceVerificationStatus, open) { +/// The verification is pending. + STPSourceVerificationStatusPending = 0, +/// The verification has succeeeded. + STPSourceVerificationStatusSucceeded = 1, +/// The verification has failed. + STPSourceVerificationStatusFailed = 2, +/// The state of the verification is unknown. + STPSourceVerificationStatusUnknown = 3, +}; + + +/// Details of a WeChat Pay Source. +SWIFT_CLASS("_TtC6Stripe25STPSourceWeChatPayDetails") +@interface STPSourceWeChatPayDetails : NSObject +/// A URL to the WeChat App. +/// Use STPRedirectContext instead of redirecting users yourself. +@property (nonatomic, readonly, copy) NSString * _Nullable weChatAppURL; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// :nodoc: +SWIFT_CLASS("_TtC6Stripe22STPStringFromCardBrand") SWIFT_DEPRECATED_MSG("STPStringFromCardBrand has been replaced with STPCardBrandUtilities.stringFrom(brand)") +@interface STPStringFromCardBrand : NSObject +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// STPTheme objects can be used to visually style Stripe-provided UI. See https://stripe.com/docs/mobile/ios/standard#theming for more information. +SWIFT_CLASS("_TtC6Stripe8STPTheme") +@interface STPTheme : NSObject +/// The default theme used by all Stripe UI. All themable UI classes, such as STPAddCardViewController, have one initializer that takes a theme and one that does not. If you use the one that does not, the default theme will be used to customize that view controller’s appearance. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPTheme * _Nonnull defaultTheme;) ++ (STPTheme * _Nonnull)defaultTheme SWIFT_WARN_UNUSED_RESULT; +/// The primary background color of the theme. This will be used as the backgroundColor for any views with this theme. +@property (nonatomic, strong) UIColor * _Nonnull primaryBackgroundColor; +/// The secondary background color of this theme. This will be used as the backgroundColor for any supplemental views inside a view with this theme - for example, a UITableView will set it’s cells’ background color to this value. +@property (nonatomic, strong) UIColor * _Nonnull secondaryBackgroundColor; +/// This color is automatically derived by reducing the alpha of the primaryBackgroundColor and is used as a section border color in table view cells. +@property (nonatomic, readonly, strong) UIColor * _Nonnull tertiaryBackgroundColor; +/// This color is automatically derived by reducing the brightness of the primaryBackgroundColor and is used as a separator color in table view cells. +@property (nonatomic, readonly, strong) UIColor * _Nonnull quaternaryBackgroundColor; +/// The primary foreground color of this theme. This will be used as the text color for any important labels in a view with this theme (such as the text color for a text field that the user needs to fill out). +@property (nonatomic, strong) UIColor * _Nonnull primaryForegroundColor; +/// The secondary foreground color of this theme. This will be used as the text color for any supplementary labels in a view with this theme (such as the placeholder color for a text field that the user needs to fill out). +@property (nonatomic, strong) UIColor * _Nonnull secondaryForegroundColor; +/// This color is automatically derived from the secondaryForegroundColor with a lower alpha component, used for disabled text. +@property (nonatomic, readonly, strong) UIColor * _Nonnull tertiaryForegroundColor; +/// The accent color of this theme - it will be used for any buttons and other elements on a view that are important to highlight. +@property (nonatomic, strong) UIColor * _Nonnull accentColor; +/// The error color of this theme - it will be used for rendering any error messages or views. +@property (nonatomic, strong) UIColor * _Nonnull errorColor; +/// The font to be used for all views using this theme. Make sure to select an appropriate size. +@property (nonatomic, strong) UIFont * _Nonnull font; +/// The medium-weight font to be used for all bold text in views using this theme. Make sure to select an appropriate size. +@property (nonatomic, strong) UIFont * _Nonnull emphasisFont; +/// The navigation bar style to use for any view controllers presented modally +/// by the SDK. The default value will be determined based on the brightness +/// of the theme’s secondaryBackgroundColor. +@property (nonatomic) UIBarStyle barStyle; +/// A Boolean value indicating whether the navigation bar for any view controllers +/// presented modally by the SDK should be translucent. The default value is YES. +@property (nonatomic) BOOL translucentNavigationBar; +/// This font is automatically derived from the font, with a slightly lower point size, and will be used for supplementary labels. +@property (nonatomic, readonly, strong) UIFont * _Nonnull smallFont; +/// This font is automatically derived from the font, with a larger point size, and will be used for large labels such as SMS code entry. +@property (nonatomic, readonly, strong) UIFont * _Nonnull largeFont; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPTheme (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +@end + +enum STPThreeDSCustomizationButtonType : NSInteger; +enum STPThreeDSButtonTitleStyle : NSInteger; + +/// A customization object to use to configure the UI of a button. +SWIFT_CLASS("_TtC6Stripe29STPThreeDSButtonCustomization") +@interface STPThreeDSButtonCustomization : NSObject +/// The default settings for the provided button type. ++ (STPThreeDSButtonCustomization * _Nonnull)defaultSettingsForButtonType:(enum STPThreeDSCustomizationButtonType)type SWIFT_WARN_UNUSED_RESULT; +/// Initializes an instance of STDSButtonCustomization with the given backgroundColor and colorRadius. +- (nonnull instancetype)initWithBackgroundColor:(UIColor * _Nonnull)backgroundColor cornerRadius:(CGFloat)cornerRadius OBJC_DESIGNATED_INITIALIZER; +/// The background color of the button. +/// The default for .resend and .cancel is clear. +/// The default for .submit, .continue, and .next is blue. +@property (nonatomic, strong) UIColor * _Nonnull backgroundColor; +/// The corner radius of the button. Defaults to 8. +@property (nonatomic) CGFloat cornerRadius; +/// The capitalization style of the button title. +@property (nonatomic) enum STPThreeDSButtonTitleStyle titleStyle; +/// The font of the title. +@property (nonatomic, strong) UIFont * _Nullable font; +/// The text color of the title. +@property (nonatomic, strong) UIColor * _Nullable textColor; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// An enumeration of the case transformations that can be applied to the button’s title +typedef SWIFT_ENUM(NSInteger, STPThreeDSButtonTitleStyle, open) { +/// Default style, doesn’t modify the title + STPThreeDSButtonTitleStyleDefault = 0, +/// Applies localizedUppercaseString to the title + STPThreeDSButtonTitleStyleUppercase = 1, +/// Applies localizedLowercaseString to the title + STPThreeDSButtonTitleStyleLowercase = 2, +/// Applies localizedCapitalizedString to the title + STPThreeDSButtonTitleStyleSentenceCapitalized = 3, +}; + +/// An enum that defines the different types of buttons that are able to be customized. +typedef SWIFT_ENUM(NSInteger, STPThreeDSCustomizationButtonType, open) { +/// The submit button type. + STPThreeDSCustomizationButtonTypeSubmit = 0, +/// The continue button type. + STPThreeDSCustomizationButtonTypeContinue = 1, +/// The next button type. + STPThreeDSCustomizationButtonTypeNext = 2, +/// The cancel button type. + STPThreeDSCustomizationButtonTypeCancel = 3, +/// The resend button type. + STPThreeDSCustomizationButtonTypeResend = 4, +}; + +@class STPThreeDSUICustomization; + +/// STPThreeDSCustomizationSettings provides customization options for 3DS2 authentication flows in your app. +SWIFT_CLASS("_TtC6Stripe31STPThreeDSCustomizationSettings") +@interface STPThreeDSCustomizationSettings : NSObject +/// Returns an STPThreeDSCustomizationSettings preconfigured with the default +/// Stripe UI settings and a 10 minute authenticationTimeout. +/// @deprecated Use STPThreeDSCustomizationSettings() instead. The default settings are the same. ++ (STPThreeDSCustomizationSettings * _Nonnull)defaultSettings SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("Use STPThreeDSCustomizationSettings() instead of STPThreeDSCustomizationSettings.defaultSettings()."); +/// uiCustomization can be used to provide custom UI settings for the authentication +/// challenge screens presented during a Three Domain Secure authentication. For more information see +/// our guide on supporting 3DS2 in your iOS application. +/// Note: It’s important to configure this object appropriately before calling any STPPaymentHandler APIs. +/// The API makes a copy of the customization settings you provide; it ignores any subsequent changes you +/// make to your STPThreeDSUICustomization instance. +/// Defaults to STPThreeDSUICustomization.defaultSettings(). +@property (nonatomic, strong) STPThreeDSUICustomization * _Nonnull uiCustomization; +/// authenticationTimeout is the total time allowed for a user to complete a 3DS2 authentication +/// interaction, in minutes. This value must be at least 5 minutes. +/// Defaults to 10 minutes. +@property (nonatomic) NSInteger authenticationTimeout; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// The Challenge view displays a footer with additional details that +/// expand when tapped. This object configures the appearance of that view. +SWIFT_CLASS("_TtC6Stripe29STPThreeDSFooterCustomization") +@interface STPThreeDSFooterCustomization : NSObject +/// The default settings. ++ (STPThreeDSFooterCustomization * _Nonnull)defaultSettings SWIFT_WARN_UNUSED_RESULT; +/// The background color of the footer. +/// Defaults to gray. +@property (nonatomic, strong) UIColor * _Nonnull backgroundColor; +/// The color of the chevron. Defaults to a dark gray. +@property (nonatomic, strong) UIColor * _Nonnull chevronColor; +/// The color of the heading text. Defaults to black. +@property (nonatomic, strong) UIColor * _Nonnull headingTextColor; +/// The font to use for the heading text. +@property (nonatomic, strong) UIFont * _Nonnull headingFont; +/// The font of the text. +@property (nonatomic, strong) UIFont * _Nullable font; +/// The color of the text. +@property (nonatomic, strong) UIColor * _Nullable textColor; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A customization object to use to configure the UI of a text label. +SWIFT_CLASS("_TtC6Stripe28STPThreeDSLabelCustomization") +@interface STPThreeDSLabelCustomization : NSObject +/// The default settings. ++ (STPThreeDSLabelCustomization * _Nonnull)defaultSettings SWIFT_WARN_UNUSED_RESULT; +/// The font to use for heading text. +@property (nonatomic, strong) UIFont * _Nonnull headingFont; +/// The color of heading text. Defaults to black. +@property (nonatomic, strong) UIColor * _Nonnull headingTextColor; +/// The font to use for non-heading text. +@property (nonatomic, strong) UIFont * _Nullable font; +/// The color to use for non-heading text. Defaults to black. +@property (nonatomic, strong) UIColor * _Nullable textColor; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A customization object to use to configure a UINavigationBar. +SWIFT_CLASS("_TtC6Stripe36STPThreeDSNavigationBarCustomization") +@interface STPThreeDSNavigationBarCustomization : NSObject +/// The default settings. ++ (STPThreeDSNavigationBarCustomization * _Nonnull)defaultSettings SWIFT_WARN_UNUSED_RESULT; +/// The tint color of the navigation bar background. +/// Defaults to nil. +@property (nonatomic, strong) UIColor * _Nullable barTintColor; +/// The navigation bar style. +/// Defaults to UIBarStyleDefault. +/// @note This property controls the UIStatusBarStyle. Set this to UIBarStyleBlack +/// to change the statusBarStyle to UIStatusBarStyleLightContent - even if you also set +/// barTintColor to change the actual color of the navigation bar. +@property (nonatomic) UIBarStyle barStyle; +/// A Boolean value indicating whether the navigation bar is translucent or not. +/// Defaults to YES. +@property (nonatomic) BOOL translucent; +/// The text to display in the title of the navigation bar. +/// Defaults to “Secure checkout”. +@property (nonatomic, copy) NSString * _Nonnull headerText; +/// The text to display for the button in the navigation bar. +/// Defaults to “Cancel”. +@property (nonatomic, copy) NSString * _Nonnull buttonText; +/// The font to use for the title. Defaults to nil. +@property (nonatomic, strong) UIFont * _Nullable font; +/// The color to use for the title. Defaults to nil. +@property (nonatomic, strong) UIColor * _Nullable textColor; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A customization object that configures the appearance of +/// radio buttons and checkboxes. +SWIFT_CLASS("_TtC6Stripe32STPThreeDSSelectionCustomization") +@interface STPThreeDSSelectionCustomization : NSObject +/// The default settings. ++ (STPThreeDSSelectionCustomization * _Nonnull)defaultSettings SWIFT_WARN_UNUSED_RESULT; +/// The primary color of the selected state. +/// Defaults to blue. +@property (nonatomic, strong) UIColor * _Nonnull primarySelectedColor; +/// The secondary color of the selected state (e.g. the checkmark color). +/// Defaults to white. +@property (nonatomic, strong) UIColor * _Nonnull secondarySelectedColor; +/// The background color displayed in the unselected state. +/// Defaults to light blue. +@property (nonatomic, strong) UIColor * _Nonnull unselectedBackgroundColor; +/// The color of the border drawn around the view in the unselected state. +/// Defaults to blue. +@property (nonatomic, strong) UIColor * _Nonnull unselectedBorderColor; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A customization object to use to configure the UI of a text field. +SWIFT_CLASS("_TtC6Stripe32STPThreeDSTextFieldCustomization") +@interface STPThreeDSTextFieldCustomization : NSObject +/// The default settings. ++ (STPThreeDSTextFieldCustomization * _Nonnull)defaultSettings SWIFT_WARN_UNUSED_RESULT; +/// The border width of the text field. Defaults to 2. +@property (nonatomic) CGFloat borderWidth; +/// The color of the border of the text field. Defaults to clear. +@property (nonatomic, strong) UIColor * _Nonnull borderColor; +/// The corner radius of the edges of the text field. Defaults to 8. +@property (nonatomic) CGFloat cornerRadius; +/// The appearance of the keyboard. Defaults to UIKeyboardAppearanceDefault. +@property (nonatomic) UIKeyboardAppearance keyboardAppearance; +/// The color of the placeholder text. Defaults to light gray. +@property (nonatomic, strong) UIColor * _Nonnull placeholderTextColor; +/// The font to use for text. +@property (nonatomic, strong) UIFont * _Nullable font; +/// The color to use for the text. Defaults to black. +@property (nonatomic, strong) UIColor * _Nullable textColor; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// The STPThreeDSUICustomization provides configuration for UI elements displayed during 3D Secure authentication. +/// Note: It’s important to configure this object appropriately before calling any STPPaymentHandler APIs. +/// The API makes a copy of the customization settings you provide; it ignores any subsequent changes you +/// make to your STPThreeDSUICustomization instance. +/// seealso: +/// https://stripe.com/docs/mobile/ios/authentication +SWIFT_CLASS("_TtC6Stripe25STPThreeDSUICustomization") +@interface STPThreeDSUICustomization : NSObject +/// The default settings. See individual properties for their default values. ++ (STPThreeDSUICustomization * _Nonnull)defaultSettings SWIFT_WARN_UNUSED_RESULT; +/// Provides custom settings for the UINavigationBar of all UIViewControllers displayed during 3D Secure authentication. +/// The default is STPThreeDSNavigationBarCustomization.defaultSettings(). +@property (nonatomic, strong) STPThreeDSNavigationBarCustomization * _Nonnull navigationBarCustomization; +/// Provides custom settings for labels. +/// The default is STPThreeDSLabelCustomization.defaultSettings(). +@property (nonatomic, strong) STPThreeDSLabelCustomization * _Nonnull labelCustomization; +/// Provides custom settings for text fields. +/// The default is STPThreeDSTextFieldCustomization.defaultSettings(). +@property (nonatomic, strong) STPThreeDSTextFieldCustomization * _Nonnull textFieldCustomization; +/// The primary background color of all UIViewControllers displayed during 3D Secure authentication. +/// Defaults to white. +@property (nonatomic, strong) UIColor * _Nonnull backgroundColor; +/// Provides custom settings for the footer the challenge view can display containing additional details. +/// The default is STPThreeDSFooterCustomization.defaultSettings(). +@property (nonatomic, strong) STPThreeDSFooterCustomization * _Nonnull footerCustomization; +/// Sets a given button customization for the specified type. +/// \param buttonCustomization The buttom customization to use. +/// +/// \param buttonType The type of button to use the customization for. +/// +- (void)setButtonCustomization:(STPThreeDSButtonCustomization * _Nonnull)buttonCustomization forType:(enum STPThreeDSCustomizationButtonType)buttonType; +/// Retrieves a button customization object for the given button type. +/// seealso: +/// STPThreeDSButtonCustomization +/// \param buttonType The button type to retrieve a customization object for. +/// +/// +/// returns: +/// A button customization object, or the default if none was set. +- (STPThreeDSButtonCustomization * _Nonnull)buttonCustomizationForButtonType:(enum STPThreeDSCustomizationButtonType)buttonType SWIFT_WARN_UNUSED_RESULT; +/// Provides custom settings for radio buttons and checkboxes. +/// The default is STPThreeDSSelectionCustomization.defaultSettings(). +@property (nonatomic, strong) STPThreeDSSelectionCustomization * _Nonnull selectionCustomization; +/// The style of UIActivityIndicatorViews displayed. +/// This should contrast with backgroundColor. Defaults to gray. +@property (nonatomic) UIActivityIndicatorViewStyle activityIndicatorViewStyle; +/// The style of the UIBlurEffect displayed underneath the UIActivityIndicatorView. +/// Defaults to UIBlurEffectStyleLight. +@property (nonatomic) UIBlurEffectStyle blurStyle; +/// :nodoc: +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +enum STPTokenType : NSInteger; + +/// A token returned from submitting payment details to the Stripe API. You should not have to instantiate one of these directly. +SWIFT_CLASS("_TtC6Stripe8STPToken") +@interface STPToken : NSObject +/// You cannot directly instantiate an STPToken. You should only use one that has been returned from an STPAPIClient callback. +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// The value of the token. You can store this value on your server and use it to make charges and customers. +/// seealso: +/// https://stripe.com/docs/charges +@property (nonatomic, readonly, copy) NSString * _Nonnull tokenId; +/// Whether or not this token was created in livemode. Will be YES if you used your Live Publishable Key, and NO if you used your Test Publishable Key. +@property (nonatomic, readonly) BOOL livemode; +/// The type of this token. +@property (nonatomic, readonly) enum STPTokenType type; +/// The credit card details that were used to create the token. Will only be set if the token was created via a credit card or Apple Pay, otherwise it will be +/// nil. +@property (nonatomic, readonly, strong) STPCard * _Nullable card; +/// The bank account details that were used to create the token. Will only be set if the token was created with a bank account, otherwise it will be nil. +@property (nonatomic, readonly, strong) STPBankAccount * _Nullable bankAccount; +/// When the token was created. +@property (nonatomic, readonly, copy) NSDate * _Nullable created; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull debugDescription; +/// :nodoc: +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) NSUInteger hash; +@property (nonatomic, readonly, copy) NSString * _Nonnull stripeID; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// Possible Token types +typedef SWIFT_ENUM(NSInteger, STPTokenType, open) { +/// Account token type + STPTokenTypeAccount = 0, +/// Bank account token type + STPTokenTypeBankAccount = 1, +/// Card token type + STPTokenTypeCard = 2, +/// PII token type + STPTokenTypePII = 3, +/// CVC update token type + STPTokenTypeCvcUpdate = 4, +}; + + +/// You can use this class to specify information that you’ve already collected +/// from your user. You can then set the prefilledInformation property on +/// STPPaymentContext, STPAddCardViewController, etc and it will pre-fill +/// this information whenever possible. +SWIFT_CLASS("_TtC6Stripe18STPUserInformation") +@interface STPUserInformation : NSObject +/// The user’s billing address. When set, the add card form will be filled with +/// this address. The user will also have the option to fill their shipping address +/// using this address. +/// @note Set this using setBillingAddressWithBillingDetails: to use the billing +/// details from an STPPaymentMethod or STPPaymentMethodParams instance. +@property (nonatomic, strong) STPAddress * _Nullable billingAddress; +/// The user’s shipping address. When set, the shipping address form will be filled +/// with this address. The user will also have the option to fill their billing +/// address using this address. +@property (nonatomic, strong) STPAddress * _Nullable shippingAddress; +/// A convenience method to populate billingAddress with a PaymentMethod’s billing details. +/// @note Calling this overwrites the value of billingAddress. +- (void)setBillingAddressWithBillingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails; +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + + + + + + + +@interface UINavigationBar (SWIFT_EXTENSION(Stripe)) +/// Sets the navigation bar’s appearance to the desired theme. This will affect the +/// bar’s tintColor and barTintColor properties, as well as the color of the +/// single-pixel line at the bottom of the navbar. +/// \param theme the theme to use to style the navigation bar. - seealso: STPTheme.h +/// @deprecated Use the stp_theme property instead +/// +- (void)stp_setTheme:(STPTheme * _Nonnull)theme SWIFT_DEPRECATED_MSG("Use the `stp_theme` property instead"); +/// Sets the navigation bar’s appearance to the desired theme. This will affect the bar’s tintColor and barTintColor properties, as well as the color of the single-pixel line at the bottom of the navbar. +/// Stripe view controllers will use their navigation bar’s theme for their UIBarButtonItems instead of their own theme if it is not nil. +/// seealso: +/// STPTheme.h +@property (nonatomic, strong) STPTheme * _Nullable stp_theme; +@end + + + + + + + + + + + + + + + + + + +@class PKPaymentRequest; +@protocol STPApplePayContextDelegate; +@class UIWindow; + +/// An Objective-C bridge for STPApplePayContext. +/// :nodoc: +SWIFT_CLASS_NAMED("_stpobjc_APContext") +@interface STPApplePayContext : NSObject +/// Initializes this class. +/// @note This may return nil if the request is invalid e.g. the user is restricted by parental controls, or can’t make payments on any of the request’s supported networks +/// \param paymentRequest The payment request to use with Apple Pay. +/// +/// \param delegate The delegate. +/// +- (nullable instancetype)initWithPaymentRequest:(PKPaymentRequest * _Nonnull)paymentRequest delegate:(id _Nullable)delegate OBJC_DESIGNATED_INITIALIZER; +/// Presents the Apple Pay sheet from the specified view controller, starting the payment process. +/// @note This method should only be called once; create a new instance of STPApplePayContext every time you present Apple Pay. +/// @deprecated A presenting UIViewController is no longer needed. Use presentApplePay(completion:) instead. +/// \param viewController The UIViewController instance to present the Apple Pay sheet on +/// +/// \param completion Called after the Apple Pay sheet is presented +/// +- (void)presentApplePayOnViewController:(UIViewController * _Nonnull)viewController completion:(void (^ _Nullable)(void))completion SWIFT_DEPRECATED_MSG("Use `presentApplePay(completion:)` instead.", "presentApplePayWithCompletion:"); +/// Presents the Apple Pay sheet from the key window, starting the payment process. +/// @note This method should only be called once; create a new instance of STPApplePayContext every time you present Apple Pay. +/// \param completion Called after the Apple Pay sheet is presented +/// +- (void)presentApplePayWithCompletion:(void (^ _Nullable)(void))completion SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable,message="Use `presentApplePay(from:completion:)` in App Extensions.") SWIFT_AVAILABILITY(ios_app_extension,unavailable,message="Use `presentApplePay(from:completion:)` in App Extensions."); +/// Presents the Apple Pay sheet from the specified window, starting the payment process. +/// @note This method should only be called once; create a new instance of STPApplePayContext every time you present Apple Pay. +/// \param window The UIWindow to host the Apple Pay sheet +/// +/// \param completion Called after the Apple Pay sheet is presented +/// +- (void)presentApplePayFromWindow:(UIWindow * _Nullable)window withCompletion:(void (^ _Nullable)(void))completion; +/// The STPAPIClient instance to use to make API requests to Stripe. +/// Defaults to STPAPIClient.shared. +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@class PKPaymentRequestShippingMethodUpdate; +@class PKPaymentRequestShippingContactUpdate; + +/// Implement the required methods of this delegate to supply a PaymentIntent to STPApplePayContext and be notified of the completion of the Apple Pay payment. +/// You may also implement the optional delegate methods to handle shipping methods and shipping address changes e.g. to verify you can ship to the address, or update the payment amount. +/// :nodoc: +SWIFT_PROTOCOL_NAMED("_stpobjc_APContextDelegate") +@protocol STPApplePayContextDelegate +/// Called after the customer has authorized Apple Pay. Implement this method to call the completion block with the client secret of a PaymentIntent or SetupIntent. +/// \param paymentMethod The PaymentMethod that represents the customer’s Apple Pay payment method. +/// If you create the PaymentIntent with confirmation_method=manual, pass paymentMethod.stripeId as the payment_method and confirm=true. Otherwise, you can ignore this parameter. +/// +/// \param paymentInformation The underlying PKPayment created by Apple Pay. +/// If you create the PaymentIntent with confirmation_method=manual, you can collect shipping information using its shippingContact and shippingMethod properties. +/// +/// \param completion Call this with the PaymentIntent or SetupIntent client secret, or the error that occurred creating the PaymentIntent or SetupIntent. +/// +- (void)applePayContext:(STPApplePayContext * _Nonnull)context didCreatePaymentMethod:(STPPaymentMethod * _Nonnull)paymentMethod paymentInformation:(PKPayment * _Nonnull)paymentInformation completion:(void (^ _Nonnull)(NSString * _Nullable, NSError * _Nullable))completion; +/// Called after the Apple Pay sheet is dismissed with the result of the payment. +/// Your implementation could stop a spinner and display a receipt view or error to the customer, for example. +/// \param status The status of the payment +/// +/// \param error The error that occurred, if any. +/// +- (void)applePayContext:(STPApplePayContext * _Nonnull)context didCompleteWithStatus:(enum STPPaymentStatus)status error:(NSError * _Nullable)error; +@optional +/// Called when the user selects a new shipping method. The delegate should determine +/// shipping costs based on the shipping method and either the shipping address supplied in the original +/// PKPaymentRequest or the address fragment provided by the last call to paymentAuthorizationController: +/// didSelectShippingContact:completion:. +/// You must invoke the completion block with an updated array of PKPaymentSummaryItem objects. +- (void)applePayContext:(STPApplePayContext * _Nonnull)context didSelectShippingMethod:(PKShippingMethod * _Nonnull)shippingMethod handler:(void (^ _Nonnull)(PKPaymentRequestShippingMethodUpdate * _Nonnull))handler; +/// Called when the user has selected a new shipping address. You should inspect the +/// address and must invoke the completion block with an updated array of PKPaymentSummaryItem objects. +/// @note To maintain privacy, the shipping information is anonymized. For example, in the United States it only includes the city, state, and zip code. This provides enough information to calculate shipping costs, without revealing sensitive information until the user actually approves the purchase. +/// Receive full shipping information in the paymentInformation passed to applePayContext:didCreatePaymentMethod:paymentInformation:completion: +- (void)applePayContext:(STPApplePayContext * _Nonnull)context didSelectShippingContact:(PKContact * _Nonnull)contact handler:(void (^ _Nonnull)(PKPaymentRequestShippingContactUpdate * _Nonnull))handler; +@end + +@class STPAppInfo; + +/// An Objective-C bridge for STPAPIClient. +/// :nodoc: +SWIFT_CLASS_NAMED("_stpobjc_STPAPIClient") +@interface STPAPIClient : NSObject +/// The current version of this library. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull STPSDKVersion;) ++ (NSString * _Nonnull)STPSDKVersion SWIFT_WARN_UNUSED_RESULT; +/// A shared singleton API client. +/// By default, the SDK uses this instance to make API requests +/// eg in STPPaymentHandler, STPPaymentContext, STPCustomerContext, etc. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPAPIClient * _Nonnull sharedClient;) ++ (STPAPIClient * _Nonnull)sharedClient SWIFT_WARN_UNUSED_RESULT; +/// The client’s publishable key. +/// The default value is StripeAPI.defaultPublishableKey. +@property (nonatomic, copy) NSString * _Nullable publishableKey; +/// The client’s configuration. +/// Defaults to STPPaymentConfiguration.shared. +@property (nonatomic, strong) STPPaymentConfiguration * _Nonnull configuration; +/// In order to perform API requests on behalf of a connected account, e.g. to +/// create a Source or Payment Method on a connected account, set this property to the ID of the +/// account for which this request is being made. +/// seealso: +/// https://stripe.com/docs/connect/authentication#authentication-via-the-stripe-account-header +@property (nonatomic, copy) NSString * _Nullable stripeAccount; +/// Libraries wrapping the Stripe SDK should set this, so that Stripe can contact you about future issues or critical updates. +/// seealso: +/// https://stripe.com/docs/building-plugins#setappinfo +@property (nonatomic, strong) STPAppInfo * _Nullable appInfo; +/// The API version used to communicate with Stripe. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull apiVersion;) ++ (NSString * _Nonnull)apiVersion SWIFT_WARN_UNUSED_RESULT; +/// Initializes an API client with the given publishable key. +/// \param publishableKey The publishable key to use. +/// +/// +/// returns: +/// An instance of STPAPIClient. +- (nonnull instancetype)initWithPublishableKey:(NSString * _Nonnull)publishableKey OBJC_DESIGNATED_INITIALIZER; +/// Initializes an API client with the given configuration. +/// \param configuration The configuration to use. +/// +/// +/// returns: +/// An instance of STPAPIClient. +- (nonnull instancetype)initWithConfiguration:(STPPaymentConfiguration * _Nonnull)configuration OBJC_DESIGNATED_INITIALIZER SWIFT_DEPRECATED_MSG("This initializer previously configured publishableKey and stripeAccount via the STPPaymentConfiguration instance. This behavior is deprecated; set the STPAPIClient configuration, publishableKey, and stripeAccount properties directly on the STPAPIClient instead."); +/// Converts an STPBankAccount object into a Stripe token using the Stripe API. +/// \param bankAccount The user’s bank account details. Cannot be nil. - seealso: https://stripe.com/docs/api#create_bank_account_token +/// +/// \param completion The callback to run with the returned Stripe token (and any errors that may have occurred). +/// +- (void)createTokenWithBankAccount:(STPBankAccountParams * _Nonnull)bankAccount completion:(void (^ _Nonnull)(STPToken * _Nullable, NSError * _Nullable))completion; +/// Converts a personal identification number into a Stripe token using the Stripe API. +/// \param pii The user’s personal identification number. Cannot be nil. - seealso: https://stripe.com/docs/api#create_pii_token +/// +/// \param completion The callback to run with the returned Stripe token (and any errors that may have occurred). +/// +- (void)createTokenWithPersonalIDNumber:(NSString * _Nonnull)pii completion:(void (^ _Nullable)(STPToken * _Nullable, NSError * _Nullable))completion; +/// Converts the last 4 SSN digits into a Stripe token using the Stripe API. +/// \param ssnLast4 The last 4 digits of the user’s SSN. Cannot be nil. +/// +/// \param completion The callback to run with the returned Stripe token (and any errors that may have occurred). +/// +- (void)createTokenWithSSNLast4:(NSString * _Nonnull)ssnLast4 completion:(void (^ _Nonnull)(STPToken * _Nullable, NSError * _Nullable))completion; +/// Converts an STPConnectAccountParams object into a Stripe token using the Stripe API. +/// This allows the connected account to accept the Terms of Service, and/or send Legal Entity information. +/// \param account The Connect Account parameters. Cannot be nil. +/// +/// \param completion The callback to run with the returned Stripe token (and any errors that may have occurred). +/// +- (void)createTokenWithConnectAccount:(STPConnectAccountParams * _Nonnull)account completion:(void (^ _Nullable)(STPToken * _Nullable, NSError * _Nullable))completion; +/// Uses the Stripe file upload API to upload an image. This can be used for +/// identity verification and evidence disputes. +/// seealso: +/// https://stripe.com/docs/file-upload +/// \param image The image to be uploaded. The maximum allowed file size is 4MB +/// for identity documents and 8MB for evidence disputes. Cannot be nil. +/// Your image will be automatically resized down if you pass in one that +/// is too large +/// +/// \param purpose The purpose of this file. This can be either an identifing +/// document or an evidence dispute. +/// +/// \param completion The callback to run with the returned Stripe file +/// (and any errors that may have occurred). +/// +- (void)uploadImage:(UIImage * _Nonnull)image purpose:(enum STPFilePurpose)purpose completion:(void (^ _Nullable)(STPFile * _Nullable, NSError * _Nullable))completion; +/// Converts an STPCardParams object into a Stripe token using the Stripe API. +/// \param cardParams The user’s card details. Cannot be nil. - seealso: https://stripe.com/docs/api#create_card_token +/// +/// \param completion The callback to run with the returned Stripe token (and any errors that may have occurred). +/// +- (void)createTokenWithCard:(STPCardParams * _Nonnull)cardParams completion:(void (^ _Nonnull)(STPToken * _Nullable, NSError * _Nullable))completion; +/// Converts a CVC string into a Stripe token using the Stripe API. +/// \param cvc The CVC/CVV number used to create the token. Cannot be nil. +/// +/// \param completion The callback to run with the returned Stripe token (and any errors that may have occurred). +/// +- (void)createTokenForCVCUpdate:(NSString * _Nonnull)cvc completion:(void (^ _Nullable)(STPToken * _Nullable, NSError * _Nullable))completion; +/// Creates a Source object using the provided details. +/// Note: in order to create a source on a connected account, you can set your +/// API client’s stripeAccount property to the ID of the account. +/// seealso: +/// https://stripe.com/docs/sources/connect#creating-direct-charges +/// \param sourceParams The details of the source to create. Cannot be nil. - seealso: https://stripe.com/docs/api#create_source +/// +/// \param completion The callback to run with the returned Source object, or an error. +/// +- (void)createSourceWithParams:(STPSourceParams * _Nonnull)sourceParams completion:(void (^ _Nonnull)(STPSource * _Nullable, NSError * _Nullable))completion; +/// Retrieves the Source object with the given ID. - seealso: https://stripe.com/docs/api#retrieve_source +/// \param identifier The identifier of the source to be retrieved. Cannot be nil. +/// +/// \param secret The client secret of the source. Cannot be nil. +/// +/// \param completion The callback to run with the returned Source object, or an error. +/// +- (void)retrieveSourceWithId:(NSString * _Nonnull)identifier clientSecret:(NSString * _Nonnull)secret completion:(void (^ _Nonnull)(STPSource * _Nullable, NSError * _Nullable))completion; +/// Starts polling the Source object with the given ID. For payment methods that require +/// additional customer action (e.g. authorizing a payment with their bank), polling +/// allows you to determine if the action was successful. Polling will stop and the +/// provided callback will be called once the source’s status is no longer pending, +/// or if the given timeout is reached and the source is still pending. If polling +/// stops due to an error, the callback will be fired with the latest retrieved +/// source and the error. +/// Note that if a poll is already running for a source, subsequent calls to startPolling +/// with the same source ID will do nothing. +/// \param identifier The identifier of the source to be retrieved. Cannot be nil. +/// +/// \param secret The client secret of the source. Cannot be nil. +/// +/// \param timeout The timeout for the polling operation, in seconds. Timeouts are capped at 5 minutes. +/// +/// \param completion The callback to run with the returned Source object, or an error. +/// +- (void)startPollingSourceWithId:(NSString * _Nonnull)identifier clientSecret:(NSString * _Nonnull)secret timeout:(NSTimeInterval)timeout completion:(void (^ _Nonnull)(STPSource * _Nullable, NSError * _Nullable))completion SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable) SWIFT_AVAILABILITY(ios_app_extension,unavailable); +/// Stops polling the Source object with the given ID. Note that the completion block passed to +/// startPolling will not be fired when stopPolling is called. +/// \param identifier The identifier of the source to be retrieved. Cannot be nil. +/// +- (void)stopPollingSourceWithId:(NSString * _Nonnull)identifier SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable) SWIFT_AVAILABILITY(ios_app_extension,unavailable); +/// Retrieves the PaymentIntent object using the given secret. - seealso: https://stripe.com/docs/api#retrieve_payment_intent +/// \param secret The client secret of the payment intent to be retrieved. Cannot be nil. +/// +/// \param completion The callback to run with the returned PaymentIntent object, or an error. +/// +- (void)retrievePaymentIntentWithClientSecret:(NSString * _Nonnull)secret completion:(void (^ _Nonnull)(STPPaymentIntent * _Nullable, NSError * _Nullable))completion; +/// Retrieves the PaymentIntent object using the given secret. - seealso: https://stripe.com/docs/api#retrieve_payment_intent +/// \param secret The client secret of the payment intent to be retrieved. Cannot be nil. +/// +/// \param expand An array of string keys to expand on the returned PaymentIntent object. These strings should match one or more of the parameter names that are marked as expandable. - seealso: https://stripe.com/docs/api/payment_intents/object +/// +/// \param completion The callback to run with the returned PaymentIntent object, or an error. +/// +- (void)retrievePaymentIntentWithClientSecret:(NSString * _Nonnull)secret expand:(NSArray * _Nullable)expand completion:(void (^ _Nonnull)(STPPaymentIntent * _Nullable, NSError * _Nullable))completion; +/// Confirms the PaymentIntent object with the provided params object. +/// At a minimum, the params object must include the clientSecret. +/// seealso: +/// https://stripe.com/docs/api#confirm_payment_intent +/// @note Use the confirmPayment:withAuthenticationContext:completion: method on STPPaymentHandler instead +/// of calling this method directly. It handles any authentication necessary for you. - seealso: https://stripe.com/docs/mobile/ios/authentication +/// \param paymentIntentParams The STPPaymentIntentParams to pass to /confirm +/// +/// \param completion The callback to run with the returned PaymentIntent object, or an error. +/// +- (void)confirmPaymentIntentWithParams:(STPPaymentIntentParams * _Nonnull)paymentIntentParams completion:(void (^ _Nonnull)(STPPaymentIntent * _Nullable, NSError * _Nullable))completion; +/// Confirms the PaymentIntent object with the provided params object. +/// At a minimum, the params object must include the clientSecret. +/// seealso: +/// https://stripe.com/docs/api#confirm_payment_intent +/// @note Use the confirmPayment:withAuthenticationContext:completion: method on STPPaymentHandler instead +/// of calling this method directly. It handles any authentication necessary for you. - seealso: https://stripe.com/docs/mobile/ios/authentication +/// \param paymentIntentParams The STPPaymentIntentParams to pass to /confirm +/// +/// \param expand An array of string keys to expand on the returned PaymentIntent object. These strings should match one or more of the parameter names that are marked as expandable. - seealso: https://stripe.com/docs/api/payment_intents/object +/// +/// \param completion The callback to run with the returned PaymentIntent object, or an error. +/// +- (void)confirmPaymentIntentWithParams:(STPPaymentIntentParams * _Nonnull)paymentIntentParams expand:(NSArray * _Nullable)expand completion:(void (^ _Nonnull)(STPPaymentIntent * _Nullable, NSError * _Nullable))completion; +/// Retrieves the SetupIntent object using the given secret. - seealso: https://stripe.com/docs/api/setup_intents/retrieve +/// \param secret The client secret of the SetupIntent to be retrieved. Cannot be nil. +/// +/// \param completion The callback to run with the returned SetupIntent object, or an error. +/// +- (void)retrieveSetupIntentWithClientSecret:(NSString * _Nonnull)secret completion:(void (^ _Nonnull)(STPSetupIntent * _Nullable, NSError * _Nullable))completion; +/// Confirms the SetupIntent object with the provided params object. +/// At a minimum, the params object must include the clientSecret. +/// seealso: +/// https://stripe.com/docs/api/setup_intents/confirm +/// @note Use the confirmSetupIntent:withAuthenticationContext:completion: method on STPPaymentHandler instead +/// of calling this method directly. It handles any authentication necessary for you. - seealso: https://stripe.com/docs/mobile/ios/authentication +/// \param setupIntentParams The STPSetupIntentConfirmParams to pass to /confirm +/// +/// \param completion The callback to run with the returned PaymentIntent object, or an error. +/// +- (void)confirmSetupIntentWithParams:(STPSetupIntentConfirmParams * _Nonnull)setupIntentParams completion:(void (^ _Nonnull)(STPSetupIntent * _Nullable, NSError * _Nullable))completion; +/// Creates a PaymentMethod object with the provided params object. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/create +/// \param paymentMethodParams The STPPaymentMethodParams to pass to /v1/payment_methods. Cannot be nil. +/// +/// \param completion The callback to run with the returned PaymentMethod object, or an error. +/// +- (void)createPaymentMethodWithParams:(STPPaymentMethodParams * _Nonnull)paymentMethodParams completion:(void (^ _Nonnull)(STPPaymentMethod * _Nullable, NSError * _Nullable))completion; +/// Creates a Radar Session. +/// note: +/// See https://stripe.com/docs/radar/radar-session +/// note: +/// This API and the guide linked above require special permissions to use. Contact support@stripe.com. +/// note: +/// StripeAPI.advancedFraudSignalsEnabled must be true to use this method. +/// note: +/// See STPRadarSession +/// \param completion The callback to run with the returned STPRadarSession (and any errors that may have occurred). +/// +- (void)createRadarSessionWithCompletion:(void (^ _Nonnull)(STPRadarSession * _Nullable, NSError * _Nullable))completion; +/// Converts a PKPayment object into a Stripe token using the Stripe API. +/// \param payment The user’s encrypted payment information as returned from a PKPaymentAuthorizationController. Cannot be nil. +/// +/// \param completion The callback to run with the returned Stripe token (and any errors that may have occurred). +/// +- (void)createTokenWithPayment:(PKPayment * _Nonnull)payment completion:(void (^ _Nonnull)(STPToken * _Nullable, NSError * _Nullable))completion; +/// Converts a PKPayment object into a Stripe source using the Stripe API. +/// \param payment The user’s encrypted payment information as returned from a PKPaymentAuthorizationController. Cannot be nil. +/// +/// \param completion The callback to run with the returned Stripe source (and any errors that may have occurred). +/// +- (void)createSourceWithPayment:(PKPayment * _Nonnull)payment completion:(void (^ _Nonnull)(STPSource * _Nullable, NSError * _Nullable))completion; +/// Converts a PKPayment object into a Stripe Payment Method using the Stripe API. +/// \param payment The user’s encrypted payment information as returned from a PKPaymentAuthorizationController. Cannot be nil. +/// +/// \param completion The callback to run with the returned Stripe source (and any errors that may have occurred). +/// +- (void)createPaymentMethodWithPayment:(PKPayment * _Nonnull)payment completion:(void (^ _Nonnull)(STPPaymentMethod * _Nullable, NSError * _Nullable))completion; +/// Converts Stripe errors into the appropriate Apple Pay error, for use in PKPaymentAuthorizationResult. +/// If the error can be fixed by the customer within the Apple Pay sheet, we return an NSError that can be displayed in the Apple Pay sheet. +/// Otherwise, the original error is returned, resulting in the Apple Pay sheet being dismissed. You should display the error message to the customer afterwards. +/// Currently, we convert billing address related errors into a PKPaymentError that helpfully points to the billing address field in the Apple Pay sheet. +/// Note that Apple Pay should prevent most card errors (e.g. invalid CVC, expired cards) when you add a card to the wallet. +/// \param stripeError An error from the Stripe SDK. +/// ++ (NSError * _Nullable)pkPaymentErrorForStripeError:(NSError * _Nullable)stripeError SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +/// Libraries wrapping the Stripe SDK should use this object to provide information about the library, and set it +/// in on STPAPIClient. This information is passed to Stripe so that we can contact you about future issues or critical updates. +/// seealso: +/// https://stripe.com/docs/building-plugins#setappinfo +/// :nodoc: +SWIFT_CLASS_NAMED("_stpobjc_STPAppInfo") +@interface STPAppInfo : NSObject +/// Initializes an instance of STPAppInfo. +/// \param name The name of your library (e.g. “MyAwesomeLibrary”). +/// +/// \param partnerId Your Stripe Partner ID (e.g. “pp_partner_1234”). Required for Stripe Verified Partners, optional otherwise. +/// +/// \param version The version of your library (e.g. “1.2.34”). Optional. +/// +/// \param url The website for your library (e.g. “https://myawesomelibrary.info”). Optional. +/// +- (nonnull instancetype)initWithName:(NSString * _Nonnull)name partnerId:(NSString * _Nullable)partnerId version:(NSString * _Nullable)version url:(NSString * _Nullable)url OBJC_DESIGNATED_INITIALIZER; +/// The name of your library (e.g. “MyAwesomeLibrary”). +@property (nonatomic, readonly, copy) NSString * _Nonnull name; +/// Your Stripe Partner ID (e.g. “pp_partner_1234”). +@property (nonatomic, readonly, copy) NSString * _Nullable partnerId; +/// The version of your library (e.g. “1.2.34”). +@property (nonatomic, readonly, copy) NSString * _Nullable version; +/// The website for your library (e.g. “https://myawesomelibrary.info”). +@property (nonatomic, readonly, copy) NSString * _Nullable url; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// :nodoc: +/// Top-level class for Stripe error constants. +SWIFT_CLASS_NAMED("_stpobjc_STPError") +@interface STPError : NSObject +/// All Stripe iOS errors will be under this domain. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull stripeDomain;) ++ (NSString * _Nonnull)stripeDomain SWIFT_WARN_UNUSED_RESULT; +/// A human-readable message providing more details about the error. +/// For card errors, these messages can be shown to your users. +/// seealso: +/// https://stripe.com/docs/api/errors#errors-message +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull errorMessageKey;) ++ (NSString * _Nonnull)errorMessageKey SWIFT_WARN_UNUSED_RESULT; +/// An SDK-supplied “hint” that is intended to help you, the developer, fix the error +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull hintKey;) ++ (NSString * _Nonnull)hintKey SWIFT_WARN_UNUSED_RESULT; +/// What went wrong with your STPCard (e.g., STPInvalidCVC. See below for full list). +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull cardErrorCodeKey;) ++ (NSString * _Nonnull)cardErrorCodeKey SWIFT_WARN_UNUSED_RESULT; +/// Which parameter on the STPCard had an error (e.g., “cvc”). Useful for marking up the +/// right UI element. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull errorParameterKey;) ++ (NSString * _Nonnull)errorParameterKey SWIFT_WARN_UNUSED_RESULT; +/// The error code returned by the Stripe API. +/// seealso: +/// https://stripe.com/docs/api#errors-code +/// seealso: +/// https://stripe.com/docs/error-codes +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull stripeErrorCodeKey;) ++ (NSString * _Nonnull)stripeErrorCodeKey SWIFT_WARN_UNUSED_RESULT; +/// The error type returned by the Stripe API. +/// seealso: +/// https://stripe.com/docs/api#errors-type +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull stripeErrorTypeKey;) ++ (NSString * _Nonnull)stripeErrorTypeKey SWIFT_WARN_UNUSED_RESULT; +/// If the value of userInfo[stripeErrorCodeKey] is STPError.cardDeclined, +/// the value for this key contains the decline code. +/// seealso: +/// https://stripe.com/docs/declines/codes +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull stripeDeclineCodeKey;) ++ (NSString * _Nonnull)stripeDeclineCodeKey SWIFT_WARN_UNUSED_RESULT; +/// The card number is not a valid credit card number. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull invalidNumber;) ++ (NSString * _Nonnull)invalidNumber SWIFT_WARN_UNUSED_RESULT; +/// The card has an invalid expiration month. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull invalidExpMonth;) ++ (NSString * _Nonnull)invalidExpMonth SWIFT_WARN_UNUSED_RESULT; +/// The card has an invalid expiration year. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull invalidExpYear;) ++ (NSString * _Nonnull)invalidExpYear SWIFT_WARN_UNUSED_RESULT; +/// The card has an invalid CVC. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull invalidCVC;) ++ (NSString * _Nonnull)invalidCVC SWIFT_WARN_UNUSED_RESULT; +/// The card number is incorrect. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull incorrectNumber;) ++ (NSString * _Nonnull)incorrectNumber SWIFT_WARN_UNUSED_RESULT; +/// The card is expired. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull expiredCard;) ++ (NSString * _Nonnull)expiredCard SWIFT_WARN_UNUSED_RESULT; +/// The card was declined. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull cardDeclined;) ++ (NSString * _Nonnull)cardDeclined SWIFT_WARN_UNUSED_RESULT; +/// An error occured while processing this card. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull processingError;) ++ (NSString * _Nonnull)processingError SWIFT_WARN_UNUSED_RESULT; +/// The card has an incorrect CVC. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull incorrectCVC;) ++ (NSString * _Nonnull)incorrectCVC SWIFT_WARN_UNUSED_RESULT; +/// The postal code is incorrect. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull incorrectZip;) ++ (NSString * _Nonnull)incorrectZip SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +/// :nodoc: +/// Possible error code values for NSErrors with the StripeDomain domain +typedef SWIFT_ENUM_NAMED(NSInteger, STPErrorCode, "_stpobjc_STPErrorCode", open) { +/// Trouble connecting to Stripe. + STPConnectionError SWIFT_COMPILE_NAME("connectionError") = 40, +/// Your request had invalid parameters. + STPInvalidRequestError SWIFT_COMPILE_NAME("invalidRequestError") = 50, +/// No valid publishable API key provided. + STPAuthenticationError SWIFT_COMPILE_NAME("authenticationError") = 51, +/// General-purpose API error. + STPAPIError SWIFT_COMPILE_NAME("apiError") = 60, +/// Something was wrong with the given card details. + STPCardError SWIFT_COMPILE_NAME("cardError") = 70, +/// The operation was cancelled. + STPCancellationError SWIFT_COMPILE_NAME("cancellationError") = 80, +/// The ephemeral key could not be decoded. Make sure your backend is sending +/// the unmodified JSON of the ephemeral key to your app. +/// https://stripe.com/docs/mobile/ios/standard#prepare-your-api + STPEphemeralKeyDecodingError SWIFT_COMPILE_NAME("ephemeralKeyDecodingError") = 1000, +}; + + +/// A top-level class that imports the rest of the Stripe SDK. +/// :nodoc: +SWIFT_CLASS_NAMED("_stpobjc_StripeAPI") +@interface StripeAPI : NSObject +/// Set this to your Stripe publishable API key, obtained from https://dashboard.stripe.com/apikeys. +/// Set this as early as possible in your application’s lifecycle, preferably in your AppDelegate or SceneDelegate. +/// New instances of STPAPIClient will be initialized with this value. +/// @warning Make sure not to ship your test API keys to the App Store! This will log a warning if you use your test key in a release build. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, copy) NSString * _Nullable defaultPublishableKey;) ++ (NSString * _Nullable)defaultPublishableKey SWIFT_WARN_UNUSED_RESULT; ++ (void)setDefaultPublishableKey:(NSString * _Nullable)newValue; +/// A Boolean value that determines whether additional device data is sent to Stripe for fraud prevention. +/// If YES, additional device signals will be sent to Stripe. +/// For more details on the information we collect, visit https://stripe.com/docs/disputes/prevention/advanced-fraud-detection +/// Disabling this setting will reduce Stripe’s ability to protect your business from fraudulent payments. +/// The default value is YES. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL advancedFraudSignalsEnabled;) ++ (BOOL)advancedFraudSignalsEnabled SWIFT_WARN_UNUSED_RESULT; ++ (void)setAdvancedFraudSignalsEnabled:(BOOL)newValue; +/// If the SDK receives a “Too Many Requests” (429) status code from Stripe, +/// it will automatically retry the request. +/// The default value is 3. +/// See https://stripe.com/docs/rate-limits for more information. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class) NSInteger maxRetries;) ++ (NSInteger)maxRetries SWIFT_WARN_UNUSED_RESULT; ++ (void)setMaxRetries:(NSInteger)newValue; +/// Call this method in your app delegate whenever you receive an URL in your +/// app delegate for a Stripe callback. +/// For convenience, you can pass all URL’s you receive in your app delegate +/// to this method first, and check the return value +/// to easily determine whether it is a callback URL that Stripe will handle +/// or if your app should process it normally. +/// If you are using a universal link URL, you will receive the callback in application:continueUserActivity:restorationHandler: +/// To learn more about universal links, see https://developer.apple.com/library/content/documentation/General/Conceptual/AppSearch/UniversalLinks.html +/// If you are using a native scheme URL, you will receive the callback in application:openURL:options: +/// To learn more about native url schemes, see https://developer.apple.com/library/content/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/Inter-AppCommunication/Inter-AppCommunication.html#//apple_ref/doc/uid/TP40007072-CH6-SW10 +/// \param url The URL that you received in your app delegate +/// +/// +/// returns: +/// YES if the URL is expected and will be handled by Stripe. NO otherwise. ++ (BOOL)handleStripeURLCallbackWithURL:(NSURL * _Nonnull)url; +/// Japanese users can enable JCB for Apple Pay by setting this to YES, after they have been approved by JCB. +/// The default value is NO. +/// @note JCB is only supported on iOS 10.1+ +SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL jcbPaymentNetworkSupported;) ++ (BOOL)jcbPaymentNetworkSupported SWIFT_WARN_UNUSED_RESULT; ++ (void)setJcbPaymentNetworkSupported:(BOOL)newValue; +/// The SDK accepts Amex, Mastercard, Visa, and Discover for Apple Pay. +/// Set this property to enable other card networks in addition to these. +/// For example, additionalEnabledApplePayNetworks = [.JCB] enables JCB (note this requires onboarding from JCB and Stripe). +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, copy) NSArray * _Nonnull additionalEnabledApplePayNetworks;) ++ (NSArray * _Nonnull)additionalEnabledApplePayNetworks SWIFT_WARN_UNUSED_RESULT; ++ (void)setAdditionalEnabledApplePayNetworks:(NSArray * _Nonnull)newValue; +/// Whether or not this device is capable of using Apple Pay. This checks both +/// whether the device supports Apple Pay, as well as whether or not they have +/// stored Apple Pay cards on their device. +/// \param paymentRequest The return value of this method depends on the +/// supportedNetworks property of this payment request, which by default should be +/// [.amex, .masterCard, .visa, .discover]. +/// +/// +/// returns: +/// whether or not the user is currently able to pay with Apple Pay. ++ (BOOL)canSubmitPaymentRequest:(PKPaymentRequest * _Nonnull)paymentRequest SWIFT_WARN_UNUSED_RESULT; +/// Whether or not this can make Apple Pay payments via a card network supported +/// by Stripe. +/// The Stripe supported Apple Pay card networks are: +/// American Express, Visa, Mastercard, Discover, Maestro. +/// Japanese users can enable JCB by setting JCBPaymentNetworkSupported to YES, +/// after they have been approved by JCB. +/// +/// returns: +/// YES if the device is currently able to make Apple Pay payments via one +/// of the supported networks. NO if the user does not have a saved card of a +/// supported type, or other restrictions prevent payment (such as parental controls). ++ (BOOL)deviceSupportsApplePay SWIFT_WARN_UNUSED_RESULT; +/// A convenience method to build a PKPaymentRequest with sane default values. +/// You will still need to configure the paymentSummaryItems property to indicate +/// what the user is purchasing, as well as the optional requiredShippingAddressFields, +/// requiredBillingAddressFields, and shippingMethods properties to indicate +/// what contact information your application requires. +/// Note that this method sets the payment request’s countryCode to “US” and its +/// currencyCode to “USD”. +/// \param merchantIdentifier Your Apple Merchant ID. +/// +/// +/// returns: +/// a PKPaymentRequest with proper default values. Returns nil if running on < iOS8. +/// @deprecated Use paymentRequestWithMerchantIdentifier:country:currency: instead. +/// Apple Pay is available in many countries and currencies, and you should use +/// the appropriate values for your business. ++ (PKPaymentRequest * _Nonnull)paymentRequestWithMerchantIdentifier:(NSString * _Nonnull)merchantIdentifier SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("Use `paymentRequestWithMerchantIdentifier:country:currency:` instead."); +/// A convenience method to build a PKPaymentRequest with sane default values. +/// You will still need to configure the paymentSummaryItems property to indicate +/// what the user is purchasing, as well as the optional requiredShippingContactFields, +/// requiredBillingContactFields, and shippingMethods properties to indicate +/// what additional contact information your application requires. +/// \param merchantIdentifier Your Apple Merchant ID. +/// +/// \param countryCode The two-letter code for the country where the payment +/// will be processed. This should be the country of your Stripe account. +/// +/// \param currencyCode The three-letter code for the currency used by this +/// payment request. Apple Pay interprets the amounts provided by the summary items +/// attached to this request as amounts in this currency. +/// +/// +/// returns: +/// a PKPaymentRequest with proper default values. ++ (PKPaymentRequest * _Nonnull)paymentRequestWithMerchantIdentifier:(NSString * _Nonnull)merchantIdentifier country:(NSString * _Nonnull)countryCode currency:(NSString * _Nonnull)currencyCode SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +#ifndef STRIPE_SWIFT_H +#define STRIPE_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# 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 +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import CoreGraphics; +@import Foundation; +@import ObjectiveC; +@import PassKit; +@import SafariServices; +@import StripeApplePay; +@import StripeCore; +@import UIKit; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="Stripe",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + + + + +@interface NSError (SWIFT_EXTENSION(Stripe)) +/// Creates an NSError object from a given Stripe API json response. +/// \param jsonDictionary The root dictionary from the JSON response. +/// +/// +/// returns: +/// An NSError object with the error information from the JSON response, +/// or nil if there was no error information included in the JSON dictionary. ++ (NSError * _Nullable)stp_errorFromStripeResponse:(NSDictionary * _Nullable)jsonDictionary SWIFT_WARN_UNUSED_RESULT; +@end + + + + +/// Objects conforming to STPAPIResponseDecodable can be automatically converted +/// from a JSON dictionary that was returned from the Stripe API. +SWIFT_PROTOCOL("_TtP6Stripe23STPAPIResponseDecodable_") +@protocol STPAPIResponseDecodable +/// Parses an response from the Stripe API (in JSON format; represented as +/// an NSDictionary) into an instance of the class. +/// \param response The JSON dictionary that represents an object of this type +/// +/// +/// returns: +/// The object represented by the JSON dictionary, or nil if the object +/// could not be decoded (i.e. if one of its requiredFields is nil). ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +/// The raw JSON response used to create the object. This can be useful for accessing +/// fields that haven’t yet been made into native properties in the SDK. +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +@end + +@class UIFont; +@class UIColor; + +/// STPFormTextFieldContainer is a protocol that views can conform to to provide customization properties for the field form views that they contain. +SWIFT_PROTOCOL("_TtP6Stripe25STPFormTextFieldContainer_") +@protocol STPFormTextFieldContainer +/// The font used in each child field. Default is .body. +@property (nonatomic, strong) UIFont * _Nonnull formFont; +/// The text color to be used when entering valid text. Default is .label on iOS 13.0 and later and .darkText on earlier versions. +@property (nonatomic, strong) UIColor * _Nonnull formTextColor; +/// The text color to be used when the user has entered invalid information, +/// such as an invalid card number. +/// Default is .red. +@property (nonatomic, strong) UIColor * _Nonnull formTextErrorColor; +/// The text placeholder color used in each child field. +/// This will also set the color of the card placeholder icon. +/// Default is .placeholderText on iOS 13.0 and .lightGray on earlier versions. +@property (nonatomic, strong) UIColor * _Nonnull formPlaceholderColor; +/// The cursor color for the field. +/// This is a proxy for the view’s tintColor property, exposed for clarity only +/// (in other words, calling setCursorColor is identical to calling setTintColor). +@property (nonatomic, strong) UIColor * _Nonnull formCursorColor; +/// The keyboard appearance for the field. +/// Default is .default. +@property (nonatomic) UIKeyboardAppearance formKeyboardAppearance; +@end + +@class UITextField; +@class NSCoder; + +/// STPMultiFormTextField is a lightweight UIView that wraps a collection of STPFormTextFields and can automatically move to the next form field when one is completed. +SWIFT_CLASS("_TtC6Stripe21STPMultiFormTextField") +@interface STPMultiFormTextField : UIView +/// :nodoc: +- (BOOL)textField:(UITextField * _Nonnull)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString * _Nonnull)string SWIFT_WARN_UNUSED_RESULT; +/// Calling this method will make the next incomplete STPFormTextField in formTextFields become the first responder. +/// If all of the form text fields are already complete, then the last field in formTextFields will become the first responder. +- (void)focusNextForm; +/// :nodoc: +@property (nonatomic, readonly) BOOL canResignFirstResponder; +/// :nodoc: +- (BOOL)resignFirstResponder SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) BOOL isFirstResponder; +/// :nodoc: +@property (nonatomic, readonly) BOOL canBecomeFirstResponder; +/// :nodoc: +- (BOOL)becomeFirstResponder SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)textFieldDidEndEditing:(UITextField * _Nonnull)textField; +/// :nodoc: +- (void)textFieldDidBeginEditing:(UITextField * _Nonnull)textField; +/// :nodoc: +- (BOOL)textFieldShouldReturn:(UITextField * _Nonnull)textField SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, strong) UIFont * _Nonnull formFont; +@property (nonatomic, strong) UIColor * _Nonnull formTextColor; +@property (nonatomic, strong) UIColor * _Nonnull formTextErrorColor; +@property (nonatomic, strong) UIColor * _Nonnull formPlaceholderColor; +@property (nonatomic, strong) UIColor * _Nonnull formCursorColor; +@property (nonatomic) UIKeyboardAppearance formKeyboardAppearance; +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; +@end + +@protocol STPAUBECSDebitFormViewDelegate; +@class STPPaymentMethodParams; +@class UITextView; + +/// STPAUBECSDebitFormView is a subclass of UIControl that contains all of the necessary fields and legal text for collecting AU BECS Debit payments. +/// For additional customization options - seealso: STPFormTextFieldContainer +SWIFT_CLASS("_TtC6Stripe22STPAUBECSDebitFormView") +@interface STPAUBECSDebitFormView : STPMultiFormTextField +/// \param companyName The name of the company collecting AU BECS Debit payment details information. This will be used to provide the required service agreement text. - seealso: https://stripe.com/au-becs/legal +/// +- (nonnull instancetype)initWithCompanyName:(NSString * _Nonnull)companyName OBJC_DESIGNATED_INITIALIZER; +/// Use initWithCompanyName instead. +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; +/// Use initWithCompanyName instead. +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +/// The background color for the form text fields. Defaults to .systemBackground on iOS 13.0 and later, .white on earlier iOS versions. +@property (nonatomic, strong) UIColor * _Nonnull formBackgroundColor; +/// The delegate to inform about changes to this STPAUBECSDebitFormView instance. +@property (nonatomic, weak) id _Nullable becsDebitFormDelegate; +/// This property will return a non-nil value if and only if the form is in a complete state. The STPPaymentMethodParams instance +/// will have it’s auBECSDebit property populated with the values input in this form. +@property (nonatomic, readonly, strong) STPPaymentMethodParams * _Nullable paymentMethodParams; +/// :nodoc: +- (CGSize)systemLayoutSizeFittingSize:(CGSize)targetSize withHorizontalFittingPriority:(UILayoutPriority)horizontalFittingPriority verticalFittingPriority:(UILayoutPriority)verticalFittingPriority SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (BOOL)textView:(UITextView * _Nonnull)textView shouldInteractWithURL:(NSURL * _Nonnull)URL inRange:(NSRange)characterRange interaction:(UITextItemInteraction)interaction SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, strong) UIFont * _Nonnull formFont; +/// :nodoc: +@property (nonatomic, strong) UIColor * _Nonnull formTextColor; +@end + + + +/// STPAUBECSDebitFormViewDelegate provides methods for STPAUBECSDebitFormView to inform its delegate +/// of when the form has been completed. +SWIFT_PROTOCOL("_TtP6Stripe30STPAUBECSDebitFormViewDelegate_") +@protocol STPAUBECSDebitFormViewDelegate +/// Called when the form transitions from complete to incomplete or vice-versa. +/// \param form The STPAUBECSDebitFormView instance whose completion state has changed +/// +/// \param complete Whether the form is considered complete and can generate an STPPaymentMethodParams instance. +/// +- (void)auBECSDebitForm:(STPAUBECSDebitFormView * _Nonnull)form didChangeToStateComplete:(BOOL)complete; +@end + +@class STPPaymentCardTextField; + +/// This protocol allows a delegate to be notified when a payment text field’s +/// contents change, which can in turn be used to take further actions depending +/// on the validity of its contents. +SWIFT_PROTOCOL("_TtP6Stripe31STPPaymentCardTextFieldDelegate_") +@protocol STPPaymentCardTextFieldDelegate +@optional +/// Called when either the card number, expiration, or CVC changes. At this point, +/// one can call isValid on the text field to determine, for example, +/// whether or not to enable a button to submit the form. Example: +///
    +///
  • +/// (void)paymentCardTextFieldDidChange:(STPPaymentCardTextField *)textField { +/// self.paymentButton.enabled = textField.isValid; +/// } +///
  • +///
+/// \param textField the text field that has changed +/// +- (void)paymentCardTextFieldDidChange:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing begins in the text field as a whole. +/// After receiving this callback, you will always also receive a callback for which +/// specific subfield of the view began editing. +- (void)paymentCardTextFieldDidBeginEditing:(STPPaymentCardTextField * _Nonnull)textField; +/// Notification that the user pressed the return key after completely filling +/// out the STPPaymentCardTextField with data that passes validation. +/// The Stripe SDK is going to resignFirstResponder on the STPPaymentCardTextField +/// to dismiss the keyboard after this delegate method returns, however if your app wants +/// to do something more (ex: move first responder to another field), this is a good +/// opportunity to do that. +/// This is delivered before the corresponding paymentCardTextFieldDidEndEditing: +/// \param textField The STPPaymentCardTextField that was being edited when the user pressed return +/// +- (void)paymentCardTextFieldWillEndEditingForReturn:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing ends in the text field as a whole. +/// This callback is always preceded by an callback for which +/// specific subfield of the view ended its editing. +- (void)paymentCardTextFieldDidEndEditing:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing begins in the payment card field’s number field. +- (void)paymentCardTextFieldDidBeginEditingNumber:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing ends in the payment card field’s number field. +- (void)paymentCardTextFieldDidEndEditingNumber:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing begins in the payment card field’s CVC field. +- (void)paymentCardTextFieldDidBeginEditingCVC:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing ends in the payment card field’s CVC field. +- (void)paymentCardTextFieldDidEndEditingCVC:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing begins in the payment card field’s expiration field. +- (void)paymentCardTextFieldDidBeginEditingExpiration:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing ends in the payment card field’s expiration field. +- (void)paymentCardTextFieldDidEndEditingExpiration:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing begins in the payment card field’s ZIP/postal code field. +- (void)paymentCardTextFieldDidBeginEditingPostalCode:(STPPaymentCardTextField * _Nonnull)textField; +/// Called when editing ends in the payment card field’s ZIP/postal code field. +- (void)paymentCardTextFieldDidEndEditingPostalCode:(STPPaymentCardTextField * _Nonnull)textField; +@end + +@class STPTheme; +@class NSBundle; + +/// This is the base class for all Stripe view controllers. It is intended for use +/// only by Stripe classes, you should not subclass it yourself in your app. +/// It theming, back/cancel button management, and other shared logic for +/// Stripe view controllers. +SWIFT_CLASS("_TtC6Stripe21STPCoreViewController") +@interface STPCoreViewController : UIViewController +/// A convenience initializer; equivalent to calling init(theme: STPTheme.defaultTheme). +- (nonnull instancetype)init; +/// Initializes a new view controller with the specified theme +/// \param theme The theme to use to inform the view controller’s visual appearance. - seealso: STPTheme +/// +- (nonnull instancetype)initWithTheme:(STPTheme * _Nullable)theme OBJC_DESIGNATED_INITIALIZER; +/// Passes through to the default UIViewController behavior for this initializer, +/// and then also sets the default theme as in init +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER; +/// Passes through to the default UIViewController behavior for this initializer, +/// and then also sets the default theme as in init +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +- (void)viewDidLoad; +/// :nodoc: +- (void)viewWillAppear:(BOOL)animated; +/// :nodoc: +- (void)viewWillDisappear:(BOOL)animated; +/// :nodoc: +@property (nonatomic, readonly) UIStatusBarStyle preferredStatusBarStyle; +@end + +@class UIScrollView; + +/// This is the base class for all Stripe scroll view controllers. It is intended +/// for use only by Stripe classes, you should not subclass it yourself in your app. +SWIFT_CLASS("_TtC6Stripe27STPCoreScrollViewController") +@interface STPCoreScrollViewController : STPCoreViewController +/// This returns the scroll view being managed by the view controller +@property (nonatomic, strong) UIScrollView * _Nonnull scrollView; +/// :nodoc: +- (void)viewDidLoad; +/// :nodoc: +- (void)viewDidLayoutSubviews; +- (nonnull instancetype)initWithTheme:(STPTheme * _Nullable)theme OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER; +@end + +@class UITableView; + +/// This is the base class for all Stripe scroll view controllers. It is intended +/// for use only by Stripe classes, you should not subclass it yourself in your app. +/// It inherits from STPCoreScrollViewController and changes the type of the +/// created scroll view to UITableView, as well as other shared table view logic. +SWIFT_CLASS("_TtC6Stripe26STPCoreTableViewController") +@interface STPCoreTableViewController : STPCoreScrollViewController +/// This points to the same object as STPCoreScrollViewController’s scrollView +/// property but with the type cast to UITableView +@property (nonatomic, readonly, strong) UITableView * _Nullable tableView; +/// :nodoc: +- (void)viewWillAppear:(BOOL)animated; +/// :nodoc: +- (CGFloat)tableView:(UITableView * _Nonnull)tableView heightForHeaderInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)initWithTheme:(STPTheme * _Nullable)theme OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER; +@end + +@class STPPaymentConfiguration; +@protocol STPAddCardViewControllerDelegate; +@class STPUserInformation; +@class STPAPIClient; +@class UITableViewCell; +@protocol UIViewControllerTransitionCoordinator; + +/// This view controller contains a credit card entry form that the user can fill out. On submission, it will use the Stripe API to convert the user’s card details to a Stripe token. It renders a right bar button item that submits the form, so it must be shown inside a UINavigationController. +SWIFT_CLASS("_TtC6Stripe24STPAddCardViewController") +@interface STPAddCardViewController : STPCoreTableViewController +/// A convenience initializer; equivalent to calling init(configuration: STPPaymentConfiguration.shared, theme: STPTheme.defaultTheme). +- (nonnull instancetype)init; +/// Initializes a new STPAddCardViewController with the provided configuration and theme. Don’t forget to set the delegate property after initialization. +/// \param configuration The configuration to use (this determines the Stripe publishable key to use, the required billing address fields, whether or not to use SMS autofill, etc). - seealso: STPPaymentConfiguration +/// +/// \param theme The theme to use to inform the view controller’s visual appearance. - seealso: STPTheme +/// +- (nonnull instancetype)initWithConfiguration:(STPPaymentConfiguration * _Nonnull)configuration theme:(STPTheme * _Nonnull)theme OBJC_DESIGNATED_INITIALIZER; +/// The view controller’s delegate. This must be set before showing the view controller in order for it to work properly. - seealso: STPAddCardViewControllerDelegate +@property (nonatomic, weak) id _Nullable delegate; +/// You can set this property to pre-fill any information you’ve already collected from your user. - seealso: STPUserInformation.h +@property (nonatomic, strong) STPUserInformation * _Nullable prefilledInformation; +/// Provide this view controller with a footer view. +/// When the footer view needs to be resized, it will be sent a +/// sizeThatFits: call. The view should respond correctly to this method in order +/// to be sized and positioned properly. +@property (nonatomic, strong) UIView * _Nullable customFooterView; +/// The API Client to use to make requests. +/// Defaults to STPAPIClient.shared. +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +/// Use init: or initWithConfiguration:theme: +- (nonnull instancetype)initWithTheme:(STPTheme * _Nullable)theme SWIFT_UNAVAILABLE; +/// Use init: or initWithConfiguration:theme: +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE; +/// Use init: or initWithConfiguration:theme: +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE; +/// :nodoc: +- (CGFloat)tableView:(UITableView * _Nonnull)tableView estimatedHeightForRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)viewDidLayoutSubviews; +/// :nodoc: +- (void)updateAppearance; +/// :nodoc: +- (void)viewDidAppear:(BOOL)animated; +/// :nodoc: +- (void)handleCancelTapped:(id _Nullable)sender; +- (void)paymentCardTextFieldDidChange:(STPPaymentCardTextField * _Nonnull)textField; +- (void)paymentCardTextFieldWillEndEditingForReturn:(STPPaymentCardTextField * _Nonnull)textField; +- (void)paymentCardTextFieldDidBeginEditingCVC:(STPPaymentCardTextField * _Nonnull)textField; +- (void)paymentCardTextFieldDidEndEditingCVC:(STPPaymentCardTextField * _Nonnull)textField; +- (void)paymentCardTextFieldDidBeginEditing:(STPPaymentCardTextField * _Nonnull)textField; +/// :nodoc: +- (NSInteger)numberOfSectionsInTableView:(UITableView * _Nonnull)tableView SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (NSInteger)tableView:(UITableView * _Nonnull)tableView numberOfRowsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (UITableViewCell * _Nonnull)tableView:(UITableView * _Nonnull)tableView cellForRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)tableView:(UITableView * _Nonnull)tableView willDisplayCell:(UITableViewCell * _Nonnull)cell forRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath; +/// :nodoc: +- (CGFloat)tableView:(UITableView * _Nonnull)tableView heightForFooterInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (CGFloat)tableView:(UITableView * _Nonnull)tableView heightForHeaderInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (UIView * _Nullable)tableView:(UITableView * _Nonnull)tableView viewForHeaderInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (UIView * _Nullable)tableView:(UITableView * _Nonnull)tableView viewForFooterInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id _Nonnull)coordinator; +@end + + +@class STPPaymentMethod; +@class STPToken; +@class STPSource; + +/// An STPAddCardViewControllerDelegate is notified when an STPAddCardViewController +/// successfully creates a card token or is cancelled. It has internal error-handling +/// logic, so there’s no error case to deal with. +SWIFT_PROTOCOL("_TtP6Stripe32STPAddCardViewControllerDelegate_") +@protocol STPAddCardViewControllerDelegate +/// Called when the user cancels adding a card. You should dismiss (or pop) the +/// view controller at this point. +/// \param addCardViewController the view controller that has been cancelled +/// +- (void)addCardViewControllerDidCancel:(STPAddCardViewController * _Nonnull)addCardViewController; +/// This is called when the user successfully adds a card and Stripe returns a +/// Payment Method. +/// You should send the PaymentMethod to your backend to store it on a customer, and then +/// call the provided completion block when that call is finished. If an error +/// occurs while talking to your backend, call completion(error), otherwise, +/// dismiss (or pop) the view controller. +/// \param addCardViewController the view controller that successfully created a token +/// +/// \param paymentMethod the Payment Method that was created. - seealso: STPPaymentMethod +/// +/// \param completion call this callback when you’re done sending the token to your backend +/// +- (void)addCardViewController:(STPAddCardViewController * _Nonnull)addCardViewController didCreatePaymentMethod:(STPPaymentMethod * _Nonnull)paymentMethod completion:(void (^ _Nonnull)(NSError * _Nullable))completion; +@optional +/// This method is deprecated as of v16.0.0 (https://github.com/stripe/stripe-ios/blob/master/MIGRATING.md#migrating-from-versions–1600). +/// To use this class, migrate your integration from Charges to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read +- (void)addCardViewController:(STPAddCardViewController * _Nonnull)addCardViewController didCreateToken:(STPToken * _Nonnull)token completion:(SWIFT_NOESCAPE void (^ _Nonnull)(NSError * _Nullable))completion SWIFT_DEPRECATED_MSG("Use addCardViewController(_:didCreatePaymentMethod:completion:) instead and migrate your integration to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read", "addCardViewController:didCreatePaymentMethod:completion:"); +/// This method is deprecated as of v16.0.0 (https://github.com/stripe/stripe-ios/blob/master/MIGRATING.md#migrating-from-versions–1600). +/// To use this class, migrate your integration from Charges to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read +- (void)addCardViewController:(STPAddCardViewController * _Nonnull)addCardViewController didCreateSource:(STPSource * _Nonnull)source completion:(SWIFT_NOESCAPE void (^ _Nonnull)(NSError * _Nullable))completion SWIFT_DEPRECATED_MSG("Use addCardViewController(_:didCreatePaymentMethod:completion:) instead and migrate your integration to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read", "addCardViewController:didCreatePaymentMethod:completion:"); +@end + +@class PKShippingMethod; +@class STPPaymentMethodBillingDetails; +@class PKContact; +@class CNContact; +enum STPBillingAddressFields : NSUInteger; +@class STPContactField; + +/// STPAddress Contains an address as represented by the Stripe API. +SWIFT_CLASS("_TtC6Stripe10STPAddress") +@interface STPAddress : NSObject +/// The user’s full name (e.g. “Jane Doe”) +@property (nonatomic, copy) NSString * _Nullable name; +/// The first line of the user’s street address (e.g. “123 Fake St”) +@property (nonatomic, copy) NSString * _Nullable line1; +/// The apartment, floor number, etc of the user’s street address (e.g. “Apartment 1A”) +@property (nonatomic, copy) NSString * _Nullable line2; +/// The city in which the user resides (e.g. “San Francisco”) +@property (nonatomic, copy) NSString * _Nullable city; +/// The state in which the user resides (e.g. “CA”) +@property (nonatomic, copy) NSString * _Nullable state; +/// The postal code in which the user resides (e.g. “90210”) +@property (nonatomic, copy) NSString * _Nullable postalCode; +/// The ISO country code of the address (e.g. “US”) +@property (nonatomic, copy) NSString * _Nullable country; +/// The phone number of the address (e.g. “8885551212”) +@property (nonatomic, copy) NSString * _Nullable phone; +/// The email of the address (e.g. “jane@doe.com”) +@property (nonatomic, copy) NSString * _Nullable email; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// When creating a charge on your backend, you can attach shipping information +/// to prevent fraud on a physical good. You can use this method to turn your user’s +/// shipping address and selected shipping method into a hash suitable for attaching +/// to a charge. You should pass this to your backend, and use it as the shipping +/// parameter when creating a charge. +/// seealso: +/// https://stripe.com/docs/api#create_charge-shipping +/// \param address The user’s shipping address. If nil, this method will return nil. +/// +/// \param method The user’s selected shipping method. May be nil. +/// ++ (NSDictionary * _Nullable)shippingInfoForChargeWithAddress:(STPAddress * _Nullable)address shippingMethod:(PKShippingMethod * _Nullable)method SWIFT_WARN_UNUSED_RESULT; +/// Initializes an empty STPAddress. +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +/// Initializes a new STPAddress with data from STPPaymentMethodBillingDetails. +/// \param billingDetails The STPPaymentMethodBillingDetails instance you want to populate the STPAddress from. +/// +/// +/// returns: +/// A new STPAddress instance with data copied from the passed in billing details. +- (nonnull instancetype)initWithPaymentMethodBillingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails OBJC_DESIGNATED_INITIALIZER; +/// Initializes a new STPAddress with data from an PassKit contact. +/// \param contact The PassKit contact you want to populate the STPAddress from. +/// +/// +/// returns: +/// A new STPAddress instance with data copied from the passed in contact. +- (nonnull instancetype)initWithPKContact:(PKContact * _Nonnull)contact OBJC_DESIGNATED_INITIALIZER; +/// Generates a PassKit contact representation of this STPAddress. +/// +/// returns: +/// A new PassKit contact with data copied from this STPAddress instance. +- (PKContact * _Nonnull)PKContactValue SWIFT_WARN_UNUSED_RESULT; +/// Initializes a new STPAddress with a contact from the Contacts framework. +/// \param contact The CNContact you want to populate the STPAddress from. +/// +/// +/// returns: +/// A new STPAddress instance with data copied from the passed in contact. +- (nonnull instancetype)initWithCNContact:(CNContact * _Nonnull)contact OBJC_DESIGNATED_INITIALIZER; +/// Checks if this STPAddress has the level of valid address information +/// required by the passed in setting. +/// \param requiredFields The required level of billing address information to +/// check against. +/// +/// +/// returns: +/// YES if this address contains at least the necessary information, +/// NO otherwise. +- (BOOL)containsRequiredFields:(enum STPBillingAddressFields)requiredFields SWIFT_WARN_UNUSED_RESULT; +/// Checks if this STPAddress has any content (possibly invalid) in any of the +/// desired billing address fields. +/// Where containsRequiredFields: validates that this STPAddress contains valid data in +/// all of the required fields, this method checks for the existence of any data. +/// For example, if desiredFields is STPBillingAddressFieldsZip, this will check +/// if the postalCode is empty. +/// Note: When desiredFields == STPBillingAddressFieldsNone, this method always returns +/// NO. +/// @parameter desiredFields The billing address information the caller is interested in. +/// +/// returns: +/// YES if there is any data in this STPAddress that’s relevant for those fields. +- (BOOL)containsContentForBillingAddressFields:(enum STPBillingAddressFields)desiredFields SWIFT_WARN_UNUSED_RESULT; +/// Checks if this STPAddress has the level of valid address information +/// required by the passed in setting. +/// Note: When requiredFields == nil, this method always returns +/// YES. +/// \param requiredFields The required shipping address information to check against. +/// +/// +/// returns: +/// YES if this address contains at least the necessary information, +/// NO otherwise. +- (BOOL)containsRequiredShippingAddressFields:(NSSet * _Nullable)requiredFields SWIFT_WARN_UNUSED_RESULT; +/// Checks if this STPAddress has any content (possibly invalid) in any of the +/// desired shipping address fields. +/// Where containsRequiredShippingAddressFields: validates that this STPAddress +/// contains valid data in all of the required fields, this method checks for the +/// existence of any data. +/// Note: When desiredFields == nil, this method always returns +/// NO. +/// @parameter desiredFields The shipping address information the caller is interested in. +/// +/// returns: +/// YES if there is any data in this STPAddress that’s relevant for those fields. +- (BOOL)containsContentForShippingAddressFields:(NSSet * _Nullable)desiredFields SWIFT_WARN_UNUSED_RESULT; +/// Converts an STPBillingAddressFields enum value into the closest equivalent +/// representation of PKContactField options +/// \param billingAddressFields Stripe billing address fields enum value to convert. +/// +/// +/// returns: +/// The closest representation of the billing address requirement as +/// a PKContactField value. ++ (NSSet * _Nonnull)applePayContactFieldsFromBillingAddressFields:(enum STPBillingAddressFields)billingAddressFields SWIFT_WARN_UNUSED_RESULT; +/// Converts a set of STPContactField values into the closest equivalent +/// representation of PKContactField options +/// \param contactFields Stripe contact fields values to convert. +/// +/// +/// returns: +/// The closest representation of the contact fields as +/// a PKContactField value. ++ (NSSet * _Nullable)pkContactFieldsFromStripeContactFields:(NSSet * _Nullable)contactFields SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +@end + + +@interface STPAddress (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface STPAddress (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Objects conforming to STPFormEncodable can be automatically converted to a form-encoded string, which can then be used when making requests to the Stripe API. +SWIFT_PROTOCOL("_TtP6Stripe16STPFormEncodable_") +@protocol STPFormEncodable +/// The root object name to be used when converting this object to a form-encoded string. For example, if this returns “card”, then the form-encoded output will resemble “card[foo]=bar” (where ‘foo’ and ‘bar’ are specified by propertyNamesToFormFieldNamesMapping below. ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +/// This maps properties on an object that is being form-encoded into parameter names in the Stripe API. For example, STPCardParams has a field called expMonth, but the Stripe API expects a field called exp_month. This dictionary represents a mapping from the former to the latter (in other words, STPCardParams.propertyNamesToFormFieldNamesMapping()[“expMonth”] == “exp_month”.) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +/// You can use this property to add additional fields to an API request that are not explicitly defined by the object’s interface. This can be useful when using beta features that haven’t been added to the Stripe SDK yet. For example, if the /v1/tokens API began to accept a beta field called “test_field”, you might do the following: +/// var cardParams = STPCardParams() +/// // add card values +/// cardParams.additionalAPIParameters = [“test_field”: “example_value”] +/// STPAPIClient.shared.createToken(withParameters: cardParams completion:…); +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +@end + + +@interface STPAddress (SWIFT_EXTENSION(Stripe)) ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +@end + + + + + + + + + +@class _stpinternal_APContextSwift; +@class PKPayment; +enum STPPaymentStatus : NSInteger; + +/// Implement the required methods of this delegate to supply a PaymentIntent to STPApplePayContext and be notified of the completion of the Apple Pay payment. +/// You may also implement the optional delegate methods to handle shipping methods and shipping address changes e.g. to verify you can ship to the address, or update the payment amount. +SWIFT_PROTOCOL_NAMED("STPApplePayContextDelegate") +@protocol _stpinternal_apContextDelegate <_stpinternal_STPApplePayContextDelegateBase> +/// Called after the customer has authorized Apple Pay. Implement this method to call the completion block with the client secret of a PaymentIntent or SetupIntent. +/// \param paymentMethod The PaymentMethod that represents the customer’s Apple Pay payment method. +/// If you create the PaymentIntent with confirmation_method=manual, pass paymentMethod.stripeId as the payment_method and confirm=true. Otherwise, you can ignore this parameter. +/// +/// \param paymentInformation The underlying PKPayment created by Apple Pay. +/// If you create the PaymentIntent with confirmation_method=manual, you can collect shipping information using its shippingContact and shippingMethod properties. +/// +/// \param completion Call this with the PaymentIntent or SetupIntent client secret, or the error that occurred creating the PaymentIntent or SetupIntent. +/// +- (void)applePayContext:(_stpinternal_APContextSwift * _Nonnull)context didCreatePaymentMethod:(STPPaymentMethod * _Nonnull)paymentMethod paymentInformation:(PKPayment * _Nonnull)paymentInformation completion:(void (^ _Nonnull)(NSString * _Nullable, NSError * _Nullable))completion; +/// Called after the Apple Pay sheet is dismissed with the result of the payment. +/// Your implementation could stop a spinner and display a receipt view or error to the customer, for example. +/// \param status The status of the payment +/// +/// \param error The error that occurred, if any. +/// +- (void)applePayContext:(_stpinternal_APContextSwift * _Nonnull)context didCompleteWithStatus:(enum STPPaymentStatus)status error:(NSError * _Nullable)error; +@end + +@class UIImage; + +/// This protocol represents a payment method that a user can select and use to +/// pay. +/// The classes that conform to it and are supported by the UI: +///
    +///
  • +/// STPApplePay, which represents that the user wants to pay with +/// Apple Pay +///
  • +///
  • +/// STPPaymentMethod. Only STPPaymentMethod.type == STPPaymentMethodTypeCard and +/// STPPaymentMethod.type == STPPaymentMethodTypeFPX are supported by STPPaymentContext +/// and STPPaymentOptionsViewController +///
  • +///
  • +/// STPPaymentMethodParams. This should be used with non-reusable payment method, such +/// as FPX and iDEAL. Instead of reaching out to Stripe to create a PaymentMethod, you can +/// pass an STPPaymentMethodParams directly to Stripe when confirming a PaymentIntent. +/// @note card-based Sources, Cards, and FPX support this protocol for use +/// in a custom integration. +///
  • +///
+SWIFT_PROTOCOL("_TtP6Stripe16STPPaymentOption_") +@protocol STPPaymentOption +/// A small (32 x 20 points) logo image representing the payment method. For +/// example, the Visa logo for a Visa card, or the Apple Pay logo. +@property (nonatomic, readonly, strong) UIImage * _Nonnull image; +/// A small (32 x 20 points) logo image representing the payment method that can be +/// used as template for tinted icons. +@property (nonatomic, readonly, strong) UIImage * _Nonnull templateImage; +/// A string describing the payment method, such as “Apple Pay” or “Visa 4242”. +@property (nonatomic, readonly, copy) NSString * _Nonnull label; +/// Describes whether this payment option may be used multiple times. If it is not reusable, +/// the payment method must be discarded after use. +@property (nonatomic, readonly) BOOL isReusable; +@end + + +/// An empty class representing that the user wishes to pay via Apple Pay. This can +/// be checked on an STPPaymentContext, e.g: +/// \code +/// if paymentContext.selectedPaymentOption is STPApplePayPaymentOption { +/// // Don't ask the user for their card number; they want to pay with apple pay. +/// } +/// +/// \endcode +SWIFT_CLASS("_TtC6Stripe24STPApplePayPaymentOption") +@interface STPApplePayPaymentOption : NSObject +@property (nonatomic, readonly, strong) UIImage * _Nonnull image; +@property (nonatomic, readonly, strong) UIImage * _Nonnull templateImage; +@property (nonatomic, readonly, copy) NSString * _Nonnull label; +@property (nonatomic, readonly) BOOL isReusable; +/// :nodoc: +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) NSUInteger hash; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class SFSafariViewController; + +/// STPAuthenticationContext provides information required to present authentication challenges +/// to a user. +SWIFT_PROTOCOL("_TtP6Stripe24STPAuthenticationContext_") +@protocol STPAuthenticationContext +/// The Stripe SDK will modally present additional view controllers on top +/// of the authenticationPresentingViewController when required for user +/// authentication, like in the Challenge Flow for 3DS2 transactions. +- (UIViewController * _Nonnull)authenticationPresentingViewController SWIFT_WARN_UNUSED_RESULT; +@optional +/// This method is called before presenting a UIViewController for authentication. +/// @note STPPaymentHandler will not proceed until completion is called. +- (void)prepareAuthenticationContextForPresentation:(void (^ _Nonnull)(void))completion; +/// This method is called before presenting an SFSafariViewController for web-based authentication. +/// Implement this method to configure the SFSafariViewController instance, e.g. viewController.preferredBarTintColor = MyBarTintColor +/// @note Setting the delegate property has no effect. +- (void)configureSafariViewController:(SFSafariViewController * _Nonnull)viewController; +/// This method is called when an authentication UIViewController is about to be dismissed. +/// Implement this method to prepare your UI for the authentication view controller to be dismissed. For example, +/// if you requested authentication while displaying an STPBankSelectionViewController, you may want to hide +/// it to return the user to your desired view controller. +- (void)authenticationContextWillDismissViewController:(UIViewController * _Nonnull)viewController; +@end + +@class STPCustomer; + +/// A “bridge” from our pre-built UI (STPPaymentContext, STPPaymentOptionsViewController) +/// to your backend to fetch Customer-related information needed to power those views. +/// Typically, you will not need to implement this protocol yourself. You +/// should instead use STPCustomerContext, which implements +/// and manages retrieving and updating a Stripe customer for you. +/// seealso: +/// STPCustomerContext.h +/// If you would prefer retrieving and updating your Stripe customer object via +/// your own backend instead of using STPCustomerContext, you should make your +/// application’s API client conform to this interface. +SWIFT_PROTOCOL("_TtP6Stripe20STPBackendAPIAdapter_") +@protocol STPBackendAPIAdapter +/// Retrieve the customer to be displayed inside a payment context. +/// If you are not using STPCustomerContext: +/// On your backend, retrieve the Stripe customer associated with your currently +/// logged-in user ( https://stripe.com/docs/api#retrieve_customer ), and return +/// the raw JSON response from the Stripe API. Back in your iOS app, after you’ve +/// called this API, deserialize your API response into an STPCustomer object +/// (you can use the STPCustomerDeserializer class to do this). +/// seealso: +/// STPCard +/// \param completion call this callback when you’re done fetching and parsing the above information from your backend. For example, completion(customer, nil) (if your call succeeds) or completion(nil, error) if an error is returned. +/// +- (void)retrieveCustomer:(void (^ _Nullable)(STPCustomer * _Nullable, NSError * _Nullable))completion; +/// Retrieves a list of Payment Methods attached to a customer. +/// If you are implementing your own : +/// Call the list method ( https://stripe.com/docs/api/payment_methods/lists ) +/// with the Stripe customer. If this API call succeeds, call completion(paymentMethods) +/// with the list of PaymentMethods. Otherwise, call completion(error) with the error +/// that occurred. +/// \param completion Call this callback with the list of Payment Methods attached to the +/// customer. For example, completion(paymentMethods) (if your call succeeds) or +/// completion(error) if an error is returned. +/// +- (void)listPaymentMethodsForCustomerWithCompletion:(void (^ _Nullable)(NSArray * _Nullable, NSError * _Nullable))completion; +/// Adds a Payment Method to a customer. +/// If you are implementing your own : +/// On your backend, retrieve the Stripe customer associated with your logged-in user. +/// Then, call the Attach method on the Payment Method with that customer’s ID +/// ( https://stripe.com/docs/api/payment_methods/attach ). If this API call succeeds, +/// call completion(nil). Otherwise, call completion(error) with the error that +/// occurred. +/// \param paymentMethod A valid Payment Method +/// +/// \param completion Call this callback when you’re done adding the payment method +/// to the customer on your backend. For example, completion(nil) (if your call succeeds) +/// or completion(error) if an error is returned. +/// +- (void)attachPaymentMethodToCustomer:(STPPaymentMethod * _Nonnull)paymentMethod completion:(void (^ _Nullable)(NSError * _Nullable))completion; +@optional +/// Deletes the given Payment Method from the customer. +/// If you are implementing your own : +/// Call the Detach method ( https://stripe.com/docs/api/payment_methods/detach ) +/// on the Payment Method. If this API call succeeds, call completion(nil). +/// Otherwise, call completion(error) with the error that occurred. +/// \param paymentMethod The Payment Method to delete from the customer +/// +/// \param completion Call this callback when you’re done deleting the Payment Method +/// from the customer on your backend. For example, completion(nil) (if your call +/// succeeds) or completion(error) if an error is returned. +/// +- (void)detachPaymentMethodFromCustomer:(STPPaymentMethod * _Nonnull)paymentMethod completion:(void (^ _Nullable)(NSError * _Nullable))completion; +/// Sets the given shipping address on the customer. +/// If you are implementing your own : +/// On your backend, retrieve the Stripe customer associated with your logged-in user. +/// Then, call the Customer Update method ( https://stripe.com/docs/api#update_customer ) +/// specifying shipping to be the given shipping address. If this API call succeeds, +/// call completion(nil). Otherwise, call completion(error) with the error that occurred. +/// seealso: +/// https://stripe.com/docs/api#update_customer +/// \param shipping The shipping address to set on the customer +/// +/// \param completion call this callback when you’re done updating the customer on +/// your backend. For example, completion(nil) (if your call succeeds) or +/// completion(error) if an error is returned. +/// +- (void)updateCustomerWithShippingAddress:(STPAddress * _Nonnull)shipping completion:(void (^ _Nullable)(NSError * _Nullable))completion; +@end + + +/// Objects conforming to this protocol can be attached to a Stripe Customer object +/// as a payment source. +/// seealso: +/// https://stripe.com/docs/api#customer_object-sources +SWIFT_PROTOCOL("_TtP6Stripe17STPSourceProtocol_") +@protocol STPSourceProtocol +/// The Stripe ID of the source. +@property (nonatomic, readonly, copy) NSString * _Nonnull stripeID; +@end + +enum STPBankAccountHolderType : NSInteger; +enum STPBankAccountStatus : NSInteger; + +/// Representation of a user’s bank account details that have been tokenized with +/// the Stripe API. +/// seealso: +/// https://stripe.com/docs/api#bank_accounts +SWIFT_CLASS("_TtC6Stripe14STPBankAccount") +@interface STPBankAccount : NSObject +/// You cannot directly instantiate an STPBankAccount. You should only use one +/// that has been returned from an STPAPIClient callback. +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// The routing number for the bank account. This should be the ACH routing number, +/// not the wire routing number. +@property (nonatomic, readonly, copy) NSString * _Nullable routingNumber; +/// Two-letter ISO code representing the country the bank account is located in. +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// The default currency for the bank account. +@property (nonatomic, readonly, copy) NSString * _Nullable currency; +/// The last 4 digits of the account number. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// The name of the bank that owns the account. +@property (nonatomic, readonly, copy) NSString * _Nullable bankName; +/// The name of the person or business that owns the bank account. +@property (nonatomic, readonly, copy) NSString * _Nullable accountHolderName; +/// The type of entity that holds the account. +@property (nonatomic, readonly) enum STPBankAccountHolderType accountHolderType; +/// A proxy for the account number, this uniquely identifies the account and can be +/// used to compare equality of different bank accounts. +@property (nonatomic, readonly, copy) NSString * _Nullable fingerprint; +/// The validation status of the bank account. - seealso: STPBankAccountStatus +@property (nonatomic, readonly) enum STPBankAccountStatus status; +/// The Stripe ID for the bank account. +@property (nonatomic, readonly, copy) NSString * _Nullable bankAccountId SWIFT_DEPRECATED_MSG("Use stripeID (defined in STPSourceProtocol)"); +@property (nonatomic, readonly, copy) NSString * _Nonnull stripeID; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +- (BOOL)isEqual:(id _Nullable)bankAccount SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) NSUInteger hash; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// The type of entity that holds a bank account. +typedef SWIFT_ENUM(NSInteger, STPBankAccountHolderType, open) { +/// An individual holds this bank account. + STPBankAccountHolderTypeIndividual = 0, +/// A company holds this bank account. + STPBankAccountHolderTypeCompany = 1, +}; + + +/// Representation of a user’s bank account details. You can assemble these with +/// information that your user enters and then create Stripe tokens with them using +/// an STPAPIClient. +/// seealso: +/// https://stripe.com/docs/api#create_bank_account_token +SWIFT_CLASS("_TtC6Stripe20STPBankAccountParams") +@interface STPBankAccountParams : NSObject +/// The account number for the bank account. Currently must be a checking account. +@property (nonatomic, copy) NSString * _Nullable accountNumber; +/// The last 4 digits of the bank account’s account number, if it’s been set, +/// otherwise nil. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// The routing number for the bank account. This should be the ACH routing number, +/// not the wire routing number. +@property (nonatomic, copy) NSString * _Nullable routingNumber; +/// Two-letter ISO code representing the country the bank account is located in. +@property (nonatomic, copy) NSString * _Nullable country; +/// The default currency for the bank account. +@property (nonatomic, copy) NSString * _Nullable currency; +/// The name of the person or business that owns the bank account. +@property (nonatomic, copy) NSString * _Nullable accountHolderName; +/// The type of entity that holds the account. +/// Defaults to STPBankAccountHolderTypeIndividual. +@property (nonatomic) enum STPBankAccountHolderType accountHolderType; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initializes an empty STPBankAccountParams. +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +@end + +/// Possible validation states for a bank account. +typedef SWIFT_ENUM(NSInteger, STPBankAccountStatus, open) { +/// The account has had no activity or validation performed + STPBankAccountStatusNew = 0, +/// Stripe has determined this bank account exists. + STPBankAccountStatusValidated = 1, +/// Bank account verification has succeeded. + STPBankAccountStatusVerified = 2, +/// Verification for this bank account has failed. + STPBankAccountStatusVerificationFailed = 3, +/// A transfer sent to this bank account has failed. + STPBankAccountStatusErrored = 4, +}; + +/// The payment methods supported by STPBankSelectionViewController. +typedef SWIFT_ENUM(NSInteger, STPBankSelectionMethod, open) { +/// FPX (Malaysia) + STPBankSelectionMethodFPX = 0, +/// An unknown payment method + STPBankSelectionMethodUnknown = 1, +}; + +@protocol STPBankSelectionViewControllerDelegate; + +/// This view controller displays a list of banks of the specified type, allowing the user to select one to pay from. +/// Once a bank is selected, it will return a PaymentMethodParams object, which you can use to confirm a PaymentIntent +/// or inspect to obtain details about the selected bank. +SWIFT_CLASS("_TtC6Stripe30STPBankSelectionViewController") +@interface STPBankSelectionViewController : STPCoreTableViewController +/// A convenience initializer; equivalent to calling init( bankMethod:bankMethod configuration:STPPaymentConfiguration.shared theme:STPTheme.defaultTheme. +- (nonnull instancetype)initWithBankMethod:(enum STPBankSelectionMethod)bankMethod; +- (nonnull instancetype)initWithTheme:(STPTheme * _Nullable)theme; +/// Initializes a new STPBankSelectionViewController with the provided configuration and theme. Don’t forget to set the delegate property after initialization. +/// \param bankMethod The user will be presented with a list of banks for this payment method. STPBankSelectionMethodFPX is currently the only supported payment method. +/// +/// \param configuration The configuration to use. This determines the Stripe publishable key to use when querying metadata about the banks. - seealso: STPPaymentConfiguration +/// +/// \param theme The theme to use to inform the view controller’s visual appearance. - seealso: STPTheme +/// +- (nonnull instancetype)initWithBankMethod:(enum STPBankSelectionMethod)bankMethod configuration:(STPPaymentConfiguration * _Nonnull)configuration theme:(STPTheme * _Nonnull)theme OBJC_DESIGNATED_INITIALIZER; +/// The view controller’s delegate. This must be set before showing the view controller in order for it to work properly. - seealso: STPBankSelectionViewControllerDelegate +@property (nonatomic, weak) id _Nullable delegate; +/// The API Client to use to make requests. +/// Defaults to STPAPIClient.shared +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +/// :nodoc: +- (NSInteger)numberOfSectionsInTableView:(UITableView * _Nonnull)tableView SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (NSInteger)tableView:(UITableView * _Nonnull)tableView numberOfRowsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (UITableViewCell * _Nonnull)tableView:(UITableView * _Nonnull)tableView cellForRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)tableView:(UITableView * _Nonnull)tableView willDisplayCell:(UITableViewCell * _Nonnull)cell forRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath; +/// :nodoc: +- (CGFloat)tableView:(UITableView * _Nonnull)tableView heightForFooterInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (BOOL)tableView:(UITableView * _Nonnull)tableView shouldHighlightRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)tableView:(UITableView * _Nonnull)tableView didSelectRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE; +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE; +@end + + + +/// An STPBankSelectionViewControllerDelegate is notified when a user selects a bank. +SWIFT_PROTOCOL("_TtP6Stripe38STPBankSelectionViewControllerDelegate_") +@protocol STPBankSelectionViewControllerDelegate +/// This is called when the user selects a bank. +/// You can use the returned PaymentMethodParams to confirm a PaymentIntent, or inspect +/// it to obtain details about the selected bank. +/// Once you’re done, you’ll want to dismiss (or pop) the view controller. +/// \param bankViewController the view controller that created the PaymentMethodParams +/// +/// \param paymentMethodParams the PaymentMethodParams that was created. - seealso: STPPaymentMethodParams +/// +- (void)bankSelectionViewController:(STPBankSelectionViewController * _Nonnull)bankViewController didCreatePaymentMethodParams:(STPPaymentMethodParams * _Nonnull)paymentMethodParams; +@end + +/// What set of billing address information you need to collect from your user. +/// @note If the user is from a country that does not use zip/postal codes, +/// the user may not be asked for one regardless of this setting. +typedef SWIFT_ENUM(NSUInteger, STPBillingAddressFields, open) { +/// No billing address information + STPBillingAddressFieldsNone = 0, +/// Just request the user’s billing postal code + STPBillingAddressFieldsPostalCode = 1, +/// Request the user’s full billing address + STPBillingAddressFieldsFull = 2, +/// Just request the user’s billing name + STPBillingAddressFieldsName = 3, +/// Just request the user’s billing ZIP (synonym for STPBillingAddressFieldsZip) + STPBillingAddressFieldsZip = 4, +}; + +enum STPCardBrand : NSInteger; +enum STPCardFundingType : NSInteger; + +/// Representation of a user’s credit card details that have been tokenized with +/// the Stripe API +/// seealso: +/// https://stripe.com/docs/api#cards +SWIFT_CLASS("_TtC6Stripe7STPCard") +@interface STPCard : NSObject +/// The last 4 digits of the card. +@property (nonatomic, readonly, copy) NSString * _Nonnull last4; +/// For cards made with Apple Pay, this refers to the last 4 digits of the +/// “Device Account Number” for the tokenized card. For regular cards, it will +/// be nil. +@property (nonatomic, readonly, copy) NSString * _Nullable dynamicLast4; +/// Whether or not the card originated from Apple Pay. +@property (nonatomic, readonly) BOOL isApplePayCard; +/// The card’s expiration month. 1-indexed (i.e. 1 == January) +@property (nonatomic, readonly) NSInteger expMonth; +/// The card’s expiration year. +@property (nonatomic, readonly) NSInteger expYear; +/// The cardholder’s name. +@property (nonatomic, readonly, copy) NSString * _Nullable name; +/// The cardholder’s address. +@property (nonatomic, readonly, strong) STPAddress * _Nullable address; +/// The issuer of the card. +@property (nonatomic, readonly) enum STPCardBrand brand; +/// The funding source for the card (credit, debit, prepaid, or other) +@property (nonatomic, readonly) enum STPCardFundingType funding; +/// Two-letter ISO code representing the issuing country of the card. +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// This is only applicable when tokenizing debit cards to issue payouts to managed +/// accounts. You should not set it otherwise. The card can then be used as a +/// transfer destination for funds in this currency. +@property (nonatomic, readonly, copy) NSString * _Nullable currency; +/// Returns a string representation for the provided card brand; +/// i.e. STPCard.string(from brand: .visa) == "Visa". +/// \param brand the brand you want to convert to a string +/// +/// +/// returns: +/// A string representing the brand, suitable for displaying to a user. ++ (NSString * _Nonnull)stringFromBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// This parses a string representing a card’s brand into the appropriate +/// STPCardBrand enum value, +/// i.e. STPCard.brand(from string: "American Express") == .amex. +/// The string values themselves are specific to Stripe as listed in the Stripe API +/// documentation. +/// seealso: +/// https://stripe.com/docs/api#card_object-brand +/// \param string a string representing the card’s brand as returned from +/// the Stripe API +/// +/// +/// returns: +/// an enum value mapped to that string. If the string is unrecognized, +/// returns STPCardBrandUnknown. ++ (enum STPCardBrand)brandFromString:(NSString * _Nonnull)string SWIFT_WARN_UNUSED_RESULT; +/// Create an STPCard from a Stripe API response. +/// \param cardID The Stripe ID of the card, e.g. card_185iQx4JYtv6MPZKfcuXwkOx +/// +/// \param brand The brand of the card (e.g. “Visa”. To obtain this enum value +/// from a string, use STPCardBrand.brand(from string:string); +/// +/// \param last4 The last 4 digits of the card, e.g. 4242 +/// +/// \param expMonth The card’s expiration month, 1-indexed (i.e. 1 = January) +/// +/// \param expYear The card’s expiration year +/// +/// \param funding The card’s funding type (credit, debit, or prepaid). To obtain +/// this enum value from a string, use STPCardBrand.funding(from string:). +/// +/// +/// returns: +/// an STPCard instance populated with the provided values. +- (nonnull instancetype)initWithID:(NSString * _Nonnull)cardID brand:(enum STPCardBrand)brand last4:(NSString * _Nonnull)last4 expMonth:(NSInteger)expMonth expYear:(NSInteger)expYear funding:(enum STPCardFundingType)funding OBJC_DESIGNATED_INITIALIZER SWIFT_DEPRECATED_MSG("You cannot directly instantiate an STPCard. You should only use one that has been returned from an STPAPIClient callback."); +/// This parses a string representing a card’s funding type into the appropriate +/// STPCardFundingType enum value, +/// i.e. STPCard.funding(from string:"prepaid") == .prepaid. +/// \param string a string representing the card’s funding type as returned from +/// the Stripe API +/// +/// +/// returns: +/// an enum value mapped to that string. If the string is unrecognized, +/// returns STPCardFundingTypeOther. ++ (enum STPCardFundingType)fundingFromString:(NSString * _Nonnull)string SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, copy) NSString * _Nonnull stripeID; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +- (BOOL)isEqual:(id _Nullable)other SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) NSUInteger hash; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, strong) UIImage * _Nonnull image; +@property (nonatomic, readonly, strong) UIImage * _Nonnull templateImage; +@property (nonatomic, readonly, copy) NSString * _Nonnull label; +@property (nonatomic, readonly) BOOL isReusable; +/// A set of key/value pairs associated with the card object. +/// @deprecated Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead. +/// seealso: +/// https://stripe.com/docs/api#metadata +@property (nonatomic, readonly, copy) NSDictionary * _Nullable metadata SWIFT_DEPRECATED_MSG("Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead."); +/// The Stripe ID for the card. +@property (nonatomic, readonly, copy) NSString * _Nullable cardId SWIFT_DEPRECATED_MSG("Use stripeID (defined in STPSourceProtocol)"); +/// The first line of the cardholder’s address +@property (nonatomic, readonly, copy) NSString * _Nullable addressLine1 SWIFT_DEPRECATED_MSG("Use address.line1"); +/// The second line of the cardholder’s address +@property (nonatomic, readonly, copy) NSString * _Nullable addressLine2 SWIFT_DEPRECATED_MSG("Use address.line2"); +/// The city of the cardholder’s address +@property (nonatomic, readonly, copy) NSString * _Nullable addressCity SWIFT_DEPRECATED_MSG("Use address.city"); +/// The state of the cardholder’s address +@property (nonatomic, readonly, copy) NSString * _Nullable addressState SWIFT_DEPRECATED_MSG("Use address.state"); +/// The zip code of the cardholder’s address +@property (nonatomic, readonly, copy) NSString * _Nullable addressZip SWIFT_DEPRECATED_MSG("Use address.postalCode"); +/// The country of the cardholder’s address +@property (nonatomic, readonly, copy) NSString * _Nullable addressCountry SWIFT_DEPRECATED_MSG("Use address.country"); +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// The various card brands to which a payment card can belong. +typedef SWIFT_ENUM(NSInteger, STPCardBrand, open) { +/// Visa card + STPCardBrandVisa = 0, +/// American Express card + STPCardBrandAmex = 1, +/// Mastercard card + STPCardBrandMastercard = 2, +/// Discover card + STPCardBrandDiscover = 3, +/// JCB card + STPCardBrandJCB = 4, +/// Diners Club card + STPCardBrandDinersClub = 5, +/// UnionPay card + STPCardBrandUnionPay = 6, +/// An unknown card brand type + STPCardBrandUnknown = 7, +}; + + +/// Contains STPStringFromCardBrand +SWIFT_CLASS("_TtC6Stripe21STPCardBrandUtilities") +@interface STPCardBrandUtilities : NSObject +/// Returns a string representation for the provided card brand; +/// i.e. STPCardBrandUtilities.stringFrom(brand: .visa) == "Visa". +/// \param brand the brand you want to convert to a string +/// +/// +/// returns: +/// A string representing the brand, suitable for displaying to a user. ++ (NSString * _Nullable)stringFromCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// STPFormView is a base class for the Stripe SDK’s form input UI. You should use one of the available subclasses +/// (STPCardFormView) rather than instantiating an STPFormView instance directly. +SWIFT_CLASS("_TtC6Stripe11STPFormView") +@interface STPFormView : UIView +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; +/// :nodoc: +@property (nonatomic, readonly) BOOL canResignFirstResponder; +/// :nodoc: +- (BOOL)resignFirstResponder SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) BOOL isFirstResponder; +/// :nodoc: +@property (nonatomic, readonly) BOOL canBecomeFirstResponder; +/// :nodoc: +- (BOOL)becomeFirstResponder SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, getter=isUserInteractionEnabled) BOOL userInteractionEnabled; +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +@end + +@protocol STPCardFormViewDelegate; +enum STPCardFormViewStyle : NSInteger; + +/// STPCardFormView provides a multiline interface for users to input their +/// credit card details as well as billing postal code and provides an interface to access +/// the created STPPaymentMethodParams. +/// STPCardFormView includes both the input fields as well as an error label that +/// is displayed when invalid input is detected. +SWIFT_CLASS("_TtC6Stripe15STPCardFormView") +@interface STPCardFormView : STPFormView +/// The delegate to notify when the card form transitions to or from being complete. +/// seealso: +/// STPCardFormViewDelegate +@property (nonatomic, weak) id _Nullable delegate; +/// :nodoc: +@property (nonatomic, strong) UIColor * _Nullable backgroundColor; +/// The background color that is automatically applied to the input fields when isUserInteractionEnabled is set to false. @note STPCardFormView` uses text colors, most of which are iOS system colors, that are designed to be as +/// accessible as possible, so any customization should avoid decreasing contrast between the text and background. +@property (nonatomic, strong) UIColor * _Nullable disabledBackgroundColor; +/// A configured STPPaymentMethodParams with the entered card number, expiration date, cvc, and +/// postal code (if applicable). If any field is invalid or incomplete then this property will return nil. +/// You can monitor when STPCardFormView has complete details by implementing +/// STPFormViewDelegate and setting the STPCardFormView's delegate +/// property. +@property (nonatomic, readonly, strong) STPPaymentMethodParams * _Nullable cardParams; +@property (nonatomic, getter=isUserInteractionEnabled) BOOL userInteractionEnabled; +/// Public initializer for STPCardFormView. +/// @param style The visual style to use for this instance. @see STPCardFormViewStyle +- (nonnull instancetype)initWithStyle:(enum STPCardFormViewStyle)style; +@end + + + + +SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable) SWIFT_AVAILABILITY(ios_app_extension,unavailable) SWIFT_AVAILABILITY(ios,introduced=13.0) +@interface STPCardFormView (SWIFT_EXTENSION(Stripe)) +@end + + + +/// STPCardFormViewDelegate defines the interface that should be adopted to receive +/// updates from STPCardFormView instances. +SWIFT_PROTOCOL("_TtP6Stripe23STPCardFormViewDelegate_") +@protocol STPCardFormViewDelegate +/// Delegate method that is called when all of the form view’s required inputs +/// are complete or transition away from all being complete. These transitions +/// correspond to cardForView.cardParams returning a nil value or not. +- (void)cardFormView:(STPCardFormView * _Nonnull)form didChangeToStateComplete:(BOOL)complete; +@end + +/// Options for configuring the display of an STPCardFormView instance. +typedef SWIFT_ENUM(NSInteger, STPCardFormViewStyle, open) { +/// Draws the form in a rounded rect with full separators between +/// each input field. + STPCardFormViewStyleStandard = 0, +/// Draws the form without an outer border and underlines under +/// each input field. + STPCardFormViewStyleBorderless = 1, +}; + +/// The various funding sources for a payment card. +typedef SWIFT_ENUM(NSInteger, STPCardFundingType, open) { +/// Debit card funding + STPCardFundingTypeDebit = 0, +/// Credit card funding + STPCardFundingTypeCredit = 1, +/// Prepaid card funding + STPCardFundingTypePrepaid = 2, +/// An other or unknown type of funding source. + STPCardFundingTypeOther = 3, +}; + + +/// Representation of a user’s credit card details. You can assemble these with +/// information that your user enters and then create Stripe tokens with them using +/// an STPAPIClient. +/// seealso: +/// https://stripe.com/docs/api#cards +SWIFT_CLASS("_TtC6Stripe13STPCardParams") +@interface STPCardParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// A convenience initializer for creating a card params from a card payment method params. +- (nonnull instancetype)initWithPaymentMethodParams:(STPPaymentMethodParams * _Nonnull)paymentMethodParams; +/// The card’s number. +@property (nonatomic, copy) NSString * _Nullable number; +/// The last 4 digits of the card’s number, if it’s been set, otherwise nil. +- (NSString * _Nullable)last4 SWIFT_WARN_UNUSED_RESULT; +/// The card’s expiration month. +@property (nonatomic) NSUInteger expMonth; +/// The card’s expiration year. +@property (nonatomic) NSUInteger expYear; +/// The card’s security code, found on the back. +@property (nonatomic, copy) NSString * _Nullable cvc; +/// The cardholder’s name. +/// @note Changing this property will also changing the name of the +/// param’s address property. +@property (nonatomic, copy) NSString * _Nullable name; +/// The cardholder’s address. +/// @note Setting address to a new value will also change the name property to +/// be the value of address.name. However, changing address.name directly will +/// not* change name. +@property (nonatomic, strong) STPAddress * _Nonnull address; +/// Three-letter ISO currency code representing the currency paid out to the bank +/// account. This is only applicable when tokenizing debit cards to issue payouts +/// to managed accounts. You should not set it otherwise. The card can then be +/// used as a transfer destination for funds in this currency. +@property (nonatomic, copy) NSString * _Nullable currency; +/// The first line of the cardholder’s address +@property (nonatomic, copy) NSString * _Nullable addressLine1; +/// The second line of the cardholder’s address +@property (nonatomic, copy) NSString * _Nullable addressLine2; +/// The city of the cardholder’s address +@property (nonatomic, copy) NSString * _Nullable addressCity; +/// The state of the cardholder’s address +@property (nonatomic, copy) NSString * _Nullable addressState; +/// The zip code of the cardholder’s address +@property (nonatomic, copy) NSString * _Nullable addressZip; +/// The country of the cardholder’s address +@property (nonatomic, copy) NSString * _Nullable addressCountry; +/// Initializes an empty STPCardParams. +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +@end + +/// These fields indicate whether a card field represents a valid value, invalid +/// value, or incomplete value. +typedef SWIFT_ENUM(NSInteger, STPCardValidationState, open) { +/// The field’s contents are valid. For example, a valid, 16-digit card number. +/// Note that valid values may not be complete. For example: a US Zip code can +/// be 5 or 9 digits. A 5-digit code is Valid, but more text could be entered +/// to transition to incomplete again. American Express CVC codes can be 3 or +/// 4 digits and both will be treated as Valid. + STPCardValidationStateValid = 0, +/// The field’s contents are invalid. For example, an expiration date +/// of “13/42”. + STPCardValidationStateInvalid = 1, +/// The field’s contents are not currently valid, but could be by typing +/// additional characters. For example, a CVC of “1”. + STPCardValidationStateIncomplete = 2, +}; + + +/// This class contains static methods to validate card numbers, expiration dates, +/// and CVCs. For a list of test card numbers to use with this code, +/// see https://stripe.com/docs/testing +SWIFT_CLASS("_TtC6Stripe16STPCardValidator") +@interface STPCardValidator : NSObject +/// Returns a copy of the passed string with all non-numeric characters removed. ++ (NSString * _Nonnull)sanitizedNumericStringForString:(NSString * _Nonnull)string SWIFT_WARN_UNUSED_RESULT; +/// Returns a copy of the passed string with all characters removed that do not exist within a postal code. ++ (NSString * _Nonnull)sanitizedPostalStringForString:(NSString * _Nonnull)string SWIFT_WARN_UNUSED_RESULT; +/// Whether or not the target string contains only numeric characters. ++ (BOOL)stringIsNumeric:(NSString * _Nonnull)string SWIFT_WARN_UNUSED_RESULT; +/// Validates a card number, passed as a string. This will return +/// STPCardValidationStateInvalid for numbers that are too short or long, contain +/// invalid characters, do not pass Luhn validation, or (optionally) do not match +/// a number format issued by a major card brand. +/// \param cardNumber The card number to validate. Ex. @“4242424242424242” +/// +/// \param validatingCardBrand Whether or not to enforce that the number appears to +/// be issued by a major card brand (or could be). For example, no issuing card +/// network currently issues card numbers beginning with the digit 9; if an +/// otherwise correct-length and luhn-valid card number beginning with 9 +/// (example: 9999999999999995) were passed to this method, it would return +/// STPCardValidationStateInvalid if this parameter were YES and +/// STPCardValidationStateValid if this parameter were NO. If unsure, you should +/// use YES for this value. +/// +/// +/// returns: +/// STPCardValidationStateValid if the number is valid, +/// STPCardValidationStateInvalid if the number is invalid, or +/// STPCardValidationStateIncomplete if the number is a substring of a valid +/// card (e.g. @“4242”). ++ (enum STPCardValidationState)validationStateForNumber:(NSString * _Nullable)cardNumber validatingCardBrand:(BOOL)validatingCardBrand SWIFT_WARN_UNUSED_RESULT; +/// The card brand for a card number or substring thereof. +/// \param cardNumber A card number, or partial card number. For +/// example, @“4242”, @“5555555555554444”, or @“123”. +/// +/// +/// returns: +/// The brand for that card number. The example parameters would +/// return STPCardBrandVisa, STPCardBrandMasterCard, and +/// STPCardBrandUnknown, respectively. ++ (enum STPCardBrand)brandForNumber:(NSString * _Nonnull)cardNumber SWIFT_WARN_UNUSED_RESULT; +/// The possible number lengths for cards associated with a card brand. For +/// example, Discover card numbers contain 16 characters, while American Express +/// cards contain 15 characters. +/// \param brand The brand to return lengths for. +/// +/// +/// returns: +/// The set of possible lengths cards associated with that brand can be. ++ (NSSet * _Nonnull)lengthsForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// The maximum possible length the number of a card associated with the specified +/// brand could be. +/// For example, Visa cards could be either 13 or 16 characters, so this method +/// would return 16 for the that card brand. +/// \param brand The brand to return the max length for. +/// +/// +/// returns: +/// The maximum length card numbers associated with that brand could be. ++ (NSInteger)maxLengthForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// The length of the final grouping of digits to use when formatting a card number +/// for display. +/// For example, Visa cards display their final 4 numbers, e.g. “4242”, while +/// American Express cards display their final 5 digits, e.g. “10005”. +/// \param brand The brand to return the fragment length for. +/// +/// +/// returns: +/// The final fragment length card numbers associated with that brand use. ++ (NSInteger)fragmentLengthForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// Validates an expiration month, passed as an (optionally 0-padded) string. +/// Example valid values are “3”, “12”, and “08”. Example invalid values are “99”, +/// “a”, and “00”. Incomplete values include “0” and “1”. +/// \param expirationMonth A string representing a 2-digit expiration month for a +/// payment card. +/// +/// +/// returns: +/// STPCardValidationStateValid if the month is valid, +/// STPCardValidationStateInvalid if the month is invalid, or +/// STPCardValidationStateIncomplete if the month is a substring of a valid +/// month (e.g. @“0” or @“1”). ++ (enum STPCardValidationState)validationStateForExpirationMonth:(NSString * _Nonnull)expirationMonth SWIFT_WARN_UNUSED_RESULT; +/// Validates an expiration year, passed as a string representing the final +/// 2 digits of the year. +/// This considers the period between the current year until 2099 as valid times. +/// An example valid year value would be “16” (assuming the current year, as +/// determined by NSDate.date, is 2015). +/// Will return STPCardValidationStateInvalid for a month/year combination that +/// is earlier than the current date (i.e. @“15” and @“04” in October 2015). +/// Example invalid year values are “00”, “a”, and “13”. Any 1-digit year string +/// will return STPCardValidationStateIncomplete. +/// \param expirationYear A string representing a 2-digit expiration year for a +/// payment card. +/// +/// \param expirationMonth A string representing a valid 2-digit expiration month +/// for a payment card. If the month is invalid +/// (see validationStateForExpirationMonth), this will +/// return STPCardValidationStateInvalid. +/// +/// +/// returns: +/// STPCardValidationStateValid if the year is valid, +/// STPCardValidationStateInvalid if the year is invalid, or +/// STPCardValidationStateIncomplete if the year is a substring of a valid +/// year (e.g. @“1” or @“2”). ++ (enum STPCardValidationState)validationStateForExpirationYear:(NSString * _Nonnull)expirationYear inMonth:(NSString * _Nonnull)expirationMonth SWIFT_WARN_UNUSED_RESULT; +/// The max CVC length for a card brand (for example, American Express CVCs are +/// 4 digits, while all others are 3). +/// \param brand The brand to return the max CVC length for. +/// +/// +/// returns: +/// The maximum length of CVC numbers for cards associated with that brand. ++ (NSUInteger)maxCVCLengthForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// Validates a card’s CVC, passed as a numeric string, for the given card brand. +/// \param cvc the CVC to validate +/// +/// \param brand the card brand (can be determined from the card’s number +/// using brandForNumber) +/// +/// +/// returns: +/// Whether the CVC represents a valid CVC for that card brand. For +/// example, would return STPCardValidationStateValid for @“123” and +/// STPCardBrandVisa, STPCardValidationStateValid for @“1234” and +/// STPCardBrandAmericanExpress, STPCardValidationStateIncomplete for @“12” and +/// STPCardBrandVisa, and STPCardValidationStateInvalid for @“12345” and any brand. ++ (enum STPCardValidationState)validationStateForCVC:(NSString * _Nonnull)cvc cardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// Validates the given card details. +/// \param card The card details to validate. +/// +/// +/// returns: +/// STPCardValidationStateValid if all fields are valid, +/// STPCardValidationStateInvalid if any field is invalid, or +/// STPCardValidationStateIncomplete if all fields are either incomplete or valid. ++ (enum STPCardValidationState)validationStateForCard:(STPCardParams * _Nonnull)card SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + +/// Alipay options to pass to `STPConfirmPaymentMethodOptions`` +SWIFT_CLASS("_TtC6Stripe23STPConfirmAlipayOptions") +@interface STPConfirmAlipayOptions : NSObject +/// The app bundle ID. +/// @note This is automatically populated by the SDK. +@property (nonatomic, readonly, copy) NSString * _Nonnull appBundleID; +/// The app version. +/// @note This is automatically populated by the SDK. +@property (nonatomic, readonly, copy) NSString * _Nonnull appVersionKey; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPConfirmAlipayOptions (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// BLIK options to pass to `STPConfirmPaymentMethodOptions`` +/// seealso: +/// https://site-admin.stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-blik +SWIFT_CLASS("_TtC6Stripe21STPConfirmBLIKOptions") +@interface STPConfirmBLIKOptions : NSObject +/// The 6-digit BLIK code that a customer has generated using their banking application. +@property (nonatomic, copy) NSString * _Nonnull code; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// Initializes STPConfirmBLIKOptions +/// \param code The 6-digit BLIK code that a customer has generated using their banking application. +/// +- (nonnull instancetype)initWithCode:(NSString * _Nonnull)code OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPConfirmBLIKOptions (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Options to update a Card PaymentMethod during PaymentIntent confirmation. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card +SWIFT_CLASS("_TtC6Stripe21STPConfirmCardOptions") +@interface STPConfirmCardOptions : NSObject +/// CVC value with which to update the Card PaymentMethod. +@property (nonatomic, copy) NSString * _Nullable cvc; +/// Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time. +@property (nonatomic, copy) NSString * _Nullable network; +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPConfirmCardOptions (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + +@class STPConfirmWeChatPayOptions; + +/// Options to update the associated PaymentMethod during PaymentIntent confirmation. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-payment_method_options +SWIFT_CLASS("_TtC6Stripe30STPConfirmPaymentMethodOptions") +@interface STPConfirmPaymentMethodOptions : NSObject +/// Options to update a Card PaymentMethod. +/// seealso: +/// STPConfirmCardOptions +@property (nonatomic, strong) STPConfirmCardOptions * _Nullable cardOptions; +/// Options for an Alipay Payment Method. +@property (nonatomic, strong) STPConfirmAlipayOptions * _Nullable alipayOptions; +/// Options for a BLIK Payment Method. +@property (nonatomic, strong) STPConfirmBLIKOptions * _Nullable blikOptions; +/// Options for a WeChat Pay Payment Method. +@property (nonatomic, strong) STPConfirmWeChatPayOptions * _Nullable weChatPayOptions; +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + +@interface STPConfirmPaymentMethodOptions (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// WeChat Pay options to pass to `STPConfirmPaymentMethodOptions`` +/// seealso: +/// https://site-admin.stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-wechat_pay +SWIFT_CLASS("_TtC6Stripe26STPConfirmWeChatPayOptions") +@interface STPConfirmWeChatPayOptions : NSObject +/// Your WeChat-provided application ID. WeChat Pay uses +/// this as the redirect URL scheme. +@property (nonatomic, copy) NSString * _Nullable appId; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// Initializes STPConfirmWeChatPayOptions +/// \param appId Your WeChat-provided application ID. WeChat Pay +/// uses this as the redirect URL scheme. +/// +- (nonnull instancetype)initWithAppId:(NSString * _Nonnull)appId OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPConfirmWeChatPayOptions (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An address to use with STPConnectAccountParams. +SWIFT_CLASS("_TtC6Stripe24STPConnectAccountAddress") +@interface STPConnectAccountAddress : NSObject +/// City, district, suburb, town, or village. +/// For addresses in Japan: City or ward. +@property (nonatomic, copy) NSString * _Nullable city; +/// Two-letter country code (ISO 3166-1 alpha-2). +/// seealso: +/// https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 +@property (nonatomic, copy) NSString * _Nullable country; +/// Address line 1 (e.g., street, PO Box, or company name). +/// For addresses in Japan: Block or building number. +@property (nonatomic, copy) NSString * _Nullable line1; +/// Address line 2 (e.g., apartment, suite, unit, or building). +/// For addresses in Japan: Building details. +@property (nonatomic, copy) NSString * _Nullable line2; +/// ZIP or postal code. +@property (nonatomic, copy) NSString * _Nullable postalCode; +/// State, county, province, or region. +/// For addresses in Japan: Prefecture. +@property (nonatomic, copy) NSString * _Nullable state; +/// Town or cho-me. +/// This property only applies to Japanese addresses. +@property (nonatomic, copy) NSString * _Nullable town; +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPConnectAccountAddress (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + +/// The business type of the Connect account. +typedef SWIFT_ENUM(NSInteger, STPConnectAccountBusinessType, open) { +/// This Connect account represents an individual. + STPConnectAccountBusinessTypeIndividual = 0, +/// This Connect account represents a company. + STPConnectAccountBusinessTypeCompany = 1, +}; + +@class NSNumber; + +/// Information about the company or business to use with STPConnectAccountParams. +/// seealso: +/// https://stripe.com/docs/api/tokens/create_account#create_account_token-account-company +SWIFT_CLASS("_TtC6Stripe30STPConnectAccountCompanyParams") +@interface STPConnectAccountCompanyParams : NSObject +/// The company’s primary address. +@property (nonatomic, strong) STPConnectAccountAddress * _Null_unspecified address; +/// The Kana variation of the company’s primary address (Japan only). +@property (nonatomic, strong) STPConnectAccountAddress * _Nullable kanaAddress; +/// The Kanji variation of the company’s primary address (Japan only). +@property (nonatomic, strong) STPConnectAccountAddress * _Nullable kanjiAddress; +/// Whether the company’s directors have been provided. +/// Set this Boolean to true after creating all the company’s directors with the Persons API (https://stripe.com/docs/api/persons) for accounts with a relationship.director requirement. +/// This value is not automatically set to true after creating directors, so it needs to be updated to indicate all directors have been provided. +@property (nonatomic, strong) NSNumber * _Nullable directorsProvided; +/// The company’s legal name. +@property (nonatomic, copy) NSString * _Nullable name; +/// The Kana variation of the company’s legal name (Japan only). +@property (nonatomic, copy) NSString * _Nullable kanaName; +/// The Kanji variation of the company’s legal name (Japan only). +@property (nonatomic, copy) NSString * _Nullable kanjiName; +/// Whether the company’s owners have been provided. +/// Set this Boolean to true after creating all the company’s owners with the Persons API (https://stripe.com/docs/api/persons) for accounts with a relationship.owner requirement. +@property (nonatomic, strong) NSNumber * _Nullable ownersProvided; +/// The company’s phone number (used for verification). +@property (nonatomic, copy) NSString * _Nullable phone; +/// The business ID number of the company, as appropriate for the company’s country. +/// (Examples are an Employer ID Number in the U.S., a Business Number in Canada, or a Company Number in the UK.) +@property (nonatomic, copy) NSString * _Nullable taxID; +/// The jurisdiction in which the taxID is registered (Germany-based companies only). +@property (nonatomic, copy) NSString * _Nullable taxIDRegistrar; +/// The VAT number of the company. +@property (nonatomic, copy) NSString * _Nullable vatID; +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPConnectAccountCompanyParams (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + +@class STPConnectAccountIndividualVerification; + +/// Information about the person represented by the account for use with STPConnectAccountParams. +/// seealso: +/// https://stripe.com/docs/api/tokens/create_account#create_account_token-account-individual +SWIFT_CLASS("_TtC6Stripe33STPConnectAccountIndividualParams") +@interface STPConnectAccountIndividualParams : NSObject +/// The individual’s primary address. +@property (nonatomic, strong) STPConnectAccountAddress * _Nullable address; +/// The Kana variation of the the individual’s primary address (Japan only). +@property (nonatomic, strong) STPConnectAccountAddress * _Nullable kanaAddress; +/// The Kanji variation of the the individual’s primary address (Japan only). +@property (nonatomic, strong) STPConnectAccountAddress * _Nullable kanjiAddress; +/// The individual’s date of birth. +/// Must include day, month, and year, and only those fields are used. +@property (nonatomic, copy) NSDateComponents * _Nullable dateOfBirth; +/// The individual’s email address. +@property (nonatomic, copy) NSString * _Nullable email; +/// The individual’s first name. +@property (nonatomic, copy) NSString * _Nullable firstName; +/// The Kana variation of the the individual’s first name (Japan only). +@property (nonatomic, copy) NSString * _Nullable kanaFirstName; +/// The Kanji variation of the individual’s first name (Japan only). +@property (nonatomic, copy) NSString * _Nullable kanjiFirstName; +/// The individual’s gender +/// International regulations require either “male” or “female”. +@property (nonatomic, copy) NSString * _Nullable gender; +/// The government-issued ID number of the individual, as appropriate for the representative’s country. +/// Examples are a Social Security Number in the U.S., or a Social Insurance Number in Canada. +/// Instead of the number itself, you can also provide a PII token created with Stripe.js (see https://stripe.com/docs/stripe-js/reference#collecting-pii-data). +@property (nonatomic, copy) NSString * _Nullable idNumber; +/// The individual’s last name. +@property (nonatomic, copy) NSString * _Nullable lastName; +/// The Kana varation of the individual’s last name (Japan only). +@property (nonatomic, copy) NSString * _Nullable kanaLastName; +/// The Kanji varation of the individual’s last name (Japan only). +@property (nonatomic, copy) NSString * _Nullable kanjiLastName; +/// The individual’s maiden name. +@property (nonatomic, copy) NSString * _Nullable maidenName; +/// Set of key-value pairs that you can attach to an object. +/// This can be useful for storing additional information about the object in a structured format. +@property (nonatomic, copy) NSDictionary * _Nullable metadata; +/// The individual’s phone number. +@property (nonatomic, copy) NSString * _Nullable phone; +/// The last four digits of the individual’s Social Security Number (U.S. only). +@property (nonatomic, copy) NSString * _Nullable ssnLast4; +/// The individual’s verification document information. +@property (nonatomic, strong) STPConnectAccountIndividualVerification * _Nullable verification; +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPConnectAccountIndividualParams (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + +@class STPConnectAccountVerificationDocument; + +/// The individual’s verification document information for use with STPConnectAccountIndividualParams. +SWIFT_CLASS("_TtC6Stripe39STPConnectAccountIndividualVerification") +@interface STPConnectAccountIndividualVerification : NSObject +/// An identifying document, either a passport or local ID card. +@property (nonatomic, strong) STPConnectAccountVerificationDocument * _Nullable document; +/// A document showing address, either a passport, local ID card, or utility bill from a well-known utility company. +@property (nonatomic, strong) STPConnectAccountVerificationDocument * _Nullable additionalDocument; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPConnectAccountIndividualVerification (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Parameters for creating a Connect Account token. +/// seealso: +/// https://stripe.com/docs/api/tokens/create_account +SWIFT_CLASS("_TtC6Stripe23STPConnectAccountParams") +@interface STPConnectAccountParams : NSObject +/// Boolean indicating that the Terms Of Service were shown to the user & +/// the user accepted them. +@property (nonatomic, readonly, strong) NSNumber * _Nullable tosShownAndAccepted; +/// The business type. +@property (nonatomic, readonly) enum STPConnectAccountBusinessType businessType; +/// Information about the individual represented by the account. +@property (nonatomic, readonly, strong) STPConnectAccountIndividualParams * _Nullable individual; +/// Information about the company or business. +@property (nonatomic, readonly, strong) STPConnectAccountCompanyParams * _Nullable company; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initialize STPConnectAccountParams with tosShownAndAccepted = YES +/// This method cannot be called with wasAccepted == NO, guarded by a NSParameterAssert(). +/// Use this init method if you want to set the tosShownAndAccepted parameter. If you +/// don’t, use the initWithIndividual: version instead. +/// \param wasAccepted Must be YES, but only if the user was shown & accepted the ToS +/// +/// \param individual Information about the person represented by the account. See STPConnectAccountIndividualParams. +/// +- (nullable instancetype)initWithTosShownAndAccepted:(BOOL)wasAccepted individual:(STPConnectAccountIndividualParams * _Nonnull)individual OBJC_DESIGNATED_INITIALIZER; +/// Initialize STPConnectAccountParams with tosShownAndAccepted = YES +/// This method cannot be called with wasAccepted == NO, guarded by a NSParameterAssert(). +/// Use this init method if you want to set the tosShownAndAccepted parameter. If you +/// don’t, use the initWithCompany: version instead. +/// \param wasAccepted Must be YES, but only if the user was shown & accepted the ToS +/// +/// \param company Information about the company or business. See STPConnectAccountCompanyParams. +/// +- (nullable instancetype)initWithTosShownAndAccepted:(BOOL)wasAccepted company:(STPConnectAccountCompanyParams * _Nonnull)company OBJC_DESIGNATED_INITIALIZER; +/// Initialize STPConnectAccountParams with the provided individual dictionary. +/// \param individual Information about the person represented by the account +/// This init method cannot change the tosShownAndAccepted parameter. Use +/// initWithTosShownAndAccepted:individual: instead if you need to do that. +/// +- (nonnull instancetype)initWithIndividual:(STPConnectAccountIndividualParams * _Nonnull)individual OBJC_DESIGNATED_INITIALIZER; +/// Initialize STPConnectAccountParams with the provided company dictionary. +/// \param company Information about the company or business +/// This init method cannot change the tosShownAndAccepted parameter. Use +/// initWithTosShownAndAccepted:company: instead if you need to do that. +/// +- (nonnull instancetype)initWithCompany:(STPConnectAccountCompanyParams * _Nonnull)company OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPConnectAccountParams (SWIFT_EXTENSION(Stripe)) ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An identifying document, either a passport or local ID card for use with STPConnectAccountIndividualVerification. +SWIFT_CLASS("_TtC6Stripe37STPConnectAccountVerificationDocument") +@interface STPConnectAccountVerificationDocument : NSObject +/// The back of an ID returned by a file upload with a purpose value of identity_document. +/// seealso: +/// https://stripe.com/docs/api/files/create for file uploads +@property (nonatomic, copy) NSString * _Nullable back; +/// The front of an ID returned by a file upload with a purpose value of identity_document. +/// seealso: +/// https://stripe.com/docs/api/files/create for file uploads +@property (nonatomic, copy) NSString * _Nullable front; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPConnectAccountVerificationDocument (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Contains constants that represent different parts of a users contact/address information. +SWIFT_CLASS("_TtC6Stripe15STPContactField") +@interface STPContactField : NSObject +/// The contact’s full physical address. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPContactField * _Nonnull postalAddress;) ++ (STPContactField * _Nonnull)postalAddress SWIFT_WARN_UNUSED_RESULT; +/// The contact’s email address +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPContactField * _Nonnull emailAddress;) ++ (STPContactField * _Nonnull)emailAddress SWIFT_WARN_UNUSED_RESULT; +/// The contact’s phone number. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPContactField * _Nonnull phoneNumber;) ++ (STPContactField * _Nonnull)phoneNumber SWIFT_WARN_UNUSED_RESULT; +/// The contact’s name. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPContactField * _Nonnull name;) ++ (STPContactField * _Nonnull)name SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + + + +/// An STPCustomer represents a deserialized Customer object from the Stripe API. +/// You shouldn’t need to instantiate an STPCustomer – you should instead use +/// STPCustomerContext to manage retrieving and updating a customer. +SWIFT_CLASS("_TtC6Stripe11STPCustomer") +@interface STPCustomer : NSObject +/// The Stripe ID of the customer, e.g. cus_1234 +@property (nonatomic, readonly, copy) NSString * _Nonnull stripeID; +/// The default source used to charge the customer. +@property (nonatomic, readonly, strong) id _Nullable defaultSource; +/// The available payment sources the customer has (this may be an empty array). +@property (nonatomic, readonly, copy) NSArray> * _Nonnull sources; +/// The customer’s email address. +@property (nonatomic, readonly, copy) NSString * _Nullable email; +/// The customer’s shipping address. +@property (nonatomic, strong) STPAddress * _Nullable shippingAddress; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// Initialize a customer object with the provided values. +/// \param stripeID The ID of the customer, e.g. cus_abc +/// +/// \param defaultSource The default source of the customer, such as an STPCard object. Can be nil. +/// +/// \param sources All of the customer’s payment sources. This might be an empty array. +/// +/// +/// returns: +/// an instance of STPCustomer +- (nonnull instancetype)initWithStripeID:(NSString * _Nonnull)stripeID defaultSource:(id _Nullable)defaultSource sources:(NSArray> * _Nonnull)sources; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// Replaces the customer’s sources and defaultSource based on whether or not +/// they should include Apple Pay sources. More details on documentation for +/// STPCustomerContext includeApplePaySources +/// @param filteringApplePay If YES, Apple Pay sources will be ignored +- (void)updateSourcesFilteringApplePay:(BOOL)filteringApplePay; +@end + + +@interface STPCustomer (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +@protocol STPCustomerEphemeralKeyProvider; + +/// An STPCustomerContext retrieves and updates a Stripe customer and their attached +/// payment methods using an ephemeral key, a short-lived API key scoped to a specific +/// customer object. If your current user logs out of your app and a new user logs in, +/// be sure to either create a new instance of STPCustomerContext or clear the current +/// instance’s cache. On your backend, be sure to create and return a +/// new ephemeral key for the Customer object associated with the new user. +SWIFT_CLASS("_TtC6Stripe18STPCustomerContext") +@interface STPCustomerContext : NSObject +/// Initializes a new STPCustomerContext with the specified key provider. +/// Upon initialization, a CustomerContext will fetch a new ephemeral key from +/// your backend and use it to prefetch the customer object specified in the key. +/// Subsequent customer and payment method retrievals (e.g. by STPPaymentContext) +/// will return the prefetched customer / attached payment methods immediately if +/// its age does not exceed 60 seconds. +/// \param keyProvider The key provider the customer context will use. +/// +/// +/// returns: +/// the newly-instantiated customer context. +- (nonnull instancetype)initWithKeyProvider:(id _Nonnull)keyProvider; +/// Initializes a new STPCustomerContext with the specified key provider. +/// Upon initialization, a CustomerContext will fetch a new ephemeral key from +/// your backend and use it to prefetch the customer object specified in the key. +/// Subsequent customer and payment method retrievals (e.g. by STPPaymentContext) +/// will return the prefetched customer / attached payment methods immediately if +/// its age does not exceed 60 seconds. +/// \param keyProvider The key provider the customer context will use. +/// +/// \param apiClient The API Client to use to make requests. +/// +/// +/// returns: +/// the newly-instantiated customer context. +- (nonnull instancetype)initWithKeyProvider:(id _Nullable)keyProvider apiClient:(STPAPIClient * _Nonnull)apiClient; +/// STPCustomerContext will cache its customer object and associated payment methods +/// for up to 60 seconds. If your current user logs out of your app and a new user logs +/// in, be sure to either call this method or create a new instance of STPCustomerContext. +/// On your backend, be sure to create and return a new ephemeral key for the +/// customer object associated with the new user. +- (void)clearCache; +/// By default, STPCustomerContext will filter Apple Pay when it retrieves +/// Payment Methods. Apple Pay payment methods should generally not be re-used and +/// shouldn’t be offered to customers as a new payment method (Apple Pay payment +/// methods may only be re-used for subscriptions). +/// If you are using STPCustomerContext to back your own UI and would like to +/// disable Apple Pay filtering, set this property to YES. +/// Note: If you are using STPPaymentContext, you should not change this property. +@property (nonatomic) BOOL includeApplePayPaymentMethods; +- (void)retrieveCustomer:(void (^ _Nullable)(STPCustomer * _Nullable, NSError * _Nullable))completion; +- (void)updateCustomerWithShippingAddress:(STPAddress * _Nonnull)shipping completion:(void (^ _Nullable)(NSError * _Nullable))completion; +/// A convenience method for attaching the PaymentMethod to the current Customer +- (void)attachPaymentMethodToCustomerWithPaymentMethodId:(NSString * _Nonnull)paymentMethodId completion:(void (^ _Nullable)(NSError * _Nullable))completion; +- (void)attachPaymentMethodToCustomer:(STPPaymentMethod * _Nonnull)paymentMethod completion:(void (^ _Nullable)(NSError * _Nullable))completion; +/// A convenience method for detaching the PaymentMethod to the current Customer +- (void)detachPaymentMethodFromCustomerWithPaymentMethodId:(NSString * _Nonnull)paymentMethodId completion:(void (^ _Nullable)(NSError * _Nullable))completion; +- (void)detachPaymentMethodFromCustomer:(STPPaymentMethod * _Nonnull)paymentMethod completion:(void (^ _Nullable)(NSError * _Nullable))completion; +- (void)listPaymentMethodsForCustomerWithCompletion:(void (^ _Nullable)(NSArray * _Nullable, NSError * _Nullable))completion; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@class NSURLResponse; + +/// Use STPCustomerDeserializer to convert a response from the Stripe API into an STPCustomer object. STPCustomerDeserializer expects the JSON response to be in the exact same format as the Stripe API. +SWIFT_CLASS("_TtC6Stripe23STPCustomerDeserializer") +@interface STPCustomerDeserializer : NSObject +/// If a customer was successfully parsed from the response, it will be set here. Otherwise, this value wil be nil (and the error property will explain what went wrong). +@property (nonatomic, readonly, strong) STPCustomer * _Nullable customer; +/// If the deserializer failed to parse a customer, this property will explain why (and the customer property will be nil). +@property (nonatomic, readonly) NSError * _Nullable error; +/// Initialize a customer deserializer. The data, urlResponse, and error +/// parameters are intended to be passed from an NSURLSessionDataTask callback. +/// After it has been initialized, you can inspect the error and customer +/// properties to see if the deserialization was successful. If error is nil, +/// customer will be non-nil (and vice versa). +/// \param data An NSData object representing encoded JSON for a Customer object +/// +/// \param urlResponse The URL response obtained from the NSURLSessionTask +/// +/// \param error Any error that occurred from the URL session task (if this +/// is non-nil, the error property will be set to this value after initialization). +/// +- (nonnull instancetype)initWithData:(NSData * _Nullable)data urlResponse:(NSURLResponse * _Nullable)urlResponse error:(NSError * _Nullable)error; +/// Initializes a customer deserializer with a JSON dictionary. This JSON should be +/// in the exact same format as what the Stripe API returns. If it’s successfully +/// parsed, the customer parameter will be present after initialization; +/// otherwise error will be present. +/// \param json a JSON dictionary. +/// +- (nonnull instancetype)initWithJsonResponse:(id _Nullable)json; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// You should make your application’s API client conform to this interface. +/// It provides a way for Stripe utility classes to request a new ephemeral key from +/// your backend, which it will use to retrieve and update Stripe API objects. +SWIFT_PROTOCOL("_TtP6Stripe31STPCustomerEphemeralKeyProvider_") +@protocol STPCustomerEphemeralKeyProvider +/// Creates a new ephemeral key for retrieving and updating a Stripe customer. +/// On your backend, you should create a new ephemeral key for the Stripe customer +/// associated with your user, and return the raw JSON response from the Stripe API. +/// For an example Ruby implementation of this API, refer to our example backend: +/// https://github.com/stripe/example-mobile-backend/blob/v18.1.0/web.rb +/// Back in your iOS app, once you have a response from this API, call the provided +/// completion block with the JSON response, or an error if one occurred. +/// \param apiVersion The Stripe API version to use when creating a key. +/// You should pass this parameter to your backend, and use it to set the API version +/// in your key creation request. Passing this version parameter ensures that the +/// Stripe SDK can always parse the ephemeral key response from your server. +/// +/// \param completion Call this callback when you’re done fetching a new ephemeral +/// key from your backend. For example, completion(json, nil) (if your call succeeds) +/// or completion(nil, error) if an error is returned. +/// +- (void)createCustomerKeyWithAPIVersion:(NSString * _Nonnull)apiVersion completion:(void (^ _Nonnull)(NSDictionary * _Nullable, NSError * _Nullable))completion; +@end + + +/// An individual’s date of birth. +/// See https://stripe.com/docs/api/tokens/create_account#create_account_token-account-individual-dob +SWIFT_CLASS("_TtC6Stripe14STPDateOfBirth") +@interface STPDateOfBirth : NSObject +/// The day of birth, between 1 and 31. +@property (nonatomic) NSInteger day; +/// The month of birth, between 1 and 12. +@property (nonatomic) NSInteger month; +/// The four-digit year of birth. +@property (nonatomic) NSInteger year; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPDateOfBirth (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// You should make your application’s API client conform to this interface. +/// It provides a way for Stripe utility classes to request a new ephemeral key from +/// your backend, which it will use to retrieve and update Stripe API objects. +/// @deprecated use STPCustomerEphemeralKeyProvider or STPIssuingCardEphemeralKeyProvider +/// depending on the type of key that will@objc be fetched. +SWIFT_PROTOCOL("_TtP6Stripe23STPEphemeralKeyProvider_") SWIFT_DEPRECATED_MSG("use `STPCustomerEphemeralKeyProvider` or `STPIssuingCardEphemeralKeyProvider` depending on the type of key that will be fetched.") +@protocol STPEphemeralKeyProvider +@end + +enum STPFPXBankBrand : NSInteger; + +/// Convenience methods for using FPX bank brands. +SWIFT_CLASS("_TtC6Stripe10STPFPXBank") +@interface STPFPXBank : NSObject +/// Returns a string representation for the provided bank brand; +/// i.e. STPFPXBank.stringFrom(brand:.uob) == "UOB Bank". +/// \param brand The brand you want to convert to a string +/// +/// +/// returns: +/// A string representing the brand, suitable for displaying to a user. ++ (NSString * _Nullable)stringFrom:(enum STPFPXBankBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// Returns a bank brand provided a string representation identifying a bank brand; +/// i.e. STPFPXBankBrandFromIdentifier(@"uob") == STPCardBrandUob. +/// \param identifier The identifier for the brand +/// +/// +/// returns: +/// The STPFPXBankBrand enum value ++ (enum STPFPXBankBrand)brandFrom:(NSString * _Nullable)identifier SWIFT_WARN_UNUSED_RESULT; +/// Returns a string representation identifying the provided bank brand; +/// i.e. STPIdentifierFromFPXBankBrand(STPCardBrandUob) == @"uob". +/// \param brand The brand you want to convert to a string +/// +/// +/// returns: +/// A string representing the brand, suitable for using with the Stripe API. ++ (NSString * _Nullable)identifierFrom:(enum STPFPXBankBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// Returns the code identifying the provided bank brand in the FPX status API; +/// i.e. STPIdentifierFromFPXBankBrand(STPCardBrandUob) == @"UOB0226". +/// \param brand The brand you want to convert to an FPX bank code +/// +/// \param isBusiness Requests the code for the business version of this bank brand, which may be different from the code used for individual accounts +/// +/// +/// returns: +/// A string representing the brand, suitable for checking against the FPX status API. ++ (NSString * _Nullable)bankCodeFrom:(enum STPFPXBankBrand)brand :(BOOL)isBusiness SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +/// The various bank brands available for FPX payments. +typedef SWIFT_ENUM(NSInteger, STPFPXBankBrand, open) { +/// Maybank2U + STPFPXBankBrandMaybank2U = 0, +/// CIMB Clicks + STPFPXBankBrandCIMB = 1, +/// Public Bank + STPFPXBankBrandPublicBank = 2, +/// RHB Bank + STPFPXBankBrandRHB = 3, +/// Hong Leong Bank + STPFPXBankBrandHongLeongBank = 4, +/// AmBank + STPFPXBankBrandAmbank = 5, +/// Affin Bank + STPFPXBankBrandAffinBank = 6, +/// Alliance Bank + STPFPXBankBrandAllianceBank = 7, +/// Bank Islam + STPFPXBankBrandBankIslam = 8, +/// Bank Muamalat + STPFPXBankBrandBankMuamalat = 9, +/// Bank Rakyat + STPFPXBankBrandBankRakyat = 10, +/// BSN + STPFPXBankBrandBSN = 11, +/// HSBC BANK + STPFPXBankBrandHSBC = 12, +/// KFH + STPFPXBankBrandKFH = 13, +/// Maybank2E + STPFPXBankBrandMaybank2E = 14, +/// OCBC Bank + STPFPXBankBrandOcbc = 15, +/// Standard Chartered + STPFPXBankBrandStandardChartered = 16, +/// UOB Bank + STPFPXBankBrandUOB = 17, +/// An unknown bank + STPFPXBankBrandUnknown = 18, +}; + +@class PKAddPaymentPassRequestConfiguration; +@protocol PKAddPaymentPassViewControllerDelegate; + +/// This class is a piece of fake UI that is intended to mimic PKAddPaymentPassViewController. That class is restricted to apps with a special entitlement from Apple, and as such can be difficult to build and test against. This class implements the same public API as PKAddPaymentPassViewController, and can be used to develop against the Stripe API in testmode only. (Obviously it will not actually place cards into the user’s Apple Pay wallet either.) When it’s time to go to production, you may simply replace all references to STPFakeAddPaymentPassViewController in your app with PKAddPaymentPassViewController and it will continue to function. For more information on developing against this API, please see https://stripe.com/docs/issuing/cards/digital-wallets . +SWIFT_CLASS("_TtC6Stripe35STPFakeAddPaymentPassViewController") +@interface STPFakeAddPaymentPassViewController : UIViewController +/// @see PKAddPaymentPassViewController ++ (BOOL)canAddPaymentPass SWIFT_WARN_UNUSED_RESULT; +/// @see PKAddPaymentPassViewController +- (nullable instancetype)initWithRequestConfiguration:(PKAddPaymentPassRequestConfiguration * _Nonnull)configuration delegate:(id _Nullable)delegate OBJC_DESIGNATED_INITIALIZER; +/// @see PKAddPaymentPassViewController +@property (nonatomic, weak) id _Nullable delegate; +/// :nodoc: +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil; +/// :nodoc: +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder; +/// :nodoc: +- (void)viewDidLoad; +@end + +enum STPFilePurpose : NSInteger; + +/// Representation of a file upload object in the Stripe API. +/// seealso: +/// https://stripe.com/docs/api#file_uploads +SWIFT_CLASS("_TtC6Stripe7STPFile") +@interface STPFile : NSObject +/// The token for this file. +@property (nonatomic, readonly, copy) NSString * _Nullable fileId; +/// The date this file was created. +@property (nonatomic, readonly, copy) NSDate * _Nullable created; +/// The purpose of this file. This can be either an identifing document or an evidence dispute. +/// seealso: +/// https://stripe.com/docs/file-upload +@property (nonatomic, readonly) enum STPFilePurpose purpose; +/// The file size in bytes. +@property (nonatomic, readonly, strong) NSNumber * _Nullable size; +/// The file type. This can be “jpg”, “png”, or “pdf”. +@property (nonatomic, readonly, copy) NSString * _Nullable type; +/// Returns the string value for a purpose. ++ (NSString * _Nullable)stringFromPurpose:(enum STPFilePurpose)purpose SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// :nodoc: +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) NSUInteger hash; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// The purpose of the uploaded file. +/// seealso: +/// https://stripe.com/docs/file-upload +typedef SWIFT_ENUM(NSInteger, STPFilePurpose, open) { +/// Identity document file + STPFilePurposeIdentityDocument = 0, +/// Dispute evidence file + STPFilePurposeDisputeEvidence = 1, +/// A file of unknown purpose type + STPFilePurposeUnknown = 2, +}; + + + + + + + +/// This class lets you access card icons used by the Stripe SDK. All icons are 32 x 20 points. +SWIFT_CLASS("_TtC6Stripe15STPImageLibrary") +@interface STPImageLibrary : NSObject +/// An icon representing Apple Pay. ++ (UIImage * _Nonnull)applePayCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon representing American Express. ++ (UIImage * _Nonnull)amexCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon representing Diners Club. ++ (UIImage * _Nonnull)dinersClubCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon representing Discover. ++ (UIImage * _Nonnull)discoverCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon representing JCB. ++ (UIImage * _Nonnull)jcbCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon representing Mastercard. ++ (UIImage * _Nonnull)mastercardCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon representing UnionPay. ++ (UIImage * _Nonnull)unionPayCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon representing Visa. ++ (UIImage * _Nonnull)visaCardImage SWIFT_WARN_UNUSED_RESULT; +/// An icon to use when the type of the card is unknown. ++ (UIImage * _Nonnull)unknownCardCardImage SWIFT_WARN_UNUSED_RESULT; +/// This returns the appropriate icon for the specified card brand. ++ (UIImage * _Nonnull)brandImageForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// This returns the appropriate icon for the specified bank brand. ++ (UIImage * _Nonnull)brandImageForFPXBankBrand:(enum STPFPXBankBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// An icon representing FPX. ++ (UIImage * _Nonnull)fpxLogo SWIFT_WARN_UNUSED_RESULT; +/// A large branding image for FPX. ++ (UIImage * _Nonnull)largeFpxLogo SWIFT_WARN_UNUSED_RESULT; +/// An icon representing Afterpay. ++ (UIImage * _Nonnull)afterpayLogo SWIFT_WARN_UNUSED_RESULT; +/// This returns the appropriate icon for the specified card brand as a +/// single color template that can be tinted ++ (UIImage * _Nonnull)templatedBrandImageForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// This returns a small icon indicating the CVC location for the given card brand. ++ (UIImage * _Nonnull)cvcImageForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// This returns a small icon indicating a card number error for the given card brand. ++ (UIImage * _Nonnull)errorImageForCardBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +enum STPIntentActionType : NSInteger; +@class STPIntentActionRedirectToURL; +@class STPIntentActionOXXODisplayDetails; +@class STPIntentActionAlipayHandleRedirect; +@class STPIntentActionWechatPayRedirectToApp; +@class STPIntentActionBoletoDisplayDetails; + +/// Next action details for STPPaymentIntent and STPSetupIntent. +/// This is a container for the various types that are available. +/// Check the type to see which one it is, and then use the related +/// property for the details necessary to handle it. +/// You cannot directly instantiate an STPIntentAction. +SWIFT_CLASS("_TtC6Stripe15STPIntentAction") +@interface STPIntentAction : NSObject +/// The type of action needed. The value of this field determines which +/// property of this object contains further details about the action. +@property (nonatomic, readonly) enum STPIntentActionType type; +/// The details for authorizing via URL, when type == .redirectToURL +@property (nonatomic, readonly, strong) STPIntentActionRedirectToURL * _Nullable redirectToURL; +/// The details for displaying OXXO voucher via URL, when type == .OXXODisplayDetails +@property (nonatomic, readonly, strong) STPIntentActionOXXODisplayDetails * _Nullable oxxoDisplayDetails; +/// Contains instructions for authenticating a payment by redirecting your customer to Alipay App or website. +@property (nonatomic, readonly, strong) STPIntentActionAlipayHandleRedirect * _Nullable alipayHandleRedirect; +/// Contains instructions for authenticating a payment by redirecting your customer to the WeChat Pay app. +@property (nonatomic, readonly, strong) STPIntentActionWechatPayRedirectToApp * _Nullable weChatPayRedirectToApp; +/// The details for displaying Boleto voucher via URL, when type == .boleto +@property (nonatomic, readonly, strong) STPIntentActionBoletoDisplayDetails * _Nullable boletoDisplayDetails; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPIntentAction (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface STPIntentAction (SWIFT_EXTENSION(Stripe)) +/// The details for authorizing via URL, when type == STPIntentActionTypeRedirectToURL +/// @deprecated Use redirectToURL instead. +@property (nonatomic, readonly, strong) STPIntentActionRedirectToURL * _Nullable authorizeWithURL SWIFT_DEPRECATED_MSG("Use `redirectToURL` instead.", "redirectToURL"); +@end + + +/// Contains instructions for authenticating a payment by redirecting your customer to Alipay App or website. +/// You cannot directly instantiate an STPPaymentIntentActionAlipayHandleRedirect. +SWIFT_CLASS("_TtC6Stripe35STPIntentActionAlipayHandleRedirect") +@interface STPIntentActionAlipayHandleRedirect : NSObject +/// The native URL you must redirect your customer to in order to authenticate the payment. +@property (nonatomic, readonly, copy) NSURL * _Nullable nativeURL; +/// If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion. +@property (nonatomic, readonly, copy) NSURL * _Nonnull returnURL; +/// The URL you must redirect your customer to in order to authenticate the payment. +@property (nonatomic, readonly, copy) NSURL * _Nonnull url; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPIntentActionAlipayHandleRedirect (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + + +/// Contains Boleto details necessary for the customer to complete the payment. +SWIFT_CLASS("_TtC6Stripe35STPIntentActionBoletoDisplayDetails") +@interface STPIntentActionBoletoDisplayDetails : NSObject +/// The boleto voucher number. +@property (nonatomic, readonly, copy) NSString * _Nonnull number; +/// The expiry date of the boleto voucher. +@property (nonatomic, readonly, copy) NSDate * _Nonnull expiresAt; +/// The URL to the hosted boleto voucher page, which allows customers to view the boleto voucher. +@property (nonatomic, readonly, copy) NSURL * _Nonnull hostedVoucherURL; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// Contains OXXO details necessary for the customer to complete the payment. +SWIFT_CLASS("_TtC6Stripe33STPIntentActionOXXODisplayDetails") +@interface STPIntentActionOXXODisplayDetails : NSObject +/// The timestamp after which the OXXO voucher expires. +@property (nonatomic, readonly, copy) NSDate * _Nonnull expiresAfter; +/// The URL for the hosted OXXO voucher page, which allows customers to view and print an OXXO voucher. +@property (nonatomic, readonly, copy) NSURL * _Nonnull hostedVoucherURL; +/// OXXO reference number. +@property (nonatomic, readonly, copy) NSString * _Nonnull number; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// Contains instructions for authenticating a payment by redirecting your customer to another page or application. +/// You cannot directly instantiate an STPIntentActionRedirectToURL. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/object#payment_intent_object-next_action +SWIFT_CLASS("_TtC6Stripe28STPIntentActionRedirectToURL") +@interface STPIntentActionRedirectToURL : NSObject +/// The URL you must redirect your customer to in order to authenticate the payment. +@property (nonatomic, readonly, copy) NSURL * _Nonnull url; +/// The return URL that’ll be redirected back to when the user is done +/// authenticating. +@property (nonatomic, readonly, copy) NSURL * _Nullable returnURL; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPIntentActionRedirectToURL (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// Types of next actions for STPPaymentIntent and STPSetupIntent. +/// You shouldn’t need to inspect this yourself; STPPaymentHandler will handle any next actions for you. +typedef SWIFT_ENUM(NSInteger, STPIntentActionType, open) { +/// This is an unknown action that’s been added since the SDK +/// was last updated. +/// Update your SDK, or use the nextAction.allResponseFields +/// for custom handling. + STPIntentActionTypeUnknown = 0, +/// The payment intent needs to be authorized by the user. We provide +/// STPPaymentHandler to handle the url redirections necessary. + STPIntentActionTypeRedirectToURL = 1, +/// The payment intent requires additional action handled by STPPaymentHandler. + STPIntentActionTypeUseStripeSDK = 2, +/// The action type is OXXO payment. We provide STPPaymentHandler to display +/// the OXXO voucher. + STPIntentActionTypeOXXODisplayDetails = 3, +/// Contains instructions for authenticating a payment by redirecting your customer to Alipay App or website. + STPIntentActionTypeAlipayHandleRedirect = 4, +/// The action type for BLIK payment methods. The customer must authorize the transaction in their banking app within 1 minute. + STPIntentActionTypeBLIKAuthorize = 5, +/// Contains instructions for authenticating a payment by redirecting your customer to the WeChat Pay App. + STPIntentActionTypeWeChatPayRedirectToApp = 6, +/// The payment intent requires authorization with Payment Sheet. + STPIntentActionTypeLinkAuthenticateAccount = 7, +/// The action type is Boleto payment. We provide STPPaymentHandler to display the Boleto voucher. + STPIntentActionTypeBoletoDisplayDetails = 8, +}; + + +/// Contains instructions for authenticating a payment by redirecting your customer to WeChat Pay app. +/// You cannot directly instantiate an STPIntentActionWechatPayRedirectToApp. +SWIFT_CLASS("_TtC6Stripe37STPIntentActionWechatPayRedirectToApp") +@interface STPIntentActionWechatPayRedirectToApp : NSObject +/// The native URL you must redirect your customer to in order to authenticate the payment. +@property (nonatomic, readonly, copy) NSURL * _Nullable nativeURL; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPIntentActionWechatPayRedirectToApp (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// You should make your application’s API client conform to this interface. +/// It provides a way for Stripe utility classes to request a new ephemeral key from +/// your backend, which it will use to retrieve and update Stripe API objects. +SWIFT_PROTOCOL("_TtP6Stripe34STPIssuingCardEphemeralKeyProvider_") +@protocol STPIssuingCardEphemeralKeyProvider +/// Creates a new ephemeral key for retrieving and updating a Stripe Issuing Card. +/// On your backend, you should create a new ephemeral key for your logged-in user’s +/// primary Issuing Card, and return the raw JSON response from the Stripe API. +/// For an example Ruby implementation of this API, refer to our example backend: +/// https://github.com/stripe/example-mobile-backend/blob/v18.1.0/web.rb +/// Back in your iOS app, once you have a response from this API, call the provided +/// completion block with the JSON response, or an error if one occurred. +/// \param apiVersion The Stripe API version to use when creating a key. +/// You should pass this parameter to your backend, and use it to set the API version +/// in your key creation request. Passing this version parameter ensures that the +/// Stripe SDK can always parse the ephemeral key response from your server. +/// +/// \param completion Call this callback when you’re done fetching a new ephemeral +/// key from your backend. For example, completion(json, nil) (if your call succeeds) +/// or completion(nil, error) if an error is returned. +/// +- (void)createIssuingCardKeyWithAPIVersion:(NSString * _Nonnull)apiVersion completion:(void (^ _Nonnull)(NSDictionary * _Nullable, NSError * _Nullable))completion; +@end + + +/// Information related to a Stripe Issuing card, including the PIN +SWIFT_CLASS("_TtC6Stripe17STPIssuingCardPin") +@interface STPIssuingCardPin : NSObject +/// The PIN for the card +@property (nonatomic, readonly, copy) NSString * _Nullable pin; +/// If the PIN failed to be created, this error might be present +@property (nonatomic, readonly, copy) NSDictionary * _Nullable error; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPIssuingCardPin (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +enum STPKlarnaLineItemType : NSInteger; + +/// An object representing a line item in a Klarna source. +/// seealso: +/// https://stripe.com/docs/sources/klarna#create-source +SWIFT_CLASS("_TtC6Stripe17STPKlarnaLineItem") +@interface STPKlarnaLineItem : NSObject +/// The line item’s type. One of sku (for a product), tax (for taxes), or shipping (for shipping costs). +@property (nonatomic) enum STPKlarnaLineItemType itemType; +/// The human-readable description for the line item. +@property (nonatomic, copy) NSString * _Nonnull itemDescription; +/// The quantity to display for this line item. +@property (nonatomic, strong) NSNumber * _Nonnull quantity; +/// The total price of this line item. +/// Note: This is the total price after multiplying by the quantity, not +/// the price of an individual item. It is denominated in the currency +/// of the STPSourceParams which contains it. +@property (nonatomic, strong) NSNumber * _Nonnull totalAmount; +/// Initialize this STPKlarnaLineItem with a set of parameters. +/// \param itemType The line item’s type. +/// +/// \param itemDescription The human-readable description for the line item. +/// +/// \param quantity The quantity to display for this line item. +/// +/// \param totalAmount The total price of this line item. +/// +- (nonnull instancetype)initWithItemType:(enum STPKlarnaLineItemType)itemType itemDescription:(NSString * _Nonnull)itemDescription quantity:(NSNumber * _Nonnull)quantity totalAmount:(NSNumber * _Nonnull)totalAmount OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// The type of the Klarna line item. +typedef SWIFT_ENUM(NSInteger, STPKlarnaLineItemType, open) { +/// The line item for a product + STPKlarnaLineItemTypeSKU = 0, +/// The line item for taxes + STPKlarnaLineItemTypeTax = 1, +/// The line item for shipping costs + STPKlarnaLineItemTypeShipping = 2, +}; + +/// Custom payment methods for Klarna +/// seealso: +/// https://stripe.com/docs/sources/klarna#create-source +typedef SWIFT_ENUM(NSInteger, STPKlarnaPaymentMethods, open) { +/// Don’t specify any custom payment methods. + STPKlarnaPaymentMethodsNone = 0, +/// Offer payments over 4 installments. (a.k.a. Pay Later in 4) + STPKlarnaPaymentMethodsPayIn4 = 1, +/// Offer payments over an arbitrary number of installments. (a.k.a. Slice It) + STPKlarnaPaymentMethodsInstallments = 2, +/// Offer payments over 4 or an arbitrary number of installments. + STPKlarnaPaymentMethodsPayIn4OrInstallments = 3, +}; + +enum STPMandateCustomerAcceptanceType : NSInteger; +@class STPMandateOnlineParams; + +/// An object that contains details about the customer acceptance of the Mandate. - seealso: https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-mandate_data-customer_acceptance +SWIFT_CLASS("_TtC6Stripe34STPMandateCustomerAcceptanceParams") +@interface STPMandateCustomerAcceptanceParams : NSObject +/// The type of customer acceptance information included with the Mandate. +@property (nonatomic) enum STPMandateCustomerAcceptanceType type; +/// If this is a Mandate accepted online, this object contains details about the online acceptance. +/// @note If type == STPMandateCustomerAcceptanceTypeOnline, this value must be non-nil. +@property (nonatomic, strong) STPMandateOnlineParams * _Nullable onlineParams; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initializes an empty STPMandateCustomerAcceptanceParams. +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + +/// The type of customer acceptance information included with the Mandate. +typedef SWIFT_ENUM(NSInteger, STPMandateCustomerAcceptanceType, open) { +/// A Mandate that was accepted online. + STPMandateCustomerAcceptanceTypeOnline = 0, +/// A Mandate that was accepted offline. + STPMandateCustomerAcceptanceTypeOffline = 1, +}; + + +/// This object contains details about the Mandate to create. - seealso: https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-mandate_data +SWIFT_CLASS("_TtC6Stripe20STPMandateDataParams") +@interface STPMandateDataParams : NSObject +/// Details about the customer acceptance of the Mandate. +@property (nonatomic, readonly, strong) STPMandateCustomerAcceptanceParams * _Nonnull customerAcceptance; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initializes an STPMandateDataParams from an STPMandateCustomerAcceptanceParams. +- (nonnull instancetype)initWithCustomerAcceptance:(STPMandateCustomerAcceptanceParams * _Nonnull)customerAcceptance OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPMandateDataParams (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Contains details about a Mandate accepted online. - seealso: https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-mandate_data-customer_acceptance-online +SWIFT_CLASS("_TtC6Stripe22STPMandateOnlineParams") +@interface STPMandateOnlineParams : NSObject +/// The IP address from which the Mandate was accepted by the customer. +@property (nonatomic, readonly, copy) NSString * _Nonnull ipAddress; +/// The user agent of the browser from which the Mandate was accepted by the customer. +@property (nonatomic, readonly, copy) NSString * _Nonnull userAgent; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initializes an STPMandateOnlineParams. +/// \param ipAddress The IP address from which the Mandate was accepted by the customer. +/// +/// \param userAgent The user agent of the browser from which the Mandate was accepted by the customer. +/// +/// +/// returns: +/// A new STPMandateOnlineParams instance with the specified parameters. +- (nonnull instancetype)initWithIPAddress:(NSString * _Nonnull)ipAddress userAgent:(NSString * _Nonnull)userAgent OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPMandateOnlineParams (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + + +/// This class can be used wherever you’d use a UIActivityIndicatorView and is intended to have a similar API. It renders as a spinning circle with a gap in it, similar to what you see in the App Store app or in the Apple Pay dialog when making a purchase. To change its color, set the tintColor property. +SWIFT_CLASS("_TtC6Stripe31STPPaymentActivityIndicatorView") +@interface STPPaymentActivityIndicatorView : UIView +/// Tell the view to start or stop spinning. If hidesWhenStopped is true, it will fade in/out if animated is true. +- (void)setAnimating:(BOOL)animating animated:(BOOL)animated; +/// Whether or not the view is animating. +@property (nonatomic) BOOL animating; +/// If true, the view will hide when it is not spinning. Default is true. +@property (nonatomic) BOOL hidesWhenStopped; +/// :nodoc: +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +/// :nodoc: +@property (nonatomic, strong) UIColor * _Null_unspecified tintColor; +/// :nodoc: +- (void)layoutSubviews; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE; +@end + +@class STPPaymentMethodCardParams; +@class UITraitCollection; + +/// STPPaymentCardTextField is a text field with similar properties to UITextField, +/// but specialized for credit/debit card information. It manages +/// multiple UITextFields under the hood to collect this information. It’s +/// designed to fit on a single line, and from a design perspective can be used +/// anywhere a UITextField would be appropriate. +IB_DESIGNABLE +SWIFT_CLASS("_TtC6Stripe23STPPaymentCardTextField") +@interface STPPaymentCardTextField : UIControl +/// :nodoc: +- (BOOL)textField:(UITextField * _Nonnull)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString * _Nonnull)string SWIFT_WARN_UNUSED_RESULT; +/// seealso: +/// STPPaymentCardTextFieldDelegate +@property (nonatomic, weak) IBOutlet id _Nullable delegate; +/// The font used in each child field. Default is UIFont.systemFont(ofSize:18). +@property (nonatomic, strong) UIFont * _Nonnull font; +/// The text color to be used when entering valid text. Default is .label. +@property (nonatomic, strong) UIColor * _Nonnull textColor; +/// The text color to be used when the user has entered invalid information, +/// such as an invalid card number. +/// Default is .red. +@property (nonatomic, strong) UIColor * _Nonnull textErrorColor; +/// The text placeholder color used in each child field. +/// This will also set the color of the card placeholder icon. +/// Default is .systemGray2. +@property (nonatomic, strong) UIColor * _Nonnull placeholderColor; +/// The placeholder for the card number field. +/// Default is “4242424242424242”. +/// If this is set to something that resembles a card number, it will automatically +/// format it as such (in other words, you don’t need to add spaces to this string). +@property (nonatomic, copy) IBInspectable NSString * _Nullable numberPlaceholder; +/// The placeholder for the expiration field. Defaults to “MM/YY”. +@property (nonatomic, copy) IBInspectable NSString * _Nullable expirationPlaceholder; +/// The placeholder for the cvc field. Defaults to “CVC”. +@property (nonatomic, copy) IBInspectable NSString * _Nullable cvcPlaceholder; +/// The placeholder for the postal code field. Defaults to “ZIP” for United States +/// or @“Postal” for all other country codes. +@property (nonatomic, copy) IBInspectable NSString * _Nullable postalCodePlaceholder; +/// The cursor color for the field. +/// This is a proxy for the view’s tintColor property, exposed for clarity only +/// (in other words, calling setCursorColor is identical to calling setTintColor). +@property (nonatomic, strong) UIColor * _Nonnull cursorColor; +/// The border color for the field. +/// Can be nil (in which case no border will be drawn). +/// Default is .systemGray2. +@property (nonatomic, strong) UIColor * _Nullable borderColor; +/// The width of the field’s border. +/// Default is 1.0. +@property (nonatomic) CGFloat borderWidth; +/// The corner radius for the field’s border. +/// Default is 5.0. +@property (nonatomic) CGFloat cornerRadius; +/// The keyboard appearance for the field. +/// Default is UIKeyboardAppearanceDefault. +@property (nonatomic) UIKeyboardAppearance keyboardAppearance; +/// This behaves identically to setting the inputView for each child text field. +@property (nonatomic, strong) UIView * _Nullable inputView; +/// This behaves identically to setting the inputAccessoryView for each child text field. +@property (nonatomic, strong) UIView * _Nullable inputAccessoryView; +/// The curent brand image displayed in the receiver. +@property (nonatomic, readonly, strong) UIImage * _Nullable brandImage; +/// Whether or not the form currently contains a valid card number, +/// expiration date, CVC, and postal code (if required). +/// seealso: +/// STPCardValidator +@property (nonatomic, readonly) BOOL isValid; +/// Enable/disable selecting or editing the field. Useful when submitting card details to Stripe. +@property (nonatomic, getter=isEnabled) BOOL enabled; +/// The current card number displayed by the field. +/// May or may not be valid, unless isValid is true, in which case it is guaranteed +/// to be valid. +@property (nonatomic, readonly, copy) NSString * _Nullable cardNumber; +/// The current expiration month displayed by the field (1 = January, etc). +/// May or may not be valid, unless isValid is true, in which case it is +/// guaranteed to be valid. +@property (nonatomic, readonly) NSInteger expirationMonth; +/// The current expiration month displayed by the field, as a string. T +/// This may or may not be a valid entry (i.e. “0”) unless isValid is true. +/// It may be also 0-prefixed (i.e. “01” for January). +@property (nonatomic, readonly, copy) NSString * _Nullable formattedExpirationMonth; +/// The current expiration year displayed by the field, modulo 100 +/// (e.g. the year 2015 will be represented as 15). +/// May or may not be valid, unless isValid is true, in which case it is +/// guaranteed to be valid. +@property (nonatomic, readonly) NSInteger expirationYear; +/// The current expiration year displayed by the field, as a string. +/// This is a 2-digit year (i.e. “15”), and may or may not be a valid entry +/// unless isValid is true. +@property (nonatomic, readonly, copy) NSString * _Nullable formattedExpirationYear; +/// The current card CVC displayed by the field. +/// May or may not be valid, unless isValid is true, in which case it +/// is guaranteed to be valid. +@property (nonatomic, readonly, copy) NSString * _Nullable cvc; +/// The current card ZIP or postal code displayed by the field. +@property (nonatomic, copy) NSString * _Nullable postalCode; +/// Controls if a postal code entry field can be displayed to the user. +/// Default is YES. +/// If YES, the type of code entry shown is controlled by the set countryCode +/// value. Some country codes may result in no postal code entry being shown if +/// those countries do not commonly use postal codes. +/// If NO, no postal code entry will ever be displayed. +@property (nonatomic) BOOL postalCodeEntryEnabled; +/// The two-letter ISO country code that corresponds to the user’s billing address. +/// If postalCodeEntryEnabled is YES, this controls which type of entry is allowed. +/// If postalCodeEntryEnabled is NO, this property currently has no effect. +/// If set to nil and postal code entry is enabled, the country from the user’s current +/// locale will be filled in. Otherwise the specific country code set will be used. +/// By default this will fetch the user’s current country code from NSLocale. +@property (nonatomic, copy) NSString * _Nullable countryCode; +/// Convenience property for creating an STPPaymentMethodCardParams from the currently entered information +/// or programmatically setting the field’s contents. For example, if you’re using another library +/// to scan your user’s credit card with a camera, you can assemble that data into an STPPaymentMethodCardParams +/// object and set this property to that object to prefill the fields you’ve collected. +/// Accessing this property returns a copied cardParams. The only way to change properties in this +/// object is to make changes to a STPPaymentMethodCardParams you own (retrieved from this text field if desired), +/// and then set this property to the new value. +@property (nonatomic, strong) STPPaymentMethodCardParams * _Nonnull cardParams; +/// Causes the text field to begin editing. Presents the keyboard. +/// seealso: +/// UIResponder +/// +/// returns: +/// Whether or not the text field successfully began editing. +- (BOOL)becomeFirstResponder; +/// Causes the text field to stop editing. Dismisses the keyboard. +/// seealso: +/// UIResponder +/// +/// returns: +/// Whether or not the field successfully stopped editing. +- (BOOL)resignFirstResponder; +/// Resets all of the contents of all of the fields. If the field is currently being edited, the number field will become selected. +- (void)clear; +/// Returns the cvc image used for a card brand. +/// Override this method in a subclass if you would like to provide custom images. +/// \param cardBrand The brand of card entered. +/// +/// +/// returns: +/// The cvc image used for a card brand. ++ (UIImage * _Nullable)cvcImageForCardBrand:(enum STPCardBrand)cardBrand SWIFT_WARN_UNUSED_RESULT; +/// Returns the brand image used for a card brand. +/// Override this method in a subclass if you would like to provide custom images. +/// \param cardBrand The brand of card entered. +/// +/// +/// returns: +/// The brand image used for a card brand. ++ (UIImage * _Nullable)brandImageForCardBrand:(enum STPCardBrand)cardBrand SWIFT_WARN_UNUSED_RESULT; +/// Returns the error image used for a card brand. +/// Override this method in a subclass if you would like to provide custom images. +/// \param cardBrand The brand of card entered. +/// +/// +/// returns: +/// The error image used for a card brand. ++ (UIImage * _Nullable)errorImageForCardBrand:(enum STPCardBrand)cardBrand SWIFT_WARN_UNUSED_RESULT; +/// Returns the rectangle in which the receiver draws its brand image. +/// \param bounds The bounding rectangle of the receiver. +/// +/// +/// returns: +/// the rectangle in which the receiver draws its brand image. +- (CGRect)brandImageRectForBounds:(CGRect)bounds SWIFT_WARN_UNUSED_RESULT; +/// Returns the rectangle in which the receiver draws the text fields. +/// \param bounds The bounding rectangle of the receiver. +/// +/// +/// returns: +/// The rectangle in which the receiver draws the text fields. +- (CGRect)fieldsRectForBounds:(CGRect)bounds SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (void)traitCollectionDidChange:(UITraitCollection * _Nullable)previousTraitCollection; +/// :nodoc: +@property (nonatomic, strong) UIColor * _Nullable backgroundColor; +/// :nodoc: +@property (nonatomic) UIControlContentVerticalAlignment contentVerticalAlignment; +/// :nodoc: +@property (nonatomic, readonly) BOOL isFirstResponder; +/// :nodoc: +@property (nonatomic, readonly) BOOL canBecomeFirstResponder; +/// :nodoc: +@property (nonatomic, readonly) BOOL canResignFirstResponder; +/// :nodoc: +@property (nonatomic, readonly) CGSize intrinsicContentSize; +/// :nodoc: +- (void)layoutSubviews; +/// :nodoc: +- (BOOL)textFieldShouldBeginEditing:(UITextField * _Nonnull)textField SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)textFieldDidBeginEditing:(UITextField * _Nonnull)textField; +/// :nodoc: +- (BOOL)textFieldShouldEndEditing:(UITextField * _Nonnull)textField SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)textFieldDidEndEditing:(UITextField * _Nonnull)textField; +/// :nodoc: +- (BOOL)textFieldShouldReturn:(UITextField * _Nonnull)textField SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) BOOL hasText; +/// :nodoc: +- (void)insertText:(NSString * _Nonnull)text; +/// :nodoc: +- (void)deleteBackward; +/// :nodoc: ++ (NSSet * _Nonnull)keyPathsForValuesAffectingIsValid SWIFT_WARN_UNUSED_RESULT; +@end + + + + +enum STPShippingType : NSInteger; + +/// An STPPaymentConfiguration represents all the options you can set or change +/// around a payment. +/// You provide an STPPaymentConfiguration object to your STPPaymentContext +/// when making a charge. The configuration generally has settings that +/// will not change from payment to payment and thus is reusable, while the context +/// is specific to a single particular payment instance. +SWIFT_CLASS("_TtC6Stripe23STPPaymentConfiguration") +@interface STPPaymentConfiguration : NSObject +/// This is a convenience singleton configuration that uses the default values for +/// every property +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) STPPaymentConfiguration * _Nonnull sharedConfiguration;) ++ (STPPaymentConfiguration * _Nonnull)sharedConfiguration SWIFT_WARN_UNUSED_RESULT; ++ (void)setSharedConfiguration:(STPPaymentConfiguration * _Nonnull)value; +/// The user is allowed to pay with Apple Pay if it’s configured and available on their device. +@property (nonatomic) BOOL applePayEnabled; +/// The user is allowed to pay with FPX. +@property (nonatomic) BOOL fpxEnabled; +/// The billing address fields the user must fill out when prompted for their +/// payment details. These fields will all be present on the returned PaymentMethod from +/// Stripe. +/// The default value is STPBillingAddressFieldsPostalCode. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/create#create_payment_method-billing_details +@property (nonatomic) enum STPBillingAddressFields requiredBillingAddressFields; +/// The shipping address fields the user must fill out when prompted for their +/// shipping info. Set to nil if shipping address is not required. +/// The default value is nil. +@property (nonatomic, copy) NSSet * _Nullable requiredShippingAddressFields; +/// Whether the user should be prompted to verify prefilled shipping information. +/// The default value is YES. +@property (nonatomic) BOOL verifyPrefilledShippingAddress; +/// The type of shipping for this purchase. This property sets the labels displayed +/// when the user is prompted for shipping info, and whether they should also be +/// asked to select a shipping method. +/// The default value is STPShippingTypeShipping. +@property (nonatomic) enum STPShippingType shippingType; +/// The set of countries supported when entering an address. This property accepts +/// a set of ISO 2-character country codes. +/// The default value is all known countries. Setting this property will limit +/// the available countries to your selected set. +@property (nonatomic, copy) NSSet * _Nonnull availableCountries; +/// The name of your company, for displaying to the user during payment flows. For +/// example, when using Apple Pay, the payment sheet’s final line item will read +/// “PAY {companyName}”. +/// The default value is the name of your iOS application which is derived from the +/// kCFBundleNameKey of Bundle.main. +@property (nonatomic, copy) NSString * _Nonnull companyName; +/// The Apple Merchant Identifier to use during Apple Pay transactions. To create +/// one of these, see our guide at https://stripe.com/docs/mobile/apple-pay . You +/// must set this to a valid identifier in order to automatically enable Apple Pay. +@property (nonatomic, copy) NSString * _Nullable appleMerchantIdentifier; +/// Determines whether or not the user is able to delete payment options +/// This is only relevant to the STPPaymentOptionsViewController which, if +/// enabled, will allow the user to delete payment options by tapping the “Edit” +/// button in the navigation bar or by swiping left on a payment option and tapping +/// “Delete”. Currently, the user is not allowed to delete the selected payment +/// option but this may change in the future. +/// Default value is YES but will only work if STPPaymentOptionsViewController is +/// initialized with a STPCustomerContext either through the STPPaymentContext +/// or directly as an init parameter. +@property (nonatomic) BOOL canDeletePaymentOptions; +/// Determines whether STPAddCardViewController allows the user to +/// scan cards using the camera on devices running iOS 13 or later. +/// To use this feature, you must also set the NSCameraUsageDescription +/// value in your app’s Info.plist. +/// @note This feature is currently in beta. Please file bugs at +/// https://github.com/stripe/stripe-ios/issues +/// The default value is currently NO. This will be changed in a future update. +@property (nonatomic) BOOL cardScanningEnabled; +/// An enum value representing which payment options you will accept from your user +/// in addition to credit cards. +@property (nonatomic) NSInteger additionalPaymentOptions SWIFT_DEPRECATED_MSG("additionalPaymentOptions has been removed. Set applePayEnabled and fpxEnabled on STPPaymentConfiguration instead."); +/// If you used STPPaymentConfiguration.shared.publishableKey, use STPAPIClient.shared.publishableKey instead. The SDK uses STPAPIClient.shared to make API requests by default. +/// Your Stripe publishable key +/// seealso: +/// https://dashboard.stripe.com/account/apikeys +@property (nonatomic, copy) NSString * _Nullable publishableKey SWIFT_DEPRECATED_MSG("If you used STPPaymentConfiguration.shared.publishableKey, use STPAPIClient.shared.publishableKey instead. If you passed a STPPaymentConfiguration instance to an SDK component, create an STPAPIClient, set publishableKey on it, and set the SDK component's APIClient property."); +/// If you used STPPaymentConfiguration.shared.stripeAccount, use STPAPIClient.shared.stripeAccount instead. The SDK uses STPAPIClient.shared to make API requests by default. +/// In order to perform API requests on behalf of a connected account, e.g. to +/// create charges for a connected account, set this property to the ID of the +/// account for which this request is being made. +/// seealso: +/// https://stripe.com/docs/payments/payment-intents/use-cases#connected-accounts +@property (nonatomic, copy) NSString * _Nullable stripeAccount SWIFT_DEPRECATED_MSG("If you used STPPaymentConfiguration.shared.stripeAccount, use STPAPIClient.shared.stripeAccount instead. If you passed a STPPaymentConfiguration instance to an SDK component, create an STPAPIClient, set stripeAccount on it, and set the SDK component's APIClient property."); +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class STPShippingAddressViewController; +enum STPShippingStatus : NSInteger; + +/// An STPShippingAddressViewControllerDelegate is notified when an STPShippingAddressViewController receives an address, completes with an address, or is cancelled. +SWIFT_PROTOCOL("_TtP6Stripe40STPShippingAddressViewControllerDelegate_") +@protocol STPShippingAddressViewControllerDelegate +/// Called when the user cancels entering a shipping address. You should dismiss (or pop) the view controller at this point. +/// \param addressViewController the view controller that has been cancelled +/// +- (void)shippingAddressViewControllerDidCancel:(STPShippingAddressViewController * _Nonnull)addressViewController; +/// This is called when the user enters a shipping address and taps next. You +/// should validate the address and determine what shipping methods are available, +/// and call the completion block when finished. If an error occurrs, call +/// the completion block with the error. Otherwise, call the completion +/// block with a nil error and an array of available shipping methods. If you don’t +/// need to collect a shipping method, you may pass an empty array or nil. +/// \param addressViewController the view controller where the address was entered +/// +/// \param address the address that was entered. - seealso: STPAddress +/// +/// \param completion call this callback when you’re done validating the address and determining available shipping methods. +/// +- (void)shippingAddressViewController:(STPShippingAddressViewController * _Nonnull)addressViewController didEnterAddress:(STPAddress * _Nonnull)address completion:(void (^ _Nonnull)(enum STPShippingStatus, NSError * _Nullable, NSArray * _Nullable, PKShippingMethod * _Nullable))completion; +/// This is called when the user selects a shipping method. If no shipping methods are given, or if the shipping type doesn’t require a shipping method, this will be called after the user has a shipping address and your validation has succeeded. After updating your app with the user’s shipping info, you should dismiss (or pop) the view controller. Note that if shippingMethod is non-nil, there will be an additional shipping methods view controller on the navigation controller’s stack. +/// \param addressViewController the view controller where the address was entered +/// +/// \param address the address that was entered. - seealso: STPAddress +/// +/// \param method the shipping method that was selected. +/// +- (void)shippingAddressViewController:(STPShippingAddressViewController * _Nonnull)addressViewController didFinishWithAddress:(STPAddress * _Nonnull)address shippingMethod:(PKShippingMethod * _Nullable)method; +@end + +@class STPPaymentOptionsViewController; + +/// An STPPaymentOptionsViewControllerDelegate responds when a user selects a +/// payment option from (or cancels) an STPPaymentOptionsViewController. In both +/// of these instances, you should dismiss the view controller (either by popping +/// it off the navigation stack, or dismissing it). +SWIFT_PROTOCOL("_TtP6Stripe39STPPaymentOptionsViewControllerDelegate_") +@protocol STPPaymentOptionsViewControllerDelegate +/// This is called when the view controller encounters an error fetching the user’s +/// payment options from its API adapter. You should dismiss the view controller +/// when this is called. +/// \param paymentOptionsViewController the view controller in question +/// +/// \param error the error that occurred +/// +- (void)paymentOptionsViewController:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController didFailToLoadWithError:(NSError * _Nonnull)error; +/// This is called when the user selects or adds a payment method, so it will often +/// be called immediately after calling paymentOptionsViewController:didSelectPaymentOption:. +/// You should dismiss the view controller when this is called. +/// \param paymentOptionsViewController the view controller that has finished +/// +- (void)paymentOptionsViewControllerDidFinish:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController; +/// This is called when the user taps “cancel”. +/// You should dismiss the view controller when this is called. +/// \param paymentOptionsViewController the view controller that has finished +/// +- (void)paymentOptionsViewControllerDidCancel:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController; +@optional +/// This is called when the user either makes a selection, or adds a new card. +/// This will be triggered after the view controller loads with the user’s current +/// selection (if they have one) and then subsequently when they change their +/// choice. You should use this callback to update any necessary UI in your app +/// that displays the user’s currently selected payment method. You should not +/// dismiss the view controller at this point, instead do this in +/// paymentOptionsViewControllerDidFinish:. STPPaymentOptionsViewController +/// will also call the necessary methods on your API adapter, so you don’t need to +/// call them directly during this method. +/// \param paymentOptionsViewController the view controller in question +/// +/// \param paymentOption the selected payment method +/// +- (void)paymentOptionsViewController:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController didSelectPaymentOption:(id _Nonnull)paymentOption; +@end + +@protocol STPPaymentContextDelegate; +@class PKPaymentSummaryItem; + +/// An STPPaymentContext keeps track of all of the state around a payment. It will manage fetching a user’s saved payment methods, tracking any information they select, and prompting them for required additional information before completing their purchase. It can be used to power your application’s “payment confirmation” page with just a few lines of code. +/// STPPaymentContext also provides a unified interface to multiple payment methods - for example, you can write a single integration to accept both credit card payments and Apple Pay. +/// STPPaymentContext saves information about a user’s payment methods to a Stripe customer object, and requires an STPCustomerContext to manage retrieving and modifying the customer. +SWIFT_CLASS_NAMED("STPPaymentContext") +@interface STPPaymentContext : NSObject +/// This is a convenience initializer; it is equivalent to calling +/// init(customerContext:customerContext configuration:STPPaymentConfiguration.shared theme:STPTheme.defaultTheme. +/// \param customerContext The customer context the payment context will use to fetch +/// and modify its Stripe customer. - seealso: STPCustomerContext.h +/// +/// +/// returns: +/// the newly-instantiated payment context +- (nonnull instancetype)initWithCustomerContext:(STPCustomerContext * _Nonnull)customerContext; +/// Initializes a new Payment Context with the provided customer context, configuration, +/// and theme. After this class is initialized, you should also make sure to set its +/// delegate and hostViewController properties. +/// seealso: +/// STPPaymentConfiguration.h +///
    +///
  • +/// theme: The theme describing the visual appearance of all UI +/// that the payment context automatically creates for you. - seealso: STPTheme.h +///
  • +///
+/// \param customerContext The customer context the payment context will use to fetch +/// and modify its Stripe customer. - seealso: STPCustomerContext.h +/// +/// \param configuration The configuration for the payment context to use. This +/// lets you set your Stripe publishable API key, required billing address fields, etc. +/// +/// +/// returns: +/// the newly-instantiated payment context +- (nonnull instancetype)initWithCustomerContext:(STPCustomerContext * _Nonnull)customerContext configuration:(STPPaymentConfiguration * _Nonnull)configuration theme:(STPTheme * _Nonnull)theme; +/// Note: Instead of providing your own backend API adapter, we recommend using +/// STPCustomerContext, which will manage retrieving and updating a +/// Stripe customer for you. - seealso: STPCustomerContext.h +/// This is a convenience initializer; it is equivalent to calling +/// init(apiAdapter:apiAdapter configuration:STPPaymentConfiguration.shared theme:STPTheme.defaultTheme). +- (nonnull instancetype)initWithApiAdapter:(id _Nonnull)apiAdapter; +/// Note: Instead of providing your own backend API adapter, we recommend using +/// STPCustomerContext, which will manage retrieving and updating a +/// Stripe customer for you. - seealso: STPCustomerContext.h +/// Initializes a new Payment Context with the provided API adapter and configuration. +/// After this class is initialized, you should also make sure to set its delegate +/// and hostViewController properties. +/// seealso: +/// STPPaymentConfiguration.h +///
    +///
  • +/// theme: The theme describing the visual appearance of all UI that +/// the payment context automatically creates for you. - seealso: STPTheme.h +///
  • +///
+/// \param apiAdapter The API adapter the payment context will use to fetch and +/// modify its contents. You need to make a class conforming to this protocol that +/// talks to your server. - seealso: STPBackendAPIAdapter.h +/// +/// \param configuration The configuration for the payment context to use. This lets +/// you set your Stripe publishable API key, required billing address fields, etc. +/// +/// +/// returns: +/// the newly-instantiated payment context +- (nonnull instancetype)initWithApiAdapter:(id _Nonnull)apiAdapter configuration:(STPPaymentConfiguration * _Nonnull)configuration theme:(STPTheme * _Nonnull)theme OBJC_DESIGNATED_INITIALIZER; +/// Note: Instead of providing your own backend API adapter, we recommend using +/// STPCustomerContext, which will manage retrieving and updating a +/// Stripe customer for you. - seealso: STPCustomerContext.h +/// The API adapter the payment context will use to fetch and modify its contents. +/// You need to make a class conforming to this protocol that talks to your server. +/// seealso: +/// STPBackendAPIAdapter.h +@property (nonatomic, readonly, strong) id _Nonnull apiAdapter; +/// The configuration for the payment context to use internally. - seealso: STPPaymentConfiguration.h +@property (nonatomic, readonly, strong) STPPaymentConfiguration * _Nonnull configuration; +/// The visual appearance that will be used by any views that the context generates. - seealso: STPTheme.h +@property (nonatomic, readonly, strong) STPTheme * _Nonnull theme; +/// If you’ve already collected some information from your user, you can set it here and it’ll be automatically filled out when possible/appropriate in any UI that the payment context creates. +@property (nonatomic, strong) STPUserInformation * _Nullable prefilledInformation; +/// The view controller that any additional UI will be presented on. If you have a “checkout view controller” in your app, that should be used as the host view controller. +@property (nonatomic, weak) UIViewController * _Nullable hostViewController; +/// This delegate will be notified when the payment context’s contents change. - seealso: STPPaymentContextDelegate +@property (nonatomic, weak) id _Nullable delegate; +/// Whether or not the payment context is currently loading information from the network. +@property (nonatomic, readonly) BOOL loading; +/// @note This is no longer recommended as of v18.3.0 - the SDK automatically saves the Stripe ID of the last selected +/// payment method using NSUserDefaults and displays it as the default pre-selected option. You can override this behavior +/// by setting this property. +/// The Stripe ID of a payment method to display as the default pre-selected option. +/// @note Set this property immediately after initializing STPPaymentContext, or call retryLoading afterwards. +@property (nonatomic, copy) NSString * _Nullable defaultPaymentMethod; +/// The user’s currently selected payment option. May be nil. +@property (nonatomic, readonly, strong) id _Nullable selectedPaymentOption; +/// The available payment options the user can choose between. May be nil. +@property (nonatomic, readonly, copy) NSArray> * _Nullable paymentOptions; +/// The user’s currently selected shipping method. May be nil. +@property (nonatomic, readonly, strong) PKShippingMethod * _Nullable selectedShippingMethod; +/// An array of STPShippingMethod objects that describe the supported shipping methods. May be nil. +@property (nonatomic, readonly, copy) NSArray * _Nullable shippingMethods; +/// The user’s shipping address. May be nil. +/// If you’ve already collected a shipping address from your user, you may +/// prefill it by setting a shippingAddress in PaymentContext’s prefilledInformation. +/// When your user enters a new shipping address, PaymentContext will save it to +/// the current customer object. When PaymentContext loads, if you haven’t +/// manually set a prefilled value, any shipping information saved on the customer +/// will be used to prefill the shipping address form. Note that because your +/// customer’s email may not be the same as the email provided with their shipping +/// info, PaymentContext will not prefill the shipping form’s email using your +/// customer’s email. +/// You should not rely on the shipping information stored on the Stripe customer +/// for order fulfillment, as your user may change this information if they make +/// multiple purchases. We recommend adding shipping information when you create +/// a charge (which can also help prevent fraud), or saving it to your own +/// database. https://stripe.com/docs/api/payment_intents/create#create_payment_intent-shipping +/// Note: by default, your user will still be prompted to verify a prefilled +/// shipping address. To change this behavior, you can set +/// verifyPrefilledShippingAddress to NO in your STPPaymentConfiguration. +@property (nonatomic, readonly, strong) STPAddress * _Nullable shippingAddress; +/// The amount of money you’re requesting from the user, in the smallest currency +/// unit for the selected currency. For example, to indicate $10 USD, use 1000 +/// (i.e. 1000 cents). For more information, see https://stripe.com/docs/api/payment_intents/create#create_payment_intent-amount +/// @note This value must be present and greater than zero in order for Apple Pay +/// to be automatically enabled. +/// @note You should only set either this or paymentSummaryItems, not both. +/// The other will be automatically calculated on demand using your paymentCurrency. +@property (nonatomic) NSInteger paymentAmount; +/// The three-letter currency code for the currency of the payment (i.e. USD, GBP, +/// JPY, etc). Defaults to “USD”. +/// @note Changing this property may change the return value of paymentAmount +/// or paymentSummaryItems (whichever one you didn’t directly set yourself). +@property (nonatomic, copy) NSString * _Nonnull paymentCurrency; +/// The two-letter country code for the country where the payment will be processed. +/// You should set this to the country your Stripe account is in. Defaults to “US”. +/// @note Changing this property will change the countryCode of your Apple Pay +/// payment requests. +/// seealso: +/// PKPaymentRequest for more information. +@property (nonatomic, copy) NSString * _Nonnull paymentCountry; +/// If you support Apple Pay, you can optionally set the PKPaymentSummaryItems +/// you want to display here instead of using paymentAmount. Note that the +/// grand total (the amount of the last summary item) must be greater than zero. +/// If not set, a single summary item will be automatically generated using +/// paymentAmount and your configuration’s companyName. +/// seealso: +/// PKPaymentRequest for more information +/// @note You should only set either this or paymentAmount, not both. +/// The other will be automatically calculated on demand using your paymentCurrency. +@property (nonatomic, copy) NSArray * _Nonnull paymentSummaryItems; +/// The presentation style used for all view controllers presented modally by the context. +/// Since custom transition styles are not supported, you should set this to either +/// UIModalPresentationFullScreen, UIModalPresentationPageSheet, or UIModalPresentationFormSheet. +/// The default value is UIModalPresentationFullScreen. +@property (nonatomic) UIModalPresentationStyle modalPresentationStyle; +/// The mode to use when displaying the title of the navigation bar in all view +/// controllers presented by the context. The default value is automatic, +/// which causes the title to use the same styling as the previously displayed +/// navigation item (if the view controller is pushed onto the hostViewController). +/// If the prefersLargeTitles property of the hostViewController‘s navigation bar +/// is false, this property has no effect and the navigation item’s title is always +/// displayed as a small title. +/// If the view controller is presented modally, automatic and +/// never always result in a navigation bar with a small title. +@property (nonatomic) UINavigationItemLargeTitleDisplayMode largeTitleDisplayMode; +/// A view that will be placed as the footer of the payment options selection +/// view controller. +/// When the footer view needs to be resized, it will be sent a +/// sizeThatFits: call. The view should respond correctly to this method in order +/// to be sized and positioned properly. +@property (nonatomic, strong) UIView * _Nullable paymentOptionsViewControllerFooterView; +/// A view that will be placed as the footer of the add card view controller. +/// When the footer view needs to be resized, it will be sent a +/// sizeThatFits: call. The view should respond correctly to this method in order +/// to be sized and positioned properly. +@property (nonatomic, strong) UIView * _Nullable addCardViewControllerFooterView; +/// The STPAPIClient instance to use to make API requests. +/// Defaults to STPAPIClient.shared. +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +/// If paymentContext:didFailToLoadWithError: is called on your delegate, you +/// can in turn call this method to try loading again (if that hasn’t been called, +/// calling this will do nothing). If retrying in turn fails, paymentContext:didFailToLoadWithError: +/// will be called again (and you can again call this to keep retrying, etc). +- (void)retryLoading; +/// This creates, configures, and appropriately presents an STPPaymentOptionsViewController +/// on top of the payment context’s hostViewController. It’ll be dismissed automatically +/// when the user is done selecting their payment method. +/// @note This method will do nothing if it is called while STPPaymentContext is +/// already showing a view controller or in the middle of requesting a payment. +- (void)presentPaymentOptionsViewController; +/// This creates, configures, and appropriately pushes an STPPaymentOptionsViewController +/// onto the navigation stack of the context’s hostViewController. It’ll be popped +/// automatically when the user is done selecting their payment method. +/// @note This method will do nothing if it is called while STPPaymentContext is +/// already showing a view controller or in the middle of requesting a payment. +- (void)pushPaymentOptionsViewController; +/// This creates, configures, and appropriately presents a view controller for +/// collecting shipping address and shipping method on top of the payment context’s +/// hostViewController. It’ll be dismissed automatically when the user is done +/// entering their shipping info. +/// @note This method will do nothing if it is called while STPPaymentContext is +/// already showing a view controller or in the middle of requesting a payment. +- (void)presentShippingViewController; +/// This creates, configures, and appropriately pushes a view controller for +/// collecting shipping address and shipping method onto the navigation stack of +/// the context’s hostViewController. It’ll be popped automatically when the +/// user is done entering their shipping info. +/// @note This method will do nothing if it is called while STPPaymentContext is +/// already showing a view controller, or in the middle of requesting a payment. +- (void)pushShippingViewController; +/// Requests payment from the user. This may need to present some supplemental UI +/// to the user, in which case it will be presented on the payment context’s +/// hostViewController. For instance, if they’ve selected Apple Pay as their +/// payment method, calling this method will show the payment sheet. If the user +/// has a card on file, this will use that without presenting any additional UI. +/// After this is called, the paymentContext:didCreatePaymentResult:completion: +/// and paymentContext:didFinishWithStatus:error: methods will be called on the +/// context’s delegate. +/// @note This method will do nothing if it is called while STPPaymentContext is +/// already showing a view controller, or in the middle of requesting a payment. +- (void)requestPayment; +- (void)paymentOptionsViewController:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController didSelectPaymentOption:(id _Nonnull)paymentOption; +- (void)paymentOptionsViewControllerDidFinish:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController; +- (void)paymentOptionsViewControllerDidCancel:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController; +- (void)paymentOptionsViewController:(STPPaymentOptionsViewController * _Nonnull)paymentOptionsViewController didFailToLoadWithError:(NSError * _Nonnull)error; +- (void)shippingAddressViewControllerDidCancel:(STPShippingAddressViewController * _Nonnull)addressViewController; +- (void)shippingAddressViewController:(STPShippingAddressViewController * _Nonnull)addressViewController didEnterAddress:(STPAddress * _Nonnull)address completion:(void (^ _Nonnull)(enum STPShippingStatus, NSError * _Nullable, NSArray * _Nullable, PKShippingMethod * _Nullable))completion; +- (void)shippingAddressViewController:(STPShippingAddressViewController * _Nonnull)addressViewController didFinishWithAddress:(STPAddress * _Nonnull)address shippingMethod:(PKShippingMethod * _Nullable)method; +- (UIViewController * _Nonnull)authenticationPresentingViewController SWIFT_WARN_UNUSED_RESULT; +- (void)prepareAuthenticationContextForPresentation:(void (^ _Nonnull)(void))completion; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@class STPPaymentResult; + +/// Implement STPPaymentContextDelegate to get notified when a payment context changes, finishes, encounters errors, etc. In practice, if your app has a “checkout screen view controller”, that is a good candidate to implement this protocol. +SWIFT_PROTOCOL("_TtP6Stripe25STPPaymentContextDelegate_") +@protocol STPPaymentContextDelegate +/// Called when the payment context encounters an error when fetching its initial set of data. A few ways to handle this are: +///
    +///
  • +/// If you’re showing the user a checkout page, dismiss the checkout page when this is called and present the error to the user. +///
  • +///
  • +/// Present the error to the user using a UIAlertController with two buttons: Retry and Cancel. If they cancel, dismiss your UI. If they Retry, call retryLoading on the payment context. +/// To make it harder to get your UI into a bad state, this won’t be called until the context’s hostViewController has finished appearing. +///
  • +///
+/// \param paymentContext the payment context that encountered the error +/// +/// \param error the error that was encountered +/// +- (void)paymentContext:(STPPaymentContext * _Nonnull)paymentContext didFailToLoadWithError:(NSError * _Nonnull)error; +/// This is called every time the contents of the payment context change. When this is called, you should update your app’s UI to reflect the current state of the payment context. For example, if you have a checkout page with a “selected payment method” row, you should update its payment method with paymentContext.selectedPaymentOption.label. If that checkout page has a “buy” button, you should enable/disable it depending on the result of paymentContext.isReadyForPayment. +/// \param paymentContext the payment context that changed +/// +- (void)paymentContextDidChange:(STPPaymentContext * _Nonnull)paymentContext; +/// Inside this method, you should make a call to your backend API to make a PaymentIntent with that Customer + payment method, and invoke the completion block when that is done. +/// \param paymentContext The context that succeeded +/// +/// \param paymentResult Information associated with the payment that you can pass to your server. You should go to your backend API with this payment result and use the PaymentIntent API to complete the payment. See https://stripe.com/docs/mobile/ios/standard#submit-payment-intents. Once that’s done call the completion block with any error that occurred (or none, if the payment succeeded). - seealso: STPPaymentResult.h +/// +/// \param completion Call this block when you’re done creating a payment intent (or subscription, etc) on your backend. If it succeeded, call completion(STPPaymentStatusSuccess, nil). If it failed with an error, call completion(STPPaymentStatusError, error). If the user canceled, call completion(STPPaymentStatusUserCancellation, nil). +/// +- (void)paymentContext:(STPPaymentContext * _Nonnull)paymentContext didCreatePaymentResult:(STPPaymentResult * _Nonnull)paymentResult completion:(void (^ _Nonnull)(enum STPPaymentStatus, NSError * _Nullable))completion; +/// This is invoked by an STPPaymentContext when it is finished. This will be called after the payment is done and all necessary UI has been dismissed. You should inspect the returned status and behave appropriately. For example: if it’s STPPaymentStatusSuccess, show the user a receipt. If it’s STPPaymentStatusError, inform the user of the error. If it’s STPPaymentStatusUserCancellation, do nothing. +/// \param paymentContext The payment context that finished +/// +/// \param status The status of the payment - STPPaymentStatusSuccess if it succeeded, STPPaymentStatusError if it failed with an error (in which case the error parameter will be non-nil), STPPaymentStatusUserCancellation if the user canceled the payment. +/// +/// \param error An error that occurred, if any. +/// +- (void)paymentContext:(STPPaymentContext * _Nonnull)paymentContext didFinishWith:(enum STPPaymentStatus)status error:(NSError * _Nullable)error; +@optional +/// Inside this method, you should verify that you can ship to the given address. +/// You should call the completion block with the results of your validation +/// and the available shipping methods for the given address. If you don’t implement +/// this method, the user won’t be prompted to select a shipping method and all +/// addresses will be valid. If you call the completion block with nil or an +/// empty array of shipping methods, the user won’t be prompted to select a +/// shipping method. +/// @note If a user updates their shipping address within the Apple Pay dialog, +/// this address will be anonymized. For example, in the US, it will only include the +/// city, state, and zip code. The payment context will have the user’s complete +/// shipping address by the time paymentContext:didFinishWithStatus:error is +/// called. +/// \param paymentContext The context that updated its shipping address +/// +/// \param address The current shipping address +/// +/// \param completion Call this block when you’re done validating the shipping +/// address and calculating available shipping methods. If you call the completion +/// block with nil or an empty array of shipping methods, the user won’t be prompted +/// to select a shipping method. +/// +- (void)paymentContext:(STPPaymentContext * _Nonnull)paymentContext didUpdateShippingAddress:(STPAddress * _Nonnull)address completion:(void (^ _Nonnull)(enum STPShippingStatus, NSError * _Nullable, NSArray * _Nullable, PKShippingMethod * _Nullable))completion; +@end + +@class STPThreeDSCustomizationSettings; +@class STPPaymentIntentParams; +enum STPPaymentHandlerActionStatus : NSInteger; +@class STPPaymentIntent; +@class STPSetupIntentConfirmParams; +@class STPSetupIntent; + +/// STPPaymentHandler is a utility class that confirms PaymentIntents/SetupIntents and handles any authentication required, such as 3DS1/3DS2 for Strong Customer Authentication. +/// It can present authentication UI on top of your app or redirect users out of your app (to e.g. their banking app). +/// seealso: +/// https://stripe.com/docs/mobile/ios/authentication +SWIFT_CLASS("_TtC6Stripe17STPPaymentHandler") SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable) SWIFT_AVAILABILITY(ios_app_extension,unavailable) +@interface STPPaymentHandler : NSObject +/// The error domain for errors in STPPaymentHandler. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull errorDomain;) ++ (NSString * _Nonnull)errorDomain SWIFT_WARN_UNUSED_RESULT; +/// The globally shared instance of STPPaymentHandler. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPPaymentHandler * _Nonnull sharedHandler;) ++ (STPPaymentHandler * _Nonnull)sharedHandler SWIFT_WARN_UNUSED_RESULT; +/// The globally shared instance of STPPaymentHandler. ++ (STPPaymentHandler * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; +/// By default sharedHandler initializes with STPAPIClient.shared. +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +/// Customizable settings to use when performing 3DS2 authentication. +/// Note: Configure this before calling any methods. +/// Defaults to STPThreeDSCustomizationSettings(). +@property (nonatomic, strong) STPThreeDSCustomizationSettings * _Nonnull threeDSCustomizationSettings; +/// When this flag is enabled, STPPaymentHandler will confirm certain PaymentMethods using +/// Safari instead of SFSafariViewController. If you’d like to use this in your own +/// testing or Continuous Integration platform, please see the IntegrationTester app +/// for usage examples. +/// Note: This flag is only intended for development, and only impacts payments made with testmode keys. +/// Setting this to true with a livemode key will fail. +@property (nonatomic) BOOL simulateAppToAppRedirect; +/// Confirms the PaymentIntent with the provided parameters and handles any nextAction required +/// to authenticate the PaymentIntent. +/// Call this method if you are using automatic confirmation. - seealso: https://stripe.com/docs/payments/payment-intents/ios +/// \param paymentParams The params used to confirm the PaymentIntent. Note that this method overrides the value of paymentParams.useStripeSDK to @YES. +/// +/// \param authenticationContext The authentication context used to authenticate the payment. +/// +/// \param completion The completion block. If the status returned is STPPaymentHandlerActionStatusSucceeded, the PaymentIntent status is not necessarily STPPaymentIntentStatusSucceeded (e.g. some bank payment methods take days before the PaymentIntent succeeds). +/// +- (void)confirmPayment:(STPPaymentIntentParams * _Nonnull)paymentParams withAuthenticationContext:(id _Nonnull)authenticationContext completion:(void (^ _Nonnull)(enum STPPaymentHandlerActionStatus, STPPaymentIntent * _Nullable, NSError * _Nullable))completion; +/// Handles any nextAction required to authenticate the PaymentIntent. +/// Call this method if you are using manual confirmation. - seealso: https://stripe.com/docs/payments/payment-intents/ios +/// \param paymentIntentClientSecret The client secret of the PaymentIntent to handle next actions for. +/// +/// \param authenticationContext The authentication context used to authenticate the payment. +/// +/// \param returnURL An optional URL to redirect your customer back to after they authenticate or cancel in a webview. This should match the returnURL you specified during PaymentIntent confirmation. +/// +/// \param completion The completion block. If the status returned is STPPaymentHandlerActionStatusSucceeded, the PaymentIntent status will always be either STPPaymentIntentStatusSucceeded, or STPPaymentIntentStatusRequiresConfirmation, or STPPaymentIntentStatusRequiresCapture if you are using manual capture. In the latter two cases, confirm or capture the PaymentIntent on your backend to complete the payment. +/// +- (void)handleNextActionForPayment:(NSString * _Nonnull)paymentIntentClientSecret withAuthenticationContext:(id _Nonnull)authenticationContext returnURL:(NSString * _Nullable)returnURL completion:(void (^ _Nonnull)(enum STPPaymentHandlerActionStatus, STPPaymentIntent * _Nullable, NSError * _Nullable))completion; +/// Confirms the SetupIntent with the provided parameters and handles any nextAction required +/// to authenticate the SetupIntent. +/// seealso: +/// https://stripe.com/docs/payments/cards/saving-cards#saving-card-without-payment +/// \param setupIntentConfirmParams The params used to confirm the SetupIntent. Note that this method overrides the value of setupIntentConfirmParams.useStripeSDK to @YES. +/// +/// \param authenticationContext The authentication context used to authenticate the SetupIntent. +/// +/// \param completion The completion block. If the status returned is STPPaymentHandlerActionStatusSucceeded, the SetupIntent status will always be STPSetupIntentStatusSucceeded. +/// +- (void)confirmSetupIntent:(STPSetupIntentConfirmParams * _Nonnull)setupIntentConfirmParams withAuthenticationContext:(id _Nonnull)authenticationContext completion:(void (^ _Nonnull)(enum STPPaymentHandlerActionStatus, STPSetupIntent * _Nullable, NSError * _Nullable))completion; +/// Handles any nextAction required to authenticate the SetupIntent. +/// Call this method if you are confirming the SetupIntent on your backend and get a status of requires_action. +/// \param setupIntentClientSecret The client secret of the SetupIntent to handle next actions for. +/// +/// \param authenticationContext The authentication context used to authenticate the SetupIntent. +/// +/// \param returnURL An optional URL to redirect your customer back to after they authenticate or cancel in a webview. This should match the returnURL you specified during SetupIntent confirmation. +/// +/// \param completion The completion block. If the status returned is STPPaymentHandlerActionStatusSucceeded, the SetupIntent status will always be STPSetupIntentStatusSucceeded. +/// +- (void)handleNextActionForSetupIntent:(NSString * _Nonnull)setupIntentClientSecret withAuthenticationContext:(id _Nonnull)authenticationContext returnURL:(NSString * _Nullable)returnURL completion:(void (^ _Nonnull)(enum STPPaymentHandlerActionStatus, STPSetupIntent * _Nullable, NSError * _Nullable))completion; +/// :nodoc: +- (void)safariViewControllerDidFinish:(SFSafariViewController * _Nonnull)controller; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable) SWIFT_AVAILABILITY(ios_app_extension,unavailable) +@interface STPPaymentHandler (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (BOOL)handleURLCallback:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; +@end + + +/// STPPaymentHandlerActionStatus represents the possible outcomes of requesting an action by STPPaymentHandler. An action could be confirming and/or handling the next action for a PaymentIntent. +typedef SWIFT_ENUM(NSInteger, STPPaymentHandlerActionStatus, open) { +/// The action succeeded. + STPPaymentHandlerActionStatusSucceeded = 0, +/// The action was cancelled by the cardholder/user. + STPPaymentHandlerActionStatusCanceled = 1, +/// The action failed. See the error code for more details. + STPPaymentHandlerActionStatusFailed = 2, +}; + +/// Error codes generated by STPPaymentHandler +typedef SWIFT_ENUM(NSInteger, STPPaymentHandlerErrorCode, open) { +/// Indicates that the action requires an authentication method not recognized or supported by the SDK. + STPPaymentHandlerUnsupportedAuthenticationErrorCode SWIFT_COMPILE_NAME("unsupportedAuthenticationErrorCode") = 0, +/// Indicates that the action requires an authentication app, but either the app is not installed or the request to switch to the app was denied. + STPPaymentHandlerRequiredAppNotAvailableErrorCode SWIFT_COMPILE_NAME("requiredAppNotAvailable") = 1, +/// Attach a payment method to the PaymentIntent or SetupIntent before using STPPaymentHandler. + STPPaymentHandlerRequiresPaymentMethodErrorCode SWIFT_COMPILE_NAME("requiresPaymentMethodErrorCode") = 2, +/// The PaymentIntent or SetupIntent status cannot be resolved by STPPaymentHandler. + STPPaymentHandlerIntentStatusErrorCode SWIFT_COMPILE_NAME("intentStatusErrorCode") = 3, +/// The action timed out. + STPPaymentHandlerTimedOutErrorCode SWIFT_COMPILE_NAME("timedOutErrorCode") = 4, +/// There was an error in the Stripe3DS2 SDK. + STPPaymentHandlerStripe3DS2ErrorCode SWIFT_COMPILE_NAME("stripe3DS2ErrorCode") = 5, +/// The transaction did not authenticate (e.g. user entered the wrong code). + STPPaymentHandlerNotAuthenticatedErrorCode SWIFT_COMPILE_NAME("notAuthenticatedErrorCode") = 6, +/// STPPaymentHandler does not support concurrent actions. + STPPaymentHandlerNoConcurrentActionsErrorCode SWIFT_COMPILE_NAME("noConcurrentActionsErrorCode") = 7, +/// Payment requires a valid STPAuthenticationContext. Make sure your presentingViewController isn’t already presenting. + STPPaymentHandlerRequiresAuthenticationContextErrorCode SWIFT_COMPILE_NAME("requiresAuthenticationContextErrorCode") = 8, +/// There was an error confirming the Intent. +/// Inspect the paymentIntent.lastPaymentError or setupIntent.lastSetupError property. + STPPaymentHandlerPaymentErrorCode SWIFT_COMPILE_NAME("paymentErrorCode") = 9, +/// The provided PaymentIntent of SetupIntent client secret does not match the expected pattern for client secrets. +/// Make sure that your server is returning the correct value and that is being passed to STPPaymentHandler. + STPPaymentHandlerInvalidClientSecret SWIFT_COMPILE_NAME("invalidClientSecret") = 10, +}; + +enum STPPaymentIntentCaptureMethod : NSInteger; +enum STPPaymentIntentConfirmationMethod : NSInteger; +enum STPPaymentIntentStatus : NSInteger; +enum STPPaymentIntentSetupFutureUsage : NSInteger; +@class STPPaymentIntentLastPaymentError; +@class STPPaymentIntentShippingDetails; + +/// A PaymentIntent tracks the process of collecting a payment from your customer. +/// seealso: +/// https://stripe.com/docs/api#payment_intents +/// seealso: +/// https://stripe.com/docs/payments/dynamic-authentication +SWIFT_CLASS("_TtC6Stripe16STPPaymentIntent") +@interface STPPaymentIntent : NSObject +/// The Stripe ID of the PaymentIntent. +@property (nonatomic, readonly, copy) NSString * _Nonnull stripeId; +/// The client secret used to fetch this PaymentIntent +@property (nonatomic, readonly, copy) NSString * _Nonnull clientSecret; +/// Amount intended to be collected by this PaymentIntent. +@property (nonatomic, readonly) NSInteger amount; +/// If status is .canceled, when the PaymentIntent was canceled. +@property (nonatomic, readonly, copy) NSDate * _Nullable canceledAt; +/// Capture method of this PaymentIntent +@property (nonatomic, readonly) enum STPPaymentIntentCaptureMethod captureMethod; +/// Confirmation method of this PaymentIntent +@property (nonatomic, readonly) enum STPPaymentIntentConfirmationMethod confirmationMethod; +/// When the PaymentIntent was created. +@property (nonatomic, readonly, copy) NSDate * _Nonnull created; +/// The currency associated with the PaymentIntent. +@property (nonatomic, readonly, copy) NSString * _Nonnull currency; +/// The description field of the PaymentIntent. +/// An arbitrary string attached to the object. Often useful for displaying to users. +@property (nonatomic, readonly, copy) NSString * _Nullable stripeDescription; +/// Whether or not this PaymentIntent was created in livemode. +@property (nonatomic, readonly) BOOL livemode; +/// If status == .requiresAction, this +/// property contains the next action to take for this PaymentIntent. +@property (nonatomic, readonly, strong) STPIntentAction * _Nullable nextAction; +/// Email address that the receipt for the resulting payment will be sent to. +@property (nonatomic, readonly, copy) NSString * _Nullable receiptEmail; +/// The Stripe ID of the Source used in this PaymentIntent. +@property (nonatomic, readonly, copy) NSString * _Nullable sourceId; +/// The Stripe ID of the PaymentMethod used in this PaymentIntent. +@property (nonatomic, readonly, copy) NSString * _Nullable paymentMethodId; +/// Status of the PaymentIntent +@property (nonatomic, readonly) enum STPPaymentIntentStatus status; +/// The list of payment method types (e.g. [NSNumber(value: STPPaymentMethodType.card.rawValue)]) that this PaymentIntent is allowed to use. +@property (nonatomic, readonly, copy) NSArray * _Nonnull paymentMethodTypes; +/// When provided, this property indicates how you intend to use the payment method that your customer provides after the current payment completes. If applicable, additional authentication may be performed to comply with regional legislation or network rules required to enable the usage of the same payment method for additional payments. +/// Use on_session if you intend to only reuse the payment method when the customer is in your checkout flow. Use off_session if your customer may or may not be in your checkout flow. +@property (nonatomic, readonly) enum STPPaymentIntentSetupFutureUsage setupFutureUsage; +/// The payment error encountered in the previous PaymentIntent confirmation. +@property (nonatomic, readonly, strong) STPPaymentIntentLastPaymentError * _Nullable lastPaymentError; +/// Shipping information for this PaymentIntent. +@property (nonatomic, readonly, strong) STPPaymentIntentShippingDetails * _Nullable shipping; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +@interface STPPaymentIntent (SWIFT_EXTENSION(Stripe)) +/// If status == STPPaymentIntentStatusRequiresAction, this +/// property contains the next source action to take for this PaymentIntent. +/// @deprecated Use nextAction instead +@property (nonatomic, readonly, strong) STPIntentAction * _Nullable nextSourceAction SWIFT_DEPRECATED_MSG("Use nextAction instead", "nextAction"); +@end + + +@interface STPPaymentIntent (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Action details for an STPPaymentIntent. This is a container for +/// the various types that are available. Check the type to see which one +/// it is, and then use the related property for the details necessary to handle it. +/// @deprecated Use STPIntentAction instead. +SWIFT_CLASS("_TtC6Stripe22STPPaymentIntentAction") SWIFT_DEPRECATED_MSG("Use `STPIntentAction` instead.", "_TtC6Stripe15STPIntentAction") +@interface STPPaymentIntentAction : STPIntentAction +@end + + +/// Contains instructions for authenticating a payment by redirecting your customer to another page or application. +/// @deprecated Use STPIntentActionRedirectToURL instead. +SWIFT_CLASS("_TtC6Stripe35STPPaymentIntentActionRedirectToURL") SWIFT_UNAVAILABLE_MSG("'STPPaymentIntentActionRedirectToURL' has been renamed to '_TtC6Stripe28STPIntentActionRedirectToURL': Use `STPIntentActionRedirectToURL` instead.") +@interface STPPaymentIntentActionRedirectToURL : STPIntentActionRedirectToURL +@end + +/// Types of Actions from a STPPaymentIntent, when the payment intent +/// status is STPPaymentIntentStatusRequiresAction. +typedef SWIFT_ENUM(NSInteger, STPPaymentIntentActionType, open) { +/// This is an unknown action, that’s been added since the SDK +/// was last updated. +/// Update your SDK, or use the nextAction.allResponseFields +/// for custom handling. + STPPaymentIntentActionTypeUnknown = 0, +/// The payment intent needs to be authorized by the user. We provide +/// STPRedirectContext to handle the url redirections necessary. + STPPaymentIntentActionTypeRedirectToURL = 1, +}; + +/// Capture methods for a STPPaymentIntent +typedef SWIFT_ENUM(NSInteger, STPPaymentIntentCaptureMethod, open) { +/// Unknown capture method + STPPaymentIntentCaptureMethodUnknown = 0, +/// The PaymentIntent will be automatically captured + STPPaymentIntentCaptureMethodAutomatic = 1, +/// The PaymentIntent must be manually captured once it has the status +/// STPPaymentIntentStatusRequiresCapture + STPPaymentIntentCaptureMethodManual = 2, +}; + +/// Confirmation methods for a STPPaymentIntent +typedef SWIFT_ENUM(NSInteger, STPPaymentIntentConfirmationMethod, open) { +/// Unknown confirmation method + STPPaymentIntentConfirmationMethodUnknown = 0, +/// Confirmed via publishable key + STPPaymentIntentConfirmationMethodManual = 1, +/// Confirmed via secret key + STPPaymentIntentConfirmationMethodAutomatic = 2, +}; + +enum STPPaymentIntentLastPaymentErrorType : NSInteger; + +/// A value for code indicating the provided payment method failed authentication./// The payment error encountered in the previous PaymentIntent confirmation. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/object#payment_intent_object-last_payment_error +SWIFT_CLASS("_TtC6Stripe32STPPaymentIntentLastPaymentError") +@interface STPPaymentIntentLastPaymentError : NSObject +/// A value for code indicating the provided payment method failed authentication. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull ErrorCodeAuthenticationFailure;) ++ (NSString * _Nonnull)ErrorCodeAuthenticationFailure SWIFT_WARN_UNUSED_RESULT; +/// For some errors that could be handled programmatically, a short string indicating the error code reported. +/// seealso: +/// https://stripe.com/docs/error-codes +@property (nonatomic, readonly, copy) NSString * _Nullable code; +/// For card (STPPaymentIntentLastPaymentErrorType.card) errors resulting from a card issuer decline, +/// a short string indicating the card issuer’s reason for the decline if they provide one. +/// seealso: +/// https://stripe.com/docs/declines#issuer-declines +@property (nonatomic, readonly, copy) NSString * _Nullable declineCode; +/// A URL to more information about the error code reported. +/// seealso: +/// https://stripe.com/docs/error-codes +@property (nonatomic, readonly, copy) NSString * _Nullable docURL; +/// A human-readable message providing more details about the error. +/// For card (STPPaymentIntentLastPaymentErrorType.card) errors, these messages can be shown to your users. +@property (nonatomic, readonly, copy) NSString * _Nullable message; +/// If the error is parameter-specific, the parameter related to the error. +/// For example, you can use this to display a message near the correct form field. +@property (nonatomic, readonly, copy) NSString * _Nullable param; +/// The PaymentMethod object for errors returned on a request involving a PaymentMethod. +@property (nonatomic, readonly, strong) STPPaymentMethod * _Nullable paymentMethod; +/// The type of error. +@property (nonatomic, readonly) enum STPPaymentIntentLastPaymentErrorType type; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPPaymentIntentLastPaymentError (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// The type of the error represented by STPPaymentIntentLastPaymentError. +/// Some STPPaymentIntentLastPaymentError properties are only populated for certain error types. +typedef SWIFT_ENUM(NSInteger, STPPaymentIntentLastPaymentErrorType, open) { +/// An unknown error type. + STPPaymentIntentLastPaymentErrorTypeUnknown = 0, +/// An error connecting to Stripe’s API. + STPPaymentIntentLastPaymentErrorTypeAPIConnection SWIFT_COMPILE_NAME("apiConnection") = 1, +/// An error with the Stripe API. + STPPaymentIntentLastPaymentErrorTypeAPI SWIFT_COMPILE_NAME("api") = 2, +/// A failure to authenticate your customer. + STPPaymentIntentLastPaymentErrorTypeAuthentication = 3, +/// Card errors are the most common type of error you should expect to handle. +/// They result when the user enters a card that can’t be charged for some reason. +/// Check the declineCode property for the decline code. The message property contains a message you can show to your users. + STPPaymentIntentLastPaymentErrorTypeCard = 4, +/// Keys for idempotent requests can only be used with the same parameters they were first used with. + STPPaymentIntentLastPaymentErrorTypeIdempotency = 5, +/// Invalid request errors. Typically, this is because your request has invalid parameters. + STPPaymentIntentLastPaymentErrorTypeInvalidRequest = 6, +/// Too many requests hit the API too quickly. + STPPaymentIntentLastPaymentErrorTypeRateLimit = 7, +}; + +@class STPSourceParams; +@class STPPaymentIntentShippingDetailsParams; + +/// An object representing parameters used to confirm a PaymentIntent object. +/// A PaymentIntent must have a PaymentMethod or Source associated in order to successfully confirm it. +/// That PaymentMethod or Source can either be: +/// seealso: +/// https://stripe.com/docs/api#confirm_payment_intent +///
    +///
  • +/// created during confirmation, by passing in a STPPaymentMethodParams or STPSourceParams object in the paymentMethodParams or sourceParams field +///
  • +///
  • +/// a pre-existing PaymentMethod or Source can be associated by passing its id in the paymentMethodId or sourceId field +///
  • +///
  • +/// or already set via your backend, either when creating or updating the PaymentIntent +///
  • +///
+SWIFT_CLASS("_TtC6Stripe22STPPaymentIntentParams") +@interface STPPaymentIntentParams : NSObject +/// Initialize this STPPaymentIntentParams with a clientSecret, which is the only required +/// field. +/// \param clientSecret the client secret for this PaymentIntent +/// +- (nonnull instancetype)initWithClientSecret:(NSString * _Nonnull)clientSecret OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// The Stripe id of the PaymentIntent, extracted from the clientSecret. +@property (nonatomic, readonly, copy) NSString * _Nullable stripeId; +/// The client secret of the PaymentIntent. Required +@property (nonatomic, copy) NSString * _Nonnull clientSecret; +/// Provide a supported STPPaymentMethodParams object, and Stripe will create a +/// PaymentMethod during PaymentIntent confirmation. +/// @note alternative to paymentMethodId +@property (nonatomic, strong) STPPaymentMethodParams * _Nullable paymentMethodParams; +/// Provide an already created PaymentMethod’s id, and it will be used to confirm the PaymentIntent. +/// @note alternative to paymentMethodParams +@property (nonatomic, copy) NSString * _Nullable paymentMethodId; +/// Provide a supported STPSourceParams object into here, and Stripe will create a Source +/// during PaymentIntent confirmation. +/// @note alternative to sourceId +@property (nonatomic, strong) STPSourceParams * _Nullable sourceParams; +/// Provide an already created Source’s id, and it will be used to confirm the PaymentIntent. +/// @note alternative to sourceParams +@property (nonatomic, copy) NSString * _Nullable sourceId; +/// Email address that the receipt for the resulting payment will be sent to. +@property (nonatomic, copy) NSString * _Nullable receiptEmail; +/// @YES to save this PaymentIntent’s PaymentMethod or Source to the associated Customer, +/// if the PaymentMethod/Source is not already attached. +/// This should be a boolean NSNumber, so that it can be nil +@property (nonatomic, strong) NSNumber * _Nullable savePaymentMethod; +/// The URL to redirect your customer back to after they authenticate or cancel +/// their payment on the payment method’s app or site. +/// This should probably be a URL that opens your iOS app. +@property (nonatomic, copy) NSString * _Nullable returnURL; +/// When provided, this property indicates how you intend to use the payment method that your customer provides after the current payment completes. +/// If applicable, additional authentication may be performed to comply with regional legislation or network rules required to enable the usage of the same payment method for additional payments. +/// This property should only be used in Objective-C. In Swift, use setupFutureUsage. +/// seealso: +/// STPPaymentIntentSetupFutureUsage for more details on what values you can provide. +@property (nonatomic, strong) NSNumber * _Nullable setupFutureUsage; +/// A boolean number to indicate whether you intend to use the Stripe SDK’s functionality to handle any PaymentIntent next actions. +/// If set to false, STPPaymentIntent.nextAction will only ever contain a redirect url that can be opened in a webview or mobile browser. +/// When set to true, the nextAction may contain information that the Stripe SDK can use to perform native authentication within your +/// app. +@property (nonatomic, strong) NSNumber * _Nullable useStripeSDK; +/// Details about the Mandate to create. +/// @note If this value is null and the (self.paymentMethod.type == STPPaymentMethodTypeSEPADebit | | self.paymentMethodParams.type == STPPaymentMethodTypeAUBECSDebit || self.paymentMethodParams.type == STPPaymentMethodTypeBacsDebit) && self.mandate == nil`, the SDK will set this to an internal value indicating that the mandate data should be inferred from the current context. +@property (nonatomic, strong) STPMandateDataParams * _Nullable mandateData; +/// Options to update the associated PaymentMethod during confirmation. +/// seealso: +/// STPConfirmPaymentMethodOptions +@property (nonatomic, strong) STPConfirmPaymentMethodOptions * _Nullable paymentMethodOptions; +/// Shipping information. +@property (nonatomic, strong) STPPaymentIntentShippingDetailsParams * _Nullable shipping; +/// The URL to redirect your customer back to after they authenticate or cancel +/// their payment on the payment method’s app or site. +/// This property has been renamed to returnURL and deprecated. +@property (nonatomic, copy) NSString * _Nullable returnUrl SWIFT_DEPRECATED_MSG("", "returnURL"); +/// @YES to save this PaymentIntent’s Source to the associated Customer, +/// if the Source is not already attached. +/// This should be a boolean NSNumber, so that it can be nil +/// This property has been renamed to savePaymentMethod and deprecated. +@property (nonatomic, strong) NSNumber * _Nullable saveSourceToCustomer SWIFT_DEPRECATED_MSG("", "savePaymentMethod"); +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Provide an STPPaymentResult from STPPaymentContext, and this will populate +/// the proper field (either paymentMethodId or paymentMethodParams) for your PaymentMethod. +- (void)configureWith:(STPPaymentResult * _Nonnull)paymentResult; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +@end + + +@interface STPPaymentIntentParams (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface STPPaymentIntentParams (SWIFT_EXTENSION(Stripe)) ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +@end + +/// Indicates how you intend to use the payment method that your customer provides after the current payment completes. +/// If applicable, additional authentication may be performed to comply with regional legislation or network rules required to enable the usage of the same payment method for additional payments. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/object#payment_intent_object-setup_future_usage +typedef SWIFT_ENUM(NSInteger, STPPaymentIntentSetupFutureUsage, open) { +/// Unknown value. Update your SDK, or use allResponseFields for custom handling. + STPPaymentIntentSetupFutureUsageUnknown = 0, +/// No value was provided. + STPPaymentIntentSetupFutureUsageNone = 1, +/// Indicates you intend to only reuse the payment method when the customer is in your checkout flow. + STPPaymentIntentSetupFutureUsageOnSession = 2, +/// Indicates you intend to reuse the payment method when the customer may or may not be in your checkout flow. + STPPaymentIntentSetupFutureUsageOffSession = 3, +}; + +@class STPPaymentIntentShippingDetailsAddress; + +/// Shipping information for a PaymentIntent +/// You cannot directly instantiate an STPPaymentIntentShippingDetails. +/// You should only use one that is part of an existing STPPaymentMethod object. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/object#payment_intent_object-shipping +SWIFT_CLASS("_TtC6Stripe31STPPaymentIntentShippingDetails") +@interface STPPaymentIntentShippingDetails : NSObject +/// Shipping address. +@property (nonatomic, readonly, strong) STPPaymentIntentShippingDetailsAddress * _Nullable address; +/// Recipient name. +@property (nonatomic, readonly, copy) NSString * _Nullable name; +/// The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc. +@property (nonatomic, readonly, copy) NSString * _Nullable carrier; +/// Recipient phone (including extension). +@property (nonatomic, readonly, copy) NSString * _Nullable phone; +/// The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas. +@property (nonatomic, readonly, copy) NSString * _Nullable trackingNumber; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPPaymentIntentShippingDetails (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Shipping address for a PaymentIntent’s shipping details. +/// You cannot directly instantiate an STPPaymentIntentShippingDetailsAddress. +/// You should only use one that is part of an existing STPPaymentMethod object. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/object#payment_intent_object-shipping +SWIFT_CLASS("_TtC6Stripe38STPPaymentIntentShippingDetailsAddress") +@interface STPPaymentIntentShippingDetailsAddress : NSObject +/// City/District/Suburb/Town/Village. +@property (nonatomic, readonly, copy) NSString * _Nullable city; +/// Two-letter country code (ISO 3166-1 alpha-2). +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// Address line 1 (Street address/PO Box/Company name). +@property (nonatomic, readonly, copy) NSString * _Nullable line1; +/// Address line 2 (Apartment/Suite/Unit/Building). +@property (nonatomic, readonly, copy) NSString * _Nullable line2; +/// ZIP or postal code. +@property (nonatomic, readonly, copy) NSString * _Nullable postalCode; +/// State/County/Province/Region. +@property (nonatomic, readonly, copy) NSString * _Nullable state; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPPaymentIntentShippingDetailsAddress (SWIFT_EXTENSION(Stripe)) ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Shipping address for a PaymentIntent’s shipping details. +/// seealso: +/// https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-shipping-address +SWIFT_CLASS("_TtC6Stripe44STPPaymentIntentShippingDetailsAddressParams") +@interface STPPaymentIntentShippingDetailsAddressParams : NSObject +/// City/District/Suburb/Town/Village. +@property (nonatomic, copy) NSString * _Nullable city; +/// Two-letter country code (ISO 3166-1 alpha-2). +@property (nonatomic, copy) NSString * _Nullable country; +/// Address line 1 (Street address/PO Box/Company name). +@property (nonatomic, copy) NSString * _Nonnull line1; +/// Address line 2 (Apartment/Suite/Unit/Building). +@property (nonatomic, copy) NSString * _Nullable line2; +/// ZIP or postal code. +@property (nonatomic, copy) NSString * _Nullable postalCode; +/// State/County/Province/Region. +@property (nonatomic, copy) NSString * _Nullable state; +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initialize an STPPaymentIntentShippingDetailsAddressParams instance with required properties. +- (nonnull instancetype)initWithLine1:(NSString * _Nonnull)line1 OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPPaymentIntentShippingDetailsAddressParams (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface STPPaymentIntentShippingDetailsAddressParams (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Shipping information for a PaymentIntent +/// seealso: +/// https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-shipping +SWIFT_CLASS("_TtC6Stripe37STPPaymentIntentShippingDetailsParams") +@interface STPPaymentIntentShippingDetailsParams : NSObject +/// Shipping address. +@property (nonatomic, strong) STPPaymentIntentShippingDetailsAddressParams * _Nonnull address; +/// Recipient name. +@property (nonatomic, copy) NSString * _Nonnull name; +/// The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc. +@property (nonatomic, copy) NSString * _Nullable carrier; +/// Recipient phone (including extension). +@property (nonatomic, copy) NSString * _Nullable phone; +/// The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas. +@property (nonatomic, copy) NSString * _Nullable trackingNumber; +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initialize an STPPaymentIntentShippingDetailsParams with required properties. +- (nonnull instancetype)initWithAddress:(STPPaymentIntentShippingDetailsAddressParams * _Nonnull)address name:(NSString * _Nonnull)name OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@interface STPPaymentIntentShippingDetailsParams (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface STPPaymentIntentShippingDetailsParams (SWIFT_EXTENSION(Stripe)) ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Source Action details for an STPPaymentIntent. This is a container for +/// the various types that are available. Check the type to see which one +/// it is, and then use the related property for the details necessary to handle +/// it. +/// @deprecated Use STPIntentAction instead. +SWIFT_CLASS("_TtC6Stripe28STPPaymentIntentSourceAction") SWIFT_UNAVAILABLE_MSG("'STPPaymentIntentSourceAction' has been renamed to '_TtC6Stripe15STPIntentAction': Use `STPIntentAction` instead.") +@interface STPPaymentIntentSourceAction : STPIntentAction +@end + + +/// The STPPaymentIntentSourceAction details when type is STPPaymentIntentSourceActionTypeAuthorizeWithURL. +/// These are created & owned by the containing STPPaymentIntent. +/// @deprecated Use STPIntentActionRedirectToURL instead. +SWIFT_CLASS("_TtC6Stripe44STPPaymentIntentSourceActionAuthorizeWithURL") SWIFT_UNAVAILABLE_MSG("'STPPaymentIntentSourceActionAuthorizeWithURL' has been renamed to '_TtC6Stripe28STPIntentActionRedirectToURL': Use `STPIntentActionRedirectToURL` instead.") +@interface STPPaymentIntentSourceActionAuthorizeWithURL : STPIntentActionRedirectToURL +@end + +/// Types of Source Actions from a STPPaymentIntent, when the payment intent +/// status is STPPaymentIntentStatusRequiresSourceAction. +/// @deprecated UseSTPPaymentIntentActionType instead. +typedef SWIFT_ENUM(NSInteger, STPPaymentIntentSourceActionType, open) { +/// This is an unknown source action, that’s been added since the SDK +/// was last updated. +/// Update your SDK, or use the nextSourceAction.allResponseFields +/// for custom handling. + STPPaymentIntentSourceActionTypeUnknown = 0, +/// The payment intent needs to be authorized by the user. We provide +/// STPRedirectContext to handle the url redirections necessary. + STPPaymentIntentSourceActionTypeAuthorizeWithURL = 1, +}; + +/// Status types for an STPPaymentIntent +typedef SWIFT_ENUM(NSInteger, STPPaymentIntentStatus, open) { +/// Unknown status + STPPaymentIntentStatusUnknown = 0, +/// This PaymentIntent requires a PaymentMethod or Source + STPPaymentIntentStatusRequiresPaymentMethod = 1, +/// This PaymentIntent requires a Source +/// Deprecated: Use STPPaymentIntentStatusRequiresPaymentMethod instead. + STPPaymentIntentStatusRequiresSource = 2, +/// This PaymentIntent needs to be confirmed + STPPaymentIntentStatusRequiresConfirmation = 3, +/// The selected PaymentMethod or Source requires additional authentication steps. +/// Additional actions found via next_action + STPPaymentIntentStatusRequiresAction = 4, +/// The selected Source requires additional authentication steps. +/// Additional actions found via next_source_action +/// Deprecated: Use STPPaymentIntentStatusRequiresAction instead. + STPPaymentIntentStatusRequiresSourceAction = 5, +/// Stripe is processing this PaymentIntent + STPPaymentIntentStatusProcessing = 6, +/// The payment has succeeded + STPPaymentIntentStatusSucceeded = 7, +/// Indicates the payment must be captured, for STPPaymentIntentCaptureMethodManual + STPPaymentIntentStatusRequiresCapture = 8, +/// This PaymentIntent was canceled and cannot be changed. + STPPaymentIntentStatusCanceled = 9, +}; + +enum STPPaymentMethodType : NSInteger; +@class STPPaymentMethodAlipay; +@class STPPaymentMethodGrabPay; +@class STPPaymentMethodCard; +@class STPPaymentMethodiDEAL; +@class STPPaymentMethodFPX; +@class STPPaymentMethodCardPresent; +@class STPPaymentMethodSEPADebit; +@class STPPaymentMethodBacsDebit; +@class STPPaymentMethodAUBECSDebit; +@class STPPaymentMethodGiropay; +@class STPPaymentMethodEPS; +@class STPPaymentMethodPrzelewy24; +@class STPPaymentMethodBancontact; +@class STPPaymentMethodNetBanking; +@class STPPaymentMethodOXXO; +@class STPPaymentMethodSofort; +@class STPPaymentMethodUPI; +@class STPPaymentMethodPayPal; +@class STPPaymentMethodAfterpayClearpay; +@class STPPaymentMethodBLIK; +@class STPPaymentMethodBoleto; +@class STPPaymentMethodLink; +@class STPPaymentMethodKlarna; + +/// PaymentMethod objects represent your customer’s payment instruments. They can be used with PaymentIntents to collect payments. +/// seealso: +/// https://stripe.com/docs/api/payment_methods +SWIFT_CLASS("_TtC6Stripe16STPPaymentMethod") +@interface STPPaymentMethod : NSObject +/// Unique identifier for the object. +@property (nonatomic, readonly, copy) NSString * _Nonnull stripeId; +/// Time at which the object was created. Measured in seconds since the Unix epoch. +@property (nonatomic, readonly, copy) NSDate * _Nullable created; +/// YES if the object exists in live mode or the value NO if the object exists in test mode. +@property (nonatomic, readonly) BOOL liveMode; +/// The type of the PaymentMethod. The corresponding, similarly named property contains additional information specific to the PaymentMethod type. +/// e.g. if the type is STPPaymentMethodTypeCard, the card property is also populated. +@property (nonatomic, readonly) enum STPPaymentMethodType type; +/// Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods. +@property (nonatomic, readonly, strong) STPPaymentMethodBillingDetails * _Nullable billingDetails; +/// If this is an Alipay PaymentMethod (ie self.type == STPPaymentMethodTypeAlipay), this contains additional detailsl +@property (nonatomic, readonly, strong) STPPaymentMethodAlipay * _Nullable alipay; +/// If this is a GrabPay PaymentMethod (ie self.type == STPPaymentMethodTypeGrabPay), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodGrabPay * _Nullable grabPay; +/// If this is a card PaymentMethod (ie self.type == STPPaymentMethodTypeCard), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodCard * _Nullable card; +/// If this is a iDEAL PaymentMethod (ie self.type == STPPaymentMethodTypeiDEAL), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodiDEAL * _Nullable iDEAL; +/// If this is an FPX PaymentMethod (ie self.type == STPPaymentMethodTypeFPX), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodFPX * _Nullable fpx; +/// If this is a card present PaymentMethod (ie self.type == STPPaymentMethodTypeCardPresent), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodCardPresent * _Nullable cardPresent; +/// If this is a SEPA Debit PaymentMethod (ie self.type == STPPaymentMethodTypeSEPADebit), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodSEPADebit * _Nullable sepaDebit; +/// If this is a Bacs Debit PaymentMethod (ie self.type == STPPaymentMethodTypeBacsDebit), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodBacsDebit * _Nullable bacsDebit; +/// If this is an AU BECS Debit PaymentMethod (i.e. self.type == STPPaymentMethodTypeAUBECSDebit), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodAUBECSDebit * _Nullable auBECSDebit; +/// If this is a giropay PaymentMethod (i.e. self.type == STPPaymentMethodTypeGiropay), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodGiropay * _Nullable giropay; +/// If this is an EPS PaymentMethod (i.e. self.type == STPPaymentMethodTypeEPS), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodEPS * _Nullable eps; +/// If this is a Przelewy24 PaymentMethod (i.e. self.type == STPPaymentMethodTypePrzelewy24), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodPrzelewy24 * _Nullable przelewy24; +/// If this is a Bancontact PaymentMethod (i.e. self.type == STPPaymentMethodTypeBancontact), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodBancontact * _Nullable bancontact; +/// If this is a NetBanking PaymentMethod (i.e. self.type == STPPaymentMethodTypeNetBanking), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodNetBanking * _Nullable netBanking; +/// If this is an OXXO PaymentMethod (i.e. self.type == STPPaymentMethodTypeOXXO), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodOXXO * _Nullable oxxo; +/// If this is a Sofort PaymentMethod (i.e. self.type == STPPaymentMethodTypeSofort), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodSofort * _Nullable sofort; +/// If this is a UPI PaymentMethod (i.e. self.type == STPPaymentMethodTypeUPI), this contains additional details. :nodoc: +@property (nonatomic, readonly, strong) STPPaymentMethodUPI * _Nullable upi; +/// If this is a PayPal PaymentMethod (i.e. self.type == STPPaymentMethodTypePayPal), this contains additional details. :nodoc: +@property (nonatomic, readonly, strong) STPPaymentMethodPayPal * _Nullable payPal; +/// If this is an AfterpayClearpay PaymentMethod (i.e. self.type == STPPaymentMethodTypeAfterpayClearpay), this contains additional details. :nodoc: +@property (nonatomic, readonly, strong) STPPaymentMethodAfterpayClearpay * _Nullable afterpayClearpay; +/// If this is a BLIK PaymentMethod (i.e. self.type == STPPaymentMethodTypeBLIK), this contains additional details. :nodoc: +@property (nonatomic, readonly, strong) STPPaymentMethodBLIK * _Nullable blik; +/// If this is an Boleto PaymentMethod (i.e. self.type == STPPaymentMethodTypeBoleto), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodBoleto * _Nullable boleto; +/// If this is a Link PaymentMethod (i.e. self.type == STPPaymentMethodTypeLink), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodLink * _Nullable link; +/// If this is an Boleto PaymentMethod (i.e. self.type == STPPaymentMethodTypeKlarna), this contains additional details. +@property (nonatomic, readonly, strong) STPPaymentMethodKlarna * _Nullable klarna; +/// The ID of the Customer to which this PaymentMethod is saved. Nil when the PaymentMethod has not been saved to a Customer. +@property (nonatomic, readonly, copy) NSString * _Nullable customerId; +/// Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. +/// @deprecated Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead. +/// seealso: +/// https://stripe.com/docs/api#metadata +@property (nonatomic, readonly, copy) NSDictionary * _Nullable metadata SWIFT_DEPRECATED_MSG("Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead."); +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, strong) UIImage * _Nonnull image; +@property (nonatomic, readonly, strong) UIImage * _Nonnull templateImage; +@property (nonatomic, readonly, copy) NSString * _Nonnull label; +@property (nonatomic, readonly) BOOL isReusable; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + + + +/// An AU BECS Debit Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-au_becs_debit +SWIFT_CLASS("_TtC6Stripe27STPPaymentMethodAUBECSDebit") +@interface STPPaymentMethodAUBECSDebit : NSObject +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// Six-digit number identifying bank and branch associated with this bank account. +@property (nonatomic, readonly, copy) NSString * _Nonnull bsbNumber; +/// Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. +@property (nonatomic, readonly, copy) NSString * _Nonnull fingerprint; +/// Last four digits of the bank account number. +@property (nonatomic, readonly, copy) NSString * _Nonnull last4; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create an AU BECS Debit Payment Method +SWIFT_CLASS("_TtC6Stripe33STPPaymentMethodAUBECSDebitParams") +@interface STPPaymentMethodAUBECSDebitParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// The account number to debit. +@property (nonatomic, copy) NSString * _Nullable accountNumber; +/// Six-digit number identifying bank and branch associated with this bank account. +@property (nonatomic, copy) NSString * _Nullable bsbNumber; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// The billing address, a property on STPPaymentMethodBillingDetails +SWIFT_CLASS("_TtC6Stripe23STPPaymentMethodAddress") +@interface STPPaymentMethodAddress : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// City/District/Suburb/Town/Village. +@property (nonatomic, copy) NSString * _Nullable city; +/// 2-letter country code. +@property (nonatomic, copy) NSString * _Nullable country; +/// Address line 1 (Street address/PO Box/Company name). +@property (nonatomic, copy) NSString * _Nullable line1; +/// Address line 2 (Apartment/Suite/Unit/Building). +@property (nonatomic, copy) NSString * _Nullable line2; +/// ZIP or postal code. +@property (nonatomic, copy) NSString * _Nullable postalCode; +/// State/County/Province/Region. +@property (nonatomic, copy) NSString * _Nullable state; +/// Convenience initializer for creating a STPPaymentMethodAddress from an STPAddress. +- (nonnull instancetype)initWithAddress:(STPAddress * _Nonnull)address OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + + +/// An AfterpayClearpay Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-afterpay_clearpay +SWIFT_CLASS("_TtC6Stripe32STPPaymentMethodAfterpayClearpay") +@interface STPPaymentMethodAfterpayClearpay : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create an AfterpayClearpay Payment Method +SWIFT_CLASS("_TtC6Stripe38STPPaymentMethodAfterpayClearpayParams") +@interface STPPaymentMethodAfterpayClearpayParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// Contains details for an Alipay Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-alipay +SWIFT_CLASS("_TtC6Stripe22STPPaymentMethodAlipay") +@interface STPPaymentMethodAlipay : NSObject +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// :nodoc: ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create an Alipay Payment Method. +/// There are currently no parameters to pass. +/// seealso: +/// https://site-admin.stripe.com/docs/api/payment_methods/create#create_payment_method-alipay +SWIFT_CLASS("_TtC6Stripe28STPPaymentMethodAlipayParams") +@interface STPPaymentMethodAlipayParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// Contains details for a BLIK Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-blik +SWIFT_CLASS("_TtC6Stripe20STPPaymentMethodBLIK") +@interface STPPaymentMethodBLIK : NSObject +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// :nodoc: ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a BLIK Payment Method +/// There are currently no parameters to pass. +/// seealso: +/// https://site-admin.stripe.com/docs/api/payment_methods/create#create_payment_method-blik +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodBLIKParams") +@interface STPPaymentMethodBLIKParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A Bacs Debit Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-bacs_debit +SWIFT_CLASS("_TtC6Stripe25STPPaymentMethodBacsDebit") +@interface STPPaymentMethodBacsDebit : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// This payment method’s fingerprint. +@property (nonatomic, readonly, copy) NSString * _Nullable fingerprint; +/// The last four digits of the bank account. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// The sort code of the bank account (eg 10-88-00) +@property (nonatomic, readonly, copy) NSString * _Nullable sortCode; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// The user’s bank account details. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/create#create_payment_method-bacs_debit +SWIFT_CLASS("_TtC6Stripe31STPPaymentMethodBacsDebitParams") +@interface STPPaymentMethodBacsDebitParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// The bank account number (eg 00012345) +@property (nonatomic, copy) NSString * _Nullable accountNumber; +/// The sort code of the bank account (eg 10-88-00) +@property (nonatomic, copy) NSString * _Nullable sortCode; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A Bancontact Payment Method. +/// seealso: +/// https://stripe.com/docs/payments/bancontact +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodBancontact") +@interface STPPaymentMethodBancontact : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a Bancontact Payment Method +SWIFT_CLASS("_TtC6Stripe32STPPaymentMethodBancontactParams") +@interface STPPaymentMethodBancontactParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// Billing information associated with a STPPaymentMethod that may be used or required by particular types of payment methods. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-billing_details +SWIFT_CLASS("_TtC6Stripe30STPPaymentMethodBillingDetails") +@interface STPPaymentMethodBillingDetails : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Billing address. +@property (nonatomic, strong) STPPaymentMethodAddress * _Nullable address; +/// Email address. +@property (nonatomic, copy) NSString * _Nullable email; +/// Full name. +@property (nonatomic, copy) NSString * _Nullable name; +/// Billing phone number (including extension). +@property (nonatomic, copy) NSString * _Nullable phone; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// :nodoc: +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + + + +/// A Boleto Payment Method. +/// seealso: +/// https://stripe.com/docs/payments/boleto +SWIFT_CLASS("_TtC6Stripe22STPPaymentMethodBoleto") +@interface STPPaymentMethodBoleto : NSObject +/// The tax ID of the customer (CPF for individuals or CNPJ for businesses). +@property (nonatomic, readonly, copy) NSString * _Nonnull taxID; +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a Boleto Payment Method +SWIFT_CLASS("_TtC6Stripe28STPPaymentMethodBoletoParams") +@interface STPPaymentMethodBoletoParams : NSObject +/// The tax ID of the customer (CPF for individuals or CNPJ for businesses). +/// Supported formats: +///
    +///
  • +/// XXX.XXX.XXX-XX or XXXXXXXXXXX for CPF +///
  • +///
  • +/// XX.XXX.XXX/XXXX-XX or XXXXXXXXXXXXXX for CNPJ +///
  • +///
+@property (nonatomic, copy) NSString * _Nullable taxID; +/// :nodoc: +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class STPPaymentMethodCardChecks; +@class STPPaymentMethodCardNetworks; +@class STPPaymentMethodThreeDSecureUsage; +@class STPPaymentMethodCardWallet; + +/// Contains details about a user’s credit card. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-card +SWIFT_CLASS("_TtC6Stripe20STPPaymentMethodCard") +@interface STPPaymentMethodCard : NSObject +/// You cannot directly instantiate an STPPaymentMethodCard. You should only use one that is part of an existing STPPaymentMethod object. +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// The issuer of the card. +@property (nonatomic, readonly) enum STPCardBrand brand; +/// Checks on Card address and CVC if provided. +@property (nonatomic, readonly, strong) STPPaymentMethodCardChecks * _Nullable checks; +/// Two-letter ISO code representing the country of the card. +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// Two-digit number representing the card’s expiration month. +@property (nonatomic, readonly) NSInteger expMonth; +/// Four-digit number representing the card’s expiration year. +@property (nonatomic, readonly) NSInteger expYear; +/// Card funding type. Can be credit, debit, prepaid, or unknown. +@property (nonatomic, readonly, copy) NSString * _Nullable funding; +/// The last four digits of the card. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. +@property (nonatomic, readonly, copy) NSString * _Nullable fingerprint; +/// Contains information about card networks that can be used to process the payment. +@property (nonatomic, readonly, strong) STPPaymentMethodCardNetworks * _Nullable networks; +/// Contains details on how this Card maybe be used for 3D Secure authentication. +@property (nonatomic, readonly, strong) STPPaymentMethodThreeDSecureUsage * _Nullable threeDSecureUsage; +/// If this Card is part of a Card Wallet, this contains the details of the Card Wallet. +@property (nonatomic, readonly, strong) STPPaymentMethodCardWallet * _Nullable wallet; +/// Returns a string representation for the provided card brand; +/// i.e. STPPaymentMethodCard.string(from brand:.visa) == "Visa". +/// \param brand the brand you want to convert to a string +/// +/// +/// returns: +/// A string representing the brand, suitable for displaying to a user. ++ (NSString * _Nonnull)stringFromBrand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// The result of a check on a Card address or CVC. +typedef SWIFT_ENUM(NSInteger, STPPaymentMethodCardCheckResult, open) { +/// The check passed. + STPPaymentMethodCardCheckResultPass = 0, +/// The check failed. + STPPaymentMethodCardCheckResultFailed = 1, +/// The check is unavailable. + STPPaymentMethodCardCheckResultUnavailable = 2, +/// The value was not checked. + STPPaymentMethodCardCheckResultUnchecked = 3, +/// Represents an unknown or null value. + STPPaymentMethodCardCheckResultUnknown = 4, +}; + + +/// Checks on Card address and CVC. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-checks +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodCardChecks") +@interface STPPaymentMethodCardChecks : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// If a address line1 was provided, results of the check. +@property (nonatomic, readonly) enum STPPaymentMethodCardCheckResult addressLine1Check SWIFT_DEPRECATED_MSG("Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead."); +/// If a address postal code was provided, results of the check. +/// deprecated Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead. +@property (nonatomic, readonly) enum STPPaymentMethodCardCheckResult addressPostalCodeCheck SWIFT_DEPRECATED_MSG("Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead."); +/// If a CVC was provided, results of the check. +/// deprecated Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead. +@property (nonatomic, readonly) enum STPPaymentMethodCardCheckResult cvcCheck SWIFT_DEPRECATED_MSG("Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead."); +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// STPPaymentMethodCardNetworks contains information about card networks that can be used to process a payment. +SWIFT_CLASS("_TtC6Stripe28STPPaymentMethodCardNetworks") +@interface STPPaymentMethodCardNetworks : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// All available networks for the card. +@property (nonatomic, readonly, copy) NSArray * _Nonnull available; +/// The preferred network for the card if one exists. +@property (nonatomic, readonly, copy) NSString * _Nullable preferred; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// The user’s card details. +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodCardParams") +@interface STPPaymentMethodCardParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// A convenience initializer for creating a payment method from a card source. +/// This should be used to help with migrations to Payment Methods from Sources. +- (nonnull instancetype)initWithCardSourceParams:(STPCardParams * _Nonnull)cardSourceParams; +/// Initializes an empty STPPaymentMethodCardParams. +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +/// The card number, as a string without any separators. Ex. @“4242424242424242” +@property (nonatomic, copy) NSString * _Nullable number; +/// Number representing the card’s expiration month. Ex. @1 +@property (nonatomic, strong) NSNumber * _Nullable expMonth; +/// Two- or four-digit number representing the card’s expiration year. +@property (nonatomic, strong) NSNumber * _Nullable expYear; +/// For backwards compatibility, you can alternatively set this as a Stripe token (e.g., for apple pay) +@property (nonatomic, copy) NSString * _Nullable token; +/// Card security code. It is highly recommended to always include this value. +@property (nonatomic, copy) NSString * _Nullable cvc; +/// The last 4 digits of the card. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (BOOL)isEqual:(id _Nullable)other SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Details about the Card Present payment method +SWIFT_CLASS("_TtC6Stripe27STPPaymentMethodCardPresent") +@interface STPPaymentMethodCardPresent : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +enum STPPaymentMethodCardWalletType : NSInteger; +@class STPPaymentMethodCardWalletMasterpass; +@class STPPaymentMethodCardWalletVisaCheckout; + +/// A Card Wallet. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-wallet +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodCardWallet") +@interface STPPaymentMethodCardWallet : NSObject +/// The type of the Card Wallet. A matching property is populated if the type is STPPaymentMethodCardWalletTypeMasterpass or STPPaymentMethodCardWalletTypeVisaCheckout containing additional information specific to the Card Wallet type. +@property (nonatomic, readonly) enum STPPaymentMethodCardWalletType type; +/// Contains additional Masterpass information, if the type of the Card Wallet is STPPaymentMethodCardWalletTypeMasterpass +@property (nonatomic, readonly, strong) STPPaymentMethodCardWalletMasterpass * _Nullable masterpass; +/// Contains additional Visa Checkout information, if the type of the Card Wallet is STPPaymentMethodCardWalletTypeVisaCheckout +@property (nonatomic, readonly, strong) STPPaymentMethodCardWalletVisaCheckout * _Nullable visaCheckout; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + + +/// A Masterpass Card Wallet +/// seealso: +/// https://stripe.com/docs/masterpass +SWIFT_CLASS("_TtC6Stripe36STPPaymentMethodCardWalletMasterpass") +@interface STPPaymentMethodCardWalletMasterpass : NSObject +/// Owner’s verified email. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, copy) NSString * _Nullable email; +/// Owner’s verified email. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, copy) NSString * _Nullable name; +/// Owner’s verified billing address. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, strong) STPPaymentMethodAddress * _Nullable billingAddress; +/// Owner’s verified shipping address. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, strong) STPPaymentMethodAddress * _Nullable shippingAddress; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// The type of Card Wallet. +typedef SWIFT_ENUM(NSInteger, STPPaymentMethodCardWalletType, open) { +/// Amex Express Checkout + STPPaymentMethodCardWalletTypeAmexExpressCheckout = 0, +/// Apple Pay + STPPaymentMethodCardWalletTypeApplePay = 1, +/// Google Pay + STPPaymentMethodCardWalletTypeGooglePay = 2, +/// Masterpass + STPPaymentMethodCardWalletTypeMasterpass = 3, +/// Samsung Pay + STPPaymentMethodCardWalletTypeSamsungPay = 4, +/// Visa Checkout + STPPaymentMethodCardWalletTypeVisaCheckout = 5, +/// An unknown Card Wallet type. + STPPaymentMethodCardWalletTypeUnknown = 6, +}; + + +/// A Visa Checkout Card Wallet +/// seealso: +/// https://stripe.com/docs/visa-checkout +SWIFT_CLASS("_TtC6Stripe38STPPaymentMethodCardWalletVisaCheckout") +@interface STPPaymentMethodCardWalletVisaCheckout : NSObject +/// Owner’s verified email. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, copy) NSString * _Nullable email; +/// Owner’s verified email. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, copy) NSString * _Nullable name; +/// Owner’s verified billing address. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, strong) STPPaymentMethodAddress * _Nullable billingAddress; +/// Owner’s verified shipping address. Values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. +@property (nonatomic, readonly, strong) STPPaymentMethodAddress * _Nullable shippingAddress; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An EPS Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-eps +SWIFT_CLASS("_TtC6Stripe19STPPaymentMethodEPS") +@interface STPPaymentMethodEPS : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a EPS Payment Method +SWIFT_CLASS("_TtC6Stripe25STPPaymentMethodEPSParams") +@interface STPPaymentMethodEPSParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// An FPX Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-fpx +SWIFT_CLASS("_TtC6Stripe19STPPaymentMethodFPX") +@interface STPPaymentMethodFPX : NSObject +/// The customer’s bank identifier code. +@property (nonatomic, readonly, copy) NSString * _Nullable bankIdentifierCode; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An object representing parameters used to create an FPX Payment Method +SWIFT_CLASS("_TtC6Stripe25STPPaymentMethodFPXParams") +@interface STPPaymentMethodFPXParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// The customer’s bank. Required. +@property (nonatomic) enum STPFPXBankBrand bank; +/// The raw underlying bank string sent to the server. +/// Generally you should use bank instead unless you have a reason not to. +/// You can use this if you want to create a param of a bank not yet supported +/// by the current version of the SDK’s STPFPXBankBrand enum. +/// Setting this to a value not known by the SDK causes bank to +/// return STPFPXBankBrandUnknown +@property (nonatomic, copy) NSString * _Nullable rawBankString; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A giropay Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-giropay +SWIFT_CLASS("_TtC6Stripe23STPPaymentMethodGiropay") +@interface STPPaymentMethodGiropay : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a giropay Payment Method +SWIFT_CLASS("_TtC6Stripe29STPPaymentMethodGiropayParams") +@interface STPPaymentMethodGiropayParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A GrabPay PaymentMethod +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-grabpay +SWIFT_CLASS("_TtC6Stripe23STPPaymentMethodGrabPay") +@interface STPPaymentMethodGrabPay : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a GrabPay Payment Method +SWIFT_CLASS("_TtC6Stripe29STPPaymentMethodGrabPayParams") +@interface STPPaymentMethodGrabPayParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// The Klarna Payment Method. +/// seealso: +/// https://stripe.com/docs/payments/klarna +SWIFT_CLASS("_TtC6Stripe22STPPaymentMethodKlarna") +@interface STPPaymentMethodKlarna : NSObject +/// :nodoc: +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create an Klarna Payment Method +SWIFT_CLASS("_TtC6Stripe28STPPaymentMethodKlarnaParams") +@interface STPPaymentMethodKlarnaParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A Link Payment Method. +SWIFT_CLASS("_TtC6Stripe20STPPaymentMethodLink") +@interface STPPaymentMethodLink : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create an Link Payment Method +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodLinkParams") +@interface STPPaymentMethodLinkParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A NetBanking Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-netbanking +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodNetBanking") +@interface STPPaymentMethodNetBanking : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// Customer’s Bank Name +@property (nonatomic, readonly, copy) NSString * _Nonnull bank; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a NetBanking Payment Method +SWIFT_CLASS("_TtC6Stripe32STPPaymentMethodNetBankingParams") +@interface STPPaymentMethodNetBankingParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Customer’s Bank Name. Required. +@property (nonatomic, copy) NSString * _Nullable bank; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// An OXXO Payment Method. +/// seealso: +/// https://stripe.com/docs/payments/oxxo +SWIFT_CLASS("_TtC6Stripe20STPPaymentMethodOXXO") +@interface STPPaymentMethodOXXO : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An object representing parameters used to create an OXXO Payment Method +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodOXXOParams") +@interface STPPaymentMethodOXXOParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@class STPPaymentMethodiDEALParams; +@class STPPaymentMethodSEPADebitParams; +@class STPPaymentMethodPayPalParams; +@class STPPaymentMethodPrzelewy24Params; +@class STPPaymentMethodSofortParams; +@class STPPaymentMethodUPIParams; + +/// An object representing parameters used to create a PaymentMethod object. +/// @note To create a PaymentMethod from an Apple Pay PKPaymentToken, see STPAPIClient createPaymentMethodWithPayment:completion: +/// seealso: +/// https://stripe.com/docs/api/payment_methods/create +SWIFT_CLASS("_TtC6Stripe22STPPaymentMethodParams") +@interface STPPaymentMethodParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// The type of payment method. The associated property will contain additional information (e.g. type == STPPaymentMethodTypeCard means card should also be populated). +@property (nonatomic) enum STPPaymentMethodType type; +/// The raw underlying type string sent to the server. +/// Generally you should use type instead unless you have a reason not to. +/// You can use this if you want to create a param of a type not yet supported +/// by the current version of the SDK’s STPPaymentMethodType enum. +/// Setting this to a value not known by the SDK causes type to +/// return STPPaymentMethodTypeUnknown +@property (nonatomic, copy) NSString * _Nullable rawTypeString; +/// Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods. +@property (nonatomic, strong) STPPaymentMethodBillingDetails * _Nullable billingDetails; +/// If this is a card PaymentMethod, this contains the user’s card details. +@property (nonatomic, strong) STPPaymentMethodCardParams * _Nullable card; +/// If this is an Alipay PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodAlipayParams * _Nullable alipay; +/// If this is a iDEAL PaymentMethod, this contains details about user’s bank. +@property (nonatomic, strong) STPPaymentMethodiDEALParams * _Nullable iDEAL; +/// If this is a FPX PaymentMethod, this contains details about user’s bank. +@property (nonatomic, strong) STPPaymentMethodFPXParams * _Nullable fpx; +/// If this is a SEPA Debit PaymentMethod, this contains details about the bank to debit. +@property (nonatomic, strong) STPPaymentMethodSEPADebitParams * _Nullable sepaDebit; +/// If this is a Bacs Debit PaymentMethod, this contains details about the bank account to debit. +@property (nonatomic, strong) STPPaymentMethodBacsDebitParams * _Nullable bacsDebit; +/// If this is an AU BECS Debit PaymentMethod, this contains details about the bank to debit. +@property (nonatomic, strong) STPPaymentMethodAUBECSDebitParams * _Nullable auBECSDebit; +/// If this is a giropay PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodGiropayParams * _Nullable giropay; +/// If this is a PayPal PaymentMethod, this contains additional details. :nodoc: +@property (nonatomic, strong) STPPaymentMethodPayPalParams * _Nullable payPal; +/// If this is a Przelewy24 PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodPrzelewy24Params * _Nullable przelewy24; +/// If this is an EPS PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodEPSParams * _Nullable eps; +/// If this is a Bancontact PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodBancontactParams * _Nullable bancontact; +/// If this is a NetBanking PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodNetBankingParams * _Nullable netBanking; +/// If this is an OXXO PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodOXXOParams * _Nullable oxxo; +/// If this is a Sofort PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodSofortParams * _Nullable sofort; +/// If this is a UPI PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodUPIParams * _Nullable upi; +/// If this is a GrabPay PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodGrabPayParams * _Nullable grabPay; +/// If this is a Afterpay PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodAfterpayClearpayParams * _Nullable afterpayClearpay; +/// If this is a BLIK PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodBLIKParams * _Nullable blik; +/// If this is an Boleto PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodBoletoParams * _Nullable boleto; +/// If this is a Link PaymentMethod, this contains additional details +@property (nonatomic, strong) STPPaymentMethodLinkParams * _Nullable link; +/// If this is an Klarna PaymentMethod, this contains additional details. +@property (nonatomic, strong) STPPaymentMethodKlarnaParams * _Nullable klarna; +/// Set of key-value pairs that you can attach to the PaymentMethod. This can be useful for storing additional information about the PaymentMethod in a structured format. +@property (nonatomic, copy) NSDictionary * _Nullable metadata; +/// Creates params for a card PaymentMethod. +/// \param card An object containing the user’s card details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithCard:(STPPaymentMethodCardParams * _Nonnull)card billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an iDEAL PaymentMethod. +/// \param iDEAL An object containing the user’s iDEAL bank details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithIDEAL:(STPPaymentMethodiDEALParams * _Nonnull)iDEAL billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an FPX PaymentMethod. +/// \param fpx An object containing the user’s FPX bank details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithFpx:(STPPaymentMethodFPXParams * _Nonnull)fpx billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a SEPA Debit PaymentMethod; +/// \param sepaDebit An object containing the SEPA bank debit details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for SEPA Debit PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithSepaDebit:(STPPaymentMethodSEPADebitParams * _Nonnull)sepaDebit billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a Bacs Debit PaymentMethod; +/// \param bacsDebit An object containing the Bacs bank debit details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that name, email, and address are required for Bacs Debit PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithBacsDebit:(STPPaymentMethodBacsDebitParams * _Nonnull)bacsDebit billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an AU BECS Debit PaymentMethod; +/// \param auBECSDebit An object containing the AU BECS bank debit details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name and billingDetails.email are required for AU BECS Debit PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithAubecsDebit:(STPPaymentMethodAUBECSDebitParams * _Nonnull)auBECSDebit billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a giropay PaymentMethod; +/// \param giropay An object containing additional giropay details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for giropay PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithGiropay:(STPPaymentMethodGiropayParams * _Nonnull)giropay billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an EPS PaymentMethod; +/// \param eps An object containing additional EPS details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for EPS PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithEps:(STPPaymentMethodEPSParams * _Nonnull)eps billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a Przelewy24 PaymentMethod; +/// \param przelewy24 An object containing additional Przelewy24 details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.email is required for Przelewy24 PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithPrzelewy24:(STPPaymentMethodPrzelewy24Params * _Nonnull)przelewy24 billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a Bancontact PaymentMethod; +/// \param bancontact An object containing additional Bancontact details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for Bancontact PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithBancontact:(STPPaymentMethodBancontactParams * _Nonnull)bancontact billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a NetBanking PaymentMethod; +/// \param netBanking An object containing additional NetBanking details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithNetBanking:(STPPaymentMethodNetBankingParams * _Nonnull)netBanking billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a GrabPay PaymentMethod; +/// \param grabPay An object containing additional GrabPay details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithGrabPay:(STPPaymentMethodGrabPayParams * _Nonnull)grabPay billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an OXXO PaymentMethod; +/// \param oxxo An object containing additional OXXO details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithOxxo:(STPPaymentMethodOXXOParams * _Nonnull)oxxo billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a Sofort PaymentMethod; +/// \param sofort An object containing additional Sofort details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name and billingDetails.email are required to save bank details from a Sofort payment. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithSofort:(STPPaymentMethodSofortParams * _Nonnull)sofort billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a UPI PaymentMethod; +/// \param upi An object containing additional UPI details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithUpi:(STPPaymentMethodUPIParams * _Nonnull)upi billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an Alipay PaymentMethod. +/// \param alipay An object containing additional Alipay details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithAlipay:(STPPaymentMethodAlipayParams * _Nonnull)alipay billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a PayPal PaymentMethod. :nodoc: +/// \param payPal An object containing additional PayPal details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithPayPal:(STPPaymentMethodPayPalParams * _Nonnull)payPal billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an AfterpayClearpay PaymentMethod. :nodoc: +/// \param afterpayClearpay An object containing additional AfterpayClearpay details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithAfterpayClearpay:(STPPaymentMethodAfterpayClearpayParams * _Nonnull)afterpayClearpay billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for a BLIK PaymentMethod. +/// \param blik An object containing additional BLIK details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithBlik:(STPPaymentMethodBLIKParams * _Nonnull)blik billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an Boleto PaymentMethod; +/// \param boleto An object containing additional Boleto details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithBoleto:(STPPaymentMethodBoletoParams * _Nonnull)boleto billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params for an Klarna PaymentMethod. :nodoc: +/// \param klarna An object containing additional Klarna details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// +- (nonnull instancetype)initWithKlarna:(STPPaymentMethodKlarnaParams * _Nonnull)klarna billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata; +/// Creates params from a single-use PaymentMethod. This is useful for recreating a new payment method +/// with similar settings. It will return nil if used with a reusable PaymentMethod. +/// \param paymentMethod An object containing the original single-use PaymentMethod. +/// +- (nullable instancetype)initWithSingleUsePaymentMethod:(STPPaymentMethod * _Nonnull)paymentMethod; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, strong) UIImage * _Nonnull image; +@property (nonatomic, readonly, strong) UIImage * _Nonnull templateImage; +@property (nonatomic, readonly, copy) NSString * _Nonnull label; +@property (nonatomic, readonly) BOOL isReusable; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + + + +@interface STPPaymentMethodParams (SWIFT_EXTENSION(Stripe)) +/// Creates params for a card PaymentMethod. +/// \param card An object containing the user’s card details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithCard:(STPPaymentMethodCardParams * _Nonnull)card billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an iDEAL PaymentMethod. +/// \param iDEAL An object containing the user’s iDEAL bank details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithiDEAL:(STPPaymentMethodiDEALParams * _Nonnull)iDEAL billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an FPX PaymentMethod. +/// \param fpx An object containing the user’s FPX bank details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithFPX:(STPPaymentMethodFPXParams * _Nonnull)fpx billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a SEPA Debit PaymentMethod; +/// \param sepaDebit An object containing the SEPA bank debit details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for SEPA Debit PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithSEPADebit:(STPPaymentMethodSEPADebitParams * _Nonnull)sepaDebit billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Bacs Debit PaymentMethod; +/// \param bacsDebit An object containing the Bacs bank debit details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that name, email, and address are required for Bacs Debit PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithBacsDebit:(STPPaymentMethodBacsDebitParams * _Nonnull)bacsDebit billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an AU BECS Debit PaymentMethod; +/// \param auBECSDebit An object containing the AU BECS bank debit details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name and billingDetails.email are required for AU BECS Debit PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithAUBECSDebit:(STPPaymentMethodAUBECSDebitParams * _Nonnull)auBECSDebit billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a giropay PaymentMethod; +/// \param giropay An object containing additional giropay details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for giropay PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithGiropay:(STPPaymentMethodGiropayParams * _Nonnull)giropay billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an EPS PaymentMethod; +/// \param eps An object containing additional EPS details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for EPS PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithEPS:(STPPaymentMethodEPSParams * _Nonnull)eps billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Przelewy24 PaymentMethod; +/// \param przelewy24 An object containing additional Przelewy24 details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.email is required for Przelewy24 PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithPrzelewy24:(STPPaymentMethodPrzelewy24Params * _Nonnull)przelewy24 billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Bancontact PaymentMethod; +/// \param bancontact An object containing additional Bancontact details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for Bancontact PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithBancontact:(STPPaymentMethodBancontactParams * _Nonnull)bancontact billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a NetBanking PaymentMethod; +/// \param netBanking An object containing additional NetBanking details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for Bancontact PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithNetBanking:(STPPaymentMethodNetBankingParams * _Nonnull)netBanking billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an OXXO PaymentMethod; +/// \param oxxo An object containing additional OXXO details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name is required for OXXO PaymentMethods. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithOXXO:(STPPaymentMethodOXXOParams * _Nonnull)oxxo billingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a GrabPay PaymentMethod; +/// \param grabPay An object containing additional GrabPay details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithGrabPay:(STPPaymentMethodGrabPayParams * _Nonnull)grabPay billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Sofort PaymentMethod; +/// \param sofort An object containing additional Sofort details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name and billingDetails.email are required to save bank details from a Sofort payment. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithSofort:(STPPaymentMethodSofortParams * _Nonnull)sofort billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a UPI PaymentMethod; +/// \param upi An object containing additional UPI details. +/// +/// \param billingDetails An object containing the user’s billing details. Note that billingDetails.name and billingDetails.email are required to save bank details from a UPI payment. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithUPI:(STPPaymentMethodUPIParams * _Nonnull)upi billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an Alipay PaymentMethod. +/// \param alipay An object containing additional Alipay details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithAlipay:(STPPaymentMethodAlipayParams * _Nonnull)alipay billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a PayPal PaymentMethod. +/// \param payPal An object containing additional PayPal details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithPayPal:(STPPaymentMethodPayPalParams * _Nonnull)payPal billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an AfterpayClearpay PaymentMethod. +/// \param afterpayClearpay An object containing additional AfterpayClearpay details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithAfterpayClearpay:(STPPaymentMethodAfterpayClearpayParams * _Nonnull)afterpayClearpay billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a BLIK PaymentMethod. +/// \param blik An object containing additional BLIK details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithBLIK:(STPPaymentMethodBLIKParams * _Nonnull)blik billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an Klarna PaymentMethod. +/// \param klarna An object containing additional Klarna details. +/// +/// \param billingDetails An object containing the user’s billing details. +/// +/// \param metadata Additional information to attach to the PaymentMethod. +/// ++ (STPPaymentMethodParams * _Nonnull)paramsWithKlarna:(STPPaymentMethodKlarnaParams * _Nonnull)klarna billingDetails:(STPPaymentMethodBillingDetails * _Nullable)billingDetails metadata:(NSDictionary * _Nullable)metadata SWIFT_WARN_UNUSED_RESULT; +@end + + +/// A PayPal Payment Method. :nodoc: +/// seealso: +/// https://stripe.com/docs/payments/paypal +SWIFT_CLASS("_TtC6Stripe22STPPaymentMethodPayPal") +@interface STPPaymentMethodPayPal : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a PayPal Payment Method :nodoc: +SWIFT_CLASS("_TtC6Stripe28STPPaymentMethodPayPalParams") +@interface STPPaymentMethodPayPalParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A Przelewy24 Payment Method. +/// seealso: +/// https://stripe.com/docs/payments/p24 +SWIFT_CLASS("_TtC6Stripe26STPPaymentMethodPrzelewy24") +@interface STPPaymentMethodPrzelewy24 : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a Przelewy24 Payment Method +SWIFT_CLASS("_TtC6Stripe32STPPaymentMethodPrzelewy24Params") +@interface STPPaymentMethodPrzelewy24Params : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A SEPA Debit Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-sepa_debit +SWIFT_CLASS("_TtC6Stripe25STPPaymentMethodSEPADebit") +@interface STPPaymentMethodSEPADebit : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// The last 4 digits of the account number. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// The account’s bank code. +@property (nonatomic, readonly, copy) NSString * _Nullable bankCode; +/// The account’s branch code +@property (nonatomic, readonly, copy) NSString * _Nullable branchCode; +/// Two-letter ISO code representing the country of the bank account. +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// The account’s fingerprint. +@property (nonatomic, readonly, copy) NSString * _Nullable fingerprint; +/// The reference of the mandate accepted by your customer. - seealso: https://stripe.com/docs/api/sources/create#create_source-mandate +@property (nonatomic, readonly, copy) NSString * _Nullable mandate; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a SEPA Debit Payment Method +SWIFT_CLASS("_TtC6Stripe31STPPaymentMethodSEPADebitParams") +@interface STPPaymentMethodSEPADebitParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// The IBAN number for the bank account you wish to debit. Required. +@property (nonatomic, copy) NSString * _Nullable iban; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A Sofort Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-Sofort +SWIFT_CLASS("_TtC6Stripe22STPPaymentMethodSofort") +@interface STPPaymentMethodSofort : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// Two-letter ISO code representing the country the bank account is located in. +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a Sofort Payment Method +SWIFT_CLASS("_TtC6Stripe28STPPaymentMethodSofortParams") +@interface STPPaymentMethodSofortParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Two-letter ISO code representing the country the bank account is located in. Required. +@property (nonatomic, copy) NSString * _Nullable country; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// Contains details on how an STPPaymentMethodCard maybe be used for 3D Secure authentication. +SWIFT_CLASS("_TtC6Stripe33STPPaymentMethodThreeDSecureUsage") +@interface STPPaymentMethodThreeDSecureUsage : NSObject +/// YES if 3D Secure is supported on this card. +@property (nonatomic, readonly) BOOL supported; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// The type of the PaymentMethod. +typedef SWIFT_ENUM(NSInteger, STPPaymentMethodType, open) { +/// A card payment method. + STPPaymentMethodTypeCard = 0, +/// An Alipay payment method. + STPPaymentMethodTypeAlipay = 1, +/// A GrabPay payment method. + STPPaymentMethodTypeGrabPay = 2, +/// An iDEAL payment method. + STPPaymentMethodTypeiDEAL SWIFT_COMPILE_NAME("iDEAL") = 3, +/// An FPX payment method. + STPPaymentMethodTypeFPX = 4, +/// A card present payment method. + STPPaymentMethodTypeCardPresent = 5, +/// A SEPA Debit payment method. + STPPaymentMethodTypeSEPADebit SWIFT_COMPILE_NAME("SEPADebit") = 6, +/// An AU BECS Debit payment method. + STPPaymentMethodTypeAUBECSDebit SWIFT_COMPILE_NAME("AUBECSDebit") = 7, +/// A Bacs Debit payment method. + STPPaymentMethodTypeBacsDebit = 8, +/// A giropay payment method. + STPPaymentMethodTypeGiropay = 9, +/// A Przelewy24 Debit payment method. + STPPaymentMethodTypePrzelewy24 = 10, +/// An EPS payment method. + STPPaymentMethodTypeEPS SWIFT_COMPILE_NAME("EPS") = 11, +/// A Bancontact payment method. + STPPaymentMethodTypeBancontact = 12, +/// A NetBanking payment method. + STPPaymentMethodTypeNetBanking = 13, +/// An OXXO payment method. + STPPaymentMethodTypeOXXO SWIFT_COMPILE_NAME("OXXO") = 14, +/// A Sofort payment method. + STPPaymentMethodTypeSofort = 15, +/// A UPI payment method. + STPPaymentMethodTypeUPI = 16, +/// A PayPal payment method. :nodoc: + STPPaymentMethodTypePayPal = 17, +/// An AfterpayClearpay payment method + STPPaymentMethodTypeAfterpayClearpay = 18, +/// A BLIK payment method + STPPaymentMethodTypeBLIK SWIFT_COMPILE_NAME("blik") = 19, +/// A WeChat Pay payment method + STPPaymentMethodTypeWeChatPay = 20, +/// A Boleto payment method. + STPPaymentMethodTypeBoleto = 21, +/// A Link payment method + STPPaymentMethodTypeLink = 22, +/// A Klarna payment method. + STPPaymentMethodTypeKlarna = 23, +/// A Link Instant Debit payment method + STPPaymentMethodTypeLinkInstantDebit = 24, +/// An unknown type. + STPPaymentMethodTypeUnknown = 25, +}; + + +/// A UPI Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-upi +SWIFT_CLASS("_TtC6Stripe19STPPaymentMethodUPI") +@interface STPPaymentMethodUPI : NSObject +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// Customer’s Virtual Payment Address (VPA). +@property (nonatomic, readonly, copy) NSString * _Nonnull vpa; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters used to create a UPI Payment Method +SWIFT_CLASS("_TtC6Stripe25STPPaymentMethodUPIParams") +@interface STPPaymentMethodUPIParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Customer’s Virtual Payment Address (VPA). Required. +@property (nonatomic, copy) NSString * _Nullable vpa; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// An iDEAL Payment Method. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/object#payment_method_object-ideal +SWIFT_CLASS("_TtC6Stripe21STPPaymentMethodiDEAL") +@interface STPPaymentMethodiDEAL : NSObject +/// The customer’s bank. +@property (nonatomic, readonly, copy) NSString * _Nullable bankName; +/// The Bank Identifier Code of the customer’s bank. +@property (nonatomic, readonly, copy) NSString * _Nullable bankIdentifierCode; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An object representing parameters used to create an iDEAL Payment Method +SWIFT_CLASS("_TtC6Stripe27STPPaymentMethodiDEALParams") +@interface STPPaymentMethodiDEALParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// The customer’s bank. +@property (nonatomic, copy) NSString * _Nullable bankName; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + +/// This view controller presents a list of payment method options to the user, +/// which they can select between. They can also add credit cards to the list. +/// It must be displayed inside a UINavigationController, so you can either +/// create a UINavigationController with an STPPaymentOptionsViewController +/// as the rootViewController and then present the UINavigationController, +/// or push a new STPPaymentOptionsViewController onto an existing +/// UINavigationController’s stack. You can also have STPPaymentContext do this +/// for you automatically, by calling presentPaymentOptionsViewController +/// or pushPaymentOptionsViewController on it. +SWIFT_CLASS("_TtC6Stripe31STPPaymentOptionsViewController") +@interface STPPaymentOptionsViewController : STPCoreViewController +/// Creates a new payment methods view controller. +/// \param paymentContext A payment context to power the view controller’s view. +/// The payment context will in turn use its backend API adapter to fetch the +/// information it needs from your application. +/// +/// +/// returns: +/// an initialized view controller. +- (nonnull instancetype)initWithPaymentContext:(STPPaymentContext * _Nonnull)paymentContext; +/// Initializes a new payment methods view controller without using a +/// payment context. +/// \param configuration The configuration to use to determine what types of +/// payment method to offer your user. - seealso: STPPaymentConfiguration.h +/// +/// \param theme The theme to inform the appearance of the UI. +/// +/// \param customerContext The customer context the view controller will use to +/// fetch and modify its Stripe customer +/// +/// \param delegate A delegate that will be notified when the payment +/// methods view controller’s selection changes. +/// +/// +/// returns: +/// an initialized view controller. +- (nonnull instancetype)initWithConfiguration:(STPPaymentConfiguration * _Nonnull)configuration theme:(STPTheme * _Nonnull)theme customerContext:(STPCustomerContext * _Nonnull)customerContext delegate:(id _Nonnull)delegate; +/// Note: Instead of providing your own backend API adapter, we recommend using +/// STPCustomerContext, which will manage retrieving and updating a +/// Stripe customer for you. - seealso: STPCustomerContext.h +/// Initializes a new payment methods view controller without using +/// a payment context. +/// \param configuration The configuration to use to determine what types of +/// payment method to offer your user. +/// +/// \param theme The theme to inform the appearance of the UI. +/// +/// \param apiAdapter The API adapter to use to retrieve a customer’s stored +/// payment methods and save new ones. +/// +/// \param delegate A delegate that will be notified when the payment methods +/// view controller’s selection changes. +/// +- (nonnull instancetype)initWithConfiguration:(STPPaymentConfiguration * _Nonnull)configuration theme:(STPTheme * _Nonnull)theme apiAdapter:(id _Nonnull)apiAdapter delegate:(id _Nonnull)delegate OBJC_DESIGNATED_INITIALIZER; +/// If you’ve already collected some information from your user, you can set it +/// here and it’ll be automatically filled out when possible/appropriate in any UI +/// that the payment context creates. +@property (nonatomic, strong) STPUserInformation * _Nullable prefilledInformation; +/// @note This is no longer recommended as of v18.3.0 - the SDK automatically saves the Stripe ID of the last selected +/// payment method using NSUserDefaults and displays it as the default pre-selected option. You can override this behavior +/// by setting this property. +/// The Stripe ID of a payment method to display as the default pre-selected option. +/// @note Setting this after the view controller’s view has loaded has no effect. +@property (nonatomic, copy) NSString * _Nullable defaultPaymentMethod; +/// A view that will be placed as the footer of the view controller when it is +/// showing a list of saved payment methods to select from. +/// When the footer view needs to be resized, it will be sent a +/// sizeThatFits: call. The view should respond correctly to this method in order +/// to be sized and positioned properly. +@property (nonatomic, strong) UIView * _Nullable paymentOptionsViewControllerFooterView; +/// A view that will be placed as the footer of the view controller when it is +/// showing the add card view. +/// When the footer view needs to be resized, it will be sent a +/// sizeThatFits: call. The view should respond correctly to this method in order +/// to be sized and positioned properly. +@property (nonatomic, strong) UIView * _Nullable addCardViewControllerFooterView; +/// The STPAPIClient instance to use to make API requests. +/// Defaults to STPAPIClient.shared. +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +/// If you’re pushing STPPaymentOptionsViewController onto an existing +/// UINavigationController‘s stack, you should use this method to dismiss it, +/// since it may have pushed an additional add card view controller onto the +/// navigation controller’s stack. +/// \param completion The callback to run after the view controller is dismissed. +/// You may specify nil for this parameter. +/// +- (void)dismissWithCompletion:(void (^ _Nullable)(void))completion; +/// Use one of the initializers declared in this interface. +- (nonnull instancetype)initWithTheme:(STPTheme * _Nullable)theme OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE_MSG("Use one of the initializers declared in this interface instead."); +/// Use one of the initializers declared in this interface. +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE_MSG("Use one of the initializers declared in this interface instead."); +/// Use one of the initializers declared in this interface. +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE_MSG("Use one of the initializers declared in this interface instead."); +/// :nodoc: +- (void)viewDidLayoutSubviews; +/// :nodoc: +- (void)viewDidAppear:(BOOL)animated; +- (void)addCardViewControllerDidCancel:(STPAddCardViewController * _Nonnull)addCardViewController; +- (void)addCardViewController:(STPAddCardViewController * _Nonnull)addCardViewController didCreatePaymentMethod:(STPPaymentMethod * _Nonnull)paymentMethod completion:(void (^ _Nonnull)(NSError * _Nullable))completion; +@end + + + + +/// When you’re using STPPaymentContext to request your user’s payment details, this is the object that will be returned to your application when they’ve successfully made a payment. +/// See https://stripe.com/docs/mobile/ios/standard#submit-payment-intents. +SWIFT_CLASS("_TtC6Stripe16STPPaymentResult") +@interface STPPaymentResult : NSObject +/// The payment method that the user has selected. This may come from a variety of different payment methods, such as an Apple Pay payment or a stored credit card. - seealso: STPPaymentMethod.h +/// If paymentMethod is nil, paymentMethodParams will be populated instead. +@property (nonatomic, readonly, strong) STPPaymentMethod * _Nullable paymentMethod; +/// The parameters for a payment method that the user has selected. This is +/// populated for non-reusable payment methods, such as FPX and iDEAL. - seealso: STPPaymentMethodParams.h +/// If paymentMethodParams is nil, paymentMethod will be populated instead. +@property (nonatomic, readonly, strong) STPPaymentMethodParams * _Nullable paymentMethodParams; +/// The STPPaymentOption that was used to initialize this STPPaymentResult, either an STPPaymentMethod or an STPPaymentMethodParams. +@property (nonatomic, readonly, weak) id _Nullable paymentOption; +/// Initializes the payment result with a given payment option. This is invoked by STPPaymentContext internally; you shouldn’t have to call it directly. +- (nonnull instancetype)initWithPaymentOption:(id _Nullable)paymentOption OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// An enum representing the status of a payment requested from the user. +typedef SWIFT_ENUM(NSInteger, STPPaymentStatus, open) { +/// The payment succeeded. + STPPaymentStatusSuccess = 0, +/// The payment failed due to an unforeseen error, such as the user’s Internet connection being offline. + STPPaymentStatusError = 1, +/// The user cancelled the payment (for example, by hitting “cancel” in the Apple Pay dialog). + STPPaymentStatusUserCancellation = 2, +}; + +enum STPPinStatus : NSInteger; + +/// STPAPIClient extensions to manage PIN on Stripe Issuing cards +SWIFT_CLASS("_TtC6Stripe23STPPinManagementService") +@interface STPPinManagementService : NSObject +/// The STPAPIClient instance to use to make API requests to Stripe. +/// Defaults to STPAPIClient.shared. +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +/// Create a STPPinManagementService, you must provide an implementation of STPIssuingCardEphemeralKeyProvider +- (nonnull instancetype)initWithKeyProvider:(id _Nonnull)keyProvider OBJC_DESIGNATED_INITIALIZER; +/// Retrieves a PIN number for a given card, +/// this call is asynchronous, implement the completion block to receive the updates +- (void)retrievePin:(NSString * _Nonnull)cardId verificationId:(NSString * _Nonnull)verificationId oneTimeCode:(NSString * _Nonnull)oneTimeCode completion:(void (^ _Nonnull)(STPIssuingCardPin * _Nullable, enum STPPinStatus, NSError * _Nullable))completion; +/// Updates a PIN number for a given card, +/// this call is asynchronous, implement the completion block to receive the updates +- (void)updatePin:(NSString * _Nonnull)cardId newPin:(NSString * _Nonnull)newPin verificationId:(NSString * _Nonnull)verificationId oneTimeCode:(NSString * _Nonnull)oneTimeCode completion:(void (^ _Nonnull)(STPIssuingCardPin * _Nullable, enum STPPinStatus, NSError * _Nullable))completion; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// An enum representing the success and error states of PIN management +typedef SWIFT_ENUM(NSInteger, STPPinStatus, open) { +/// The verification object was already redeemed + STPPinStatusSuccess = 0, +/// The verification object was already redeemed + STPPinStatusErrorVerificationAlreadyRedeemed = 1, +/// The one-time code was incorrect + STPPinStatusErrorVerificationCodeIncorrect = 2, +/// The verification object was expired + STPPinStatusErrorVerificationExpired = 3, +/// The verification object has been attempted too many times + STPPinStatusErrorVerificationTooManyAttempts = 4, +/// An error occured while retrieving the ephemeral key + STPPinStatusEphemeralKeyError = 5, +/// An unknown error occured + STPPinStatusUnknownError = 6, +}; + +@class PKAddPaymentPassViewController; +@class PKAddPaymentPassRequest; + +/// This class makes it easier to implement “Push Provisioning”, the process by which an end-user can add a card to their Apple Pay wallet without having to type their number. This process is mediated by an Apple class called PKAddPaymentPassViewController; this class will help you implement that class’ delegate methods. Note that this flow requires a special entitlement from Apple; for more information please see https://stripe.com/docs/issuing/cards/digital-wallets . +SWIFT_CLASS("_TtC6Stripe26STPPushProvisioningContext") +@interface STPPushProvisioningContext : NSObject +/// The STPAPIClient instance to use to make API requests to Stripe. +/// Defaults to STPAPIClient.shared. +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +/// This is a helper method to generate a PKAddPaymentPassRequestConfiguration that will work with +/// Stripe’s Issuing APIs. Pass the returned configuration object to PKAddPaymentPassViewController’s initWithRequestConfiguration:delegate: initializer. +/// \param name Your cardholder’s name. Example: John Appleseed +/// +/// \param description A localized description of your card’s name. This will appear in Apple’s UI as “{description} will be available in Wallet”. Example: Platinum Rewards Card +/// +/// \param last4 The last 4 of the card to be added to the user’s Apple Pay wallet. Example: 4242 +/// +/// \param brand The brand of the card. Example: STPCardBrandVisa +/// ++ (PKAddPaymentPassRequestConfiguration * _Nonnull)requestConfigurationWithName:(NSString * _Nonnull)name description:(NSString * _Nullable)description last4:(NSString * _Nullable)last4 brand:(enum STPCardBrand)brand SWIFT_WARN_UNUSED_RESULT; +/// In order to retreive the encrypted payload that PKAddPaymentPassViewController expects, the Stripe SDK must talk to the Stripe API. As this requires privileged access, you must write a “key provider” that generates an Ephemeral Key on your backend and provides it to the SDK when requested. For more information, see https://stripe.com/docs/mobile/ios/basic#ephemeral-key +- (nonnull instancetype)initWithKeyProvider:(id _Nonnull)keyProvider OBJC_DESIGNATED_INITIALIZER; +/// This method lines up with the method of the same name on PKAddPaymentPassViewControllerDelegate. You should implement that protocol in your own app, and when that method is called, call this method on your STPPushProvisioningContext. This in turn will first initiate a call to your keyProvider (see above) to obtain an Ephemeral Key, then make a call to the Stripe Issuing API to fetch an encrypted payload for the card in question, then return that payload to iOS. +- (void)addPaymentPassViewController:(PKAddPaymentPassViewController * _Nonnull)controller generateRequestWithCertificateChain:(NSArray * _Nonnull)certificates nonce:(NSData * _Nonnull)nonce nonceSignature:(NSData * _Nonnull)nonceSignature completionHandler:(void (^ _Nonnull)(PKAddPaymentPassRequest * _Nonnull))handler; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// A helper class for turning the raw certificate array, nonce, and nonce signature emitted by PKAddPaymentPassViewController into a format that is understandable by the Stripe API. +/// If you are using STPPushProvisioningContext to implement your integration, you do not need to use this class. +SWIFT_CLASS("_TtC6Stripe32STPPushProvisioningDetailsParams") +@interface STPPushProvisioningDetailsParams : NSObject +/// The Stripe ID of the Issuing card object to retrieve details for. +@property (nonatomic, readonly, copy) NSString * _Nonnull cardId; +/// An array of certificates that should be used to encrypt the card details. +@property (nonatomic, readonly, copy) NSArray * _Nonnull certificates; +/// A nonce that should be used during the encryption of the card details. +@property (nonatomic, readonly, copy) NSData * _Nonnull nonce; +/// A nonce signature that should be used during the encryption of the card details. +@property (nonatomic, readonly, copy) NSData * _Nonnull nonceSignature; +/// Implemented for convenience - the Stripe API expects the certificate chain as an array of base64-encoded strings. +@property (nonatomic, readonly, copy) NSArray * _Nonnull certificatesBase64; +/// Implemented for convenience - the Stripe API expects the nonce as a hex-encoded string. +@property (nonatomic, readonly, copy) NSString * _Nonnull nonceHex; +/// Implemented for convenience - the Stripe API expects the nonce signature as a hex-encoded string. +@property (nonatomic, readonly, copy) NSString * _Nonnull nonceSignatureHex; +/// Instantiates a new params object with the provided attributes. +- (nonnull instancetype)initWithCardId:(NSString * _Nonnull)cardId certificates:(NSArray * _Nonnull)certificates nonce:(NSData * _Nonnull)nonce nonceSignature:(NSData * _Nonnull)nonceSignature OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// A Radar Session. +/// note: +/// This API and the guide linked above require special permissions to use. Contact support@stripe.com if you’re interested. +SWIFT_CLASS("_TtC6Stripe15STPRadarSession") +@interface STPRadarSession : NSObject +/// The Stripe identifier of the RadarSession +@property (nonatomic, readonly, copy) NSString * _Nonnull id; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; ++ (STPRadarSession * _Nullable)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +enum STPRedirectContextState : NSInteger; +@class UIPresentationController; + +/// This is a helper class for handling redirects associated with STPSource and +/// STPPaymentIntents. +/// Init and retain an instance with the Source or PaymentIntent you want to handle, +/// then choose a redirect method. The context will fire the completion handler +/// when the redirect completes. +/// Due to the nature of iOS, very little concrete information can be gained +/// during this process, as all actions take place in either the Safari app +/// or the sandboxed SFSafariViewController class. The context attempts to +/// detect when the user has completed the necessary redirect action by listening +/// for both app foregrounds and url callbacks received in the app delegate. +/// However, it is possible the when the redirect is “completed”, the user may +/// have not actually completed the necessary actions to authorize the charge. +/// You should not use either this class, nor STPAPIClient, as a way +/// to determine when you should charge the Source or to determine if the redirect +/// was successful. Use Stripe webhooks on your backend server to listen for Source +/// state changes and to make the charge. +/// @note You must retain this instance for the duration of the redirect flow. +/// This class dismisses any presented view controller upon deallocation. +/// See https://stripe.com/docs/sources/best-practices +SWIFT_CLASS("_TtC6Stripe18STPRedirectContext") SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable) SWIFT_AVAILABILITY(ios_app_extension,unavailable) +@interface STPRedirectContext : NSObject +/// The domain for NSErrors specific to STPRedirectContext +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull STPRedirectContextErrorDomain;) ++ (NSString * _Nonnull)STPRedirectContextErrorDomain SWIFT_WARN_UNUSED_RESULT; +/// The current state of the context. +@property (nonatomic, readonly) enum STPRedirectContextState state; +/// Initializer for context from an STPSource. +/// @note You must ensure that the returnURL set up in the created source +/// correctly goes to your app so that users can be returned once +/// they complete the redirect in the web broswer. +/// \param source The source that needs user redirect action to be taken. +/// +/// \param completion A block to fire when the action is believed to have +/// been completed. +/// +/// +/// returns: +/// nil if the specified source is not a redirect-flow source. Otherwise +/// a new context object. +/// @note Execution of the completion block does not necessarily mean the user +/// successfully performed the redirect action. You should listen for source status +/// change webhooks on your backend to determine the result of a redirect. +- (nullable instancetype)initWithSource:(STPSource * _Nonnull)source completion:(void (^ _Nonnull)(NSString * _Nonnull, NSString * _Nullable, NSError * _Nullable))completion; +/// Initializer for context from an STPPaymentIntent. +/// This should be used when the status is STPPaymentIntentStatusRequiresAction. +/// If the next action involves a redirect, this init method will return a non-nil object. +/// \param paymentIntent The STPPaymentIntent that needs a redirect. +/// +/// \param completion A block to fire when the action is believed to have +/// been completed. +/// +/// +/// returns: +/// nil if the provided PaymentIntent does not need a redirect. Otherwise +/// a new context object. +/// @note Execution of the completion block does not necessarily mean the user +/// successfully performed the redirect action. +- (nullable instancetype)initWithPaymentIntent:(STPPaymentIntent * _Nonnull)paymentIntent completion:(void (^ _Nonnull)(NSString * _Nonnull, NSError * _Nullable))completion; +/// Starts a redirect flow. +/// You must ensure that your app delegate listens for the returnURL that you +/// set on the Stripe object, and forwards it to the Stripe SDK so that the +/// context can be notified when the redirect is completed and dismiss the +/// view controller. See StripeAPI.handleURLCallback(with url:) +/// The context will listen for both received URLs and app open notifications +/// and fire its completion block when either the URL is received, or the next +/// time the app is foregrounded. +/// The context will initiate the flow by presenting a SFSafariViewController +/// instance from the passsed in view controller. If you want more manual control +/// over the redirect method, you can use startSafariViewControllerRedirectFlowFromViewController +/// or startSafariAppRedirectFlow +/// If the redirect supports a native app, and that app is is installed on the user’s +/// device, this call will do a direct app-to-app redirect instead of showing +/// a web url. +/// @note This method does nothing if the context is not in the +/// STPRedirectContextStateNotStarted state. +/// \param presentingViewController The view controller to present the Safari +/// view controller from. +/// +- (void)startRedirectFlowFromViewController:(UIViewController * _Nonnull)presentingViewController; +/// Starts a redirect flow by presenting an SFSafariViewController in your app +/// from the passed in view controller. +/// You must ensure that your app delegate listens for the returnURL that you +/// set on the Stripe object, and forwards it to the Stripe SDK so that the +/// context can be notified when the redirect is completed and dismiss the +/// view controller. See StripeAPI.handleStripeURLCallback(with url:)] +/// The context will listen for both received URLs and app open notifications +/// and fire its completion block when either the URL is received, or the next +/// time the app is foregrounded. +/// @note This method does nothing if the context is not in the +/// STPRedirectContextStateNotStarted state. +/// \param presentingViewController The view controller to present the Safari +/// view controller from. +/// +- (void)startSafariViewControllerRedirectFlowFromViewController:(UIViewController * _Nonnull)presentingViewController; +/// Starts a redirect flow by calling openURL to bounce the user out to +/// the Safari app. +/// The context will listen for app open notifications and fire its completion +/// block the next time the user re-opens the app (either manually or via url) +/// @note This method does nothing if the context is not in the +/// STPRedirectContextStateNotStarted state. +- (void)startSafariAppRedirectFlow; +/// Dismisses any presented views and stops listening for any +/// app opens or callbacks. The completion block will not be fired. +- (void)cancel; +/// :nodoc: +- (void)safariViewControllerDidFinish:(SFSafariViewController * _Nonnull)controller; +/// :nodoc: +- (void)safariViewController:(SFSafariViewController * _Nonnull)controller didCompleteInitialLoad:(BOOL)didLoadSuccessfully; +/// :nodoc: +- (void)safariViewController:(SFSafariViewController * _Nonnull)controller initialLoadDidRedirectToURL:(NSURL * _Nonnull)URL; +/// :nodoc: +- (UIPresentationController * _Nullable)presentationControllerForPresentedViewController:(UIViewController * _Nonnull)presented presentingViewController:(UIViewController * _Nullable)presenting sourceViewController:(UIViewController * _Nonnull)source SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable) SWIFT_AVAILABILITY(ios_app_extension,unavailable) +@interface STPRedirectContext (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (BOOL)handleURLCallback:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; +@end + +/// Error codes specific to STPRedirectContext +typedef SWIFT_ENUM(NSInteger, STPRedirectContextError, open) { +/// STPRedirectContext failed to redirect to the app to complete the payment. +/// This could be because the app is not installed on the user’s device. + STPRedirectContextAppRedirectError SWIFT_COMPILE_NAME("appRedirectError") = 0, +}; + +/// Possible states for the redirect context to be in +typedef SWIFT_ENUM(NSInteger, STPRedirectContextState, open) { +/// Initialized, but redirect not started. + STPRedirectContextStateNotStarted = 0, +/// Redirect is in progress. + STPRedirectContextStateInProgress = 1, +/// Redirect has been cancelled programmatically before completing. + STPRedirectContextStateCancelled = 2, +/// Redirect has completed. + STPRedirectContextStateCompleted = 3, +}; + +enum STPSetupIntentStatus : NSInteger; +enum STPSetupIntentUsage : NSInteger; +@class STPSetupIntentLastSetupError; + +/// A SetupIntent guides you through the process of setting up a customer’s payment credentials for future payments. +/// seealso: +/// https://stripe.com/docs/api/setup_intents +SWIFT_CLASS("_TtC6Stripe14STPSetupIntent") +@interface STPSetupIntent : NSObject +/// The Stripe ID of the SetupIntent. +@property (nonatomic, readonly, copy) NSString * _Nonnull stripeID; +/// The client secret of this SetupIntent. Used for client-side retrieval using a publishable key. +@property (nonatomic, readonly, copy) NSString * _Nonnull clientSecret; +/// Time at which the object was created. +@property (nonatomic, readonly, copy) NSDate * _Nonnull created; +/// ID of the Customer this SetupIntent belongs to, if one exists. +@property (nonatomic, readonly, copy) NSString * _Nullable customerID; +/// An arbitrary string attached to the object. Often useful for displaying to users. +@property (nonatomic, readonly, copy) NSString * _Nullable stripeDescription; +/// Has the value YES if the object exists in live mode or the value NO if the object exists in test mode. +@property (nonatomic, readonly) BOOL livemode; +/// If present, this property tells you what actions you need to take in order for your customer to set up this payment method. +@property (nonatomic, readonly, strong) STPIntentAction * _Nullable nextAction; +/// ID of the payment method used with this SetupIntent. +@property (nonatomic, readonly, copy) NSString * _Nullable paymentMethodID; +/// The list of payment method types (e.g. [STPPaymentMethodType.card]) that this SetupIntent is allowed to set up. +@property (nonatomic, readonly, copy) NSArray * _Nonnull paymentMethodTypes; +/// Status of this SetupIntent. +@property (nonatomic, readonly) enum STPSetupIntentStatus status; +/// Indicates how the payment method is intended to be used in the future. +@property (nonatomic, readonly) enum STPSetupIntentUsage usage; +/// The setup error encountered in the previous SetupIntent confirmation. +@property (nonatomic, readonly, strong) STPSetupIntentLastSetupError * _Nullable lastSetupError; +/// Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. +/// @deprecated Metadata is not returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead. +/// seealso: +/// https://stripe.com/docs/api#metadata +@property (nonatomic, readonly, copy) NSDictionary * _Nullable metadata SWIFT_DEPRECATED_MSG("Metadata is not returned to clients using publishable keys. Retrieve them on your server using your secret key instead."); +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// An object representing parameters to confirm a SetupIntent object. +/// For example, you would confirm a SetupIntent when a customer hits the “Save” button on a payment method management view in your app. +/// If the selected payment method does not require any additional steps from the customer, the SetupIntent’s status will transition to STPSetupIntentStatusSucceeded. Otherwise, it will transition to STPSetupIntentStatusRequiresAction, and suggest additional actions via nextAction. +/// Instead of passing this to STPAPIClient.confirmSetupIntent(...) directly, we recommend using STPPaymentHandler to handle any additional steps for you. +/// seealso: +/// https://stripe.com/docs/api/setup_intents/confirm +SWIFT_CLASS("_TtC6Stripe27STPSetupIntentConfirmParams") +@interface STPSetupIntentConfirmParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// Initialize this STPSetupIntentConfirmParams with a clientSecret. +/// \param clientSecret the client secret for this SetupIntent +/// +- (nonnull instancetype)initWithClientSecret:(NSString * _Nonnull)clientSecret OBJC_DESIGNATED_INITIALIZER; +/// The client secret of the SetupIntent. Required. +@property (nonatomic, copy) NSString * _Nonnull clientSecret; +/// Provide a supported STPPaymentMethodParams object, and Stripe will create a +/// PaymentMethod during PaymentIntent confirmation. +/// @note alternative to paymentMethodId +@property (nonatomic, strong) STPPaymentMethodParams * _Nullable paymentMethodParams; +/// Provide an already created PaymentMethod’s id, and it will be used to confirm the SetupIntent. +/// @note alternative to paymentMethodParams +@property (nonatomic, copy) NSString * _Nullable paymentMethodID; +/// The URL to redirect your customer back to after they authenticate or cancel +/// their payment on the payment method’s app or site. +/// This should probably be a URL that opens your iOS app. +@property (nonatomic, copy) NSString * _Nullable returnURL; +/// A boolean number to indicate whether you intend to use the Stripe SDK’s functionality to handle any SetupIntent next actions. +/// If set to false, STPSetupIntent.nextAction will only ever contain a redirect url that can be opened in a webview or mobile browser. +/// When set to true, the nextAction may contain information that the Stripe SDK can use to perform native authentication within your +/// app. +@property (nonatomic, strong) NSNumber * _Nullable useStripeSDK; +/// Details about the Mandate to create. +/// @note If this value is null and the (self.paymentMethod.type == STPPaymentMethodTypeSEPADebit | | self.paymentMethodParams.type == STPPaymentMethodTypeAUBECSDebit || self.paymentMethodParams.type == STPPaymentMethodTypeBacsDebit) && self.mandate == nil, the SDK will set this to an internal value indicating that the mandate data should be inferred from the current context. +@property (nonatomic, strong) STPMandateDataParams * _Nullable mandateData; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +@end + +enum STPSetupIntentLastSetupErrorType : NSUInteger; + +/// A value for code indicating the provided payment method failed authentication./// The error encountered in the previous SetupIntent confirmation. +/// seealso: +/// https://stripe.com/docs/api/setup_intents/object#setup_intent_object-last_setup_error +SWIFT_CLASS("_TtC6Stripe28STPSetupIntentLastSetupError") +@interface STPSetupIntentLastSetupError : NSObject +/// For some errors that could be handled programmatically, a short string indicating the error code reported. +/// seealso: +/// https://stripe.com/docs/error-codes +@property (nonatomic, readonly, copy) NSString * _Nullable code; +/// For card (STPSetupIntentLastSetupErrorTypeCard) errors resulting from a card issuer decline, +/// a short string indicating the card issuer’s reason for the decline if they provide one. +/// seealso: +/// https://stripe.com/docs/declines#issuer-declines +@property (nonatomic, readonly, copy) NSString * _Nullable declineCode; +/// A URL to more information about the error code reported. +/// seealso: +/// https://stripe.com/docs/error-codes +@property (nonatomic, readonly, copy) NSString * _Nullable docURL; +/// A human-readable message providing more details about the error. +/// For card (STPSetupIntentLastSetupErrorTypeCard) errors, these messages can be shown to your users. +@property (nonatomic, readonly, copy) NSString * _Nullable message; +/// If the error is parameter-specific, the parameter related to the error. +/// For example, you can use this to display a message near the correct form field. +@property (nonatomic, readonly, copy) NSString * _Nullable param; +/// The PaymentMethod object for errors returned on a request involving a PaymentMethod. +@property (nonatomic, readonly, strong) STPPaymentMethod * _Nullable paymentMethod; +/// The type of error. +@property (nonatomic, readonly) enum STPSetupIntentLastSetupErrorType type; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +@interface STPSetupIntentLastSetupError (SWIFT_EXTENSION(Stripe)) +/// A possible value for the error property. The provided payment method has failed authentication. Provide a new payment method to attempt to fulfill this SetupIntent again. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull CodeAuthenticationFailure;) ++ (NSString * _Nonnull)CodeAuthenticationFailure SWIFT_WARN_UNUSED_RESULT; +@end + +/// The type of the error represented by STPSetupIntentLastSetupError. +/// Some STPSetupIntentLastError properties are only populated for certain error types. +typedef SWIFT_ENUM(NSUInteger, STPSetupIntentLastSetupErrorType, open) { +/// An unknown error type. + STPSetupIntentLastSetupErrorTypeUnknown = 0, +/// An error connecting to Stripe’s API. + STPSetupIntentLastSetupErrorTypeAPIConnection SWIFT_COMPILE_NAME("apiConnection") = 1, +/// An error with the Stripe API. + STPSetupIntentLastSetupErrorTypeAPI = 2, +/// A failure to authenticate your customer. + STPSetupIntentLastSetupErrorTypeAuthentication = 3, +/// Card errors are the most common type of error you should expect to handle. +/// They result when the user enters a card that can’t be charged for some reason. +/// Check the declineCode property for the decline code. The message property contains a message you can show to your users. + STPSetupIntentLastSetupErrorTypeCard = 4, +/// Keys for idempotent requests can only be used with the same parameters they were first used with. + STPSetupIntentLastSetupErrorTypeIdempotency = 5, +/// Invalid request errors. Typically, this is because your request has invalid parameters. + STPSetupIntentLastSetupErrorTypeInvalidRequest = 6, +/// Too many requests hit the API too quickly. + STPSetupIntentLastSetupErrorTypeRateLimit = 7, +}; + +/// Status types for an STPSetupIntent +typedef SWIFT_ENUM(NSInteger, STPSetupIntentStatus, open) { +/// Unknown status + STPSetupIntentStatusUnknown = 0, +/// This SetupIntent requires a PaymentMethod + STPSetupIntentStatusRequiresPaymentMethod = 1, +/// This SetupIntent needs to be confirmed + STPSetupIntentStatusRequiresConfirmation = 2, +/// The selected PaymentMethod requires additional authentication steps. +/// Additional actions found via the nextAction property of STPSetupIntent + STPSetupIntentStatusRequiresAction = 3, +/// Stripe is processing this SetupIntent + STPSetupIntentStatusProcessing = 4, +/// The SetupIntent has succeeded + STPSetupIntentStatusSucceeded = 5, +/// This SetupIntent was canceled and cannot be changed. + STPSetupIntentStatusCanceled = 6, +}; + +/// Indicates how the payment method is intended to be used in the future. +/// seealso: +/// https://stripe.com/docs/api/setup_intents/create#create_setup_intent-usage +typedef SWIFT_ENUM(NSInteger, STPSetupIntentUsage, open) { +/// Unknown value. Update your SDK, or use allResponseFields for custom handling. + STPSetupIntentUsageUnknown = 0, +/// No value was provided. + STPSetupIntentUsageNone = 1, +/// Indicates you intend to only reuse the payment method when the customer is in your checkout flow. + STPSetupIntentUsageOnSession = 2, +/// Indicates you intend to reuse the payment method when the customer may or may not be in your checkout flow. + STPSetupIntentUsageOffSession = 3, +}; + + +/// This view controller contains a shipping address collection form. It renders a right bar button item that submits the form, so it must be shown inside a UINavigationController. Depending on your configuration’s shippingType, the view controller may present a shipping method selection form after the user enters an address. +SWIFT_CLASS("_TtC6Stripe32STPShippingAddressViewController") +@interface STPShippingAddressViewController : STPCoreTableViewController +/// A convenience initializer; equivalent to calling init(configuration: STPPaymentConfiguration.shared theme: STPTheme.defaultTheme currency:"" shippingAddress:nil selectedShippingMethod:nil prefilledInformation:nil). +- (nonnull instancetype)init; +/// Initializes a new STPShippingAddressViewController with the given payment context and sets the payment context as its delegate. +/// \param paymentContext The payment context to use. +/// +- (nonnull instancetype)initWithPaymentContext:(STPPaymentContext * _Nonnull)paymentContext; +/// Initializes a new STPShippingAddressCardViewController with the provided parameters. +/// \param configuration The configuration to use (this determines the required shipping address fields and shipping type). - seealso: STPPaymentConfiguration +/// +/// \param theme The theme to use to inform the view controller’s visual appearance. - seealso: STPTheme +/// +/// \param currency The currency to use when displaying amounts for shipping methods. The default is USD. +/// +/// \param shippingAddress If set, the shipping address view controller will be pre-filled with this address. - seealso: STPAddress +/// +/// \param selectedShippingMethod If set, the shipping methods view controller will use this method as the selected shipping method. If selectedShippingMethod is nil, the first shipping method in the array of methods returned by your delegate will be selected. +/// +/// \param prefilledInformation If set, the shipping address view controller will be pre-filled with this information. - seealso: STPUserInformation +/// +- (nonnull instancetype)initWithConfiguration:(STPPaymentConfiguration * _Nonnull)configuration theme:(STPTheme * _Nonnull)theme currency:(NSString * _Nullable)currency shippingAddress:(STPAddress * _Nullable)shippingAddress selectedShippingMethod:(PKShippingMethod * _Nullable)selectedShippingMethod prefilledInformation:(STPUserInformation * _Nullable)prefilledInformation OBJC_DESIGNATED_INITIALIZER; +/// The view controller’s delegate. This must be set before showing the view controller in order for it to work properly. - seealso: STPShippingAddressViewControllerDelegate +@property (nonatomic, weak) id _Nullable delegate; +/// If you’re pushing STPShippingAddressViewController onto an existing UINavigationController‘s stack, you should use this method to dismiss it, since it may have pushed an additional shipping method view controller onto the navigation controller’s stack. +/// \param completion The callback to run after the view controller is dismissed. You may specify nil for this parameter. +/// +- (void)dismissWithCompletion:(void (^ _Nullable)(void))completion; +/// Use one of the initializers declared in this interface. +- (nonnull instancetype)initWithTheme:(STPTheme * _Nullable)theme OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE_MSG("Use one of the initializers declared in this interface instead."); +/// Use one of the initializers declared in this interface. +- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER SWIFT_UNAVAILABLE_MSG("Use one of the initializers declared in this interface instead."); +/// Use one of the initializers declared in this interface. +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE; +/// :nodoc: +- (void)viewDidAppear:(BOOL)animated; +/// :nodoc: +- (CGFloat)tableView:(UITableView * _Nonnull)tableView heightForHeaderInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +@end + + + +@interface STPShippingAddressViewController (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (NSInteger)numberOfSectionsInTableView:(UITableView * _Nonnull)tableView SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (NSInteger)tableView:(UITableView * _Nonnull)tableView numberOfRowsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (UITableViewCell * _Nonnull)tableView:(UITableView * _Nonnull)tableView cellForRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)tableView:(UITableView * _Nonnull)tableView willDisplayCell:(UITableViewCell * _Nonnull)cell forRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath; +/// :nodoc: +- (CGFloat)tableView:(UITableView * _Nonnull)tableView heightForFooterInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (UIView * _Nullable)tableView:(UITableView * _Nonnull)tableView viewForFooterInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (UIView * _Nullable)tableView:(UITableView * _Nonnull)tableView viewForHeaderInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An enum representing the status of a shipping address validation. +typedef SWIFT_ENUM(NSInteger, STPShippingStatus, open) { +/// The shipping address is valid. + STPShippingStatusValid = 0, +/// The shipping address is invalid. + STPShippingStatusInvalid = 1, +}; + +/// These values control the labels used in the shipping info collection form. +typedef SWIFT_ENUM(NSInteger, STPShippingType, open) { +/// Shipping the purchase to the provided address using a third-party +/// shipping company. + STPShippingTypeShipping = 0, +/// Delivering the purchase by the seller. + STPShippingTypeDelivery = 1, +}; + +enum STPSourceFlow : NSInteger; +@class STPSourceOwner; +@class STPSourceReceiver; +@class STPSourceRedirect; +enum STPSourceStatus : NSInteger; +enum STPSourceType : NSInteger; +enum STPSourceUsage : NSInteger; +@class STPSourceVerification; +@class STPSourceCardDetails; +@class STPSourceKlarnaDetails; +@class STPSourceSEPADebitDetails; +@class STPSourceWeChatPayDetails; + +/// Representation of a customer’s payment instrument created with the Stripe API. - seealso: https://stripe.com/docs/api#sources +SWIFT_CLASS("_TtC6Stripe9STPSource") +@interface STPSource : NSObject +/// You cannot directly instantiate an STPSource. You should only use one that +/// has been returned from an STPAPIClient callback. +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// The amount associated with the source. +@property (nonatomic, readonly, strong) NSNumber * _Nullable amount; +/// The client secret of the source. Used for client-side fetching of a source +/// using a publishable key. +@property (nonatomic, readonly, copy) NSString * _Nullable clientSecret; +/// When the source was created. +@property (nonatomic, readonly, copy) NSDate * _Nullable created; +/// The currency associated with the source. +@property (nonatomic, readonly, copy) NSString * _Nullable currency; +/// The authentication flow of the source. +@property (nonatomic, readonly) enum STPSourceFlow flow; +/// Whether or not this source was created in livemode. +@property (nonatomic, readonly) BOOL livemode; +/// Information about the owner of the payment instrument. +@property (nonatomic, readonly, strong) STPSourceOwner * _Nullable owner; +/// Information related to the receiver flow. Present if the source’s flow +/// is receiver. +@property (nonatomic, readonly, strong) STPSourceReceiver * _Nullable receiver; +/// Information related to the redirect flow. Present if the source’s flow +/// is redirect. +@property (nonatomic, readonly, strong) STPSourceRedirect * _Nullable redirect; +/// The status of the source. +@property (nonatomic, readonly) enum STPSourceStatus status; +/// The type of the source. +@property (nonatomic, readonly) enum STPSourceType type; +/// Whether this source should be reusable or not. +@property (nonatomic, readonly) enum STPSourceUsage usage; +/// Information related to the verification flow. Present if the source’s flow +/// is verification. +@property (nonatomic, readonly, strong) STPSourceVerification * _Nullable verification; +/// Information about the source specific to its type +@property (nonatomic, readonly, copy) NSDictionary * _Nullable details; +/// If this is a card source, this property provides typed access to the +/// contents of the details dictionary. +@property (nonatomic, readonly, strong) STPSourceCardDetails * _Nullable cardDetails; +/// If this is a Klarna source, this property provides typed access to the +/// contents of the details dictionary. +@property (nonatomic, readonly, strong) STPSourceKlarnaDetails * _Nullable klarnaDetails; +/// If this is a SEPA Debit source, this property provides typed access to the +/// contents of the details dictionary. +@property (nonatomic, readonly, strong) STPSourceSEPADebitDetails * _Nullable sepaDebitDetails; +/// If this is a WeChat Pay source, this property provides typed access to the +/// contents of the details dictionary. +@property (nonatomic, readonly, strong) STPSourceWeChatPayDetails * _Nullable weChatPayDetails; +/// A set of key/value pairs associated with the source object. +/// @deprecated Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead. +/// seealso: +/// https://stripe.com/docs/api#metadata +@property (nonatomic, readonly, copy) NSDictionary * _Nullable metadata SWIFT_DEPRECATED_MSG("Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead."); +@property (nonatomic, copy) NSString * _Nonnull stripeID; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) NSUInteger hash; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, readonly, strong) UIImage * _Nonnull image; +@property (nonatomic, readonly, strong) UIImage * _Nonnull templateImage; +@property (nonatomic, readonly, copy) NSString * _Nonnull label; +@property (nonatomic, readonly) BOOL isReusable; +@end + +/// The status of this card’s 3D Secure support. +/// seealso: +/// https://stripe.com/docs/sources/three-d-secure#check-requirement +typedef SWIFT_ENUM(NSInteger, STPSourceCard3DSecureStatus, open) { +/// 3D Secure is required. This card must be converted into a 3D Secure +/// source for a charge on it to be successful. + STPSourceCard3DSecureStatusRequired = 0, +/// 3D Secure is optional. It is not required nor recommended for successful charging, +/// but can be performed to help reduce the likelihood of fraud. + STPSourceCard3DSecureStatusOptional = 1, +/// 3D Secure is not supported on this card. + STPSourceCard3DSecureStatusNotSupported = 2, +/// 3D Secure is recommended. The process is not required, but it is highly recommended +/// and has minimal impact to your conversion rate. + STPSourceCard3DSecureStatusRecommended = 3, +/// The status of 3D Secure support on this card is unknown. + STPSourceCard3DSecureStatusUnknown = 4, +}; + + +/// This class provides typed access to the contents of an STPSource details +/// dictionary for card sources. +SWIFT_CLASS("_TtC6Stripe20STPSourceCardDetails") +@interface STPSourceCardDetails : NSObject +/// The last 4 digits of the card. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// The card’s expiration month. 1-indexed (i.e. 1 == January) +@property (nonatomic, readonly) NSUInteger expMonth; +/// The card’s expiration year. +@property (nonatomic, readonly) NSUInteger expYear; +/// The issuer of the card. +@property (nonatomic, readonly) enum STPCardBrand brand; +/// The funding source for the card (credit, debit, prepaid, or other) +@property (nonatomic, readonly) enum STPCardFundingType funding; +/// Two-letter ISO code representing the issuing country of the card. +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// Whether 3D Secure is supported or required by the card. +@property (nonatomic, readonly) enum STPSourceCard3DSecureStatus threeDSecure; +/// True if this card was created through Apple Pay, false otherwise. +@property (nonatomic, readonly) BOOL isApplePayCard; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// Authentication flows for a Source +typedef SWIFT_ENUM(NSInteger, STPSourceFlow, open) { +/// No action is required from your customer. +/// @note WeChat Pay Sources also have this flow type. + STPSourceFlowNone = 0, +/// Your customer must be redirected to their online banking service (either a website or mobile banking app) to approve the payment. + STPSourceFlowRedirect = 1, +/// Your customer must verify ownership of their account by providing a code that you post to the Stripe API for authentication. + STPSourceFlowCodeVerification = 2, +/// Your customer must push funds to the account information provided. + STPSourceFlowReceiver = 3, +/// The source’s flow is unknown. + STPSourceFlowUnknown = 4, +}; + + +/// Details of a Klarna source. +SWIFT_CLASS("_TtC6Stripe22STPSourceKlarnaDetails") +@interface STPSourceKlarnaDetails : NSObject +/// The Klarna-specific client token. This may be used with the Klarna SDK. +/// seealso: +/// https://developers.klarna.com/documentation/in-app/ios/steps-klarna-payments-native/#initialization +@property (nonatomic, readonly, copy) NSString * _Nullable clientToken; +/// The ISO-3166 2-letter country code of the customer’s location. +@property (nonatomic, readonly, copy) NSString * _Nullable purchaseCountry; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// Information about a source’s owner. +SWIFT_CLASS("_TtC6Stripe14STPSourceOwner") +@interface STPSourceOwner : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// Owner’s address. +@property (nonatomic, readonly, strong) STPAddress * _Nullable address; +/// Owner’s email address. +@property (nonatomic, readonly, copy) NSString * _Nullable email; +/// Owner’s full name. +@property (nonatomic, readonly, copy) NSString * _Nullable name; +/// Owner’s phone number. +@property (nonatomic, readonly, copy) NSString * _Nullable phone; +/// Verified owner’s address. +@property (nonatomic, readonly, strong) STPAddress * _Nullable verifiedAddress; +/// Verified owner’s email address. +@property (nonatomic, readonly, copy) NSString * _Nullable verifiedEmail; +/// Verified owner’s full name. +@property (nonatomic, readonly, copy) NSString * _Nullable verifiedName; +/// Verified owner’s phone number. +@property (nonatomic, readonly, copy) NSString * _Nullable verifiedPhone; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + + +/// An object representing parameters used to create a Source object. +/// seealso: +/// https://stripe.com/docs/api#create_source +SWIFT_CLASS("_TtC6Stripe15STPSourceParams") +@interface STPSourceParams : NSObject +@property (nonatomic, copy) NSDictionary * _Nonnull additionalAPIParameters; +/// The type of the source to create. Required. +@property (nonatomic) enum STPSourceType type; +/// The raw underlying type string sent to the server. +/// Generally you should use type instead unless you have a reason not to. +/// You can use this if you want to create a param of a type not yet supported +/// by the current version of the SDK’s STPSourceType enum. +/// Setting this to a value not known by the SDK causes type to +/// return STPSourceTypeUnknown +@property (nonatomic, copy) NSString * _Nullable rawTypeString; +/// A positive integer in the smallest currency unit representing the +/// amount to charge the customer (e.g., @1099 for a €10.99 payment). +/// Required for single_use sources. +@property (nonatomic, strong) NSNumber * _Nullable amount; +/// The currency associated with the source. This is the currency for which the source +/// will be chargeable once ready. +@property (nonatomic, copy) NSString * _Nullable currency; +/// The authentication flow of the source to create. flow may be “redirect”, +/// “receiver”, “verification”, or “none”. It is generally inferred unless a type +/// supports multiple flows. +@property (nonatomic) enum STPSourceFlow flow; +/// A set of key/value pairs that you can attach to a source object. +@property (nonatomic, copy) NSDictionary * _Nullable metadata; +/// Information about the owner of the payment instrument. May be used or required +/// by particular source types. +@property (nonatomic, copy) NSDictionary * _Nullable owner; +/// Parameters required for the redirect flow. Required if the source is +/// authenticated by a redirect (flow is “redirect”). +@property (nonatomic, copy) NSDictionary * _Nullable redirect; +/// An optional token used to create the source. When passed, token properties will +/// override source parameters. +@property (nonatomic, copy) NSString * _Nullable token; +/// Whether this source should be reusable or not. usage may be “reusable” or +/// “single_use”. Some source types may or may not be reusable by construction, +/// while other may leave the option at creation. +@property (nonatomic) enum STPSourceUsage usage; +/// Initializes an empty STPSourceParams. +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPSourceParams (SWIFT_EXTENSION(Stripe)) +/// Creates params for a Bancontact source. +/// seealso: +/// https://stripe.com/docs/bancontact#create-source +/// \param amount The amount to charge the customer in EUR. +/// +/// \param name The full name of the account holder. +/// +/// \param returnURL The URL the customer should be redirected to after +/// they have successfully verified the payment. +/// +/// \param statementDescriptor (Optional) A custom statement descriptor for +/// the payment. +/// @note The currency for Bancontact must be “eur”. This will be set automatically +/// for you. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)bancontactParamsWithAmount:(NSInteger)amount name:(NSString * _Nonnull)name returnURL:(NSString * _Nonnull)returnURL statementDescriptor:(NSString * _Nullable)statementDescriptor SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Card source. +/// seealso: +/// https://stripe.com/docs/sources/cards#create-source +/// \param card An object containing the user’s card details +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided card details. ++ (STPSourceParams * _Nonnull)cardParamsWithCard:(STPCardParams * _Nonnull)card SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Giropay source. +/// seealso: +/// https://stripe.com/docs/sources/giropay#create-source +/// \param amount The amount to charge the customer in EUR. +/// +/// \param name The full name of the account holder. +/// +/// \param returnURL The URL the customer should be redirected to after +/// they have successfully verified the payment. +/// +/// \param statementDescriptor (Optional) A custom statement descriptor for +/// the payment. +/// @note The currency for Giropay must be “eur”. This will be set automatically +/// for you. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)giropayParamsWithAmount:(NSInteger)amount name:(NSString * _Nonnull)name returnURL:(NSString * _Nonnull)returnURL statementDescriptor:(NSString * _Nullable)statementDescriptor SWIFT_WARN_UNUSED_RESULT; +/// Creates params for an iDEAL source. +/// seealso: +/// https://stripe.com/docs/sources/ideal#create-source +/// \param amount The amount to charge the customer in EUR. +/// +/// \param name (Optional) The full name of the account holder. +/// +/// \param returnURL The URL the customer should be redirected to after +/// they have successfully verified the payment. +/// +/// \param statementDescriptor (Optional) A custom statement descriptor for t +/// he payment. +/// +/// \param bank (Optional) The customer’s bank. +/// @note The currency for iDEAL must be “eur”. This will be set automatically +/// for you. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)idealParamsWithAmount:(NSInteger)amount name:(NSString * _Nullable)name returnURL:(NSString * _Nonnull)returnURL statementDescriptor:(NSString * _Nullable)statementDescriptor bank:(NSString * _Nullable)bank SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a SEPA Debit source. +/// seealso: +/// https://stripe.com/docs/sources/sepa-debit#create-source +/// \param name The full name of the account holder. +/// +/// \param iban The IBAN number for the bank account you wish to debit. +/// +/// \param addressLine1 (Optional) The bank account holder’s first address line. +/// +/// \param city (Optional) The bank account holder’s city. +/// +/// \param postalCode (Optional) The bank account holder’s postal code. +/// +/// \param country (Optional) The bank account holder’s two-letter +/// country code. +/// @note The currency for SEPA Debit must be “eur”. This will be set automatically +/// for you. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)sepaDebitParamsWithName:(NSString * _Nonnull)name iban:(NSString * _Nonnull)iban addressLine1:(NSString * _Nullable)addressLine1 city:(NSString * _Nullable)city postalCode:(NSString * _Nullable)postalCode country:(NSString * _Nullable)country SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Sofort source. +/// seealso: +/// https://stripe.com/docs/sources/sofort#create-source +/// \param amount The amount to charge the customer in EUR. +/// +/// \param returnURL The URL the customer should be redirected to after +/// they have successfully verified the payment. +/// +/// \param country The country code of the customer’s bank. +/// +/// \param statementDescriptor (Optional) A custom statement descriptor for +/// the payment. +/// @note The currency for Sofort must be “eur”. This will be set automatically +/// for you. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)sofortParamsWithAmount:(NSInteger)amount returnURL:(NSString * _Nonnull)returnURL country:(NSString * _Nonnull)country statementDescriptor:(NSString * _Nullable)statementDescriptor SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Klarna source. +/// seealso: +/// https://stripe.com/docs/sources/klarna#create-source +/// \param returnURL The URL the customer should be redirected to after +/// they have successfully verified the payment. +/// +/// \param currency The currency the payment is being created in. +/// +/// \param purchaseCountry The ISO-3166 2-letter country code of the customer’s location. +/// +/// \param items An array of STPKlarnaLineItems. Klarna will present these on the confirmation +/// page. The total amount charged will be a sum of the totalAmount of each of these items. +/// +/// \param customPaymentMethods Required for customers located in the US. This determines whether Pay Later and/or Slice It +/// is offered to a US customer. +/// +/// \param address An STPAddress for the customer. At a minimum, an email, line1, postalCode, city, and country must be provided. +/// The address’ name will be ignored in favor of the firstName and lastName` parameters. +/// +/// \param firstName The customer’s first name. +/// +/// \param lastName The customer’s last name. +/// If the provided information is missing a line1, postal code, city, email, or first/last name, or if the country code is +/// outside the specified country, no address information will be sent to Klarna, and Klarna will prompt the customer to provide their address. +/// +/// \param dateOfBirth The customer’s date of birth. This will be used by Klarna for a credit check in some EU countries. +/// The optional fields (address, firstName, lastName, and dateOfBirth) can be provided to skip Klarna’s customer information form. +/// If this information is missing, Klarna will prompt the customer for these values during checkout. +/// Be careful with this option: If the provided information is invalid, +/// Klarna may reject the transaction without giving the customer a chance to correct it. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)klarnaParamsWithReturnURL:(NSString * _Nonnull)returnURL currency:(NSString * _Nonnull)currency purchaseCountry:(NSString * _Nonnull)purchaseCountry items:(NSArray * _Nonnull)items customPaymentMethods:(NSArray * _Nonnull)customPaymentMethods billingAddress:(STPAddress * _Nullable)address billingFirstName:(NSString * _Nullable)firstName billingLastName:(NSString * _Nullable)lastName billingDOB:(STPDateOfBirth * _Nullable)dateOfBirth SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a Klarna source. +/// seealso: +/// https://stripe.com/docs/sources/klarna#create-source +/// \param returnURL The URL the customer should be redirected to after +/// they have successfully verified the payment. +/// +/// \param currency The currency the payment is being created in. +/// +/// \param purchaseCountry The ISO-3166 2-letter country code of the customer’s location. +/// +/// \param items An array of STPKlarnaLineItems. Klarna will present these in the confirmation +/// dialog. The total amount charged will be a sum of the totalAmount of each of these items. +/// +/// \param customPaymentMethods Required for customers located in the US. This determines whether Pay Later and/or Slice It +/// is offered to a US customer. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)klarnaParamsWithReturnURL:(NSString * _Nonnull)returnURL currency:(NSString * _Nonnull)currency purchaseCountry:(NSString * _Nonnull)purchaseCountry items:(NSArray * _Nonnull)items customPaymentMethods:(NSArray * _Nonnull)customPaymentMethods SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a 3DS source. +/// seealso: +/// https://stripe.com/docs/sources/three-d-secure#create-3ds-source +/// \param amount The amount to charge the customer. +/// +/// \param currency The currency the payment is being created in. +/// +/// \param returnURL The URL the customer should be redirected to after they have +/// successfully verified the payment. +/// +/// \param card The ID of the card source. +/// +/// +/// returns: +/// an STPSourceParams object populated with the provided card details. ++ (STPSourceParams * _Nonnull)threeDSecureParamsWithAmount:(NSInteger)amount currency:(NSString * _Nonnull)currency returnURL:(NSString * _Nonnull)returnURL card:(NSString * _Nonnull)card SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a single-use Alipay source +/// seealso: +/// https://stripe.com/docs/sources/alipay#create-source +/// \param amount The amount to charge the customer. +/// +/// \param currency The currency the payment is being created in. +/// +/// \param returnURL The URL the customer should be redirected to after they have +/// successfully verified the payment. +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values ++ (STPSourceParams * _Nonnull)alipayParamsWithAmount:(NSInteger)amount currency:(NSString * _Nonnull)currency returnURL:(NSString * _Nonnull)returnURL SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a reusable Alipay source +/// seealso: +/// https://stripe.com/docs/sources/alipay#create-source +/// \param currency The currency the payment is being created in. +/// +/// \param returnURL The URL the customer should be redirected to after they have +/// successfully verified the payment. +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values ++ (STPSourceParams * _Nonnull)alipayReusableParamsWithCurrency:(NSString * _Nonnull)currency returnURL:(NSString * _Nonnull)returnURL SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a P24 source +/// seealso: +/// https://stripe.com/docs/sources/p24#create-source +/// \param amount The amount to charge the customer. +/// +/// \param currency The currency the payment is being created in (this must be +/// EUR or PLN) +/// +/// \param email The email address of the account holder. +/// +/// \param name The full name of the account holder (optional). +/// +/// \param returnURL The URL the customer should be redirected to after they have +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)p24ParamsWithAmount:(NSInteger)amount currency:(NSString * _Nonnull)currency email:(NSString * _Nonnull)email name:(NSString * _Nullable)name returnURL:(NSString * _Nonnull)returnURL SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a card source created from Visa Checkout. +/// seealso: +/// https://stripe.com/docs/visa-checkout +/// @note Creating an STPSource with these params will give you a +/// source with type == STPSourceTypeCard +/// \param callId The callId property from a VisaCheckoutResult object. +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)visaCheckoutParamsWithCallId:(NSString * _Nonnull)callId SWIFT_WARN_UNUSED_RESULT; +/// Creates params for a card source created from Masterpass. +/// seealso: +/// https://stripe.com/docs/masterpass +/// @note Creating an STPSource with these params will give you a +/// source with type == STPSourceTypeCard +/// \param cartId The cartId from a MCCCheckoutResponse object. +/// +/// \param transactionId The transactionid from a MCCCheckoutResponse object. +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)masterpassParamsWithCartId:(NSString * _Nonnull)cartId transactionId:(NSString * _Nonnull)transactionId SWIFT_WARN_UNUSED_RESULT; +/// Create params for an EPS source +/// seealso: +/// https://stripe.com/docs/sources/eps +/// \param amount The amount to charge the customer. +/// +/// \param name The full name of the account holder. +/// +/// \param returnURL The URL the customer should be redirected to +/// after the authorization process. +/// +/// \param statementDescriptor A custom statement descriptor for the +/// payment (optional). +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)epsParamsWithAmount:(NSInteger)amount name:(NSString * _Nonnull)name returnURL:(NSString * _Nonnull)returnURL statementDescriptor:(NSString * _Nullable)statementDescriptor SWIFT_WARN_UNUSED_RESULT; +/// Create params for a Multibanco source +/// seealso: +/// https://stripe.com/docs/sources/multibanco +/// \param amount The amount to charge the customer. +/// +/// \param returnURL The URL the customer should be redirected to after the +/// authorization process. +/// +/// \param email The full email address of the customer. +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)multibancoParamsWithAmount:(NSInteger)amount returnURL:(NSString * _Nonnull)returnURL email:(NSString * _Nonnull)email SWIFT_WARN_UNUSED_RESULT; +/// Create params for a WeChat Pay native app redirect source +/// @note This feature is in private beta. For participating users, see +/// https://stripe.com/docs/sources/wechat-pay/ios +/// \param amount The amount to charge the customer. +/// +/// \param currency The currency of the payment +/// +/// \param appId Your WeChat-provided application id. WeChat Pay uses +/// this as the redirect URL scheme +/// +/// \param statementDescriptor A custom statement descriptor for the payment (optional). +/// +/// +/// returns: +/// An STPSourceParams object populated with the provided values. ++ (STPSourceParams * _Nonnull)wechatPayParamsWithAmount:(NSInteger)amount currency:(NSString * _Nonnull)currency appId:(NSString * _Nonnull)appId statementDescriptor:(NSString * _Nullable)statementDescriptor SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// Private setter allows for setting the name of the app in the returnURL so +/// that it can be displayed on hooks.stripe.com if the automatic redirect back +/// to the app fails. +/// We intercept the reading of redirect dictionary from STPFormEncoder and replace +/// the value of return_url if necessary +- (NSDictionary * _Nonnull)redirectDictionaryWithMerchantNameIfNecessary SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nullable)rootObjectName SWIFT_WARN_UNUSED_RESULT; ++ (NSDictionary * _Nonnull)propertyNamesToFormFieldNamesMapping SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +@end + + + +/// Information related to a source’s receiver flow. +SWIFT_CLASS("_TtC6Stripe17STPSourceReceiver") +@interface STPSourceReceiver : NSObject +/// The address of the receiver source. This is the value that should be communicated to the customer to send their funds to. +@property (nonatomic, readonly, copy) NSString * _Nullable address; +/// The total amount charged by you. +@property (nonatomic, readonly, strong) NSNumber * _Nullable amountCharged; +/// The total amount received by the receiver source. +@property (nonatomic, readonly, strong) NSNumber * _Nullable amountReceived; +/// The total amount that was returned to the customer. +@property (nonatomic, readonly, strong) NSNumber * _Nullable amountReturned; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +enum STPSourceRedirectStatus : NSInteger; + +/// Information related to a source’s redirect flow. +SWIFT_CLASS("_TtC6Stripe17STPSourceRedirect") +@interface STPSourceRedirect : NSObject +/// The URL you provide to redirect the customer to after they authenticated their payment. +@property (nonatomic, readonly, copy) NSURL * _Nonnull returnURL; +/// The status of the redirect. +@property (nonatomic, readonly) enum STPSourceRedirectStatus status; +/// The URL provided to you to redirect a customer to as part of a redirect authentication flow. +@property (nonatomic, readonly, copy) NSURL * _Nonnull url; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// Redirect status types for a Source. +typedef SWIFT_ENUM(NSInteger, STPSourceRedirectStatus, open) { +/// The redirect is pending. + STPSourceRedirectStatusPending = 0, +/// The redirect has succeeded. + STPSourceRedirectStatusSucceeded = 1, +/// The redirect has failed. + STPSourceRedirectStatusFailed = 2, +/// The redirect should not be used. + STPSourceRedirectStatusNotRequired = 3, +/// The state of the redirect is unknown. + STPSourceRedirectStatusUnknown = 4, +}; + + +/// This class provides typed access to the contents of an STPSource details +/// dictionary for SEPA Debit sources. +SWIFT_CLASS("_TtC6Stripe25STPSourceSEPADebitDetails") +@interface STPSourceSEPADebitDetails : NSObject +/// You cannot directly instantiate an STPSourceSEPADebitDetails. +/// You should only use one that is part of an existing STPSource object. +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// The last 4 digits of the account number. +@property (nonatomic, readonly, copy) NSString * _Nullable last4; +/// The account’s bank code. +@property (nonatomic, readonly, copy) NSString * _Nullable bankCode; +/// Two-letter ISO code representing the country of the bank account. +@property (nonatomic, readonly, copy) NSString * _Nullable country; +/// The account’s fingerprint. +@property (nonatomic, readonly, copy) NSString * _Nullable fingerprint; +/// The reference of the mandate accepted by your customer. +@property (nonatomic, readonly, copy) NSString * _Nullable mandateReference; +/// The details of the mandate accepted by your customer. +@property (nonatomic, readonly, copy) NSURL * _Nullable mandateURL; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// Status types for a Source +typedef SWIFT_ENUM(NSInteger, STPSourceStatus, open) { +/// The source has been created and is awaiting customer action. + STPSourceStatusPending = 0, +/// The source is ready to use. The customer action has been completed or the +/// payment method requires no customer action. + STPSourceStatusChargeable = 1, +/// The source has been used. This status only applies to single-use sources. + STPSourceStatusConsumed = 2, +/// The source, which was chargeable, has expired because it was not used to +/// make a charge request within a specified amount of time. + STPSourceStatusCanceled = 3, +/// Your customer has not taken the required action or revoked your access +/// (e.g., did not authorize the payment with their bank or canceled their +/// mandate acceptance for SEPA direct debits). + STPSourceStatusFailed = 4, +/// The source status is unknown. + STPSourceStatusUnknown = 5, +}; + +/// Types for a Source +/// seealso: +/// https://stripe.com/docs/sources +typedef SWIFT_ENUM(NSInteger, STPSourceType, open) { +/// A Bancontact source. - seealso: https://stripe.com/docs/sources/bancontact + STPSourceTypeBancontact = 0, +/// A card source. - seealso: https://stripe.com/docs/sources/cards + STPSourceTypeCard = 1, +/// A Giropay source. - seealso: https://stripe.com/docs/sources/giropay + STPSourceTypeGiropay = 2, +/// An iDEAL source. - seealso: https://stripe.com/docs/sources/ideal + STPSourceTypeiDEAL SWIFT_COMPILE_NAME("iDEAL") = 3, +/// A SEPA Direct Debit source. - seealso: https://stripe.com/docs/sources/sepa-debit + STPSourceTypeSEPADebit = 4, +/// A Sofort source. - seealso: https://stripe.com/docs/sources/sofort + STPSourceTypeSofort = 5, +/// A 3DS card source. - seealso: https://stripe.com/docs/sources/three-d-secure + STPSourceTypeThreeDSecure = 6, +/// An Alipay source. - seealso: https://stripe.com/docs/sources/alipay + STPSourceTypeAlipay = 7, +/// A P24 source. - seealso: https://stripe.com/docs/sources/p24 + STPSourceTypeP24 = 8, +/// An EPS source. - seealso: https://stripe.com/docs/sources/eps + STPSourceTypeEPS = 9, +/// A Multibanco source. - seealso: https://stripe.com/docs/sources/multibanco + STPSourceTypeMultibanco = 10, +/// A WeChat Pay source. - seealso: https://stripe.com/docs/sources/wechat-pay + STPSourceTypeWeChatPay = 11, +/// A Klarna source. - seealso: https://stripe.com/docs/sources/klarna + STPSourceTypeKlarna = 12, +/// An unknown type of source. + STPSourceTypeUnknown = 13, +}; + +/// Usage types for a Source +typedef SWIFT_ENUM(NSInteger, STPSourceUsage, open) { +/// The source can be reused. + STPSourceUsageReusable = 0, +/// The source can only be used once. + STPSourceUsageSingleUse = 1, +/// The source’s usage is unknown. + STPSourceUsageUnknown = 2, +}; + +enum STPSourceVerificationStatus : NSInteger; + +/// Information related to a source’s verification flow. +SWIFT_CLASS("_TtC6Stripe21STPSourceVerification") +@interface STPSourceVerification : NSObject +/// The number of attempts remaining to authenticate the source object with a +/// verification code. +@property (nonatomic, readonly, strong) NSNumber * _Nullable attemptsRemaining; +/// The status of the verification. +@property (nonatomic, readonly) enum STPSourceVerificationStatus status; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// Verification status types for a Source. +typedef SWIFT_ENUM(NSInteger, STPSourceVerificationStatus, open) { +/// The verification is pending. + STPSourceVerificationStatusPending = 0, +/// The verification has succeeeded. + STPSourceVerificationStatusSucceeded = 1, +/// The verification has failed. + STPSourceVerificationStatusFailed = 2, +/// The state of the verification is unknown. + STPSourceVerificationStatusUnknown = 3, +}; + + +/// Details of a WeChat Pay Source. +SWIFT_CLASS("_TtC6Stripe25STPSourceWeChatPayDetails") +@interface STPSourceWeChatPayDetails : NSObject +/// A URL to the WeChat App. +/// Use STPRedirectContext instead of redirecting users yourself. +@property (nonatomic, readonly, copy) NSString * _Nullable weChatAppURL; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// :nodoc: +SWIFT_CLASS("_TtC6Stripe22STPStringFromCardBrand") SWIFT_DEPRECATED_MSG("STPStringFromCardBrand has been replaced with STPCardBrandUtilities.stringFrom(brand)") +@interface STPStringFromCardBrand : NSObject +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// STPTheme objects can be used to visually style Stripe-provided UI. See https://stripe.com/docs/mobile/ios/standard#theming for more information. +SWIFT_CLASS("_TtC6Stripe8STPTheme") +@interface STPTheme : NSObject +/// The default theme used by all Stripe UI. All themable UI classes, such as STPAddCardViewController, have one initializer that takes a theme and one that does not. If you use the one that does not, the default theme will be used to customize that view controller’s appearance. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPTheme * _Nonnull defaultTheme;) ++ (STPTheme * _Nonnull)defaultTheme SWIFT_WARN_UNUSED_RESULT; +/// The primary background color of the theme. This will be used as the backgroundColor for any views with this theme. +@property (nonatomic, strong) UIColor * _Nonnull primaryBackgroundColor; +/// The secondary background color of this theme. This will be used as the backgroundColor for any supplemental views inside a view with this theme - for example, a UITableView will set it’s cells’ background color to this value. +@property (nonatomic, strong) UIColor * _Nonnull secondaryBackgroundColor; +/// This color is automatically derived by reducing the alpha of the primaryBackgroundColor and is used as a section border color in table view cells. +@property (nonatomic, readonly, strong) UIColor * _Nonnull tertiaryBackgroundColor; +/// This color is automatically derived by reducing the brightness of the primaryBackgroundColor and is used as a separator color in table view cells. +@property (nonatomic, readonly, strong) UIColor * _Nonnull quaternaryBackgroundColor; +/// The primary foreground color of this theme. This will be used as the text color for any important labels in a view with this theme (such as the text color for a text field that the user needs to fill out). +@property (nonatomic, strong) UIColor * _Nonnull primaryForegroundColor; +/// The secondary foreground color of this theme. This will be used as the text color for any supplementary labels in a view with this theme (such as the placeholder color for a text field that the user needs to fill out). +@property (nonatomic, strong) UIColor * _Nonnull secondaryForegroundColor; +/// This color is automatically derived from the secondaryForegroundColor with a lower alpha component, used for disabled text. +@property (nonatomic, readonly, strong) UIColor * _Nonnull tertiaryForegroundColor; +/// The accent color of this theme - it will be used for any buttons and other elements on a view that are important to highlight. +@property (nonatomic, strong) UIColor * _Nonnull accentColor; +/// The error color of this theme - it will be used for rendering any error messages or views. +@property (nonatomic, strong) UIColor * _Nonnull errorColor; +/// The font to be used for all views using this theme. Make sure to select an appropriate size. +@property (nonatomic, strong) UIFont * _Nonnull font; +/// The medium-weight font to be used for all bold text in views using this theme. Make sure to select an appropriate size. +@property (nonatomic, strong) UIFont * _Nonnull emphasisFont; +/// The navigation bar style to use for any view controllers presented modally +/// by the SDK. The default value will be determined based on the brightness +/// of the theme’s secondaryBackgroundColor. +@property (nonatomic) UIBarStyle barStyle; +/// A Boolean value indicating whether the navigation bar for any view controllers +/// presented modally by the SDK should be translucent. The default value is YES. +@property (nonatomic) BOOL translucentNavigationBar; +/// This font is automatically derived from the font, with a slightly lower point size, and will be used for supplementary labels. +@property (nonatomic, readonly, strong) UIFont * _Nonnull smallFont; +/// This font is automatically derived from the font, with a larger point size, and will be used for large labels such as SMS code entry. +@property (nonatomic, readonly, strong) UIFont * _Nonnull largeFont; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +@interface STPTheme (SWIFT_EXTENSION(Stripe)) +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +@end + +enum STPThreeDSCustomizationButtonType : NSInteger; +enum STPThreeDSButtonTitleStyle : NSInteger; + +/// A customization object to use to configure the UI of a button. +SWIFT_CLASS("_TtC6Stripe29STPThreeDSButtonCustomization") +@interface STPThreeDSButtonCustomization : NSObject +/// The default settings for the provided button type. ++ (STPThreeDSButtonCustomization * _Nonnull)defaultSettingsForButtonType:(enum STPThreeDSCustomizationButtonType)type SWIFT_WARN_UNUSED_RESULT; +/// Initializes an instance of STDSButtonCustomization with the given backgroundColor and colorRadius. +- (nonnull instancetype)initWithBackgroundColor:(UIColor * _Nonnull)backgroundColor cornerRadius:(CGFloat)cornerRadius OBJC_DESIGNATED_INITIALIZER; +/// The background color of the button. +/// The default for .resend and .cancel is clear. +/// The default for .submit, .continue, and .next is blue. +@property (nonatomic, strong) UIColor * _Nonnull backgroundColor; +/// The corner radius of the button. Defaults to 8. +@property (nonatomic) CGFloat cornerRadius; +/// The capitalization style of the button title. +@property (nonatomic) enum STPThreeDSButtonTitleStyle titleStyle; +/// The font of the title. +@property (nonatomic, strong) UIFont * _Nullable font; +/// The text color of the title. +@property (nonatomic, strong) UIColor * _Nullable textColor; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + +/// An enumeration of the case transformations that can be applied to the button’s title +typedef SWIFT_ENUM(NSInteger, STPThreeDSButtonTitleStyle, open) { +/// Default style, doesn’t modify the title + STPThreeDSButtonTitleStyleDefault = 0, +/// Applies localizedUppercaseString to the title + STPThreeDSButtonTitleStyleUppercase = 1, +/// Applies localizedLowercaseString to the title + STPThreeDSButtonTitleStyleLowercase = 2, +/// Applies localizedCapitalizedString to the title + STPThreeDSButtonTitleStyleSentenceCapitalized = 3, +}; + +/// An enum that defines the different types of buttons that are able to be customized. +typedef SWIFT_ENUM(NSInteger, STPThreeDSCustomizationButtonType, open) { +/// The submit button type. + STPThreeDSCustomizationButtonTypeSubmit = 0, +/// The continue button type. + STPThreeDSCustomizationButtonTypeContinue = 1, +/// The next button type. + STPThreeDSCustomizationButtonTypeNext = 2, +/// The cancel button type. + STPThreeDSCustomizationButtonTypeCancel = 3, +/// The resend button type. + STPThreeDSCustomizationButtonTypeResend = 4, +}; + +@class STPThreeDSUICustomization; + +/// STPThreeDSCustomizationSettings provides customization options for 3DS2 authentication flows in your app. +SWIFT_CLASS("_TtC6Stripe31STPThreeDSCustomizationSettings") +@interface STPThreeDSCustomizationSettings : NSObject +/// Returns an STPThreeDSCustomizationSettings preconfigured with the default +/// Stripe UI settings and a 10 minute authenticationTimeout. +/// @deprecated Use STPThreeDSCustomizationSettings() instead. The default settings are the same. ++ (STPThreeDSCustomizationSettings * _Nonnull)defaultSettings SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("Use STPThreeDSCustomizationSettings() instead of STPThreeDSCustomizationSettings.defaultSettings()."); +/// uiCustomization can be used to provide custom UI settings for the authentication +/// challenge screens presented during a Three Domain Secure authentication. For more information see +/// our guide on supporting 3DS2 in your iOS application. +/// Note: It’s important to configure this object appropriately before calling any STPPaymentHandler APIs. +/// The API makes a copy of the customization settings you provide; it ignores any subsequent changes you +/// make to your STPThreeDSUICustomization instance. +/// Defaults to STPThreeDSUICustomization.defaultSettings(). +@property (nonatomic, strong) STPThreeDSUICustomization * _Nonnull uiCustomization; +/// authenticationTimeout is the total time allowed for a user to complete a 3DS2 authentication +/// interaction, in minutes. This value must be at least 5 minutes. +/// Defaults to 10 minutes. +@property (nonatomic) NSInteger authenticationTimeout; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// The Challenge view displays a footer with additional details that +/// expand when tapped. This object configures the appearance of that view. +SWIFT_CLASS("_TtC6Stripe29STPThreeDSFooterCustomization") +@interface STPThreeDSFooterCustomization : NSObject +/// The default settings. ++ (STPThreeDSFooterCustomization * _Nonnull)defaultSettings SWIFT_WARN_UNUSED_RESULT; +/// The background color of the footer. +/// Defaults to gray. +@property (nonatomic, strong) UIColor * _Nonnull backgroundColor; +/// The color of the chevron. Defaults to a dark gray. +@property (nonatomic, strong) UIColor * _Nonnull chevronColor; +/// The color of the heading text. Defaults to black. +@property (nonatomic, strong) UIColor * _Nonnull headingTextColor; +/// The font to use for the heading text. +@property (nonatomic, strong) UIFont * _Nonnull headingFont; +/// The font of the text. +@property (nonatomic, strong) UIFont * _Nullable font; +/// The color of the text. +@property (nonatomic, strong) UIColor * _Nullable textColor; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A customization object to use to configure the UI of a text label. +SWIFT_CLASS("_TtC6Stripe28STPThreeDSLabelCustomization") +@interface STPThreeDSLabelCustomization : NSObject +/// The default settings. ++ (STPThreeDSLabelCustomization * _Nonnull)defaultSettings SWIFT_WARN_UNUSED_RESULT; +/// The font to use for heading text. +@property (nonatomic, strong) UIFont * _Nonnull headingFont; +/// The color of heading text. Defaults to black. +@property (nonatomic, strong) UIColor * _Nonnull headingTextColor; +/// The font to use for non-heading text. +@property (nonatomic, strong) UIFont * _Nullable font; +/// The color to use for non-heading text. Defaults to black. +@property (nonatomic, strong) UIColor * _Nullable textColor; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A customization object to use to configure a UINavigationBar. +SWIFT_CLASS("_TtC6Stripe36STPThreeDSNavigationBarCustomization") +@interface STPThreeDSNavigationBarCustomization : NSObject +/// The default settings. ++ (STPThreeDSNavigationBarCustomization * _Nonnull)defaultSettings SWIFT_WARN_UNUSED_RESULT; +/// The tint color of the navigation bar background. +/// Defaults to nil. +@property (nonatomic, strong) UIColor * _Nullable barTintColor; +/// The navigation bar style. +/// Defaults to UIBarStyleDefault. +/// @note This property controls the UIStatusBarStyle. Set this to UIBarStyleBlack +/// to change the statusBarStyle to UIStatusBarStyleLightContent - even if you also set +/// barTintColor to change the actual color of the navigation bar. +@property (nonatomic) UIBarStyle barStyle; +/// A Boolean value indicating whether the navigation bar is translucent or not. +/// Defaults to YES. +@property (nonatomic) BOOL translucent; +/// The text to display in the title of the navigation bar. +/// Defaults to “Secure checkout”. +@property (nonatomic, copy) NSString * _Nonnull headerText; +/// The text to display for the button in the navigation bar. +/// Defaults to “Cancel”. +@property (nonatomic, copy) NSString * _Nonnull buttonText; +/// The font to use for the title. Defaults to nil. +@property (nonatomic, strong) UIFont * _Nullable font; +/// The color to use for the title. Defaults to nil. +@property (nonatomic, strong) UIColor * _Nullable textColor; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A customization object that configures the appearance of +/// radio buttons and checkboxes. +SWIFT_CLASS("_TtC6Stripe32STPThreeDSSelectionCustomization") +@interface STPThreeDSSelectionCustomization : NSObject +/// The default settings. ++ (STPThreeDSSelectionCustomization * _Nonnull)defaultSettings SWIFT_WARN_UNUSED_RESULT; +/// The primary color of the selected state. +/// Defaults to blue. +@property (nonatomic, strong) UIColor * _Nonnull primarySelectedColor; +/// The secondary color of the selected state (e.g. the checkmark color). +/// Defaults to white. +@property (nonatomic, strong) UIColor * _Nonnull secondarySelectedColor; +/// The background color displayed in the unselected state. +/// Defaults to light blue. +@property (nonatomic, strong) UIColor * _Nonnull unselectedBackgroundColor; +/// The color of the border drawn around the view in the unselected state. +/// Defaults to blue. +@property (nonatomic, strong) UIColor * _Nonnull unselectedBorderColor; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// A customization object to use to configure the UI of a text field. +SWIFT_CLASS("_TtC6Stripe32STPThreeDSTextFieldCustomization") +@interface STPThreeDSTextFieldCustomization : NSObject +/// The default settings. ++ (STPThreeDSTextFieldCustomization * _Nonnull)defaultSettings SWIFT_WARN_UNUSED_RESULT; +/// The border width of the text field. Defaults to 2. +@property (nonatomic) CGFloat borderWidth; +/// The color of the border of the text field. Defaults to clear. +@property (nonatomic, strong) UIColor * _Nonnull borderColor; +/// The corner radius of the edges of the text field. Defaults to 8. +@property (nonatomic) CGFloat cornerRadius; +/// The appearance of the keyboard. Defaults to UIKeyboardAppearanceDefault. +@property (nonatomic) UIKeyboardAppearance keyboardAppearance; +/// The color of the placeholder text. Defaults to light gray. +@property (nonatomic, strong) UIColor * _Nonnull placeholderTextColor; +/// The font to use for text. +@property (nonatomic, strong) UIFont * _Nullable font; +/// The color to use for the text. Defaults to black. +@property (nonatomic, strong) UIColor * _Nullable textColor; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// The STPThreeDSUICustomization provides configuration for UI elements displayed during 3D Secure authentication. +/// Note: It’s important to configure this object appropriately before calling any STPPaymentHandler APIs. +/// The API makes a copy of the customization settings you provide; it ignores any subsequent changes you +/// make to your STPThreeDSUICustomization instance. +/// seealso: +/// https://stripe.com/docs/mobile/ios/authentication +SWIFT_CLASS("_TtC6Stripe25STPThreeDSUICustomization") +@interface STPThreeDSUICustomization : NSObject +/// The default settings. See individual properties for their default values. ++ (STPThreeDSUICustomization * _Nonnull)defaultSettings SWIFT_WARN_UNUSED_RESULT; +/// Provides custom settings for the UINavigationBar of all UIViewControllers displayed during 3D Secure authentication. +/// The default is STPThreeDSNavigationBarCustomization.defaultSettings(). +@property (nonatomic, strong) STPThreeDSNavigationBarCustomization * _Nonnull navigationBarCustomization; +/// Provides custom settings for labels. +/// The default is STPThreeDSLabelCustomization.defaultSettings(). +@property (nonatomic, strong) STPThreeDSLabelCustomization * _Nonnull labelCustomization; +/// Provides custom settings for text fields. +/// The default is STPThreeDSTextFieldCustomization.defaultSettings(). +@property (nonatomic, strong) STPThreeDSTextFieldCustomization * _Nonnull textFieldCustomization; +/// The primary background color of all UIViewControllers displayed during 3D Secure authentication. +/// Defaults to white. +@property (nonatomic, strong) UIColor * _Nonnull backgroundColor; +/// Provides custom settings for the footer the challenge view can display containing additional details. +/// The default is STPThreeDSFooterCustomization.defaultSettings(). +@property (nonatomic, strong) STPThreeDSFooterCustomization * _Nonnull footerCustomization; +/// Sets a given button customization for the specified type. +/// \param buttonCustomization The buttom customization to use. +/// +/// \param buttonType The type of button to use the customization for. +/// +- (void)setButtonCustomization:(STPThreeDSButtonCustomization * _Nonnull)buttonCustomization forType:(enum STPThreeDSCustomizationButtonType)buttonType; +/// Retrieves a button customization object for the given button type. +/// seealso: +/// STPThreeDSButtonCustomization +/// \param buttonType The button type to retrieve a customization object for. +/// +/// +/// returns: +/// A button customization object, or the default if none was set. +- (STPThreeDSButtonCustomization * _Nonnull)buttonCustomizationForButtonType:(enum STPThreeDSCustomizationButtonType)buttonType SWIFT_WARN_UNUSED_RESULT; +/// Provides custom settings for radio buttons and checkboxes. +/// The default is STPThreeDSSelectionCustomization.defaultSettings(). +@property (nonatomic, strong) STPThreeDSSelectionCustomization * _Nonnull selectionCustomization; +/// The style of UIActivityIndicatorViews displayed. +/// This should contrast with backgroundColor. Defaults to gray. +@property (nonatomic) UIActivityIndicatorViewStyle activityIndicatorViewStyle; +/// The style of the UIBlurEffect displayed underneath the UIActivityIndicatorView. +/// Defaults to UIBlurEffectStyleLight. +@property (nonatomic) UIBlurEffectStyle blurStyle; +/// :nodoc: +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +enum STPTokenType : NSInteger; + +/// A token returned from submitting payment details to the Stripe API. You should not have to instantiate one of these directly. +SWIFT_CLASS("_TtC6Stripe8STPToken") +@interface STPToken : NSObject +/// You cannot directly instantiate an STPToken. You should only use one that has been returned from an STPAPIClient callback. +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +/// The value of the token. You can store this value on your server and use it to make charges and customers. +/// seealso: +/// https://stripe.com/docs/charges +@property (nonatomic, readonly, copy) NSString * _Nonnull tokenId; +/// Whether or not this token was created in livemode. Will be YES if you used your Live Publishable Key, and NO if you used your Test Publishable Key. +@property (nonatomic, readonly) BOOL livemode; +/// The type of this token. +@property (nonatomic, readonly) enum STPTokenType type; +/// The credit card details that were used to create the token. Will only be set if the token was created via a credit card or Apple Pay, otherwise it will be +/// nil. +@property (nonatomic, readonly, strong) STPCard * _Nullable card; +/// The bank account details that were used to create the token. Will only be set if the token was created with a bank account, otherwise it will be nil. +@property (nonatomic, readonly, strong) STPBankAccount * _Nullable bankAccount; +/// When the token was created. +@property (nonatomic, readonly, copy) NSDate * _Nullable created; +@property (nonatomic, readonly, copy) NSDictionary * _Nonnull allResponseFields; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull description; +/// :nodoc: +@property (nonatomic, readonly, copy) NSString * _Nonnull debugDescription; +/// :nodoc: +- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +@property (nonatomic, readonly) NSUInteger hash; +@property (nonatomic, readonly, copy) NSString * _Nonnull stripeID; ++ (nullable instancetype)decodedObjectFromAPIResponse:(NSDictionary * _Nullable)response SWIFT_WARN_UNUSED_RESULT; +@end + +/// Possible Token types +typedef SWIFT_ENUM(NSInteger, STPTokenType, open) { +/// Account token type + STPTokenTypeAccount = 0, +/// Bank account token type + STPTokenTypeBankAccount = 1, +/// Card token type + STPTokenTypeCard = 2, +/// PII token type + STPTokenTypePII = 3, +/// CVC update token type + STPTokenTypeCvcUpdate = 4, +}; + + +/// You can use this class to specify information that you’ve already collected +/// from your user. You can then set the prefilledInformation property on +/// STPPaymentContext, STPAddCardViewController, etc and it will pre-fill +/// this information whenever possible. +SWIFT_CLASS("_TtC6Stripe18STPUserInformation") +@interface STPUserInformation : NSObject +/// The user’s billing address. When set, the add card form will be filled with +/// this address. The user will also have the option to fill their shipping address +/// using this address. +/// @note Set this using setBillingAddressWithBillingDetails: to use the billing +/// details from an STPPaymentMethod or STPPaymentMethodParams instance. +@property (nonatomic, strong) STPAddress * _Nullable billingAddress; +/// The user’s shipping address. When set, the shipping address form will be filled +/// with this address. The user will also have the option to fill their billing +/// address using this address. +@property (nonatomic, strong) STPAddress * _Nullable shippingAddress; +/// A convenience method to populate billingAddress with a PaymentMethod’s billing details. +/// @note Calling this overwrites the value of billingAddress. +- (void)setBillingAddressWithBillingDetails:(STPPaymentMethodBillingDetails * _Nonnull)billingDetails; +/// :nodoc: +- (id _Nonnull)copyWithZone:(struct _NSZone * _Nullable)zone SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + + + + + + + +@interface UINavigationBar (SWIFT_EXTENSION(Stripe)) +/// Sets the navigation bar’s appearance to the desired theme. This will affect the +/// bar’s tintColor and barTintColor properties, as well as the color of the +/// single-pixel line at the bottom of the navbar. +/// \param theme the theme to use to style the navigation bar. - seealso: STPTheme.h +/// @deprecated Use the stp_theme property instead +/// +- (void)stp_setTheme:(STPTheme * _Nonnull)theme SWIFT_DEPRECATED_MSG("Use the `stp_theme` property instead"); +/// Sets the navigation bar’s appearance to the desired theme. This will affect the bar’s tintColor and barTintColor properties, as well as the color of the single-pixel line at the bottom of the navbar. +/// Stripe view controllers will use their navigation bar’s theme for their UIBarButtonItems instead of their own theme if it is not nil. +/// seealso: +/// STPTheme.h +@property (nonatomic, strong) STPTheme * _Nullable stp_theme; +@end + + + + + + + + + + + + + + + + + + +@class PKPaymentRequest; +@protocol STPApplePayContextDelegate; +@class UIWindow; + +/// An Objective-C bridge for STPApplePayContext. +/// :nodoc: +SWIFT_CLASS_NAMED("_stpobjc_APContext") +@interface STPApplePayContext : NSObject +/// Initializes this class. +/// @note This may return nil if the request is invalid e.g. the user is restricted by parental controls, or can’t make payments on any of the request’s supported networks +/// \param paymentRequest The payment request to use with Apple Pay. +/// +/// \param delegate The delegate. +/// +- (nullable instancetype)initWithPaymentRequest:(PKPaymentRequest * _Nonnull)paymentRequest delegate:(id _Nullable)delegate OBJC_DESIGNATED_INITIALIZER; +/// Presents the Apple Pay sheet from the specified view controller, starting the payment process. +/// @note This method should only be called once; create a new instance of STPApplePayContext every time you present Apple Pay. +/// @deprecated A presenting UIViewController is no longer needed. Use presentApplePay(completion:) instead. +/// \param viewController The UIViewController instance to present the Apple Pay sheet on +/// +/// \param completion Called after the Apple Pay sheet is presented +/// +- (void)presentApplePayOnViewController:(UIViewController * _Nonnull)viewController completion:(void (^ _Nullable)(void))completion SWIFT_DEPRECATED_MSG("Use `presentApplePay(completion:)` instead.", "presentApplePayWithCompletion:"); +/// Presents the Apple Pay sheet from the key window, starting the payment process. +/// @note This method should only be called once; create a new instance of STPApplePayContext every time you present Apple Pay. +/// \param completion Called after the Apple Pay sheet is presented +/// +- (void)presentApplePayWithCompletion:(void (^ _Nullable)(void))completion SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable,message="Use `presentApplePay(from:completion:)` in App Extensions.") SWIFT_AVAILABILITY(ios_app_extension,unavailable,message="Use `presentApplePay(from:completion:)` in App Extensions."); +/// Presents the Apple Pay sheet from the specified window, starting the payment process. +/// @note This method should only be called once; create a new instance of STPApplePayContext every time you present Apple Pay. +/// \param window The UIWindow to host the Apple Pay sheet +/// +/// \param completion Called after the Apple Pay sheet is presented +/// +- (void)presentApplePayFromWindow:(UIWindow * _Nullable)window withCompletion:(void (^ _Nullable)(void))completion; +/// The STPAPIClient instance to use to make API requests to Stripe. +/// Defaults to STPAPIClient.shared. +@property (nonatomic, strong) STPAPIClient * _Nonnull apiClient; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@class PKPaymentRequestShippingMethodUpdate; +@class PKPaymentRequestShippingContactUpdate; + +/// Implement the required methods of this delegate to supply a PaymentIntent to STPApplePayContext and be notified of the completion of the Apple Pay payment. +/// You may also implement the optional delegate methods to handle shipping methods and shipping address changes e.g. to verify you can ship to the address, or update the payment amount. +/// :nodoc: +SWIFT_PROTOCOL_NAMED("_stpobjc_APContextDelegate") +@protocol STPApplePayContextDelegate +/// Called after the customer has authorized Apple Pay. Implement this method to call the completion block with the client secret of a PaymentIntent or SetupIntent. +/// \param paymentMethod The PaymentMethod that represents the customer’s Apple Pay payment method. +/// If you create the PaymentIntent with confirmation_method=manual, pass paymentMethod.stripeId as the payment_method and confirm=true. Otherwise, you can ignore this parameter. +/// +/// \param paymentInformation The underlying PKPayment created by Apple Pay. +/// If you create the PaymentIntent with confirmation_method=manual, you can collect shipping information using its shippingContact and shippingMethod properties. +/// +/// \param completion Call this with the PaymentIntent or SetupIntent client secret, or the error that occurred creating the PaymentIntent or SetupIntent. +/// +- (void)applePayContext:(STPApplePayContext * _Nonnull)context didCreatePaymentMethod:(STPPaymentMethod * _Nonnull)paymentMethod paymentInformation:(PKPayment * _Nonnull)paymentInformation completion:(void (^ _Nonnull)(NSString * _Nullable, NSError * _Nullable))completion; +/// Called after the Apple Pay sheet is dismissed with the result of the payment. +/// Your implementation could stop a spinner and display a receipt view or error to the customer, for example. +/// \param status The status of the payment +/// +/// \param error The error that occurred, if any. +/// +- (void)applePayContext:(STPApplePayContext * _Nonnull)context didCompleteWithStatus:(enum STPPaymentStatus)status error:(NSError * _Nullable)error; +@optional +/// Called when the user selects a new shipping method. The delegate should determine +/// shipping costs based on the shipping method and either the shipping address supplied in the original +/// PKPaymentRequest or the address fragment provided by the last call to paymentAuthorizationController: +/// didSelectShippingContact:completion:. +/// You must invoke the completion block with an updated array of PKPaymentSummaryItem objects. +- (void)applePayContext:(STPApplePayContext * _Nonnull)context didSelectShippingMethod:(PKShippingMethod * _Nonnull)shippingMethod handler:(void (^ _Nonnull)(PKPaymentRequestShippingMethodUpdate * _Nonnull))handler; +/// Called when the user has selected a new shipping address. You should inspect the +/// address and must invoke the completion block with an updated array of PKPaymentSummaryItem objects. +/// @note To maintain privacy, the shipping information is anonymized. For example, in the United States it only includes the city, state, and zip code. This provides enough information to calculate shipping costs, without revealing sensitive information until the user actually approves the purchase. +/// Receive full shipping information in the paymentInformation passed to applePayContext:didCreatePaymentMethod:paymentInformation:completion: +- (void)applePayContext:(STPApplePayContext * _Nonnull)context didSelectShippingContact:(PKContact * _Nonnull)contact handler:(void (^ _Nonnull)(PKPaymentRequestShippingContactUpdate * _Nonnull))handler; +@end + +@class STPAppInfo; + +/// An Objective-C bridge for STPAPIClient. +/// :nodoc: +SWIFT_CLASS_NAMED("_stpobjc_STPAPIClient") +@interface STPAPIClient : NSObject +/// The current version of this library. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull STPSDKVersion;) ++ (NSString * _Nonnull)STPSDKVersion SWIFT_WARN_UNUSED_RESULT; +/// A shared singleton API client. +/// By default, the SDK uses this instance to make API requests +/// eg in STPPaymentHandler, STPPaymentContext, STPCustomerContext, etc. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPAPIClient * _Nonnull sharedClient;) ++ (STPAPIClient * _Nonnull)sharedClient SWIFT_WARN_UNUSED_RESULT; +/// The client’s publishable key. +/// The default value is StripeAPI.defaultPublishableKey. +@property (nonatomic, copy) NSString * _Nullable publishableKey; +/// The client’s configuration. +/// Defaults to STPPaymentConfiguration.shared. +@property (nonatomic, strong) STPPaymentConfiguration * _Nonnull configuration; +/// In order to perform API requests on behalf of a connected account, e.g. to +/// create a Source or Payment Method on a connected account, set this property to the ID of the +/// account for which this request is being made. +/// seealso: +/// https://stripe.com/docs/connect/authentication#authentication-via-the-stripe-account-header +@property (nonatomic, copy) NSString * _Nullable stripeAccount; +/// Libraries wrapping the Stripe SDK should set this, so that Stripe can contact you about future issues or critical updates. +/// seealso: +/// https://stripe.com/docs/building-plugins#setappinfo +@property (nonatomic, strong) STPAppInfo * _Nullable appInfo; +/// The API version used to communicate with Stripe. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull apiVersion;) ++ (NSString * _Nonnull)apiVersion SWIFT_WARN_UNUSED_RESULT; +/// Initializes an API client with the given publishable key. +/// \param publishableKey The publishable key to use. +/// +/// +/// returns: +/// An instance of STPAPIClient. +- (nonnull instancetype)initWithPublishableKey:(NSString * _Nonnull)publishableKey OBJC_DESIGNATED_INITIALIZER; +/// Initializes an API client with the given configuration. +/// \param configuration The configuration to use. +/// +/// +/// returns: +/// An instance of STPAPIClient. +- (nonnull instancetype)initWithConfiguration:(STPPaymentConfiguration * _Nonnull)configuration OBJC_DESIGNATED_INITIALIZER SWIFT_DEPRECATED_MSG("This initializer previously configured publishableKey and stripeAccount via the STPPaymentConfiguration instance. This behavior is deprecated; set the STPAPIClient configuration, publishableKey, and stripeAccount properties directly on the STPAPIClient instead."); +/// Converts an STPBankAccount object into a Stripe token using the Stripe API. +/// \param bankAccount The user’s bank account details. Cannot be nil. - seealso: https://stripe.com/docs/api#create_bank_account_token +/// +/// \param completion The callback to run with the returned Stripe token (and any errors that may have occurred). +/// +- (void)createTokenWithBankAccount:(STPBankAccountParams * _Nonnull)bankAccount completion:(void (^ _Nonnull)(STPToken * _Nullable, NSError * _Nullable))completion; +/// Converts a personal identification number into a Stripe token using the Stripe API. +/// \param pii The user’s personal identification number. Cannot be nil. - seealso: https://stripe.com/docs/api#create_pii_token +/// +/// \param completion The callback to run with the returned Stripe token (and any errors that may have occurred). +/// +- (void)createTokenWithPersonalIDNumber:(NSString * _Nonnull)pii completion:(void (^ _Nullable)(STPToken * _Nullable, NSError * _Nullable))completion; +/// Converts the last 4 SSN digits into a Stripe token using the Stripe API. +/// \param ssnLast4 The last 4 digits of the user’s SSN. Cannot be nil. +/// +/// \param completion The callback to run with the returned Stripe token (and any errors that may have occurred). +/// +- (void)createTokenWithSSNLast4:(NSString * _Nonnull)ssnLast4 completion:(void (^ _Nonnull)(STPToken * _Nullable, NSError * _Nullable))completion; +/// Converts an STPConnectAccountParams object into a Stripe token using the Stripe API. +/// This allows the connected account to accept the Terms of Service, and/or send Legal Entity information. +/// \param account The Connect Account parameters. Cannot be nil. +/// +/// \param completion The callback to run with the returned Stripe token (and any errors that may have occurred). +/// +- (void)createTokenWithConnectAccount:(STPConnectAccountParams * _Nonnull)account completion:(void (^ _Nullable)(STPToken * _Nullable, NSError * _Nullable))completion; +/// Uses the Stripe file upload API to upload an image. This can be used for +/// identity verification and evidence disputes. +/// seealso: +/// https://stripe.com/docs/file-upload +/// \param image The image to be uploaded. The maximum allowed file size is 4MB +/// for identity documents and 8MB for evidence disputes. Cannot be nil. +/// Your image will be automatically resized down if you pass in one that +/// is too large +/// +/// \param purpose The purpose of this file. This can be either an identifing +/// document or an evidence dispute. +/// +/// \param completion The callback to run with the returned Stripe file +/// (and any errors that may have occurred). +/// +- (void)uploadImage:(UIImage * _Nonnull)image purpose:(enum STPFilePurpose)purpose completion:(void (^ _Nullable)(STPFile * _Nullable, NSError * _Nullable))completion; +/// Converts an STPCardParams object into a Stripe token using the Stripe API. +/// \param cardParams The user’s card details. Cannot be nil. - seealso: https://stripe.com/docs/api#create_card_token +/// +/// \param completion The callback to run with the returned Stripe token (and any errors that may have occurred). +/// +- (void)createTokenWithCard:(STPCardParams * _Nonnull)cardParams completion:(void (^ _Nonnull)(STPToken * _Nullable, NSError * _Nullable))completion; +/// Converts a CVC string into a Stripe token using the Stripe API. +/// \param cvc The CVC/CVV number used to create the token. Cannot be nil. +/// +/// \param completion The callback to run with the returned Stripe token (and any errors that may have occurred). +/// +- (void)createTokenForCVCUpdate:(NSString * _Nonnull)cvc completion:(void (^ _Nullable)(STPToken * _Nullable, NSError * _Nullable))completion; +/// Creates a Source object using the provided details. +/// Note: in order to create a source on a connected account, you can set your +/// API client’s stripeAccount property to the ID of the account. +/// seealso: +/// https://stripe.com/docs/sources/connect#creating-direct-charges +/// \param sourceParams The details of the source to create. Cannot be nil. - seealso: https://stripe.com/docs/api#create_source +/// +/// \param completion The callback to run with the returned Source object, or an error. +/// +- (void)createSourceWithParams:(STPSourceParams * _Nonnull)sourceParams completion:(void (^ _Nonnull)(STPSource * _Nullable, NSError * _Nullable))completion; +/// Retrieves the Source object with the given ID. - seealso: https://stripe.com/docs/api#retrieve_source +/// \param identifier The identifier of the source to be retrieved. Cannot be nil. +/// +/// \param secret The client secret of the source. Cannot be nil. +/// +/// \param completion The callback to run with the returned Source object, or an error. +/// +- (void)retrieveSourceWithId:(NSString * _Nonnull)identifier clientSecret:(NSString * _Nonnull)secret completion:(void (^ _Nonnull)(STPSource * _Nullable, NSError * _Nullable))completion; +/// Starts polling the Source object with the given ID. For payment methods that require +/// additional customer action (e.g. authorizing a payment with their bank), polling +/// allows you to determine if the action was successful. Polling will stop and the +/// provided callback will be called once the source’s status is no longer pending, +/// or if the given timeout is reached and the source is still pending. If polling +/// stops due to an error, the callback will be fired with the latest retrieved +/// source and the error. +/// Note that if a poll is already running for a source, subsequent calls to startPolling +/// with the same source ID will do nothing. +/// \param identifier The identifier of the source to be retrieved. Cannot be nil. +/// +/// \param secret The client secret of the source. Cannot be nil. +/// +/// \param timeout The timeout for the polling operation, in seconds. Timeouts are capped at 5 minutes. +/// +/// \param completion The callback to run with the returned Source object, or an error. +/// +- (void)startPollingSourceWithId:(NSString * _Nonnull)identifier clientSecret:(NSString * _Nonnull)secret timeout:(NSTimeInterval)timeout completion:(void (^ _Nonnull)(STPSource * _Nullable, NSError * _Nullable))completion SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable) SWIFT_AVAILABILITY(ios_app_extension,unavailable); +/// Stops polling the Source object with the given ID. Note that the completion block passed to +/// startPolling will not be fired when stopPolling is called. +/// \param identifier The identifier of the source to be retrieved. Cannot be nil. +/// +- (void)stopPollingSourceWithId:(NSString * _Nonnull)identifier SWIFT_AVAILABILITY(maccatalyst_app_extension,unavailable) SWIFT_AVAILABILITY(ios_app_extension,unavailable); +/// Retrieves the PaymentIntent object using the given secret. - seealso: https://stripe.com/docs/api#retrieve_payment_intent +/// \param secret The client secret of the payment intent to be retrieved. Cannot be nil. +/// +/// \param completion The callback to run with the returned PaymentIntent object, or an error. +/// +- (void)retrievePaymentIntentWithClientSecret:(NSString * _Nonnull)secret completion:(void (^ _Nonnull)(STPPaymentIntent * _Nullable, NSError * _Nullable))completion; +/// Retrieves the PaymentIntent object using the given secret. - seealso: https://stripe.com/docs/api#retrieve_payment_intent +/// \param secret The client secret of the payment intent to be retrieved. Cannot be nil. +/// +/// \param expand An array of string keys to expand on the returned PaymentIntent object. These strings should match one or more of the parameter names that are marked as expandable. - seealso: https://stripe.com/docs/api/payment_intents/object +/// +/// \param completion The callback to run with the returned PaymentIntent object, or an error. +/// +- (void)retrievePaymentIntentWithClientSecret:(NSString * _Nonnull)secret expand:(NSArray * _Nullable)expand completion:(void (^ _Nonnull)(STPPaymentIntent * _Nullable, NSError * _Nullable))completion; +/// Confirms the PaymentIntent object with the provided params object. +/// At a minimum, the params object must include the clientSecret. +/// seealso: +/// https://stripe.com/docs/api#confirm_payment_intent +/// @note Use the confirmPayment:withAuthenticationContext:completion: method on STPPaymentHandler instead +/// of calling this method directly. It handles any authentication necessary for you. - seealso: https://stripe.com/docs/mobile/ios/authentication +/// \param paymentIntentParams The STPPaymentIntentParams to pass to /confirm +/// +/// \param completion The callback to run with the returned PaymentIntent object, or an error. +/// +- (void)confirmPaymentIntentWithParams:(STPPaymentIntentParams * _Nonnull)paymentIntentParams completion:(void (^ _Nonnull)(STPPaymentIntent * _Nullable, NSError * _Nullable))completion; +/// Confirms the PaymentIntent object with the provided params object. +/// At a minimum, the params object must include the clientSecret. +/// seealso: +/// https://stripe.com/docs/api#confirm_payment_intent +/// @note Use the confirmPayment:withAuthenticationContext:completion: method on STPPaymentHandler instead +/// of calling this method directly. It handles any authentication necessary for you. - seealso: https://stripe.com/docs/mobile/ios/authentication +/// \param paymentIntentParams The STPPaymentIntentParams to pass to /confirm +/// +/// \param expand An array of string keys to expand on the returned PaymentIntent object. These strings should match one or more of the parameter names that are marked as expandable. - seealso: https://stripe.com/docs/api/payment_intents/object +/// +/// \param completion The callback to run with the returned PaymentIntent object, or an error. +/// +- (void)confirmPaymentIntentWithParams:(STPPaymentIntentParams * _Nonnull)paymentIntentParams expand:(NSArray * _Nullable)expand completion:(void (^ _Nonnull)(STPPaymentIntent * _Nullable, NSError * _Nullable))completion; +/// Retrieves the SetupIntent object using the given secret. - seealso: https://stripe.com/docs/api/setup_intents/retrieve +/// \param secret The client secret of the SetupIntent to be retrieved. Cannot be nil. +/// +/// \param completion The callback to run with the returned SetupIntent object, or an error. +/// +- (void)retrieveSetupIntentWithClientSecret:(NSString * _Nonnull)secret completion:(void (^ _Nonnull)(STPSetupIntent * _Nullable, NSError * _Nullable))completion; +/// Confirms the SetupIntent object with the provided params object. +/// At a minimum, the params object must include the clientSecret. +/// seealso: +/// https://stripe.com/docs/api/setup_intents/confirm +/// @note Use the confirmSetupIntent:withAuthenticationContext:completion: method on STPPaymentHandler instead +/// of calling this method directly. It handles any authentication necessary for you. - seealso: https://stripe.com/docs/mobile/ios/authentication +/// \param setupIntentParams The STPSetupIntentConfirmParams to pass to /confirm +/// +/// \param completion The callback to run with the returned PaymentIntent object, or an error. +/// +- (void)confirmSetupIntentWithParams:(STPSetupIntentConfirmParams * _Nonnull)setupIntentParams completion:(void (^ _Nonnull)(STPSetupIntent * _Nullable, NSError * _Nullable))completion; +/// Creates a PaymentMethod object with the provided params object. +/// seealso: +/// https://stripe.com/docs/api/payment_methods/create +/// \param paymentMethodParams The STPPaymentMethodParams to pass to /v1/payment_methods. Cannot be nil. +/// +/// \param completion The callback to run with the returned PaymentMethod object, or an error. +/// +- (void)createPaymentMethodWithParams:(STPPaymentMethodParams * _Nonnull)paymentMethodParams completion:(void (^ _Nonnull)(STPPaymentMethod * _Nullable, NSError * _Nullable))completion; +/// Creates a Radar Session. +/// note: +/// See https://stripe.com/docs/radar/radar-session +/// note: +/// This API and the guide linked above require special permissions to use. Contact support@stripe.com. +/// note: +/// StripeAPI.advancedFraudSignalsEnabled must be true to use this method. +/// note: +/// See STPRadarSession +/// \param completion The callback to run with the returned STPRadarSession (and any errors that may have occurred). +/// +- (void)createRadarSessionWithCompletion:(void (^ _Nonnull)(STPRadarSession * _Nullable, NSError * _Nullable))completion; +/// Converts a PKPayment object into a Stripe token using the Stripe API. +/// \param payment The user’s encrypted payment information as returned from a PKPaymentAuthorizationController. Cannot be nil. +/// +/// \param completion The callback to run with the returned Stripe token (and any errors that may have occurred). +/// +- (void)createTokenWithPayment:(PKPayment * _Nonnull)payment completion:(void (^ _Nonnull)(STPToken * _Nullable, NSError * _Nullable))completion; +/// Converts a PKPayment object into a Stripe source using the Stripe API. +/// \param payment The user’s encrypted payment information as returned from a PKPaymentAuthorizationController. Cannot be nil. +/// +/// \param completion The callback to run with the returned Stripe source (and any errors that may have occurred). +/// +- (void)createSourceWithPayment:(PKPayment * _Nonnull)payment completion:(void (^ _Nonnull)(STPSource * _Nullable, NSError * _Nullable))completion; +/// Converts a PKPayment object into a Stripe Payment Method using the Stripe API. +/// \param payment The user’s encrypted payment information as returned from a PKPaymentAuthorizationController. Cannot be nil. +/// +/// \param completion The callback to run with the returned Stripe source (and any errors that may have occurred). +/// +- (void)createPaymentMethodWithPayment:(PKPayment * _Nonnull)payment completion:(void (^ _Nonnull)(STPPaymentMethod * _Nullable, NSError * _Nullable))completion; +/// Converts Stripe errors into the appropriate Apple Pay error, for use in PKPaymentAuthorizationResult. +/// If the error can be fixed by the customer within the Apple Pay sheet, we return an NSError that can be displayed in the Apple Pay sheet. +/// Otherwise, the original error is returned, resulting in the Apple Pay sheet being dismissed. You should display the error message to the customer afterwards. +/// Currently, we convert billing address related errors into a PKPaymentError that helpfully points to the billing address field in the Apple Pay sheet. +/// Note that Apple Pay should prevent most card errors (e.g. invalid CVC, expired cards) when you add a card to the wallet. +/// \param stripeError An error from the Stripe SDK. +/// ++ (NSError * _Nullable)pkPaymentErrorForStripeError:(NSError * _Nullable)stripeError SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +/// Libraries wrapping the Stripe SDK should use this object to provide information about the library, and set it +/// in on STPAPIClient. This information is passed to Stripe so that we can contact you about future issues or critical updates. +/// seealso: +/// https://stripe.com/docs/building-plugins#setappinfo +/// :nodoc: +SWIFT_CLASS_NAMED("_stpobjc_STPAppInfo") +@interface STPAppInfo : NSObject +/// Initializes an instance of STPAppInfo. +/// \param name The name of your library (e.g. “MyAwesomeLibrary”). +/// +/// \param partnerId Your Stripe Partner ID (e.g. “pp_partner_1234”). Required for Stripe Verified Partners, optional otherwise. +/// +/// \param version The version of your library (e.g. “1.2.34”). Optional. +/// +/// \param url The website for your library (e.g. “https://myawesomelibrary.info”). Optional. +/// +- (nonnull instancetype)initWithName:(NSString * _Nonnull)name partnerId:(NSString * _Nullable)partnerId version:(NSString * _Nullable)version url:(NSString * _Nullable)url OBJC_DESIGNATED_INITIALIZER; +/// The name of your library (e.g. “MyAwesomeLibrary”). +@property (nonatomic, readonly, copy) NSString * _Nonnull name; +/// Your Stripe Partner ID (e.g. “pp_partner_1234”). +@property (nonatomic, readonly, copy) NSString * _Nullable partnerId; +/// The version of your library (e.g. “1.2.34”). +@property (nonatomic, readonly, copy) NSString * _Nullable version; +/// The website for your library (e.g. “https://myawesomelibrary.info”). +@property (nonatomic, readonly, copy) NSString * _Nullable url; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// :nodoc: +/// Top-level class for Stripe error constants. +SWIFT_CLASS_NAMED("_stpobjc_STPError") +@interface STPError : NSObject +/// All Stripe iOS errors will be under this domain. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull stripeDomain;) ++ (NSString * _Nonnull)stripeDomain SWIFT_WARN_UNUSED_RESULT; +/// A human-readable message providing more details about the error. +/// For card errors, these messages can be shown to your users. +/// seealso: +/// https://stripe.com/docs/api/errors#errors-message +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull errorMessageKey;) ++ (NSString * _Nonnull)errorMessageKey SWIFT_WARN_UNUSED_RESULT; +/// An SDK-supplied “hint” that is intended to help you, the developer, fix the error +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull hintKey;) ++ (NSString * _Nonnull)hintKey SWIFT_WARN_UNUSED_RESULT; +/// What went wrong with your STPCard (e.g., STPInvalidCVC. See below for full list). +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull cardErrorCodeKey;) ++ (NSString * _Nonnull)cardErrorCodeKey SWIFT_WARN_UNUSED_RESULT; +/// Which parameter on the STPCard had an error (e.g., “cvc”). Useful for marking up the +/// right UI element. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull errorParameterKey;) ++ (NSString * _Nonnull)errorParameterKey SWIFT_WARN_UNUSED_RESULT; +/// The error code returned by the Stripe API. +/// seealso: +/// https://stripe.com/docs/api#errors-code +/// seealso: +/// https://stripe.com/docs/error-codes +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull stripeErrorCodeKey;) ++ (NSString * _Nonnull)stripeErrorCodeKey SWIFT_WARN_UNUSED_RESULT; +/// The error type returned by the Stripe API. +/// seealso: +/// https://stripe.com/docs/api#errors-type +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull stripeErrorTypeKey;) ++ (NSString * _Nonnull)stripeErrorTypeKey SWIFT_WARN_UNUSED_RESULT; +/// If the value of userInfo[stripeErrorCodeKey] is STPError.cardDeclined, +/// the value for this key contains the decline code. +/// seealso: +/// https://stripe.com/docs/declines/codes +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull stripeDeclineCodeKey;) ++ (NSString * _Nonnull)stripeDeclineCodeKey SWIFT_WARN_UNUSED_RESULT; +/// The card number is not a valid credit card number. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull invalidNumber;) ++ (NSString * _Nonnull)invalidNumber SWIFT_WARN_UNUSED_RESULT; +/// The card has an invalid expiration month. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull invalidExpMonth;) ++ (NSString * _Nonnull)invalidExpMonth SWIFT_WARN_UNUSED_RESULT; +/// The card has an invalid expiration year. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull invalidExpYear;) ++ (NSString * _Nonnull)invalidExpYear SWIFT_WARN_UNUSED_RESULT; +/// The card has an invalid CVC. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull invalidCVC;) ++ (NSString * _Nonnull)invalidCVC SWIFT_WARN_UNUSED_RESULT; +/// The card number is incorrect. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull incorrectNumber;) ++ (NSString * _Nonnull)incorrectNumber SWIFT_WARN_UNUSED_RESULT; +/// The card is expired. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull expiredCard;) ++ (NSString * _Nonnull)expiredCard SWIFT_WARN_UNUSED_RESULT; +/// The card was declined. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull cardDeclined;) ++ (NSString * _Nonnull)cardDeclined SWIFT_WARN_UNUSED_RESULT; +/// An error occured while processing this card. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull processingError;) ++ (NSString * _Nonnull)processingError SWIFT_WARN_UNUSED_RESULT; +/// The card has an incorrect CVC. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull incorrectCVC;) ++ (NSString * _Nonnull)incorrectCVC SWIFT_WARN_UNUSED_RESULT; +/// The postal code is incorrect. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _Nonnull incorrectZip;) ++ (NSString * _Nonnull)incorrectZip SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +/// :nodoc: +/// Possible error code values for NSErrors with the StripeDomain domain +typedef SWIFT_ENUM_NAMED(NSInteger, STPErrorCode, "_stpobjc_STPErrorCode", open) { +/// Trouble connecting to Stripe. + STPConnectionError SWIFT_COMPILE_NAME("connectionError") = 40, +/// Your request had invalid parameters. + STPInvalidRequestError SWIFT_COMPILE_NAME("invalidRequestError") = 50, +/// No valid publishable API key provided. + STPAuthenticationError SWIFT_COMPILE_NAME("authenticationError") = 51, +/// General-purpose API error. + STPAPIError SWIFT_COMPILE_NAME("apiError") = 60, +/// Something was wrong with the given card details. + STPCardError SWIFT_COMPILE_NAME("cardError") = 70, +/// The operation was cancelled. + STPCancellationError SWIFT_COMPILE_NAME("cancellationError") = 80, +/// The ephemeral key could not be decoded. Make sure your backend is sending +/// the unmodified JSON of the ephemeral key to your app. +/// https://stripe.com/docs/mobile/ios/standard#prepare-your-api + STPEphemeralKeyDecodingError SWIFT_COMPILE_NAME("ephemeralKeyDecodingError") = 1000, +}; + + +/// A top-level class that imports the rest of the Stripe SDK. +/// :nodoc: +SWIFT_CLASS_NAMED("_stpobjc_StripeAPI") +@interface StripeAPI : NSObject +/// Set this to your Stripe publishable API key, obtained from https://dashboard.stripe.com/apikeys. +/// Set this as early as possible in your application’s lifecycle, preferably in your AppDelegate or SceneDelegate. +/// New instances of STPAPIClient will be initialized with this value. +/// @warning Make sure not to ship your test API keys to the App Store! This will log a warning if you use your test key in a release build. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, copy) NSString * _Nullable defaultPublishableKey;) ++ (NSString * _Nullable)defaultPublishableKey SWIFT_WARN_UNUSED_RESULT; ++ (void)setDefaultPublishableKey:(NSString * _Nullable)newValue; +/// A Boolean value that determines whether additional device data is sent to Stripe for fraud prevention. +/// If YES, additional device signals will be sent to Stripe. +/// For more details on the information we collect, visit https://stripe.com/docs/disputes/prevention/advanced-fraud-detection +/// Disabling this setting will reduce Stripe’s ability to protect your business from fraudulent payments. +/// The default value is YES. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL advancedFraudSignalsEnabled;) ++ (BOOL)advancedFraudSignalsEnabled SWIFT_WARN_UNUSED_RESULT; ++ (void)setAdvancedFraudSignalsEnabled:(BOOL)newValue; +/// If the SDK receives a “Too Many Requests” (429) status code from Stripe, +/// it will automatically retry the request. +/// The default value is 3. +/// See https://stripe.com/docs/rate-limits for more information. +SWIFT_CLASS_PROPERTY(@property (nonatomic, class) NSInteger maxRetries;) ++ (NSInteger)maxRetries SWIFT_WARN_UNUSED_RESULT; ++ (void)setMaxRetries:(NSInteger)newValue; +/// Call this method in your app delegate whenever you receive an URL in your +/// app delegate for a Stripe callback. +/// For convenience, you can pass all URL’s you receive in your app delegate +/// to this method first, and check the return value +/// to easily determine whether it is a callback URL that Stripe will handle +/// or if your app should process it normally. +/// If you are using a universal link URL, you will receive the callback in application:continueUserActivity:restorationHandler: +/// To learn more about universal links, see https://developer.apple.com/library/content/documentation/General/Conceptual/AppSearch/UniversalLinks.html +/// If you are using a native scheme URL, you will receive the callback in application:openURL:options: +/// To learn more about native url schemes, see https://developer.apple.com/library/content/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/Inter-AppCommunication/Inter-AppCommunication.html#//apple_ref/doc/uid/TP40007072-CH6-SW10 +/// \param url The URL that you received in your app delegate +/// +/// +/// returns: +/// YES if the URL is expected and will be handled by Stripe. NO otherwise. ++ (BOOL)handleStripeURLCallbackWithURL:(NSURL * _Nonnull)url; +/// Japanese users can enable JCB for Apple Pay by setting this to YES, after they have been approved by JCB. +/// The default value is NO. +/// @note JCB is only supported on iOS 10.1+ +SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL jcbPaymentNetworkSupported;) ++ (BOOL)jcbPaymentNetworkSupported SWIFT_WARN_UNUSED_RESULT; ++ (void)setJcbPaymentNetworkSupported:(BOOL)newValue; +/// The SDK accepts Amex, Mastercard, Visa, and Discover for Apple Pay. +/// Set this property to enable other card networks in addition to these. +/// For example, additionalEnabledApplePayNetworks = [.JCB] enables JCB (note this requires onboarding from JCB and Stripe). +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, copy) NSArray * _Nonnull additionalEnabledApplePayNetworks;) ++ (NSArray * _Nonnull)additionalEnabledApplePayNetworks SWIFT_WARN_UNUSED_RESULT; ++ (void)setAdditionalEnabledApplePayNetworks:(NSArray * _Nonnull)newValue; +/// Whether or not this device is capable of using Apple Pay. This checks both +/// whether the device supports Apple Pay, as well as whether or not they have +/// stored Apple Pay cards on their device. +/// \param paymentRequest The return value of this method depends on the +/// supportedNetworks property of this payment request, which by default should be +/// [.amex, .masterCard, .visa, .discover]. +/// +/// +/// returns: +/// whether or not the user is currently able to pay with Apple Pay. ++ (BOOL)canSubmitPaymentRequest:(PKPaymentRequest * _Nonnull)paymentRequest SWIFT_WARN_UNUSED_RESULT; +/// Whether or not this can make Apple Pay payments via a card network supported +/// by Stripe. +/// The Stripe supported Apple Pay card networks are: +/// American Express, Visa, Mastercard, Discover, Maestro. +/// Japanese users can enable JCB by setting JCBPaymentNetworkSupported to YES, +/// after they have been approved by JCB. +/// +/// returns: +/// YES if the device is currently able to make Apple Pay payments via one +/// of the supported networks. NO if the user does not have a saved card of a +/// supported type, or other restrictions prevent payment (such as parental controls). ++ (BOOL)deviceSupportsApplePay SWIFT_WARN_UNUSED_RESULT; +/// A convenience method to build a PKPaymentRequest with sane default values. +/// You will still need to configure the paymentSummaryItems property to indicate +/// what the user is purchasing, as well as the optional requiredShippingAddressFields, +/// requiredBillingAddressFields, and shippingMethods properties to indicate +/// what contact information your application requires. +/// Note that this method sets the payment request’s countryCode to “US” and its +/// currencyCode to “USD”. +/// \param merchantIdentifier Your Apple Merchant ID. +/// +/// +/// returns: +/// a PKPaymentRequest with proper default values. Returns nil if running on < iOS8. +/// @deprecated Use paymentRequestWithMerchantIdentifier:country:currency: instead. +/// Apple Pay is available in many countries and currencies, and you should use +/// the appropriate values for your business. ++ (PKPaymentRequest * _Nonnull)paymentRequestWithMerchantIdentifier:(NSString * _Nonnull)merchantIdentifier SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("Use `paymentRequestWithMerchantIdentifier:country:currency:` instead."); +/// A convenience method to build a PKPaymentRequest with sane default values. +/// You will still need to configure the paymentSummaryItems property to indicate +/// what the user is purchasing, as well as the optional requiredShippingContactFields, +/// requiredBillingContactFields, and shippingMethods properties to indicate +/// what additional contact information your application requires. +/// \param merchantIdentifier Your Apple Merchant ID. +/// +/// \param countryCode The two-letter code for the country where the payment +/// will be processed. This should be the country of your Stripe account. +/// +/// \param currencyCode The three-letter code for the currency used by this +/// payment request. Apple Pay interprets the amounts provided by the summary items +/// attached to this request as amounts in this currency. +/// +/// +/// returns: +/// a PKPaymentRequest with proper default values. ++ (PKPaymentRequest * _Nonnull)paymentRequestWithMerchantIdentifier:(NSString * _Nonnull)merchantIdentifier country:(NSString * _Nonnull)countryCode currency:(NSString * _Nonnull)currencyCode SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Headers/Stripe-umbrella.h b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Headers/Stripe-umbrella.h new file mode 100644 index 0000000..b062ed0 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Headers/Stripe-umbrella.h @@ -0,0 +1,11 @@ +// +// Stripe-umbrella.h +// StripeiOS +// +// Copyright © 2020 Stripe, Inc. All rights reserved. +// + +#ifndef Stripe_umbrella_h +#define Stripe_umbrella_h + +#endif /* Stripe_umbrella_h */ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Info.plist b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Info.plist new file mode 100644 index 0000000..1d8c0a9 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Info.plist differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Modules/Stripe.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Modules/Stripe.swiftmodule/arm64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..c510bfa Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Modules/Stripe.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Modules/Stripe.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Modules/Stripe.swiftmodule/arm64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..9487f08 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Modules/Stripe.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -0,0 +1,4764 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name Stripe +import AVFoundation +import CommonCrypto +import Contacts +import CoreLocation +import Foundation +import ObjectiveC +import PassKit +import SafariServices +import Security +@_exported import Stripe +import Stripe3DS2 +@_exported import StripeApplePay +@_exported import StripeCore +import StripeUICore +import Swift +import SwiftUI +import UIKit +import Vision +extension STPAPIClient { + public var configuration: Stripe.STPPaymentConfiguration { + get + set + } + @available(*, deprecated, message: "This initializer previously configured publishableKey and stripeAccount via the STPPaymentConfiguration instance. This behavior is deprecated; set the STPAPIClient configuration, publishableKey, and stripeAccount properties directly on the STPAPIClient instead.") + convenience public init(configuration: Stripe.STPPaymentConfiguration) +} +extension STPAPIClient { + public func createToken(withBankAccount bankAccount: Stripe.STPBankAccountParams, completion: @escaping Stripe.STPTokenCompletionBlock) +} +extension STPAPIClient { + public func createToken(withPersonalIDNumber pii: Swift.String, completion: Stripe.STPTokenCompletionBlock?) + public func createToken(withSSNLast4 ssnLast4: Swift.String, completion: @escaping Stripe.STPTokenCompletionBlock) +} +extension STPAPIClient { + public func createToken(withConnectAccount account: Stripe.STPConnectAccountParams, completion: Stripe.STPTokenCompletionBlock?) +} +extension STPAPIClient { + public func uploadImage(_ image: UIKit.UIImage, purpose: Stripe.STPFilePurpose, completion: Stripe.STPFileCompletionBlock?) +} +extension STPAPIClient { + public func createToken(withCard cardParams: Stripe.STPCardParams, completion: @escaping Stripe.STPTokenCompletionBlock) + public func createToken(forCVCUpdate cvc: Swift.String, completion: Stripe.STPTokenCompletionBlock? = nil) +} +extension STPAPIClient { + public func createSource(with sourceParams: Stripe.STPSourceParams, completion: @escaping Stripe.STPSourceCompletionBlock) + public func retrieveSource(withId identifier: Swift.String, clientSecret secret: Swift.String, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public func startPollingSource(withId identifier: Swift.String, clientSecret secret: Swift.String, timeout: Foundation.TimeInterval, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public func stopPollingSource(withId identifier: Swift.String) +} +extension STPAPIClient { + public func retrievePaymentIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + public func retrievePaymentIntent(withClientSecret secret: Swift.String, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) +} +extension STPAPIClient { + public func retrieveSetupIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPSetupIntentCompletionBlock) + public func confirmSetupIntent(with setupIntentParams: Stripe.STPSetupIntentConfirmParams, completion: @escaping Stripe.STPSetupIntentCompletionBlock) +} +extension STPAPIClient { + public func createPaymentMethod(with paymentMethodParams: Stripe.STPPaymentMethodParams, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSLabelCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSLabelCustomization + @objc public var headingFont: UIKit.UIFont { + @objc get + @objc set(headingFont) + } + @objc public var headingTextColor: UIKit.UIColor { + @objc get + @objc set(headingTextColor) + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set(textColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodUPI : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var vpa: Swift.String { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPSourceVerificationStatus : Swift.Int { + case pending + case succeeded + case failed + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceVerification : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var attemptsRemaining: Foundation.NSNumber? { + get + } + @objc public var status: Stripe.STPSourceVerificationStatus { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodOXXO : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public enum STPBankSelectionMethod : Swift.Int { + case FPX + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPBankSelectionViewController : Stripe.STPCoreTableViewController, UIKit.UITableViewDataSource, UIKit.UITableViewDelegate { + @objc convenience public init(bankMethod: Stripe.STPBankSelectionMethod) + @objc convenience required public init(theme: Stripe.STPTheme?) + @objc public init(bankMethod: Stripe.STPBankSelectionMethod, configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc weak public var delegate: Stripe.STPBankSelectionViewControllerDelegate? + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc deinit + @objc public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell + @objc public func tableView(_ tableView: UIKit.UITableView, willDisplay cell: UIKit.UITableViewCell, forRowAt indexPath: Foundation.IndexPath) + @objc public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc public func tableView(_ tableView: UIKit.UITableView, shouldHighlightRowAt indexPath: Foundation.IndexPath) -> Swift.Bool + @objc public func tableView(_ tableView: UIKit.UITableView, didSelectRowAt indexPath: Foundation.IndexPath) +} +@objc public protocol STPBankSelectionViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc(bankSelectionViewController:didCreatePaymentMethodParams:) func bankSelectionViewController(_ bankViewController: Stripe.STPBankSelectionViewController, didCreatePaymentMethodParams paymentMethodParams: Stripe.STPPaymentMethodParams) +} +@objc @_inheritsConvenienceInitializers public class STPSetupIntentConfirmParams : ObjectiveC.NSObject, Foundation.NSCopying, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(clientSecret: Swift.String) + @objc public var clientSecret: Swift.String + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? + @objc public var paymentMethodID: Swift.String? + @objc public var returnURL: Swift.String? + @objc public var useStripeSDK: Foundation.NSNumber? + @objc public var mandateData: Stripe.STPMandateDataParams? { + @objc get + @objc set(newMandateData) + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSUICustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSUICustomization + @objc public var navigationBarCustomization: Stripe.STPThreeDSNavigationBarCustomization { + @objc get + @objc set(navigationBarCustomization) + } + @objc public var labelCustomization: Stripe.STPThreeDSLabelCustomization { + @objc get + @objc set(labelCustomization) + } + @objc public var textFieldCustomization: Stripe.STPThreeDSTextFieldCustomization { + @objc get + @objc set(textFieldCustomization) + } + @objc public var backgroundColor: UIKit.UIColor { + @objc get + @objc set(backgroundColor) + } + @objc public var footerCustomization: Stripe.STPThreeDSFooterCustomization { + @objc get + @objc set(footerCustomization) + } + @objc(setButtonCustomization:forType:) public func setButtonCustomization(_ buttonCustomization: Stripe.STPThreeDSButtonCustomization, for buttonType: Stripe.STPThreeDSCustomizationButtonType) + @objc(buttonCustomizationForButtonType:) public func buttonCustomization(for buttonType: Stripe.STPThreeDSCustomizationButtonType) -> Stripe.STPThreeDSButtonCustomization + @objc public var selectionCustomization: Stripe.STPThreeDSSelectionCustomization { + @objc get + @objc set(selectionCustomization) + } + @objc public var activityIndicatorViewStyle: UIKit.UIActivityIndicatorView.Style { + @objc get + @objc set(activityIndicatorViewStyle) + } + @objc public var blurStyle: UIKit.UIBlurEffect.Style { + @objc get + @objc set(blurStyle) + } + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceWeChatPayDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var weChatAppURL: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@_inheritsConvenienceInitializers @available(swift, obsoleted: 0.0.1, message: "Use 'StripeAPI' instead.") +@objc(StripeAPI) public class _stpobjc_StripeAPI : ObjectiveC.NSObject { + @objc public static var defaultPublishableKey: Swift.String? { + @objc get + @objc set + } + @objc public static var advancedFraudSignalsEnabled: Swift.Bool { + @objc get + @objc set + } + @objc public static var maxRetries: Swift.Int { + @objc get + @objc set + } + @discardableResult + @objc(handleStripeURLCallbackWithURL:) public static func handleURLCallback(with url: Foundation.URL) -> Swift.Bool + @objc public class var jcbPaymentNetworkSupported: Swift.Bool { + @objc get + @objc set + } + @objc public static var additionalEnabledApplePayNetworks: [PassKit.PKPaymentNetwork] { + @objc get + @objc set + } + @objc public class func canSubmitPaymentRequest(_ paymentRequest: PassKit.PKPaymentRequest) -> Swift.Bool + @objc dynamic public class func deviceSupportsApplePay() -> Swift.Bool + @available(*, deprecated, message: "Use `paymentRequestWithMerchantIdentifier:country:currency:` instead.") + @objc public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String) -> PassKit.PKPaymentRequest + @objc public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String, country countryCode: Swift.String, currency currencyCode: Swift.String) -> PassKit.PKPaymentRequest + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPBankAccountHolderType : Swift.Int { + case individual + case company + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPBankAccountParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var accountNumber: Swift.String? + @objc public var last4: Swift.String? { + @objc get + } + @objc public var routingNumber: Swift.String? + @objc public var country: Swift.String? + @objc public var currency: Swift.String? + @objc public var accountHolderName: Swift.String? + @objc public var accountHolderType: Stripe.STPBankAccountHolderType + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public init() + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit +} +@objc public class STPMandateOnlineParams : ObjectiveC.NSObject { + @objc final public let ipAddress: Swift.String + @objc final public let userAgent: Swift.String + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc(initWithIPAddress:userAgent:) public init(ipAddress: Swift.String, userAgent: Swift.String) + @objc override dynamic public init() + @objc deinit +} +extension STPMandateOnlineParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPSetupIntentStatus : Swift.Int { + case unknown + case requiresPaymentMethod + case requiresConfirmation + case requiresAction + case processing + case succeeded + case canceled + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPSetupIntentUsage : Swift.Int { + case unknown + case none + case onSession + case offSession + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionAlipayHandleRedirect : ObjectiveC.NSObject { + @objc final public let nativeURL: Foundation.URL? + @objc final public let returnURL: Foundation.URL + @objc final public let url: Foundation.URL + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPIntentActionAlipayHandleRedirect : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_hasMissingDesignatedInitializers open class STPCustomerContext : ObjectiveC.NSObject, Stripe.STPBackendAPIAdapter { + @objc(initWithKeyProvider:) convenience public init(keyProvider: Stripe.STPCustomerEphemeralKeyProvider) + convenience public init(keyProvider: Stripe.STPCustomerEphemeralKeyProvider?, apiClient: StripeCore.STPAPIClient) + @available(swift, deprecated: 0.0.1, renamed: "init(keyProvider:apiClient:)") + @objc(initWithKeyProvider:apiClient:) convenience public init(keyProvider: Stripe.STPCustomerEphemeralKeyProvider?, apiClient: Stripe._stpobjc_STPAPIClient) + @objc public func clearCache() + @objc public var includeApplePayPaymentMethods: Swift.Bool { + @objc get + @objc set(includeApplePayMethods) + } + @objc public func retrieveCustomer(_ completion: Stripe.STPCustomerCompletionBlock? = nil) + @objc public func updateCustomer(withShippingAddress shipping: Stripe.STPAddress, completion: Stripe.STPErrorBlock?) + @objc public func attachPaymentMethodToCustomer(paymentMethodId: Swift.String, completion: Stripe.STPErrorBlock?) + @objc public func attachPaymentMethod(toCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc public func detachPaymentMethodFromCustomer(paymentMethodId: Swift.String, completion: Stripe.STPErrorBlock?) + @objc public func detachPaymentMethod(fromCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc public func listPaymentMethodsForCustomer(completion: Stripe.STPPaymentMethodsCompletionBlock? = nil) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodLinkParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodEPS : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPConnectAccountBusinessType : Swift.Int { + case individual + case company + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public class STPConnectAccountParams : ObjectiveC.NSObject { + @objc final public let tosShownAndAccepted: Foundation.NSNumber? + @objc final public let businessType: Stripe.STPConnectAccountBusinessType + @objc final public let individual: Stripe.STPConnectAccountIndividualParams? + @objc final public let company: Stripe.STPConnectAccountCompanyParams? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init?(tosShownAndAccepted wasAccepted: Swift.Bool, individual: Stripe.STPConnectAccountIndividualParams) + @objc public init?(tosShownAndAccepted wasAccepted: Swift.Bool, company: Stripe.STPConnectAccountCompanyParams) + @objc public init(individual: Stripe.STPConnectAccountIndividualParams) + @objc public init(company: Stripe.STPConnectAccountCompanyParams) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountParams : Stripe.STPFormEncodable { + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodFPX : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var bankIdentifierCode: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPCoreTableViewController : Stripe.STPCoreScrollViewController { + @objc public var tableView: UIKit.UITableView? { + @objc get + } + @objc override dynamic public func viewWillAppear(_ animated: Swift.Bool) + @objc public func tableView(_ tableView: UIKit.UITableView, heightForHeaderInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc required public init(theme: Stripe.STPTheme?) + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc deinit +} +@objc public enum STPShippingType : Swift.Int { + case shipping + case delivery + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPShippingStatus : Swift.Int { + case valid + case invalid + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentStatus : Swift.Int { + case success + case error + case userCancellation + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPErrorBlock = (Swift.Error?) -> Swift.Void +public typealias STPBooleanSuccessBlock = (Swift.Bool, Swift.Error?) -> Swift.Void +public typealias STPJSONResponseCompletionBlock = ([Swift.AnyHashable : Any]?, Swift.Error?) -> Swift.Void +public typealias STPTokenCompletionBlock = (Stripe.STPToken?, Swift.Error?) -> Swift.Void +public typealias STPSourceCompletionBlock = (Stripe.STPSource?, Swift.Error?) -> Swift.Void +public typealias STPSourceProtocolCompletionBlock = (Stripe.STPSourceProtocol?, Swift.Error?) -> Swift.Void +public typealias STPPaymentIntentCompletionBlock = (Stripe.STPPaymentIntent?, Swift.Error?) -> Swift.Void +public typealias STPSetupIntentCompletionBlock = (Stripe.STPSetupIntent?, Swift.Error?) -> Swift.Void +public typealias STPPaymentMethodCompletionBlock = (Stripe.STPPaymentMethod?, Swift.Error?) -> Swift.Void +public typealias STPPaymentMethodsCompletionBlock = ([Stripe.STPPaymentMethod]?, Swift.Error?) -> Swift.Void +public typealias STPShippingMethodsCompletionBlock = (Stripe.STPShippingStatus, Swift.Error?, [PassKit.PKShippingMethod]?, PassKit.PKShippingMethod?) -> Swift.Void +public typealias STPFileCompletionBlock = (Stripe.STPFile?, Swift.Error?) -> Swift.Void +public typealias STPCustomerCompletionBlock = (Stripe.STPCustomer?, Swift.Error?) -> Swift.Void +@objc public enum STPPinStatus : Swift.Int { + case success + case errorVerificationAlreadyRedeemed + case errorVerificationCodeIncorrect + case errorVerificationExpired + case errorVerificationTooManyAttempts + case ephemeralKeyError + case unknownError + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPPinCompletionBlock = (Stripe.STPIssuingCardPin?, Stripe.STPPinStatus, Swift.Error?) -> Swift.Void +public typealias STPPaymentStatusBlock = (Stripe.STPPaymentStatus, Swift.Error?) -> Swift.Void +public typealias STPRadarSessionCompletionBlock = (Stripe.STPRadarSession?, Swift.Error?) -> Swift.Void +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceKlarnaDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var clientToken: Swift.String? { + get + } + @objc public var purchaseCountry: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public class STPConfirmBLIKOptions : ObjectiveC.NSObject { + @objc public var code: Swift.String + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc required public init(code: Swift.String) + @objc deinit + @objc override dynamic public init() +} +extension STPConfirmBLIKOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPRedirectContextError : Swift.Int { + @objc(STPRedirectContextAppRedirectError) case appRedirectError + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPRedirectContextState : Swift.Int { + case notStarted + case inProgress + case cancelled + case completed + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPRedirectContextSourceCompletionBlock = (Swift.String, Swift.String?, Swift.Error?) -> Swift.Void +public typealias STPRedirectContextCompletionBlock = Stripe.STPRedirectContextSourceCompletionBlock +public typealias STPRedirectContextPaymentIntentCompletionBlock = (Swift.String, Swift.Error?) -> Swift.Void +@objc @_hasMissingDesignatedInitializers @available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +public class STPRedirectContext : ObjectiveC.NSObject, SafariServices.SFSafariViewControllerDelegate, UIKit.UIViewControllerTransitioningDelegate { + @objc public static let STPRedirectContextErrorDomain: Swift.String + @objc public var state: Stripe.STPRedirectContextState { + get + } + @objc convenience public init?(source: Stripe.STPSource, completion: @escaping Stripe.STPRedirectContextSourceCompletionBlock) + @objc convenience public init?(paymentIntent: Stripe.STPPaymentIntent, completion: @escaping Stripe.STPRedirectContextPaymentIntentCompletionBlock) + @objc(startRedirectFlowFromViewController:) public func startRedirectFlow(from presentingViewController: UIKit.UIViewController) + @objc(startSafariViewControllerRedirectFlowFromViewController:) dynamic public func startSafariViewControllerRedirectFlow(from presentingViewController: UIKit.UIViewController) + @objc public func startSafariAppRedirectFlow() + @objc public func cancel() + @objc deinit + @objc public func safariViewControllerDidFinish(_ controller: SafariServices.SFSafariViewController) + @objc public func safariViewController(_ controller: SafariServices.SFSafariViewController, didCompleteInitialLoad didLoadSuccessfully: Swift.Bool) + @objc public func safariViewController(_ controller: SafariServices.SFSafariViewController, initialLoadDidRedirectTo URL: Foundation.URL) + @objc public func presentationController(forPresented presented: UIKit.UIViewController, presenting: UIKit.UIViewController?, source: UIKit.UIViewController) -> UIKit.UIPresentationController? + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers final public class STPRadarSession : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let id: Swift.String + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc public static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Stripe.STPRadarSession? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPKlarnaLineItemType : Swift.Int { + case SKU + case tax + case shipping + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public class STPKlarnaLineItem : ObjectiveC.NSObject { + @objc public var itemType: Stripe.STPKlarnaLineItemType + @objc public var itemDescription: Swift.String + @objc public var quantity: Foundation.NSNumber + @objc public var totalAmount: Foundation.NSNumber + @objc public init(itemType: Stripe.STPKlarnaLineItemType, itemDescription: Swift.String, quantity: Foundation.NSNumber, totalAmount: Foundation.NSNumber) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodOXXOParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @IBDesignable open class STPPaymentCardTextField : UIKit.UIControl, UIKit.UIKeyInput { + @objc open func textField(_ textField: UIKit.UITextField, shouldChangeCharactersIn range: Foundation.NSRange, replacementString string: Swift.String) -> Swift.Bool + @objc @IBOutlet weak open var delegate: Stripe.STPPaymentCardTextFieldDelegate? + @objc open var font: UIKit.UIFont { + @objc get + @objc set + } + @objc open var textColor: UIKit.UIColor { + @objc get + @objc set + } + @objc open var textErrorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc open var placeholderColor: UIKit.UIColor { + @objc get + @objc set + } + @objc @IBInspectable open var numberPlaceholder: Swift.String? { + @objc get + @objc set(numberPlaceholder) + } + @objc @IBInspectable open var expirationPlaceholder: Swift.String? { + @objc get + @objc set(expirationPlaceholder) + } + @objc @IBInspectable open var cvcPlaceholder: Swift.String? { + @objc get + @objc set(cvcPlaceholder) + } + @objc @IBInspectable open var postalCodePlaceholder: Swift.String? { + @objc get + @objc set(postalCodePlaceholder) + } + @objc open var cursorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc open var borderColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc open var borderWidth: CoreGraphics.CGFloat { + @objc get + @objc set + } + @objc open var cornerRadius: CoreGraphics.CGFloat { + @objc get + @objc set + } + @objc open var keyboardAppearance: UIKit.UIKeyboardAppearance { + @objc get + @objc set + } + @objc override dynamic open var inputView: UIKit.UIView? { + @objc get + @objc set(inputView) + } + @objc override dynamic open var inputAccessoryView: UIKit.UIView? { + @objc get + @objc set(inputAccessoryView) + } + @objc open var brandImage: UIKit.UIImage? { + get + } + @objc dynamic open var isValid: Swift.Bool { + @objc get + } + @objc override dynamic open var isEnabled: Swift.Bool { + @objc get + @objc set(enabled) + } + @objc open var cardNumber: Swift.String? { + @objc get + } + @objc open var expirationMonth: Swift.Int { + @objc get + } + @objc open var formattedExpirationMonth: Swift.String? { + @objc get + } + @objc open var expirationYear: Swift.Int { + @objc get + } + @objc open var formattedExpirationYear: Swift.String? { + @objc get + } + @objc open var cvc: Swift.String? { + @objc get + } + @objc open var postalCode: Swift.String? { + @objc get + @objc set + } + @objc open var postalCodeEntryEnabled: Swift.Bool { + @objc get + @objc set(postalCodeEntryEnabled) + } + @objc open var countryCode: Swift.String? { + @objc get + @objc set(cCode) + } + @objc open var cardParams: Stripe.STPPaymentMethodCardParams { + @objc get + @objc set(callersCardParams) + } + @discardableResult + @objc override dynamic open func becomeFirstResponder() -> Swift.Bool + @discardableResult + @objc override dynamic open func resignFirstResponder() -> Swift.Bool + @objc open func clear() + @objc(cvcImageForCardBrand:) open class func cvcImage(for cardBrand: Stripe.STPCardBrand) -> UIKit.UIImage? + @objc(brandImageForCardBrand:) open class func brandImage(for cardBrand: Stripe.STPCardBrand) -> UIKit.UIImage? + @objc(errorImageForCardBrand:) open class func errorImage(for cardBrand: Stripe.STPCardBrand) -> UIKit.UIImage? + @objc(brandImageRectForBounds:) open func brandImageRect(forBounds bounds: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @objc(fieldsRectForBounds:) open func fieldsRect(forBounds bounds: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc override dynamic open func traitCollectionDidChange(_ previousTraitCollection: UIKit.UITraitCollection?) + @objc override dynamic open var backgroundColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc override dynamic open var contentVerticalAlignment: UIKit.UIControl.ContentVerticalAlignment { + @objc get + @objc set(contentVerticalAlignment) + } + @objc override dynamic open var isFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic open var canBecomeFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic open var canResignFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic open var intrinsicContentSize: CoreGraphics.CGSize { + @objc get + } + @objc override dynamic open func layoutSubviews() + @objc open func textFieldShouldBeginEditing(_ textField: UIKit.UITextField) -> Swift.Bool + @objc open func textFieldDidBeginEditing(_ textField: UIKit.UITextField) + @objc open func textFieldShouldEndEditing(_ textField: UIKit.UITextField) -> Swift.Bool + @objc open func textFieldDidEndEditing(_ textField: UIKit.UITextField) + @objc open func textFieldShouldReturn(_ textField: UIKit.UITextField) -> Swift.Bool + @objc open var hasText: Swift.Bool { + @objc get + } + @objc open func insertText(_ text: Swift.String) + @objc open func deleteBackward() + @objc open class func keyPathsForValuesAffectingIsValid() -> Swift.Set + @objc deinit +} +@objc public protocol STPPaymentCardTextFieldDelegate : ObjectiveC.NSObjectProtocol { + @objc optional func paymentCardTextFieldDidChange(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditing(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldWillEndEditing(forReturn textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditing(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingNumber(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingNumber(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingExpiration(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingExpiration(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingPostalCode(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingPostalCode(_ textField: Stripe.STPPaymentCardTextField) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceSEPADebitDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var last4: Swift.String? { + get + } + @objc public var bankCode: Swift.String? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var mandateReference: Swift.String? { + get + } + @objc public var mandateURL: Foundation.URL? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBacsDebitParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var accountNumber: Swift.String? + @objc public var sortCode: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodiDEALParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var bankName: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPAPIResponseDecodable : ObjectiveC.NSObjectProtocol { + @objc static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc var allResponseFields: [Swift.AnyHashable : Any] { get } +} +extension STPAPIClient { + public func createToken(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPTokenCompletionBlock) + public func createSource(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPSourceCompletionBlock) + public func createPaymentMethod(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) +} +@objc @_inheritsConvenienceInitializers public class STPPaymentIntentParams : ObjectiveC.NSObject { + @objc public init(clientSecret: Swift.String) + @objc public var stripeId: Swift.String? { + @objc get + } + @objc public var clientSecret: Swift.String + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? + @objc public var paymentMethodId: Swift.String? + @objc public var sourceParams: Stripe.STPSourceParams? + @objc public var sourceId: Swift.String? + @objc public var receiptEmail: Swift.String? + @objc public var savePaymentMethod: Foundation.NSNumber? + @objc public var returnURL: Swift.String? + public var setupFutureUsage: Stripe.STPPaymentIntentSetupFutureUsage? + @available(swift, obsoleted: 1.0, renamed: "setupFutureUsage") + @objc(setupFutureUsage) public var setupFutureUsage_objc: Foundation.NSNumber? { + @objc get + @objc set + } + @objc public var useStripeSDK: Foundation.NSNumber? + @objc public var mandateData: Stripe.STPMandateDataParams? { + @objc get + @objc set + } + @objc public var paymentMethodOptions: Stripe.STPConfirmPaymentMethodOptions? + @objc public var shipping: Stripe.STPPaymentIntentShippingDetailsParams? + @available(*, deprecated, renamed: "returnURL") + @objc public var returnUrl: Swift.String? { + @objc get + @objc set(returnUrl) + } + @available(*, deprecated, renamed: "savePaymentMethod") + @objc public var saveSourceToCustomer: Foundation.NSNumber? { + @objc get + @objc set(saveSourceToCustomer) + } + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public func configure(with paymentResult: Stripe.STPPaymentResult) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit +} +extension STPPaymentIntentParams : Stripe.STPFormEncodable { + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] +} +extension STPPaymentIntentParams : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodSEPADebit : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var bankCode: Swift.String? { + get + } + @objc public var branchCode: Swift.String? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var mandate: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@_hasMissingDesignatedInitializers @available(swift, deprecated: 0.0.1, renamed: "STPAPIClient") +@objc(STPAPIClient) public class _stpobjc_STPAPIClient : ObjectiveC.NSObject { + @objc public static let STPSDKVersion: Swift.String + @available(swift, deprecated: 0.0.1) + @objc(sharedClient) public static let shared: Stripe._stpobjc_STPAPIClient + @objc public var publishableKey: Swift.String? { + @objc get + @objc set + } + @objc public var configuration: Stripe.STPPaymentConfiguration { + @objc get + @objc set + } + @objc public var stripeAccount: Swift.String? { + @objc get + @objc set + } + @objc public var appInfo: Stripe._stpobjc_STPAppInfo? { + @objc get + @objc set + } + @objc public static let apiVersion: Swift.String + @objc public init(publishableKey: Swift.String) + @available(*, deprecated, message: "This initializer previously configured publishableKey and stripeAccount via the STPPaymentConfiguration instance. This behavior is deprecated; set the STPAPIClient configuration, publishableKey, and stripeAccount properties directly on the STPAPIClient instead.") + @objc public init(configuration: Stripe.STPPaymentConfiguration) + @objc public func createToken(withBankAccount bankAccount: Stripe.STPBankAccountParams, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc public func createToken(withPersonalIDNumber pii: Swift.String, completion: Stripe.STPTokenCompletionBlock?) + @objc public func createToken(withSSNLast4 ssnLast4: Swift.String, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc public func createToken(withConnectAccount account: Stripe.STPConnectAccountParams, completion: Stripe.STPTokenCompletionBlock?) + @objc public func uploadImage(_ image: UIKit.UIImage, purpose: Stripe.STPFilePurpose, completion: Stripe.STPFileCompletionBlock?) + @objc public func createToken(withCard cardParams: Stripe.STPCardParams, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc public func createToken(forCVCUpdate cvc: Swift.String, completion: Stripe.STPTokenCompletionBlock? = nil) + @objc(createSourceWithParams:completion:) public func createSource(with sourceParams: Stripe.STPSourceParams, completion: @escaping Stripe.STPSourceCompletionBlock) + @objc public func retrieveSource(withId identifier: Swift.String, clientSecret secret: Swift.String, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + @objc public func startPollingSource(withId identifier: Swift.String, clientSecret secret: Swift.String, timeout: Foundation.TimeInterval, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + @objc public func stopPollingSource(withId identifier: Swift.String) + @objc public func retrievePaymentIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc public func retrievePaymentIntent(withClientSecret secret: Swift.String, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc(confirmPaymentIntentWithParams:completion:) dynamic public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc(confirmPaymentIntentWithParams:expand:completion:) public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc public func retrieveSetupIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPSetupIntentCompletionBlock) + @objc(confirmSetupIntentWithParams:completion:) dynamic public func confirmSetupIntent(with setupIntentParams: Stripe.STPSetupIntentConfirmParams, completion: @escaping Stripe.STPSetupIntentCompletionBlock) + @objc(createPaymentMethodWithParams:completion:) public func createPaymentMethod(with paymentMethodParams: Stripe.STPPaymentMethodParams, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) + @objc public func createRadarSession(completion: @escaping Stripe.STPRadarSessionCompletionBlock) + @objc(createTokenWithPayment:completion:) public func createToken(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc(createSourceWithPayment:completion:) public func createSource(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPSourceCompletionBlock) + @objc(createPaymentMethodWithPayment:completion:) public func createPaymentMethod(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) + @objc public class func pkPaymentError(forStripeError stripeError: Swift.Error?) -> Swift.Error? + @objc override dynamic public init() + @objc deinit +} +@objc(STPPaymentContext) public class STPPaymentContext : ObjectiveC.NSObject, Stripe.STPAuthenticationContext, Stripe.STPPaymentOptionsViewControllerDelegate, Stripe.STPShippingAddressViewControllerDelegate { + @objc convenience public init(customerContext: Stripe.STPCustomerContext) + @objc convenience public init(customerContext: Stripe.STPCustomerContext, configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc convenience public init(apiAdapter: Stripe.STPBackendAPIAdapter) + @objc public init(apiAdapter: Stripe.STPBackendAPIAdapter, configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc public var apiAdapter: Stripe.STPBackendAPIAdapter { + get + } + @objc public var configuration: Stripe.STPPaymentConfiguration { + get + } + @objc public var theme: Stripe.STPTheme { + get + } + @objc public var prefilledInformation: Stripe.STPUserInformation? { + @objc get + @objc set(prefilledInformation) + } + @objc weak public var hostViewController: UIKit.UIViewController? { + @objc get + @objc set(hostViewController) + } + @objc weak public var delegate: Stripe.STPPaymentContextDelegate? { + @objc get + @objc set(delegate) + } + @objc public var loading: Swift.Bool { + @objc get + } + @objc public var defaultPaymentMethod: Swift.String? + @objc public var selectedPaymentOption: Stripe.STPPaymentOption? { + @objc get + } + @objc public var paymentOptions: [Stripe.STPPaymentOption]? { + @objc get + } + @objc public var selectedShippingMethod: PassKit.PKShippingMethod? { + get + } + @objc public var shippingMethods: [PassKit.PKShippingMethod]? { + @objc get + } + @objc public var shippingAddress: Stripe.STPAddress? { + get + } + @objc public var paymentAmount: Swift.Int { + @objc get + @objc set(paymentAmount) + } + @objc public var paymentCurrency: Swift.String + @objc public var paymentCountry: Swift.String + @objc public var paymentSummaryItems: [PassKit.PKPaymentSummaryItem] { + @objc get + @objc set(paymentSummaryItems) + } + @objc public var modalPresentationStyle: UIKit.UIModalPresentationStyle + @objc public var largeTitleDisplayMode: UIKit.UINavigationItem.LargeTitleDisplayMode + @objc public var paymentOptionsViewControllerFooterView: UIKit.UIView? + @objc public var addCardViewControllerFooterView: UIKit.UIView? + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public func retryLoading() + @objc public func presentPaymentOptionsViewController() + @objc public func pushPaymentOptionsViewController() + @objc public func presentShippingViewController() + @objc public func pushShippingViewController() + @objc public func requestPayment() + @objc public func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didSelect paymentOption: Stripe.STPPaymentOption) + @objc public func paymentOptionsViewControllerDidFinish(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc public func paymentOptionsViewControllerDidCancel(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc public func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didFailToLoadWithError error: Swift.Error) + @objc public func shippingAddressViewControllerDidCancel(_ addressViewController: Stripe.STPShippingAddressViewController) + @objc public func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didEnter address: Stripe.STPAddress, completion: @escaping Stripe.STPShippingMethodsCompletionBlock) + @objc public func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didFinishWith address: Stripe.STPAddress, shippingMethod method: PassKit.PKShippingMethod?) + @objc public func authenticationPresentingViewController() -> UIKit.UIViewController + @objc public func prepare(forPresentation completion: @escaping StripeApplePay.STPVoidBlock) + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPPaymentContextDelegate : ObjectiveC.NSObjectProtocol { + @objc func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didFailToLoadWithError error: Swift.Error) + @objc func paymentContextDidChange(_ paymentContext: Stripe.STPPaymentContext) + @objc func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didCreatePaymentResult paymentResult: Stripe.STPPaymentResult, completion: @escaping Stripe.STPPaymentStatusBlock) + @objc func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didFinishWith status: Stripe.STPPaymentStatus, error: Swift.Error?) + @objc optional func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didUpdateShippingAddress address: Stripe.STPAddress, completion: @escaping Stripe.STPShippingMethodsCompletionBlock) +} +@_hasMissingDesignatedInitializers @objc(STPAppInfo) public class _stpobjc_STPAppInfo : ObjectiveC.NSObject { + @objc public init(name: Swift.String, partnerId: Swift.String?, version: Swift.String?, url: Swift.String?) + @objc public var name: Swift.String { + @objc get + } + @objc public var partnerId: Swift.String? { + @objc get + } + @objc public var version: Swift.String? { + @objc get + } + @objc public var url: Swift.String? { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +@objc public class STPPaymentIntentShippingDetailsParams : ObjectiveC.NSObject { + @objc public var address: Stripe.STPPaymentIntentShippingDetailsAddressParams + @objc public var name: Swift.String + @objc public var carrier: Swift.String? + @objc public var phone: Swift.String? + @objc public var trackingNumber: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(address: Stripe.STPPaymentIntentShippingDetailsAddressParams, name: Swift.String) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetailsParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +extension STPPaymentIntentShippingDetailsParams : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc @_inheritsConvenienceInitializers public class STPConfirmCardOptions : ObjectiveC.NSObject { + @objc public var cvc: Swift.String? + @objc public var network: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPConfirmCardOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, unavailable, renamed: "STPIntentAction", message: "Use `STPIntentAction` instead.") +@objc final public class STPPaymentIntentSourceAction : Stripe.STPIntentAction { + @objc deinit +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension STPPaymentCardTextField { + public struct Representable : SwiftUI.UIViewRepresentable { + public init(paymentMethodParams: SwiftUI.Binding) + public func makeCoordinator() -> Stripe.STPPaymentCardTextField.Representable.Coordinator + public func makeUIView(context: Stripe.STPPaymentCardTextField.Representable.Context) -> Stripe.STPPaymentCardTextField + public func updateUIView(_ paymentCardField: Stripe.STPPaymentCardTextField, context: Stripe.STPPaymentCardTextField.Representable.Context) + @objc @_hasMissingDesignatedInitializers public class Coordinator : ObjectiveC.NSObject, Stripe.STPPaymentCardTextFieldDelegate { + @objc public func paymentCardTextFieldDidChange(_ cardField: Stripe.STPPaymentCardTextField) + @objc deinit + @objc override dynamic public init() + } + public typealias UIViewType = Stripe.STPPaymentCardTextField + public typealias Body = Swift.Never + } +} +@objc public enum STPSourceRedirectStatus : Swift.Int { + case pending + case succeeded + case failed + case notRequired + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPSourceRedirect : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var returnURL: Foundation.URL { + get + } + @objc public var status: Stripe.STPSourceRedirectStatus { + get + } + @objc public var url: Foundation.URL { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSNavigationBarCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSNavigationBarCustomization + @objc public var barTintColor: UIKit.UIColor? { + @objc get + @objc set(barTintColor) + } + @objc public var barStyle: UIKit.UIBarStyle { + @objc get + @objc set(barStyle) + } + @objc public var translucent: Swift.Bool { + @objc get + @objc set(translucent) + } + @objc public var headerText: Swift.String { + @objc get + @objc set(headerText) + } + @objc public var buttonText: Swift.String { + @objc get + @objc set(buttonText) + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set(textColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSource : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPSourceProtocol, Stripe.STPPaymentOption { + @objc public var amount: Foundation.NSNumber? { + get + } + @objc public var clientSecret: Swift.String? { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var currency: Swift.String? { + get + } + @objc public var flow: Stripe.STPSourceFlow { + get + } + @objc public var livemode: Swift.Bool { + get + } + @objc public var owner: Stripe.STPSourceOwner? { + get + } + @objc public var receiver: Stripe.STPSourceReceiver? { + get + } + @objc public var redirect: Stripe.STPSourceRedirect? { + get + } + @objc public var status: Stripe.STPSourceStatus { + get + } + @objc public var type: Stripe.STPSourceType { + get + } + @objc public var usage: Stripe.STPSourceUsage { + get + } + @objc public var verification: Stripe.STPSourceVerification? { + get + } + @objc public var details: [Swift.AnyHashable : Any]? { + get + } + @objc public var cardDetails: Stripe.STPSourceCardDetails? { + get + } + @objc public var klarnaDetails: Stripe.STPSourceKlarnaDetails? { + get + } + @objc public var sepaDebitDetails: Stripe.STPSourceSEPADebitDetails? { + get + } + @objc public var weChatPayDetails: Stripe.STPSourceWeChatPayDetails? { + get + } + @available(*, deprecated, message: "Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @objc public var stripeID: Swift.String + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc deinit +} +@objc public enum STPFilePurpose : Swift.Int { + case identityDocument + case disputeEvidence + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPFile : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var fileId: Swift.String? { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var purpose: Stripe.STPFilePurpose { + get + } + @objc public var size: Foundation.NSNumber? { + get + } + @objc public var type: Swift.String? { + get + } + @objc(stringFromPurpose:) public class func string(from purpose: Stripe.STPFilePurpose) -> Swift.String? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public protocol STPFormTextFieldContainer : ObjectiveC.NSObjectProtocol { + @objc dynamic var formFont: UIKit.UIFont { get set } + @objc dynamic var formTextColor: UIKit.UIColor { get set } + @objc dynamic var formTextErrorColor: UIKit.UIColor { get set } + @objc dynamic var formPlaceholderColor: UIKit.UIColor { get set } + @objc dynamic var formCursorColor: UIKit.UIColor { get set } + @objc dynamic var formKeyboardAppearance: UIKit.UIKeyboardAppearance { get set } +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBoletoParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var taxID: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc public class STPPushProvisioningContext : ObjectiveC.NSObject { + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public class func requestConfiguration(withName name: Swift.String, description: Swift.String?, last4: Swift.String?, brand: Stripe.STPCardBrand) -> PassKit.PKAddPaymentPassRequestConfiguration + @objc public init(keyProvider: Stripe.STPIssuingCardEphemeralKeyProvider) + @objc public func addPaymentPassViewController(_ controller: PassKit.PKAddPaymentPassViewController, generateRequestWithCertificateChain certificates: [Foundation.Data], nonce: Foundation.Data, nonceSignature: Foundation.Data, completionHandler handler: @escaping (PassKit.PKAddPaymentPassRequest) -> Swift.Void) + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPPaymentHandlerActionStatus : Swift.Int { + case succeeded + case canceled + case failed + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentHandlerErrorCode : Swift.Int { + @objc(STPPaymentHandlerUnsupportedAuthenticationErrorCode) case unsupportedAuthenticationErrorCode + @objc(STPPaymentHandlerRequiredAppNotAvailableErrorCode) case requiredAppNotAvailable + @objc(STPPaymentHandlerRequiresPaymentMethodErrorCode) case requiresPaymentMethodErrorCode + @objc(STPPaymentHandlerIntentStatusErrorCode) case intentStatusErrorCode + @objc(STPPaymentHandlerTimedOutErrorCode) case timedOutErrorCode + @objc(STPPaymentHandlerStripe3DS2ErrorCode) case stripe3DS2ErrorCode + @objc(STPPaymentHandlerNotAuthenticatedErrorCode) case notAuthenticatedErrorCode + @objc(STPPaymentHandlerNoConcurrentActionsErrorCode) case noConcurrentActionsErrorCode + @objc(STPPaymentHandlerRequiresAuthenticationContextErrorCode) case requiresAuthenticationContextErrorCode + @objc(STPPaymentHandlerPaymentErrorCode) case paymentErrorCode + @objc(STPPaymentHandlerInvalidClientSecret) case invalidClientSecret + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPPaymentHandlerActionPaymentIntentCompletionBlock = (Stripe.STPPaymentHandlerActionStatus, Stripe.STPPaymentIntent?, Foundation.NSError?) -> Swift.Void +public typealias STPPaymentHandlerActionSetupIntentCompletionBlock = (Stripe.STPPaymentHandlerActionStatus, Stripe.STPSetupIntent?, Foundation.NSError?) -> Swift.Void +@objc @_hasMissingDesignatedInitializers @available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +public class STPPaymentHandler : ObjectiveC.NSObject, SafariServices.SFSafariViewControllerDelegate { + @objc public static let errorDomain: Swift.String + @objc public static let sharedHandler: Stripe.STPPaymentHandler + @objc public class func shared() -> Stripe.STPPaymentHandler + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public var threeDSCustomizationSettings: Stripe.STPThreeDSCustomizationSettings + @objc public var simulateAppToAppRedirect: Swift.Bool { + @objc get + @objc set + } + @objc(confirmPayment:withAuthenticationContext:completion:) public func confirmPayment(_ paymentParams: Stripe.STPPaymentIntentParams, with authenticationContext: Stripe.STPAuthenticationContext, completion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) + @available(*, deprecated, renamed: "confirmPayment(_:with:completion:)", message: "Use confirmPayment(_:with:completion:) instead") + public func confirmPayment(withParams: Stripe.STPPaymentIntentParams, authenticationContext: Stripe.STPAuthenticationContext, completion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) + @objc(handleNextActionForPayment:withAuthenticationContext:returnURL:completion:) public func handleNextAction(forPayment paymentIntentClientSecret: Swift.String, with authenticationContext: Stripe.STPAuthenticationContext, returnURL: Swift.String?, completion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) + @objc(confirmSetupIntent:withAuthenticationContext:completion:) public func confirmSetupIntent(_ setupIntentConfirmParams: Stripe.STPSetupIntentConfirmParams, with authenticationContext: Stripe.STPAuthenticationContext, completion: @escaping Stripe.STPPaymentHandlerActionSetupIntentCompletionBlock) + @objc(handleNextActionForSetupIntent:withAuthenticationContext:returnURL:completion:) public func handleNextAction(forSetupIntent setupIntentClientSecret: Swift.String, with authenticationContext: Stripe.STPAuthenticationContext, returnURL: Swift.String?, completion: @escaping Stripe.STPPaymentHandlerActionSetupIntentCompletionBlock) + @objc public func safariViewControllerDidFinish(_ controller: SafariServices.SFSafariViewController) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSSelectionCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSSelectionCustomization + @objc public var primarySelectedColor: UIKit.UIColor { + @objc get + @objc set(primarySelectedColor) + } + @objc public var secondarySelectedColor: UIKit.UIColor { + @objc get + @objc set(secondarySelectedColor) + } + @objc public var unselectedBackgroundColor: UIKit.UIColor { + @objc get + @objc set(unselectedBackgroundColor) + } + @objc public var unselectedBorderColor: UIKit.UIColor { + @objc get + @objc set(unselectedBorderColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPPaymentMethodType : Swift.Int { + case card + case alipay + case grabPay + @objc(STPPaymentMethodTypeiDEAL) case iDEAL + case FPX + case cardPresent + @objc(STPPaymentMethodTypeSEPADebit) case SEPADebit + @objc(STPPaymentMethodTypeAUBECSDebit) case AUBECSDebit + case bacsDebit + case giropay + case przelewy24 + @objc(STPPaymentMethodTypeEPS) case EPS + case bancontact + case netBanking + @objc(STPPaymentMethodTypeOXXO) case OXXO + case sofort + case UPI + case payPal + case afterpayClearpay + @objc(STPPaymentMethodTypeBLIK) case blik + case weChatPay + case boleto + case link + case klarna + case linkInstantDebit + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPUserInformation : ObjectiveC.NSObject, Foundation.NSCopying { + @objc public var billingAddress: Stripe.STPAddress? + @objc public var shippingAddress: Stripe.STPAddress? + @objc(setBillingAddressWithBillingDetails:) public func setBillingAddress(with billingDetails: Stripe.STPPaymentMethodBillingDetails) + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPFakeAddPaymentPassViewController : UIKit.UIViewController { + @objc public class func canAddPaymentPass() -> Swift.Bool + @objc(initWithRequestConfiguration:delegate:) required public init?(requestConfiguration configuration: PassKit.PKAddPaymentPassRequestConfiguration, delegate: PassKit.PKAddPaymentPassViewControllerDelegate?) + @objc weak public var delegate: PassKit.PKAddPaymentPassViewControllerDelegate? + @objc convenience override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required convenience dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public func viewDidLoad() + @objc deinit +} +@objc public enum STPSourceCard3DSecureStatus : Swift.Int { + case required + case optional + case notSupported + case recommended + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPSourceCardDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var last4: Swift.String? { + get + } + @objc public var expMonth: Swift.UInt { + get + } + @objc public var expYear: Swift.UInt { + get + } + @objc public var brand: Stripe.STPCardBrand { + get + } + @objc public var funding: Stripe.STPCardFundingType { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var threeDSecure: Stripe.STPSourceCard3DSecureStatus { + get + } + @objc public var isApplePayCard: Swift.Bool { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPIssuingCardPin : ObjectiveC.NSObject { + @objc final public let pin: Swift.String? + @objc final public let error: [Swift.AnyHashable : Any]? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc deinit +} +extension STPIssuingCardPin : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodThreeDSecureUsage : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var supported: Swift.Bool { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionBoletoDisplayDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let number: Swift.String + @objc final public let expiresAt: Foundation.Date + @objc final public let hostedVoucherURL: Foundation.URL + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc(_stpinternal_apContextDelegate) public protocol STPApplePayContextDelegate : StripeApplePay._stpinternal_STPApplePayContextDelegateBase { + @objc(applePayContext:didCreatePaymentMethod:paymentInformation:completion:) func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, paymentInformation: PassKit.PKPayment, completion: @escaping StripeApplePay.STPIntentClientSecretCompletionBlock) + @objc(applePayContext:didCompleteWithStatus:error:) func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCompleteWith status: Stripe.STPPaymentStatus, error: Swift.Error?) +} +@objc(STPApplePayContextDelegate) public protocol _stpobjc_APContextDelegate : ObjectiveC.NSObjectProtocol { + @objc(applePayContext:didCreatePaymentMethod:paymentInformation:completion:) func applePayContext(_ context: Stripe._stpobjc_APContext, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, paymentInformation: PassKit.PKPayment, completion: @escaping StripeApplePay.STPIntentClientSecretCompletionBlock) + @objc(applePayContext:didCompleteWithStatus:error:) func applePayContext(_ context: Stripe._stpobjc_APContext, didCompleteWith status: Stripe.STPPaymentStatus, error: Swift.Error?) + @objc(applePayContext:didSelectShippingMethod:handler:) optional func applePayContext(_ context: Stripe._stpobjc_APContext, didSelect shippingMethod: PassKit.PKShippingMethod, handler: @escaping (PassKit.PKPaymentRequestShippingMethodUpdate) -> Swift.Void) + @objc optional func applePayContext(_ context: Stripe._stpobjc_APContext, didSelectShippingContact contact: PassKit.PKContact, handler: @escaping (PassKit.PKPaymentRequestShippingContactUpdate) -> Swift.Void) +} +@_hasMissingDesignatedInitializers @objc(STPApplePayContext) public class _stpobjc_APContext : ObjectiveC.NSObject { + @objc(initWithPaymentRequest:delegate:) required public init?(paymentRequest: PassKit.PKPaymentRequest, delegate: Stripe._stpobjc_APContextDelegate?) + @available(*, deprecated, renamed: "presentApplePay(completion:)", message: "Use `presentApplePay(completion:)` instead.") + @objc(presentApplePayOnViewController:completion:) public func presentApplePay(on viewController: UIKit.UIViewController, completion: StripeApplePay.STPVoidBlock? = nil) + @available(iOSApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + @available(macCatalystApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + @objc(presentApplePayWithCompletion:) public func presentApplePay(completion: StripeApplePay.STPVoidBlock? = nil) + @objc(presentApplePayFromWindow:withCompletion:) public func presentApplePay(from window: UIKit.UIWindow?, completion: StripeApplePay.STPVoidBlock? = nil) + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPCoreViewController : UIKit.UIViewController { + @objc convenience dynamic public init() + @objc required public init(theme: Stripe.STPTheme?) + @objc required override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public func viewDidLoad() + @objc override dynamic public func viewWillAppear(_ animated: Swift.Bool) + @objc override dynamic public func viewWillDisappear(_ animated: Swift.Bool) + @objc override dynamic public var preferredStatusBarStyle: UIKit.UIStatusBarStyle { + @objc get + } + @objc deinit +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension View { + public func paymentConfirmationSheet(isConfirmingPayment: SwiftUI.Binding, paymentIntentParams: Stripe.STPPaymentIntentParams, onCompletion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) -> some SwiftUI.View + + public func setupIntentConfirmationSheet(isConfirmingSetupIntent: SwiftUI.Binding, setupIntentParams: Stripe.STPSetupIntentConfirmParams, onCompletion: @escaping Stripe.STPPaymentHandlerActionSetupIntentCompletionBlock) -> some SwiftUI.View + +} +@objc @_inheritsConvenienceInitializers public class STPPaymentConfiguration : ObjectiveC.NSObject, Foundation.NSCopying { + @objc(sharedConfiguration) public static var shared: Stripe.STPPaymentConfiguration + @objc public var applePayEnabled: Swift.Bool { + @objc get + @objc set + } + @objc public var fpxEnabled: Swift.Bool + @objc public var requiredBillingAddressFields: Stripe.STPBillingAddressFields + @objc public var requiredShippingAddressFields: Swift.Set? + @objc public var verifyPrefilledShippingAddress: Swift.Bool + @objc public var shippingType: Stripe.STPShippingType + @objc public var availableCountries: Swift.Set + @objc public var companyName: Swift.String + @objc public var appleMerchantIdentifier: Swift.String? + @objc public var canDeletePaymentOptions: Swift.Bool + @objc public var cardScanningEnabled: Swift.Bool + @available(*, deprecated, message: "additionalPaymentOptions has been removed. Set applePayEnabled and fpxEnabled on STPPaymentConfiguration instead.") + @objc public var additionalPaymentOptions: Swift.Int + @available(*, deprecated, message: "If you used STPPaymentConfiguration.shared.publishableKey, use STPAPIClient.shared.publishableKey instead. If you passed a STPPaymentConfiguration instance to an SDK component, create an STPAPIClient, set publishableKey on it, and set the SDK component's APIClient property.") + @objc public var publishableKey: Swift.String? { + @objc get + @objc set(publishableKey) + } + @available(*, deprecated, message: "If you used STPPaymentConfiguration.shared.stripeAccount, use STPAPIClient.shared.stripeAccount instead. If you passed a STPPaymentConfiguration instance to an SDK component, create an STPAPIClient, set stripeAccount on it, and set the SDK component's APIClient property.") + @objc public var stripeAccount: Swift.String? { + @objc get + @objc set(stripeAccount) + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodNetBanking : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var bank: Swift.String { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPConfirmPaymentMethodOptions : ObjectiveC.NSObject { + @objc public var cardOptions: Stripe.STPConfirmCardOptions? + @objc public var alipayOptions: Stripe.STPConfirmAlipayOptions? + @objc public var blikOptions: Stripe.STPConfirmBLIKOptions? + @objc public var weChatPayOptions: Stripe.STPConfirmWeChatPayOptions? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPConfirmPaymentMethodOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAddress : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var city: Swift.String? + @objc public var country: Swift.String? + @objc public var line1: Swift.String? + @objc public var line2: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var state: Swift.String? + @objc public init(address: Stripe.STPAddress) + @objc required override dynamic public init() + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceOwner : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var address: Stripe.STPAddress? { + get + } + @objc public var email: Swift.String? { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var phone: Swift.String? { + get + } + @objc public var verifiedAddress: Stripe.STPAddress? { + get + } + @objc public var verifiedEmail: Swift.String? { + get + } + @objc public var verifiedName: Swift.String? { + get + } + @objc public var verifiedPhone: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public protocol STPPaymentOption : ObjectiveC.NSObjectProtocol { + @objc var image: UIKit.UIImage { get } + @objc var templateImage: UIKit.UIImage { get } + @objc var label: Swift.String { get } + @objc var isReusable: Swift.Bool { get } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentActivityIndicatorView : UIKit.UIView { + @objc public func setAnimating(_ animating: Swift.Bool, animated: Swift.Bool) + @objc public var animating: Swift.Bool { + @objc get + @objc set(animating) + } + @objc public var hidesWhenStopped: Swift.Bool { + @objc get + @objc set(hidesWhenStopped) + } + @objc override dynamic public var tintColor: UIKit.UIColor! { + @objc get + @objc set(tintColor) + } + @objc override dynamic public func layoutSubviews() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodEPSParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers final public class STPTheme : ObjectiveC.NSObject { + @objc public static let defaultTheme: Stripe.STPTheme + @available(*, deprecated, renamed: "defaultTheme", message: "Use defaultTheme instead") + public static func `default`() -> Stripe.STPTheme + @objc final public var primaryBackgroundColor: UIKit.UIColor + @objc final public var secondaryBackgroundColor: UIKit.UIColor + @objc final public var tertiaryBackgroundColor: UIKit.UIColor { + @objc get + } + @objc final public var quaternaryBackgroundColor: UIKit.UIColor { + @objc get + } + @objc final public var primaryForegroundColor: UIKit.UIColor + @objc final public var secondaryForegroundColor: UIKit.UIColor + @objc final public var tertiaryForegroundColor: UIKit.UIColor { + @objc get + } + @objc final public var accentColor: UIKit.UIColor + @objc final public var errorColor: UIKit.UIColor + @objc final public var font: UIKit.UIFont { + @objc get + @objc set + } + @objc final public var emphasisFont: UIKit.UIFont { + @objc get + @objc set + } + @objc final public var barStyle: UIKit.UIBarStyle { + @objc get + @objc set + } + @objc final public var translucentNavigationBar: Swift.Bool + @objc final public var smallFont: UIKit.UIFont { + @objc get + } + @objc final public var largeFont: UIKit.UIFont { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPTheme : Foundation.NSCopying { + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc public protocol STPAuthenticationContext : ObjectiveC.NSObjectProtocol { + @objc func authenticationPresentingViewController() -> UIKit.UIViewController + @objc(prepareAuthenticationContextForPresentation:) optional func prepare(forPresentation completion: @escaping StripeApplePay.STPVoidBlock) + @objc optional func configureSafariViewController(_ viewController: SafariServices.SFSafariViewController) + @objc(authenticationContextWillDismissViewController:) optional func authenticationContextWillDismiss(_ viewController: UIKit.UIViewController) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodiDEAL : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var bankName: Swift.String? { + get + } + @objc public var bankIdentifierCode: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public class STPPinManagementService : ObjectiveC.NSObject { + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public init(keyProvider: Stripe.STPIssuingCardEphemeralKeyProvider) + @objc public func retrievePin(_ cardId: Swift.String, verificationId: Swift.String, oneTimeCode: Swift.String, completion: @escaping Stripe.STPPinCompletionBlock) + @objc public func updatePin(_ cardId: Swift.String, newPin: Swift.String, verificationId: Swift.String, oneTimeCode: Swift.String, completion: @escaping Stripe.STPPinCompletionBlock) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPAddCardViewController : Stripe.STPCoreTableViewController, Stripe.STPPaymentCardTextFieldDelegate, UIKit.UITableViewDelegate, UIKit.UITableViewDataSource { + @objc convenience dynamic public init() + @objc(initWithConfiguration:theme:) public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc weak public var delegate: Stripe.STPAddCardViewControllerDelegate? + @objc public var prefilledInformation: Stripe.STPUserInformation? + @objc public var customFooterView: UIKit.UIView? { + @objc get + @objc set(footerView) + } + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public func tableView(_ tableView: UIKit.UITableView, estimatedHeightForRowAt indexPath: Foundation.IndexPath) -> CoreGraphics.CGFloat + @objc override dynamic public func viewDidLayoutSubviews() + @objc public func updateAppearance() + @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool) + @objc public func handleCancelTapped(_ sender: Any?) + @objc public func paymentCardTextFieldDidChange(_ textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldWillEndEditing(forReturn textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldDidBeginEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldDidEndEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldDidBeginEditing(_ textField: Stripe.STPPaymentCardTextField) + @objc public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell + @objc public func tableView(_ tableView: UIKit.UITableView, willDisplay cell: UIKit.UITableViewCell, forRowAt indexPath: Foundation.IndexPath) + @objc public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc override public func tableView(_ tableView: UIKit.UITableView, heightForHeaderInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc public func tableView(_ tableView: UIKit.UITableView, viewForHeaderInSection section: Swift.Int) -> UIKit.UIView? + @objc public func tableView(_ tableView: UIKit.UITableView, viewForFooterInSection section: Swift.Int) -> UIKit.UIView? + @objc override dynamic public func viewWillTransition(to size: CoreGraphics.CGSize, with coordinator: UIKit.UIViewControllerTransitionCoordinator) + @objc deinit +} +@objc public protocol STPAddCardViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc func addCardViewControllerDidCancel(_ addCardViewController: Stripe.STPAddCardViewController) + @objc func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, completion: @escaping Stripe.STPErrorBlock) + @available(*, deprecated, renamed: "addCardViewController(_:didCreatePaymentMethod:completion:)", message: "Use addCardViewController(_:didCreatePaymentMethod:completion:) instead and migrate your integration to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read") + @objc optional func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreateToken token: Stripe.STPToken, completion: (Swift.Error?) -> Swift.Void) + @available(*, deprecated, renamed: "addCardViewController(_:didCreatePaymentMethod:completion:)", message: "Use addCardViewController(_:didCreatePaymentMethod:completion:) instead and migrate your integration to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read") + @objc optional func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreateSource source: Stripe.STPSource, completion: (Swift.Error?) -> Swift.Void) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentOptionsViewController : Stripe.STPCoreViewController, Stripe.STPAddCardViewControllerDelegate { + @objc(initWithPaymentContext:) convenience public init(paymentContext: Stripe.STPPaymentContext) + @objc(initWithConfiguration:theme:customerContext:delegate:) convenience public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme, customerContext: Stripe.STPCustomerContext, delegate: Stripe.STPPaymentOptionsViewControllerDelegate) + @objc(initWithConfiguration:theme:apiAdapter:delegate:) public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme, apiAdapter: Stripe.STPBackendAPIAdapter, delegate: Stripe.STPPaymentOptionsViewControllerDelegate) + @objc public var prefilledInformation: Stripe.STPUserInformation? + @objc public var defaultPaymentMethod: Swift.String? + @objc public var paymentOptionsViewControllerFooterView: UIKit.UIView? + @objc public var addCardViewControllerFooterView: UIKit.UIView? + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc(dismissWithCompletion:) public func dismiss(withCompletion completion: StripeApplePay.STPVoidBlock?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required public init(theme: Stripe.STPTheme?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public func viewDidLayoutSubviews() + @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool) + @objc public func addCardViewControllerDidCancel(_ addCardViewController: Stripe.STPAddCardViewController) + @objc public func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, completion: @escaping Stripe.STPErrorBlock) + @objc deinit +} +@objc public protocol STPPaymentOptionsViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didFailToLoadWithError error: Swift.Error) + @objc func paymentOptionsViewControllerDidFinish(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc func paymentOptionsViewControllerDidCancel(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc(paymentOptionsViewController:didSelectPaymentOption:) optional func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didSelect paymentOption: Stripe.STPPaymentOption) +} +@frozen public enum PaymentSheetResult { + case completed + case canceled + case failed(error: Swift.Error) +} +@_hasMissingDesignatedInitializers public class PaymentSheet { + final public let configuration: Stripe.PaymentSheet.Configuration + public var mostRecentError: Swift.Error? { + get + } + convenience public init(paymentIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration) + convenience public init(setupIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public func present(from presentingViewController: UIKit.UIViewController, completion: @escaping (Stripe.PaymentSheetResult) -> ()) + @objc deinit +} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +@objc(STPErrorCode) public enum _stpobjc_STPErrorCode : Swift.Int { + @objc(STPConnectionError) case connectionError = 40 + @objc(STPInvalidRequestError) case invalidRequestError = 50 + @objc(STPAuthenticationError) case authenticationError = 51 + @objc(STPAPIError) case apiError = 60 + @objc(STPCardError) case cardError = 70 + @objc(STPCancellationError) case cancellationError = 80 + @objc(STPEphemeralKeyDecodingError) case ephemeralKeyDecodingError = 1000 + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @available(swift, deprecated: 0.0.1, renamed: "STPError") +@objc(STPError) public class _stpobjc_STPError : ObjectiveC.NSObject { + @objc public static let stripeDomain: Swift.String + @objc public static let errorMessageKey: Swift.String + @objc public static let hintKey: Swift.String + @objc public static let cardErrorCodeKey: Swift.String + @objc public static let errorParameterKey: Swift.String + @objc public static let stripeErrorCodeKey: Swift.String + @objc public static let stripeErrorTypeKey: Swift.String + @objc public static let stripeDeclineCodeKey: Swift.String + @objc public static let invalidNumber: Swift.String + @objc public static let invalidExpMonth: Swift.String + @objc public static let invalidExpYear: Swift.String + @objc public static let invalidCVC: Swift.String + @objc public static let incorrectNumber: Swift.String + @objc public static let expiredCard: Swift.String + @objc public static let cardDeclined: Swift.String + @objc public static let processingError: Swift.String + @objc public static let incorrectCVC: Swift.String + @objc public static let incorrectZip: Swift.String + @objc deinit + @objc override dynamic public init() +} +@objc extension NSError { + @available(swift, deprecated: 0.0.1, renamed: "stp_error(fromStripeResponse:)") + @objc(stp_errorFromStripeResponse:) public static func _stpobjc_stp_error(fromStripeResponse jsonDictionary: [Swift.AnyHashable : Any]?) -> Foundation.NSError? +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionOXXODisplayDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let expiresAfter: Foundation.Date + @objc final public let hostedVoucherURL: Foundation.URL + @objc final public let number: Swift.String + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc deinit + @objc override dynamic public init() +} +extension StripeAPI { + @available(*, deprecated, message: "Use `paymentRequestWithMerchantIdentifier:country:currency:` instead.") + public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String) -> PassKit.PKPaymentRequest +} +@available(*, deprecated, message: "Use StripeAPI.defaultPublishableKey instead. (StripeAPI.defaultPublishableKey = \"pk_12345_xyzabc\")") +public func setDefaultPublishableKey(_ publishableKey: Swift.String) +@available(*, deprecated, message: "Use StripeAPI.advancedFraudSignalsEnabled instead.") +public var advancedFraudSignalsEnabled: Swift.Bool { + get + set +} +@available(*, deprecated, message: "Use StripeAPI.jcbPaymentNetworkSupported instead.") +public var jcbPaymentNetworkSupported: Swift.Bool { + get + set +} +@available(*, deprecated, message: "Use StripeAPI.additionalEnabledApplePayNetworks instead.") +public var additionalEnabledApplePayNetworks: [PassKit.PKPaymentNetwork] { + get + set +} +@available(*, deprecated, message: "Use StripeAPI.canSubmitPaymentRequest(_:) instead.") +public func canSubmitPaymentRequest(_ paymentRequest: PassKit.PKPaymentRequest) -> Swift.Bool +@available(*, deprecated, message: "Use StripeAPI.deviceSupportsApplePay() instead.") +public func deviceSupportsApplePay() -> Swift.Bool +@available(*, deprecated, message: "Use StripeAPI.paymentRequest(withMerchantIdentifier:country:currency:) instead.") +public func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String, country countryCode: Swift.String, currency currencyCode: Swift.String) -> PassKit.PKPaymentRequest +@available(*, deprecated, message: "Use StripeAPI.handleURLCallback(with:) instead.") +public func handleURLCallback(with url: Foundation.URL) -> Swift.Bool +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBoleto : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let taxID: Swift.String + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension View { + public func paymentSheet(isPresented: SwiftUI.Binding, paymentSheet: Stripe.PaymentSheet, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void) -> some SwiftUI.View + + public func paymentOptionsSheet(isPresented: SwiftUI.Binding, paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onSheetDismissed: (() -> Swift.Void)?) -> some SwiftUI.View + + public func paymentConfirmationSheet(isConfirming: SwiftUI.Binding, paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void) -> some SwiftUI.View + + @available(*, deprecated, renamed: "paymentConfirmationSheet(isConfirming:paymentSheetFlowController:onCompletion:)") + public func paymentConfirmationSheet(isConfirmingPayment: SwiftUI.Binding, paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void) -> some SwiftUI.View + +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension PaymentSheet { + public struct PaymentButton : SwiftUI.View where Content : SwiftUI.View { + public init(paymentSheet: Stripe.PaymentSheet, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void, @SwiftUI.ViewBuilder content: () -> Content) + public var body: some SwiftUI.View { + get + } + public typealias Body = @_opaqueReturnTypeOf("$s6Stripe12PaymentSheetC0B6ButtonV4bodyQrvp", 0) 🦸 + } +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension PaymentSheet.FlowController { + public struct PaymentOptionsButton : SwiftUI.View where Content : SwiftUI.View { + public init(paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onSheetDismissed: @escaping () -> Swift.Void, @SwiftUI.ViewBuilder content: () -> Content) + public var body: some SwiftUI.View { + get + } + public typealias Body = @_opaqueReturnTypeOf("$s6Stripe12PaymentSheetC14FlowControllerC0B13OptionsButtonV4bodyQrvp", 0) 🦸 + } + @available(*, deprecated, renamed: "ConfirmButton") + public typealias ConfirmPaymentButton = Stripe.PaymentSheet.FlowController.ConfirmButton + public struct ConfirmButton : SwiftUI.View where Content : SwiftUI.View { + public init(paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void, @SwiftUI.ViewBuilder content: () -> Content) + public var body: some SwiftUI.View { + get + } + public typealias Body = @_opaqueReturnTypeOf("$s6Stripe12PaymentSheetC14FlowControllerC13ConfirmButtonV4bodyQrvp", 0) 🦸 + } +} +@objc public enum STPCardFundingType : Swift.Int { + case debit + case credit + case prepaid + case other + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPCard : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPPaymentOption, Stripe.STPSourceProtocol { + @objc public var last4: Swift.String { + get + } + @objc public var dynamicLast4: Swift.String? { + get + } + @objc public var isApplePayCard: Swift.Bool { + @objc get + } + @objc public var expMonth: Swift.Int { + get + } + @objc public var expYear: Swift.Int { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var address: Stripe.STPAddress? { + get + } + @objc public var brand: Stripe.STPCardBrand { + get + } + @objc public var funding: Stripe.STPCardFundingType { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var currency: Swift.String? { + get + } + @objc(stringFromBrand:) public class func string(from brand: Stripe.STPCardBrand) -> Swift.String + @objc(brandFromString:) public class func brand(from string: Swift.String) -> Stripe.STPCardBrand + @available(*, deprecated, message: "You cannot directly instantiate an STPCard. You should only use one that has been returned from an STPAPIClient callback.") + @objc(initWithID:brand:last4:expMonth:expYear:funding:) public init(id cardID: Swift.String, brand: Stripe.STPCardBrand, last4: Swift.String, expMonth: Swift.Int, expYear: Swift.Int, funding: Stripe.STPCardFundingType) + @objc(fundingFromString:) public class func funding(from string: Swift.String) -> Stripe.STPCardFundingType + @objc public var stripeID: Swift.String + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ other: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @available(*, deprecated, message: "Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @available(*, deprecated, message: "Use stripeID (defined in STPSourceProtocol)") + @objc public var cardId: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.line1") + @objc public var addressLine1: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.line2") + @objc public var addressLine2: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.city") + @objc public var addressCity: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.state") + @objc public var addressState: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.postalCode") + @objc public var addressZip: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.country") + @objc public var addressCountry: Swift.String? { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodCardParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc convenience public init(cardSourceParams: Stripe.STPCardParams) + @objc required override dynamic public init() + @objc public var number: Swift.String? + @objc public var expMonth: Foundation.NSNumber? + @objc public var expYear: Foundation.NSNumber? + @objc public var token: Swift.String? + @objc public var cvc: Swift.String? + @objc public var last4: Swift.String? { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public func isEqual(_ other: Any?) -> Swift.Bool + @objc deinit +} +@objc public class STPPushProvisioningDetailsParams : ObjectiveC.NSObject { + @objc public var cardId: Swift.String { + get + } + @objc public var certificates: [Foundation.Data] { + get + } + @objc public var nonce: Foundation.Data { + get + } + @objc public var nonceSignature: Foundation.Data { + get + } + @objc public var certificatesBase64: [Swift.String] { + @objc get + } + @objc public var nonceHex: Swift.String { + @objc get + } + @objc public var nonceSignatureHex: Swift.String { + @objc get + } + @objc required public init(cardId: Swift.String, certificates: [Foundation.Data], nonce: Foundation.Data, nonceSignature: Foundation.Data) + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountAddress : ObjectiveC.NSObject { + @objc public var city: Swift.String? + @objc public var country: Swift.String? + @objc public var line1: Swift.String? + @objc public var line2: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var state: Swift.String? + @objc public var town: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountAddress : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPConfirmAlipayOptions : ObjectiveC.NSObject { + @objc public var appBundleID: Swift.String { + @objc get + } + @objc public var appVersionKey: Swift.String { + @objc get + } + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConfirmAlipayOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPPaymentMethodCardWalletType : Swift.Int { + case amexExpressCheckout + case applePay + case googlePay + case masterpass + case samsungPay + case visaCheckout + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardWallet : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var type: Stripe.STPPaymentMethodCardWalletType { + get + } + @objc public var masterpass: Stripe.STPPaymentMethodCardWalletMasterpass? { + get + } + @objc public var visaCheckout: Stripe.STPPaymentMethodCardWalletVisaCheckout? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +extension PaymentSheet { + @available(iOS 13.0, *) + public enum UserInterfaceStyle : Swift.Int { + case automatic + case alwaysLight + case alwaysDark + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } + } + public enum SavePaymentMethodOptInBehavior { + case automatic + case requiresOptIn + case requiresOptOut + public static func == (a: Stripe.PaymentSheet.SavePaymentMethodOptInBehavior, b: Stripe.PaymentSheet.SavePaymentMethodOptInBehavior) -> Swift.Bool + public var hashValue: Swift.Int { + get + } + public func hash(into hasher: inout Swift.Hasher) + } + public struct Configuration { + public var allowsDelayedPaymentMethods: Swift.Bool + public var apiClient: StripeCore.STPAPIClient + public var applePay: Stripe.PaymentSheet.ApplePayConfiguration? + public var primaryButtonColor: UIKit.UIColor + @available(iOS 13.0, *) + public var style: Stripe.PaymentSheet.UserInterfaceStyle { + get + set + } + public var customer: Stripe.PaymentSheet.CustomerConfiguration? + public var merchantDisplayName: Swift.String + public var returnURL: Swift.String? + public init() + public var defaultBillingDetails: Stripe.PaymentSheet.BillingDetails + public var savePaymentMethodOptInBehavior: Stripe.PaymentSheet.SavePaymentMethodOptInBehavior + } + public struct CustomerConfiguration { + public let id: Swift.String + public let ephemeralKeySecret: Swift.String + public init(id: Swift.String, ephemeralKeySecret: Swift.String) + } + public struct ApplePayConfiguration { + public let merchantId: Swift.String + public let merchantCountryCode: Swift.String + public init(merchantId: Swift.String, merchantCountryCode: Swift.String) + } + public struct Address { + public var city: Swift.String? + public var country: Swift.String? + public var line1: Swift.String? + public var line2: Swift.String? + public var postalCode: Swift.String? + public var state: Swift.String? + public init(city: Swift.String? = nil, country: Swift.String? = nil, line1: Swift.String? = nil, line2: Swift.String? = nil, postalCode: Swift.String? = nil, state: Swift.String? = nil) + } + public struct BillingDetails { + public var address: Stripe.PaymentSheet.Address + public var email: Swift.String? + public var name: Swift.String? + public var phone: Swift.String? + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodLink : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPBackendAPIAdapter : ObjectiveC.NSObjectProtocol { + @objc func retrieveCustomer(_ completion: Stripe.STPCustomerCompletionBlock?) + @objc func listPaymentMethodsForCustomer(completion: Stripe.STPPaymentMethodsCompletionBlock?) + @objc func attachPaymentMethod(toCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc optional func detachPaymentMethod(fromCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc optional func updateCustomer(withShippingAddress shipping: Stripe.STPAddress, completion: Stripe.STPErrorBlock?) +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntentShippingDetailsAddress : ObjectiveC.NSObject { + @objc final public let city: Swift.String? + @objc final public let country: Swift.String? + @objc final public let line1: Swift.String? + @objc final public let line2: Swift.String? + @objc final public let postalCode: Swift.String? + @objc final public let state: Swift.String? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetailsAddress : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntentShippingDetails : ObjectiveC.NSObject { + @objc final public let address: Stripe.STPPaymentIntentShippingDetailsAddress? + @objc final public let name: Swift.String? + @objc final public let carrier: Swift.String? + @objc final public let phone: Swift.String? + @objc final public let trackingNumber: Swift.String? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetails : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc public enum STPCardBrand : Swift.Int { + case visa + case amex + case mastercard + case discover + case JCB + case dinersClub + case unionPay + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @available(*, deprecated, message: "STPStringFromCardBrand has been replaced with STPCardBrandUtilities.stringFrom(brand)") +@objc public class STPStringFromCardBrand : ObjectiveC.NSObject { + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPCardBrandUtilities : ObjectiveC.NSObject { + @objc(stringFromCardBrand:) public static func stringFrom(_ brand: Stripe.STPCardBrand) -> Swift.String? + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPCustomerEphemeralKeyProvider : ObjectiveC.NSObjectProtocol { + @objc(createCustomerKeyWithAPIVersion:completion:) func createCustomerKey(withAPIVersion apiVersion: Swift.String, completion: @escaping Stripe.STPJSONResponseCompletionBlock) +} +@objc public protocol STPIssuingCardEphemeralKeyProvider : ObjectiveC.NSObjectProtocol { + @objc(createIssuingCardKeyWithAPIVersion:completion:) func createIssuingCardKey(withAPIVersion apiVersion: Swift.String, completion: @escaping Stripe.STPJSONResponseCompletionBlock) +} +@available(*, deprecated, message: "use `STPCustomerEphemeralKeyProvider` or `STPIssuingCardEphemeralKeyProvider` depending on the type of key that will be fetched.") +@objc public protocol STPEphemeralKeyProvider : Stripe.STPCustomerEphemeralKeyProvider { +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBacsDebit : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var sortCode: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPBankAccountStatus : Swift.Int { + case new + case validated + case verified + case verificationFailed + case errored + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPBankAccount : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPSourceProtocol { + @objc public var routingNumber: Swift.String? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var currency: Swift.String? { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var bankName: Swift.String? { + get + } + @objc public var accountHolderName: Swift.String? { + get + } + @objc public var accountHolderType: Stripe.STPBankAccountHolderType { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var status: Stripe.STPBankAccountStatus { + get + } + @available(*, deprecated, message: "Use stripeID (defined in STPSourceProtocol)") + @objc public var bankAccountId: Swift.String? { + @objc get + } + @objc public var stripeID: Swift.String { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ bankAccount: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodSEPADebitParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var iban: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodParams : ObjectiveC.NSObject, Stripe.STPFormEncodable, Stripe.STPPaymentOption { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var type: Stripe.STPPaymentMethodType { + @objc get + @objc set(newType) + } + @objc public var rawTypeString: Swift.String? + @objc public var billingDetails: Stripe.STPPaymentMethodBillingDetails? + @objc public var card: Stripe.STPPaymentMethodCardParams? + @objc public var alipay: Stripe.STPPaymentMethodAlipayParams? + @objc public var iDEAL: Stripe.STPPaymentMethodiDEALParams? + @objc public var fpx: Stripe.STPPaymentMethodFPXParams? + @objc public var sepaDebit: Stripe.STPPaymentMethodSEPADebitParams? + @objc public var bacsDebit: Stripe.STPPaymentMethodBacsDebitParams? + @objc public var auBECSDebit: Stripe.STPPaymentMethodAUBECSDebitParams? + @objc public var giropay: Stripe.STPPaymentMethodGiropayParams? + @objc public var payPal: Stripe.STPPaymentMethodPayPalParams? + @objc public var przelewy24: Stripe.STPPaymentMethodPrzelewy24Params? + @objc public var eps: Stripe.STPPaymentMethodEPSParams? + @objc public var bancontact: Stripe.STPPaymentMethodBancontactParams? + @objc public var netBanking: Stripe.STPPaymentMethodNetBankingParams? + @objc public var oxxo: Stripe.STPPaymentMethodOXXOParams? + @objc public var sofort: Stripe.STPPaymentMethodSofortParams? + @objc public var upi: Stripe.STPPaymentMethodUPIParams? + @objc public var grabPay: Stripe.STPPaymentMethodGrabPayParams? + @objc public var afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpayParams? + @objc public var blik: Stripe.STPPaymentMethodBLIKParams? + @objc public var boleto: Stripe.STPPaymentMethodBoletoParams? + @objc public var link: Stripe.STPPaymentMethodLinkParams? + @objc public var klarna: Stripe.STPPaymentMethodKlarnaParams? + @objc public var metadata: [Swift.String : Swift.String]? + @objc convenience public init(card: Stripe.STPPaymentMethodCardParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(iDEAL: Stripe.STPPaymentMethodiDEALParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(fpx: Stripe.STPPaymentMethodFPXParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(sepaDebit: Stripe.STPPaymentMethodSEPADebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(bacsDebit: Stripe.STPPaymentMethodBacsDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(aubecsDebit auBECSDebit: Stripe.STPPaymentMethodAUBECSDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(giropay: Stripe.STPPaymentMethodGiropayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(eps: Stripe.STPPaymentMethodEPSParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(przelewy24: Stripe.STPPaymentMethodPrzelewy24Params, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(bancontact: Stripe.STPPaymentMethodBancontactParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(netBanking: Stripe.STPPaymentMethodNetBankingParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(grabPay: Stripe.STPPaymentMethodGrabPayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(oxxo: Stripe.STPPaymentMethodOXXOParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(sofort: Stripe.STPPaymentMethodSofortParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(upi: Stripe.STPPaymentMethodUPIParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(alipay: Stripe.STPPaymentMethodAlipayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(payPal: Stripe.STPPaymentMethodPayPalParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(blik: Stripe.STPPaymentMethodBLIKParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(boleto: Stripe.STPPaymentMethodBoletoParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(klarna: Stripe.STPPaymentMethodKlarnaParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init?(singleUsePaymentMethod paymentMethod: Stripe.STPPaymentMethod) + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +@objc extension STPPaymentMethodParams { + @objc(paramsWithCard:billingDetails:metadata:) dynamic public class func paramsWith(card: Stripe.STPPaymentMethodCardParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithiDEAL:billingDetails:metadata:) dynamic public class func paramsWith(iDEAL: Stripe.STPPaymentMethodiDEALParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithFPX:billingDetails:metadata:) dynamic public class func paramsWith(fpx: Stripe.STPPaymentMethodFPXParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithSEPADebit:billingDetails:metadata:) dynamic public class func paramsWith(sepaDebit: Stripe.STPPaymentMethodSEPADebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithBacsDebit:billingDetails:metadata:) dynamic public class func paramsWith(bacsDebit: Stripe.STPPaymentMethodBacsDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithAUBECSDebit:billingDetails:metadata:) dynamic public class func paramsWith(auBECSDebit: Stripe.STPPaymentMethodAUBECSDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithGiropay:billingDetails:metadata:) dynamic public class func paramsWith(giropay: Stripe.STPPaymentMethodGiropayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithEPS:billingDetails:metadata:) dynamic public class func paramsWith(eps: Stripe.STPPaymentMethodEPSParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithPrzelewy24:billingDetails:metadata:) dynamic public class func paramsWith(przelewy24: Stripe.STPPaymentMethodPrzelewy24Params, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithBancontact:billingDetails:metadata:) dynamic public class func paramsWith(bancontact: Stripe.STPPaymentMethodBancontactParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithNetBanking:billingDetails:metadata:) dynamic public class func paramsWith(netBanking: Stripe.STPPaymentMethodNetBankingParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithOXXO:billingDetails:metadata:) dynamic public class func paramsWith(oxxo: Stripe.STPPaymentMethodOXXOParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithGrabPay:billingDetails:metadata:) dynamic public class func paramsWith(grabPay: Stripe.STPPaymentMethodGrabPayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithSofort:billingDetails:metadata:) dynamic public class func paramsWith(sofort: Stripe.STPPaymentMethodSofortParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithUPI:billingDetails:metadata:) dynamic public class func paramsWith(upi: Stripe.STPPaymentMethodUPIParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithAlipay:billingDetails:metadata:) dynamic public class func paramsWith(alipay: Stripe.STPPaymentMethodAlipayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithPayPal:billingDetails:metadata:) dynamic public class func paramsWith(payPal: Stripe.STPPaymentMethodPayPalParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithAfterpayClearpay:billingDetails:metadata:) dynamic public class func paramsWith(afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithBLIK:billingDetails:metadata:) dynamic public class func paramsWith(blik: Stripe.STPPaymentMethodBLIKParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithKlarna:billingDetails:metadata:) dynamic public class func paramsWith(klarna: Stripe.STPPaymentMethodKlarnaParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodPayPalParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc public protocol STPSourceProtocol : ObjectiveC.NSObjectProtocol { + @objc var stripeID: Swift.String { get } +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, deprecated, renamed: "STPIntentAction", message: "Use `STPIntentAction` instead.") +@objc final public class STPPaymentIntentAction : Stripe.STPIntentAction { + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodGrabPay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPFormView : UIKit.UIView { + @objc override dynamic public var canResignFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func resignFirstResponder() -> Swift.Bool + @objc override dynamic public var isFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public var canBecomeFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func becomeFirstResponder() -> Swift.Bool + @objc override dynamic public var isUserInteractionEnabled: Swift.Bool { + @objc get + @objc set + } + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodPayPal : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodSofortParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var country: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc public enum STPMandateCustomerAcceptanceType : Swift.Int { + case online + case offline + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPMandateCustomerAcceptanceParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var type: Stripe.STPMandateCustomerAcceptanceType + @objc public var onlineParams: Stripe.STPMandateOnlineParams? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc required override dynamic public init() + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public class func rootObjectName() -> Swift.String? + @objc deinit +} +public enum PaymentSheetError : Swift.Error { + case unknown(debugDescription: Swift.String) + public var localizedDescription: Swift.String { + get + } +} +extension UINavigationBar { + @available(*, deprecated, message: "Use the `stp_theme` property instead") + @objc dynamic public func stp_setTheme(_ theme: Stripe.STPTheme) + @objc dynamic public var stp_theme: Stripe.STPTheme? { + @objc get + @objc set(theme) + } +} +@objc public protocol STPAUBECSDebitFormViewDelegate : ObjectiveC.NSObjectProtocol { + @objc func auBECSDebitForm(_ form: Stripe.STPAUBECSDebitFormView, didChangeToStateComplete complete: Swift.Bool) +} +@objc @_inheritsConvenienceInitializers public class STPAUBECSDebitFormView : Stripe.STPMultiFormTextField, UIKit.UITextViewDelegate { + @objc(initWithCompanyName:) required public init(companyName: Swift.String) + @objc public var formBackgroundColor: UIKit.UIColor { + @objc get + @objc set + } + @objc weak public var becsDebitFormDelegate: Stripe.STPAUBECSDebitFormViewDelegate? + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? { + @objc get + } + @objc override dynamic public func systemLayoutSizeFitting(_ targetSize: CoreGraphics.CGSize, withHorizontalFittingPriority horizontalFittingPriority: UIKit.UILayoutPriority, verticalFittingPriority: UIKit.UILayoutPriority) -> CoreGraphics.CGSize + @objc public func textView(_ textView: UIKit.UITextView, shouldInteractWith URL: Foundation.URL, in characterRange: Foundation.NSRange, interaction: UIKit.UITextItemInteraction) -> Swift.Bool + @objc override public var formFont: UIKit.UIFont { + @objc get + @objc set + } + @objc override public var formTextColor: UIKit.UIColor { + @objc get + @objc set + } + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAfterpayClearpayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public static func rootObjectName() -> Swift.String? + @objc public static func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodAfterpayClearpay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPSetupIntent : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let stripeID: Swift.String + @objc final public let clientSecret: Swift.String + @objc final public let created: Foundation.Date + @objc final public let customerID: Swift.String? + @objc final public let stripeDescription: Swift.String? + @objc final public let livemode: Swift.Bool + @objc final public let nextAction: Stripe.STPIntentAction? + @objc final public let paymentMethodID: Swift.String? + @objc final public let paymentMethodTypes: [Foundation.NSNumber] + @objc final public let status: Stripe.STPSetupIntentStatus + @objc final public let usage: Stripe.STPSetupIntentUsage + @objc final public let lastSetupError: Stripe.STPSetupIntentLastSetupError? + @available(*, deprecated, message: "Metadata is not returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPBillingAddressFields : Swift.UInt { + case none + case postalCode + case full + case name + @available(*, deprecated, message: "Use STPBillingAddressFields.postalCode instead") + case zip + public typealias RawValue = Swift.UInt + public init?(rawValue: Swift.UInt) + public var rawValue: Swift.UInt { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPAddress : ObjectiveC.NSObject { + @objc public var name: Swift.String? + @objc public var line1: Swift.String? + @objc public var line2: Swift.String? + @objc public var city: Swift.String? + @objc public var state: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var country: Swift.String? + @objc public var phone: Swift.String? + @objc public var email: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc(shippingInfoForChargeWithAddress:shippingMethod:) public class func shippingInfoForCharge(with address: Stripe.STPAddress?, shippingMethod method: PassKit.PKShippingMethod?) -> [Swift.AnyHashable : Any]? + @objc override dynamic public init() + @objc public init(paymentMethodBillingDetails billingDetails: Stripe.STPPaymentMethodBillingDetails) + @objc(initWithPKContact:) public init(pkContact contact: PassKit.PKContact) + @objc(PKContactValue) public func pkContactValue() -> PassKit.PKContact + @objc(initWithCNContact:) public init(cnContact contact: Contacts.CNContact) + @objc public func containsRequiredFields(_ requiredFields: Stripe.STPBillingAddressFields) -> Swift.Bool + @objc(containsContentForBillingAddressFields:) public func containsContent(for desiredFields: Stripe.STPBillingAddressFields) -> Swift.Bool + @objc public func containsRequiredShippingAddressFields(_ requiredFields: Swift.Set?) -> Swift.Bool + @objc public func containsContent(forShippingAddressFields desiredFields: Swift.Set?) -> Swift.Bool + @objc(applePayContactFieldsFromBillingAddressFields:) public class func applePayContactFields(from billingAddressFields: Stripe.STPBillingAddressFields) -> Swift.Set + @objc public class func pkContactFields(fromStripeContactFields contactFields: Swift.Set?) -> Swift.Set? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc deinit +} +extension STPAddress : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +extension STPAddress : Stripe.STPFormEncodable { + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] +} +extension STPAddress : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodAUBECSDebit : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var bsbNumber: Swift.String { + get + } + @objc public var fingerprint: Swift.String { + get + } + @objc public var last4: Swift.String { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAlipayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc public enum STPCardFormViewStyle : Swift.Int { + case standard + case borderless + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public protocol STPCardFormViewDelegate : ObjectiveC.NSObjectProtocol { + @objc func cardFormView(_ form: Stripe.STPCardFormView, didChangeToStateComplete complete: Swift.Bool) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPCardFormView : Stripe.STPFormView { + @objc weak public var delegate: Stripe.STPCardFormViewDelegate? + @objc override dynamic public var backgroundColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc public var disabledBackgroundColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc public var cardParams: Stripe.STPPaymentMethodParams? { + @objc get + } + @objc override dynamic public var isUserInteractionEnabled: Swift.Bool { + @objc get + @objc set + } + @objc convenience public init(style: Stripe.STPCardFormViewStyle = .standard) + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPCustomer : ObjectiveC.NSObject { + @objc final public let stripeID: Swift.String + @objc public var defaultSource: Stripe.STPSourceProtocol? { + get + } + @objc public var sources: [Stripe.STPSourceProtocol] { + get + } + @objc public var email: Swift.String? { + get + } + @objc public var shippingAddress: Stripe.STPAddress? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc convenience public init(stripeID: Swift.String, defaultSource: Stripe.STPSourceProtocol?, sources: [Stripe.STPSourceProtocol]) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc(updateSourcesFilteringApplePay:) public func updateSources(filteringApplePay: Swift.Bool) + @objc deinit +} +extension STPCustomer : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_hasMissingDesignatedInitializers public class STPCustomerDeserializer : ObjectiveC.NSObject { + @objc final public let customer: Stripe.STPCustomer? + @objc final public let error: Swift.Error? + @objc convenience public init(data: Foundation.Data?, urlResponse: Foundation.URLResponse?, error: Swift.Error?) + @objc convenience public init(jsonResponse json: Any?) + @objc deinit + @objc override dynamic public init() +} +@objc public class STPContactField : ObjectiveC.NSObject, Swift.RawRepresentable { + final public let rawValue: Swift.String + required public init(rawValue: Swift.String) + @objc public static let postalAddress: Stripe.STPContactField + @objc public static let emailAddress: Stripe.STPContactField + @objc public static let phoneNumber: Stripe.STPContactField + @objc public static let name: Stripe.STPContactField + @objc override dynamic public init() + public typealias RawValue = Swift.String + @objc deinit +} +extension PaymentSheet { + @_hasMissingDesignatedInitializers @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public class FlowController { + public struct PaymentOptionDisplayData { + public let image: UIKit.UIImage + public let label: Swift.String + } + final public let configuration: Stripe.PaymentSheet.Configuration + public var paymentOption: Stripe.PaymentSheet.FlowController.PaymentOptionDisplayData? { + get + } + public static func create(paymentIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration, completion: @escaping (Swift.Result) -> Swift.Void) + public static func create(setupIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration, completion: @escaping (Swift.Result) -> Swift.Void) + public func presentPaymentOptions(from presentingViewController: UIKit.UIViewController, completion: (() -> ())? = nil) + public func confirm(from presentingViewController: UIKit.UIViewController, completion: @escaping (Stripe.PaymentSheetResult) -> ()) + @objc deinit + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodKlarna : ObjectiveC.NSObject { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension STPCardFormView { + public struct Representable : SwiftUI.UIViewRepresentable { + public init(_ style: Stripe.STPCardFormViewStyle = .standard, paymentMethodParams: SwiftUI.Binding, isComplete: SwiftUI.Binding) + public func makeCoordinator() -> Stripe.STPCardFormView.Coordinator + public func makeUIView(context: Stripe.STPCardFormView.Representable.Context) -> Stripe.STPCardFormView + public func updateUIView(_ cardFormView: Stripe.STPCardFormView, context: Stripe.STPCardFormView.Representable.Context) + public typealias UIViewType = Stripe.STPCardFormView + public typealias Coordinator = Stripe.STPCardFormView.Coordinator + public typealias Body = Swift.Never + } + @objc @_hasMissingDesignatedInitializers public class Coordinator : ObjectiveC.NSObject, Stripe.STPCardFormViewDelegate { + @objc public func cardFormView(_ form: Stripe.STPCardFormView, didChangeToStateComplete complete: Swift.Bool) + @objc deinit + @objc override dynamic public init() + } +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSTextFieldCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSTextFieldCustomization + @objc public var borderWidth: CoreGraphics.CGFloat { + @objc get + @objc set(borderWidth) + } + @objc public var borderColor: UIKit.UIColor { + @objc get + @objc set(borderColor) + } + @objc public var cornerRadius: CoreGraphics.CGFloat { + @objc get + @objc set(cornerRadius) + } + @objc public var keyboardAppearance: UIKit.UIKeyboardAppearance { + @objc get + @objc set(keyboardAppearance) + } + @objc public var placeholderTextColor: UIKit.UIColor { + @objc get + @objc set(placeholderTextColor) + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set(textColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodNetBankingParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var bank: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardPresent : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceReceiver : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var address: Swift.String? { + get + } + @objc public var amountCharged: Foundation.NSNumber? { + get + } + @objc public var amountReceived: Foundation.NSNumber? { + get + } + @objc public var amountReturned: Foundation.NSNumber? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodPrzelewy24Params : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodKlarnaParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public static func rootObjectName() -> Swift.String? + @objc public static func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBancontactParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, unavailable, renamed: "STPIntentActionRedirectToURL", message: "Use `STPIntentActionRedirectToURL` instead.") +@objc final public class STPPaymentIntentSourceActionAuthorizeWithURL : Stripe.STPIntentActionRedirectToURL { + @objc deinit +} +@objc public enum STPSetupIntentLastSetupErrorType : Swift.UInt { + case unknown + @objc(STPSetupIntentLastSetupErrorTypeAPIConnection) case apiConnection + case API + case authentication + case card + case idempotency + case invalidRequest + case rateLimit + public typealias RawValue = Swift.UInt + public init?(rawValue: Swift.UInt) + public var rawValue: Swift.UInt { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSetupIntentLastSetupError : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var code: Swift.String? { + get + } + @objc public var declineCode: Swift.String? { + get + } + @objc public var docURL: Swift.String? { + get + } + @objc public var message: Swift.String? { + get + } + @objc public var param: Swift.String? { + get + } + @objc public var paymentMethod: Stripe.STPPaymentMethod? { + get + } + @objc public var type: Stripe.STPSetupIntentLastSetupErrorType { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc extension STPSetupIntentLastSetupError { + @objc public static let CodeAuthenticationFailure: Swift.String +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodPrzelewy24 : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCard : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var brand: Stripe.STPCardBrand { + get + } + @objc public var checks: Stripe.STPPaymentMethodCardChecks? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var expMonth: Swift.Int { + get + } + @objc public var expYear: Swift.Int { + get + } + @objc public var funding: Swift.String? { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var networks: Stripe.STPPaymentMethodCardNetworks? { + get + } + @objc public var threeDSecureUsage: Stripe.STPPaymentMethodThreeDSecureUsage? { + get + } + @objc public var wallet: Stripe.STPPaymentMethodCardWallet? { + get + } + @objc(stringFromBrand:) public class func string(from brand: Stripe.STPCardBrand) -> Swift.String + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public enum STPPaymentIntentLastPaymentErrorType : Swift.Int { + case unknown + @objc(STPPaymentIntentLastPaymentErrorTypeAPIConnection) case apiConnection + @objc(STPPaymentIntentLastPaymentErrorTypeAPI) case api + case authentication + case card + case idempotency + case invalidRequest + case rateLimit + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntentLastPaymentError : ObjectiveC.NSObject { + @objc public static let ErrorCodeAuthenticationFailure: Swift.String + @objc final public let code: Swift.String? + @objc final public let declineCode: Swift.String? + @objc final public let docURL: Swift.String? + @objc final public let message: Swift.String? + @objc final public let param: Swift.String? + @objc final public let paymentMethod: Stripe.STPPaymentMethod? + @objc final public let type: Stripe.STPPaymentIntentLastPaymentErrorType + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentLastPaymentError : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc public class STPPaymentResult : ObjectiveC.NSObject { + @objc public var paymentMethod: Stripe.STPPaymentMethod? { + get + } + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? { + get + } + @objc weak public var paymentOption: Stripe.STPPaymentOption? { + @objc get + } + @objc public init(paymentOption: Stripe.STPPaymentOption?) + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionWechatPayRedirectToApp : ObjectiveC.NSObject { + @objc final public let nativeURL: Foundation.URL? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPIntentActionWechatPayRedirectToApp : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc public enum STPPaymentIntentStatus : Swift.Int { + case unknown + case requiresPaymentMethod + @available(*, deprecated, renamed: "STPPaymentIntentStatus.requiresPaymentMethod", message: "Use STPPaymentIntentStatus.requiresPaymentMethod instead") + case requiresSource + case requiresConfirmation + case requiresAction + @available(*, deprecated, renamed: "STPPaymentIntentStatus.requiresAction", message: "Use STPPaymentIntentStatus.requiresAction instead") + case requiresSourceAction + case processing + case succeeded + case requiresCapture + case canceled + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentIntentSetupFutureUsage : Swift.Int { + case unknown + case none + case onSession + case offSession + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPPaymentIntentActionType : Swift.Int { + @available(*, deprecated, renamed: "STPIntentActionType.unknown", message: "Use STPIntentActionType instead") + case unknown + @available(*, deprecated, renamed: "STPIntentActionType.redirectToURL", message: "Use STPIntentActionType instead") + case redirectToURL + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +@objc public enum STPPaymentIntentSourceActionType : Swift.Int { + case unknown + case authorizeWithURL + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodGiropay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAUBECSDebitParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var accountNumber: Swift.String? + @objc public var bsbNumber: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBLIK : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodSofort : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var country: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodUPIParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var vpa: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPCardParams : ObjectiveC.NSObject, Stripe.STPFormEncodable, Foundation.NSCopying { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc convenience public init(paymentMethodParams: Stripe.STPPaymentMethodParams) + @objc public var number: Swift.String? + @objc public func last4() -> Swift.String? + @objc public var expMonth: Swift.UInt + @objc public var expYear: Swift.UInt + @objc public var cvc: Swift.String? + @objc public var name: Swift.String? { + @objc get + @objc set + } + @objc public var address: Stripe.STPAddress { + @objc get + @objc set + } + @objc public var currency: Swift.String? + @objc public var addressLine1: Swift.String? { + @objc get + @objc set(addressLine1) + } + @objc public var addressLine2: Swift.String? { + @objc get + @objc set(addressLine2) + } + @objc public var addressCity: Swift.String? { + @objc get + @objc set(addressCity) + } + @objc public var addressState: Swift.String? { + @objc get + @objc set(addressState) + } + @objc public var addressZip: Swift.String? { + @objc get + @objc set(addressZip) + } + @objc public var addressCountry: Swift.String? { + @objc get + @objc set(addressCountry) + } + @objc override dynamic public init() + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodAlipay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPFormEncodable : ObjectiveC.NSObjectProtocol { + @objc static func rootObjectName() -> Swift.String? + @objc static func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc var additionalAPIParameters: [Swift.AnyHashable : Any] { get set } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBancontact : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethod : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPPaymentOption { + @objc public var stripeId: Swift.String { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var liveMode: Swift.Bool { + get + } + @objc public var type: Stripe.STPPaymentMethodType { + get + } + @objc public var billingDetails: Stripe.STPPaymentMethodBillingDetails? { + get + } + @objc public var alipay: Stripe.STPPaymentMethodAlipay? { + get + } + @objc public var grabPay: Stripe.STPPaymentMethodGrabPay? { + get + } + @objc public var card: Stripe.STPPaymentMethodCard? { + get + } + @objc public var iDEAL: Stripe.STPPaymentMethodiDEAL? { + get + } + @objc public var fpx: Stripe.STPPaymentMethodFPX? { + get + } + @objc public var cardPresent: Stripe.STPPaymentMethodCardPresent? { + get + } + @objc public var sepaDebit: Stripe.STPPaymentMethodSEPADebit? { + get + } + @objc public var bacsDebit: Stripe.STPPaymentMethodBacsDebit? { + get + } + @objc public var auBECSDebit: Stripe.STPPaymentMethodAUBECSDebit? { + get + } + @objc public var giropay: Stripe.STPPaymentMethodGiropay? { + get + } + @objc public var eps: Stripe.STPPaymentMethodEPS? { + get + } + @objc public var przelewy24: Stripe.STPPaymentMethodPrzelewy24? { + get + } + @objc public var bancontact: Stripe.STPPaymentMethodBancontact? { + get + } + @objc public var netBanking: Stripe.STPPaymentMethodNetBanking? { + get + } + @objc public var oxxo: Stripe.STPPaymentMethodOXXO? { + get + } + @objc public var sofort: Stripe.STPPaymentMethodSofort? { + get + } + @objc public var upi: Stripe.STPPaymentMethodUPI? { + get + } + @objc public var payPal: Stripe.STPPaymentMethodPayPal? { + get + } + @objc public var afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpay? { + get + } + @objc public var blik: Stripe.STPPaymentMethodBLIK? { + get + } + @objc public var boleto: Stripe.STPPaymentMethodBoleto? { + get + } + @objc public var link: Stripe.STPPaymentMethodLink? { + get + } + @objc public var klarna: Stripe.STPPaymentMethodKlarna? { + get + } + @objc public var customerId: Swift.String? { + get + } + @available(*, deprecated, message: "Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardWalletVisaCheckout : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var email: Swift.String? { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var billingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var shippingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodFPXParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var bank: Stripe.STPFPXBankBrand { + @objc get + @objc set(_bank) + } + @objc public var rawBankString: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objc public class STPApplePayPaymentOption : ObjectiveC.NSObject, Stripe.STPPaymentOption { + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +@objc public class STPMandateDataParams : ObjectiveC.NSObject { + @objc final public let customerAcceptance: Stripe.STPMandateCustomerAcceptanceParams + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(customerAcceptance: Stripe.STPMandateCustomerAcceptanceParams) + @objc override dynamic public init() + @objc deinit +} +extension STPMandateDataParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPFPXBankBrand : Swift.Int { + case maybank2U + case CIMB + case publicBank + case RHB + case hongLeongBank + case ambank + case affinBank + case allianceBank + case bankIslam + case bankMuamalat + case bankRakyat + case BSN + case HSBC + case KFH + case maybank2E + case ocbc + case standardChartered + case UOB + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc @_inheritsConvenienceInitializers public class STPFPXBank : ObjectiveC.NSObject { + @objc public static func stringFrom(_ brand: Stripe.STPFPXBankBrand) -> Swift.String? + @objc public static func brandFrom(_ identifier: Swift.String?) -> Stripe.STPFPXBankBrand + @objc public static func identifierFrom(_ brand: Stripe.STPFPXBankBrand) -> Swift.String? + @objc public static func bankCodeFrom(_ brand: Stripe.STPFPXBankBrand, _ isBusiness: Swift.Bool) -> Swift.String? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPCardValidationState : Swift.Int { + case valid + case invalid + case incomplete + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPCardValidator : ObjectiveC.NSObject { + @objc(sanitizedNumericStringForString:) public class func sanitizedNumericString(for string: Swift.String) -> Swift.String + @objc(sanitizedPostalStringForString:) public class func sanitizedPostalString(for string: Swift.String) -> Swift.String + @objc(stringIsNumeric:) public class func stringIsNumeric(_ string: Swift.String) -> Swift.Bool + @objc(validationStateForNumber:validatingCardBrand:) public class func validationState(forNumber cardNumber: Swift.String?, validatingCardBrand: Swift.Bool) -> Stripe.STPCardValidationState + @objc(brandForNumber:) public class func brand(forNumber cardNumber: Swift.String) -> Stripe.STPCardBrand + @objc(lengthsForCardBrand:) public class func lengths(for brand: Stripe.STPCardBrand) -> Swift.Set + @objc(maxLengthForCardBrand:) public class func maxLength(for brand: Stripe.STPCardBrand) -> Swift.Int + @objc(fragmentLengthForCardBrand:) public class func fragmentLength(for brand: Stripe.STPCardBrand) -> Swift.Int + @objc(validationStateForExpirationMonth:) public class func validationState(forExpirationMonth expirationMonth: Swift.String) -> Stripe.STPCardValidationState + @objc(validationStateForExpirationYear:inMonth:) public class func validationState(forExpirationYear expirationYear: Swift.String, inMonth expirationMonth: Swift.String) -> Stripe.STPCardValidationState + @objc(maxCVCLengthForCardBrand:) public class func maxCVCLength(for brand: Stripe.STPCardBrand) -> Swift.UInt + @objc(validationStateForCVC:cardBrand:) public class func validationState(forCVC cvc: Swift.String, cardBrand brand: Stripe.STPCardBrand) -> Stripe.STPCardValidationState + @objc(validationStateForCard:) public class func validationState(forCard card: Stripe.STPCardParams) -> Stripe.STPCardValidationState + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountCompanyParams : ObjectiveC.NSObject { + @objc public var address: Stripe.STPConnectAccountAddress! + @objc public var kanaAddress: Stripe.STPConnectAccountAddress? + @objc public var kanjiAddress: Stripe.STPConnectAccountAddress? + @objc public var directorsProvided: Foundation.NSNumber? + @objc public var name: Swift.String? + @objc public var kanaName: Swift.String? + @objc public var kanjiName: Swift.String? + @objc public var ownersProvided: Foundation.NSNumber? + @objc public var phone: Swift.String? + @objc public var taxID: Swift.String? + @objc public var taxIDRegistrar: Swift.String? + @objc public var vatID: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountCompanyParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardWalletMasterpass : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var email: Swift.String? { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var billingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var shippingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBillingDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var address: Stripe.STPPaymentMethodAddress? + @objc public var email: Swift.String? + @objc public var name: Swift.String? + @objc public var phone: Swift.String? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override required dynamic public init() + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSCustomizationSettings : ObjectiveC.NSObject { + @available(*, deprecated, message: "Use STPThreeDSCustomizationSettings() instead of STPThreeDSCustomizationSettings.defaultSettings().") + @objc public class func defaultSettings() -> Stripe.STPThreeDSCustomizationSettings + @objc public var uiCustomization: Stripe.STPThreeDSUICustomization + @objc public var authenticationTimeout: Swift.Int + @objc override dynamic public init() + @objc deinit +} +@objc public enum STPIntentActionType : Swift.Int { + case unknown + case redirectToURL + case useStripeSDK + case OXXODisplayDetails + case alipayHandleRedirect + case BLIKAuthorize + case weChatPayRedirectToApp + case linkAuthenticateAccount + case boletoDisplayDetails + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPIntentAction : ObjectiveC.NSObject { + @objc final public let type: Stripe.STPIntentActionType + @objc final public let redirectToURL: Stripe.STPIntentActionRedirectToURL? + @objc final public let oxxoDisplayDetails: Stripe.STPIntentActionOXXODisplayDetails? + @objc final public let alipayHandleRedirect: Stripe.STPIntentActionAlipayHandleRedirect? + @objc final public let weChatPayRedirectToApp: Stripe.STPIntentActionWechatPayRedirectToApp? + @objc final public let boletoDisplayDetails: Stripe.STPIntentActionBoletoDisplayDetails? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPIntentAction : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +extension STPIntentAction { + @available(*, deprecated, renamed: "redirectToURL", message: "Use `redirectToURL` instead.") + @objc dynamic public var authorizeWithURL: Stripe.STPIntentActionRedirectToURL? { + @objc get + } +} +@objc public class STPPaymentIntentShippingDetailsAddressParams : ObjectiveC.NSObject { + @objc public var city: Swift.String? + @objc public var country: Swift.String? + @objc public var line1: Swift.String + @objc public var line2: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var state: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(line1: Swift.String) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetailsAddressParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +extension STPPaymentIntentShippingDetailsAddressParams : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc public class STPConfirmWeChatPayOptions : ObjectiveC.NSObject { + @objc public var appId: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc required public init(appId: Swift.String) + @objc deinit + @objc override dynamic public init() +} +extension STPConfirmWeChatPayOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodGiropayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPMultiFormTextField : UIKit.UIView, Stripe.STPFormTextFieldContainer, UIKit.UITextFieldDelegate { + @objc public func textField(_ textField: UIKit.UITextField, shouldChangeCharactersIn range: Foundation.NSRange, replacementString string: Swift.String) -> Swift.Bool + @objc public func focusNextForm() + @objc override dynamic public var canResignFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func resignFirstResponder() -> Swift.Bool + @objc override dynamic public var isFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public var canBecomeFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func becomeFirstResponder() -> Swift.Bool + @objc public func textFieldDidEndEditing(_ textField: UIKit.UITextField) + @objc public func textFieldDidBeginEditing(_ textField: UIKit.UITextField) + @objc public func textFieldShouldReturn(_ textField: UIKit.UITextField) -> Swift.Bool + @objc public var formFont: UIKit.UIFont { + @objc get + @objc set + } + @objc public var formTextColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formTextErrorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formPlaceholderColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formCursorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formKeyboardAppearance: UIKit.UIKeyboardAppearance { + @objc get + @objc set + } + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPImageLibrary : ObjectiveC.NSObject { + @objc public class func applePayCardImage() -> UIKit.UIImage + @objc public class func amexCardImage() -> UIKit.UIImage + @objc public class func dinersClubCardImage() -> UIKit.UIImage + @objc public class func discoverCardImage() -> UIKit.UIImage + @objc public class func jcbCardImage() -> UIKit.UIImage + @objc public class func mastercardCardImage() -> UIKit.UIImage + @objc public class func unionPayCardImage() -> UIKit.UIImage + @objc public class func visaCardImage() -> UIKit.UIImage + @objc public class func unknownCardCardImage() -> UIKit.UIImage + @objc(brandImageForCardBrand:) public class func cardBrandImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc(brandImageForFPXBankBrand:) public class func fpxBrandImage(for brand: Stripe.STPFPXBankBrand) -> UIKit.UIImage + @objc public class func fpxLogo() -> UIKit.UIImage + @objc public class func largeFpxLogo() -> UIKit.UIImage + @objc public class func afterpayLogo() -> UIKit.UIImage + @objc(templatedBrandImageForCardBrand:) public class func templatedBrandImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc(cvcImageForCardBrand:) public class func cvcImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc(errorImageForCardBrand:) public class func errorImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodCardNetworks : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var available: [Swift.String] { + get + } + @objc public var preferred: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPSourceParams : ObjectiveC.NSObject, Stripe.STPFormEncodable, Foundation.NSCopying { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var type: Stripe.STPSourceType { + @objc get + @objc set(type) + } + @objc public var rawTypeString: Swift.String? + @objc public var amount: Foundation.NSNumber? + @objc public var currency: Swift.String? + @objc public var flow: Stripe.STPSourceFlow + @objc public var metadata: [Swift.AnyHashable : Any]? + @objc public var owner: [Swift.AnyHashable : Any]? + @objc public var redirect: [Swift.AnyHashable : Any]? + @objc public var token: Swift.String? + @objc public var usage: Stripe.STPSourceUsage + @objc override required dynamic public init() + @objc deinit +} +extension STPSourceParams { + @objc dynamic public class func bancontactParams(withAmount amount: Swift.Int, name: Swift.String, returnURL: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func cardParams(withCard card: Stripe.STPCardParams) -> Stripe.STPSourceParams + @objc dynamic public class func giropayParams(withAmount amount: Swift.Int, name: Swift.String, returnURL: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func idealParams(withAmount amount: Swift.Int, name: Swift.String?, returnURL: Swift.String, statementDescriptor: Swift.String?, bank: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func sepaDebitParams(withName name: Swift.String, iban: Swift.String, addressLine1: Swift.String?, city: Swift.String?, postalCode: Swift.String?, country: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func sofortParams(withAmount amount: Swift.Int, returnURL: Swift.String, country: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @available(swift, obsoleted: 1.0) + @objc(klarnaParamsWithReturnURL:currency:purchaseCountry:items:customPaymentMethods:billingAddress:billingFirstName:billingLastName:billingDOB:) dynamic public class func objc_klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Foundation.NSNumber], billingAddress address: Stripe.STPAddress?, billingFirstName firstName: Swift.String?, billingLastName lastName: Swift.String?, billingDOB dateOfBirth: Stripe.STPDateOfBirth?) -> Stripe.STPSourceParams + public class func klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Stripe.STPKlarnaPaymentMethods], billingAddress address: Stripe.STPAddress? = nil, billingFirstName firstName: Swift.String? = nil, billingLastName lastName: Swift.String? = nil, billingDOB dateOfBirth: Stripe.STPDateOfBirth? = nil) -> Stripe.STPSourceParams + @available(swift, obsoleted: 1.0) + @objc(klarnaParamsWithReturnURL:currency:purchaseCountry:items:customPaymentMethods:) dynamic public class func objc_klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Foundation.NSNumber]) -> Stripe.STPSourceParams + public class func klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Stripe.STPKlarnaPaymentMethods]) -> Stripe.STPSourceParams + @objc dynamic public class func threeDSecureParams(withAmount amount: Swift.Int, currency: Swift.String, returnURL: Swift.String, card: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func alipayParams(withAmount amount: Swift.Int, currency: Swift.String, returnURL: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func alipayReusableParams(withCurrency currency: Swift.String, returnURL: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func p24Params(withAmount amount: Swift.Int, currency: Swift.String, email: Swift.String, name: Swift.String?, returnURL: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func visaCheckoutParams(withCallId callId: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func masterpassParams(withCartId cartId: Swift.String, transactionId: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func epsParams(withAmount amount: Swift.Int, name: Swift.String, returnURL: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func multibancoParams(withAmount amount: Swift.Int, returnURL: Swift.String, email: Swift.String) -> Stripe.STPSourceParams + @objc(wechatPayParamsWithAmount:currency:appId:statementDescriptor:) dynamic public class func wechatPay(withAmount amount: Swift.Int, currency: Swift.String, appId: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc dynamic public func redirectDictionaryWithMerchantNameIfNecessary() -> [Swift.AnyHashable : Any] + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc public enum STPThreeDSCustomizationButtonType : Swift.Int { + case submit = 0 + case `continue` = 1 + case next = 2 + case cancel = 3 + case resend = 4 + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPThreeDSButtonTitleStyle : Swift.Int { + case `default` + case uppercase + case lowercase + case sentenceCapitalized + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public class STPThreeDSButtonCustomization : ObjectiveC.NSObject { + @objc(defaultSettingsForButtonType:) public class func defaultSettings(for type: Stripe.STPThreeDSCustomizationButtonType) -> Stripe.STPThreeDSButtonCustomization + @objc public init(backgroundColor: UIKit.UIColor, cornerRadius: CoreGraphics.CGFloat) + @objc public var backgroundColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var cornerRadius: CoreGraphics.CGFloat { + @objc get + @objc set + } + @objc public var titleStyle: Stripe.STPThreeDSButtonTitleStyle { + @objc get + @objc set + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPPaymentIntentCaptureMethod : Swift.Int { + case unknown + case automatic + case manual + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentIntentConfirmationMethod : Swift.Int { + case unknown + case manual + case automatic + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntent : ObjectiveC.NSObject { + @objc final public let stripeId: Swift.String + @objc final public let clientSecret: Swift.String + @objc final public let amount: Swift.Int + @objc final public let canceledAt: Foundation.Date? + @objc final public let captureMethod: Stripe.STPPaymentIntentCaptureMethod + @objc final public let confirmationMethod: Stripe.STPPaymentIntentConfirmationMethod + @objc final public let created: Foundation.Date + @objc final public let currency: Swift.String + @objc final public let stripeDescription: Swift.String? + @objc final public let livemode: Swift.Bool + @objc final public let nextAction: Stripe.STPIntentAction? + @objc final public let receiptEmail: Swift.String? + @objc final public let sourceId: Swift.String? + @objc final public let paymentMethodId: Swift.String? + @objc final public let status: Stripe.STPPaymentIntentStatus + @objc final public let paymentMethodTypes: [Foundation.NSNumber] + @objc final public let setupFutureUsage: Stripe.STPPaymentIntentSetupFutureUsage + @objc final public let lastPaymentError: Stripe.STPPaymentIntentLastPaymentError? + @objc final public let shipping: Stripe.STPPaymentIntentShippingDetails? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntent : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +extension STPPaymentIntent { + @available(*, deprecated, renamed: "nextAction", message: "Use nextAction instead") + @objc dynamic public var nextSourceAction: Stripe.STPIntentAction? { + @objc get + } +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSFooterCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSFooterCustomization + @objc public var backgroundColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var chevronColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var headingTextColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var headingFont: UIKit.UIFont { + @objc get + @objc set + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc deinit + @objc override dynamic public init() +} +extension STPAPIClient { + public func createRadarSession(completion: @escaping Stripe.STPRadarSessionCompletionBlock) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, unavailable, renamed: "STPIntentActionRedirectToURL", message: "Use `STPIntentActionRedirectToURL` instead.") +@objc final public class STPPaymentIntentActionRedirectToURL : Stripe.STPIntentActionRedirectToURL { + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPShippingAddressViewController : Stripe.STPCoreTableViewController { + @objc convenience dynamic public init() + @objc(initWithPaymentContext:) convenience public init(paymentContext: Stripe.STPPaymentContext) + @objc(initWithConfiguration:theme:currency:shippingAddress:selectedShippingMethod:prefilledInformation:) public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme, currency: Swift.String?, shippingAddress: Stripe.STPAddress?, selectedShippingMethod: PassKit.PKShippingMethod?, prefilledInformation: Stripe.STPUserInformation?) + @objc weak public var delegate: Stripe.STPShippingAddressViewControllerDelegate? + @objc(dismissWithCompletion:) public func dismiss(withCompletion completion: StripeApplePay.STPVoidBlock?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required public init(theme: Stripe.STPTheme?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool) + @objc override public func tableView(_ tableView: UIKit.UITableView, heightForHeaderInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc deinit +} +@objc public protocol STPShippingAddressViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc func shippingAddressViewControllerDidCancel(_ addressViewController: Stripe.STPShippingAddressViewController) + @objc(shippingAddressViewController:didEnterAddress:completion:) func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didEnter address: Stripe.STPAddress, completion: @escaping Stripe.STPShippingMethodsCompletionBlock) + @objc(shippingAddressViewController:didFinishWithAddress:shippingMethod:) func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didFinishWith address: Stripe.STPAddress, shippingMethod method: PassKit.PKShippingMethod?) +} +extension STPShippingAddressViewController : UIKit.UITableViewDelegate, UIKit.UITableViewDataSource { + @objc dynamic public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, willDisplay cell: UIKit.UITableViewCell, forRowAt indexPath: Foundation.IndexPath) + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, viewForFooterInSection section: Swift.Int) -> UIKit.UIView? + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, viewForHeaderInSection section: Swift.Int) -> UIKit.UIView? +} +@objc public enum STPPaymentMethodCardCheckResult : Swift.Int { + case pass + case failed + case unavailable + case unchecked + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardChecks : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @available(*, deprecated, message: "Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var addressLine1Check: Stripe.STPPaymentMethodCardCheckResult { + get + } + @available(*, deprecated, message: "Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var addressPostalCodeCheck: Stripe.STPPaymentMethodCardCheckResult { + get + } + @available(*, deprecated, message: "Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var cvcCheck: Stripe.STPPaymentMethodCardCheckResult { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +extension STPBankAccountHolderType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPBankAccountStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPBankSelectionMethod : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPBillingAddressFields : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardBrand : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardFormViewStyle : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardFundingType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardValidationState : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPConnectAccountBusinessType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPFPXBankBrand : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPFilePurpose : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPIntentActionType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPKlarnaLineItemType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPKlarnaPaymentMethods : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPMandateCustomerAcceptanceType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentHandlerActionStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentHandlerErrorCode : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentActionType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentCaptureMethod : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentConfirmationMethod : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentLastPaymentErrorType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentSetupFutureUsage : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension STPPaymentIntentSourceActionType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentMethodCardCheckResult : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentMethodCardWalletType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentMethodType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPinStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPRedirectContextError : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPRedirectContextState : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSetupIntentLastSetupErrorType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSetupIntentStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSetupIntentUsage : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPShippingStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPShippingType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceCard3DSecureStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceFlow : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceRedirectStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceUsage : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceVerificationStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPThreeDSButtonTitleStyle : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPThreeDSCustomizationButtonType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPTokenType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +@objc public enum STPTokenType : Swift.Int { + case account = 0 + case bankAccount + case card + case PII + case cvcUpdate + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPToken : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPSourceProtocol { + @objc public var tokenId: Swift.String { + get + } + @objc public var livemode: Swift.Bool { + get + } + @objc public var type: Stripe.STPTokenType { + get + } + @objc public var card: Stripe.STPCard? { + get + } + @objc public var bankAccount: Stripe.STPBankAccount? { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public var debugDescription: Swift.String { + @objc get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc public var stripeID: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@_inheritsConvenienceInitializers @objc public class STPPaymentMethodBLIKParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPCoreScrollViewController : Stripe.STPCoreViewController { + @objc public var scrollView: UIKit.UIScrollView { + @objc get + @objc set + } + @objc override dynamic public func viewDidLoad() + @objc override dynamic public func viewDidLayoutSubviews() + @objc required public init(theme: Stripe.STPTheme?) + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc deinit +} +@objc public enum STPSourceFlow : Swift.Int { + case none + case redirect + case codeVerification + case receiver + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPSourceUsage : Swift.Int { + case reusable + case singleUse + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPSourceStatus : Swift.Int { + case pending + case chargeable + case consumed + case canceled + case failed + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPSourceType : Swift.Int { + case bancontact + case card + case giropay + @objc(STPSourceTypeiDEAL) case iDEAL + case SEPADebit + case sofort + case threeDSecure + case alipay + case P24 + case EPS + case multibanco + case weChatPay + case klarna + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPKlarnaPaymentMethods : Swift.Int { + case none + case payIn4 + case installments + case payIn4OrInstallments + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountIndividualParams : ObjectiveC.NSObject { + @objc public var address: Stripe.STPConnectAccountAddress? + @objc public var kanaAddress: Stripe.STPConnectAccountAddress? + @objc public var kanjiAddress: Stripe.STPConnectAccountAddress? + @objc public var dateOfBirth: Foundation.DateComponents? + @objc public var email: Swift.String? + @objc public var firstName: Swift.String? + @objc public var kanaFirstName: Swift.String? + @objc public var kanjiFirstName: Swift.String? + @objc public var gender: Swift.String? + @objc public var idNumber: Swift.String? + @objc public var lastName: Swift.String? + @objc public var kanaLastName: Swift.String? + @objc public var kanjiLastName: Swift.String? + @objc public var maidenName: Swift.String? + @objc public var metadata: [Swift.AnyHashable : Any]? + @objc public var phone: Swift.String? + @objc public var ssnLast4: Swift.String? + @objc public var verification: Stripe.STPConnectAccountIndividualVerification? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountIndividualParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountIndividualVerification : ObjectiveC.NSObject { + @objc public var document: Stripe.STPConnectAccountVerificationDocument? + @objc public var additionalDocument: Stripe.STPConnectAccountVerificationDocument? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountIndividualVerification : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountVerificationDocument : ObjectiveC.NSObject { + @objc public var back: Swift.String? + @objc public var front: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountVerificationDocument : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPDateOfBirth : ObjectiveC.NSObject { + @objc public var day: Swift.Int + @objc public var month: Swift.Int + @objc public var year: Swift.Int + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc deinit + @objc override dynamic public init() +} +extension STPDateOfBirth : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionRedirectToURL : ObjectiveC.NSObject { + @objc final public let url: Foundation.URL + @objc final public let returnURL: Foundation.URL? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPIntentActionRedirectToURL : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodGrabPayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +extension Stripe.STPSourceVerificationStatus : Swift.Equatable {} +extension Stripe.STPSourceVerificationStatus : Swift.Hashable {} +extension Stripe.STPSourceVerificationStatus : Swift.RawRepresentable {} +extension Stripe.STPBankSelectionMethod : Swift.Equatable {} +extension Stripe.STPBankSelectionMethod : Swift.Hashable {} +extension Stripe.STPBankSelectionMethod : Swift.RawRepresentable {} +extension Stripe.STPBankAccountHolderType : Swift.Equatable {} +extension Stripe.STPBankAccountHolderType : Swift.Hashable {} +extension Stripe.STPBankAccountHolderType : Swift.RawRepresentable {} +extension Stripe.STPSetupIntentStatus : Swift.Equatable {} +extension Stripe.STPSetupIntentStatus : Swift.Hashable {} +extension Stripe.STPSetupIntentStatus : Swift.RawRepresentable {} +extension Stripe.STPSetupIntentUsage : Swift.Equatable {} +extension Stripe.STPSetupIntentUsage : Swift.Hashable {} +extension Stripe.STPSetupIntentUsage : Swift.RawRepresentable {} +extension Stripe.STPConnectAccountBusinessType : Swift.Equatable {} +extension Stripe.STPConnectAccountBusinessType : Swift.Hashable {} +extension Stripe.STPConnectAccountBusinessType : Swift.RawRepresentable {} +extension Stripe.STPShippingType : Swift.Equatable {} +extension Stripe.STPShippingType : Swift.Hashable {} +extension Stripe.STPShippingType : Swift.RawRepresentable {} +extension Stripe.STPShippingStatus : Swift.Equatable {} +extension Stripe.STPShippingStatus : Swift.Hashable {} +extension Stripe.STPShippingStatus : Swift.RawRepresentable {} +extension Stripe.STPPaymentStatus : Swift.Equatable {} +extension Stripe.STPPaymentStatus : Swift.Hashable {} +extension Stripe.STPPaymentStatus : Swift.RawRepresentable {} +extension Stripe.STPPinStatus : Swift.Equatable {} +extension Stripe.STPPinStatus : Swift.Hashable {} +extension Stripe.STPPinStatus : Swift.RawRepresentable {} +extension Stripe.STPRedirectContextError : Swift.Equatable {} +extension Stripe.STPRedirectContextError : Swift.Hashable {} +extension Stripe.STPRedirectContextError : Swift.RawRepresentable {} +extension Stripe.STPRedirectContextState : Swift.Equatable {} +extension Stripe.STPRedirectContextState : Swift.Hashable {} +extension Stripe.STPRedirectContextState : Swift.RawRepresentable {} +extension Stripe.STPKlarnaLineItemType : Swift.Equatable {} +extension Stripe.STPKlarnaLineItemType : Swift.Hashable {} +extension Stripe.STPKlarnaLineItemType : Swift.RawRepresentable {} +extension Stripe.STPPaymentMethodType : Swift.Equatable {} +extension Stripe.STPPaymentMethodType : Swift.Hashable {} +extension Stripe.STPPaymentMethodType : Swift.RawRepresentable {} +extension Stripe.STPPaymentCardTextField : UIKit.UITextFieldDelegate {} +extension Stripe.STPSourceRedirectStatus : Swift.Equatable {} +extension Stripe.STPSourceRedirectStatus : Swift.Hashable {} +extension Stripe.STPSourceRedirectStatus : Swift.RawRepresentable {} +extension Stripe.STPFilePurpose : Swift.Equatable {} +extension Stripe.STPFilePurpose : Swift.Hashable {} +extension Stripe.STPFilePurpose : Swift.RawRepresentable {} +extension Stripe.STPPaymentHandlerActionStatus : Swift.Equatable {} +extension Stripe.STPPaymentHandlerActionStatus : Swift.Hashable {} +extension Stripe.STPPaymentHandlerActionStatus : Swift.RawRepresentable {} +extension Stripe.STPPaymentHandlerErrorCode : Swift.Equatable {} +extension Stripe.STPPaymentHandlerErrorCode : Swift.Hashable {} +extension Stripe.STPPaymentHandlerErrorCode : Swift.RawRepresentable {} +extension Stripe.STPSourceCard3DSecureStatus : Swift.Equatable {} +extension Stripe.STPSourceCard3DSecureStatus : Swift.Hashable {} +extension Stripe.STPSourceCard3DSecureStatus : Swift.RawRepresentable {} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +extension Stripe._stpobjc_STPErrorCode : Swift.Equatable {} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +extension Stripe._stpobjc_STPErrorCode : Swift.Hashable {} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +extension Stripe._stpobjc_STPErrorCode : Swift.RawRepresentable {} +extension Stripe.STPCardFundingType : Swift.Equatable {} +extension Stripe.STPCardFundingType : Swift.Hashable {} +extension Stripe.STPCardFundingType : Swift.RawRepresentable {} +extension Stripe.STPPaymentMethodCardWalletType : Swift.Equatable {} +extension Stripe.STPPaymentMethodCardWalletType : Swift.Hashable {} +extension Stripe.STPPaymentMethodCardWalletType : Swift.RawRepresentable {} +@available(iOS 13.0, *) +extension Stripe.PaymentSheet.UserInterfaceStyle : Swift.Equatable {} +@available(iOS 13.0, *) +extension Stripe.PaymentSheet.UserInterfaceStyle : Swift.Hashable {} +@available(iOS 13.0, *) +extension Stripe.PaymentSheet.UserInterfaceStyle : Swift.RawRepresentable {} +extension Stripe.PaymentSheet.SavePaymentMethodOptInBehavior : Swift.Equatable {} +extension Stripe.PaymentSheet.SavePaymentMethodOptInBehavior : Swift.Hashable {} +extension Stripe.STPCardBrand : Swift.Equatable {} +extension Stripe.STPCardBrand : Swift.Hashable {} +extension Stripe.STPCardBrand : Swift.RawRepresentable {} +extension Stripe.STPBankAccountStatus : Swift.Equatable {} +extension Stripe.STPBankAccountStatus : Swift.Hashable {} +extension Stripe.STPBankAccountStatus : Swift.RawRepresentable {} +extension Stripe.STPMandateCustomerAcceptanceType : Swift.Equatable {} +extension Stripe.STPMandateCustomerAcceptanceType : Swift.Hashable {} +extension Stripe.STPMandateCustomerAcceptanceType : Swift.RawRepresentable {} +extension Stripe.STPBillingAddressFields : Swift.Equatable {} +extension Stripe.STPBillingAddressFields : Swift.Hashable {} +extension Stripe.STPBillingAddressFields : Swift.RawRepresentable {} +extension Stripe.STPCardFormViewStyle : Swift.Equatable {} +extension Stripe.STPCardFormViewStyle : Swift.Hashable {} +extension Stripe.STPCardFormViewStyle : Swift.RawRepresentable {} +extension Stripe.STPSetupIntentLastSetupErrorType : Swift.Equatable {} +extension Stripe.STPSetupIntentLastSetupErrorType : Swift.Hashable {} +extension Stripe.STPSetupIntentLastSetupErrorType : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentLastPaymentErrorType : Swift.Equatable {} +extension Stripe.STPPaymentIntentLastPaymentErrorType : Swift.Hashable {} +extension Stripe.STPPaymentIntentLastPaymentErrorType : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentStatus : Swift.Equatable {} +extension Stripe.STPPaymentIntentStatus : Swift.Hashable {} +extension Stripe.STPPaymentIntentStatus : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentSetupFutureUsage : Swift.Equatable {} +extension Stripe.STPPaymentIntentSetupFutureUsage : Swift.Hashable {} +extension Stripe.STPPaymentIntentSetupFutureUsage : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentActionType : Swift.Equatable {} +extension Stripe.STPPaymentIntentActionType : Swift.Hashable {} +extension Stripe.STPPaymentIntentActionType : Swift.RawRepresentable {} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension Stripe.STPPaymentIntentSourceActionType : Swift.Equatable {} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension Stripe.STPPaymentIntentSourceActionType : Swift.Hashable {} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension Stripe.STPPaymentIntentSourceActionType : Swift.RawRepresentable {} +extension Stripe.STPFPXBankBrand : Swift.Equatable {} +extension Stripe.STPFPXBankBrand : Swift.Hashable {} +extension Stripe.STPFPXBankBrand : Swift.RawRepresentable {} +extension Stripe.STPCardValidationState : Swift.Equatable {} +extension Stripe.STPCardValidationState : Swift.Hashable {} +extension Stripe.STPCardValidationState : Swift.RawRepresentable {} +extension Stripe.STPIntentActionType : Swift.Equatable {} +extension Stripe.STPIntentActionType : Swift.Hashable {} +extension Stripe.STPIntentActionType : Swift.RawRepresentable {} +extension Stripe.STPThreeDSCustomizationButtonType : Swift.Equatable {} +extension Stripe.STPThreeDSCustomizationButtonType : Swift.Hashable {} +extension Stripe.STPThreeDSCustomizationButtonType : Swift.RawRepresentable {} +extension Stripe.STPThreeDSButtonTitleStyle : Swift.Equatable {} +extension Stripe.STPThreeDSButtonTitleStyle : Swift.Hashable {} +extension Stripe.STPThreeDSButtonTitleStyle : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentCaptureMethod : Swift.Equatable {} +extension Stripe.STPPaymentIntentCaptureMethod : Swift.Hashable {} +extension Stripe.STPPaymentIntentCaptureMethod : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentConfirmationMethod : Swift.Equatable {} +extension Stripe.STPPaymentIntentConfirmationMethod : Swift.Hashable {} +extension Stripe.STPPaymentIntentConfirmationMethod : Swift.RawRepresentable {} +extension Stripe.STPPaymentMethodCardCheckResult : Swift.Equatable {} +extension Stripe.STPPaymentMethodCardCheckResult : Swift.Hashable {} +extension Stripe.STPPaymentMethodCardCheckResult : Swift.RawRepresentable {} +extension Stripe.STPKlarnaPaymentMethods : Swift.Equatable {} +extension Stripe.STPKlarnaPaymentMethods : Swift.Hashable {} +extension Stripe.STPKlarnaPaymentMethods : Swift.RawRepresentable {} +extension Stripe.STPSourceFlow : Swift.Equatable {} +extension Stripe.STPSourceFlow : Swift.Hashable {} +extension Stripe.STPSourceFlow : Swift.RawRepresentable {} +extension Stripe.STPSourceStatus : Swift.Equatable {} +extension Stripe.STPSourceStatus : Swift.Hashable {} +extension Stripe.STPSourceStatus : Swift.RawRepresentable {} +extension Stripe.STPSourceType : Swift.Equatable {} +extension Stripe.STPSourceType : Swift.Hashable {} +extension Stripe.STPSourceType : Swift.RawRepresentable {} +extension Stripe.STPSourceUsage : Swift.Equatable {} +extension Stripe.STPSourceUsage : Swift.Hashable {} +extension Stripe.STPSourceUsage : Swift.RawRepresentable {} +extension Stripe.STPTokenType : Swift.Equatable {} +extension Stripe.STPTokenType : Swift.Hashable {} +extension Stripe.STPTokenType : Swift.RawRepresentable {} diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Modules/Stripe.swiftmodule/arm64.swiftdoc b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Modules/Stripe.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..c510bfa Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Modules/Stripe.swiftmodule/arm64.swiftdoc differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Modules/Stripe.swiftmodule/arm64.swiftinterface b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Modules/Stripe.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..9487f08 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Modules/Stripe.swiftmodule/arm64.swiftinterface @@ -0,0 +1,4764 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name Stripe +import AVFoundation +import CommonCrypto +import Contacts +import CoreLocation +import Foundation +import ObjectiveC +import PassKit +import SafariServices +import Security +@_exported import Stripe +import Stripe3DS2 +@_exported import StripeApplePay +@_exported import StripeCore +import StripeUICore +import Swift +import SwiftUI +import UIKit +import Vision +extension STPAPIClient { + public var configuration: Stripe.STPPaymentConfiguration { + get + set + } + @available(*, deprecated, message: "This initializer previously configured publishableKey and stripeAccount via the STPPaymentConfiguration instance. This behavior is deprecated; set the STPAPIClient configuration, publishableKey, and stripeAccount properties directly on the STPAPIClient instead.") + convenience public init(configuration: Stripe.STPPaymentConfiguration) +} +extension STPAPIClient { + public func createToken(withBankAccount bankAccount: Stripe.STPBankAccountParams, completion: @escaping Stripe.STPTokenCompletionBlock) +} +extension STPAPIClient { + public func createToken(withPersonalIDNumber pii: Swift.String, completion: Stripe.STPTokenCompletionBlock?) + public func createToken(withSSNLast4 ssnLast4: Swift.String, completion: @escaping Stripe.STPTokenCompletionBlock) +} +extension STPAPIClient { + public func createToken(withConnectAccount account: Stripe.STPConnectAccountParams, completion: Stripe.STPTokenCompletionBlock?) +} +extension STPAPIClient { + public func uploadImage(_ image: UIKit.UIImage, purpose: Stripe.STPFilePurpose, completion: Stripe.STPFileCompletionBlock?) +} +extension STPAPIClient { + public func createToken(withCard cardParams: Stripe.STPCardParams, completion: @escaping Stripe.STPTokenCompletionBlock) + public func createToken(forCVCUpdate cvc: Swift.String, completion: Stripe.STPTokenCompletionBlock? = nil) +} +extension STPAPIClient { + public func createSource(with sourceParams: Stripe.STPSourceParams, completion: @escaping Stripe.STPSourceCompletionBlock) + public func retrieveSource(withId identifier: Swift.String, clientSecret secret: Swift.String, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public func startPollingSource(withId identifier: Swift.String, clientSecret secret: Swift.String, timeout: Foundation.TimeInterval, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public func stopPollingSource(withId identifier: Swift.String) +} +extension STPAPIClient { + public func retrievePaymentIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + public func retrievePaymentIntent(withClientSecret secret: Swift.String, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) +} +extension STPAPIClient { + public func retrieveSetupIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPSetupIntentCompletionBlock) + public func confirmSetupIntent(with setupIntentParams: Stripe.STPSetupIntentConfirmParams, completion: @escaping Stripe.STPSetupIntentCompletionBlock) +} +extension STPAPIClient { + public func createPaymentMethod(with paymentMethodParams: Stripe.STPPaymentMethodParams, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSLabelCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSLabelCustomization + @objc public var headingFont: UIKit.UIFont { + @objc get + @objc set(headingFont) + } + @objc public var headingTextColor: UIKit.UIColor { + @objc get + @objc set(headingTextColor) + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set(textColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodUPI : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var vpa: Swift.String { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPSourceVerificationStatus : Swift.Int { + case pending + case succeeded + case failed + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceVerification : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var attemptsRemaining: Foundation.NSNumber? { + get + } + @objc public var status: Stripe.STPSourceVerificationStatus { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodOXXO : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public enum STPBankSelectionMethod : Swift.Int { + case FPX + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPBankSelectionViewController : Stripe.STPCoreTableViewController, UIKit.UITableViewDataSource, UIKit.UITableViewDelegate { + @objc convenience public init(bankMethod: Stripe.STPBankSelectionMethod) + @objc convenience required public init(theme: Stripe.STPTheme?) + @objc public init(bankMethod: Stripe.STPBankSelectionMethod, configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc weak public var delegate: Stripe.STPBankSelectionViewControllerDelegate? + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc deinit + @objc public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell + @objc public func tableView(_ tableView: UIKit.UITableView, willDisplay cell: UIKit.UITableViewCell, forRowAt indexPath: Foundation.IndexPath) + @objc public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc public func tableView(_ tableView: UIKit.UITableView, shouldHighlightRowAt indexPath: Foundation.IndexPath) -> Swift.Bool + @objc public func tableView(_ tableView: UIKit.UITableView, didSelectRowAt indexPath: Foundation.IndexPath) +} +@objc public protocol STPBankSelectionViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc(bankSelectionViewController:didCreatePaymentMethodParams:) func bankSelectionViewController(_ bankViewController: Stripe.STPBankSelectionViewController, didCreatePaymentMethodParams paymentMethodParams: Stripe.STPPaymentMethodParams) +} +@objc @_inheritsConvenienceInitializers public class STPSetupIntentConfirmParams : ObjectiveC.NSObject, Foundation.NSCopying, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(clientSecret: Swift.String) + @objc public var clientSecret: Swift.String + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? + @objc public var paymentMethodID: Swift.String? + @objc public var returnURL: Swift.String? + @objc public var useStripeSDK: Foundation.NSNumber? + @objc public var mandateData: Stripe.STPMandateDataParams? { + @objc get + @objc set(newMandateData) + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSUICustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSUICustomization + @objc public var navigationBarCustomization: Stripe.STPThreeDSNavigationBarCustomization { + @objc get + @objc set(navigationBarCustomization) + } + @objc public var labelCustomization: Stripe.STPThreeDSLabelCustomization { + @objc get + @objc set(labelCustomization) + } + @objc public var textFieldCustomization: Stripe.STPThreeDSTextFieldCustomization { + @objc get + @objc set(textFieldCustomization) + } + @objc public var backgroundColor: UIKit.UIColor { + @objc get + @objc set(backgroundColor) + } + @objc public var footerCustomization: Stripe.STPThreeDSFooterCustomization { + @objc get + @objc set(footerCustomization) + } + @objc(setButtonCustomization:forType:) public func setButtonCustomization(_ buttonCustomization: Stripe.STPThreeDSButtonCustomization, for buttonType: Stripe.STPThreeDSCustomizationButtonType) + @objc(buttonCustomizationForButtonType:) public func buttonCustomization(for buttonType: Stripe.STPThreeDSCustomizationButtonType) -> Stripe.STPThreeDSButtonCustomization + @objc public var selectionCustomization: Stripe.STPThreeDSSelectionCustomization { + @objc get + @objc set(selectionCustomization) + } + @objc public var activityIndicatorViewStyle: UIKit.UIActivityIndicatorView.Style { + @objc get + @objc set(activityIndicatorViewStyle) + } + @objc public var blurStyle: UIKit.UIBlurEffect.Style { + @objc get + @objc set(blurStyle) + } + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceWeChatPayDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var weChatAppURL: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@_inheritsConvenienceInitializers @available(swift, obsoleted: 0.0.1, message: "Use 'StripeAPI' instead.") +@objc(StripeAPI) public class _stpobjc_StripeAPI : ObjectiveC.NSObject { + @objc public static var defaultPublishableKey: Swift.String? { + @objc get + @objc set + } + @objc public static var advancedFraudSignalsEnabled: Swift.Bool { + @objc get + @objc set + } + @objc public static var maxRetries: Swift.Int { + @objc get + @objc set + } + @discardableResult + @objc(handleStripeURLCallbackWithURL:) public static func handleURLCallback(with url: Foundation.URL) -> Swift.Bool + @objc public class var jcbPaymentNetworkSupported: Swift.Bool { + @objc get + @objc set + } + @objc public static var additionalEnabledApplePayNetworks: [PassKit.PKPaymentNetwork] { + @objc get + @objc set + } + @objc public class func canSubmitPaymentRequest(_ paymentRequest: PassKit.PKPaymentRequest) -> Swift.Bool + @objc dynamic public class func deviceSupportsApplePay() -> Swift.Bool + @available(*, deprecated, message: "Use `paymentRequestWithMerchantIdentifier:country:currency:` instead.") + @objc public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String) -> PassKit.PKPaymentRequest + @objc public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String, country countryCode: Swift.String, currency currencyCode: Swift.String) -> PassKit.PKPaymentRequest + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPBankAccountHolderType : Swift.Int { + case individual + case company + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPBankAccountParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var accountNumber: Swift.String? + @objc public var last4: Swift.String? { + @objc get + } + @objc public var routingNumber: Swift.String? + @objc public var country: Swift.String? + @objc public var currency: Swift.String? + @objc public var accountHolderName: Swift.String? + @objc public var accountHolderType: Stripe.STPBankAccountHolderType + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public init() + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit +} +@objc public class STPMandateOnlineParams : ObjectiveC.NSObject { + @objc final public let ipAddress: Swift.String + @objc final public let userAgent: Swift.String + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc(initWithIPAddress:userAgent:) public init(ipAddress: Swift.String, userAgent: Swift.String) + @objc override dynamic public init() + @objc deinit +} +extension STPMandateOnlineParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPSetupIntentStatus : Swift.Int { + case unknown + case requiresPaymentMethod + case requiresConfirmation + case requiresAction + case processing + case succeeded + case canceled + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPSetupIntentUsage : Swift.Int { + case unknown + case none + case onSession + case offSession + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionAlipayHandleRedirect : ObjectiveC.NSObject { + @objc final public let nativeURL: Foundation.URL? + @objc final public let returnURL: Foundation.URL + @objc final public let url: Foundation.URL + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPIntentActionAlipayHandleRedirect : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_hasMissingDesignatedInitializers open class STPCustomerContext : ObjectiveC.NSObject, Stripe.STPBackendAPIAdapter { + @objc(initWithKeyProvider:) convenience public init(keyProvider: Stripe.STPCustomerEphemeralKeyProvider) + convenience public init(keyProvider: Stripe.STPCustomerEphemeralKeyProvider?, apiClient: StripeCore.STPAPIClient) + @available(swift, deprecated: 0.0.1, renamed: "init(keyProvider:apiClient:)") + @objc(initWithKeyProvider:apiClient:) convenience public init(keyProvider: Stripe.STPCustomerEphemeralKeyProvider?, apiClient: Stripe._stpobjc_STPAPIClient) + @objc public func clearCache() + @objc public var includeApplePayPaymentMethods: Swift.Bool { + @objc get + @objc set(includeApplePayMethods) + } + @objc public func retrieveCustomer(_ completion: Stripe.STPCustomerCompletionBlock? = nil) + @objc public func updateCustomer(withShippingAddress shipping: Stripe.STPAddress, completion: Stripe.STPErrorBlock?) + @objc public func attachPaymentMethodToCustomer(paymentMethodId: Swift.String, completion: Stripe.STPErrorBlock?) + @objc public func attachPaymentMethod(toCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc public func detachPaymentMethodFromCustomer(paymentMethodId: Swift.String, completion: Stripe.STPErrorBlock?) + @objc public func detachPaymentMethod(fromCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc public func listPaymentMethodsForCustomer(completion: Stripe.STPPaymentMethodsCompletionBlock? = nil) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodLinkParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodEPS : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPConnectAccountBusinessType : Swift.Int { + case individual + case company + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public class STPConnectAccountParams : ObjectiveC.NSObject { + @objc final public let tosShownAndAccepted: Foundation.NSNumber? + @objc final public let businessType: Stripe.STPConnectAccountBusinessType + @objc final public let individual: Stripe.STPConnectAccountIndividualParams? + @objc final public let company: Stripe.STPConnectAccountCompanyParams? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init?(tosShownAndAccepted wasAccepted: Swift.Bool, individual: Stripe.STPConnectAccountIndividualParams) + @objc public init?(tosShownAndAccepted wasAccepted: Swift.Bool, company: Stripe.STPConnectAccountCompanyParams) + @objc public init(individual: Stripe.STPConnectAccountIndividualParams) + @objc public init(company: Stripe.STPConnectAccountCompanyParams) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountParams : Stripe.STPFormEncodable { + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodFPX : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var bankIdentifierCode: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPCoreTableViewController : Stripe.STPCoreScrollViewController { + @objc public var tableView: UIKit.UITableView? { + @objc get + } + @objc override dynamic public func viewWillAppear(_ animated: Swift.Bool) + @objc public func tableView(_ tableView: UIKit.UITableView, heightForHeaderInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc required public init(theme: Stripe.STPTheme?) + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc deinit +} +@objc public enum STPShippingType : Swift.Int { + case shipping + case delivery + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPShippingStatus : Swift.Int { + case valid + case invalid + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentStatus : Swift.Int { + case success + case error + case userCancellation + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPErrorBlock = (Swift.Error?) -> Swift.Void +public typealias STPBooleanSuccessBlock = (Swift.Bool, Swift.Error?) -> Swift.Void +public typealias STPJSONResponseCompletionBlock = ([Swift.AnyHashable : Any]?, Swift.Error?) -> Swift.Void +public typealias STPTokenCompletionBlock = (Stripe.STPToken?, Swift.Error?) -> Swift.Void +public typealias STPSourceCompletionBlock = (Stripe.STPSource?, Swift.Error?) -> Swift.Void +public typealias STPSourceProtocolCompletionBlock = (Stripe.STPSourceProtocol?, Swift.Error?) -> Swift.Void +public typealias STPPaymentIntentCompletionBlock = (Stripe.STPPaymentIntent?, Swift.Error?) -> Swift.Void +public typealias STPSetupIntentCompletionBlock = (Stripe.STPSetupIntent?, Swift.Error?) -> Swift.Void +public typealias STPPaymentMethodCompletionBlock = (Stripe.STPPaymentMethod?, Swift.Error?) -> Swift.Void +public typealias STPPaymentMethodsCompletionBlock = ([Stripe.STPPaymentMethod]?, Swift.Error?) -> Swift.Void +public typealias STPShippingMethodsCompletionBlock = (Stripe.STPShippingStatus, Swift.Error?, [PassKit.PKShippingMethod]?, PassKit.PKShippingMethod?) -> Swift.Void +public typealias STPFileCompletionBlock = (Stripe.STPFile?, Swift.Error?) -> Swift.Void +public typealias STPCustomerCompletionBlock = (Stripe.STPCustomer?, Swift.Error?) -> Swift.Void +@objc public enum STPPinStatus : Swift.Int { + case success + case errorVerificationAlreadyRedeemed + case errorVerificationCodeIncorrect + case errorVerificationExpired + case errorVerificationTooManyAttempts + case ephemeralKeyError + case unknownError + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPPinCompletionBlock = (Stripe.STPIssuingCardPin?, Stripe.STPPinStatus, Swift.Error?) -> Swift.Void +public typealias STPPaymentStatusBlock = (Stripe.STPPaymentStatus, Swift.Error?) -> Swift.Void +public typealias STPRadarSessionCompletionBlock = (Stripe.STPRadarSession?, Swift.Error?) -> Swift.Void +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceKlarnaDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var clientToken: Swift.String? { + get + } + @objc public var purchaseCountry: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public class STPConfirmBLIKOptions : ObjectiveC.NSObject { + @objc public var code: Swift.String + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc required public init(code: Swift.String) + @objc deinit + @objc override dynamic public init() +} +extension STPConfirmBLIKOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPRedirectContextError : Swift.Int { + @objc(STPRedirectContextAppRedirectError) case appRedirectError + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPRedirectContextState : Swift.Int { + case notStarted + case inProgress + case cancelled + case completed + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPRedirectContextSourceCompletionBlock = (Swift.String, Swift.String?, Swift.Error?) -> Swift.Void +public typealias STPRedirectContextCompletionBlock = Stripe.STPRedirectContextSourceCompletionBlock +public typealias STPRedirectContextPaymentIntentCompletionBlock = (Swift.String, Swift.Error?) -> Swift.Void +@objc @_hasMissingDesignatedInitializers @available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +public class STPRedirectContext : ObjectiveC.NSObject, SafariServices.SFSafariViewControllerDelegate, UIKit.UIViewControllerTransitioningDelegate { + @objc public static let STPRedirectContextErrorDomain: Swift.String + @objc public var state: Stripe.STPRedirectContextState { + get + } + @objc convenience public init?(source: Stripe.STPSource, completion: @escaping Stripe.STPRedirectContextSourceCompletionBlock) + @objc convenience public init?(paymentIntent: Stripe.STPPaymentIntent, completion: @escaping Stripe.STPRedirectContextPaymentIntentCompletionBlock) + @objc(startRedirectFlowFromViewController:) public func startRedirectFlow(from presentingViewController: UIKit.UIViewController) + @objc(startSafariViewControllerRedirectFlowFromViewController:) dynamic public func startSafariViewControllerRedirectFlow(from presentingViewController: UIKit.UIViewController) + @objc public func startSafariAppRedirectFlow() + @objc public func cancel() + @objc deinit + @objc public func safariViewControllerDidFinish(_ controller: SafariServices.SFSafariViewController) + @objc public func safariViewController(_ controller: SafariServices.SFSafariViewController, didCompleteInitialLoad didLoadSuccessfully: Swift.Bool) + @objc public func safariViewController(_ controller: SafariServices.SFSafariViewController, initialLoadDidRedirectTo URL: Foundation.URL) + @objc public func presentationController(forPresented presented: UIKit.UIViewController, presenting: UIKit.UIViewController?, source: UIKit.UIViewController) -> UIKit.UIPresentationController? + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers final public class STPRadarSession : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let id: Swift.String + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc public static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Stripe.STPRadarSession? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPKlarnaLineItemType : Swift.Int { + case SKU + case tax + case shipping + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public class STPKlarnaLineItem : ObjectiveC.NSObject { + @objc public var itemType: Stripe.STPKlarnaLineItemType + @objc public var itemDescription: Swift.String + @objc public var quantity: Foundation.NSNumber + @objc public var totalAmount: Foundation.NSNumber + @objc public init(itemType: Stripe.STPKlarnaLineItemType, itemDescription: Swift.String, quantity: Foundation.NSNumber, totalAmount: Foundation.NSNumber) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodOXXOParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @IBDesignable open class STPPaymentCardTextField : UIKit.UIControl, UIKit.UIKeyInput { + @objc open func textField(_ textField: UIKit.UITextField, shouldChangeCharactersIn range: Foundation.NSRange, replacementString string: Swift.String) -> Swift.Bool + @objc @IBOutlet weak open var delegate: Stripe.STPPaymentCardTextFieldDelegate? + @objc open var font: UIKit.UIFont { + @objc get + @objc set + } + @objc open var textColor: UIKit.UIColor { + @objc get + @objc set + } + @objc open var textErrorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc open var placeholderColor: UIKit.UIColor { + @objc get + @objc set + } + @objc @IBInspectable open var numberPlaceholder: Swift.String? { + @objc get + @objc set(numberPlaceholder) + } + @objc @IBInspectable open var expirationPlaceholder: Swift.String? { + @objc get + @objc set(expirationPlaceholder) + } + @objc @IBInspectable open var cvcPlaceholder: Swift.String? { + @objc get + @objc set(cvcPlaceholder) + } + @objc @IBInspectable open var postalCodePlaceholder: Swift.String? { + @objc get + @objc set(postalCodePlaceholder) + } + @objc open var cursorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc open var borderColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc open var borderWidth: CoreGraphics.CGFloat { + @objc get + @objc set + } + @objc open var cornerRadius: CoreGraphics.CGFloat { + @objc get + @objc set + } + @objc open var keyboardAppearance: UIKit.UIKeyboardAppearance { + @objc get + @objc set + } + @objc override dynamic open var inputView: UIKit.UIView? { + @objc get + @objc set(inputView) + } + @objc override dynamic open var inputAccessoryView: UIKit.UIView? { + @objc get + @objc set(inputAccessoryView) + } + @objc open var brandImage: UIKit.UIImage? { + get + } + @objc dynamic open var isValid: Swift.Bool { + @objc get + } + @objc override dynamic open var isEnabled: Swift.Bool { + @objc get + @objc set(enabled) + } + @objc open var cardNumber: Swift.String? { + @objc get + } + @objc open var expirationMonth: Swift.Int { + @objc get + } + @objc open var formattedExpirationMonth: Swift.String? { + @objc get + } + @objc open var expirationYear: Swift.Int { + @objc get + } + @objc open var formattedExpirationYear: Swift.String? { + @objc get + } + @objc open var cvc: Swift.String? { + @objc get + } + @objc open var postalCode: Swift.String? { + @objc get + @objc set + } + @objc open var postalCodeEntryEnabled: Swift.Bool { + @objc get + @objc set(postalCodeEntryEnabled) + } + @objc open var countryCode: Swift.String? { + @objc get + @objc set(cCode) + } + @objc open var cardParams: Stripe.STPPaymentMethodCardParams { + @objc get + @objc set(callersCardParams) + } + @discardableResult + @objc override dynamic open func becomeFirstResponder() -> Swift.Bool + @discardableResult + @objc override dynamic open func resignFirstResponder() -> Swift.Bool + @objc open func clear() + @objc(cvcImageForCardBrand:) open class func cvcImage(for cardBrand: Stripe.STPCardBrand) -> UIKit.UIImage? + @objc(brandImageForCardBrand:) open class func brandImage(for cardBrand: Stripe.STPCardBrand) -> UIKit.UIImage? + @objc(errorImageForCardBrand:) open class func errorImage(for cardBrand: Stripe.STPCardBrand) -> UIKit.UIImage? + @objc(brandImageRectForBounds:) open func brandImageRect(forBounds bounds: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @objc(fieldsRectForBounds:) open func fieldsRect(forBounds bounds: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc override dynamic open func traitCollectionDidChange(_ previousTraitCollection: UIKit.UITraitCollection?) + @objc override dynamic open var backgroundColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc override dynamic open var contentVerticalAlignment: UIKit.UIControl.ContentVerticalAlignment { + @objc get + @objc set(contentVerticalAlignment) + } + @objc override dynamic open var isFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic open var canBecomeFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic open var canResignFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic open var intrinsicContentSize: CoreGraphics.CGSize { + @objc get + } + @objc override dynamic open func layoutSubviews() + @objc open func textFieldShouldBeginEditing(_ textField: UIKit.UITextField) -> Swift.Bool + @objc open func textFieldDidBeginEditing(_ textField: UIKit.UITextField) + @objc open func textFieldShouldEndEditing(_ textField: UIKit.UITextField) -> Swift.Bool + @objc open func textFieldDidEndEditing(_ textField: UIKit.UITextField) + @objc open func textFieldShouldReturn(_ textField: UIKit.UITextField) -> Swift.Bool + @objc open var hasText: Swift.Bool { + @objc get + } + @objc open func insertText(_ text: Swift.String) + @objc open func deleteBackward() + @objc open class func keyPathsForValuesAffectingIsValid() -> Swift.Set + @objc deinit +} +@objc public protocol STPPaymentCardTextFieldDelegate : ObjectiveC.NSObjectProtocol { + @objc optional func paymentCardTextFieldDidChange(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditing(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldWillEndEditing(forReturn textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditing(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingNumber(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingNumber(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingExpiration(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingExpiration(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingPostalCode(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingPostalCode(_ textField: Stripe.STPPaymentCardTextField) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceSEPADebitDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var last4: Swift.String? { + get + } + @objc public var bankCode: Swift.String? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var mandateReference: Swift.String? { + get + } + @objc public var mandateURL: Foundation.URL? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBacsDebitParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var accountNumber: Swift.String? + @objc public var sortCode: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodiDEALParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var bankName: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPAPIResponseDecodable : ObjectiveC.NSObjectProtocol { + @objc static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc var allResponseFields: [Swift.AnyHashable : Any] { get } +} +extension STPAPIClient { + public func createToken(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPTokenCompletionBlock) + public func createSource(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPSourceCompletionBlock) + public func createPaymentMethod(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) +} +@objc @_inheritsConvenienceInitializers public class STPPaymentIntentParams : ObjectiveC.NSObject { + @objc public init(clientSecret: Swift.String) + @objc public var stripeId: Swift.String? { + @objc get + } + @objc public var clientSecret: Swift.String + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? + @objc public var paymentMethodId: Swift.String? + @objc public var sourceParams: Stripe.STPSourceParams? + @objc public var sourceId: Swift.String? + @objc public var receiptEmail: Swift.String? + @objc public var savePaymentMethod: Foundation.NSNumber? + @objc public var returnURL: Swift.String? + public var setupFutureUsage: Stripe.STPPaymentIntentSetupFutureUsage? + @available(swift, obsoleted: 1.0, renamed: "setupFutureUsage") + @objc(setupFutureUsage) public var setupFutureUsage_objc: Foundation.NSNumber? { + @objc get + @objc set + } + @objc public var useStripeSDK: Foundation.NSNumber? + @objc public var mandateData: Stripe.STPMandateDataParams? { + @objc get + @objc set + } + @objc public var paymentMethodOptions: Stripe.STPConfirmPaymentMethodOptions? + @objc public var shipping: Stripe.STPPaymentIntentShippingDetailsParams? + @available(*, deprecated, renamed: "returnURL") + @objc public var returnUrl: Swift.String? { + @objc get + @objc set(returnUrl) + } + @available(*, deprecated, renamed: "savePaymentMethod") + @objc public var saveSourceToCustomer: Foundation.NSNumber? { + @objc get + @objc set(saveSourceToCustomer) + } + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public func configure(with paymentResult: Stripe.STPPaymentResult) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit +} +extension STPPaymentIntentParams : Stripe.STPFormEncodable { + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] +} +extension STPPaymentIntentParams : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodSEPADebit : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var bankCode: Swift.String? { + get + } + @objc public var branchCode: Swift.String? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var mandate: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@_hasMissingDesignatedInitializers @available(swift, deprecated: 0.0.1, renamed: "STPAPIClient") +@objc(STPAPIClient) public class _stpobjc_STPAPIClient : ObjectiveC.NSObject { + @objc public static let STPSDKVersion: Swift.String + @available(swift, deprecated: 0.0.1) + @objc(sharedClient) public static let shared: Stripe._stpobjc_STPAPIClient + @objc public var publishableKey: Swift.String? { + @objc get + @objc set + } + @objc public var configuration: Stripe.STPPaymentConfiguration { + @objc get + @objc set + } + @objc public var stripeAccount: Swift.String? { + @objc get + @objc set + } + @objc public var appInfo: Stripe._stpobjc_STPAppInfo? { + @objc get + @objc set + } + @objc public static let apiVersion: Swift.String + @objc public init(publishableKey: Swift.String) + @available(*, deprecated, message: "This initializer previously configured publishableKey and stripeAccount via the STPPaymentConfiguration instance. This behavior is deprecated; set the STPAPIClient configuration, publishableKey, and stripeAccount properties directly on the STPAPIClient instead.") + @objc public init(configuration: Stripe.STPPaymentConfiguration) + @objc public func createToken(withBankAccount bankAccount: Stripe.STPBankAccountParams, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc public func createToken(withPersonalIDNumber pii: Swift.String, completion: Stripe.STPTokenCompletionBlock?) + @objc public func createToken(withSSNLast4 ssnLast4: Swift.String, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc public func createToken(withConnectAccount account: Stripe.STPConnectAccountParams, completion: Stripe.STPTokenCompletionBlock?) + @objc public func uploadImage(_ image: UIKit.UIImage, purpose: Stripe.STPFilePurpose, completion: Stripe.STPFileCompletionBlock?) + @objc public func createToken(withCard cardParams: Stripe.STPCardParams, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc public func createToken(forCVCUpdate cvc: Swift.String, completion: Stripe.STPTokenCompletionBlock? = nil) + @objc(createSourceWithParams:completion:) public func createSource(with sourceParams: Stripe.STPSourceParams, completion: @escaping Stripe.STPSourceCompletionBlock) + @objc public func retrieveSource(withId identifier: Swift.String, clientSecret secret: Swift.String, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + @objc public func startPollingSource(withId identifier: Swift.String, clientSecret secret: Swift.String, timeout: Foundation.TimeInterval, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + @objc public func stopPollingSource(withId identifier: Swift.String) + @objc public func retrievePaymentIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc public func retrievePaymentIntent(withClientSecret secret: Swift.String, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc(confirmPaymentIntentWithParams:completion:) dynamic public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc(confirmPaymentIntentWithParams:expand:completion:) public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc public func retrieveSetupIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPSetupIntentCompletionBlock) + @objc(confirmSetupIntentWithParams:completion:) dynamic public func confirmSetupIntent(with setupIntentParams: Stripe.STPSetupIntentConfirmParams, completion: @escaping Stripe.STPSetupIntentCompletionBlock) + @objc(createPaymentMethodWithParams:completion:) public func createPaymentMethod(with paymentMethodParams: Stripe.STPPaymentMethodParams, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) + @objc public func createRadarSession(completion: @escaping Stripe.STPRadarSessionCompletionBlock) + @objc(createTokenWithPayment:completion:) public func createToken(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc(createSourceWithPayment:completion:) public func createSource(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPSourceCompletionBlock) + @objc(createPaymentMethodWithPayment:completion:) public func createPaymentMethod(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) + @objc public class func pkPaymentError(forStripeError stripeError: Swift.Error?) -> Swift.Error? + @objc override dynamic public init() + @objc deinit +} +@objc(STPPaymentContext) public class STPPaymentContext : ObjectiveC.NSObject, Stripe.STPAuthenticationContext, Stripe.STPPaymentOptionsViewControllerDelegate, Stripe.STPShippingAddressViewControllerDelegate { + @objc convenience public init(customerContext: Stripe.STPCustomerContext) + @objc convenience public init(customerContext: Stripe.STPCustomerContext, configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc convenience public init(apiAdapter: Stripe.STPBackendAPIAdapter) + @objc public init(apiAdapter: Stripe.STPBackendAPIAdapter, configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc public var apiAdapter: Stripe.STPBackendAPIAdapter { + get + } + @objc public var configuration: Stripe.STPPaymentConfiguration { + get + } + @objc public var theme: Stripe.STPTheme { + get + } + @objc public var prefilledInformation: Stripe.STPUserInformation? { + @objc get + @objc set(prefilledInformation) + } + @objc weak public var hostViewController: UIKit.UIViewController? { + @objc get + @objc set(hostViewController) + } + @objc weak public var delegate: Stripe.STPPaymentContextDelegate? { + @objc get + @objc set(delegate) + } + @objc public var loading: Swift.Bool { + @objc get + } + @objc public var defaultPaymentMethod: Swift.String? + @objc public var selectedPaymentOption: Stripe.STPPaymentOption? { + @objc get + } + @objc public var paymentOptions: [Stripe.STPPaymentOption]? { + @objc get + } + @objc public var selectedShippingMethod: PassKit.PKShippingMethod? { + get + } + @objc public var shippingMethods: [PassKit.PKShippingMethod]? { + @objc get + } + @objc public var shippingAddress: Stripe.STPAddress? { + get + } + @objc public var paymentAmount: Swift.Int { + @objc get + @objc set(paymentAmount) + } + @objc public var paymentCurrency: Swift.String + @objc public var paymentCountry: Swift.String + @objc public var paymentSummaryItems: [PassKit.PKPaymentSummaryItem] { + @objc get + @objc set(paymentSummaryItems) + } + @objc public var modalPresentationStyle: UIKit.UIModalPresentationStyle + @objc public var largeTitleDisplayMode: UIKit.UINavigationItem.LargeTitleDisplayMode + @objc public var paymentOptionsViewControllerFooterView: UIKit.UIView? + @objc public var addCardViewControllerFooterView: UIKit.UIView? + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public func retryLoading() + @objc public func presentPaymentOptionsViewController() + @objc public func pushPaymentOptionsViewController() + @objc public func presentShippingViewController() + @objc public func pushShippingViewController() + @objc public func requestPayment() + @objc public func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didSelect paymentOption: Stripe.STPPaymentOption) + @objc public func paymentOptionsViewControllerDidFinish(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc public func paymentOptionsViewControllerDidCancel(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc public func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didFailToLoadWithError error: Swift.Error) + @objc public func shippingAddressViewControllerDidCancel(_ addressViewController: Stripe.STPShippingAddressViewController) + @objc public func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didEnter address: Stripe.STPAddress, completion: @escaping Stripe.STPShippingMethodsCompletionBlock) + @objc public func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didFinishWith address: Stripe.STPAddress, shippingMethod method: PassKit.PKShippingMethod?) + @objc public func authenticationPresentingViewController() -> UIKit.UIViewController + @objc public func prepare(forPresentation completion: @escaping StripeApplePay.STPVoidBlock) + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPPaymentContextDelegate : ObjectiveC.NSObjectProtocol { + @objc func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didFailToLoadWithError error: Swift.Error) + @objc func paymentContextDidChange(_ paymentContext: Stripe.STPPaymentContext) + @objc func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didCreatePaymentResult paymentResult: Stripe.STPPaymentResult, completion: @escaping Stripe.STPPaymentStatusBlock) + @objc func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didFinishWith status: Stripe.STPPaymentStatus, error: Swift.Error?) + @objc optional func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didUpdateShippingAddress address: Stripe.STPAddress, completion: @escaping Stripe.STPShippingMethodsCompletionBlock) +} +@_hasMissingDesignatedInitializers @objc(STPAppInfo) public class _stpobjc_STPAppInfo : ObjectiveC.NSObject { + @objc public init(name: Swift.String, partnerId: Swift.String?, version: Swift.String?, url: Swift.String?) + @objc public var name: Swift.String { + @objc get + } + @objc public var partnerId: Swift.String? { + @objc get + } + @objc public var version: Swift.String? { + @objc get + } + @objc public var url: Swift.String? { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +@objc public class STPPaymentIntentShippingDetailsParams : ObjectiveC.NSObject { + @objc public var address: Stripe.STPPaymentIntentShippingDetailsAddressParams + @objc public var name: Swift.String + @objc public var carrier: Swift.String? + @objc public var phone: Swift.String? + @objc public var trackingNumber: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(address: Stripe.STPPaymentIntentShippingDetailsAddressParams, name: Swift.String) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetailsParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +extension STPPaymentIntentShippingDetailsParams : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc @_inheritsConvenienceInitializers public class STPConfirmCardOptions : ObjectiveC.NSObject { + @objc public var cvc: Swift.String? + @objc public var network: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPConfirmCardOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, unavailable, renamed: "STPIntentAction", message: "Use `STPIntentAction` instead.") +@objc final public class STPPaymentIntentSourceAction : Stripe.STPIntentAction { + @objc deinit +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension STPPaymentCardTextField { + public struct Representable : SwiftUI.UIViewRepresentable { + public init(paymentMethodParams: SwiftUI.Binding) + public func makeCoordinator() -> Stripe.STPPaymentCardTextField.Representable.Coordinator + public func makeUIView(context: Stripe.STPPaymentCardTextField.Representable.Context) -> Stripe.STPPaymentCardTextField + public func updateUIView(_ paymentCardField: Stripe.STPPaymentCardTextField, context: Stripe.STPPaymentCardTextField.Representable.Context) + @objc @_hasMissingDesignatedInitializers public class Coordinator : ObjectiveC.NSObject, Stripe.STPPaymentCardTextFieldDelegate { + @objc public func paymentCardTextFieldDidChange(_ cardField: Stripe.STPPaymentCardTextField) + @objc deinit + @objc override dynamic public init() + } + public typealias UIViewType = Stripe.STPPaymentCardTextField + public typealias Body = Swift.Never + } +} +@objc public enum STPSourceRedirectStatus : Swift.Int { + case pending + case succeeded + case failed + case notRequired + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPSourceRedirect : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var returnURL: Foundation.URL { + get + } + @objc public var status: Stripe.STPSourceRedirectStatus { + get + } + @objc public var url: Foundation.URL { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSNavigationBarCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSNavigationBarCustomization + @objc public var barTintColor: UIKit.UIColor? { + @objc get + @objc set(barTintColor) + } + @objc public var barStyle: UIKit.UIBarStyle { + @objc get + @objc set(barStyle) + } + @objc public var translucent: Swift.Bool { + @objc get + @objc set(translucent) + } + @objc public var headerText: Swift.String { + @objc get + @objc set(headerText) + } + @objc public var buttonText: Swift.String { + @objc get + @objc set(buttonText) + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set(textColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSource : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPSourceProtocol, Stripe.STPPaymentOption { + @objc public var amount: Foundation.NSNumber? { + get + } + @objc public var clientSecret: Swift.String? { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var currency: Swift.String? { + get + } + @objc public var flow: Stripe.STPSourceFlow { + get + } + @objc public var livemode: Swift.Bool { + get + } + @objc public var owner: Stripe.STPSourceOwner? { + get + } + @objc public var receiver: Stripe.STPSourceReceiver? { + get + } + @objc public var redirect: Stripe.STPSourceRedirect? { + get + } + @objc public var status: Stripe.STPSourceStatus { + get + } + @objc public var type: Stripe.STPSourceType { + get + } + @objc public var usage: Stripe.STPSourceUsage { + get + } + @objc public var verification: Stripe.STPSourceVerification? { + get + } + @objc public var details: [Swift.AnyHashable : Any]? { + get + } + @objc public var cardDetails: Stripe.STPSourceCardDetails? { + get + } + @objc public var klarnaDetails: Stripe.STPSourceKlarnaDetails? { + get + } + @objc public var sepaDebitDetails: Stripe.STPSourceSEPADebitDetails? { + get + } + @objc public var weChatPayDetails: Stripe.STPSourceWeChatPayDetails? { + get + } + @available(*, deprecated, message: "Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @objc public var stripeID: Swift.String + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc deinit +} +@objc public enum STPFilePurpose : Swift.Int { + case identityDocument + case disputeEvidence + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPFile : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var fileId: Swift.String? { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var purpose: Stripe.STPFilePurpose { + get + } + @objc public var size: Foundation.NSNumber? { + get + } + @objc public var type: Swift.String? { + get + } + @objc(stringFromPurpose:) public class func string(from purpose: Stripe.STPFilePurpose) -> Swift.String? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public protocol STPFormTextFieldContainer : ObjectiveC.NSObjectProtocol { + @objc dynamic var formFont: UIKit.UIFont { get set } + @objc dynamic var formTextColor: UIKit.UIColor { get set } + @objc dynamic var formTextErrorColor: UIKit.UIColor { get set } + @objc dynamic var formPlaceholderColor: UIKit.UIColor { get set } + @objc dynamic var formCursorColor: UIKit.UIColor { get set } + @objc dynamic var formKeyboardAppearance: UIKit.UIKeyboardAppearance { get set } +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBoletoParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var taxID: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc public class STPPushProvisioningContext : ObjectiveC.NSObject { + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public class func requestConfiguration(withName name: Swift.String, description: Swift.String?, last4: Swift.String?, brand: Stripe.STPCardBrand) -> PassKit.PKAddPaymentPassRequestConfiguration + @objc public init(keyProvider: Stripe.STPIssuingCardEphemeralKeyProvider) + @objc public func addPaymentPassViewController(_ controller: PassKit.PKAddPaymentPassViewController, generateRequestWithCertificateChain certificates: [Foundation.Data], nonce: Foundation.Data, nonceSignature: Foundation.Data, completionHandler handler: @escaping (PassKit.PKAddPaymentPassRequest) -> Swift.Void) + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPPaymentHandlerActionStatus : Swift.Int { + case succeeded + case canceled + case failed + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentHandlerErrorCode : Swift.Int { + @objc(STPPaymentHandlerUnsupportedAuthenticationErrorCode) case unsupportedAuthenticationErrorCode + @objc(STPPaymentHandlerRequiredAppNotAvailableErrorCode) case requiredAppNotAvailable + @objc(STPPaymentHandlerRequiresPaymentMethodErrorCode) case requiresPaymentMethodErrorCode + @objc(STPPaymentHandlerIntentStatusErrorCode) case intentStatusErrorCode + @objc(STPPaymentHandlerTimedOutErrorCode) case timedOutErrorCode + @objc(STPPaymentHandlerStripe3DS2ErrorCode) case stripe3DS2ErrorCode + @objc(STPPaymentHandlerNotAuthenticatedErrorCode) case notAuthenticatedErrorCode + @objc(STPPaymentHandlerNoConcurrentActionsErrorCode) case noConcurrentActionsErrorCode + @objc(STPPaymentHandlerRequiresAuthenticationContextErrorCode) case requiresAuthenticationContextErrorCode + @objc(STPPaymentHandlerPaymentErrorCode) case paymentErrorCode + @objc(STPPaymentHandlerInvalidClientSecret) case invalidClientSecret + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPPaymentHandlerActionPaymentIntentCompletionBlock = (Stripe.STPPaymentHandlerActionStatus, Stripe.STPPaymentIntent?, Foundation.NSError?) -> Swift.Void +public typealias STPPaymentHandlerActionSetupIntentCompletionBlock = (Stripe.STPPaymentHandlerActionStatus, Stripe.STPSetupIntent?, Foundation.NSError?) -> Swift.Void +@objc @_hasMissingDesignatedInitializers @available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +public class STPPaymentHandler : ObjectiveC.NSObject, SafariServices.SFSafariViewControllerDelegate { + @objc public static let errorDomain: Swift.String + @objc public static let sharedHandler: Stripe.STPPaymentHandler + @objc public class func shared() -> Stripe.STPPaymentHandler + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public var threeDSCustomizationSettings: Stripe.STPThreeDSCustomizationSettings + @objc public var simulateAppToAppRedirect: Swift.Bool { + @objc get + @objc set + } + @objc(confirmPayment:withAuthenticationContext:completion:) public func confirmPayment(_ paymentParams: Stripe.STPPaymentIntentParams, with authenticationContext: Stripe.STPAuthenticationContext, completion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) + @available(*, deprecated, renamed: "confirmPayment(_:with:completion:)", message: "Use confirmPayment(_:with:completion:) instead") + public func confirmPayment(withParams: Stripe.STPPaymentIntentParams, authenticationContext: Stripe.STPAuthenticationContext, completion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) + @objc(handleNextActionForPayment:withAuthenticationContext:returnURL:completion:) public func handleNextAction(forPayment paymentIntentClientSecret: Swift.String, with authenticationContext: Stripe.STPAuthenticationContext, returnURL: Swift.String?, completion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) + @objc(confirmSetupIntent:withAuthenticationContext:completion:) public func confirmSetupIntent(_ setupIntentConfirmParams: Stripe.STPSetupIntentConfirmParams, with authenticationContext: Stripe.STPAuthenticationContext, completion: @escaping Stripe.STPPaymentHandlerActionSetupIntentCompletionBlock) + @objc(handleNextActionForSetupIntent:withAuthenticationContext:returnURL:completion:) public func handleNextAction(forSetupIntent setupIntentClientSecret: Swift.String, with authenticationContext: Stripe.STPAuthenticationContext, returnURL: Swift.String?, completion: @escaping Stripe.STPPaymentHandlerActionSetupIntentCompletionBlock) + @objc public func safariViewControllerDidFinish(_ controller: SafariServices.SFSafariViewController) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSSelectionCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSSelectionCustomization + @objc public var primarySelectedColor: UIKit.UIColor { + @objc get + @objc set(primarySelectedColor) + } + @objc public var secondarySelectedColor: UIKit.UIColor { + @objc get + @objc set(secondarySelectedColor) + } + @objc public var unselectedBackgroundColor: UIKit.UIColor { + @objc get + @objc set(unselectedBackgroundColor) + } + @objc public var unselectedBorderColor: UIKit.UIColor { + @objc get + @objc set(unselectedBorderColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPPaymentMethodType : Swift.Int { + case card + case alipay + case grabPay + @objc(STPPaymentMethodTypeiDEAL) case iDEAL + case FPX + case cardPresent + @objc(STPPaymentMethodTypeSEPADebit) case SEPADebit + @objc(STPPaymentMethodTypeAUBECSDebit) case AUBECSDebit + case bacsDebit + case giropay + case przelewy24 + @objc(STPPaymentMethodTypeEPS) case EPS + case bancontact + case netBanking + @objc(STPPaymentMethodTypeOXXO) case OXXO + case sofort + case UPI + case payPal + case afterpayClearpay + @objc(STPPaymentMethodTypeBLIK) case blik + case weChatPay + case boleto + case link + case klarna + case linkInstantDebit + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPUserInformation : ObjectiveC.NSObject, Foundation.NSCopying { + @objc public var billingAddress: Stripe.STPAddress? + @objc public var shippingAddress: Stripe.STPAddress? + @objc(setBillingAddressWithBillingDetails:) public func setBillingAddress(with billingDetails: Stripe.STPPaymentMethodBillingDetails) + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPFakeAddPaymentPassViewController : UIKit.UIViewController { + @objc public class func canAddPaymentPass() -> Swift.Bool + @objc(initWithRequestConfiguration:delegate:) required public init?(requestConfiguration configuration: PassKit.PKAddPaymentPassRequestConfiguration, delegate: PassKit.PKAddPaymentPassViewControllerDelegate?) + @objc weak public var delegate: PassKit.PKAddPaymentPassViewControllerDelegate? + @objc convenience override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required convenience dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public func viewDidLoad() + @objc deinit +} +@objc public enum STPSourceCard3DSecureStatus : Swift.Int { + case required + case optional + case notSupported + case recommended + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPSourceCardDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var last4: Swift.String? { + get + } + @objc public var expMonth: Swift.UInt { + get + } + @objc public var expYear: Swift.UInt { + get + } + @objc public var brand: Stripe.STPCardBrand { + get + } + @objc public var funding: Stripe.STPCardFundingType { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var threeDSecure: Stripe.STPSourceCard3DSecureStatus { + get + } + @objc public var isApplePayCard: Swift.Bool { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPIssuingCardPin : ObjectiveC.NSObject { + @objc final public let pin: Swift.String? + @objc final public let error: [Swift.AnyHashable : Any]? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc deinit +} +extension STPIssuingCardPin : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodThreeDSecureUsage : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var supported: Swift.Bool { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionBoletoDisplayDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let number: Swift.String + @objc final public let expiresAt: Foundation.Date + @objc final public let hostedVoucherURL: Foundation.URL + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc(_stpinternal_apContextDelegate) public protocol STPApplePayContextDelegate : StripeApplePay._stpinternal_STPApplePayContextDelegateBase { + @objc(applePayContext:didCreatePaymentMethod:paymentInformation:completion:) func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, paymentInformation: PassKit.PKPayment, completion: @escaping StripeApplePay.STPIntentClientSecretCompletionBlock) + @objc(applePayContext:didCompleteWithStatus:error:) func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCompleteWith status: Stripe.STPPaymentStatus, error: Swift.Error?) +} +@objc(STPApplePayContextDelegate) public protocol _stpobjc_APContextDelegate : ObjectiveC.NSObjectProtocol { + @objc(applePayContext:didCreatePaymentMethod:paymentInformation:completion:) func applePayContext(_ context: Stripe._stpobjc_APContext, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, paymentInformation: PassKit.PKPayment, completion: @escaping StripeApplePay.STPIntentClientSecretCompletionBlock) + @objc(applePayContext:didCompleteWithStatus:error:) func applePayContext(_ context: Stripe._stpobjc_APContext, didCompleteWith status: Stripe.STPPaymentStatus, error: Swift.Error?) + @objc(applePayContext:didSelectShippingMethod:handler:) optional func applePayContext(_ context: Stripe._stpobjc_APContext, didSelect shippingMethod: PassKit.PKShippingMethod, handler: @escaping (PassKit.PKPaymentRequestShippingMethodUpdate) -> Swift.Void) + @objc optional func applePayContext(_ context: Stripe._stpobjc_APContext, didSelectShippingContact contact: PassKit.PKContact, handler: @escaping (PassKit.PKPaymentRequestShippingContactUpdate) -> Swift.Void) +} +@_hasMissingDesignatedInitializers @objc(STPApplePayContext) public class _stpobjc_APContext : ObjectiveC.NSObject { + @objc(initWithPaymentRequest:delegate:) required public init?(paymentRequest: PassKit.PKPaymentRequest, delegate: Stripe._stpobjc_APContextDelegate?) + @available(*, deprecated, renamed: "presentApplePay(completion:)", message: "Use `presentApplePay(completion:)` instead.") + @objc(presentApplePayOnViewController:completion:) public func presentApplePay(on viewController: UIKit.UIViewController, completion: StripeApplePay.STPVoidBlock? = nil) + @available(iOSApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + @available(macCatalystApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + @objc(presentApplePayWithCompletion:) public func presentApplePay(completion: StripeApplePay.STPVoidBlock? = nil) + @objc(presentApplePayFromWindow:withCompletion:) public func presentApplePay(from window: UIKit.UIWindow?, completion: StripeApplePay.STPVoidBlock? = nil) + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPCoreViewController : UIKit.UIViewController { + @objc convenience dynamic public init() + @objc required public init(theme: Stripe.STPTheme?) + @objc required override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public func viewDidLoad() + @objc override dynamic public func viewWillAppear(_ animated: Swift.Bool) + @objc override dynamic public func viewWillDisappear(_ animated: Swift.Bool) + @objc override dynamic public var preferredStatusBarStyle: UIKit.UIStatusBarStyle { + @objc get + } + @objc deinit +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension View { + public func paymentConfirmationSheet(isConfirmingPayment: SwiftUI.Binding, paymentIntentParams: Stripe.STPPaymentIntentParams, onCompletion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) -> some SwiftUI.View + + public func setupIntentConfirmationSheet(isConfirmingSetupIntent: SwiftUI.Binding, setupIntentParams: Stripe.STPSetupIntentConfirmParams, onCompletion: @escaping Stripe.STPPaymentHandlerActionSetupIntentCompletionBlock) -> some SwiftUI.View + +} +@objc @_inheritsConvenienceInitializers public class STPPaymentConfiguration : ObjectiveC.NSObject, Foundation.NSCopying { + @objc(sharedConfiguration) public static var shared: Stripe.STPPaymentConfiguration + @objc public var applePayEnabled: Swift.Bool { + @objc get + @objc set + } + @objc public var fpxEnabled: Swift.Bool + @objc public var requiredBillingAddressFields: Stripe.STPBillingAddressFields + @objc public var requiredShippingAddressFields: Swift.Set? + @objc public var verifyPrefilledShippingAddress: Swift.Bool + @objc public var shippingType: Stripe.STPShippingType + @objc public var availableCountries: Swift.Set + @objc public var companyName: Swift.String + @objc public var appleMerchantIdentifier: Swift.String? + @objc public var canDeletePaymentOptions: Swift.Bool + @objc public var cardScanningEnabled: Swift.Bool + @available(*, deprecated, message: "additionalPaymentOptions has been removed. Set applePayEnabled and fpxEnabled on STPPaymentConfiguration instead.") + @objc public var additionalPaymentOptions: Swift.Int + @available(*, deprecated, message: "If you used STPPaymentConfiguration.shared.publishableKey, use STPAPIClient.shared.publishableKey instead. If you passed a STPPaymentConfiguration instance to an SDK component, create an STPAPIClient, set publishableKey on it, and set the SDK component's APIClient property.") + @objc public var publishableKey: Swift.String? { + @objc get + @objc set(publishableKey) + } + @available(*, deprecated, message: "If you used STPPaymentConfiguration.shared.stripeAccount, use STPAPIClient.shared.stripeAccount instead. If you passed a STPPaymentConfiguration instance to an SDK component, create an STPAPIClient, set stripeAccount on it, and set the SDK component's APIClient property.") + @objc public var stripeAccount: Swift.String? { + @objc get + @objc set(stripeAccount) + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodNetBanking : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var bank: Swift.String { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPConfirmPaymentMethodOptions : ObjectiveC.NSObject { + @objc public var cardOptions: Stripe.STPConfirmCardOptions? + @objc public var alipayOptions: Stripe.STPConfirmAlipayOptions? + @objc public var blikOptions: Stripe.STPConfirmBLIKOptions? + @objc public var weChatPayOptions: Stripe.STPConfirmWeChatPayOptions? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPConfirmPaymentMethodOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAddress : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var city: Swift.String? + @objc public var country: Swift.String? + @objc public var line1: Swift.String? + @objc public var line2: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var state: Swift.String? + @objc public init(address: Stripe.STPAddress) + @objc required override dynamic public init() + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceOwner : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var address: Stripe.STPAddress? { + get + } + @objc public var email: Swift.String? { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var phone: Swift.String? { + get + } + @objc public var verifiedAddress: Stripe.STPAddress? { + get + } + @objc public var verifiedEmail: Swift.String? { + get + } + @objc public var verifiedName: Swift.String? { + get + } + @objc public var verifiedPhone: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public protocol STPPaymentOption : ObjectiveC.NSObjectProtocol { + @objc var image: UIKit.UIImage { get } + @objc var templateImage: UIKit.UIImage { get } + @objc var label: Swift.String { get } + @objc var isReusable: Swift.Bool { get } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentActivityIndicatorView : UIKit.UIView { + @objc public func setAnimating(_ animating: Swift.Bool, animated: Swift.Bool) + @objc public var animating: Swift.Bool { + @objc get + @objc set(animating) + } + @objc public var hidesWhenStopped: Swift.Bool { + @objc get + @objc set(hidesWhenStopped) + } + @objc override dynamic public var tintColor: UIKit.UIColor! { + @objc get + @objc set(tintColor) + } + @objc override dynamic public func layoutSubviews() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodEPSParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers final public class STPTheme : ObjectiveC.NSObject { + @objc public static let defaultTheme: Stripe.STPTheme + @available(*, deprecated, renamed: "defaultTheme", message: "Use defaultTheme instead") + public static func `default`() -> Stripe.STPTheme + @objc final public var primaryBackgroundColor: UIKit.UIColor + @objc final public var secondaryBackgroundColor: UIKit.UIColor + @objc final public var tertiaryBackgroundColor: UIKit.UIColor { + @objc get + } + @objc final public var quaternaryBackgroundColor: UIKit.UIColor { + @objc get + } + @objc final public var primaryForegroundColor: UIKit.UIColor + @objc final public var secondaryForegroundColor: UIKit.UIColor + @objc final public var tertiaryForegroundColor: UIKit.UIColor { + @objc get + } + @objc final public var accentColor: UIKit.UIColor + @objc final public var errorColor: UIKit.UIColor + @objc final public var font: UIKit.UIFont { + @objc get + @objc set + } + @objc final public var emphasisFont: UIKit.UIFont { + @objc get + @objc set + } + @objc final public var barStyle: UIKit.UIBarStyle { + @objc get + @objc set + } + @objc final public var translucentNavigationBar: Swift.Bool + @objc final public var smallFont: UIKit.UIFont { + @objc get + } + @objc final public var largeFont: UIKit.UIFont { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPTheme : Foundation.NSCopying { + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc public protocol STPAuthenticationContext : ObjectiveC.NSObjectProtocol { + @objc func authenticationPresentingViewController() -> UIKit.UIViewController + @objc(prepareAuthenticationContextForPresentation:) optional func prepare(forPresentation completion: @escaping StripeApplePay.STPVoidBlock) + @objc optional func configureSafariViewController(_ viewController: SafariServices.SFSafariViewController) + @objc(authenticationContextWillDismissViewController:) optional func authenticationContextWillDismiss(_ viewController: UIKit.UIViewController) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodiDEAL : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var bankName: Swift.String? { + get + } + @objc public var bankIdentifierCode: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public class STPPinManagementService : ObjectiveC.NSObject { + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public init(keyProvider: Stripe.STPIssuingCardEphemeralKeyProvider) + @objc public func retrievePin(_ cardId: Swift.String, verificationId: Swift.String, oneTimeCode: Swift.String, completion: @escaping Stripe.STPPinCompletionBlock) + @objc public func updatePin(_ cardId: Swift.String, newPin: Swift.String, verificationId: Swift.String, oneTimeCode: Swift.String, completion: @escaping Stripe.STPPinCompletionBlock) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPAddCardViewController : Stripe.STPCoreTableViewController, Stripe.STPPaymentCardTextFieldDelegate, UIKit.UITableViewDelegate, UIKit.UITableViewDataSource { + @objc convenience dynamic public init() + @objc(initWithConfiguration:theme:) public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc weak public var delegate: Stripe.STPAddCardViewControllerDelegate? + @objc public var prefilledInformation: Stripe.STPUserInformation? + @objc public var customFooterView: UIKit.UIView? { + @objc get + @objc set(footerView) + } + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public func tableView(_ tableView: UIKit.UITableView, estimatedHeightForRowAt indexPath: Foundation.IndexPath) -> CoreGraphics.CGFloat + @objc override dynamic public func viewDidLayoutSubviews() + @objc public func updateAppearance() + @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool) + @objc public func handleCancelTapped(_ sender: Any?) + @objc public func paymentCardTextFieldDidChange(_ textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldWillEndEditing(forReturn textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldDidBeginEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldDidEndEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldDidBeginEditing(_ textField: Stripe.STPPaymentCardTextField) + @objc public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell + @objc public func tableView(_ tableView: UIKit.UITableView, willDisplay cell: UIKit.UITableViewCell, forRowAt indexPath: Foundation.IndexPath) + @objc public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc override public func tableView(_ tableView: UIKit.UITableView, heightForHeaderInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc public func tableView(_ tableView: UIKit.UITableView, viewForHeaderInSection section: Swift.Int) -> UIKit.UIView? + @objc public func tableView(_ tableView: UIKit.UITableView, viewForFooterInSection section: Swift.Int) -> UIKit.UIView? + @objc override dynamic public func viewWillTransition(to size: CoreGraphics.CGSize, with coordinator: UIKit.UIViewControllerTransitionCoordinator) + @objc deinit +} +@objc public protocol STPAddCardViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc func addCardViewControllerDidCancel(_ addCardViewController: Stripe.STPAddCardViewController) + @objc func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, completion: @escaping Stripe.STPErrorBlock) + @available(*, deprecated, renamed: "addCardViewController(_:didCreatePaymentMethod:completion:)", message: "Use addCardViewController(_:didCreatePaymentMethod:completion:) instead and migrate your integration to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read") + @objc optional func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreateToken token: Stripe.STPToken, completion: (Swift.Error?) -> Swift.Void) + @available(*, deprecated, renamed: "addCardViewController(_:didCreatePaymentMethod:completion:)", message: "Use addCardViewController(_:didCreatePaymentMethod:completion:) instead and migrate your integration to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read") + @objc optional func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreateSource source: Stripe.STPSource, completion: (Swift.Error?) -> Swift.Void) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentOptionsViewController : Stripe.STPCoreViewController, Stripe.STPAddCardViewControllerDelegate { + @objc(initWithPaymentContext:) convenience public init(paymentContext: Stripe.STPPaymentContext) + @objc(initWithConfiguration:theme:customerContext:delegate:) convenience public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme, customerContext: Stripe.STPCustomerContext, delegate: Stripe.STPPaymentOptionsViewControllerDelegate) + @objc(initWithConfiguration:theme:apiAdapter:delegate:) public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme, apiAdapter: Stripe.STPBackendAPIAdapter, delegate: Stripe.STPPaymentOptionsViewControllerDelegate) + @objc public var prefilledInformation: Stripe.STPUserInformation? + @objc public var defaultPaymentMethod: Swift.String? + @objc public var paymentOptionsViewControllerFooterView: UIKit.UIView? + @objc public var addCardViewControllerFooterView: UIKit.UIView? + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc(dismissWithCompletion:) public func dismiss(withCompletion completion: StripeApplePay.STPVoidBlock?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required public init(theme: Stripe.STPTheme?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public func viewDidLayoutSubviews() + @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool) + @objc public func addCardViewControllerDidCancel(_ addCardViewController: Stripe.STPAddCardViewController) + @objc public func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, completion: @escaping Stripe.STPErrorBlock) + @objc deinit +} +@objc public protocol STPPaymentOptionsViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didFailToLoadWithError error: Swift.Error) + @objc func paymentOptionsViewControllerDidFinish(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc func paymentOptionsViewControllerDidCancel(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc(paymentOptionsViewController:didSelectPaymentOption:) optional func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didSelect paymentOption: Stripe.STPPaymentOption) +} +@frozen public enum PaymentSheetResult { + case completed + case canceled + case failed(error: Swift.Error) +} +@_hasMissingDesignatedInitializers public class PaymentSheet { + final public let configuration: Stripe.PaymentSheet.Configuration + public var mostRecentError: Swift.Error? { + get + } + convenience public init(paymentIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration) + convenience public init(setupIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public func present(from presentingViewController: UIKit.UIViewController, completion: @escaping (Stripe.PaymentSheetResult) -> ()) + @objc deinit +} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +@objc(STPErrorCode) public enum _stpobjc_STPErrorCode : Swift.Int { + @objc(STPConnectionError) case connectionError = 40 + @objc(STPInvalidRequestError) case invalidRequestError = 50 + @objc(STPAuthenticationError) case authenticationError = 51 + @objc(STPAPIError) case apiError = 60 + @objc(STPCardError) case cardError = 70 + @objc(STPCancellationError) case cancellationError = 80 + @objc(STPEphemeralKeyDecodingError) case ephemeralKeyDecodingError = 1000 + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @available(swift, deprecated: 0.0.1, renamed: "STPError") +@objc(STPError) public class _stpobjc_STPError : ObjectiveC.NSObject { + @objc public static let stripeDomain: Swift.String + @objc public static let errorMessageKey: Swift.String + @objc public static let hintKey: Swift.String + @objc public static let cardErrorCodeKey: Swift.String + @objc public static let errorParameterKey: Swift.String + @objc public static let stripeErrorCodeKey: Swift.String + @objc public static let stripeErrorTypeKey: Swift.String + @objc public static let stripeDeclineCodeKey: Swift.String + @objc public static let invalidNumber: Swift.String + @objc public static let invalidExpMonth: Swift.String + @objc public static let invalidExpYear: Swift.String + @objc public static let invalidCVC: Swift.String + @objc public static let incorrectNumber: Swift.String + @objc public static let expiredCard: Swift.String + @objc public static let cardDeclined: Swift.String + @objc public static let processingError: Swift.String + @objc public static let incorrectCVC: Swift.String + @objc public static let incorrectZip: Swift.String + @objc deinit + @objc override dynamic public init() +} +@objc extension NSError { + @available(swift, deprecated: 0.0.1, renamed: "stp_error(fromStripeResponse:)") + @objc(stp_errorFromStripeResponse:) public static func _stpobjc_stp_error(fromStripeResponse jsonDictionary: [Swift.AnyHashable : Any]?) -> Foundation.NSError? +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionOXXODisplayDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let expiresAfter: Foundation.Date + @objc final public let hostedVoucherURL: Foundation.URL + @objc final public let number: Swift.String + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc deinit + @objc override dynamic public init() +} +extension StripeAPI { + @available(*, deprecated, message: "Use `paymentRequestWithMerchantIdentifier:country:currency:` instead.") + public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String) -> PassKit.PKPaymentRequest +} +@available(*, deprecated, message: "Use StripeAPI.defaultPublishableKey instead. (StripeAPI.defaultPublishableKey = \"pk_12345_xyzabc\")") +public func setDefaultPublishableKey(_ publishableKey: Swift.String) +@available(*, deprecated, message: "Use StripeAPI.advancedFraudSignalsEnabled instead.") +public var advancedFraudSignalsEnabled: Swift.Bool { + get + set +} +@available(*, deprecated, message: "Use StripeAPI.jcbPaymentNetworkSupported instead.") +public var jcbPaymentNetworkSupported: Swift.Bool { + get + set +} +@available(*, deprecated, message: "Use StripeAPI.additionalEnabledApplePayNetworks instead.") +public var additionalEnabledApplePayNetworks: [PassKit.PKPaymentNetwork] { + get + set +} +@available(*, deprecated, message: "Use StripeAPI.canSubmitPaymentRequest(_:) instead.") +public func canSubmitPaymentRequest(_ paymentRequest: PassKit.PKPaymentRequest) -> Swift.Bool +@available(*, deprecated, message: "Use StripeAPI.deviceSupportsApplePay() instead.") +public func deviceSupportsApplePay() -> Swift.Bool +@available(*, deprecated, message: "Use StripeAPI.paymentRequest(withMerchantIdentifier:country:currency:) instead.") +public func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String, country countryCode: Swift.String, currency currencyCode: Swift.String) -> PassKit.PKPaymentRequest +@available(*, deprecated, message: "Use StripeAPI.handleURLCallback(with:) instead.") +public func handleURLCallback(with url: Foundation.URL) -> Swift.Bool +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBoleto : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let taxID: Swift.String + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension View { + public func paymentSheet(isPresented: SwiftUI.Binding, paymentSheet: Stripe.PaymentSheet, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void) -> some SwiftUI.View + + public func paymentOptionsSheet(isPresented: SwiftUI.Binding, paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onSheetDismissed: (() -> Swift.Void)?) -> some SwiftUI.View + + public func paymentConfirmationSheet(isConfirming: SwiftUI.Binding, paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void) -> some SwiftUI.View + + @available(*, deprecated, renamed: "paymentConfirmationSheet(isConfirming:paymentSheetFlowController:onCompletion:)") + public func paymentConfirmationSheet(isConfirmingPayment: SwiftUI.Binding, paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void) -> some SwiftUI.View + +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension PaymentSheet { + public struct PaymentButton : SwiftUI.View where Content : SwiftUI.View { + public init(paymentSheet: Stripe.PaymentSheet, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void, @SwiftUI.ViewBuilder content: () -> Content) + public var body: some SwiftUI.View { + get + } + public typealias Body = @_opaqueReturnTypeOf("$s6Stripe12PaymentSheetC0B6ButtonV4bodyQrvp", 0) 🦸 + } +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension PaymentSheet.FlowController { + public struct PaymentOptionsButton : SwiftUI.View where Content : SwiftUI.View { + public init(paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onSheetDismissed: @escaping () -> Swift.Void, @SwiftUI.ViewBuilder content: () -> Content) + public var body: some SwiftUI.View { + get + } + public typealias Body = @_opaqueReturnTypeOf("$s6Stripe12PaymentSheetC14FlowControllerC0B13OptionsButtonV4bodyQrvp", 0) 🦸 + } + @available(*, deprecated, renamed: "ConfirmButton") + public typealias ConfirmPaymentButton = Stripe.PaymentSheet.FlowController.ConfirmButton + public struct ConfirmButton : SwiftUI.View where Content : SwiftUI.View { + public init(paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void, @SwiftUI.ViewBuilder content: () -> Content) + public var body: some SwiftUI.View { + get + } + public typealias Body = @_opaqueReturnTypeOf("$s6Stripe12PaymentSheetC14FlowControllerC13ConfirmButtonV4bodyQrvp", 0) 🦸 + } +} +@objc public enum STPCardFundingType : Swift.Int { + case debit + case credit + case prepaid + case other + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPCard : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPPaymentOption, Stripe.STPSourceProtocol { + @objc public var last4: Swift.String { + get + } + @objc public var dynamicLast4: Swift.String? { + get + } + @objc public var isApplePayCard: Swift.Bool { + @objc get + } + @objc public var expMonth: Swift.Int { + get + } + @objc public var expYear: Swift.Int { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var address: Stripe.STPAddress? { + get + } + @objc public var brand: Stripe.STPCardBrand { + get + } + @objc public var funding: Stripe.STPCardFundingType { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var currency: Swift.String? { + get + } + @objc(stringFromBrand:) public class func string(from brand: Stripe.STPCardBrand) -> Swift.String + @objc(brandFromString:) public class func brand(from string: Swift.String) -> Stripe.STPCardBrand + @available(*, deprecated, message: "You cannot directly instantiate an STPCard. You should only use one that has been returned from an STPAPIClient callback.") + @objc(initWithID:brand:last4:expMonth:expYear:funding:) public init(id cardID: Swift.String, brand: Stripe.STPCardBrand, last4: Swift.String, expMonth: Swift.Int, expYear: Swift.Int, funding: Stripe.STPCardFundingType) + @objc(fundingFromString:) public class func funding(from string: Swift.String) -> Stripe.STPCardFundingType + @objc public var stripeID: Swift.String + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ other: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @available(*, deprecated, message: "Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @available(*, deprecated, message: "Use stripeID (defined in STPSourceProtocol)") + @objc public var cardId: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.line1") + @objc public var addressLine1: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.line2") + @objc public var addressLine2: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.city") + @objc public var addressCity: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.state") + @objc public var addressState: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.postalCode") + @objc public var addressZip: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.country") + @objc public var addressCountry: Swift.String? { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodCardParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc convenience public init(cardSourceParams: Stripe.STPCardParams) + @objc required override dynamic public init() + @objc public var number: Swift.String? + @objc public var expMonth: Foundation.NSNumber? + @objc public var expYear: Foundation.NSNumber? + @objc public var token: Swift.String? + @objc public var cvc: Swift.String? + @objc public var last4: Swift.String? { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public func isEqual(_ other: Any?) -> Swift.Bool + @objc deinit +} +@objc public class STPPushProvisioningDetailsParams : ObjectiveC.NSObject { + @objc public var cardId: Swift.String { + get + } + @objc public var certificates: [Foundation.Data] { + get + } + @objc public var nonce: Foundation.Data { + get + } + @objc public var nonceSignature: Foundation.Data { + get + } + @objc public var certificatesBase64: [Swift.String] { + @objc get + } + @objc public var nonceHex: Swift.String { + @objc get + } + @objc public var nonceSignatureHex: Swift.String { + @objc get + } + @objc required public init(cardId: Swift.String, certificates: [Foundation.Data], nonce: Foundation.Data, nonceSignature: Foundation.Data) + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountAddress : ObjectiveC.NSObject { + @objc public var city: Swift.String? + @objc public var country: Swift.String? + @objc public var line1: Swift.String? + @objc public var line2: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var state: Swift.String? + @objc public var town: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountAddress : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPConfirmAlipayOptions : ObjectiveC.NSObject { + @objc public var appBundleID: Swift.String { + @objc get + } + @objc public var appVersionKey: Swift.String { + @objc get + } + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConfirmAlipayOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPPaymentMethodCardWalletType : Swift.Int { + case amexExpressCheckout + case applePay + case googlePay + case masterpass + case samsungPay + case visaCheckout + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardWallet : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var type: Stripe.STPPaymentMethodCardWalletType { + get + } + @objc public var masterpass: Stripe.STPPaymentMethodCardWalletMasterpass? { + get + } + @objc public var visaCheckout: Stripe.STPPaymentMethodCardWalletVisaCheckout? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +extension PaymentSheet { + @available(iOS 13.0, *) + public enum UserInterfaceStyle : Swift.Int { + case automatic + case alwaysLight + case alwaysDark + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } + } + public enum SavePaymentMethodOptInBehavior { + case automatic + case requiresOptIn + case requiresOptOut + public static func == (a: Stripe.PaymentSheet.SavePaymentMethodOptInBehavior, b: Stripe.PaymentSheet.SavePaymentMethodOptInBehavior) -> Swift.Bool + public var hashValue: Swift.Int { + get + } + public func hash(into hasher: inout Swift.Hasher) + } + public struct Configuration { + public var allowsDelayedPaymentMethods: Swift.Bool + public var apiClient: StripeCore.STPAPIClient + public var applePay: Stripe.PaymentSheet.ApplePayConfiguration? + public var primaryButtonColor: UIKit.UIColor + @available(iOS 13.0, *) + public var style: Stripe.PaymentSheet.UserInterfaceStyle { + get + set + } + public var customer: Stripe.PaymentSheet.CustomerConfiguration? + public var merchantDisplayName: Swift.String + public var returnURL: Swift.String? + public init() + public var defaultBillingDetails: Stripe.PaymentSheet.BillingDetails + public var savePaymentMethodOptInBehavior: Stripe.PaymentSheet.SavePaymentMethodOptInBehavior + } + public struct CustomerConfiguration { + public let id: Swift.String + public let ephemeralKeySecret: Swift.String + public init(id: Swift.String, ephemeralKeySecret: Swift.String) + } + public struct ApplePayConfiguration { + public let merchantId: Swift.String + public let merchantCountryCode: Swift.String + public init(merchantId: Swift.String, merchantCountryCode: Swift.String) + } + public struct Address { + public var city: Swift.String? + public var country: Swift.String? + public var line1: Swift.String? + public var line2: Swift.String? + public var postalCode: Swift.String? + public var state: Swift.String? + public init(city: Swift.String? = nil, country: Swift.String? = nil, line1: Swift.String? = nil, line2: Swift.String? = nil, postalCode: Swift.String? = nil, state: Swift.String? = nil) + } + public struct BillingDetails { + public var address: Stripe.PaymentSheet.Address + public var email: Swift.String? + public var name: Swift.String? + public var phone: Swift.String? + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodLink : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPBackendAPIAdapter : ObjectiveC.NSObjectProtocol { + @objc func retrieveCustomer(_ completion: Stripe.STPCustomerCompletionBlock?) + @objc func listPaymentMethodsForCustomer(completion: Stripe.STPPaymentMethodsCompletionBlock?) + @objc func attachPaymentMethod(toCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc optional func detachPaymentMethod(fromCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc optional func updateCustomer(withShippingAddress shipping: Stripe.STPAddress, completion: Stripe.STPErrorBlock?) +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntentShippingDetailsAddress : ObjectiveC.NSObject { + @objc final public let city: Swift.String? + @objc final public let country: Swift.String? + @objc final public let line1: Swift.String? + @objc final public let line2: Swift.String? + @objc final public let postalCode: Swift.String? + @objc final public let state: Swift.String? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetailsAddress : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntentShippingDetails : ObjectiveC.NSObject { + @objc final public let address: Stripe.STPPaymentIntentShippingDetailsAddress? + @objc final public let name: Swift.String? + @objc final public let carrier: Swift.String? + @objc final public let phone: Swift.String? + @objc final public let trackingNumber: Swift.String? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetails : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc public enum STPCardBrand : Swift.Int { + case visa + case amex + case mastercard + case discover + case JCB + case dinersClub + case unionPay + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @available(*, deprecated, message: "STPStringFromCardBrand has been replaced with STPCardBrandUtilities.stringFrom(brand)") +@objc public class STPStringFromCardBrand : ObjectiveC.NSObject { + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPCardBrandUtilities : ObjectiveC.NSObject { + @objc(stringFromCardBrand:) public static func stringFrom(_ brand: Stripe.STPCardBrand) -> Swift.String? + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPCustomerEphemeralKeyProvider : ObjectiveC.NSObjectProtocol { + @objc(createCustomerKeyWithAPIVersion:completion:) func createCustomerKey(withAPIVersion apiVersion: Swift.String, completion: @escaping Stripe.STPJSONResponseCompletionBlock) +} +@objc public protocol STPIssuingCardEphemeralKeyProvider : ObjectiveC.NSObjectProtocol { + @objc(createIssuingCardKeyWithAPIVersion:completion:) func createIssuingCardKey(withAPIVersion apiVersion: Swift.String, completion: @escaping Stripe.STPJSONResponseCompletionBlock) +} +@available(*, deprecated, message: "use `STPCustomerEphemeralKeyProvider` or `STPIssuingCardEphemeralKeyProvider` depending on the type of key that will be fetched.") +@objc public protocol STPEphemeralKeyProvider : Stripe.STPCustomerEphemeralKeyProvider { +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBacsDebit : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var sortCode: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPBankAccountStatus : Swift.Int { + case new + case validated + case verified + case verificationFailed + case errored + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPBankAccount : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPSourceProtocol { + @objc public var routingNumber: Swift.String? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var currency: Swift.String? { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var bankName: Swift.String? { + get + } + @objc public var accountHolderName: Swift.String? { + get + } + @objc public var accountHolderType: Stripe.STPBankAccountHolderType { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var status: Stripe.STPBankAccountStatus { + get + } + @available(*, deprecated, message: "Use stripeID (defined in STPSourceProtocol)") + @objc public var bankAccountId: Swift.String? { + @objc get + } + @objc public var stripeID: Swift.String { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ bankAccount: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodSEPADebitParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var iban: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodParams : ObjectiveC.NSObject, Stripe.STPFormEncodable, Stripe.STPPaymentOption { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var type: Stripe.STPPaymentMethodType { + @objc get + @objc set(newType) + } + @objc public var rawTypeString: Swift.String? + @objc public var billingDetails: Stripe.STPPaymentMethodBillingDetails? + @objc public var card: Stripe.STPPaymentMethodCardParams? + @objc public var alipay: Stripe.STPPaymentMethodAlipayParams? + @objc public var iDEAL: Stripe.STPPaymentMethodiDEALParams? + @objc public var fpx: Stripe.STPPaymentMethodFPXParams? + @objc public var sepaDebit: Stripe.STPPaymentMethodSEPADebitParams? + @objc public var bacsDebit: Stripe.STPPaymentMethodBacsDebitParams? + @objc public var auBECSDebit: Stripe.STPPaymentMethodAUBECSDebitParams? + @objc public var giropay: Stripe.STPPaymentMethodGiropayParams? + @objc public var payPal: Stripe.STPPaymentMethodPayPalParams? + @objc public var przelewy24: Stripe.STPPaymentMethodPrzelewy24Params? + @objc public var eps: Stripe.STPPaymentMethodEPSParams? + @objc public var bancontact: Stripe.STPPaymentMethodBancontactParams? + @objc public var netBanking: Stripe.STPPaymentMethodNetBankingParams? + @objc public var oxxo: Stripe.STPPaymentMethodOXXOParams? + @objc public var sofort: Stripe.STPPaymentMethodSofortParams? + @objc public var upi: Stripe.STPPaymentMethodUPIParams? + @objc public var grabPay: Stripe.STPPaymentMethodGrabPayParams? + @objc public var afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpayParams? + @objc public var blik: Stripe.STPPaymentMethodBLIKParams? + @objc public var boleto: Stripe.STPPaymentMethodBoletoParams? + @objc public var link: Stripe.STPPaymentMethodLinkParams? + @objc public var klarna: Stripe.STPPaymentMethodKlarnaParams? + @objc public var metadata: [Swift.String : Swift.String]? + @objc convenience public init(card: Stripe.STPPaymentMethodCardParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(iDEAL: Stripe.STPPaymentMethodiDEALParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(fpx: Stripe.STPPaymentMethodFPXParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(sepaDebit: Stripe.STPPaymentMethodSEPADebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(bacsDebit: Stripe.STPPaymentMethodBacsDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(aubecsDebit auBECSDebit: Stripe.STPPaymentMethodAUBECSDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(giropay: Stripe.STPPaymentMethodGiropayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(eps: Stripe.STPPaymentMethodEPSParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(przelewy24: Stripe.STPPaymentMethodPrzelewy24Params, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(bancontact: Stripe.STPPaymentMethodBancontactParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(netBanking: Stripe.STPPaymentMethodNetBankingParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(grabPay: Stripe.STPPaymentMethodGrabPayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(oxxo: Stripe.STPPaymentMethodOXXOParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(sofort: Stripe.STPPaymentMethodSofortParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(upi: Stripe.STPPaymentMethodUPIParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(alipay: Stripe.STPPaymentMethodAlipayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(payPal: Stripe.STPPaymentMethodPayPalParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(blik: Stripe.STPPaymentMethodBLIKParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(boleto: Stripe.STPPaymentMethodBoletoParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(klarna: Stripe.STPPaymentMethodKlarnaParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init?(singleUsePaymentMethod paymentMethod: Stripe.STPPaymentMethod) + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +@objc extension STPPaymentMethodParams { + @objc(paramsWithCard:billingDetails:metadata:) dynamic public class func paramsWith(card: Stripe.STPPaymentMethodCardParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithiDEAL:billingDetails:metadata:) dynamic public class func paramsWith(iDEAL: Stripe.STPPaymentMethodiDEALParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithFPX:billingDetails:metadata:) dynamic public class func paramsWith(fpx: Stripe.STPPaymentMethodFPXParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithSEPADebit:billingDetails:metadata:) dynamic public class func paramsWith(sepaDebit: Stripe.STPPaymentMethodSEPADebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithBacsDebit:billingDetails:metadata:) dynamic public class func paramsWith(bacsDebit: Stripe.STPPaymentMethodBacsDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithAUBECSDebit:billingDetails:metadata:) dynamic public class func paramsWith(auBECSDebit: Stripe.STPPaymentMethodAUBECSDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithGiropay:billingDetails:metadata:) dynamic public class func paramsWith(giropay: Stripe.STPPaymentMethodGiropayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithEPS:billingDetails:metadata:) dynamic public class func paramsWith(eps: Stripe.STPPaymentMethodEPSParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithPrzelewy24:billingDetails:metadata:) dynamic public class func paramsWith(przelewy24: Stripe.STPPaymentMethodPrzelewy24Params, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithBancontact:billingDetails:metadata:) dynamic public class func paramsWith(bancontact: Stripe.STPPaymentMethodBancontactParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithNetBanking:billingDetails:metadata:) dynamic public class func paramsWith(netBanking: Stripe.STPPaymentMethodNetBankingParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithOXXO:billingDetails:metadata:) dynamic public class func paramsWith(oxxo: Stripe.STPPaymentMethodOXXOParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithGrabPay:billingDetails:metadata:) dynamic public class func paramsWith(grabPay: Stripe.STPPaymentMethodGrabPayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithSofort:billingDetails:metadata:) dynamic public class func paramsWith(sofort: Stripe.STPPaymentMethodSofortParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithUPI:billingDetails:metadata:) dynamic public class func paramsWith(upi: Stripe.STPPaymentMethodUPIParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithAlipay:billingDetails:metadata:) dynamic public class func paramsWith(alipay: Stripe.STPPaymentMethodAlipayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithPayPal:billingDetails:metadata:) dynamic public class func paramsWith(payPal: Stripe.STPPaymentMethodPayPalParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithAfterpayClearpay:billingDetails:metadata:) dynamic public class func paramsWith(afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithBLIK:billingDetails:metadata:) dynamic public class func paramsWith(blik: Stripe.STPPaymentMethodBLIKParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithKlarna:billingDetails:metadata:) dynamic public class func paramsWith(klarna: Stripe.STPPaymentMethodKlarnaParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodPayPalParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc public protocol STPSourceProtocol : ObjectiveC.NSObjectProtocol { + @objc var stripeID: Swift.String { get } +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, deprecated, renamed: "STPIntentAction", message: "Use `STPIntentAction` instead.") +@objc final public class STPPaymentIntentAction : Stripe.STPIntentAction { + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodGrabPay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPFormView : UIKit.UIView { + @objc override dynamic public var canResignFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func resignFirstResponder() -> Swift.Bool + @objc override dynamic public var isFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public var canBecomeFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func becomeFirstResponder() -> Swift.Bool + @objc override dynamic public var isUserInteractionEnabled: Swift.Bool { + @objc get + @objc set + } + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodPayPal : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodSofortParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var country: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc public enum STPMandateCustomerAcceptanceType : Swift.Int { + case online + case offline + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPMandateCustomerAcceptanceParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var type: Stripe.STPMandateCustomerAcceptanceType + @objc public var onlineParams: Stripe.STPMandateOnlineParams? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc required override dynamic public init() + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public class func rootObjectName() -> Swift.String? + @objc deinit +} +public enum PaymentSheetError : Swift.Error { + case unknown(debugDescription: Swift.String) + public var localizedDescription: Swift.String { + get + } +} +extension UINavigationBar { + @available(*, deprecated, message: "Use the `stp_theme` property instead") + @objc dynamic public func stp_setTheme(_ theme: Stripe.STPTheme) + @objc dynamic public var stp_theme: Stripe.STPTheme? { + @objc get + @objc set(theme) + } +} +@objc public protocol STPAUBECSDebitFormViewDelegate : ObjectiveC.NSObjectProtocol { + @objc func auBECSDebitForm(_ form: Stripe.STPAUBECSDebitFormView, didChangeToStateComplete complete: Swift.Bool) +} +@objc @_inheritsConvenienceInitializers public class STPAUBECSDebitFormView : Stripe.STPMultiFormTextField, UIKit.UITextViewDelegate { + @objc(initWithCompanyName:) required public init(companyName: Swift.String) + @objc public var formBackgroundColor: UIKit.UIColor { + @objc get + @objc set + } + @objc weak public var becsDebitFormDelegate: Stripe.STPAUBECSDebitFormViewDelegate? + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? { + @objc get + } + @objc override dynamic public func systemLayoutSizeFitting(_ targetSize: CoreGraphics.CGSize, withHorizontalFittingPriority horizontalFittingPriority: UIKit.UILayoutPriority, verticalFittingPriority: UIKit.UILayoutPriority) -> CoreGraphics.CGSize + @objc public func textView(_ textView: UIKit.UITextView, shouldInteractWith URL: Foundation.URL, in characterRange: Foundation.NSRange, interaction: UIKit.UITextItemInteraction) -> Swift.Bool + @objc override public var formFont: UIKit.UIFont { + @objc get + @objc set + } + @objc override public var formTextColor: UIKit.UIColor { + @objc get + @objc set + } + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAfterpayClearpayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public static func rootObjectName() -> Swift.String? + @objc public static func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodAfterpayClearpay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPSetupIntent : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let stripeID: Swift.String + @objc final public let clientSecret: Swift.String + @objc final public let created: Foundation.Date + @objc final public let customerID: Swift.String? + @objc final public let stripeDescription: Swift.String? + @objc final public let livemode: Swift.Bool + @objc final public let nextAction: Stripe.STPIntentAction? + @objc final public let paymentMethodID: Swift.String? + @objc final public let paymentMethodTypes: [Foundation.NSNumber] + @objc final public let status: Stripe.STPSetupIntentStatus + @objc final public let usage: Stripe.STPSetupIntentUsage + @objc final public let lastSetupError: Stripe.STPSetupIntentLastSetupError? + @available(*, deprecated, message: "Metadata is not returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPBillingAddressFields : Swift.UInt { + case none + case postalCode + case full + case name + @available(*, deprecated, message: "Use STPBillingAddressFields.postalCode instead") + case zip + public typealias RawValue = Swift.UInt + public init?(rawValue: Swift.UInt) + public var rawValue: Swift.UInt { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPAddress : ObjectiveC.NSObject { + @objc public var name: Swift.String? + @objc public var line1: Swift.String? + @objc public var line2: Swift.String? + @objc public var city: Swift.String? + @objc public var state: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var country: Swift.String? + @objc public var phone: Swift.String? + @objc public var email: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc(shippingInfoForChargeWithAddress:shippingMethod:) public class func shippingInfoForCharge(with address: Stripe.STPAddress?, shippingMethod method: PassKit.PKShippingMethod?) -> [Swift.AnyHashable : Any]? + @objc override dynamic public init() + @objc public init(paymentMethodBillingDetails billingDetails: Stripe.STPPaymentMethodBillingDetails) + @objc(initWithPKContact:) public init(pkContact contact: PassKit.PKContact) + @objc(PKContactValue) public func pkContactValue() -> PassKit.PKContact + @objc(initWithCNContact:) public init(cnContact contact: Contacts.CNContact) + @objc public func containsRequiredFields(_ requiredFields: Stripe.STPBillingAddressFields) -> Swift.Bool + @objc(containsContentForBillingAddressFields:) public func containsContent(for desiredFields: Stripe.STPBillingAddressFields) -> Swift.Bool + @objc public func containsRequiredShippingAddressFields(_ requiredFields: Swift.Set?) -> Swift.Bool + @objc public func containsContent(forShippingAddressFields desiredFields: Swift.Set?) -> Swift.Bool + @objc(applePayContactFieldsFromBillingAddressFields:) public class func applePayContactFields(from billingAddressFields: Stripe.STPBillingAddressFields) -> Swift.Set + @objc public class func pkContactFields(fromStripeContactFields contactFields: Swift.Set?) -> Swift.Set? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc deinit +} +extension STPAddress : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +extension STPAddress : Stripe.STPFormEncodable { + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] +} +extension STPAddress : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodAUBECSDebit : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var bsbNumber: Swift.String { + get + } + @objc public var fingerprint: Swift.String { + get + } + @objc public var last4: Swift.String { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAlipayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc public enum STPCardFormViewStyle : Swift.Int { + case standard + case borderless + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public protocol STPCardFormViewDelegate : ObjectiveC.NSObjectProtocol { + @objc func cardFormView(_ form: Stripe.STPCardFormView, didChangeToStateComplete complete: Swift.Bool) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPCardFormView : Stripe.STPFormView { + @objc weak public var delegate: Stripe.STPCardFormViewDelegate? + @objc override dynamic public var backgroundColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc public var disabledBackgroundColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc public var cardParams: Stripe.STPPaymentMethodParams? { + @objc get + } + @objc override dynamic public var isUserInteractionEnabled: Swift.Bool { + @objc get + @objc set + } + @objc convenience public init(style: Stripe.STPCardFormViewStyle = .standard) + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPCustomer : ObjectiveC.NSObject { + @objc final public let stripeID: Swift.String + @objc public var defaultSource: Stripe.STPSourceProtocol? { + get + } + @objc public var sources: [Stripe.STPSourceProtocol] { + get + } + @objc public var email: Swift.String? { + get + } + @objc public var shippingAddress: Stripe.STPAddress? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc convenience public init(stripeID: Swift.String, defaultSource: Stripe.STPSourceProtocol?, sources: [Stripe.STPSourceProtocol]) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc(updateSourcesFilteringApplePay:) public func updateSources(filteringApplePay: Swift.Bool) + @objc deinit +} +extension STPCustomer : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_hasMissingDesignatedInitializers public class STPCustomerDeserializer : ObjectiveC.NSObject { + @objc final public let customer: Stripe.STPCustomer? + @objc final public let error: Swift.Error? + @objc convenience public init(data: Foundation.Data?, urlResponse: Foundation.URLResponse?, error: Swift.Error?) + @objc convenience public init(jsonResponse json: Any?) + @objc deinit + @objc override dynamic public init() +} +@objc public class STPContactField : ObjectiveC.NSObject, Swift.RawRepresentable { + final public let rawValue: Swift.String + required public init(rawValue: Swift.String) + @objc public static let postalAddress: Stripe.STPContactField + @objc public static let emailAddress: Stripe.STPContactField + @objc public static let phoneNumber: Stripe.STPContactField + @objc public static let name: Stripe.STPContactField + @objc override dynamic public init() + public typealias RawValue = Swift.String + @objc deinit +} +extension PaymentSheet { + @_hasMissingDesignatedInitializers @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public class FlowController { + public struct PaymentOptionDisplayData { + public let image: UIKit.UIImage + public let label: Swift.String + } + final public let configuration: Stripe.PaymentSheet.Configuration + public var paymentOption: Stripe.PaymentSheet.FlowController.PaymentOptionDisplayData? { + get + } + public static func create(paymentIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration, completion: @escaping (Swift.Result) -> Swift.Void) + public static func create(setupIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration, completion: @escaping (Swift.Result) -> Swift.Void) + public func presentPaymentOptions(from presentingViewController: UIKit.UIViewController, completion: (() -> ())? = nil) + public func confirm(from presentingViewController: UIKit.UIViewController, completion: @escaping (Stripe.PaymentSheetResult) -> ()) + @objc deinit + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodKlarna : ObjectiveC.NSObject { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension STPCardFormView { + public struct Representable : SwiftUI.UIViewRepresentable { + public init(_ style: Stripe.STPCardFormViewStyle = .standard, paymentMethodParams: SwiftUI.Binding, isComplete: SwiftUI.Binding) + public func makeCoordinator() -> Stripe.STPCardFormView.Coordinator + public func makeUIView(context: Stripe.STPCardFormView.Representable.Context) -> Stripe.STPCardFormView + public func updateUIView(_ cardFormView: Stripe.STPCardFormView, context: Stripe.STPCardFormView.Representable.Context) + public typealias UIViewType = Stripe.STPCardFormView + public typealias Coordinator = Stripe.STPCardFormView.Coordinator + public typealias Body = Swift.Never + } + @objc @_hasMissingDesignatedInitializers public class Coordinator : ObjectiveC.NSObject, Stripe.STPCardFormViewDelegate { + @objc public func cardFormView(_ form: Stripe.STPCardFormView, didChangeToStateComplete complete: Swift.Bool) + @objc deinit + @objc override dynamic public init() + } +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSTextFieldCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSTextFieldCustomization + @objc public var borderWidth: CoreGraphics.CGFloat { + @objc get + @objc set(borderWidth) + } + @objc public var borderColor: UIKit.UIColor { + @objc get + @objc set(borderColor) + } + @objc public var cornerRadius: CoreGraphics.CGFloat { + @objc get + @objc set(cornerRadius) + } + @objc public var keyboardAppearance: UIKit.UIKeyboardAppearance { + @objc get + @objc set(keyboardAppearance) + } + @objc public var placeholderTextColor: UIKit.UIColor { + @objc get + @objc set(placeholderTextColor) + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set(textColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodNetBankingParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var bank: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardPresent : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceReceiver : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var address: Swift.String? { + get + } + @objc public var amountCharged: Foundation.NSNumber? { + get + } + @objc public var amountReceived: Foundation.NSNumber? { + get + } + @objc public var amountReturned: Foundation.NSNumber? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodPrzelewy24Params : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodKlarnaParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public static func rootObjectName() -> Swift.String? + @objc public static func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBancontactParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, unavailable, renamed: "STPIntentActionRedirectToURL", message: "Use `STPIntentActionRedirectToURL` instead.") +@objc final public class STPPaymentIntentSourceActionAuthorizeWithURL : Stripe.STPIntentActionRedirectToURL { + @objc deinit +} +@objc public enum STPSetupIntentLastSetupErrorType : Swift.UInt { + case unknown + @objc(STPSetupIntentLastSetupErrorTypeAPIConnection) case apiConnection + case API + case authentication + case card + case idempotency + case invalidRequest + case rateLimit + public typealias RawValue = Swift.UInt + public init?(rawValue: Swift.UInt) + public var rawValue: Swift.UInt { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSetupIntentLastSetupError : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var code: Swift.String? { + get + } + @objc public var declineCode: Swift.String? { + get + } + @objc public var docURL: Swift.String? { + get + } + @objc public var message: Swift.String? { + get + } + @objc public var param: Swift.String? { + get + } + @objc public var paymentMethod: Stripe.STPPaymentMethod? { + get + } + @objc public var type: Stripe.STPSetupIntentLastSetupErrorType { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc extension STPSetupIntentLastSetupError { + @objc public static let CodeAuthenticationFailure: Swift.String +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodPrzelewy24 : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCard : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var brand: Stripe.STPCardBrand { + get + } + @objc public var checks: Stripe.STPPaymentMethodCardChecks? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var expMonth: Swift.Int { + get + } + @objc public var expYear: Swift.Int { + get + } + @objc public var funding: Swift.String? { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var networks: Stripe.STPPaymentMethodCardNetworks? { + get + } + @objc public var threeDSecureUsage: Stripe.STPPaymentMethodThreeDSecureUsage? { + get + } + @objc public var wallet: Stripe.STPPaymentMethodCardWallet? { + get + } + @objc(stringFromBrand:) public class func string(from brand: Stripe.STPCardBrand) -> Swift.String + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public enum STPPaymentIntentLastPaymentErrorType : Swift.Int { + case unknown + @objc(STPPaymentIntentLastPaymentErrorTypeAPIConnection) case apiConnection + @objc(STPPaymentIntentLastPaymentErrorTypeAPI) case api + case authentication + case card + case idempotency + case invalidRequest + case rateLimit + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntentLastPaymentError : ObjectiveC.NSObject { + @objc public static let ErrorCodeAuthenticationFailure: Swift.String + @objc final public let code: Swift.String? + @objc final public let declineCode: Swift.String? + @objc final public let docURL: Swift.String? + @objc final public let message: Swift.String? + @objc final public let param: Swift.String? + @objc final public let paymentMethod: Stripe.STPPaymentMethod? + @objc final public let type: Stripe.STPPaymentIntentLastPaymentErrorType + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentLastPaymentError : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc public class STPPaymentResult : ObjectiveC.NSObject { + @objc public var paymentMethod: Stripe.STPPaymentMethod? { + get + } + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? { + get + } + @objc weak public var paymentOption: Stripe.STPPaymentOption? { + @objc get + } + @objc public init(paymentOption: Stripe.STPPaymentOption?) + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionWechatPayRedirectToApp : ObjectiveC.NSObject { + @objc final public let nativeURL: Foundation.URL? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPIntentActionWechatPayRedirectToApp : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc public enum STPPaymentIntentStatus : Swift.Int { + case unknown + case requiresPaymentMethod + @available(*, deprecated, renamed: "STPPaymentIntentStatus.requiresPaymentMethod", message: "Use STPPaymentIntentStatus.requiresPaymentMethod instead") + case requiresSource + case requiresConfirmation + case requiresAction + @available(*, deprecated, renamed: "STPPaymentIntentStatus.requiresAction", message: "Use STPPaymentIntentStatus.requiresAction instead") + case requiresSourceAction + case processing + case succeeded + case requiresCapture + case canceled + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentIntentSetupFutureUsage : Swift.Int { + case unknown + case none + case onSession + case offSession + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPPaymentIntentActionType : Swift.Int { + @available(*, deprecated, renamed: "STPIntentActionType.unknown", message: "Use STPIntentActionType instead") + case unknown + @available(*, deprecated, renamed: "STPIntentActionType.redirectToURL", message: "Use STPIntentActionType instead") + case redirectToURL + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +@objc public enum STPPaymentIntentSourceActionType : Swift.Int { + case unknown + case authorizeWithURL + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodGiropay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAUBECSDebitParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var accountNumber: Swift.String? + @objc public var bsbNumber: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBLIK : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodSofort : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var country: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodUPIParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var vpa: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPCardParams : ObjectiveC.NSObject, Stripe.STPFormEncodable, Foundation.NSCopying { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc convenience public init(paymentMethodParams: Stripe.STPPaymentMethodParams) + @objc public var number: Swift.String? + @objc public func last4() -> Swift.String? + @objc public var expMonth: Swift.UInt + @objc public var expYear: Swift.UInt + @objc public var cvc: Swift.String? + @objc public var name: Swift.String? { + @objc get + @objc set + } + @objc public var address: Stripe.STPAddress { + @objc get + @objc set + } + @objc public var currency: Swift.String? + @objc public var addressLine1: Swift.String? { + @objc get + @objc set(addressLine1) + } + @objc public var addressLine2: Swift.String? { + @objc get + @objc set(addressLine2) + } + @objc public var addressCity: Swift.String? { + @objc get + @objc set(addressCity) + } + @objc public var addressState: Swift.String? { + @objc get + @objc set(addressState) + } + @objc public var addressZip: Swift.String? { + @objc get + @objc set(addressZip) + } + @objc public var addressCountry: Swift.String? { + @objc get + @objc set(addressCountry) + } + @objc override dynamic public init() + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodAlipay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPFormEncodable : ObjectiveC.NSObjectProtocol { + @objc static func rootObjectName() -> Swift.String? + @objc static func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc var additionalAPIParameters: [Swift.AnyHashable : Any] { get set } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBancontact : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethod : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPPaymentOption { + @objc public var stripeId: Swift.String { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var liveMode: Swift.Bool { + get + } + @objc public var type: Stripe.STPPaymentMethodType { + get + } + @objc public var billingDetails: Stripe.STPPaymentMethodBillingDetails? { + get + } + @objc public var alipay: Stripe.STPPaymentMethodAlipay? { + get + } + @objc public var grabPay: Stripe.STPPaymentMethodGrabPay? { + get + } + @objc public var card: Stripe.STPPaymentMethodCard? { + get + } + @objc public var iDEAL: Stripe.STPPaymentMethodiDEAL? { + get + } + @objc public var fpx: Stripe.STPPaymentMethodFPX? { + get + } + @objc public var cardPresent: Stripe.STPPaymentMethodCardPresent? { + get + } + @objc public var sepaDebit: Stripe.STPPaymentMethodSEPADebit? { + get + } + @objc public var bacsDebit: Stripe.STPPaymentMethodBacsDebit? { + get + } + @objc public var auBECSDebit: Stripe.STPPaymentMethodAUBECSDebit? { + get + } + @objc public var giropay: Stripe.STPPaymentMethodGiropay? { + get + } + @objc public var eps: Stripe.STPPaymentMethodEPS? { + get + } + @objc public var przelewy24: Stripe.STPPaymentMethodPrzelewy24? { + get + } + @objc public var bancontact: Stripe.STPPaymentMethodBancontact? { + get + } + @objc public var netBanking: Stripe.STPPaymentMethodNetBanking? { + get + } + @objc public var oxxo: Stripe.STPPaymentMethodOXXO? { + get + } + @objc public var sofort: Stripe.STPPaymentMethodSofort? { + get + } + @objc public var upi: Stripe.STPPaymentMethodUPI? { + get + } + @objc public var payPal: Stripe.STPPaymentMethodPayPal? { + get + } + @objc public var afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpay? { + get + } + @objc public var blik: Stripe.STPPaymentMethodBLIK? { + get + } + @objc public var boleto: Stripe.STPPaymentMethodBoleto? { + get + } + @objc public var link: Stripe.STPPaymentMethodLink? { + get + } + @objc public var klarna: Stripe.STPPaymentMethodKlarna? { + get + } + @objc public var customerId: Swift.String? { + get + } + @available(*, deprecated, message: "Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardWalletVisaCheckout : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var email: Swift.String? { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var billingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var shippingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodFPXParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var bank: Stripe.STPFPXBankBrand { + @objc get + @objc set(_bank) + } + @objc public var rawBankString: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objc public class STPApplePayPaymentOption : ObjectiveC.NSObject, Stripe.STPPaymentOption { + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +@objc public class STPMandateDataParams : ObjectiveC.NSObject { + @objc final public let customerAcceptance: Stripe.STPMandateCustomerAcceptanceParams + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(customerAcceptance: Stripe.STPMandateCustomerAcceptanceParams) + @objc override dynamic public init() + @objc deinit +} +extension STPMandateDataParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPFPXBankBrand : Swift.Int { + case maybank2U + case CIMB + case publicBank + case RHB + case hongLeongBank + case ambank + case affinBank + case allianceBank + case bankIslam + case bankMuamalat + case bankRakyat + case BSN + case HSBC + case KFH + case maybank2E + case ocbc + case standardChartered + case UOB + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc @_inheritsConvenienceInitializers public class STPFPXBank : ObjectiveC.NSObject { + @objc public static func stringFrom(_ brand: Stripe.STPFPXBankBrand) -> Swift.String? + @objc public static func brandFrom(_ identifier: Swift.String?) -> Stripe.STPFPXBankBrand + @objc public static func identifierFrom(_ brand: Stripe.STPFPXBankBrand) -> Swift.String? + @objc public static func bankCodeFrom(_ brand: Stripe.STPFPXBankBrand, _ isBusiness: Swift.Bool) -> Swift.String? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPCardValidationState : Swift.Int { + case valid + case invalid + case incomplete + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPCardValidator : ObjectiveC.NSObject { + @objc(sanitizedNumericStringForString:) public class func sanitizedNumericString(for string: Swift.String) -> Swift.String + @objc(sanitizedPostalStringForString:) public class func sanitizedPostalString(for string: Swift.String) -> Swift.String + @objc(stringIsNumeric:) public class func stringIsNumeric(_ string: Swift.String) -> Swift.Bool + @objc(validationStateForNumber:validatingCardBrand:) public class func validationState(forNumber cardNumber: Swift.String?, validatingCardBrand: Swift.Bool) -> Stripe.STPCardValidationState + @objc(brandForNumber:) public class func brand(forNumber cardNumber: Swift.String) -> Stripe.STPCardBrand + @objc(lengthsForCardBrand:) public class func lengths(for brand: Stripe.STPCardBrand) -> Swift.Set + @objc(maxLengthForCardBrand:) public class func maxLength(for brand: Stripe.STPCardBrand) -> Swift.Int + @objc(fragmentLengthForCardBrand:) public class func fragmentLength(for brand: Stripe.STPCardBrand) -> Swift.Int + @objc(validationStateForExpirationMonth:) public class func validationState(forExpirationMonth expirationMonth: Swift.String) -> Stripe.STPCardValidationState + @objc(validationStateForExpirationYear:inMonth:) public class func validationState(forExpirationYear expirationYear: Swift.String, inMonth expirationMonth: Swift.String) -> Stripe.STPCardValidationState + @objc(maxCVCLengthForCardBrand:) public class func maxCVCLength(for brand: Stripe.STPCardBrand) -> Swift.UInt + @objc(validationStateForCVC:cardBrand:) public class func validationState(forCVC cvc: Swift.String, cardBrand brand: Stripe.STPCardBrand) -> Stripe.STPCardValidationState + @objc(validationStateForCard:) public class func validationState(forCard card: Stripe.STPCardParams) -> Stripe.STPCardValidationState + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountCompanyParams : ObjectiveC.NSObject { + @objc public var address: Stripe.STPConnectAccountAddress! + @objc public var kanaAddress: Stripe.STPConnectAccountAddress? + @objc public var kanjiAddress: Stripe.STPConnectAccountAddress? + @objc public var directorsProvided: Foundation.NSNumber? + @objc public var name: Swift.String? + @objc public var kanaName: Swift.String? + @objc public var kanjiName: Swift.String? + @objc public var ownersProvided: Foundation.NSNumber? + @objc public var phone: Swift.String? + @objc public var taxID: Swift.String? + @objc public var taxIDRegistrar: Swift.String? + @objc public var vatID: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountCompanyParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardWalletMasterpass : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var email: Swift.String? { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var billingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var shippingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBillingDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var address: Stripe.STPPaymentMethodAddress? + @objc public var email: Swift.String? + @objc public var name: Swift.String? + @objc public var phone: Swift.String? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override required dynamic public init() + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSCustomizationSettings : ObjectiveC.NSObject { + @available(*, deprecated, message: "Use STPThreeDSCustomizationSettings() instead of STPThreeDSCustomizationSettings.defaultSettings().") + @objc public class func defaultSettings() -> Stripe.STPThreeDSCustomizationSettings + @objc public var uiCustomization: Stripe.STPThreeDSUICustomization + @objc public var authenticationTimeout: Swift.Int + @objc override dynamic public init() + @objc deinit +} +@objc public enum STPIntentActionType : Swift.Int { + case unknown + case redirectToURL + case useStripeSDK + case OXXODisplayDetails + case alipayHandleRedirect + case BLIKAuthorize + case weChatPayRedirectToApp + case linkAuthenticateAccount + case boletoDisplayDetails + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPIntentAction : ObjectiveC.NSObject { + @objc final public let type: Stripe.STPIntentActionType + @objc final public let redirectToURL: Stripe.STPIntentActionRedirectToURL? + @objc final public let oxxoDisplayDetails: Stripe.STPIntentActionOXXODisplayDetails? + @objc final public let alipayHandleRedirect: Stripe.STPIntentActionAlipayHandleRedirect? + @objc final public let weChatPayRedirectToApp: Stripe.STPIntentActionWechatPayRedirectToApp? + @objc final public let boletoDisplayDetails: Stripe.STPIntentActionBoletoDisplayDetails? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPIntentAction : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +extension STPIntentAction { + @available(*, deprecated, renamed: "redirectToURL", message: "Use `redirectToURL` instead.") + @objc dynamic public var authorizeWithURL: Stripe.STPIntentActionRedirectToURL? { + @objc get + } +} +@objc public class STPPaymentIntentShippingDetailsAddressParams : ObjectiveC.NSObject { + @objc public var city: Swift.String? + @objc public var country: Swift.String? + @objc public var line1: Swift.String + @objc public var line2: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var state: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(line1: Swift.String) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetailsAddressParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +extension STPPaymentIntentShippingDetailsAddressParams : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc public class STPConfirmWeChatPayOptions : ObjectiveC.NSObject { + @objc public var appId: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc required public init(appId: Swift.String) + @objc deinit + @objc override dynamic public init() +} +extension STPConfirmWeChatPayOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodGiropayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPMultiFormTextField : UIKit.UIView, Stripe.STPFormTextFieldContainer, UIKit.UITextFieldDelegate { + @objc public func textField(_ textField: UIKit.UITextField, shouldChangeCharactersIn range: Foundation.NSRange, replacementString string: Swift.String) -> Swift.Bool + @objc public func focusNextForm() + @objc override dynamic public var canResignFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func resignFirstResponder() -> Swift.Bool + @objc override dynamic public var isFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public var canBecomeFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func becomeFirstResponder() -> Swift.Bool + @objc public func textFieldDidEndEditing(_ textField: UIKit.UITextField) + @objc public func textFieldDidBeginEditing(_ textField: UIKit.UITextField) + @objc public func textFieldShouldReturn(_ textField: UIKit.UITextField) -> Swift.Bool + @objc public var formFont: UIKit.UIFont { + @objc get + @objc set + } + @objc public var formTextColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formTextErrorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formPlaceholderColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formCursorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formKeyboardAppearance: UIKit.UIKeyboardAppearance { + @objc get + @objc set + } + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPImageLibrary : ObjectiveC.NSObject { + @objc public class func applePayCardImage() -> UIKit.UIImage + @objc public class func amexCardImage() -> UIKit.UIImage + @objc public class func dinersClubCardImage() -> UIKit.UIImage + @objc public class func discoverCardImage() -> UIKit.UIImage + @objc public class func jcbCardImage() -> UIKit.UIImage + @objc public class func mastercardCardImage() -> UIKit.UIImage + @objc public class func unionPayCardImage() -> UIKit.UIImage + @objc public class func visaCardImage() -> UIKit.UIImage + @objc public class func unknownCardCardImage() -> UIKit.UIImage + @objc(brandImageForCardBrand:) public class func cardBrandImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc(brandImageForFPXBankBrand:) public class func fpxBrandImage(for brand: Stripe.STPFPXBankBrand) -> UIKit.UIImage + @objc public class func fpxLogo() -> UIKit.UIImage + @objc public class func largeFpxLogo() -> UIKit.UIImage + @objc public class func afterpayLogo() -> UIKit.UIImage + @objc(templatedBrandImageForCardBrand:) public class func templatedBrandImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc(cvcImageForCardBrand:) public class func cvcImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc(errorImageForCardBrand:) public class func errorImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodCardNetworks : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var available: [Swift.String] { + get + } + @objc public var preferred: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPSourceParams : ObjectiveC.NSObject, Stripe.STPFormEncodable, Foundation.NSCopying { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var type: Stripe.STPSourceType { + @objc get + @objc set(type) + } + @objc public var rawTypeString: Swift.String? + @objc public var amount: Foundation.NSNumber? + @objc public var currency: Swift.String? + @objc public var flow: Stripe.STPSourceFlow + @objc public var metadata: [Swift.AnyHashable : Any]? + @objc public var owner: [Swift.AnyHashable : Any]? + @objc public var redirect: [Swift.AnyHashable : Any]? + @objc public var token: Swift.String? + @objc public var usage: Stripe.STPSourceUsage + @objc override required dynamic public init() + @objc deinit +} +extension STPSourceParams { + @objc dynamic public class func bancontactParams(withAmount amount: Swift.Int, name: Swift.String, returnURL: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func cardParams(withCard card: Stripe.STPCardParams) -> Stripe.STPSourceParams + @objc dynamic public class func giropayParams(withAmount amount: Swift.Int, name: Swift.String, returnURL: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func idealParams(withAmount amount: Swift.Int, name: Swift.String?, returnURL: Swift.String, statementDescriptor: Swift.String?, bank: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func sepaDebitParams(withName name: Swift.String, iban: Swift.String, addressLine1: Swift.String?, city: Swift.String?, postalCode: Swift.String?, country: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func sofortParams(withAmount amount: Swift.Int, returnURL: Swift.String, country: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @available(swift, obsoleted: 1.0) + @objc(klarnaParamsWithReturnURL:currency:purchaseCountry:items:customPaymentMethods:billingAddress:billingFirstName:billingLastName:billingDOB:) dynamic public class func objc_klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Foundation.NSNumber], billingAddress address: Stripe.STPAddress?, billingFirstName firstName: Swift.String?, billingLastName lastName: Swift.String?, billingDOB dateOfBirth: Stripe.STPDateOfBirth?) -> Stripe.STPSourceParams + public class func klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Stripe.STPKlarnaPaymentMethods], billingAddress address: Stripe.STPAddress? = nil, billingFirstName firstName: Swift.String? = nil, billingLastName lastName: Swift.String? = nil, billingDOB dateOfBirth: Stripe.STPDateOfBirth? = nil) -> Stripe.STPSourceParams + @available(swift, obsoleted: 1.0) + @objc(klarnaParamsWithReturnURL:currency:purchaseCountry:items:customPaymentMethods:) dynamic public class func objc_klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Foundation.NSNumber]) -> Stripe.STPSourceParams + public class func klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Stripe.STPKlarnaPaymentMethods]) -> Stripe.STPSourceParams + @objc dynamic public class func threeDSecureParams(withAmount amount: Swift.Int, currency: Swift.String, returnURL: Swift.String, card: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func alipayParams(withAmount amount: Swift.Int, currency: Swift.String, returnURL: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func alipayReusableParams(withCurrency currency: Swift.String, returnURL: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func p24Params(withAmount amount: Swift.Int, currency: Swift.String, email: Swift.String, name: Swift.String?, returnURL: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func visaCheckoutParams(withCallId callId: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func masterpassParams(withCartId cartId: Swift.String, transactionId: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func epsParams(withAmount amount: Swift.Int, name: Swift.String, returnURL: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func multibancoParams(withAmount amount: Swift.Int, returnURL: Swift.String, email: Swift.String) -> Stripe.STPSourceParams + @objc(wechatPayParamsWithAmount:currency:appId:statementDescriptor:) dynamic public class func wechatPay(withAmount amount: Swift.Int, currency: Swift.String, appId: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc dynamic public func redirectDictionaryWithMerchantNameIfNecessary() -> [Swift.AnyHashable : Any] + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc public enum STPThreeDSCustomizationButtonType : Swift.Int { + case submit = 0 + case `continue` = 1 + case next = 2 + case cancel = 3 + case resend = 4 + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPThreeDSButtonTitleStyle : Swift.Int { + case `default` + case uppercase + case lowercase + case sentenceCapitalized + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public class STPThreeDSButtonCustomization : ObjectiveC.NSObject { + @objc(defaultSettingsForButtonType:) public class func defaultSettings(for type: Stripe.STPThreeDSCustomizationButtonType) -> Stripe.STPThreeDSButtonCustomization + @objc public init(backgroundColor: UIKit.UIColor, cornerRadius: CoreGraphics.CGFloat) + @objc public var backgroundColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var cornerRadius: CoreGraphics.CGFloat { + @objc get + @objc set + } + @objc public var titleStyle: Stripe.STPThreeDSButtonTitleStyle { + @objc get + @objc set + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPPaymentIntentCaptureMethod : Swift.Int { + case unknown + case automatic + case manual + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentIntentConfirmationMethod : Swift.Int { + case unknown + case manual + case automatic + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntent : ObjectiveC.NSObject { + @objc final public let stripeId: Swift.String + @objc final public let clientSecret: Swift.String + @objc final public let amount: Swift.Int + @objc final public let canceledAt: Foundation.Date? + @objc final public let captureMethod: Stripe.STPPaymentIntentCaptureMethod + @objc final public let confirmationMethod: Stripe.STPPaymentIntentConfirmationMethod + @objc final public let created: Foundation.Date + @objc final public let currency: Swift.String + @objc final public let stripeDescription: Swift.String? + @objc final public let livemode: Swift.Bool + @objc final public let nextAction: Stripe.STPIntentAction? + @objc final public let receiptEmail: Swift.String? + @objc final public let sourceId: Swift.String? + @objc final public let paymentMethodId: Swift.String? + @objc final public let status: Stripe.STPPaymentIntentStatus + @objc final public let paymentMethodTypes: [Foundation.NSNumber] + @objc final public let setupFutureUsage: Stripe.STPPaymentIntentSetupFutureUsage + @objc final public let lastPaymentError: Stripe.STPPaymentIntentLastPaymentError? + @objc final public let shipping: Stripe.STPPaymentIntentShippingDetails? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntent : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +extension STPPaymentIntent { + @available(*, deprecated, renamed: "nextAction", message: "Use nextAction instead") + @objc dynamic public var nextSourceAction: Stripe.STPIntentAction? { + @objc get + } +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSFooterCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSFooterCustomization + @objc public var backgroundColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var chevronColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var headingTextColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var headingFont: UIKit.UIFont { + @objc get + @objc set + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc deinit + @objc override dynamic public init() +} +extension STPAPIClient { + public func createRadarSession(completion: @escaping Stripe.STPRadarSessionCompletionBlock) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, unavailable, renamed: "STPIntentActionRedirectToURL", message: "Use `STPIntentActionRedirectToURL` instead.") +@objc final public class STPPaymentIntentActionRedirectToURL : Stripe.STPIntentActionRedirectToURL { + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPShippingAddressViewController : Stripe.STPCoreTableViewController { + @objc convenience dynamic public init() + @objc(initWithPaymentContext:) convenience public init(paymentContext: Stripe.STPPaymentContext) + @objc(initWithConfiguration:theme:currency:shippingAddress:selectedShippingMethod:prefilledInformation:) public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme, currency: Swift.String?, shippingAddress: Stripe.STPAddress?, selectedShippingMethod: PassKit.PKShippingMethod?, prefilledInformation: Stripe.STPUserInformation?) + @objc weak public var delegate: Stripe.STPShippingAddressViewControllerDelegate? + @objc(dismissWithCompletion:) public func dismiss(withCompletion completion: StripeApplePay.STPVoidBlock?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required public init(theme: Stripe.STPTheme?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool) + @objc override public func tableView(_ tableView: UIKit.UITableView, heightForHeaderInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc deinit +} +@objc public protocol STPShippingAddressViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc func shippingAddressViewControllerDidCancel(_ addressViewController: Stripe.STPShippingAddressViewController) + @objc(shippingAddressViewController:didEnterAddress:completion:) func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didEnter address: Stripe.STPAddress, completion: @escaping Stripe.STPShippingMethodsCompletionBlock) + @objc(shippingAddressViewController:didFinishWithAddress:shippingMethod:) func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didFinishWith address: Stripe.STPAddress, shippingMethod method: PassKit.PKShippingMethod?) +} +extension STPShippingAddressViewController : UIKit.UITableViewDelegate, UIKit.UITableViewDataSource { + @objc dynamic public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, willDisplay cell: UIKit.UITableViewCell, forRowAt indexPath: Foundation.IndexPath) + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, viewForFooterInSection section: Swift.Int) -> UIKit.UIView? + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, viewForHeaderInSection section: Swift.Int) -> UIKit.UIView? +} +@objc public enum STPPaymentMethodCardCheckResult : Swift.Int { + case pass + case failed + case unavailable + case unchecked + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardChecks : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @available(*, deprecated, message: "Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var addressLine1Check: Stripe.STPPaymentMethodCardCheckResult { + get + } + @available(*, deprecated, message: "Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var addressPostalCodeCheck: Stripe.STPPaymentMethodCardCheckResult { + get + } + @available(*, deprecated, message: "Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var cvcCheck: Stripe.STPPaymentMethodCardCheckResult { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +extension STPBankAccountHolderType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPBankAccountStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPBankSelectionMethod : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPBillingAddressFields : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardBrand : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardFormViewStyle : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardFundingType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardValidationState : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPConnectAccountBusinessType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPFPXBankBrand : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPFilePurpose : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPIntentActionType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPKlarnaLineItemType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPKlarnaPaymentMethods : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPMandateCustomerAcceptanceType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentHandlerActionStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentHandlerErrorCode : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentActionType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentCaptureMethod : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentConfirmationMethod : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentLastPaymentErrorType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentSetupFutureUsage : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension STPPaymentIntentSourceActionType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentMethodCardCheckResult : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentMethodCardWalletType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentMethodType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPinStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPRedirectContextError : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPRedirectContextState : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSetupIntentLastSetupErrorType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSetupIntentStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSetupIntentUsage : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPShippingStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPShippingType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceCard3DSecureStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceFlow : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceRedirectStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceUsage : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceVerificationStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPThreeDSButtonTitleStyle : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPThreeDSCustomizationButtonType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPTokenType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +@objc public enum STPTokenType : Swift.Int { + case account = 0 + case bankAccount + case card + case PII + case cvcUpdate + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPToken : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPSourceProtocol { + @objc public var tokenId: Swift.String { + get + } + @objc public var livemode: Swift.Bool { + get + } + @objc public var type: Stripe.STPTokenType { + get + } + @objc public var card: Stripe.STPCard? { + get + } + @objc public var bankAccount: Stripe.STPBankAccount? { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public var debugDescription: Swift.String { + @objc get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc public var stripeID: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@_inheritsConvenienceInitializers @objc public class STPPaymentMethodBLIKParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPCoreScrollViewController : Stripe.STPCoreViewController { + @objc public var scrollView: UIKit.UIScrollView { + @objc get + @objc set + } + @objc override dynamic public func viewDidLoad() + @objc override dynamic public func viewDidLayoutSubviews() + @objc required public init(theme: Stripe.STPTheme?) + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc deinit +} +@objc public enum STPSourceFlow : Swift.Int { + case none + case redirect + case codeVerification + case receiver + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPSourceUsage : Swift.Int { + case reusable + case singleUse + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPSourceStatus : Swift.Int { + case pending + case chargeable + case consumed + case canceled + case failed + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPSourceType : Swift.Int { + case bancontact + case card + case giropay + @objc(STPSourceTypeiDEAL) case iDEAL + case SEPADebit + case sofort + case threeDSecure + case alipay + case P24 + case EPS + case multibanco + case weChatPay + case klarna + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPKlarnaPaymentMethods : Swift.Int { + case none + case payIn4 + case installments + case payIn4OrInstallments + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountIndividualParams : ObjectiveC.NSObject { + @objc public var address: Stripe.STPConnectAccountAddress? + @objc public var kanaAddress: Stripe.STPConnectAccountAddress? + @objc public var kanjiAddress: Stripe.STPConnectAccountAddress? + @objc public var dateOfBirth: Foundation.DateComponents? + @objc public var email: Swift.String? + @objc public var firstName: Swift.String? + @objc public var kanaFirstName: Swift.String? + @objc public var kanjiFirstName: Swift.String? + @objc public var gender: Swift.String? + @objc public var idNumber: Swift.String? + @objc public var lastName: Swift.String? + @objc public var kanaLastName: Swift.String? + @objc public var kanjiLastName: Swift.String? + @objc public var maidenName: Swift.String? + @objc public var metadata: [Swift.AnyHashable : Any]? + @objc public var phone: Swift.String? + @objc public var ssnLast4: Swift.String? + @objc public var verification: Stripe.STPConnectAccountIndividualVerification? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountIndividualParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountIndividualVerification : ObjectiveC.NSObject { + @objc public var document: Stripe.STPConnectAccountVerificationDocument? + @objc public var additionalDocument: Stripe.STPConnectAccountVerificationDocument? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountIndividualVerification : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountVerificationDocument : ObjectiveC.NSObject { + @objc public var back: Swift.String? + @objc public var front: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountVerificationDocument : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPDateOfBirth : ObjectiveC.NSObject { + @objc public var day: Swift.Int + @objc public var month: Swift.Int + @objc public var year: Swift.Int + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc deinit + @objc override dynamic public init() +} +extension STPDateOfBirth : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionRedirectToURL : ObjectiveC.NSObject { + @objc final public let url: Foundation.URL + @objc final public let returnURL: Foundation.URL? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPIntentActionRedirectToURL : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodGrabPayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +extension Stripe.STPSourceVerificationStatus : Swift.Equatable {} +extension Stripe.STPSourceVerificationStatus : Swift.Hashable {} +extension Stripe.STPSourceVerificationStatus : Swift.RawRepresentable {} +extension Stripe.STPBankSelectionMethod : Swift.Equatable {} +extension Stripe.STPBankSelectionMethod : Swift.Hashable {} +extension Stripe.STPBankSelectionMethod : Swift.RawRepresentable {} +extension Stripe.STPBankAccountHolderType : Swift.Equatable {} +extension Stripe.STPBankAccountHolderType : Swift.Hashable {} +extension Stripe.STPBankAccountHolderType : Swift.RawRepresentable {} +extension Stripe.STPSetupIntentStatus : Swift.Equatable {} +extension Stripe.STPSetupIntentStatus : Swift.Hashable {} +extension Stripe.STPSetupIntentStatus : Swift.RawRepresentable {} +extension Stripe.STPSetupIntentUsage : Swift.Equatable {} +extension Stripe.STPSetupIntentUsage : Swift.Hashable {} +extension Stripe.STPSetupIntentUsage : Swift.RawRepresentable {} +extension Stripe.STPConnectAccountBusinessType : Swift.Equatable {} +extension Stripe.STPConnectAccountBusinessType : Swift.Hashable {} +extension Stripe.STPConnectAccountBusinessType : Swift.RawRepresentable {} +extension Stripe.STPShippingType : Swift.Equatable {} +extension Stripe.STPShippingType : Swift.Hashable {} +extension Stripe.STPShippingType : Swift.RawRepresentable {} +extension Stripe.STPShippingStatus : Swift.Equatable {} +extension Stripe.STPShippingStatus : Swift.Hashable {} +extension Stripe.STPShippingStatus : Swift.RawRepresentable {} +extension Stripe.STPPaymentStatus : Swift.Equatable {} +extension Stripe.STPPaymentStatus : Swift.Hashable {} +extension Stripe.STPPaymentStatus : Swift.RawRepresentable {} +extension Stripe.STPPinStatus : Swift.Equatable {} +extension Stripe.STPPinStatus : Swift.Hashable {} +extension Stripe.STPPinStatus : Swift.RawRepresentable {} +extension Stripe.STPRedirectContextError : Swift.Equatable {} +extension Stripe.STPRedirectContextError : Swift.Hashable {} +extension Stripe.STPRedirectContextError : Swift.RawRepresentable {} +extension Stripe.STPRedirectContextState : Swift.Equatable {} +extension Stripe.STPRedirectContextState : Swift.Hashable {} +extension Stripe.STPRedirectContextState : Swift.RawRepresentable {} +extension Stripe.STPKlarnaLineItemType : Swift.Equatable {} +extension Stripe.STPKlarnaLineItemType : Swift.Hashable {} +extension Stripe.STPKlarnaLineItemType : Swift.RawRepresentable {} +extension Stripe.STPPaymentMethodType : Swift.Equatable {} +extension Stripe.STPPaymentMethodType : Swift.Hashable {} +extension Stripe.STPPaymentMethodType : Swift.RawRepresentable {} +extension Stripe.STPPaymentCardTextField : UIKit.UITextFieldDelegate {} +extension Stripe.STPSourceRedirectStatus : Swift.Equatable {} +extension Stripe.STPSourceRedirectStatus : Swift.Hashable {} +extension Stripe.STPSourceRedirectStatus : Swift.RawRepresentable {} +extension Stripe.STPFilePurpose : Swift.Equatable {} +extension Stripe.STPFilePurpose : Swift.Hashable {} +extension Stripe.STPFilePurpose : Swift.RawRepresentable {} +extension Stripe.STPPaymentHandlerActionStatus : Swift.Equatable {} +extension Stripe.STPPaymentHandlerActionStatus : Swift.Hashable {} +extension Stripe.STPPaymentHandlerActionStatus : Swift.RawRepresentable {} +extension Stripe.STPPaymentHandlerErrorCode : Swift.Equatable {} +extension Stripe.STPPaymentHandlerErrorCode : Swift.Hashable {} +extension Stripe.STPPaymentHandlerErrorCode : Swift.RawRepresentable {} +extension Stripe.STPSourceCard3DSecureStatus : Swift.Equatable {} +extension Stripe.STPSourceCard3DSecureStatus : Swift.Hashable {} +extension Stripe.STPSourceCard3DSecureStatus : Swift.RawRepresentable {} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +extension Stripe._stpobjc_STPErrorCode : Swift.Equatable {} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +extension Stripe._stpobjc_STPErrorCode : Swift.Hashable {} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +extension Stripe._stpobjc_STPErrorCode : Swift.RawRepresentable {} +extension Stripe.STPCardFundingType : Swift.Equatable {} +extension Stripe.STPCardFundingType : Swift.Hashable {} +extension Stripe.STPCardFundingType : Swift.RawRepresentable {} +extension Stripe.STPPaymentMethodCardWalletType : Swift.Equatable {} +extension Stripe.STPPaymentMethodCardWalletType : Swift.Hashable {} +extension Stripe.STPPaymentMethodCardWalletType : Swift.RawRepresentable {} +@available(iOS 13.0, *) +extension Stripe.PaymentSheet.UserInterfaceStyle : Swift.Equatable {} +@available(iOS 13.0, *) +extension Stripe.PaymentSheet.UserInterfaceStyle : Swift.Hashable {} +@available(iOS 13.0, *) +extension Stripe.PaymentSheet.UserInterfaceStyle : Swift.RawRepresentable {} +extension Stripe.PaymentSheet.SavePaymentMethodOptInBehavior : Swift.Equatable {} +extension Stripe.PaymentSheet.SavePaymentMethodOptInBehavior : Swift.Hashable {} +extension Stripe.STPCardBrand : Swift.Equatable {} +extension Stripe.STPCardBrand : Swift.Hashable {} +extension Stripe.STPCardBrand : Swift.RawRepresentable {} +extension Stripe.STPBankAccountStatus : Swift.Equatable {} +extension Stripe.STPBankAccountStatus : Swift.Hashable {} +extension Stripe.STPBankAccountStatus : Swift.RawRepresentable {} +extension Stripe.STPMandateCustomerAcceptanceType : Swift.Equatable {} +extension Stripe.STPMandateCustomerAcceptanceType : Swift.Hashable {} +extension Stripe.STPMandateCustomerAcceptanceType : Swift.RawRepresentable {} +extension Stripe.STPBillingAddressFields : Swift.Equatable {} +extension Stripe.STPBillingAddressFields : Swift.Hashable {} +extension Stripe.STPBillingAddressFields : Swift.RawRepresentable {} +extension Stripe.STPCardFormViewStyle : Swift.Equatable {} +extension Stripe.STPCardFormViewStyle : Swift.Hashable {} +extension Stripe.STPCardFormViewStyle : Swift.RawRepresentable {} +extension Stripe.STPSetupIntentLastSetupErrorType : Swift.Equatable {} +extension Stripe.STPSetupIntentLastSetupErrorType : Swift.Hashable {} +extension Stripe.STPSetupIntentLastSetupErrorType : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentLastPaymentErrorType : Swift.Equatable {} +extension Stripe.STPPaymentIntentLastPaymentErrorType : Swift.Hashable {} +extension Stripe.STPPaymentIntentLastPaymentErrorType : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentStatus : Swift.Equatable {} +extension Stripe.STPPaymentIntentStatus : Swift.Hashable {} +extension Stripe.STPPaymentIntentStatus : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentSetupFutureUsage : Swift.Equatable {} +extension Stripe.STPPaymentIntentSetupFutureUsage : Swift.Hashable {} +extension Stripe.STPPaymentIntentSetupFutureUsage : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentActionType : Swift.Equatable {} +extension Stripe.STPPaymentIntentActionType : Swift.Hashable {} +extension Stripe.STPPaymentIntentActionType : Swift.RawRepresentable {} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension Stripe.STPPaymentIntentSourceActionType : Swift.Equatable {} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension Stripe.STPPaymentIntentSourceActionType : Swift.Hashable {} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension Stripe.STPPaymentIntentSourceActionType : Swift.RawRepresentable {} +extension Stripe.STPFPXBankBrand : Swift.Equatable {} +extension Stripe.STPFPXBankBrand : Swift.Hashable {} +extension Stripe.STPFPXBankBrand : Swift.RawRepresentable {} +extension Stripe.STPCardValidationState : Swift.Equatable {} +extension Stripe.STPCardValidationState : Swift.Hashable {} +extension Stripe.STPCardValidationState : Swift.RawRepresentable {} +extension Stripe.STPIntentActionType : Swift.Equatable {} +extension Stripe.STPIntentActionType : Swift.Hashable {} +extension Stripe.STPIntentActionType : Swift.RawRepresentable {} +extension Stripe.STPThreeDSCustomizationButtonType : Swift.Equatable {} +extension Stripe.STPThreeDSCustomizationButtonType : Swift.Hashable {} +extension Stripe.STPThreeDSCustomizationButtonType : Swift.RawRepresentable {} +extension Stripe.STPThreeDSButtonTitleStyle : Swift.Equatable {} +extension Stripe.STPThreeDSButtonTitleStyle : Swift.Hashable {} +extension Stripe.STPThreeDSButtonTitleStyle : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentCaptureMethod : Swift.Equatable {} +extension Stripe.STPPaymentIntentCaptureMethod : Swift.Hashable {} +extension Stripe.STPPaymentIntentCaptureMethod : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentConfirmationMethod : Swift.Equatable {} +extension Stripe.STPPaymentIntentConfirmationMethod : Swift.Hashable {} +extension Stripe.STPPaymentIntentConfirmationMethod : Swift.RawRepresentable {} +extension Stripe.STPPaymentMethodCardCheckResult : Swift.Equatable {} +extension Stripe.STPPaymentMethodCardCheckResult : Swift.Hashable {} +extension Stripe.STPPaymentMethodCardCheckResult : Swift.RawRepresentable {} +extension Stripe.STPKlarnaPaymentMethods : Swift.Equatable {} +extension Stripe.STPKlarnaPaymentMethods : Swift.Hashable {} +extension Stripe.STPKlarnaPaymentMethods : Swift.RawRepresentable {} +extension Stripe.STPSourceFlow : Swift.Equatable {} +extension Stripe.STPSourceFlow : Swift.Hashable {} +extension Stripe.STPSourceFlow : Swift.RawRepresentable {} +extension Stripe.STPSourceStatus : Swift.Equatable {} +extension Stripe.STPSourceStatus : Swift.Hashable {} +extension Stripe.STPSourceStatus : Swift.RawRepresentable {} +extension Stripe.STPSourceType : Swift.Equatable {} +extension Stripe.STPSourceType : Swift.Hashable {} +extension Stripe.STPSourceType : Swift.RawRepresentable {} +extension Stripe.STPSourceUsage : Swift.Equatable {} +extension Stripe.STPSourceUsage : Swift.Hashable {} +extension Stripe.STPSourceUsage : Swift.RawRepresentable {} +extension Stripe.STPTokenType : Swift.Equatable {} +extension Stripe.STPTokenType : Swift.Hashable {} +extension Stripe.STPTokenType : Swift.RawRepresentable {} diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Modules/Stripe.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Modules/Stripe.swiftmodule/x86_64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..739df37 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Modules/Stripe.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Modules/Stripe.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Modules/Stripe.swiftmodule/x86_64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..50dc1c9 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Modules/Stripe.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -0,0 +1,4764 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name Stripe +import AVFoundation +import CommonCrypto +import Contacts +import CoreLocation +import Foundation +import ObjectiveC +import PassKit +import SafariServices +import Security +@_exported import Stripe +import Stripe3DS2 +@_exported import StripeApplePay +@_exported import StripeCore +import StripeUICore +import Swift +import SwiftUI +import UIKit +import Vision +extension STPAPIClient { + public var configuration: Stripe.STPPaymentConfiguration { + get + set + } + @available(*, deprecated, message: "This initializer previously configured publishableKey and stripeAccount via the STPPaymentConfiguration instance. This behavior is deprecated; set the STPAPIClient configuration, publishableKey, and stripeAccount properties directly on the STPAPIClient instead.") + convenience public init(configuration: Stripe.STPPaymentConfiguration) +} +extension STPAPIClient { + public func createToken(withBankAccount bankAccount: Stripe.STPBankAccountParams, completion: @escaping Stripe.STPTokenCompletionBlock) +} +extension STPAPIClient { + public func createToken(withPersonalIDNumber pii: Swift.String, completion: Stripe.STPTokenCompletionBlock?) + public func createToken(withSSNLast4 ssnLast4: Swift.String, completion: @escaping Stripe.STPTokenCompletionBlock) +} +extension STPAPIClient { + public func createToken(withConnectAccount account: Stripe.STPConnectAccountParams, completion: Stripe.STPTokenCompletionBlock?) +} +extension STPAPIClient { + public func uploadImage(_ image: UIKit.UIImage, purpose: Stripe.STPFilePurpose, completion: Stripe.STPFileCompletionBlock?) +} +extension STPAPIClient { + public func createToken(withCard cardParams: Stripe.STPCardParams, completion: @escaping Stripe.STPTokenCompletionBlock) + public func createToken(forCVCUpdate cvc: Swift.String, completion: Stripe.STPTokenCompletionBlock? = nil) +} +extension STPAPIClient { + public func createSource(with sourceParams: Stripe.STPSourceParams, completion: @escaping Stripe.STPSourceCompletionBlock) + public func retrieveSource(withId identifier: Swift.String, clientSecret secret: Swift.String, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public func startPollingSource(withId identifier: Swift.String, clientSecret secret: Swift.String, timeout: Foundation.TimeInterval, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public func stopPollingSource(withId identifier: Swift.String) +} +extension STPAPIClient { + public func retrievePaymentIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + public func retrievePaymentIntent(withClientSecret secret: Swift.String, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) +} +extension STPAPIClient { + public func retrieveSetupIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPSetupIntentCompletionBlock) + public func confirmSetupIntent(with setupIntentParams: Stripe.STPSetupIntentConfirmParams, completion: @escaping Stripe.STPSetupIntentCompletionBlock) +} +extension STPAPIClient { + public func createPaymentMethod(with paymentMethodParams: Stripe.STPPaymentMethodParams, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSLabelCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSLabelCustomization + @objc public var headingFont: UIKit.UIFont { + @objc get + @objc set(headingFont) + } + @objc public var headingTextColor: UIKit.UIColor { + @objc get + @objc set(headingTextColor) + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set(textColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodUPI : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var vpa: Swift.String { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPSourceVerificationStatus : Swift.Int { + case pending + case succeeded + case failed + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceVerification : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var attemptsRemaining: Foundation.NSNumber? { + get + } + @objc public var status: Stripe.STPSourceVerificationStatus { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodOXXO : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public enum STPBankSelectionMethod : Swift.Int { + case FPX + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPBankSelectionViewController : Stripe.STPCoreTableViewController, UIKit.UITableViewDataSource, UIKit.UITableViewDelegate { + @objc convenience public init(bankMethod: Stripe.STPBankSelectionMethod) + @objc convenience required public init(theme: Stripe.STPTheme?) + @objc public init(bankMethod: Stripe.STPBankSelectionMethod, configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc weak public var delegate: Stripe.STPBankSelectionViewControllerDelegate? + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc deinit + @objc public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell + @objc public func tableView(_ tableView: UIKit.UITableView, willDisplay cell: UIKit.UITableViewCell, forRowAt indexPath: Foundation.IndexPath) + @objc public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc public func tableView(_ tableView: UIKit.UITableView, shouldHighlightRowAt indexPath: Foundation.IndexPath) -> Swift.Bool + @objc public func tableView(_ tableView: UIKit.UITableView, didSelectRowAt indexPath: Foundation.IndexPath) +} +@objc public protocol STPBankSelectionViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc(bankSelectionViewController:didCreatePaymentMethodParams:) func bankSelectionViewController(_ bankViewController: Stripe.STPBankSelectionViewController, didCreatePaymentMethodParams paymentMethodParams: Stripe.STPPaymentMethodParams) +} +@objc @_inheritsConvenienceInitializers public class STPSetupIntentConfirmParams : ObjectiveC.NSObject, Foundation.NSCopying, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(clientSecret: Swift.String) + @objc public var clientSecret: Swift.String + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? + @objc public var paymentMethodID: Swift.String? + @objc public var returnURL: Swift.String? + @objc public var useStripeSDK: Foundation.NSNumber? + @objc public var mandateData: Stripe.STPMandateDataParams? { + @objc get + @objc set(newMandateData) + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSUICustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSUICustomization + @objc public var navigationBarCustomization: Stripe.STPThreeDSNavigationBarCustomization { + @objc get + @objc set(navigationBarCustomization) + } + @objc public var labelCustomization: Stripe.STPThreeDSLabelCustomization { + @objc get + @objc set(labelCustomization) + } + @objc public var textFieldCustomization: Stripe.STPThreeDSTextFieldCustomization { + @objc get + @objc set(textFieldCustomization) + } + @objc public var backgroundColor: UIKit.UIColor { + @objc get + @objc set(backgroundColor) + } + @objc public var footerCustomization: Stripe.STPThreeDSFooterCustomization { + @objc get + @objc set(footerCustomization) + } + @objc(setButtonCustomization:forType:) public func setButtonCustomization(_ buttonCustomization: Stripe.STPThreeDSButtonCustomization, for buttonType: Stripe.STPThreeDSCustomizationButtonType) + @objc(buttonCustomizationForButtonType:) public func buttonCustomization(for buttonType: Stripe.STPThreeDSCustomizationButtonType) -> Stripe.STPThreeDSButtonCustomization + @objc public var selectionCustomization: Stripe.STPThreeDSSelectionCustomization { + @objc get + @objc set(selectionCustomization) + } + @objc public var activityIndicatorViewStyle: UIKit.UIActivityIndicatorView.Style { + @objc get + @objc set(activityIndicatorViewStyle) + } + @objc public var blurStyle: UIKit.UIBlurEffect.Style { + @objc get + @objc set(blurStyle) + } + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceWeChatPayDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var weChatAppURL: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@_inheritsConvenienceInitializers @available(swift, obsoleted: 0.0.1, message: "Use 'StripeAPI' instead.") +@objc(StripeAPI) public class _stpobjc_StripeAPI : ObjectiveC.NSObject { + @objc public static var defaultPublishableKey: Swift.String? { + @objc get + @objc set + } + @objc public static var advancedFraudSignalsEnabled: Swift.Bool { + @objc get + @objc set + } + @objc public static var maxRetries: Swift.Int { + @objc get + @objc set + } + @discardableResult + @objc(handleStripeURLCallbackWithURL:) public static func handleURLCallback(with url: Foundation.URL) -> Swift.Bool + @objc public class var jcbPaymentNetworkSupported: Swift.Bool { + @objc get + @objc set + } + @objc public static var additionalEnabledApplePayNetworks: [PassKit.PKPaymentNetwork] { + @objc get + @objc set + } + @objc public class func canSubmitPaymentRequest(_ paymentRequest: PassKit.PKPaymentRequest) -> Swift.Bool + @objc dynamic public class func deviceSupportsApplePay() -> Swift.Bool + @available(*, deprecated, message: "Use `paymentRequestWithMerchantIdentifier:country:currency:` instead.") + @objc public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String) -> PassKit.PKPaymentRequest + @objc public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String, country countryCode: Swift.String, currency currencyCode: Swift.String) -> PassKit.PKPaymentRequest + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPBankAccountHolderType : Swift.Int { + case individual + case company + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPBankAccountParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var accountNumber: Swift.String? + @objc public var last4: Swift.String? { + @objc get + } + @objc public var routingNumber: Swift.String? + @objc public var country: Swift.String? + @objc public var currency: Swift.String? + @objc public var accountHolderName: Swift.String? + @objc public var accountHolderType: Stripe.STPBankAccountHolderType + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public init() + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit +} +@objc public class STPMandateOnlineParams : ObjectiveC.NSObject { + @objc final public let ipAddress: Swift.String + @objc final public let userAgent: Swift.String + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc(initWithIPAddress:userAgent:) public init(ipAddress: Swift.String, userAgent: Swift.String) + @objc override dynamic public init() + @objc deinit +} +extension STPMandateOnlineParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPSetupIntentStatus : Swift.Int { + case unknown + case requiresPaymentMethod + case requiresConfirmation + case requiresAction + case processing + case succeeded + case canceled + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPSetupIntentUsage : Swift.Int { + case unknown + case none + case onSession + case offSession + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionAlipayHandleRedirect : ObjectiveC.NSObject { + @objc final public let nativeURL: Foundation.URL? + @objc final public let returnURL: Foundation.URL + @objc final public let url: Foundation.URL + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPIntentActionAlipayHandleRedirect : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_hasMissingDesignatedInitializers open class STPCustomerContext : ObjectiveC.NSObject, Stripe.STPBackendAPIAdapter { + @objc(initWithKeyProvider:) convenience public init(keyProvider: Stripe.STPCustomerEphemeralKeyProvider) + convenience public init(keyProvider: Stripe.STPCustomerEphemeralKeyProvider?, apiClient: StripeCore.STPAPIClient) + @available(swift, deprecated: 0.0.1, renamed: "init(keyProvider:apiClient:)") + @objc(initWithKeyProvider:apiClient:) convenience public init(keyProvider: Stripe.STPCustomerEphemeralKeyProvider?, apiClient: Stripe._stpobjc_STPAPIClient) + @objc public func clearCache() + @objc public var includeApplePayPaymentMethods: Swift.Bool { + @objc get + @objc set(includeApplePayMethods) + } + @objc public func retrieveCustomer(_ completion: Stripe.STPCustomerCompletionBlock? = nil) + @objc public func updateCustomer(withShippingAddress shipping: Stripe.STPAddress, completion: Stripe.STPErrorBlock?) + @objc public func attachPaymentMethodToCustomer(paymentMethodId: Swift.String, completion: Stripe.STPErrorBlock?) + @objc public func attachPaymentMethod(toCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc public func detachPaymentMethodFromCustomer(paymentMethodId: Swift.String, completion: Stripe.STPErrorBlock?) + @objc public func detachPaymentMethod(fromCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc public func listPaymentMethodsForCustomer(completion: Stripe.STPPaymentMethodsCompletionBlock? = nil) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodLinkParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodEPS : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPConnectAccountBusinessType : Swift.Int { + case individual + case company + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public class STPConnectAccountParams : ObjectiveC.NSObject { + @objc final public let tosShownAndAccepted: Foundation.NSNumber? + @objc final public let businessType: Stripe.STPConnectAccountBusinessType + @objc final public let individual: Stripe.STPConnectAccountIndividualParams? + @objc final public let company: Stripe.STPConnectAccountCompanyParams? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init?(tosShownAndAccepted wasAccepted: Swift.Bool, individual: Stripe.STPConnectAccountIndividualParams) + @objc public init?(tosShownAndAccepted wasAccepted: Swift.Bool, company: Stripe.STPConnectAccountCompanyParams) + @objc public init(individual: Stripe.STPConnectAccountIndividualParams) + @objc public init(company: Stripe.STPConnectAccountCompanyParams) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountParams : Stripe.STPFormEncodable { + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodFPX : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var bankIdentifierCode: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPCoreTableViewController : Stripe.STPCoreScrollViewController { + @objc public var tableView: UIKit.UITableView? { + @objc get + } + @objc override dynamic public func viewWillAppear(_ animated: Swift.Bool) + @objc public func tableView(_ tableView: UIKit.UITableView, heightForHeaderInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc required public init(theme: Stripe.STPTheme?) + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc deinit +} +@objc public enum STPShippingType : Swift.Int { + case shipping + case delivery + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPShippingStatus : Swift.Int { + case valid + case invalid + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentStatus : Swift.Int { + case success + case error + case userCancellation + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPErrorBlock = (Swift.Error?) -> Swift.Void +public typealias STPBooleanSuccessBlock = (Swift.Bool, Swift.Error?) -> Swift.Void +public typealias STPJSONResponseCompletionBlock = ([Swift.AnyHashable : Any]?, Swift.Error?) -> Swift.Void +public typealias STPTokenCompletionBlock = (Stripe.STPToken?, Swift.Error?) -> Swift.Void +public typealias STPSourceCompletionBlock = (Stripe.STPSource?, Swift.Error?) -> Swift.Void +public typealias STPSourceProtocolCompletionBlock = (Stripe.STPSourceProtocol?, Swift.Error?) -> Swift.Void +public typealias STPPaymentIntentCompletionBlock = (Stripe.STPPaymentIntent?, Swift.Error?) -> Swift.Void +public typealias STPSetupIntentCompletionBlock = (Stripe.STPSetupIntent?, Swift.Error?) -> Swift.Void +public typealias STPPaymentMethodCompletionBlock = (Stripe.STPPaymentMethod?, Swift.Error?) -> Swift.Void +public typealias STPPaymentMethodsCompletionBlock = ([Stripe.STPPaymentMethod]?, Swift.Error?) -> Swift.Void +public typealias STPShippingMethodsCompletionBlock = (Stripe.STPShippingStatus, Swift.Error?, [PassKit.PKShippingMethod]?, PassKit.PKShippingMethod?) -> Swift.Void +public typealias STPFileCompletionBlock = (Stripe.STPFile?, Swift.Error?) -> Swift.Void +public typealias STPCustomerCompletionBlock = (Stripe.STPCustomer?, Swift.Error?) -> Swift.Void +@objc public enum STPPinStatus : Swift.Int { + case success + case errorVerificationAlreadyRedeemed + case errorVerificationCodeIncorrect + case errorVerificationExpired + case errorVerificationTooManyAttempts + case ephemeralKeyError + case unknownError + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPPinCompletionBlock = (Stripe.STPIssuingCardPin?, Stripe.STPPinStatus, Swift.Error?) -> Swift.Void +public typealias STPPaymentStatusBlock = (Stripe.STPPaymentStatus, Swift.Error?) -> Swift.Void +public typealias STPRadarSessionCompletionBlock = (Stripe.STPRadarSession?, Swift.Error?) -> Swift.Void +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceKlarnaDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var clientToken: Swift.String? { + get + } + @objc public var purchaseCountry: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public class STPConfirmBLIKOptions : ObjectiveC.NSObject { + @objc public var code: Swift.String + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc required public init(code: Swift.String) + @objc deinit + @objc override dynamic public init() +} +extension STPConfirmBLIKOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPRedirectContextError : Swift.Int { + @objc(STPRedirectContextAppRedirectError) case appRedirectError + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPRedirectContextState : Swift.Int { + case notStarted + case inProgress + case cancelled + case completed + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPRedirectContextSourceCompletionBlock = (Swift.String, Swift.String?, Swift.Error?) -> Swift.Void +public typealias STPRedirectContextCompletionBlock = Stripe.STPRedirectContextSourceCompletionBlock +public typealias STPRedirectContextPaymentIntentCompletionBlock = (Swift.String, Swift.Error?) -> Swift.Void +@objc @_hasMissingDesignatedInitializers @available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +public class STPRedirectContext : ObjectiveC.NSObject, SafariServices.SFSafariViewControllerDelegate, UIKit.UIViewControllerTransitioningDelegate { + @objc public static let STPRedirectContextErrorDomain: Swift.String + @objc public var state: Stripe.STPRedirectContextState { + get + } + @objc convenience public init?(source: Stripe.STPSource, completion: @escaping Stripe.STPRedirectContextSourceCompletionBlock) + @objc convenience public init?(paymentIntent: Stripe.STPPaymentIntent, completion: @escaping Stripe.STPRedirectContextPaymentIntentCompletionBlock) + @objc(startRedirectFlowFromViewController:) public func startRedirectFlow(from presentingViewController: UIKit.UIViewController) + @objc(startSafariViewControllerRedirectFlowFromViewController:) dynamic public func startSafariViewControllerRedirectFlow(from presentingViewController: UIKit.UIViewController) + @objc public func startSafariAppRedirectFlow() + @objc public func cancel() + @objc deinit + @objc public func safariViewControllerDidFinish(_ controller: SafariServices.SFSafariViewController) + @objc public func safariViewController(_ controller: SafariServices.SFSafariViewController, didCompleteInitialLoad didLoadSuccessfully: Swift.Bool) + @objc public func safariViewController(_ controller: SafariServices.SFSafariViewController, initialLoadDidRedirectTo URL: Foundation.URL) + @objc public func presentationController(forPresented presented: UIKit.UIViewController, presenting: UIKit.UIViewController?, source: UIKit.UIViewController) -> UIKit.UIPresentationController? + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers final public class STPRadarSession : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let id: Swift.String + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc public static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Stripe.STPRadarSession? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPKlarnaLineItemType : Swift.Int { + case SKU + case tax + case shipping + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public class STPKlarnaLineItem : ObjectiveC.NSObject { + @objc public var itemType: Stripe.STPKlarnaLineItemType + @objc public var itemDescription: Swift.String + @objc public var quantity: Foundation.NSNumber + @objc public var totalAmount: Foundation.NSNumber + @objc public init(itemType: Stripe.STPKlarnaLineItemType, itemDescription: Swift.String, quantity: Foundation.NSNumber, totalAmount: Foundation.NSNumber) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodOXXOParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @IBDesignable open class STPPaymentCardTextField : UIKit.UIControl, UIKit.UIKeyInput { + @objc open func textField(_ textField: UIKit.UITextField, shouldChangeCharactersIn range: Foundation.NSRange, replacementString string: Swift.String) -> Swift.Bool + @objc @IBOutlet weak open var delegate: Stripe.STPPaymentCardTextFieldDelegate? + @objc open var font: UIKit.UIFont { + @objc get + @objc set + } + @objc open var textColor: UIKit.UIColor { + @objc get + @objc set + } + @objc open var textErrorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc open var placeholderColor: UIKit.UIColor { + @objc get + @objc set + } + @objc @IBInspectable open var numberPlaceholder: Swift.String? { + @objc get + @objc set(numberPlaceholder) + } + @objc @IBInspectable open var expirationPlaceholder: Swift.String? { + @objc get + @objc set(expirationPlaceholder) + } + @objc @IBInspectable open var cvcPlaceholder: Swift.String? { + @objc get + @objc set(cvcPlaceholder) + } + @objc @IBInspectable open var postalCodePlaceholder: Swift.String? { + @objc get + @objc set(postalCodePlaceholder) + } + @objc open var cursorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc open var borderColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc open var borderWidth: CoreGraphics.CGFloat { + @objc get + @objc set + } + @objc open var cornerRadius: CoreGraphics.CGFloat { + @objc get + @objc set + } + @objc open var keyboardAppearance: UIKit.UIKeyboardAppearance { + @objc get + @objc set + } + @objc override dynamic open var inputView: UIKit.UIView? { + @objc get + @objc set(inputView) + } + @objc override dynamic open var inputAccessoryView: UIKit.UIView? { + @objc get + @objc set(inputAccessoryView) + } + @objc open var brandImage: UIKit.UIImage? { + get + } + @objc dynamic open var isValid: Swift.Bool { + @objc get + } + @objc override dynamic open var isEnabled: Swift.Bool { + @objc get + @objc set(enabled) + } + @objc open var cardNumber: Swift.String? { + @objc get + } + @objc open var expirationMonth: Swift.Int { + @objc get + } + @objc open var formattedExpirationMonth: Swift.String? { + @objc get + } + @objc open var expirationYear: Swift.Int { + @objc get + } + @objc open var formattedExpirationYear: Swift.String? { + @objc get + } + @objc open var cvc: Swift.String? { + @objc get + } + @objc open var postalCode: Swift.String? { + @objc get + @objc set + } + @objc open var postalCodeEntryEnabled: Swift.Bool { + @objc get + @objc set(postalCodeEntryEnabled) + } + @objc open var countryCode: Swift.String? { + @objc get + @objc set(cCode) + } + @objc open var cardParams: Stripe.STPPaymentMethodCardParams { + @objc get + @objc set(callersCardParams) + } + @discardableResult + @objc override dynamic open func becomeFirstResponder() -> Swift.Bool + @discardableResult + @objc override dynamic open func resignFirstResponder() -> Swift.Bool + @objc open func clear() + @objc(cvcImageForCardBrand:) open class func cvcImage(for cardBrand: Stripe.STPCardBrand) -> UIKit.UIImage? + @objc(brandImageForCardBrand:) open class func brandImage(for cardBrand: Stripe.STPCardBrand) -> UIKit.UIImage? + @objc(errorImageForCardBrand:) open class func errorImage(for cardBrand: Stripe.STPCardBrand) -> UIKit.UIImage? + @objc(brandImageRectForBounds:) open func brandImageRect(forBounds bounds: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @objc(fieldsRectForBounds:) open func fieldsRect(forBounds bounds: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc override dynamic open func traitCollectionDidChange(_ previousTraitCollection: UIKit.UITraitCollection?) + @objc override dynamic open var backgroundColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc override dynamic open var contentVerticalAlignment: UIKit.UIControl.ContentVerticalAlignment { + @objc get + @objc set(contentVerticalAlignment) + } + @objc override dynamic open var isFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic open var canBecomeFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic open var canResignFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic open var intrinsicContentSize: CoreGraphics.CGSize { + @objc get + } + @objc override dynamic open func layoutSubviews() + @objc open func textFieldShouldBeginEditing(_ textField: UIKit.UITextField) -> Swift.Bool + @objc open func textFieldDidBeginEditing(_ textField: UIKit.UITextField) + @objc open func textFieldShouldEndEditing(_ textField: UIKit.UITextField) -> Swift.Bool + @objc open func textFieldDidEndEditing(_ textField: UIKit.UITextField) + @objc open func textFieldShouldReturn(_ textField: UIKit.UITextField) -> Swift.Bool + @objc open var hasText: Swift.Bool { + @objc get + } + @objc open func insertText(_ text: Swift.String) + @objc open func deleteBackward() + @objc open class func keyPathsForValuesAffectingIsValid() -> Swift.Set + @objc deinit +} +@objc public protocol STPPaymentCardTextFieldDelegate : ObjectiveC.NSObjectProtocol { + @objc optional func paymentCardTextFieldDidChange(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditing(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldWillEndEditing(forReturn textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditing(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingNumber(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingNumber(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingExpiration(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingExpiration(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingPostalCode(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingPostalCode(_ textField: Stripe.STPPaymentCardTextField) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceSEPADebitDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var last4: Swift.String? { + get + } + @objc public var bankCode: Swift.String? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var mandateReference: Swift.String? { + get + } + @objc public var mandateURL: Foundation.URL? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBacsDebitParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var accountNumber: Swift.String? + @objc public var sortCode: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodiDEALParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var bankName: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPAPIResponseDecodable : ObjectiveC.NSObjectProtocol { + @objc static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc var allResponseFields: [Swift.AnyHashable : Any] { get } +} +extension STPAPIClient { + public func createToken(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPTokenCompletionBlock) + public func createSource(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPSourceCompletionBlock) + public func createPaymentMethod(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) +} +@objc @_inheritsConvenienceInitializers public class STPPaymentIntentParams : ObjectiveC.NSObject { + @objc public init(clientSecret: Swift.String) + @objc public var stripeId: Swift.String? { + @objc get + } + @objc public var clientSecret: Swift.String + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? + @objc public var paymentMethodId: Swift.String? + @objc public var sourceParams: Stripe.STPSourceParams? + @objc public var sourceId: Swift.String? + @objc public var receiptEmail: Swift.String? + @objc public var savePaymentMethod: Foundation.NSNumber? + @objc public var returnURL: Swift.String? + public var setupFutureUsage: Stripe.STPPaymentIntentSetupFutureUsage? + @available(swift, obsoleted: 1.0, renamed: "setupFutureUsage") + @objc(setupFutureUsage) public var setupFutureUsage_objc: Foundation.NSNumber? { + @objc get + @objc set + } + @objc public var useStripeSDK: Foundation.NSNumber? + @objc public var mandateData: Stripe.STPMandateDataParams? { + @objc get + @objc set + } + @objc public var paymentMethodOptions: Stripe.STPConfirmPaymentMethodOptions? + @objc public var shipping: Stripe.STPPaymentIntentShippingDetailsParams? + @available(*, deprecated, renamed: "returnURL") + @objc public var returnUrl: Swift.String? { + @objc get + @objc set(returnUrl) + } + @available(*, deprecated, renamed: "savePaymentMethod") + @objc public var saveSourceToCustomer: Foundation.NSNumber? { + @objc get + @objc set(saveSourceToCustomer) + } + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public func configure(with paymentResult: Stripe.STPPaymentResult) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit +} +extension STPPaymentIntentParams : Stripe.STPFormEncodable { + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] +} +extension STPPaymentIntentParams : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodSEPADebit : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var bankCode: Swift.String? { + get + } + @objc public var branchCode: Swift.String? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var mandate: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@_hasMissingDesignatedInitializers @available(swift, deprecated: 0.0.1, renamed: "STPAPIClient") +@objc(STPAPIClient) public class _stpobjc_STPAPIClient : ObjectiveC.NSObject { + @objc public static let STPSDKVersion: Swift.String + @available(swift, deprecated: 0.0.1) + @objc(sharedClient) public static let shared: Stripe._stpobjc_STPAPIClient + @objc public var publishableKey: Swift.String? { + @objc get + @objc set + } + @objc public var configuration: Stripe.STPPaymentConfiguration { + @objc get + @objc set + } + @objc public var stripeAccount: Swift.String? { + @objc get + @objc set + } + @objc public var appInfo: Stripe._stpobjc_STPAppInfo? { + @objc get + @objc set + } + @objc public static let apiVersion: Swift.String + @objc public init(publishableKey: Swift.String) + @available(*, deprecated, message: "This initializer previously configured publishableKey and stripeAccount via the STPPaymentConfiguration instance. This behavior is deprecated; set the STPAPIClient configuration, publishableKey, and stripeAccount properties directly on the STPAPIClient instead.") + @objc public init(configuration: Stripe.STPPaymentConfiguration) + @objc public func createToken(withBankAccount bankAccount: Stripe.STPBankAccountParams, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc public func createToken(withPersonalIDNumber pii: Swift.String, completion: Stripe.STPTokenCompletionBlock?) + @objc public func createToken(withSSNLast4 ssnLast4: Swift.String, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc public func createToken(withConnectAccount account: Stripe.STPConnectAccountParams, completion: Stripe.STPTokenCompletionBlock?) + @objc public func uploadImage(_ image: UIKit.UIImage, purpose: Stripe.STPFilePurpose, completion: Stripe.STPFileCompletionBlock?) + @objc public func createToken(withCard cardParams: Stripe.STPCardParams, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc public func createToken(forCVCUpdate cvc: Swift.String, completion: Stripe.STPTokenCompletionBlock? = nil) + @objc(createSourceWithParams:completion:) public func createSource(with sourceParams: Stripe.STPSourceParams, completion: @escaping Stripe.STPSourceCompletionBlock) + @objc public func retrieveSource(withId identifier: Swift.String, clientSecret secret: Swift.String, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + @objc public func startPollingSource(withId identifier: Swift.String, clientSecret secret: Swift.String, timeout: Foundation.TimeInterval, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + @objc public func stopPollingSource(withId identifier: Swift.String) + @objc public func retrievePaymentIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc public func retrievePaymentIntent(withClientSecret secret: Swift.String, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc(confirmPaymentIntentWithParams:completion:) dynamic public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc(confirmPaymentIntentWithParams:expand:completion:) public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc public func retrieveSetupIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPSetupIntentCompletionBlock) + @objc(confirmSetupIntentWithParams:completion:) dynamic public func confirmSetupIntent(with setupIntentParams: Stripe.STPSetupIntentConfirmParams, completion: @escaping Stripe.STPSetupIntentCompletionBlock) + @objc(createPaymentMethodWithParams:completion:) public func createPaymentMethod(with paymentMethodParams: Stripe.STPPaymentMethodParams, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) + @objc public func createRadarSession(completion: @escaping Stripe.STPRadarSessionCompletionBlock) + @objc(createTokenWithPayment:completion:) public func createToken(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc(createSourceWithPayment:completion:) public func createSource(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPSourceCompletionBlock) + @objc(createPaymentMethodWithPayment:completion:) public func createPaymentMethod(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) + @objc public class func pkPaymentError(forStripeError stripeError: Swift.Error?) -> Swift.Error? + @objc override dynamic public init() + @objc deinit +} +@objc(STPPaymentContext) public class STPPaymentContext : ObjectiveC.NSObject, Stripe.STPAuthenticationContext, Stripe.STPPaymentOptionsViewControllerDelegate, Stripe.STPShippingAddressViewControllerDelegate { + @objc convenience public init(customerContext: Stripe.STPCustomerContext) + @objc convenience public init(customerContext: Stripe.STPCustomerContext, configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc convenience public init(apiAdapter: Stripe.STPBackendAPIAdapter) + @objc public init(apiAdapter: Stripe.STPBackendAPIAdapter, configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc public var apiAdapter: Stripe.STPBackendAPIAdapter { + get + } + @objc public var configuration: Stripe.STPPaymentConfiguration { + get + } + @objc public var theme: Stripe.STPTheme { + get + } + @objc public var prefilledInformation: Stripe.STPUserInformation? { + @objc get + @objc set(prefilledInformation) + } + @objc weak public var hostViewController: UIKit.UIViewController? { + @objc get + @objc set(hostViewController) + } + @objc weak public var delegate: Stripe.STPPaymentContextDelegate? { + @objc get + @objc set(delegate) + } + @objc public var loading: Swift.Bool { + @objc get + } + @objc public var defaultPaymentMethod: Swift.String? + @objc public var selectedPaymentOption: Stripe.STPPaymentOption? { + @objc get + } + @objc public var paymentOptions: [Stripe.STPPaymentOption]? { + @objc get + } + @objc public var selectedShippingMethod: PassKit.PKShippingMethod? { + get + } + @objc public var shippingMethods: [PassKit.PKShippingMethod]? { + @objc get + } + @objc public var shippingAddress: Stripe.STPAddress? { + get + } + @objc public var paymentAmount: Swift.Int { + @objc get + @objc set(paymentAmount) + } + @objc public var paymentCurrency: Swift.String + @objc public var paymentCountry: Swift.String + @objc public var paymentSummaryItems: [PassKit.PKPaymentSummaryItem] { + @objc get + @objc set(paymentSummaryItems) + } + @objc public var modalPresentationStyle: UIKit.UIModalPresentationStyle + @objc public var largeTitleDisplayMode: UIKit.UINavigationItem.LargeTitleDisplayMode + @objc public var paymentOptionsViewControllerFooterView: UIKit.UIView? + @objc public var addCardViewControllerFooterView: UIKit.UIView? + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public func retryLoading() + @objc public func presentPaymentOptionsViewController() + @objc public func pushPaymentOptionsViewController() + @objc public func presentShippingViewController() + @objc public func pushShippingViewController() + @objc public func requestPayment() + @objc public func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didSelect paymentOption: Stripe.STPPaymentOption) + @objc public func paymentOptionsViewControllerDidFinish(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc public func paymentOptionsViewControllerDidCancel(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc public func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didFailToLoadWithError error: Swift.Error) + @objc public func shippingAddressViewControllerDidCancel(_ addressViewController: Stripe.STPShippingAddressViewController) + @objc public func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didEnter address: Stripe.STPAddress, completion: @escaping Stripe.STPShippingMethodsCompletionBlock) + @objc public func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didFinishWith address: Stripe.STPAddress, shippingMethod method: PassKit.PKShippingMethod?) + @objc public func authenticationPresentingViewController() -> UIKit.UIViewController + @objc public func prepare(forPresentation completion: @escaping StripeApplePay.STPVoidBlock) + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPPaymentContextDelegate : ObjectiveC.NSObjectProtocol { + @objc func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didFailToLoadWithError error: Swift.Error) + @objc func paymentContextDidChange(_ paymentContext: Stripe.STPPaymentContext) + @objc func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didCreatePaymentResult paymentResult: Stripe.STPPaymentResult, completion: @escaping Stripe.STPPaymentStatusBlock) + @objc func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didFinishWith status: Stripe.STPPaymentStatus, error: Swift.Error?) + @objc optional func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didUpdateShippingAddress address: Stripe.STPAddress, completion: @escaping Stripe.STPShippingMethodsCompletionBlock) +} +@_hasMissingDesignatedInitializers @objc(STPAppInfo) public class _stpobjc_STPAppInfo : ObjectiveC.NSObject { + @objc public init(name: Swift.String, partnerId: Swift.String?, version: Swift.String?, url: Swift.String?) + @objc public var name: Swift.String { + @objc get + } + @objc public var partnerId: Swift.String? { + @objc get + } + @objc public var version: Swift.String? { + @objc get + } + @objc public var url: Swift.String? { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +@objc public class STPPaymentIntentShippingDetailsParams : ObjectiveC.NSObject { + @objc public var address: Stripe.STPPaymentIntentShippingDetailsAddressParams + @objc public var name: Swift.String + @objc public var carrier: Swift.String? + @objc public var phone: Swift.String? + @objc public var trackingNumber: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(address: Stripe.STPPaymentIntentShippingDetailsAddressParams, name: Swift.String) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetailsParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +extension STPPaymentIntentShippingDetailsParams : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc @_inheritsConvenienceInitializers public class STPConfirmCardOptions : ObjectiveC.NSObject { + @objc public var cvc: Swift.String? + @objc public var network: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPConfirmCardOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, unavailable, renamed: "STPIntentAction", message: "Use `STPIntentAction` instead.") +@objc final public class STPPaymentIntentSourceAction : Stripe.STPIntentAction { + @objc deinit +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension STPPaymentCardTextField { + public struct Representable : SwiftUI.UIViewRepresentable { + public init(paymentMethodParams: SwiftUI.Binding) + public func makeCoordinator() -> Stripe.STPPaymentCardTextField.Representable.Coordinator + public func makeUIView(context: Stripe.STPPaymentCardTextField.Representable.Context) -> Stripe.STPPaymentCardTextField + public func updateUIView(_ paymentCardField: Stripe.STPPaymentCardTextField, context: Stripe.STPPaymentCardTextField.Representable.Context) + @objc @_hasMissingDesignatedInitializers public class Coordinator : ObjectiveC.NSObject, Stripe.STPPaymentCardTextFieldDelegate { + @objc public func paymentCardTextFieldDidChange(_ cardField: Stripe.STPPaymentCardTextField) + @objc deinit + @objc override dynamic public init() + } + public typealias UIViewType = Stripe.STPPaymentCardTextField + public typealias Body = Swift.Never + } +} +@objc public enum STPSourceRedirectStatus : Swift.Int { + case pending + case succeeded + case failed + case notRequired + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPSourceRedirect : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var returnURL: Foundation.URL { + get + } + @objc public var status: Stripe.STPSourceRedirectStatus { + get + } + @objc public var url: Foundation.URL { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSNavigationBarCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSNavigationBarCustomization + @objc public var barTintColor: UIKit.UIColor? { + @objc get + @objc set(barTintColor) + } + @objc public var barStyle: UIKit.UIBarStyle { + @objc get + @objc set(barStyle) + } + @objc public var translucent: Swift.Bool { + @objc get + @objc set(translucent) + } + @objc public var headerText: Swift.String { + @objc get + @objc set(headerText) + } + @objc public var buttonText: Swift.String { + @objc get + @objc set(buttonText) + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set(textColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSource : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPSourceProtocol, Stripe.STPPaymentOption { + @objc public var amount: Foundation.NSNumber? { + get + } + @objc public var clientSecret: Swift.String? { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var currency: Swift.String? { + get + } + @objc public var flow: Stripe.STPSourceFlow { + get + } + @objc public var livemode: Swift.Bool { + get + } + @objc public var owner: Stripe.STPSourceOwner? { + get + } + @objc public var receiver: Stripe.STPSourceReceiver? { + get + } + @objc public var redirect: Stripe.STPSourceRedirect? { + get + } + @objc public var status: Stripe.STPSourceStatus { + get + } + @objc public var type: Stripe.STPSourceType { + get + } + @objc public var usage: Stripe.STPSourceUsage { + get + } + @objc public var verification: Stripe.STPSourceVerification? { + get + } + @objc public var details: [Swift.AnyHashable : Any]? { + get + } + @objc public var cardDetails: Stripe.STPSourceCardDetails? { + get + } + @objc public var klarnaDetails: Stripe.STPSourceKlarnaDetails? { + get + } + @objc public var sepaDebitDetails: Stripe.STPSourceSEPADebitDetails? { + get + } + @objc public var weChatPayDetails: Stripe.STPSourceWeChatPayDetails? { + get + } + @available(*, deprecated, message: "Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @objc public var stripeID: Swift.String + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc deinit +} +@objc public enum STPFilePurpose : Swift.Int { + case identityDocument + case disputeEvidence + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPFile : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var fileId: Swift.String? { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var purpose: Stripe.STPFilePurpose { + get + } + @objc public var size: Foundation.NSNumber? { + get + } + @objc public var type: Swift.String? { + get + } + @objc(stringFromPurpose:) public class func string(from purpose: Stripe.STPFilePurpose) -> Swift.String? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public protocol STPFormTextFieldContainer : ObjectiveC.NSObjectProtocol { + @objc dynamic var formFont: UIKit.UIFont { get set } + @objc dynamic var formTextColor: UIKit.UIColor { get set } + @objc dynamic var formTextErrorColor: UIKit.UIColor { get set } + @objc dynamic var formPlaceholderColor: UIKit.UIColor { get set } + @objc dynamic var formCursorColor: UIKit.UIColor { get set } + @objc dynamic var formKeyboardAppearance: UIKit.UIKeyboardAppearance { get set } +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBoletoParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var taxID: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc public class STPPushProvisioningContext : ObjectiveC.NSObject { + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public class func requestConfiguration(withName name: Swift.String, description: Swift.String?, last4: Swift.String?, brand: Stripe.STPCardBrand) -> PassKit.PKAddPaymentPassRequestConfiguration + @objc public init(keyProvider: Stripe.STPIssuingCardEphemeralKeyProvider) + @objc public func addPaymentPassViewController(_ controller: PassKit.PKAddPaymentPassViewController, generateRequestWithCertificateChain certificates: [Foundation.Data], nonce: Foundation.Data, nonceSignature: Foundation.Data, completionHandler handler: @escaping (PassKit.PKAddPaymentPassRequest) -> Swift.Void) + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPPaymentHandlerActionStatus : Swift.Int { + case succeeded + case canceled + case failed + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentHandlerErrorCode : Swift.Int { + @objc(STPPaymentHandlerUnsupportedAuthenticationErrorCode) case unsupportedAuthenticationErrorCode + @objc(STPPaymentHandlerRequiredAppNotAvailableErrorCode) case requiredAppNotAvailable + @objc(STPPaymentHandlerRequiresPaymentMethodErrorCode) case requiresPaymentMethodErrorCode + @objc(STPPaymentHandlerIntentStatusErrorCode) case intentStatusErrorCode + @objc(STPPaymentHandlerTimedOutErrorCode) case timedOutErrorCode + @objc(STPPaymentHandlerStripe3DS2ErrorCode) case stripe3DS2ErrorCode + @objc(STPPaymentHandlerNotAuthenticatedErrorCode) case notAuthenticatedErrorCode + @objc(STPPaymentHandlerNoConcurrentActionsErrorCode) case noConcurrentActionsErrorCode + @objc(STPPaymentHandlerRequiresAuthenticationContextErrorCode) case requiresAuthenticationContextErrorCode + @objc(STPPaymentHandlerPaymentErrorCode) case paymentErrorCode + @objc(STPPaymentHandlerInvalidClientSecret) case invalidClientSecret + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPPaymentHandlerActionPaymentIntentCompletionBlock = (Stripe.STPPaymentHandlerActionStatus, Stripe.STPPaymentIntent?, Foundation.NSError?) -> Swift.Void +public typealias STPPaymentHandlerActionSetupIntentCompletionBlock = (Stripe.STPPaymentHandlerActionStatus, Stripe.STPSetupIntent?, Foundation.NSError?) -> Swift.Void +@objc @_hasMissingDesignatedInitializers @available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +public class STPPaymentHandler : ObjectiveC.NSObject, SafariServices.SFSafariViewControllerDelegate { + @objc public static let errorDomain: Swift.String + @objc public static let sharedHandler: Stripe.STPPaymentHandler + @objc public class func shared() -> Stripe.STPPaymentHandler + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public var threeDSCustomizationSettings: Stripe.STPThreeDSCustomizationSettings + @objc public var simulateAppToAppRedirect: Swift.Bool { + @objc get + @objc set + } + @objc(confirmPayment:withAuthenticationContext:completion:) public func confirmPayment(_ paymentParams: Stripe.STPPaymentIntentParams, with authenticationContext: Stripe.STPAuthenticationContext, completion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) + @available(*, deprecated, renamed: "confirmPayment(_:with:completion:)", message: "Use confirmPayment(_:with:completion:) instead") + public func confirmPayment(withParams: Stripe.STPPaymentIntentParams, authenticationContext: Stripe.STPAuthenticationContext, completion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) + @objc(handleNextActionForPayment:withAuthenticationContext:returnURL:completion:) public func handleNextAction(forPayment paymentIntentClientSecret: Swift.String, with authenticationContext: Stripe.STPAuthenticationContext, returnURL: Swift.String?, completion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) + @objc(confirmSetupIntent:withAuthenticationContext:completion:) public func confirmSetupIntent(_ setupIntentConfirmParams: Stripe.STPSetupIntentConfirmParams, with authenticationContext: Stripe.STPAuthenticationContext, completion: @escaping Stripe.STPPaymentHandlerActionSetupIntentCompletionBlock) + @objc(handleNextActionForSetupIntent:withAuthenticationContext:returnURL:completion:) public func handleNextAction(forSetupIntent setupIntentClientSecret: Swift.String, with authenticationContext: Stripe.STPAuthenticationContext, returnURL: Swift.String?, completion: @escaping Stripe.STPPaymentHandlerActionSetupIntentCompletionBlock) + @objc public func safariViewControllerDidFinish(_ controller: SafariServices.SFSafariViewController) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSSelectionCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSSelectionCustomization + @objc public var primarySelectedColor: UIKit.UIColor { + @objc get + @objc set(primarySelectedColor) + } + @objc public var secondarySelectedColor: UIKit.UIColor { + @objc get + @objc set(secondarySelectedColor) + } + @objc public var unselectedBackgroundColor: UIKit.UIColor { + @objc get + @objc set(unselectedBackgroundColor) + } + @objc public var unselectedBorderColor: UIKit.UIColor { + @objc get + @objc set(unselectedBorderColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPPaymentMethodType : Swift.Int { + case card + case alipay + case grabPay + @objc(STPPaymentMethodTypeiDEAL) case iDEAL + case FPX + case cardPresent + @objc(STPPaymentMethodTypeSEPADebit) case SEPADebit + @objc(STPPaymentMethodTypeAUBECSDebit) case AUBECSDebit + case bacsDebit + case giropay + case przelewy24 + @objc(STPPaymentMethodTypeEPS) case EPS + case bancontact + case netBanking + @objc(STPPaymentMethodTypeOXXO) case OXXO + case sofort + case UPI + case payPal + case afterpayClearpay + @objc(STPPaymentMethodTypeBLIK) case blik + case weChatPay + case boleto + case link + case klarna + case linkInstantDebit + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPUserInformation : ObjectiveC.NSObject, Foundation.NSCopying { + @objc public var billingAddress: Stripe.STPAddress? + @objc public var shippingAddress: Stripe.STPAddress? + @objc(setBillingAddressWithBillingDetails:) public func setBillingAddress(with billingDetails: Stripe.STPPaymentMethodBillingDetails) + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPFakeAddPaymentPassViewController : UIKit.UIViewController { + @objc public class func canAddPaymentPass() -> Swift.Bool + @objc(initWithRequestConfiguration:delegate:) required public init?(requestConfiguration configuration: PassKit.PKAddPaymentPassRequestConfiguration, delegate: PassKit.PKAddPaymentPassViewControllerDelegate?) + @objc weak public var delegate: PassKit.PKAddPaymentPassViewControllerDelegate? + @objc convenience override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required convenience dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public func viewDidLoad() + @objc deinit +} +@objc public enum STPSourceCard3DSecureStatus : Swift.Int { + case required + case optional + case notSupported + case recommended + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPSourceCardDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var last4: Swift.String? { + get + } + @objc public var expMonth: Swift.UInt { + get + } + @objc public var expYear: Swift.UInt { + get + } + @objc public var brand: Stripe.STPCardBrand { + get + } + @objc public var funding: Stripe.STPCardFundingType { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var threeDSecure: Stripe.STPSourceCard3DSecureStatus { + get + } + @objc public var isApplePayCard: Swift.Bool { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPIssuingCardPin : ObjectiveC.NSObject { + @objc final public let pin: Swift.String? + @objc final public let error: [Swift.AnyHashable : Any]? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc deinit +} +extension STPIssuingCardPin : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodThreeDSecureUsage : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var supported: Swift.Bool { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionBoletoDisplayDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let number: Swift.String + @objc final public let expiresAt: Foundation.Date + @objc final public let hostedVoucherURL: Foundation.URL + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc(_stpinternal_apContextDelegate) public protocol STPApplePayContextDelegate : StripeApplePay._stpinternal_STPApplePayContextDelegateBase { + @objc(applePayContext:didCreatePaymentMethod:paymentInformation:completion:) func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, paymentInformation: PassKit.PKPayment, completion: @escaping StripeApplePay.STPIntentClientSecretCompletionBlock) + @objc(applePayContext:didCompleteWithStatus:error:) func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCompleteWith status: Stripe.STPPaymentStatus, error: Swift.Error?) +} +@objc(STPApplePayContextDelegate) public protocol _stpobjc_APContextDelegate : ObjectiveC.NSObjectProtocol { + @objc(applePayContext:didCreatePaymentMethod:paymentInformation:completion:) func applePayContext(_ context: Stripe._stpobjc_APContext, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, paymentInformation: PassKit.PKPayment, completion: @escaping StripeApplePay.STPIntentClientSecretCompletionBlock) + @objc(applePayContext:didCompleteWithStatus:error:) func applePayContext(_ context: Stripe._stpobjc_APContext, didCompleteWith status: Stripe.STPPaymentStatus, error: Swift.Error?) + @objc(applePayContext:didSelectShippingMethod:handler:) optional func applePayContext(_ context: Stripe._stpobjc_APContext, didSelect shippingMethod: PassKit.PKShippingMethod, handler: @escaping (PassKit.PKPaymentRequestShippingMethodUpdate) -> Swift.Void) + @objc optional func applePayContext(_ context: Stripe._stpobjc_APContext, didSelectShippingContact contact: PassKit.PKContact, handler: @escaping (PassKit.PKPaymentRequestShippingContactUpdate) -> Swift.Void) +} +@_hasMissingDesignatedInitializers @objc(STPApplePayContext) public class _stpobjc_APContext : ObjectiveC.NSObject { + @objc(initWithPaymentRequest:delegate:) required public init?(paymentRequest: PassKit.PKPaymentRequest, delegate: Stripe._stpobjc_APContextDelegate?) + @available(*, deprecated, renamed: "presentApplePay(completion:)", message: "Use `presentApplePay(completion:)` instead.") + @objc(presentApplePayOnViewController:completion:) public func presentApplePay(on viewController: UIKit.UIViewController, completion: StripeApplePay.STPVoidBlock? = nil) + @available(iOSApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + @available(macCatalystApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + @objc(presentApplePayWithCompletion:) public func presentApplePay(completion: StripeApplePay.STPVoidBlock? = nil) + @objc(presentApplePayFromWindow:withCompletion:) public func presentApplePay(from window: UIKit.UIWindow?, completion: StripeApplePay.STPVoidBlock? = nil) + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPCoreViewController : UIKit.UIViewController { + @objc convenience dynamic public init() + @objc required public init(theme: Stripe.STPTheme?) + @objc required override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public func viewDidLoad() + @objc override dynamic public func viewWillAppear(_ animated: Swift.Bool) + @objc override dynamic public func viewWillDisappear(_ animated: Swift.Bool) + @objc override dynamic public var preferredStatusBarStyle: UIKit.UIStatusBarStyle { + @objc get + } + @objc deinit +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension View { + public func paymentConfirmationSheet(isConfirmingPayment: SwiftUI.Binding, paymentIntentParams: Stripe.STPPaymentIntentParams, onCompletion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) -> some SwiftUI.View + + public func setupIntentConfirmationSheet(isConfirmingSetupIntent: SwiftUI.Binding, setupIntentParams: Stripe.STPSetupIntentConfirmParams, onCompletion: @escaping Stripe.STPPaymentHandlerActionSetupIntentCompletionBlock) -> some SwiftUI.View + +} +@objc @_inheritsConvenienceInitializers public class STPPaymentConfiguration : ObjectiveC.NSObject, Foundation.NSCopying { + @objc(sharedConfiguration) public static var shared: Stripe.STPPaymentConfiguration + @objc public var applePayEnabled: Swift.Bool { + @objc get + @objc set + } + @objc public var fpxEnabled: Swift.Bool + @objc public var requiredBillingAddressFields: Stripe.STPBillingAddressFields + @objc public var requiredShippingAddressFields: Swift.Set? + @objc public var verifyPrefilledShippingAddress: Swift.Bool + @objc public var shippingType: Stripe.STPShippingType + @objc public var availableCountries: Swift.Set + @objc public var companyName: Swift.String + @objc public var appleMerchantIdentifier: Swift.String? + @objc public var canDeletePaymentOptions: Swift.Bool + @objc public var cardScanningEnabled: Swift.Bool + @available(*, deprecated, message: "additionalPaymentOptions has been removed. Set applePayEnabled and fpxEnabled on STPPaymentConfiguration instead.") + @objc public var additionalPaymentOptions: Swift.Int + @available(*, deprecated, message: "If you used STPPaymentConfiguration.shared.publishableKey, use STPAPIClient.shared.publishableKey instead. If you passed a STPPaymentConfiguration instance to an SDK component, create an STPAPIClient, set publishableKey on it, and set the SDK component's APIClient property.") + @objc public var publishableKey: Swift.String? { + @objc get + @objc set(publishableKey) + } + @available(*, deprecated, message: "If you used STPPaymentConfiguration.shared.stripeAccount, use STPAPIClient.shared.stripeAccount instead. If you passed a STPPaymentConfiguration instance to an SDK component, create an STPAPIClient, set stripeAccount on it, and set the SDK component's APIClient property.") + @objc public var stripeAccount: Swift.String? { + @objc get + @objc set(stripeAccount) + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodNetBanking : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var bank: Swift.String { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPConfirmPaymentMethodOptions : ObjectiveC.NSObject { + @objc public var cardOptions: Stripe.STPConfirmCardOptions? + @objc public var alipayOptions: Stripe.STPConfirmAlipayOptions? + @objc public var blikOptions: Stripe.STPConfirmBLIKOptions? + @objc public var weChatPayOptions: Stripe.STPConfirmWeChatPayOptions? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPConfirmPaymentMethodOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAddress : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var city: Swift.String? + @objc public var country: Swift.String? + @objc public var line1: Swift.String? + @objc public var line2: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var state: Swift.String? + @objc public init(address: Stripe.STPAddress) + @objc required override dynamic public init() + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceOwner : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var address: Stripe.STPAddress? { + get + } + @objc public var email: Swift.String? { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var phone: Swift.String? { + get + } + @objc public var verifiedAddress: Stripe.STPAddress? { + get + } + @objc public var verifiedEmail: Swift.String? { + get + } + @objc public var verifiedName: Swift.String? { + get + } + @objc public var verifiedPhone: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public protocol STPPaymentOption : ObjectiveC.NSObjectProtocol { + @objc var image: UIKit.UIImage { get } + @objc var templateImage: UIKit.UIImage { get } + @objc var label: Swift.String { get } + @objc var isReusable: Swift.Bool { get } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentActivityIndicatorView : UIKit.UIView { + @objc public func setAnimating(_ animating: Swift.Bool, animated: Swift.Bool) + @objc public var animating: Swift.Bool { + @objc get + @objc set(animating) + } + @objc public var hidesWhenStopped: Swift.Bool { + @objc get + @objc set(hidesWhenStopped) + } + @objc override dynamic public var tintColor: UIKit.UIColor! { + @objc get + @objc set(tintColor) + } + @objc override dynamic public func layoutSubviews() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodEPSParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers final public class STPTheme : ObjectiveC.NSObject { + @objc public static let defaultTheme: Stripe.STPTheme + @available(*, deprecated, renamed: "defaultTheme", message: "Use defaultTheme instead") + public static func `default`() -> Stripe.STPTheme + @objc final public var primaryBackgroundColor: UIKit.UIColor + @objc final public var secondaryBackgroundColor: UIKit.UIColor + @objc final public var tertiaryBackgroundColor: UIKit.UIColor { + @objc get + } + @objc final public var quaternaryBackgroundColor: UIKit.UIColor { + @objc get + } + @objc final public var primaryForegroundColor: UIKit.UIColor + @objc final public var secondaryForegroundColor: UIKit.UIColor + @objc final public var tertiaryForegroundColor: UIKit.UIColor { + @objc get + } + @objc final public var accentColor: UIKit.UIColor + @objc final public var errorColor: UIKit.UIColor + @objc final public var font: UIKit.UIFont { + @objc get + @objc set + } + @objc final public var emphasisFont: UIKit.UIFont { + @objc get + @objc set + } + @objc final public var barStyle: UIKit.UIBarStyle { + @objc get + @objc set + } + @objc final public var translucentNavigationBar: Swift.Bool + @objc final public var smallFont: UIKit.UIFont { + @objc get + } + @objc final public var largeFont: UIKit.UIFont { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPTheme : Foundation.NSCopying { + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc public protocol STPAuthenticationContext : ObjectiveC.NSObjectProtocol { + @objc func authenticationPresentingViewController() -> UIKit.UIViewController + @objc(prepareAuthenticationContextForPresentation:) optional func prepare(forPresentation completion: @escaping StripeApplePay.STPVoidBlock) + @objc optional func configureSafariViewController(_ viewController: SafariServices.SFSafariViewController) + @objc(authenticationContextWillDismissViewController:) optional func authenticationContextWillDismiss(_ viewController: UIKit.UIViewController) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodiDEAL : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var bankName: Swift.String? { + get + } + @objc public var bankIdentifierCode: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public class STPPinManagementService : ObjectiveC.NSObject { + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public init(keyProvider: Stripe.STPIssuingCardEphemeralKeyProvider) + @objc public func retrievePin(_ cardId: Swift.String, verificationId: Swift.String, oneTimeCode: Swift.String, completion: @escaping Stripe.STPPinCompletionBlock) + @objc public func updatePin(_ cardId: Swift.String, newPin: Swift.String, verificationId: Swift.String, oneTimeCode: Swift.String, completion: @escaping Stripe.STPPinCompletionBlock) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPAddCardViewController : Stripe.STPCoreTableViewController, Stripe.STPPaymentCardTextFieldDelegate, UIKit.UITableViewDelegate, UIKit.UITableViewDataSource { + @objc convenience dynamic public init() + @objc(initWithConfiguration:theme:) public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc weak public var delegate: Stripe.STPAddCardViewControllerDelegate? + @objc public var prefilledInformation: Stripe.STPUserInformation? + @objc public var customFooterView: UIKit.UIView? { + @objc get + @objc set(footerView) + } + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public func tableView(_ tableView: UIKit.UITableView, estimatedHeightForRowAt indexPath: Foundation.IndexPath) -> CoreGraphics.CGFloat + @objc override dynamic public func viewDidLayoutSubviews() + @objc public func updateAppearance() + @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool) + @objc public func handleCancelTapped(_ sender: Any?) + @objc public func paymentCardTextFieldDidChange(_ textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldWillEndEditing(forReturn textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldDidBeginEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldDidEndEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldDidBeginEditing(_ textField: Stripe.STPPaymentCardTextField) + @objc public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell + @objc public func tableView(_ tableView: UIKit.UITableView, willDisplay cell: UIKit.UITableViewCell, forRowAt indexPath: Foundation.IndexPath) + @objc public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc override public func tableView(_ tableView: UIKit.UITableView, heightForHeaderInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc public func tableView(_ tableView: UIKit.UITableView, viewForHeaderInSection section: Swift.Int) -> UIKit.UIView? + @objc public func tableView(_ tableView: UIKit.UITableView, viewForFooterInSection section: Swift.Int) -> UIKit.UIView? + @objc override dynamic public func viewWillTransition(to size: CoreGraphics.CGSize, with coordinator: UIKit.UIViewControllerTransitionCoordinator) + @objc deinit +} +@objc public protocol STPAddCardViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc func addCardViewControllerDidCancel(_ addCardViewController: Stripe.STPAddCardViewController) + @objc func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, completion: @escaping Stripe.STPErrorBlock) + @available(*, deprecated, renamed: "addCardViewController(_:didCreatePaymentMethod:completion:)", message: "Use addCardViewController(_:didCreatePaymentMethod:completion:) instead and migrate your integration to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read") + @objc optional func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreateToken token: Stripe.STPToken, completion: (Swift.Error?) -> Swift.Void) + @available(*, deprecated, renamed: "addCardViewController(_:didCreatePaymentMethod:completion:)", message: "Use addCardViewController(_:didCreatePaymentMethod:completion:) instead and migrate your integration to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read") + @objc optional func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreateSource source: Stripe.STPSource, completion: (Swift.Error?) -> Swift.Void) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentOptionsViewController : Stripe.STPCoreViewController, Stripe.STPAddCardViewControllerDelegate { + @objc(initWithPaymentContext:) convenience public init(paymentContext: Stripe.STPPaymentContext) + @objc(initWithConfiguration:theme:customerContext:delegate:) convenience public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme, customerContext: Stripe.STPCustomerContext, delegate: Stripe.STPPaymentOptionsViewControllerDelegate) + @objc(initWithConfiguration:theme:apiAdapter:delegate:) public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme, apiAdapter: Stripe.STPBackendAPIAdapter, delegate: Stripe.STPPaymentOptionsViewControllerDelegate) + @objc public var prefilledInformation: Stripe.STPUserInformation? + @objc public var defaultPaymentMethod: Swift.String? + @objc public var paymentOptionsViewControllerFooterView: UIKit.UIView? + @objc public var addCardViewControllerFooterView: UIKit.UIView? + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc(dismissWithCompletion:) public func dismiss(withCompletion completion: StripeApplePay.STPVoidBlock?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required public init(theme: Stripe.STPTheme?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public func viewDidLayoutSubviews() + @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool) + @objc public func addCardViewControllerDidCancel(_ addCardViewController: Stripe.STPAddCardViewController) + @objc public func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, completion: @escaping Stripe.STPErrorBlock) + @objc deinit +} +@objc public protocol STPPaymentOptionsViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didFailToLoadWithError error: Swift.Error) + @objc func paymentOptionsViewControllerDidFinish(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc func paymentOptionsViewControllerDidCancel(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc(paymentOptionsViewController:didSelectPaymentOption:) optional func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didSelect paymentOption: Stripe.STPPaymentOption) +} +@frozen public enum PaymentSheetResult { + case completed + case canceled + case failed(error: Swift.Error) +} +@_hasMissingDesignatedInitializers public class PaymentSheet { + final public let configuration: Stripe.PaymentSheet.Configuration + public var mostRecentError: Swift.Error? { + get + } + convenience public init(paymentIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration) + convenience public init(setupIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public func present(from presentingViewController: UIKit.UIViewController, completion: @escaping (Stripe.PaymentSheetResult) -> ()) + @objc deinit +} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +@objc(STPErrorCode) public enum _stpobjc_STPErrorCode : Swift.Int { + @objc(STPConnectionError) case connectionError = 40 + @objc(STPInvalidRequestError) case invalidRequestError = 50 + @objc(STPAuthenticationError) case authenticationError = 51 + @objc(STPAPIError) case apiError = 60 + @objc(STPCardError) case cardError = 70 + @objc(STPCancellationError) case cancellationError = 80 + @objc(STPEphemeralKeyDecodingError) case ephemeralKeyDecodingError = 1000 + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @available(swift, deprecated: 0.0.1, renamed: "STPError") +@objc(STPError) public class _stpobjc_STPError : ObjectiveC.NSObject { + @objc public static let stripeDomain: Swift.String + @objc public static let errorMessageKey: Swift.String + @objc public static let hintKey: Swift.String + @objc public static let cardErrorCodeKey: Swift.String + @objc public static let errorParameterKey: Swift.String + @objc public static let stripeErrorCodeKey: Swift.String + @objc public static let stripeErrorTypeKey: Swift.String + @objc public static let stripeDeclineCodeKey: Swift.String + @objc public static let invalidNumber: Swift.String + @objc public static let invalidExpMonth: Swift.String + @objc public static let invalidExpYear: Swift.String + @objc public static let invalidCVC: Swift.String + @objc public static let incorrectNumber: Swift.String + @objc public static let expiredCard: Swift.String + @objc public static let cardDeclined: Swift.String + @objc public static let processingError: Swift.String + @objc public static let incorrectCVC: Swift.String + @objc public static let incorrectZip: Swift.String + @objc deinit + @objc override dynamic public init() +} +@objc extension NSError { + @available(swift, deprecated: 0.0.1, renamed: "stp_error(fromStripeResponse:)") + @objc(stp_errorFromStripeResponse:) public static func _stpobjc_stp_error(fromStripeResponse jsonDictionary: [Swift.AnyHashable : Any]?) -> Foundation.NSError? +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionOXXODisplayDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let expiresAfter: Foundation.Date + @objc final public let hostedVoucherURL: Foundation.URL + @objc final public let number: Swift.String + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc deinit + @objc override dynamic public init() +} +extension StripeAPI { + @available(*, deprecated, message: "Use `paymentRequestWithMerchantIdentifier:country:currency:` instead.") + public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String) -> PassKit.PKPaymentRequest +} +@available(*, deprecated, message: "Use StripeAPI.defaultPublishableKey instead. (StripeAPI.defaultPublishableKey = \"pk_12345_xyzabc\")") +public func setDefaultPublishableKey(_ publishableKey: Swift.String) +@available(*, deprecated, message: "Use StripeAPI.advancedFraudSignalsEnabled instead.") +public var advancedFraudSignalsEnabled: Swift.Bool { + get + set +} +@available(*, deprecated, message: "Use StripeAPI.jcbPaymentNetworkSupported instead.") +public var jcbPaymentNetworkSupported: Swift.Bool { + get + set +} +@available(*, deprecated, message: "Use StripeAPI.additionalEnabledApplePayNetworks instead.") +public var additionalEnabledApplePayNetworks: [PassKit.PKPaymentNetwork] { + get + set +} +@available(*, deprecated, message: "Use StripeAPI.canSubmitPaymentRequest(_:) instead.") +public func canSubmitPaymentRequest(_ paymentRequest: PassKit.PKPaymentRequest) -> Swift.Bool +@available(*, deprecated, message: "Use StripeAPI.deviceSupportsApplePay() instead.") +public func deviceSupportsApplePay() -> Swift.Bool +@available(*, deprecated, message: "Use StripeAPI.paymentRequest(withMerchantIdentifier:country:currency:) instead.") +public func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String, country countryCode: Swift.String, currency currencyCode: Swift.String) -> PassKit.PKPaymentRequest +@available(*, deprecated, message: "Use StripeAPI.handleURLCallback(with:) instead.") +public func handleURLCallback(with url: Foundation.URL) -> Swift.Bool +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBoleto : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let taxID: Swift.String + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension View { + public func paymentSheet(isPresented: SwiftUI.Binding, paymentSheet: Stripe.PaymentSheet, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void) -> some SwiftUI.View + + public func paymentOptionsSheet(isPresented: SwiftUI.Binding, paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onSheetDismissed: (() -> Swift.Void)?) -> some SwiftUI.View + + public func paymentConfirmationSheet(isConfirming: SwiftUI.Binding, paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void) -> some SwiftUI.View + + @available(*, deprecated, renamed: "paymentConfirmationSheet(isConfirming:paymentSheetFlowController:onCompletion:)") + public func paymentConfirmationSheet(isConfirmingPayment: SwiftUI.Binding, paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void) -> some SwiftUI.View + +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension PaymentSheet { + public struct PaymentButton : SwiftUI.View where Content : SwiftUI.View { + public init(paymentSheet: Stripe.PaymentSheet, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void, @SwiftUI.ViewBuilder content: () -> Content) + public var body: some SwiftUI.View { + get + } + public typealias Body = @_opaqueReturnTypeOf("$s6Stripe12PaymentSheetC0B6ButtonV4bodyQrvp", 0) 🦸 + } +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension PaymentSheet.FlowController { + public struct PaymentOptionsButton : SwiftUI.View where Content : SwiftUI.View { + public init(paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onSheetDismissed: @escaping () -> Swift.Void, @SwiftUI.ViewBuilder content: () -> Content) + public var body: some SwiftUI.View { + get + } + public typealias Body = @_opaqueReturnTypeOf("$s6Stripe12PaymentSheetC14FlowControllerC0B13OptionsButtonV4bodyQrvp", 0) 🦸 + } + @available(*, deprecated, renamed: "ConfirmButton") + public typealias ConfirmPaymentButton = Stripe.PaymentSheet.FlowController.ConfirmButton + public struct ConfirmButton : SwiftUI.View where Content : SwiftUI.View { + public init(paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void, @SwiftUI.ViewBuilder content: () -> Content) + public var body: some SwiftUI.View { + get + } + public typealias Body = @_opaqueReturnTypeOf("$s6Stripe12PaymentSheetC14FlowControllerC13ConfirmButtonV4bodyQrvp", 0) 🦸 + } +} +@objc public enum STPCardFundingType : Swift.Int { + case debit + case credit + case prepaid + case other + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPCard : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPPaymentOption, Stripe.STPSourceProtocol { + @objc public var last4: Swift.String { + get + } + @objc public var dynamicLast4: Swift.String? { + get + } + @objc public var isApplePayCard: Swift.Bool { + @objc get + } + @objc public var expMonth: Swift.Int { + get + } + @objc public var expYear: Swift.Int { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var address: Stripe.STPAddress? { + get + } + @objc public var brand: Stripe.STPCardBrand { + get + } + @objc public var funding: Stripe.STPCardFundingType { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var currency: Swift.String? { + get + } + @objc(stringFromBrand:) public class func string(from brand: Stripe.STPCardBrand) -> Swift.String + @objc(brandFromString:) public class func brand(from string: Swift.String) -> Stripe.STPCardBrand + @available(*, deprecated, message: "You cannot directly instantiate an STPCard. You should only use one that has been returned from an STPAPIClient callback.") + @objc(initWithID:brand:last4:expMonth:expYear:funding:) public init(id cardID: Swift.String, brand: Stripe.STPCardBrand, last4: Swift.String, expMonth: Swift.Int, expYear: Swift.Int, funding: Stripe.STPCardFundingType) + @objc(fundingFromString:) public class func funding(from string: Swift.String) -> Stripe.STPCardFundingType + @objc public var stripeID: Swift.String + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ other: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @available(*, deprecated, message: "Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @available(*, deprecated, message: "Use stripeID (defined in STPSourceProtocol)") + @objc public var cardId: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.line1") + @objc public var addressLine1: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.line2") + @objc public var addressLine2: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.city") + @objc public var addressCity: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.state") + @objc public var addressState: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.postalCode") + @objc public var addressZip: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.country") + @objc public var addressCountry: Swift.String? { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodCardParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc convenience public init(cardSourceParams: Stripe.STPCardParams) + @objc required override dynamic public init() + @objc public var number: Swift.String? + @objc public var expMonth: Foundation.NSNumber? + @objc public var expYear: Foundation.NSNumber? + @objc public var token: Swift.String? + @objc public var cvc: Swift.String? + @objc public var last4: Swift.String? { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public func isEqual(_ other: Any?) -> Swift.Bool + @objc deinit +} +@objc public class STPPushProvisioningDetailsParams : ObjectiveC.NSObject { + @objc public var cardId: Swift.String { + get + } + @objc public var certificates: [Foundation.Data] { + get + } + @objc public var nonce: Foundation.Data { + get + } + @objc public var nonceSignature: Foundation.Data { + get + } + @objc public var certificatesBase64: [Swift.String] { + @objc get + } + @objc public var nonceHex: Swift.String { + @objc get + } + @objc public var nonceSignatureHex: Swift.String { + @objc get + } + @objc required public init(cardId: Swift.String, certificates: [Foundation.Data], nonce: Foundation.Data, nonceSignature: Foundation.Data) + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountAddress : ObjectiveC.NSObject { + @objc public var city: Swift.String? + @objc public var country: Swift.String? + @objc public var line1: Swift.String? + @objc public var line2: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var state: Swift.String? + @objc public var town: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountAddress : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPConfirmAlipayOptions : ObjectiveC.NSObject { + @objc public var appBundleID: Swift.String { + @objc get + } + @objc public var appVersionKey: Swift.String { + @objc get + } + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConfirmAlipayOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPPaymentMethodCardWalletType : Swift.Int { + case amexExpressCheckout + case applePay + case googlePay + case masterpass + case samsungPay + case visaCheckout + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardWallet : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var type: Stripe.STPPaymentMethodCardWalletType { + get + } + @objc public var masterpass: Stripe.STPPaymentMethodCardWalletMasterpass? { + get + } + @objc public var visaCheckout: Stripe.STPPaymentMethodCardWalletVisaCheckout? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +extension PaymentSheet { + @available(iOS 13.0, *) + public enum UserInterfaceStyle : Swift.Int { + case automatic + case alwaysLight + case alwaysDark + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } + } + public enum SavePaymentMethodOptInBehavior { + case automatic + case requiresOptIn + case requiresOptOut + public static func == (a: Stripe.PaymentSheet.SavePaymentMethodOptInBehavior, b: Stripe.PaymentSheet.SavePaymentMethodOptInBehavior) -> Swift.Bool + public var hashValue: Swift.Int { + get + } + public func hash(into hasher: inout Swift.Hasher) + } + public struct Configuration { + public var allowsDelayedPaymentMethods: Swift.Bool + public var apiClient: StripeCore.STPAPIClient + public var applePay: Stripe.PaymentSheet.ApplePayConfiguration? + public var primaryButtonColor: UIKit.UIColor + @available(iOS 13.0, *) + public var style: Stripe.PaymentSheet.UserInterfaceStyle { + get + set + } + public var customer: Stripe.PaymentSheet.CustomerConfiguration? + public var merchantDisplayName: Swift.String + public var returnURL: Swift.String? + public init() + public var defaultBillingDetails: Stripe.PaymentSheet.BillingDetails + public var savePaymentMethodOptInBehavior: Stripe.PaymentSheet.SavePaymentMethodOptInBehavior + } + public struct CustomerConfiguration { + public let id: Swift.String + public let ephemeralKeySecret: Swift.String + public init(id: Swift.String, ephemeralKeySecret: Swift.String) + } + public struct ApplePayConfiguration { + public let merchantId: Swift.String + public let merchantCountryCode: Swift.String + public init(merchantId: Swift.String, merchantCountryCode: Swift.String) + } + public struct Address { + public var city: Swift.String? + public var country: Swift.String? + public var line1: Swift.String? + public var line2: Swift.String? + public var postalCode: Swift.String? + public var state: Swift.String? + public init(city: Swift.String? = nil, country: Swift.String? = nil, line1: Swift.String? = nil, line2: Swift.String? = nil, postalCode: Swift.String? = nil, state: Swift.String? = nil) + } + public struct BillingDetails { + public var address: Stripe.PaymentSheet.Address + public var email: Swift.String? + public var name: Swift.String? + public var phone: Swift.String? + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodLink : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPBackendAPIAdapter : ObjectiveC.NSObjectProtocol { + @objc func retrieveCustomer(_ completion: Stripe.STPCustomerCompletionBlock?) + @objc func listPaymentMethodsForCustomer(completion: Stripe.STPPaymentMethodsCompletionBlock?) + @objc func attachPaymentMethod(toCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc optional func detachPaymentMethod(fromCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc optional func updateCustomer(withShippingAddress shipping: Stripe.STPAddress, completion: Stripe.STPErrorBlock?) +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntentShippingDetailsAddress : ObjectiveC.NSObject { + @objc final public let city: Swift.String? + @objc final public let country: Swift.String? + @objc final public let line1: Swift.String? + @objc final public let line2: Swift.String? + @objc final public let postalCode: Swift.String? + @objc final public let state: Swift.String? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetailsAddress : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntentShippingDetails : ObjectiveC.NSObject { + @objc final public let address: Stripe.STPPaymentIntentShippingDetailsAddress? + @objc final public let name: Swift.String? + @objc final public let carrier: Swift.String? + @objc final public let phone: Swift.String? + @objc final public let trackingNumber: Swift.String? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetails : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc public enum STPCardBrand : Swift.Int { + case visa + case amex + case mastercard + case discover + case JCB + case dinersClub + case unionPay + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @available(*, deprecated, message: "STPStringFromCardBrand has been replaced with STPCardBrandUtilities.stringFrom(brand)") +@objc public class STPStringFromCardBrand : ObjectiveC.NSObject { + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPCardBrandUtilities : ObjectiveC.NSObject { + @objc(stringFromCardBrand:) public static func stringFrom(_ brand: Stripe.STPCardBrand) -> Swift.String? + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPCustomerEphemeralKeyProvider : ObjectiveC.NSObjectProtocol { + @objc(createCustomerKeyWithAPIVersion:completion:) func createCustomerKey(withAPIVersion apiVersion: Swift.String, completion: @escaping Stripe.STPJSONResponseCompletionBlock) +} +@objc public protocol STPIssuingCardEphemeralKeyProvider : ObjectiveC.NSObjectProtocol { + @objc(createIssuingCardKeyWithAPIVersion:completion:) func createIssuingCardKey(withAPIVersion apiVersion: Swift.String, completion: @escaping Stripe.STPJSONResponseCompletionBlock) +} +@available(*, deprecated, message: "use `STPCustomerEphemeralKeyProvider` or `STPIssuingCardEphemeralKeyProvider` depending on the type of key that will be fetched.") +@objc public protocol STPEphemeralKeyProvider : Stripe.STPCustomerEphemeralKeyProvider { +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBacsDebit : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var sortCode: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPBankAccountStatus : Swift.Int { + case new + case validated + case verified + case verificationFailed + case errored + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPBankAccount : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPSourceProtocol { + @objc public var routingNumber: Swift.String? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var currency: Swift.String? { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var bankName: Swift.String? { + get + } + @objc public var accountHolderName: Swift.String? { + get + } + @objc public var accountHolderType: Stripe.STPBankAccountHolderType { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var status: Stripe.STPBankAccountStatus { + get + } + @available(*, deprecated, message: "Use stripeID (defined in STPSourceProtocol)") + @objc public var bankAccountId: Swift.String? { + @objc get + } + @objc public var stripeID: Swift.String { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ bankAccount: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodSEPADebitParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var iban: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodParams : ObjectiveC.NSObject, Stripe.STPFormEncodable, Stripe.STPPaymentOption { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var type: Stripe.STPPaymentMethodType { + @objc get + @objc set(newType) + } + @objc public var rawTypeString: Swift.String? + @objc public var billingDetails: Stripe.STPPaymentMethodBillingDetails? + @objc public var card: Stripe.STPPaymentMethodCardParams? + @objc public var alipay: Stripe.STPPaymentMethodAlipayParams? + @objc public var iDEAL: Stripe.STPPaymentMethodiDEALParams? + @objc public var fpx: Stripe.STPPaymentMethodFPXParams? + @objc public var sepaDebit: Stripe.STPPaymentMethodSEPADebitParams? + @objc public var bacsDebit: Stripe.STPPaymentMethodBacsDebitParams? + @objc public var auBECSDebit: Stripe.STPPaymentMethodAUBECSDebitParams? + @objc public var giropay: Stripe.STPPaymentMethodGiropayParams? + @objc public var payPal: Stripe.STPPaymentMethodPayPalParams? + @objc public var przelewy24: Stripe.STPPaymentMethodPrzelewy24Params? + @objc public var eps: Stripe.STPPaymentMethodEPSParams? + @objc public var bancontact: Stripe.STPPaymentMethodBancontactParams? + @objc public var netBanking: Stripe.STPPaymentMethodNetBankingParams? + @objc public var oxxo: Stripe.STPPaymentMethodOXXOParams? + @objc public var sofort: Stripe.STPPaymentMethodSofortParams? + @objc public var upi: Stripe.STPPaymentMethodUPIParams? + @objc public var grabPay: Stripe.STPPaymentMethodGrabPayParams? + @objc public var afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpayParams? + @objc public var blik: Stripe.STPPaymentMethodBLIKParams? + @objc public var boleto: Stripe.STPPaymentMethodBoletoParams? + @objc public var link: Stripe.STPPaymentMethodLinkParams? + @objc public var klarna: Stripe.STPPaymentMethodKlarnaParams? + @objc public var metadata: [Swift.String : Swift.String]? + @objc convenience public init(card: Stripe.STPPaymentMethodCardParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(iDEAL: Stripe.STPPaymentMethodiDEALParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(fpx: Stripe.STPPaymentMethodFPXParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(sepaDebit: Stripe.STPPaymentMethodSEPADebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(bacsDebit: Stripe.STPPaymentMethodBacsDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(aubecsDebit auBECSDebit: Stripe.STPPaymentMethodAUBECSDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(giropay: Stripe.STPPaymentMethodGiropayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(eps: Stripe.STPPaymentMethodEPSParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(przelewy24: Stripe.STPPaymentMethodPrzelewy24Params, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(bancontact: Stripe.STPPaymentMethodBancontactParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(netBanking: Stripe.STPPaymentMethodNetBankingParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(grabPay: Stripe.STPPaymentMethodGrabPayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(oxxo: Stripe.STPPaymentMethodOXXOParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(sofort: Stripe.STPPaymentMethodSofortParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(upi: Stripe.STPPaymentMethodUPIParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(alipay: Stripe.STPPaymentMethodAlipayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(payPal: Stripe.STPPaymentMethodPayPalParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(blik: Stripe.STPPaymentMethodBLIKParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(boleto: Stripe.STPPaymentMethodBoletoParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(klarna: Stripe.STPPaymentMethodKlarnaParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init?(singleUsePaymentMethod paymentMethod: Stripe.STPPaymentMethod) + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +@objc extension STPPaymentMethodParams { + @objc(paramsWithCard:billingDetails:metadata:) dynamic public class func paramsWith(card: Stripe.STPPaymentMethodCardParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithiDEAL:billingDetails:metadata:) dynamic public class func paramsWith(iDEAL: Stripe.STPPaymentMethodiDEALParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithFPX:billingDetails:metadata:) dynamic public class func paramsWith(fpx: Stripe.STPPaymentMethodFPXParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithSEPADebit:billingDetails:metadata:) dynamic public class func paramsWith(sepaDebit: Stripe.STPPaymentMethodSEPADebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithBacsDebit:billingDetails:metadata:) dynamic public class func paramsWith(bacsDebit: Stripe.STPPaymentMethodBacsDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithAUBECSDebit:billingDetails:metadata:) dynamic public class func paramsWith(auBECSDebit: Stripe.STPPaymentMethodAUBECSDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithGiropay:billingDetails:metadata:) dynamic public class func paramsWith(giropay: Stripe.STPPaymentMethodGiropayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithEPS:billingDetails:metadata:) dynamic public class func paramsWith(eps: Stripe.STPPaymentMethodEPSParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithPrzelewy24:billingDetails:metadata:) dynamic public class func paramsWith(przelewy24: Stripe.STPPaymentMethodPrzelewy24Params, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithBancontact:billingDetails:metadata:) dynamic public class func paramsWith(bancontact: Stripe.STPPaymentMethodBancontactParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithNetBanking:billingDetails:metadata:) dynamic public class func paramsWith(netBanking: Stripe.STPPaymentMethodNetBankingParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithOXXO:billingDetails:metadata:) dynamic public class func paramsWith(oxxo: Stripe.STPPaymentMethodOXXOParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithGrabPay:billingDetails:metadata:) dynamic public class func paramsWith(grabPay: Stripe.STPPaymentMethodGrabPayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithSofort:billingDetails:metadata:) dynamic public class func paramsWith(sofort: Stripe.STPPaymentMethodSofortParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithUPI:billingDetails:metadata:) dynamic public class func paramsWith(upi: Stripe.STPPaymentMethodUPIParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithAlipay:billingDetails:metadata:) dynamic public class func paramsWith(alipay: Stripe.STPPaymentMethodAlipayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithPayPal:billingDetails:metadata:) dynamic public class func paramsWith(payPal: Stripe.STPPaymentMethodPayPalParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithAfterpayClearpay:billingDetails:metadata:) dynamic public class func paramsWith(afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithBLIK:billingDetails:metadata:) dynamic public class func paramsWith(blik: Stripe.STPPaymentMethodBLIKParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithKlarna:billingDetails:metadata:) dynamic public class func paramsWith(klarna: Stripe.STPPaymentMethodKlarnaParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodPayPalParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc public protocol STPSourceProtocol : ObjectiveC.NSObjectProtocol { + @objc var stripeID: Swift.String { get } +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, deprecated, renamed: "STPIntentAction", message: "Use `STPIntentAction` instead.") +@objc final public class STPPaymentIntentAction : Stripe.STPIntentAction { + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodGrabPay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPFormView : UIKit.UIView { + @objc override dynamic public var canResignFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func resignFirstResponder() -> Swift.Bool + @objc override dynamic public var isFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public var canBecomeFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func becomeFirstResponder() -> Swift.Bool + @objc override dynamic public var isUserInteractionEnabled: Swift.Bool { + @objc get + @objc set + } + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodPayPal : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodSofortParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var country: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc public enum STPMandateCustomerAcceptanceType : Swift.Int { + case online + case offline + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPMandateCustomerAcceptanceParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var type: Stripe.STPMandateCustomerAcceptanceType + @objc public var onlineParams: Stripe.STPMandateOnlineParams? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc required override dynamic public init() + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public class func rootObjectName() -> Swift.String? + @objc deinit +} +public enum PaymentSheetError : Swift.Error { + case unknown(debugDescription: Swift.String) + public var localizedDescription: Swift.String { + get + } +} +extension UINavigationBar { + @available(*, deprecated, message: "Use the `stp_theme` property instead") + @objc dynamic public func stp_setTheme(_ theme: Stripe.STPTheme) + @objc dynamic public var stp_theme: Stripe.STPTheme? { + @objc get + @objc set(theme) + } +} +@objc public protocol STPAUBECSDebitFormViewDelegate : ObjectiveC.NSObjectProtocol { + @objc func auBECSDebitForm(_ form: Stripe.STPAUBECSDebitFormView, didChangeToStateComplete complete: Swift.Bool) +} +@objc @_inheritsConvenienceInitializers public class STPAUBECSDebitFormView : Stripe.STPMultiFormTextField, UIKit.UITextViewDelegate { + @objc(initWithCompanyName:) required public init(companyName: Swift.String) + @objc public var formBackgroundColor: UIKit.UIColor { + @objc get + @objc set + } + @objc weak public var becsDebitFormDelegate: Stripe.STPAUBECSDebitFormViewDelegate? + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? { + @objc get + } + @objc override dynamic public func systemLayoutSizeFitting(_ targetSize: CoreGraphics.CGSize, withHorizontalFittingPriority horizontalFittingPriority: UIKit.UILayoutPriority, verticalFittingPriority: UIKit.UILayoutPriority) -> CoreGraphics.CGSize + @objc public func textView(_ textView: UIKit.UITextView, shouldInteractWith URL: Foundation.URL, in characterRange: Foundation.NSRange, interaction: UIKit.UITextItemInteraction) -> Swift.Bool + @objc override public var formFont: UIKit.UIFont { + @objc get + @objc set + } + @objc override public var formTextColor: UIKit.UIColor { + @objc get + @objc set + } + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAfterpayClearpayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public static func rootObjectName() -> Swift.String? + @objc public static func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodAfterpayClearpay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPSetupIntent : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let stripeID: Swift.String + @objc final public let clientSecret: Swift.String + @objc final public let created: Foundation.Date + @objc final public let customerID: Swift.String? + @objc final public let stripeDescription: Swift.String? + @objc final public let livemode: Swift.Bool + @objc final public let nextAction: Stripe.STPIntentAction? + @objc final public let paymentMethodID: Swift.String? + @objc final public let paymentMethodTypes: [Foundation.NSNumber] + @objc final public let status: Stripe.STPSetupIntentStatus + @objc final public let usage: Stripe.STPSetupIntentUsage + @objc final public let lastSetupError: Stripe.STPSetupIntentLastSetupError? + @available(*, deprecated, message: "Metadata is not returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPBillingAddressFields : Swift.UInt { + case none + case postalCode + case full + case name + @available(*, deprecated, message: "Use STPBillingAddressFields.postalCode instead") + case zip + public typealias RawValue = Swift.UInt + public init?(rawValue: Swift.UInt) + public var rawValue: Swift.UInt { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPAddress : ObjectiveC.NSObject { + @objc public var name: Swift.String? + @objc public var line1: Swift.String? + @objc public var line2: Swift.String? + @objc public var city: Swift.String? + @objc public var state: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var country: Swift.String? + @objc public var phone: Swift.String? + @objc public var email: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc(shippingInfoForChargeWithAddress:shippingMethod:) public class func shippingInfoForCharge(with address: Stripe.STPAddress?, shippingMethod method: PassKit.PKShippingMethod?) -> [Swift.AnyHashable : Any]? + @objc override dynamic public init() + @objc public init(paymentMethodBillingDetails billingDetails: Stripe.STPPaymentMethodBillingDetails) + @objc(initWithPKContact:) public init(pkContact contact: PassKit.PKContact) + @objc(PKContactValue) public func pkContactValue() -> PassKit.PKContact + @objc(initWithCNContact:) public init(cnContact contact: Contacts.CNContact) + @objc public func containsRequiredFields(_ requiredFields: Stripe.STPBillingAddressFields) -> Swift.Bool + @objc(containsContentForBillingAddressFields:) public func containsContent(for desiredFields: Stripe.STPBillingAddressFields) -> Swift.Bool + @objc public func containsRequiredShippingAddressFields(_ requiredFields: Swift.Set?) -> Swift.Bool + @objc public func containsContent(forShippingAddressFields desiredFields: Swift.Set?) -> Swift.Bool + @objc(applePayContactFieldsFromBillingAddressFields:) public class func applePayContactFields(from billingAddressFields: Stripe.STPBillingAddressFields) -> Swift.Set + @objc public class func pkContactFields(fromStripeContactFields contactFields: Swift.Set?) -> Swift.Set? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc deinit +} +extension STPAddress : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +extension STPAddress : Stripe.STPFormEncodable { + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] +} +extension STPAddress : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodAUBECSDebit : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var bsbNumber: Swift.String { + get + } + @objc public var fingerprint: Swift.String { + get + } + @objc public var last4: Swift.String { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAlipayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc public enum STPCardFormViewStyle : Swift.Int { + case standard + case borderless + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public protocol STPCardFormViewDelegate : ObjectiveC.NSObjectProtocol { + @objc func cardFormView(_ form: Stripe.STPCardFormView, didChangeToStateComplete complete: Swift.Bool) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPCardFormView : Stripe.STPFormView { + @objc weak public var delegate: Stripe.STPCardFormViewDelegate? + @objc override dynamic public var backgroundColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc public var disabledBackgroundColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc public var cardParams: Stripe.STPPaymentMethodParams? { + @objc get + } + @objc override dynamic public var isUserInteractionEnabled: Swift.Bool { + @objc get + @objc set + } + @objc convenience public init(style: Stripe.STPCardFormViewStyle = .standard) + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPCustomer : ObjectiveC.NSObject { + @objc final public let stripeID: Swift.String + @objc public var defaultSource: Stripe.STPSourceProtocol? { + get + } + @objc public var sources: [Stripe.STPSourceProtocol] { + get + } + @objc public var email: Swift.String? { + get + } + @objc public var shippingAddress: Stripe.STPAddress? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc convenience public init(stripeID: Swift.String, defaultSource: Stripe.STPSourceProtocol?, sources: [Stripe.STPSourceProtocol]) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc(updateSourcesFilteringApplePay:) public func updateSources(filteringApplePay: Swift.Bool) + @objc deinit +} +extension STPCustomer : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_hasMissingDesignatedInitializers public class STPCustomerDeserializer : ObjectiveC.NSObject { + @objc final public let customer: Stripe.STPCustomer? + @objc final public let error: Swift.Error? + @objc convenience public init(data: Foundation.Data?, urlResponse: Foundation.URLResponse?, error: Swift.Error?) + @objc convenience public init(jsonResponse json: Any?) + @objc deinit + @objc override dynamic public init() +} +@objc public class STPContactField : ObjectiveC.NSObject, Swift.RawRepresentable { + final public let rawValue: Swift.String + required public init(rawValue: Swift.String) + @objc public static let postalAddress: Stripe.STPContactField + @objc public static let emailAddress: Stripe.STPContactField + @objc public static let phoneNumber: Stripe.STPContactField + @objc public static let name: Stripe.STPContactField + @objc override dynamic public init() + public typealias RawValue = Swift.String + @objc deinit +} +extension PaymentSheet { + @_hasMissingDesignatedInitializers @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public class FlowController { + public struct PaymentOptionDisplayData { + public let image: UIKit.UIImage + public let label: Swift.String + } + final public let configuration: Stripe.PaymentSheet.Configuration + public var paymentOption: Stripe.PaymentSheet.FlowController.PaymentOptionDisplayData? { + get + } + public static func create(paymentIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration, completion: @escaping (Swift.Result) -> Swift.Void) + public static func create(setupIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration, completion: @escaping (Swift.Result) -> Swift.Void) + public func presentPaymentOptions(from presentingViewController: UIKit.UIViewController, completion: (() -> ())? = nil) + public func confirm(from presentingViewController: UIKit.UIViewController, completion: @escaping (Stripe.PaymentSheetResult) -> ()) + @objc deinit + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodKlarna : ObjectiveC.NSObject { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension STPCardFormView { + public struct Representable : SwiftUI.UIViewRepresentable { + public init(_ style: Stripe.STPCardFormViewStyle = .standard, paymentMethodParams: SwiftUI.Binding, isComplete: SwiftUI.Binding) + public func makeCoordinator() -> Stripe.STPCardFormView.Coordinator + public func makeUIView(context: Stripe.STPCardFormView.Representable.Context) -> Stripe.STPCardFormView + public func updateUIView(_ cardFormView: Stripe.STPCardFormView, context: Stripe.STPCardFormView.Representable.Context) + public typealias UIViewType = Stripe.STPCardFormView + public typealias Coordinator = Stripe.STPCardFormView.Coordinator + public typealias Body = Swift.Never + } + @objc @_hasMissingDesignatedInitializers public class Coordinator : ObjectiveC.NSObject, Stripe.STPCardFormViewDelegate { + @objc public func cardFormView(_ form: Stripe.STPCardFormView, didChangeToStateComplete complete: Swift.Bool) + @objc deinit + @objc override dynamic public init() + } +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSTextFieldCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSTextFieldCustomization + @objc public var borderWidth: CoreGraphics.CGFloat { + @objc get + @objc set(borderWidth) + } + @objc public var borderColor: UIKit.UIColor { + @objc get + @objc set(borderColor) + } + @objc public var cornerRadius: CoreGraphics.CGFloat { + @objc get + @objc set(cornerRadius) + } + @objc public var keyboardAppearance: UIKit.UIKeyboardAppearance { + @objc get + @objc set(keyboardAppearance) + } + @objc public var placeholderTextColor: UIKit.UIColor { + @objc get + @objc set(placeholderTextColor) + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set(textColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodNetBankingParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var bank: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardPresent : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceReceiver : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var address: Swift.String? { + get + } + @objc public var amountCharged: Foundation.NSNumber? { + get + } + @objc public var amountReceived: Foundation.NSNumber? { + get + } + @objc public var amountReturned: Foundation.NSNumber? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodPrzelewy24Params : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodKlarnaParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public static func rootObjectName() -> Swift.String? + @objc public static func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBancontactParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, unavailable, renamed: "STPIntentActionRedirectToURL", message: "Use `STPIntentActionRedirectToURL` instead.") +@objc final public class STPPaymentIntentSourceActionAuthorizeWithURL : Stripe.STPIntentActionRedirectToURL { + @objc deinit +} +@objc public enum STPSetupIntentLastSetupErrorType : Swift.UInt { + case unknown + @objc(STPSetupIntentLastSetupErrorTypeAPIConnection) case apiConnection + case API + case authentication + case card + case idempotency + case invalidRequest + case rateLimit + public typealias RawValue = Swift.UInt + public init?(rawValue: Swift.UInt) + public var rawValue: Swift.UInt { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSetupIntentLastSetupError : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var code: Swift.String? { + get + } + @objc public var declineCode: Swift.String? { + get + } + @objc public var docURL: Swift.String? { + get + } + @objc public var message: Swift.String? { + get + } + @objc public var param: Swift.String? { + get + } + @objc public var paymentMethod: Stripe.STPPaymentMethod? { + get + } + @objc public var type: Stripe.STPSetupIntentLastSetupErrorType { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc extension STPSetupIntentLastSetupError { + @objc public static let CodeAuthenticationFailure: Swift.String +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodPrzelewy24 : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCard : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var brand: Stripe.STPCardBrand { + get + } + @objc public var checks: Stripe.STPPaymentMethodCardChecks? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var expMonth: Swift.Int { + get + } + @objc public var expYear: Swift.Int { + get + } + @objc public var funding: Swift.String? { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var networks: Stripe.STPPaymentMethodCardNetworks? { + get + } + @objc public var threeDSecureUsage: Stripe.STPPaymentMethodThreeDSecureUsage? { + get + } + @objc public var wallet: Stripe.STPPaymentMethodCardWallet? { + get + } + @objc(stringFromBrand:) public class func string(from brand: Stripe.STPCardBrand) -> Swift.String + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public enum STPPaymentIntentLastPaymentErrorType : Swift.Int { + case unknown + @objc(STPPaymentIntentLastPaymentErrorTypeAPIConnection) case apiConnection + @objc(STPPaymentIntentLastPaymentErrorTypeAPI) case api + case authentication + case card + case idempotency + case invalidRequest + case rateLimit + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntentLastPaymentError : ObjectiveC.NSObject { + @objc public static let ErrorCodeAuthenticationFailure: Swift.String + @objc final public let code: Swift.String? + @objc final public let declineCode: Swift.String? + @objc final public let docURL: Swift.String? + @objc final public let message: Swift.String? + @objc final public let param: Swift.String? + @objc final public let paymentMethod: Stripe.STPPaymentMethod? + @objc final public let type: Stripe.STPPaymentIntentLastPaymentErrorType + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentLastPaymentError : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc public class STPPaymentResult : ObjectiveC.NSObject { + @objc public var paymentMethod: Stripe.STPPaymentMethod? { + get + } + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? { + get + } + @objc weak public var paymentOption: Stripe.STPPaymentOption? { + @objc get + } + @objc public init(paymentOption: Stripe.STPPaymentOption?) + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionWechatPayRedirectToApp : ObjectiveC.NSObject { + @objc final public let nativeURL: Foundation.URL? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPIntentActionWechatPayRedirectToApp : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc public enum STPPaymentIntentStatus : Swift.Int { + case unknown + case requiresPaymentMethod + @available(*, deprecated, renamed: "STPPaymentIntentStatus.requiresPaymentMethod", message: "Use STPPaymentIntentStatus.requiresPaymentMethod instead") + case requiresSource + case requiresConfirmation + case requiresAction + @available(*, deprecated, renamed: "STPPaymentIntentStatus.requiresAction", message: "Use STPPaymentIntentStatus.requiresAction instead") + case requiresSourceAction + case processing + case succeeded + case requiresCapture + case canceled + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentIntentSetupFutureUsage : Swift.Int { + case unknown + case none + case onSession + case offSession + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPPaymentIntentActionType : Swift.Int { + @available(*, deprecated, renamed: "STPIntentActionType.unknown", message: "Use STPIntentActionType instead") + case unknown + @available(*, deprecated, renamed: "STPIntentActionType.redirectToURL", message: "Use STPIntentActionType instead") + case redirectToURL + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +@objc public enum STPPaymentIntentSourceActionType : Swift.Int { + case unknown + case authorizeWithURL + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodGiropay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAUBECSDebitParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var accountNumber: Swift.String? + @objc public var bsbNumber: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBLIK : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodSofort : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var country: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodUPIParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var vpa: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPCardParams : ObjectiveC.NSObject, Stripe.STPFormEncodable, Foundation.NSCopying { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc convenience public init(paymentMethodParams: Stripe.STPPaymentMethodParams) + @objc public var number: Swift.String? + @objc public func last4() -> Swift.String? + @objc public var expMonth: Swift.UInt + @objc public var expYear: Swift.UInt + @objc public var cvc: Swift.String? + @objc public var name: Swift.String? { + @objc get + @objc set + } + @objc public var address: Stripe.STPAddress { + @objc get + @objc set + } + @objc public var currency: Swift.String? + @objc public var addressLine1: Swift.String? { + @objc get + @objc set(addressLine1) + } + @objc public var addressLine2: Swift.String? { + @objc get + @objc set(addressLine2) + } + @objc public var addressCity: Swift.String? { + @objc get + @objc set(addressCity) + } + @objc public var addressState: Swift.String? { + @objc get + @objc set(addressState) + } + @objc public var addressZip: Swift.String? { + @objc get + @objc set(addressZip) + } + @objc public var addressCountry: Swift.String? { + @objc get + @objc set(addressCountry) + } + @objc override dynamic public init() + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodAlipay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPFormEncodable : ObjectiveC.NSObjectProtocol { + @objc static func rootObjectName() -> Swift.String? + @objc static func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc var additionalAPIParameters: [Swift.AnyHashable : Any] { get set } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBancontact : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethod : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPPaymentOption { + @objc public var stripeId: Swift.String { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var liveMode: Swift.Bool { + get + } + @objc public var type: Stripe.STPPaymentMethodType { + get + } + @objc public var billingDetails: Stripe.STPPaymentMethodBillingDetails? { + get + } + @objc public var alipay: Stripe.STPPaymentMethodAlipay? { + get + } + @objc public var grabPay: Stripe.STPPaymentMethodGrabPay? { + get + } + @objc public var card: Stripe.STPPaymentMethodCard? { + get + } + @objc public var iDEAL: Stripe.STPPaymentMethodiDEAL? { + get + } + @objc public var fpx: Stripe.STPPaymentMethodFPX? { + get + } + @objc public var cardPresent: Stripe.STPPaymentMethodCardPresent? { + get + } + @objc public var sepaDebit: Stripe.STPPaymentMethodSEPADebit? { + get + } + @objc public var bacsDebit: Stripe.STPPaymentMethodBacsDebit? { + get + } + @objc public var auBECSDebit: Stripe.STPPaymentMethodAUBECSDebit? { + get + } + @objc public var giropay: Stripe.STPPaymentMethodGiropay? { + get + } + @objc public var eps: Stripe.STPPaymentMethodEPS? { + get + } + @objc public var przelewy24: Stripe.STPPaymentMethodPrzelewy24? { + get + } + @objc public var bancontact: Stripe.STPPaymentMethodBancontact? { + get + } + @objc public var netBanking: Stripe.STPPaymentMethodNetBanking? { + get + } + @objc public var oxxo: Stripe.STPPaymentMethodOXXO? { + get + } + @objc public var sofort: Stripe.STPPaymentMethodSofort? { + get + } + @objc public var upi: Stripe.STPPaymentMethodUPI? { + get + } + @objc public var payPal: Stripe.STPPaymentMethodPayPal? { + get + } + @objc public var afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpay? { + get + } + @objc public var blik: Stripe.STPPaymentMethodBLIK? { + get + } + @objc public var boleto: Stripe.STPPaymentMethodBoleto? { + get + } + @objc public var link: Stripe.STPPaymentMethodLink? { + get + } + @objc public var klarna: Stripe.STPPaymentMethodKlarna? { + get + } + @objc public var customerId: Swift.String? { + get + } + @available(*, deprecated, message: "Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardWalletVisaCheckout : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var email: Swift.String? { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var billingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var shippingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodFPXParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var bank: Stripe.STPFPXBankBrand { + @objc get + @objc set(_bank) + } + @objc public var rawBankString: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objc public class STPApplePayPaymentOption : ObjectiveC.NSObject, Stripe.STPPaymentOption { + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +@objc public class STPMandateDataParams : ObjectiveC.NSObject { + @objc final public let customerAcceptance: Stripe.STPMandateCustomerAcceptanceParams + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(customerAcceptance: Stripe.STPMandateCustomerAcceptanceParams) + @objc override dynamic public init() + @objc deinit +} +extension STPMandateDataParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPFPXBankBrand : Swift.Int { + case maybank2U + case CIMB + case publicBank + case RHB + case hongLeongBank + case ambank + case affinBank + case allianceBank + case bankIslam + case bankMuamalat + case bankRakyat + case BSN + case HSBC + case KFH + case maybank2E + case ocbc + case standardChartered + case UOB + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc @_inheritsConvenienceInitializers public class STPFPXBank : ObjectiveC.NSObject { + @objc public static func stringFrom(_ brand: Stripe.STPFPXBankBrand) -> Swift.String? + @objc public static func brandFrom(_ identifier: Swift.String?) -> Stripe.STPFPXBankBrand + @objc public static func identifierFrom(_ brand: Stripe.STPFPXBankBrand) -> Swift.String? + @objc public static func bankCodeFrom(_ brand: Stripe.STPFPXBankBrand, _ isBusiness: Swift.Bool) -> Swift.String? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPCardValidationState : Swift.Int { + case valid + case invalid + case incomplete + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPCardValidator : ObjectiveC.NSObject { + @objc(sanitizedNumericStringForString:) public class func sanitizedNumericString(for string: Swift.String) -> Swift.String + @objc(sanitizedPostalStringForString:) public class func sanitizedPostalString(for string: Swift.String) -> Swift.String + @objc(stringIsNumeric:) public class func stringIsNumeric(_ string: Swift.String) -> Swift.Bool + @objc(validationStateForNumber:validatingCardBrand:) public class func validationState(forNumber cardNumber: Swift.String?, validatingCardBrand: Swift.Bool) -> Stripe.STPCardValidationState + @objc(brandForNumber:) public class func brand(forNumber cardNumber: Swift.String) -> Stripe.STPCardBrand + @objc(lengthsForCardBrand:) public class func lengths(for brand: Stripe.STPCardBrand) -> Swift.Set + @objc(maxLengthForCardBrand:) public class func maxLength(for brand: Stripe.STPCardBrand) -> Swift.Int + @objc(fragmentLengthForCardBrand:) public class func fragmentLength(for brand: Stripe.STPCardBrand) -> Swift.Int + @objc(validationStateForExpirationMonth:) public class func validationState(forExpirationMonth expirationMonth: Swift.String) -> Stripe.STPCardValidationState + @objc(validationStateForExpirationYear:inMonth:) public class func validationState(forExpirationYear expirationYear: Swift.String, inMonth expirationMonth: Swift.String) -> Stripe.STPCardValidationState + @objc(maxCVCLengthForCardBrand:) public class func maxCVCLength(for brand: Stripe.STPCardBrand) -> Swift.UInt + @objc(validationStateForCVC:cardBrand:) public class func validationState(forCVC cvc: Swift.String, cardBrand brand: Stripe.STPCardBrand) -> Stripe.STPCardValidationState + @objc(validationStateForCard:) public class func validationState(forCard card: Stripe.STPCardParams) -> Stripe.STPCardValidationState + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountCompanyParams : ObjectiveC.NSObject { + @objc public var address: Stripe.STPConnectAccountAddress! + @objc public var kanaAddress: Stripe.STPConnectAccountAddress? + @objc public var kanjiAddress: Stripe.STPConnectAccountAddress? + @objc public var directorsProvided: Foundation.NSNumber? + @objc public var name: Swift.String? + @objc public var kanaName: Swift.String? + @objc public var kanjiName: Swift.String? + @objc public var ownersProvided: Foundation.NSNumber? + @objc public var phone: Swift.String? + @objc public var taxID: Swift.String? + @objc public var taxIDRegistrar: Swift.String? + @objc public var vatID: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountCompanyParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardWalletMasterpass : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var email: Swift.String? { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var billingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var shippingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBillingDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var address: Stripe.STPPaymentMethodAddress? + @objc public var email: Swift.String? + @objc public var name: Swift.String? + @objc public var phone: Swift.String? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override required dynamic public init() + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSCustomizationSettings : ObjectiveC.NSObject { + @available(*, deprecated, message: "Use STPThreeDSCustomizationSettings() instead of STPThreeDSCustomizationSettings.defaultSettings().") + @objc public class func defaultSettings() -> Stripe.STPThreeDSCustomizationSettings + @objc public var uiCustomization: Stripe.STPThreeDSUICustomization + @objc public var authenticationTimeout: Swift.Int + @objc override dynamic public init() + @objc deinit +} +@objc public enum STPIntentActionType : Swift.Int { + case unknown + case redirectToURL + case useStripeSDK + case OXXODisplayDetails + case alipayHandleRedirect + case BLIKAuthorize + case weChatPayRedirectToApp + case linkAuthenticateAccount + case boletoDisplayDetails + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPIntentAction : ObjectiveC.NSObject { + @objc final public let type: Stripe.STPIntentActionType + @objc final public let redirectToURL: Stripe.STPIntentActionRedirectToURL? + @objc final public let oxxoDisplayDetails: Stripe.STPIntentActionOXXODisplayDetails? + @objc final public let alipayHandleRedirect: Stripe.STPIntentActionAlipayHandleRedirect? + @objc final public let weChatPayRedirectToApp: Stripe.STPIntentActionWechatPayRedirectToApp? + @objc final public let boletoDisplayDetails: Stripe.STPIntentActionBoletoDisplayDetails? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPIntentAction : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +extension STPIntentAction { + @available(*, deprecated, renamed: "redirectToURL", message: "Use `redirectToURL` instead.") + @objc dynamic public var authorizeWithURL: Stripe.STPIntentActionRedirectToURL? { + @objc get + } +} +@objc public class STPPaymentIntentShippingDetailsAddressParams : ObjectiveC.NSObject { + @objc public var city: Swift.String? + @objc public var country: Swift.String? + @objc public var line1: Swift.String + @objc public var line2: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var state: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(line1: Swift.String) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetailsAddressParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +extension STPPaymentIntentShippingDetailsAddressParams : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc public class STPConfirmWeChatPayOptions : ObjectiveC.NSObject { + @objc public var appId: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc required public init(appId: Swift.String) + @objc deinit + @objc override dynamic public init() +} +extension STPConfirmWeChatPayOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodGiropayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPMultiFormTextField : UIKit.UIView, Stripe.STPFormTextFieldContainer, UIKit.UITextFieldDelegate { + @objc public func textField(_ textField: UIKit.UITextField, shouldChangeCharactersIn range: Foundation.NSRange, replacementString string: Swift.String) -> Swift.Bool + @objc public func focusNextForm() + @objc override dynamic public var canResignFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func resignFirstResponder() -> Swift.Bool + @objc override dynamic public var isFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public var canBecomeFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func becomeFirstResponder() -> Swift.Bool + @objc public func textFieldDidEndEditing(_ textField: UIKit.UITextField) + @objc public func textFieldDidBeginEditing(_ textField: UIKit.UITextField) + @objc public func textFieldShouldReturn(_ textField: UIKit.UITextField) -> Swift.Bool + @objc public var formFont: UIKit.UIFont { + @objc get + @objc set + } + @objc public var formTextColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formTextErrorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formPlaceholderColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formCursorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formKeyboardAppearance: UIKit.UIKeyboardAppearance { + @objc get + @objc set + } + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPImageLibrary : ObjectiveC.NSObject { + @objc public class func applePayCardImage() -> UIKit.UIImage + @objc public class func amexCardImage() -> UIKit.UIImage + @objc public class func dinersClubCardImage() -> UIKit.UIImage + @objc public class func discoverCardImage() -> UIKit.UIImage + @objc public class func jcbCardImage() -> UIKit.UIImage + @objc public class func mastercardCardImage() -> UIKit.UIImage + @objc public class func unionPayCardImage() -> UIKit.UIImage + @objc public class func visaCardImage() -> UIKit.UIImage + @objc public class func unknownCardCardImage() -> UIKit.UIImage + @objc(brandImageForCardBrand:) public class func cardBrandImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc(brandImageForFPXBankBrand:) public class func fpxBrandImage(for brand: Stripe.STPFPXBankBrand) -> UIKit.UIImage + @objc public class func fpxLogo() -> UIKit.UIImage + @objc public class func largeFpxLogo() -> UIKit.UIImage + @objc public class func afterpayLogo() -> UIKit.UIImage + @objc(templatedBrandImageForCardBrand:) public class func templatedBrandImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc(cvcImageForCardBrand:) public class func cvcImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc(errorImageForCardBrand:) public class func errorImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodCardNetworks : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var available: [Swift.String] { + get + } + @objc public var preferred: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPSourceParams : ObjectiveC.NSObject, Stripe.STPFormEncodable, Foundation.NSCopying { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var type: Stripe.STPSourceType { + @objc get + @objc set(type) + } + @objc public var rawTypeString: Swift.String? + @objc public var amount: Foundation.NSNumber? + @objc public var currency: Swift.String? + @objc public var flow: Stripe.STPSourceFlow + @objc public var metadata: [Swift.AnyHashable : Any]? + @objc public var owner: [Swift.AnyHashable : Any]? + @objc public var redirect: [Swift.AnyHashable : Any]? + @objc public var token: Swift.String? + @objc public var usage: Stripe.STPSourceUsage + @objc override required dynamic public init() + @objc deinit +} +extension STPSourceParams { + @objc dynamic public class func bancontactParams(withAmount amount: Swift.Int, name: Swift.String, returnURL: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func cardParams(withCard card: Stripe.STPCardParams) -> Stripe.STPSourceParams + @objc dynamic public class func giropayParams(withAmount amount: Swift.Int, name: Swift.String, returnURL: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func idealParams(withAmount amount: Swift.Int, name: Swift.String?, returnURL: Swift.String, statementDescriptor: Swift.String?, bank: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func sepaDebitParams(withName name: Swift.String, iban: Swift.String, addressLine1: Swift.String?, city: Swift.String?, postalCode: Swift.String?, country: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func sofortParams(withAmount amount: Swift.Int, returnURL: Swift.String, country: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @available(swift, obsoleted: 1.0) + @objc(klarnaParamsWithReturnURL:currency:purchaseCountry:items:customPaymentMethods:billingAddress:billingFirstName:billingLastName:billingDOB:) dynamic public class func objc_klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Foundation.NSNumber], billingAddress address: Stripe.STPAddress?, billingFirstName firstName: Swift.String?, billingLastName lastName: Swift.String?, billingDOB dateOfBirth: Stripe.STPDateOfBirth?) -> Stripe.STPSourceParams + public class func klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Stripe.STPKlarnaPaymentMethods], billingAddress address: Stripe.STPAddress? = nil, billingFirstName firstName: Swift.String? = nil, billingLastName lastName: Swift.String? = nil, billingDOB dateOfBirth: Stripe.STPDateOfBirth? = nil) -> Stripe.STPSourceParams + @available(swift, obsoleted: 1.0) + @objc(klarnaParamsWithReturnURL:currency:purchaseCountry:items:customPaymentMethods:) dynamic public class func objc_klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Foundation.NSNumber]) -> Stripe.STPSourceParams + public class func klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Stripe.STPKlarnaPaymentMethods]) -> Stripe.STPSourceParams + @objc dynamic public class func threeDSecureParams(withAmount amount: Swift.Int, currency: Swift.String, returnURL: Swift.String, card: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func alipayParams(withAmount amount: Swift.Int, currency: Swift.String, returnURL: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func alipayReusableParams(withCurrency currency: Swift.String, returnURL: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func p24Params(withAmount amount: Swift.Int, currency: Swift.String, email: Swift.String, name: Swift.String?, returnURL: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func visaCheckoutParams(withCallId callId: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func masterpassParams(withCartId cartId: Swift.String, transactionId: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func epsParams(withAmount amount: Swift.Int, name: Swift.String, returnURL: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func multibancoParams(withAmount amount: Swift.Int, returnURL: Swift.String, email: Swift.String) -> Stripe.STPSourceParams + @objc(wechatPayParamsWithAmount:currency:appId:statementDescriptor:) dynamic public class func wechatPay(withAmount amount: Swift.Int, currency: Swift.String, appId: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc dynamic public func redirectDictionaryWithMerchantNameIfNecessary() -> [Swift.AnyHashable : Any] + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc public enum STPThreeDSCustomizationButtonType : Swift.Int { + case submit = 0 + case `continue` = 1 + case next = 2 + case cancel = 3 + case resend = 4 + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPThreeDSButtonTitleStyle : Swift.Int { + case `default` + case uppercase + case lowercase + case sentenceCapitalized + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public class STPThreeDSButtonCustomization : ObjectiveC.NSObject { + @objc(defaultSettingsForButtonType:) public class func defaultSettings(for type: Stripe.STPThreeDSCustomizationButtonType) -> Stripe.STPThreeDSButtonCustomization + @objc public init(backgroundColor: UIKit.UIColor, cornerRadius: CoreGraphics.CGFloat) + @objc public var backgroundColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var cornerRadius: CoreGraphics.CGFloat { + @objc get + @objc set + } + @objc public var titleStyle: Stripe.STPThreeDSButtonTitleStyle { + @objc get + @objc set + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPPaymentIntentCaptureMethod : Swift.Int { + case unknown + case automatic + case manual + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentIntentConfirmationMethod : Swift.Int { + case unknown + case manual + case automatic + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntent : ObjectiveC.NSObject { + @objc final public let stripeId: Swift.String + @objc final public let clientSecret: Swift.String + @objc final public let amount: Swift.Int + @objc final public let canceledAt: Foundation.Date? + @objc final public let captureMethod: Stripe.STPPaymentIntentCaptureMethod + @objc final public let confirmationMethod: Stripe.STPPaymentIntentConfirmationMethod + @objc final public let created: Foundation.Date + @objc final public let currency: Swift.String + @objc final public let stripeDescription: Swift.String? + @objc final public let livemode: Swift.Bool + @objc final public let nextAction: Stripe.STPIntentAction? + @objc final public let receiptEmail: Swift.String? + @objc final public let sourceId: Swift.String? + @objc final public let paymentMethodId: Swift.String? + @objc final public let status: Stripe.STPPaymentIntentStatus + @objc final public let paymentMethodTypes: [Foundation.NSNumber] + @objc final public let setupFutureUsage: Stripe.STPPaymentIntentSetupFutureUsage + @objc final public let lastPaymentError: Stripe.STPPaymentIntentLastPaymentError? + @objc final public let shipping: Stripe.STPPaymentIntentShippingDetails? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntent : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +extension STPPaymentIntent { + @available(*, deprecated, renamed: "nextAction", message: "Use nextAction instead") + @objc dynamic public var nextSourceAction: Stripe.STPIntentAction? { + @objc get + } +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSFooterCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSFooterCustomization + @objc public var backgroundColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var chevronColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var headingTextColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var headingFont: UIKit.UIFont { + @objc get + @objc set + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc deinit + @objc override dynamic public init() +} +extension STPAPIClient { + public func createRadarSession(completion: @escaping Stripe.STPRadarSessionCompletionBlock) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, unavailable, renamed: "STPIntentActionRedirectToURL", message: "Use `STPIntentActionRedirectToURL` instead.") +@objc final public class STPPaymentIntentActionRedirectToURL : Stripe.STPIntentActionRedirectToURL { + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPShippingAddressViewController : Stripe.STPCoreTableViewController { + @objc convenience dynamic public init() + @objc(initWithPaymentContext:) convenience public init(paymentContext: Stripe.STPPaymentContext) + @objc(initWithConfiguration:theme:currency:shippingAddress:selectedShippingMethod:prefilledInformation:) public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme, currency: Swift.String?, shippingAddress: Stripe.STPAddress?, selectedShippingMethod: PassKit.PKShippingMethod?, prefilledInformation: Stripe.STPUserInformation?) + @objc weak public var delegate: Stripe.STPShippingAddressViewControllerDelegate? + @objc(dismissWithCompletion:) public func dismiss(withCompletion completion: StripeApplePay.STPVoidBlock?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required public init(theme: Stripe.STPTheme?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool) + @objc override public func tableView(_ tableView: UIKit.UITableView, heightForHeaderInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc deinit +} +@objc public protocol STPShippingAddressViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc func shippingAddressViewControllerDidCancel(_ addressViewController: Stripe.STPShippingAddressViewController) + @objc(shippingAddressViewController:didEnterAddress:completion:) func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didEnter address: Stripe.STPAddress, completion: @escaping Stripe.STPShippingMethodsCompletionBlock) + @objc(shippingAddressViewController:didFinishWithAddress:shippingMethod:) func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didFinishWith address: Stripe.STPAddress, shippingMethod method: PassKit.PKShippingMethod?) +} +extension STPShippingAddressViewController : UIKit.UITableViewDelegate, UIKit.UITableViewDataSource { + @objc dynamic public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, willDisplay cell: UIKit.UITableViewCell, forRowAt indexPath: Foundation.IndexPath) + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, viewForFooterInSection section: Swift.Int) -> UIKit.UIView? + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, viewForHeaderInSection section: Swift.Int) -> UIKit.UIView? +} +@objc public enum STPPaymentMethodCardCheckResult : Swift.Int { + case pass + case failed + case unavailable + case unchecked + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardChecks : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @available(*, deprecated, message: "Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var addressLine1Check: Stripe.STPPaymentMethodCardCheckResult { + get + } + @available(*, deprecated, message: "Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var addressPostalCodeCheck: Stripe.STPPaymentMethodCardCheckResult { + get + } + @available(*, deprecated, message: "Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var cvcCheck: Stripe.STPPaymentMethodCardCheckResult { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +extension STPBankAccountHolderType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPBankAccountStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPBankSelectionMethod : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPBillingAddressFields : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardBrand : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardFormViewStyle : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardFundingType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardValidationState : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPConnectAccountBusinessType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPFPXBankBrand : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPFilePurpose : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPIntentActionType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPKlarnaLineItemType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPKlarnaPaymentMethods : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPMandateCustomerAcceptanceType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentHandlerActionStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentHandlerErrorCode : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentActionType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentCaptureMethod : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentConfirmationMethod : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentLastPaymentErrorType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentSetupFutureUsage : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension STPPaymentIntentSourceActionType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentMethodCardCheckResult : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentMethodCardWalletType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentMethodType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPinStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPRedirectContextError : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPRedirectContextState : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSetupIntentLastSetupErrorType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSetupIntentStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSetupIntentUsage : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPShippingStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPShippingType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceCard3DSecureStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceFlow : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceRedirectStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceUsage : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceVerificationStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPThreeDSButtonTitleStyle : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPThreeDSCustomizationButtonType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPTokenType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +@objc public enum STPTokenType : Swift.Int { + case account = 0 + case bankAccount + case card + case PII + case cvcUpdate + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPToken : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPSourceProtocol { + @objc public var tokenId: Swift.String { + get + } + @objc public var livemode: Swift.Bool { + get + } + @objc public var type: Stripe.STPTokenType { + get + } + @objc public var card: Stripe.STPCard? { + get + } + @objc public var bankAccount: Stripe.STPBankAccount? { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public var debugDescription: Swift.String { + @objc get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc public var stripeID: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@_inheritsConvenienceInitializers @objc public class STPPaymentMethodBLIKParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPCoreScrollViewController : Stripe.STPCoreViewController { + @objc public var scrollView: UIKit.UIScrollView { + @objc get + @objc set + } + @objc override dynamic public func viewDidLoad() + @objc override dynamic public func viewDidLayoutSubviews() + @objc required public init(theme: Stripe.STPTheme?) + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc deinit +} +@objc public enum STPSourceFlow : Swift.Int { + case none + case redirect + case codeVerification + case receiver + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPSourceUsage : Swift.Int { + case reusable + case singleUse + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPSourceStatus : Swift.Int { + case pending + case chargeable + case consumed + case canceled + case failed + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPSourceType : Swift.Int { + case bancontact + case card + case giropay + @objc(STPSourceTypeiDEAL) case iDEAL + case SEPADebit + case sofort + case threeDSecure + case alipay + case P24 + case EPS + case multibanco + case weChatPay + case klarna + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPKlarnaPaymentMethods : Swift.Int { + case none + case payIn4 + case installments + case payIn4OrInstallments + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountIndividualParams : ObjectiveC.NSObject { + @objc public var address: Stripe.STPConnectAccountAddress? + @objc public var kanaAddress: Stripe.STPConnectAccountAddress? + @objc public var kanjiAddress: Stripe.STPConnectAccountAddress? + @objc public var dateOfBirth: Foundation.DateComponents? + @objc public var email: Swift.String? + @objc public var firstName: Swift.String? + @objc public var kanaFirstName: Swift.String? + @objc public var kanjiFirstName: Swift.String? + @objc public var gender: Swift.String? + @objc public var idNumber: Swift.String? + @objc public var lastName: Swift.String? + @objc public var kanaLastName: Swift.String? + @objc public var kanjiLastName: Swift.String? + @objc public var maidenName: Swift.String? + @objc public var metadata: [Swift.AnyHashable : Any]? + @objc public var phone: Swift.String? + @objc public var ssnLast4: Swift.String? + @objc public var verification: Stripe.STPConnectAccountIndividualVerification? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountIndividualParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountIndividualVerification : ObjectiveC.NSObject { + @objc public var document: Stripe.STPConnectAccountVerificationDocument? + @objc public var additionalDocument: Stripe.STPConnectAccountVerificationDocument? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountIndividualVerification : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountVerificationDocument : ObjectiveC.NSObject { + @objc public var back: Swift.String? + @objc public var front: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountVerificationDocument : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPDateOfBirth : ObjectiveC.NSObject { + @objc public var day: Swift.Int + @objc public var month: Swift.Int + @objc public var year: Swift.Int + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc deinit + @objc override dynamic public init() +} +extension STPDateOfBirth : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionRedirectToURL : ObjectiveC.NSObject { + @objc final public let url: Foundation.URL + @objc final public let returnURL: Foundation.URL? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPIntentActionRedirectToURL : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodGrabPayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +extension Stripe.STPSourceVerificationStatus : Swift.Equatable {} +extension Stripe.STPSourceVerificationStatus : Swift.Hashable {} +extension Stripe.STPSourceVerificationStatus : Swift.RawRepresentable {} +extension Stripe.STPBankSelectionMethod : Swift.Equatable {} +extension Stripe.STPBankSelectionMethod : Swift.Hashable {} +extension Stripe.STPBankSelectionMethod : Swift.RawRepresentable {} +extension Stripe.STPBankAccountHolderType : Swift.Equatable {} +extension Stripe.STPBankAccountHolderType : Swift.Hashable {} +extension Stripe.STPBankAccountHolderType : Swift.RawRepresentable {} +extension Stripe.STPSetupIntentStatus : Swift.Equatable {} +extension Stripe.STPSetupIntentStatus : Swift.Hashable {} +extension Stripe.STPSetupIntentStatus : Swift.RawRepresentable {} +extension Stripe.STPSetupIntentUsage : Swift.Equatable {} +extension Stripe.STPSetupIntentUsage : Swift.Hashable {} +extension Stripe.STPSetupIntentUsage : Swift.RawRepresentable {} +extension Stripe.STPConnectAccountBusinessType : Swift.Equatable {} +extension Stripe.STPConnectAccountBusinessType : Swift.Hashable {} +extension Stripe.STPConnectAccountBusinessType : Swift.RawRepresentable {} +extension Stripe.STPShippingType : Swift.Equatable {} +extension Stripe.STPShippingType : Swift.Hashable {} +extension Stripe.STPShippingType : Swift.RawRepresentable {} +extension Stripe.STPShippingStatus : Swift.Equatable {} +extension Stripe.STPShippingStatus : Swift.Hashable {} +extension Stripe.STPShippingStatus : Swift.RawRepresentable {} +extension Stripe.STPPaymentStatus : Swift.Equatable {} +extension Stripe.STPPaymentStatus : Swift.Hashable {} +extension Stripe.STPPaymentStatus : Swift.RawRepresentable {} +extension Stripe.STPPinStatus : Swift.Equatable {} +extension Stripe.STPPinStatus : Swift.Hashable {} +extension Stripe.STPPinStatus : Swift.RawRepresentable {} +extension Stripe.STPRedirectContextError : Swift.Equatable {} +extension Stripe.STPRedirectContextError : Swift.Hashable {} +extension Stripe.STPRedirectContextError : Swift.RawRepresentable {} +extension Stripe.STPRedirectContextState : Swift.Equatable {} +extension Stripe.STPRedirectContextState : Swift.Hashable {} +extension Stripe.STPRedirectContextState : Swift.RawRepresentable {} +extension Stripe.STPKlarnaLineItemType : Swift.Equatable {} +extension Stripe.STPKlarnaLineItemType : Swift.Hashable {} +extension Stripe.STPKlarnaLineItemType : Swift.RawRepresentable {} +extension Stripe.STPPaymentMethodType : Swift.Equatable {} +extension Stripe.STPPaymentMethodType : Swift.Hashable {} +extension Stripe.STPPaymentMethodType : Swift.RawRepresentable {} +extension Stripe.STPPaymentCardTextField : UIKit.UITextFieldDelegate {} +extension Stripe.STPSourceRedirectStatus : Swift.Equatable {} +extension Stripe.STPSourceRedirectStatus : Swift.Hashable {} +extension Stripe.STPSourceRedirectStatus : Swift.RawRepresentable {} +extension Stripe.STPFilePurpose : Swift.Equatable {} +extension Stripe.STPFilePurpose : Swift.Hashable {} +extension Stripe.STPFilePurpose : Swift.RawRepresentable {} +extension Stripe.STPPaymentHandlerActionStatus : Swift.Equatable {} +extension Stripe.STPPaymentHandlerActionStatus : Swift.Hashable {} +extension Stripe.STPPaymentHandlerActionStatus : Swift.RawRepresentable {} +extension Stripe.STPPaymentHandlerErrorCode : Swift.Equatable {} +extension Stripe.STPPaymentHandlerErrorCode : Swift.Hashable {} +extension Stripe.STPPaymentHandlerErrorCode : Swift.RawRepresentable {} +extension Stripe.STPSourceCard3DSecureStatus : Swift.Equatable {} +extension Stripe.STPSourceCard3DSecureStatus : Swift.Hashable {} +extension Stripe.STPSourceCard3DSecureStatus : Swift.RawRepresentable {} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +extension Stripe._stpobjc_STPErrorCode : Swift.Equatable {} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +extension Stripe._stpobjc_STPErrorCode : Swift.Hashable {} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +extension Stripe._stpobjc_STPErrorCode : Swift.RawRepresentable {} +extension Stripe.STPCardFundingType : Swift.Equatable {} +extension Stripe.STPCardFundingType : Swift.Hashable {} +extension Stripe.STPCardFundingType : Swift.RawRepresentable {} +extension Stripe.STPPaymentMethodCardWalletType : Swift.Equatable {} +extension Stripe.STPPaymentMethodCardWalletType : Swift.Hashable {} +extension Stripe.STPPaymentMethodCardWalletType : Swift.RawRepresentable {} +@available(iOS 13.0, *) +extension Stripe.PaymentSheet.UserInterfaceStyle : Swift.Equatable {} +@available(iOS 13.0, *) +extension Stripe.PaymentSheet.UserInterfaceStyle : Swift.Hashable {} +@available(iOS 13.0, *) +extension Stripe.PaymentSheet.UserInterfaceStyle : Swift.RawRepresentable {} +extension Stripe.PaymentSheet.SavePaymentMethodOptInBehavior : Swift.Equatable {} +extension Stripe.PaymentSheet.SavePaymentMethodOptInBehavior : Swift.Hashable {} +extension Stripe.STPCardBrand : Swift.Equatable {} +extension Stripe.STPCardBrand : Swift.Hashable {} +extension Stripe.STPCardBrand : Swift.RawRepresentable {} +extension Stripe.STPBankAccountStatus : Swift.Equatable {} +extension Stripe.STPBankAccountStatus : Swift.Hashable {} +extension Stripe.STPBankAccountStatus : Swift.RawRepresentable {} +extension Stripe.STPMandateCustomerAcceptanceType : Swift.Equatable {} +extension Stripe.STPMandateCustomerAcceptanceType : Swift.Hashable {} +extension Stripe.STPMandateCustomerAcceptanceType : Swift.RawRepresentable {} +extension Stripe.STPBillingAddressFields : Swift.Equatable {} +extension Stripe.STPBillingAddressFields : Swift.Hashable {} +extension Stripe.STPBillingAddressFields : Swift.RawRepresentable {} +extension Stripe.STPCardFormViewStyle : Swift.Equatable {} +extension Stripe.STPCardFormViewStyle : Swift.Hashable {} +extension Stripe.STPCardFormViewStyle : Swift.RawRepresentable {} +extension Stripe.STPSetupIntentLastSetupErrorType : Swift.Equatable {} +extension Stripe.STPSetupIntentLastSetupErrorType : Swift.Hashable {} +extension Stripe.STPSetupIntentLastSetupErrorType : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentLastPaymentErrorType : Swift.Equatable {} +extension Stripe.STPPaymentIntentLastPaymentErrorType : Swift.Hashable {} +extension Stripe.STPPaymentIntentLastPaymentErrorType : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentStatus : Swift.Equatable {} +extension Stripe.STPPaymentIntentStatus : Swift.Hashable {} +extension Stripe.STPPaymentIntentStatus : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentSetupFutureUsage : Swift.Equatable {} +extension Stripe.STPPaymentIntentSetupFutureUsage : Swift.Hashable {} +extension Stripe.STPPaymentIntentSetupFutureUsage : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentActionType : Swift.Equatable {} +extension Stripe.STPPaymentIntentActionType : Swift.Hashable {} +extension Stripe.STPPaymentIntentActionType : Swift.RawRepresentable {} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension Stripe.STPPaymentIntentSourceActionType : Swift.Equatable {} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension Stripe.STPPaymentIntentSourceActionType : Swift.Hashable {} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension Stripe.STPPaymentIntentSourceActionType : Swift.RawRepresentable {} +extension Stripe.STPFPXBankBrand : Swift.Equatable {} +extension Stripe.STPFPXBankBrand : Swift.Hashable {} +extension Stripe.STPFPXBankBrand : Swift.RawRepresentable {} +extension Stripe.STPCardValidationState : Swift.Equatable {} +extension Stripe.STPCardValidationState : Swift.Hashable {} +extension Stripe.STPCardValidationState : Swift.RawRepresentable {} +extension Stripe.STPIntentActionType : Swift.Equatable {} +extension Stripe.STPIntentActionType : Swift.Hashable {} +extension Stripe.STPIntentActionType : Swift.RawRepresentable {} +extension Stripe.STPThreeDSCustomizationButtonType : Swift.Equatable {} +extension Stripe.STPThreeDSCustomizationButtonType : Swift.Hashable {} +extension Stripe.STPThreeDSCustomizationButtonType : Swift.RawRepresentable {} +extension Stripe.STPThreeDSButtonTitleStyle : Swift.Equatable {} +extension Stripe.STPThreeDSButtonTitleStyle : Swift.Hashable {} +extension Stripe.STPThreeDSButtonTitleStyle : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentCaptureMethod : Swift.Equatable {} +extension Stripe.STPPaymentIntentCaptureMethod : Swift.Hashable {} +extension Stripe.STPPaymentIntentCaptureMethod : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentConfirmationMethod : Swift.Equatable {} +extension Stripe.STPPaymentIntentConfirmationMethod : Swift.Hashable {} +extension Stripe.STPPaymentIntentConfirmationMethod : Swift.RawRepresentable {} +extension Stripe.STPPaymentMethodCardCheckResult : Swift.Equatable {} +extension Stripe.STPPaymentMethodCardCheckResult : Swift.Hashable {} +extension Stripe.STPPaymentMethodCardCheckResult : Swift.RawRepresentable {} +extension Stripe.STPKlarnaPaymentMethods : Swift.Equatable {} +extension Stripe.STPKlarnaPaymentMethods : Swift.Hashable {} +extension Stripe.STPKlarnaPaymentMethods : Swift.RawRepresentable {} +extension Stripe.STPSourceFlow : Swift.Equatable {} +extension Stripe.STPSourceFlow : Swift.Hashable {} +extension Stripe.STPSourceFlow : Swift.RawRepresentable {} +extension Stripe.STPSourceStatus : Swift.Equatable {} +extension Stripe.STPSourceStatus : Swift.Hashable {} +extension Stripe.STPSourceStatus : Swift.RawRepresentable {} +extension Stripe.STPSourceType : Swift.Equatable {} +extension Stripe.STPSourceType : Swift.Hashable {} +extension Stripe.STPSourceType : Swift.RawRepresentable {} +extension Stripe.STPSourceUsage : Swift.Equatable {} +extension Stripe.STPSourceUsage : Swift.Hashable {} +extension Stripe.STPSourceUsage : Swift.RawRepresentable {} +extension Stripe.STPTokenType : Swift.Equatable {} +extension Stripe.STPTokenType : Swift.Hashable {} +extension Stripe.STPTokenType : Swift.RawRepresentable {} diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Modules/Stripe.swiftmodule/x86_64.swiftdoc b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Modules/Stripe.swiftmodule/x86_64.swiftdoc new file mode 100644 index 0000000..739df37 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Modules/Stripe.swiftmodule/x86_64.swiftdoc differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Modules/Stripe.swiftmodule/x86_64.swiftinterface b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Modules/Stripe.swiftmodule/x86_64.swiftinterface new file mode 100644 index 0000000..50dc1c9 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Modules/Stripe.swiftmodule/x86_64.swiftinterface @@ -0,0 +1,4764 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name Stripe +import AVFoundation +import CommonCrypto +import Contacts +import CoreLocation +import Foundation +import ObjectiveC +import PassKit +import SafariServices +import Security +@_exported import Stripe +import Stripe3DS2 +@_exported import StripeApplePay +@_exported import StripeCore +import StripeUICore +import Swift +import SwiftUI +import UIKit +import Vision +extension STPAPIClient { + public var configuration: Stripe.STPPaymentConfiguration { + get + set + } + @available(*, deprecated, message: "This initializer previously configured publishableKey and stripeAccount via the STPPaymentConfiguration instance. This behavior is deprecated; set the STPAPIClient configuration, publishableKey, and stripeAccount properties directly on the STPAPIClient instead.") + convenience public init(configuration: Stripe.STPPaymentConfiguration) +} +extension STPAPIClient { + public func createToken(withBankAccount bankAccount: Stripe.STPBankAccountParams, completion: @escaping Stripe.STPTokenCompletionBlock) +} +extension STPAPIClient { + public func createToken(withPersonalIDNumber pii: Swift.String, completion: Stripe.STPTokenCompletionBlock?) + public func createToken(withSSNLast4 ssnLast4: Swift.String, completion: @escaping Stripe.STPTokenCompletionBlock) +} +extension STPAPIClient { + public func createToken(withConnectAccount account: Stripe.STPConnectAccountParams, completion: Stripe.STPTokenCompletionBlock?) +} +extension STPAPIClient { + public func uploadImage(_ image: UIKit.UIImage, purpose: Stripe.STPFilePurpose, completion: Stripe.STPFileCompletionBlock?) +} +extension STPAPIClient { + public func createToken(withCard cardParams: Stripe.STPCardParams, completion: @escaping Stripe.STPTokenCompletionBlock) + public func createToken(forCVCUpdate cvc: Swift.String, completion: Stripe.STPTokenCompletionBlock? = nil) +} +extension STPAPIClient { + public func createSource(with sourceParams: Stripe.STPSourceParams, completion: @escaping Stripe.STPSourceCompletionBlock) + public func retrieveSource(withId identifier: Swift.String, clientSecret secret: Swift.String, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public func startPollingSource(withId identifier: Swift.String, clientSecret secret: Swift.String, timeout: Foundation.TimeInterval, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public func stopPollingSource(withId identifier: Swift.String) +} +extension STPAPIClient { + public func retrievePaymentIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + public func retrievePaymentIntent(withClientSecret secret: Swift.String, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) +} +extension STPAPIClient { + public func retrieveSetupIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPSetupIntentCompletionBlock) + public func confirmSetupIntent(with setupIntentParams: Stripe.STPSetupIntentConfirmParams, completion: @escaping Stripe.STPSetupIntentCompletionBlock) +} +extension STPAPIClient { + public func createPaymentMethod(with paymentMethodParams: Stripe.STPPaymentMethodParams, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSLabelCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSLabelCustomization + @objc public var headingFont: UIKit.UIFont { + @objc get + @objc set(headingFont) + } + @objc public var headingTextColor: UIKit.UIColor { + @objc get + @objc set(headingTextColor) + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set(textColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodUPI : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var vpa: Swift.String { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPSourceVerificationStatus : Swift.Int { + case pending + case succeeded + case failed + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceVerification : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var attemptsRemaining: Foundation.NSNumber? { + get + } + @objc public var status: Stripe.STPSourceVerificationStatus { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodOXXO : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public enum STPBankSelectionMethod : Swift.Int { + case FPX + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPBankSelectionViewController : Stripe.STPCoreTableViewController, UIKit.UITableViewDataSource, UIKit.UITableViewDelegate { + @objc convenience public init(bankMethod: Stripe.STPBankSelectionMethod) + @objc convenience required public init(theme: Stripe.STPTheme?) + @objc public init(bankMethod: Stripe.STPBankSelectionMethod, configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc weak public var delegate: Stripe.STPBankSelectionViewControllerDelegate? + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc deinit + @objc public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell + @objc public func tableView(_ tableView: UIKit.UITableView, willDisplay cell: UIKit.UITableViewCell, forRowAt indexPath: Foundation.IndexPath) + @objc public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc public func tableView(_ tableView: UIKit.UITableView, shouldHighlightRowAt indexPath: Foundation.IndexPath) -> Swift.Bool + @objc public func tableView(_ tableView: UIKit.UITableView, didSelectRowAt indexPath: Foundation.IndexPath) +} +@objc public protocol STPBankSelectionViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc(bankSelectionViewController:didCreatePaymentMethodParams:) func bankSelectionViewController(_ bankViewController: Stripe.STPBankSelectionViewController, didCreatePaymentMethodParams paymentMethodParams: Stripe.STPPaymentMethodParams) +} +@objc @_inheritsConvenienceInitializers public class STPSetupIntentConfirmParams : ObjectiveC.NSObject, Foundation.NSCopying, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(clientSecret: Swift.String) + @objc public var clientSecret: Swift.String + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? + @objc public var paymentMethodID: Swift.String? + @objc public var returnURL: Swift.String? + @objc public var useStripeSDK: Foundation.NSNumber? + @objc public var mandateData: Stripe.STPMandateDataParams? { + @objc get + @objc set(newMandateData) + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSUICustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSUICustomization + @objc public var navigationBarCustomization: Stripe.STPThreeDSNavigationBarCustomization { + @objc get + @objc set(navigationBarCustomization) + } + @objc public var labelCustomization: Stripe.STPThreeDSLabelCustomization { + @objc get + @objc set(labelCustomization) + } + @objc public var textFieldCustomization: Stripe.STPThreeDSTextFieldCustomization { + @objc get + @objc set(textFieldCustomization) + } + @objc public var backgroundColor: UIKit.UIColor { + @objc get + @objc set(backgroundColor) + } + @objc public var footerCustomization: Stripe.STPThreeDSFooterCustomization { + @objc get + @objc set(footerCustomization) + } + @objc(setButtonCustomization:forType:) public func setButtonCustomization(_ buttonCustomization: Stripe.STPThreeDSButtonCustomization, for buttonType: Stripe.STPThreeDSCustomizationButtonType) + @objc(buttonCustomizationForButtonType:) public func buttonCustomization(for buttonType: Stripe.STPThreeDSCustomizationButtonType) -> Stripe.STPThreeDSButtonCustomization + @objc public var selectionCustomization: Stripe.STPThreeDSSelectionCustomization { + @objc get + @objc set(selectionCustomization) + } + @objc public var activityIndicatorViewStyle: UIKit.UIActivityIndicatorView.Style { + @objc get + @objc set(activityIndicatorViewStyle) + } + @objc public var blurStyle: UIKit.UIBlurEffect.Style { + @objc get + @objc set(blurStyle) + } + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceWeChatPayDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var weChatAppURL: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@_inheritsConvenienceInitializers @available(swift, obsoleted: 0.0.1, message: "Use 'StripeAPI' instead.") +@objc(StripeAPI) public class _stpobjc_StripeAPI : ObjectiveC.NSObject { + @objc public static var defaultPublishableKey: Swift.String? { + @objc get + @objc set + } + @objc public static var advancedFraudSignalsEnabled: Swift.Bool { + @objc get + @objc set + } + @objc public static var maxRetries: Swift.Int { + @objc get + @objc set + } + @discardableResult + @objc(handleStripeURLCallbackWithURL:) public static func handleURLCallback(with url: Foundation.URL) -> Swift.Bool + @objc public class var jcbPaymentNetworkSupported: Swift.Bool { + @objc get + @objc set + } + @objc public static var additionalEnabledApplePayNetworks: [PassKit.PKPaymentNetwork] { + @objc get + @objc set + } + @objc public class func canSubmitPaymentRequest(_ paymentRequest: PassKit.PKPaymentRequest) -> Swift.Bool + @objc dynamic public class func deviceSupportsApplePay() -> Swift.Bool + @available(*, deprecated, message: "Use `paymentRequestWithMerchantIdentifier:country:currency:` instead.") + @objc public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String) -> PassKit.PKPaymentRequest + @objc public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String, country countryCode: Swift.String, currency currencyCode: Swift.String) -> PassKit.PKPaymentRequest + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPBankAccountHolderType : Swift.Int { + case individual + case company + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPBankAccountParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var accountNumber: Swift.String? + @objc public var last4: Swift.String? { + @objc get + } + @objc public var routingNumber: Swift.String? + @objc public var country: Swift.String? + @objc public var currency: Swift.String? + @objc public var accountHolderName: Swift.String? + @objc public var accountHolderType: Stripe.STPBankAccountHolderType + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public init() + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit +} +@objc public class STPMandateOnlineParams : ObjectiveC.NSObject { + @objc final public let ipAddress: Swift.String + @objc final public let userAgent: Swift.String + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc(initWithIPAddress:userAgent:) public init(ipAddress: Swift.String, userAgent: Swift.String) + @objc override dynamic public init() + @objc deinit +} +extension STPMandateOnlineParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPSetupIntentStatus : Swift.Int { + case unknown + case requiresPaymentMethod + case requiresConfirmation + case requiresAction + case processing + case succeeded + case canceled + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPSetupIntentUsage : Swift.Int { + case unknown + case none + case onSession + case offSession + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionAlipayHandleRedirect : ObjectiveC.NSObject { + @objc final public let nativeURL: Foundation.URL? + @objc final public let returnURL: Foundation.URL + @objc final public let url: Foundation.URL + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPIntentActionAlipayHandleRedirect : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_hasMissingDesignatedInitializers open class STPCustomerContext : ObjectiveC.NSObject, Stripe.STPBackendAPIAdapter { + @objc(initWithKeyProvider:) convenience public init(keyProvider: Stripe.STPCustomerEphemeralKeyProvider) + convenience public init(keyProvider: Stripe.STPCustomerEphemeralKeyProvider?, apiClient: StripeCore.STPAPIClient) + @available(swift, deprecated: 0.0.1, renamed: "init(keyProvider:apiClient:)") + @objc(initWithKeyProvider:apiClient:) convenience public init(keyProvider: Stripe.STPCustomerEphemeralKeyProvider?, apiClient: Stripe._stpobjc_STPAPIClient) + @objc public func clearCache() + @objc public var includeApplePayPaymentMethods: Swift.Bool { + @objc get + @objc set(includeApplePayMethods) + } + @objc public func retrieveCustomer(_ completion: Stripe.STPCustomerCompletionBlock? = nil) + @objc public func updateCustomer(withShippingAddress shipping: Stripe.STPAddress, completion: Stripe.STPErrorBlock?) + @objc public func attachPaymentMethodToCustomer(paymentMethodId: Swift.String, completion: Stripe.STPErrorBlock?) + @objc public func attachPaymentMethod(toCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc public func detachPaymentMethodFromCustomer(paymentMethodId: Swift.String, completion: Stripe.STPErrorBlock?) + @objc public func detachPaymentMethod(fromCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc public func listPaymentMethodsForCustomer(completion: Stripe.STPPaymentMethodsCompletionBlock? = nil) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodLinkParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodEPS : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPConnectAccountBusinessType : Swift.Int { + case individual + case company + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public class STPConnectAccountParams : ObjectiveC.NSObject { + @objc final public let tosShownAndAccepted: Foundation.NSNumber? + @objc final public let businessType: Stripe.STPConnectAccountBusinessType + @objc final public let individual: Stripe.STPConnectAccountIndividualParams? + @objc final public let company: Stripe.STPConnectAccountCompanyParams? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init?(tosShownAndAccepted wasAccepted: Swift.Bool, individual: Stripe.STPConnectAccountIndividualParams) + @objc public init?(tosShownAndAccepted wasAccepted: Swift.Bool, company: Stripe.STPConnectAccountCompanyParams) + @objc public init(individual: Stripe.STPConnectAccountIndividualParams) + @objc public init(company: Stripe.STPConnectAccountCompanyParams) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountParams : Stripe.STPFormEncodable { + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodFPX : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var bankIdentifierCode: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPCoreTableViewController : Stripe.STPCoreScrollViewController { + @objc public var tableView: UIKit.UITableView? { + @objc get + } + @objc override dynamic public func viewWillAppear(_ animated: Swift.Bool) + @objc public func tableView(_ tableView: UIKit.UITableView, heightForHeaderInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc required public init(theme: Stripe.STPTheme?) + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc deinit +} +@objc public enum STPShippingType : Swift.Int { + case shipping + case delivery + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPShippingStatus : Swift.Int { + case valid + case invalid + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentStatus : Swift.Int { + case success + case error + case userCancellation + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPErrorBlock = (Swift.Error?) -> Swift.Void +public typealias STPBooleanSuccessBlock = (Swift.Bool, Swift.Error?) -> Swift.Void +public typealias STPJSONResponseCompletionBlock = ([Swift.AnyHashable : Any]?, Swift.Error?) -> Swift.Void +public typealias STPTokenCompletionBlock = (Stripe.STPToken?, Swift.Error?) -> Swift.Void +public typealias STPSourceCompletionBlock = (Stripe.STPSource?, Swift.Error?) -> Swift.Void +public typealias STPSourceProtocolCompletionBlock = (Stripe.STPSourceProtocol?, Swift.Error?) -> Swift.Void +public typealias STPPaymentIntentCompletionBlock = (Stripe.STPPaymentIntent?, Swift.Error?) -> Swift.Void +public typealias STPSetupIntentCompletionBlock = (Stripe.STPSetupIntent?, Swift.Error?) -> Swift.Void +public typealias STPPaymentMethodCompletionBlock = (Stripe.STPPaymentMethod?, Swift.Error?) -> Swift.Void +public typealias STPPaymentMethodsCompletionBlock = ([Stripe.STPPaymentMethod]?, Swift.Error?) -> Swift.Void +public typealias STPShippingMethodsCompletionBlock = (Stripe.STPShippingStatus, Swift.Error?, [PassKit.PKShippingMethod]?, PassKit.PKShippingMethod?) -> Swift.Void +public typealias STPFileCompletionBlock = (Stripe.STPFile?, Swift.Error?) -> Swift.Void +public typealias STPCustomerCompletionBlock = (Stripe.STPCustomer?, Swift.Error?) -> Swift.Void +@objc public enum STPPinStatus : Swift.Int { + case success + case errorVerificationAlreadyRedeemed + case errorVerificationCodeIncorrect + case errorVerificationExpired + case errorVerificationTooManyAttempts + case ephemeralKeyError + case unknownError + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPPinCompletionBlock = (Stripe.STPIssuingCardPin?, Stripe.STPPinStatus, Swift.Error?) -> Swift.Void +public typealias STPPaymentStatusBlock = (Stripe.STPPaymentStatus, Swift.Error?) -> Swift.Void +public typealias STPRadarSessionCompletionBlock = (Stripe.STPRadarSession?, Swift.Error?) -> Swift.Void +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceKlarnaDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var clientToken: Swift.String? { + get + } + @objc public var purchaseCountry: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public class STPConfirmBLIKOptions : ObjectiveC.NSObject { + @objc public var code: Swift.String + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc required public init(code: Swift.String) + @objc deinit + @objc override dynamic public init() +} +extension STPConfirmBLIKOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPRedirectContextError : Swift.Int { + @objc(STPRedirectContextAppRedirectError) case appRedirectError + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPRedirectContextState : Swift.Int { + case notStarted + case inProgress + case cancelled + case completed + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPRedirectContextSourceCompletionBlock = (Swift.String, Swift.String?, Swift.Error?) -> Swift.Void +public typealias STPRedirectContextCompletionBlock = Stripe.STPRedirectContextSourceCompletionBlock +public typealias STPRedirectContextPaymentIntentCompletionBlock = (Swift.String, Swift.Error?) -> Swift.Void +@objc @_hasMissingDesignatedInitializers @available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +public class STPRedirectContext : ObjectiveC.NSObject, SafariServices.SFSafariViewControllerDelegate, UIKit.UIViewControllerTransitioningDelegate { + @objc public static let STPRedirectContextErrorDomain: Swift.String + @objc public var state: Stripe.STPRedirectContextState { + get + } + @objc convenience public init?(source: Stripe.STPSource, completion: @escaping Stripe.STPRedirectContextSourceCompletionBlock) + @objc convenience public init?(paymentIntent: Stripe.STPPaymentIntent, completion: @escaping Stripe.STPRedirectContextPaymentIntentCompletionBlock) + @objc(startRedirectFlowFromViewController:) public func startRedirectFlow(from presentingViewController: UIKit.UIViewController) + @objc(startSafariViewControllerRedirectFlowFromViewController:) dynamic public func startSafariViewControllerRedirectFlow(from presentingViewController: UIKit.UIViewController) + @objc public func startSafariAppRedirectFlow() + @objc public func cancel() + @objc deinit + @objc public func safariViewControllerDidFinish(_ controller: SafariServices.SFSafariViewController) + @objc public func safariViewController(_ controller: SafariServices.SFSafariViewController, didCompleteInitialLoad didLoadSuccessfully: Swift.Bool) + @objc public func safariViewController(_ controller: SafariServices.SFSafariViewController, initialLoadDidRedirectTo URL: Foundation.URL) + @objc public func presentationController(forPresented presented: UIKit.UIViewController, presenting: UIKit.UIViewController?, source: UIKit.UIViewController) -> UIKit.UIPresentationController? + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers final public class STPRadarSession : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let id: Swift.String + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc public static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Stripe.STPRadarSession? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPKlarnaLineItemType : Swift.Int { + case SKU + case tax + case shipping + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public class STPKlarnaLineItem : ObjectiveC.NSObject { + @objc public var itemType: Stripe.STPKlarnaLineItemType + @objc public var itemDescription: Swift.String + @objc public var quantity: Foundation.NSNumber + @objc public var totalAmount: Foundation.NSNumber + @objc public init(itemType: Stripe.STPKlarnaLineItemType, itemDescription: Swift.String, quantity: Foundation.NSNumber, totalAmount: Foundation.NSNumber) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodOXXOParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @IBDesignable open class STPPaymentCardTextField : UIKit.UIControl, UIKit.UIKeyInput { + @objc open func textField(_ textField: UIKit.UITextField, shouldChangeCharactersIn range: Foundation.NSRange, replacementString string: Swift.String) -> Swift.Bool + @objc @IBOutlet weak open var delegate: Stripe.STPPaymentCardTextFieldDelegate? + @objc open var font: UIKit.UIFont { + @objc get + @objc set + } + @objc open var textColor: UIKit.UIColor { + @objc get + @objc set + } + @objc open var textErrorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc open var placeholderColor: UIKit.UIColor { + @objc get + @objc set + } + @objc @IBInspectable open var numberPlaceholder: Swift.String? { + @objc get + @objc set(numberPlaceholder) + } + @objc @IBInspectable open var expirationPlaceholder: Swift.String? { + @objc get + @objc set(expirationPlaceholder) + } + @objc @IBInspectable open var cvcPlaceholder: Swift.String? { + @objc get + @objc set(cvcPlaceholder) + } + @objc @IBInspectable open var postalCodePlaceholder: Swift.String? { + @objc get + @objc set(postalCodePlaceholder) + } + @objc open var cursorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc open var borderColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc open var borderWidth: CoreGraphics.CGFloat { + @objc get + @objc set + } + @objc open var cornerRadius: CoreGraphics.CGFloat { + @objc get + @objc set + } + @objc open var keyboardAppearance: UIKit.UIKeyboardAppearance { + @objc get + @objc set + } + @objc override dynamic open var inputView: UIKit.UIView? { + @objc get + @objc set(inputView) + } + @objc override dynamic open var inputAccessoryView: UIKit.UIView? { + @objc get + @objc set(inputAccessoryView) + } + @objc open var brandImage: UIKit.UIImage? { + get + } + @objc dynamic open var isValid: Swift.Bool { + @objc get + } + @objc override dynamic open var isEnabled: Swift.Bool { + @objc get + @objc set(enabled) + } + @objc open var cardNumber: Swift.String? { + @objc get + } + @objc open var expirationMonth: Swift.Int { + @objc get + } + @objc open var formattedExpirationMonth: Swift.String? { + @objc get + } + @objc open var expirationYear: Swift.Int { + @objc get + } + @objc open var formattedExpirationYear: Swift.String? { + @objc get + } + @objc open var cvc: Swift.String? { + @objc get + } + @objc open var postalCode: Swift.String? { + @objc get + @objc set + } + @objc open var postalCodeEntryEnabled: Swift.Bool { + @objc get + @objc set(postalCodeEntryEnabled) + } + @objc open var countryCode: Swift.String? { + @objc get + @objc set(cCode) + } + @objc open var cardParams: Stripe.STPPaymentMethodCardParams { + @objc get + @objc set(callersCardParams) + } + @discardableResult + @objc override dynamic open func becomeFirstResponder() -> Swift.Bool + @discardableResult + @objc override dynamic open func resignFirstResponder() -> Swift.Bool + @objc open func clear() + @objc(cvcImageForCardBrand:) open class func cvcImage(for cardBrand: Stripe.STPCardBrand) -> UIKit.UIImage? + @objc(brandImageForCardBrand:) open class func brandImage(for cardBrand: Stripe.STPCardBrand) -> UIKit.UIImage? + @objc(errorImageForCardBrand:) open class func errorImage(for cardBrand: Stripe.STPCardBrand) -> UIKit.UIImage? + @objc(brandImageRectForBounds:) open func brandImageRect(forBounds bounds: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @objc(fieldsRectForBounds:) open func fieldsRect(forBounds bounds: CoreGraphics.CGRect) -> CoreGraphics.CGRect + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc override dynamic open func traitCollectionDidChange(_ previousTraitCollection: UIKit.UITraitCollection?) + @objc override dynamic open var backgroundColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc override dynamic open var contentVerticalAlignment: UIKit.UIControl.ContentVerticalAlignment { + @objc get + @objc set(contentVerticalAlignment) + } + @objc override dynamic open var isFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic open var canBecomeFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic open var canResignFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic open var intrinsicContentSize: CoreGraphics.CGSize { + @objc get + } + @objc override dynamic open func layoutSubviews() + @objc open func textFieldShouldBeginEditing(_ textField: UIKit.UITextField) -> Swift.Bool + @objc open func textFieldDidBeginEditing(_ textField: UIKit.UITextField) + @objc open func textFieldShouldEndEditing(_ textField: UIKit.UITextField) -> Swift.Bool + @objc open func textFieldDidEndEditing(_ textField: UIKit.UITextField) + @objc open func textFieldShouldReturn(_ textField: UIKit.UITextField) -> Swift.Bool + @objc open var hasText: Swift.Bool { + @objc get + } + @objc open func insertText(_ text: Swift.String) + @objc open func deleteBackward() + @objc open class func keyPathsForValuesAffectingIsValid() -> Swift.Set + @objc deinit +} +@objc public protocol STPPaymentCardTextFieldDelegate : ObjectiveC.NSObjectProtocol { + @objc optional func paymentCardTextFieldDidChange(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditing(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldWillEndEditing(forReturn textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditing(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingNumber(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingNumber(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingExpiration(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingExpiration(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidBeginEditingPostalCode(_ textField: Stripe.STPPaymentCardTextField) + @objc optional func paymentCardTextFieldDidEndEditingPostalCode(_ textField: Stripe.STPPaymentCardTextField) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceSEPADebitDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var last4: Swift.String? { + get + } + @objc public var bankCode: Swift.String? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var mandateReference: Swift.String? { + get + } + @objc public var mandateURL: Foundation.URL? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBacsDebitParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var accountNumber: Swift.String? + @objc public var sortCode: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodiDEALParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var bankName: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPAPIResponseDecodable : ObjectiveC.NSObjectProtocol { + @objc static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc var allResponseFields: [Swift.AnyHashable : Any] { get } +} +extension STPAPIClient { + public func createToken(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPTokenCompletionBlock) + public func createSource(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPSourceCompletionBlock) + public func createPaymentMethod(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) +} +@objc @_inheritsConvenienceInitializers public class STPPaymentIntentParams : ObjectiveC.NSObject { + @objc public init(clientSecret: Swift.String) + @objc public var stripeId: Swift.String? { + @objc get + } + @objc public var clientSecret: Swift.String + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? + @objc public var paymentMethodId: Swift.String? + @objc public var sourceParams: Stripe.STPSourceParams? + @objc public var sourceId: Swift.String? + @objc public var receiptEmail: Swift.String? + @objc public var savePaymentMethod: Foundation.NSNumber? + @objc public var returnURL: Swift.String? + public var setupFutureUsage: Stripe.STPPaymentIntentSetupFutureUsage? + @available(swift, obsoleted: 1.0, renamed: "setupFutureUsage") + @objc(setupFutureUsage) public var setupFutureUsage_objc: Foundation.NSNumber? { + @objc get + @objc set + } + @objc public var useStripeSDK: Foundation.NSNumber? + @objc public var mandateData: Stripe.STPMandateDataParams? { + @objc get + @objc set + } + @objc public var paymentMethodOptions: Stripe.STPConfirmPaymentMethodOptions? + @objc public var shipping: Stripe.STPPaymentIntentShippingDetailsParams? + @available(*, deprecated, renamed: "returnURL") + @objc public var returnUrl: Swift.String? { + @objc get + @objc set(returnUrl) + } + @available(*, deprecated, renamed: "savePaymentMethod") + @objc public var saveSourceToCustomer: Foundation.NSNumber? { + @objc get + @objc set(saveSourceToCustomer) + } + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public func configure(with paymentResult: Stripe.STPPaymentResult) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit +} +extension STPPaymentIntentParams : Stripe.STPFormEncodable { + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] +} +extension STPPaymentIntentParams : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodSEPADebit : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var bankCode: Swift.String? { + get + } + @objc public var branchCode: Swift.String? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var mandate: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@_hasMissingDesignatedInitializers @available(swift, deprecated: 0.0.1, renamed: "STPAPIClient") +@objc(STPAPIClient) public class _stpobjc_STPAPIClient : ObjectiveC.NSObject { + @objc public static let STPSDKVersion: Swift.String + @available(swift, deprecated: 0.0.1) + @objc(sharedClient) public static let shared: Stripe._stpobjc_STPAPIClient + @objc public var publishableKey: Swift.String? { + @objc get + @objc set + } + @objc public var configuration: Stripe.STPPaymentConfiguration { + @objc get + @objc set + } + @objc public var stripeAccount: Swift.String? { + @objc get + @objc set + } + @objc public var appInfo: Stripe._stpobjc_STPAppInfo? { + @objc get + @objc set + } + @objc public static let apiVersion: Swift.String + @objc public init(publishableKey: Swift.String) + @available(*, deprecated, message: "This initializer previously configured publishableKey and stripeAccount via the STPPaymentConfiguration instance. This behavior is deprecated; set the STPAPIClient configuration, publishableKey, and stripeAccount properties directly on the STPAPIClient instead.") + @objc public init(configuration: Stripe.STPPaymentConfiguration) + @objc public func createToken(withBankAccount bankAccount: Stripe.STPBankAccountParams, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc public func createToken(withPersonalIDNumber pii: Swift.String, completion: Stripe.STPTokenCompletionBlock?) + @objc public func createToken(withSSNLast4 ssnLast4: Swift.String, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc public func createToken(withConnectAccount account: Stripe.STPConnectAccountParams, completion: Stripe.STPTokenCompletionBlock?) + @objc public func uploadImage(_ image: UIKit.UIImage, purpose: Stripe.STPFilePurpose, completion: Stripe.STPFileCompletionBlock?) + @objc public func createToken(withCard cardParams: Stripe.STPCardParams, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc public func createToken(forCVCUpdate cvc: Swift.String, completion: Stripe.STPTokenCompletionBlock? = nil) + @objc(createSourceWithParams:completion:) public func createSource(with sourceParams: Stripe.STPSourceParams, completion: @escaping Stripe.STPSourceCompletionBlock) + @objc public func retrieveSource(withId identifier: Swift.String, clientSecret secret: Swift.String, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + @objc public func startPollingSource(withId identifier: Swift.String, clientSecret secret: Swift.String, timeout: Foundation.TimeInterval, completion: @escaping Stripe.STPSourceCompletionBlock) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + @objc public func stopPollingSource(withId identifier: Swift.String) + @objc public func retrievePaymentIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc public func retrievePaymentIntent(withClientSecret secret: Swift.String, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc(confirmPaymentIntentWithParams:completion:) dynamic public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc(confirmPaymentIntentWithParams:expand:completion:) public func confirmPaymentIntent(with paymentIntentParams: Stripe.STPPaymentIntentParams, expand: [Swift.String]?, completion: @escaping Stripe.STPPaymentIntentCompletionBlock) + @objc public func retrieveSetupIntent(withClientSecret secret: Swift.String, completion: @escaping Stripe.STPSetupIntentCompletionBlock) + @objc(confirmSetupIntentWithParams:completion:) dynamic public func confirmSetupIntent(with setupIntentParams: Stripe.STPSetupIntentConfirmParams, completion: @escaping Stripe.STPSetupIntentCompletionBlock) + @objc(createPaymentMethodWithParams:completion:) public func createPaymentMethod(with paymentMethodParams: Stripe.STPPaymentMethodParams, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) + @objc public func createRadarSession(completion: @escaping Stripe.STPRadarSessionCompletionBlock) + @objc(createTokenWithPayment:completion:) public func createToken(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPTokenCompletionBlock) + @objc(createSourceWithPayment:completion:) public func createSource(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPSourceCompletionBlock) + @objc(createPaymentMethodWithPayment:completion:) public func createPaymentMethod(with payment: PassKit.PKPayment, completion: @escaping Stripe.STPPaymentMethodCompletionBlock) + @objc public class func pkPaymentError(forStripeError stripeError: Swift.Error?) -> Swift.Error? + @objc override dynamic public init() + @objc deinit +} +@objc(STPPaymentContext) public class STPPaymentContext : ObjectiveC.NSObject, Stripe.STPAuthenticationContext, Stripe.STPPaymentOptionsViewControllerDelegate, Stripe.STPShippingAddressViewControllerDelegate { + @objc convenience public init(customerContext: Stripe.STPCustomerContext) + @objc convenience public init(customerContext: Stripe.STPCustomerContext, configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc convenience public init(apiAdapter: Stripe.STPBackendAPIAdapter) + @objc public init(apiAdapter: Stripe.STPBackendAPIAdapter, configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc public var apiAdapter: Stripe.STPBackendAPIAdapter { + get + } + @objc public var configuration: Stripe.STPPaymentConfiguration { + get + } + @objc public var theme: Stripe.STPTheme { + get + } + @objc public var prefilledInformation: Stripe.STPUserInformation? { + @objc get + @objc set(prefilledInformation) + } + @objc weak public var hostViewController: UIKit.UIViewController? { + @objc get + @objc set(hostViewController) + } + @objc weak public var delegate: Stripe.STPPaymentContextDelegate? { + @objc get + @objc set(delegate) + } + @objc public var loading: Swift.Bool { + @objc get + } + @objc public var defaultPaymentMethod: Swift.String? + @objc public var selectedPaymentOption: Stripe.STPPaymentOption? { + @objc get + } + @objc public var paymentOptions: [Stripe.STPPaymentOption]? { + @objc get + } + @objc public var selectedShippingMethod: PassKit.PKShippingMethod? { + get + } + @objc public var shippingMethods: [PassKit.PKShippingMethod]? { + @objc get + } + @objc public var shippingAddress: Stripe.STPAddress? { + get + } + @objc public var paymentAmount: Swift.Int { + @objc get + @objc set(paymentAmount) + } + @objc public var paymentCurrency: Swift.String + @objc public var paymentCountry: Swift.String + @objc public var paymentSummaryItems: [PassKit.PKPaymentSummaryItem] { + @objc get + @objc set(paymentSummaryItems) + } + @objc public var modalPresentationStyle: UIKit.UIModalPresentationStyle + @objc public var largeTitleDisplayMode: UIKit.UINavigationItem.LargeTitleDisplayMode + @objc public var paymentOptionsViewControllerFooterView: UIKit.UIView? + @objc public var addCardViewControllerFooterView: UIKit.UIView? + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public func retryLoading() + @objc public func presentPaymentOptionsViewController() + @objc public func pushPaymentOptionsViewController() + @objc public func presentShippingViewController() + @objc public func pushShippingViewController() + @objc public func requestPayment() + @objc public func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didSelect paymentOption: Stripe.STPPaymentOption) + @objc public func paymentOptionsViewControllerDidFinish(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc public func paymentOptionsViewControllerDidCancel(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc public func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didFailToLoadWithError error: Swift.Error) + @objc public func shippingAddressViewControllerDidCancel(_ addressViewController: Stripe.STPShippingAddressViewController) + @objc public func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didEnter address: Stripe.STPAddress, completion: @escaping Stripe.STPShippingMethodsCompletionBlock) + @objc public func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didFinishWith address: Stripe.STPAddress, shippingMethod method: PassKit.PKShippingMethod?) + @objc public func authenticationPresentingViewController() -> UIKit.UIViewController + @objc public func prepare(forPresentation completion: @escaping StripeApplePay.STPVoidBlock) + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPPaymentContextDelegate : ObjectiveC.NSObjectProtocol { + @objc func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didFailToLoadWithError error: Swift.Error) + @objc func paymentContextDidChange(_ paymentContext: Stripe.STPPaymentContext) + @objc func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didCreatePaymentResult paymentResult: Stripe.STPPaymentResult, completion: @escaping Stripe.STPPaymentStatusBlock) + @objc func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didFinishWith status: Stripe.STPPaymentStatus, error: Swift.Error?) + @objc optional func paymentContext(_ paymentContext: Stripe.STPPaymentContext, didUpdateShippingAddress address: Stripe.STPAddress, completion: @escaping Stripe.STPShippingMethodsCompletionBlock) +} +@_hasMissingDesignatedInitializers @objc(STPAppInfo) public class _stpobjc_STPAppInfo : ObjectiveC.NSObject { + @objc public init(name: Swift.String, partnerId: Swift.String?, version: Swift.String?, url: Swift.String?) + @objc public var name: Swift.String { + @objc get + } + @objc public var partnerId: Swift.String? { + @objc get + } + @objc public var version: Swift.String? { + @objc get + } + @objc public var url: Swift.String? { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +@objc public class STPPaymentIntentShippingDetailsParams : ObjectiveC.NSObject { + @objc public var address: Stripe.STPPaymentIntentShippingDetailsAddressParams + @objc public var name: Swift.String + @objc public var carrier: Swift.String? + @objc public var phone: Swift.String? + @objc public var trackingNumber: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(address: Stripe.STPPaymentIntentShippingDetailsAddressParams, name: Swift.String) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetailsParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +extension STPPaymentIntentShippingDetailsParams : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc @_inheritsConvenienceInitializers public class STPConfirmCardOptions : ObjectiveC.NSObject { + @objc public var cvc: Swift.String? + @objc public var network: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPConfirmCardOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, unavailable, renamed: "STPIntentAction", message: "Use `STPIntentAction` instead.") +@objc final public class STPPaymentIntentSourceAction : Stripe.STPIntentAction { + @objc deinit +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension STPPaymentCardTextField { + public struct Representable : SwiftUI.UIViewRepresentable { + public init(paymentMethodParams: SwiftUI.Binding) + public func makeCoordinator() -> Stripe.STPPaymentCardTextField.Representable.Coordinator + public func makeUIView(context: Stripe.STPPaymentCardTextField.Representable.Context) -> Stripe.STPPaymentCardTextField + public func updateUIView(_ paymentCardField: Stripe.STPPaymentCardTextField, context: Stripe.STPPaymentCardTextField.Representable.Context) + @objc @_hasMissingDesignatedInitializers public class Coordinator : ObjectiveC.NSObject, Stripe.STPPaymentCardTextFieldDelegate { + @objc public func paymentCardTextFieldDidChange(_ cardField: Stripe.STPPaymentCardTextField) + @objc deinit + @objc override dynamic public init() + } + public typealias UIViewType = Stripe.STPPaymentCardTextField + public typealias Body = Swift.Never + } +} +@objc public enum STPSourceRedirectStatus : Swift.Int { + case pending + case succeeded + case failed + case notRequired + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPSourceRedirect : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var returnURL: Foundation.URL { + get + } + @objc public var status: Stripe.STPSourceRedirectStatus { + get + } + @objc public var url: Foundation.URL { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSNavigationBarCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSNavigationBarCustomization + @objc public var barTintColor: UIKit.UIColor? { + @objc get + @objc set(barTintColor) + } + @objc public var barStyle: UIKit.UIBarStyle { + @objc get + @objc set(barStyle) + } + @objc public var translucent: Swift.Bool { + @objc get + @objc set(translucent) + } + @objc public var headerText: Swift.String { + @objc get + @objc set(headerText) + } + @objc public var buttonText: Swift.String { + @objc get + @objc set(buttonText) + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set(textColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSource : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPSourceProtocol, Stripe.STPPaymentOption { + @objc public var amount: Foundation.NSNumber? { + get + } + @objc public var clientSecret: Swift.String? { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var currency: Swift.String? { + get + } + @objc public var flow: Stripe.STPSourceFlow { + get + } + @objc public var livemode: Swift.Bool { + get + } + @objc public var owner: Stripe.STPSourceOwner? { + get + } + @objc public var receiver: Stripe.STPSourceReceiver? { + get + } + @objc public var redirect: Stripe.STPSourceRedirect? { + get + } + @objc public var status: Stripe.STPSourceStatus { + get + } + @objc public var type: Stripe.STPSourceType { + get + } + @objc public var usage: Stripe.STPSourceUsage { + get + } + @objc public var verification: Stripe.STPSourceVerification? { + get + } + @objc public var details: [Swift.AnyHashable : Any]? { + get + } + @objc public var cardDetails: Stripe.STPSourceCardDetails? { + get + } + @objc public var klarnaDetails: Stripe.STPSourceKlarnaDetails? { + get + } + @objc public var sepaDebitDetails: Stripe.STPSourceSEPADebitDetails? { + get + } + @objc public var weChatPayDetails: Stripe.STPSourceWeChatPayDetails? { + get + } + @available(*, deprecated, message: "Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @objc public var stripeID: Swift.String + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc deinit +} +@objc public enum STPFilePurpose : Swift.Int { + case identityDocument + case disputeEvidence + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPFile : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var fileId: Swift.String? { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var purpose: Stripe.STPFilePurpose { + get + } + @objc public var size: Foundation.NSNumber? { + get + } + @objc public var type: Swift.String? { + get + } + @objc(stringFromPurpose:) public class func string(from purpose: Stripe.STPFilePurpose) -> Swift.String? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public protocol STPFormTextFieldContainer : ObjectiveC.NSObjectProtocol { + @objc dynamic var formFont: UIKit.UIFont { get set } + @objc dynamic var formTextColor: UIKit.UIColor { get set } + @objc dynamic var formTextErrorColor: UIKit.UIColor { get set } + @objc dynamic var formPlaceholderColor: UIKit.UIColor { get set } + @objc dynamic var formCursorColor: UIKit.UIColor { get set } + @objc dynamic var formKeyboardAppearance: UIKit.UIKeyboardAppearance { get set } +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBoletoParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var taxID: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc public class STPPushProvisioningContext : ObjectiveC.NSObject { + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public class func requestConfiguration(withName name: Swift.String, description: Swift.String?, last4: Swift.String?, brand: Stripe.STPCardBrand) -> PassKit.PKAddPaymentPassRequestConfiguration + @objc public init(keyProvider: Stripe.STPIssuingCardEphemeralKeyProvider) + @objc public func addPaymentPassViewController(_ controller: PassKit.PKAddPaymentPassViewController, generateRequestWithCertificateChain certificates: [Foundation.Data], nonce: Foundation.Data, nonceSignature: Foundation.Data, completionHandler handler: @escaping (PassKit.PKAddPaymentPassRequest) -> Swift.Void) + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPPaymentHandlerActionStatus : Swift.Int { + case succeeded + case canceled + case failed + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentHandlerErrorCode : Swift.Int { + @objc(STPPaymentHandlerUnsupportedAuthenticationErrorCode) case unsupportedAuthenticationErrorCode + @objc(STPPaymentHandlerRequiredAppNotAvailableErrorCode) case requiredAppNotAvailable + @objc(STPPaymentHandlerRequiresPaymentMethodErrorCode) case requiresPaymentMethodErrorCode + @objc(STPPaymentHandlerIntentStatusErrorCode) case intentStatusErrorCode + @objc(STPPaymentHandlerTimedOutErrorCode) case timedOutErrorCode + @objc(STPPaymentHandlerStripe3DS2ErrorCode) case stripe3DS2ErrorCode + @objc(STPPaymentHandlerNotAuthenticatedErrorCode) case notAuthenticatedErrorCode + @objc(STPPaymentHandlerNoConcurrentActionsErrorCode) case noConcurrentActionsErrorCode + @objc(STPPaymentHandlerRequiresAuthenticationContextErrorCode) case requiresAuthenticationContextErrorCode + @objc(STPPaymentHandlerPaymentErrorCode) case paymentErrorCode + @objc(STPPaymentHandlerInvalidClientSecret) case invalidClientSecret + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +public typealias STPPaymentHandlerActionPaymentIntentCompletionBlock = (Stripe.STPPaymentHandlerActionStatus, Stripe.STPPaymentIntent?, Foundation.NSError?) -> Swift.Void +public typealias STPPaymentHandlerActionSetupIntentCompletionBlock = (Stripe.STPPaymentHandlerActionStatus, Stripe.STPSetupIntent?, Foundation.NSError?) -> Swift.Void +@objc @_hasMissingDesignatedInitializers @available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +public class STPPaymentHandler : ObjectiveC.NSObject, SafariServices.SFSafariViewControllerDelegate { + @objc public static let errorDomain: Swift.String + @objc public static let sharedHandler: Stripe.STPPaymentHandler + @objc public class func shared() -> Stripe.STPPaymentHandler + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public var threeDSCustomizationSettings: Stripe.STPThreeDSCustomizationSettings + @objc public var simulateAppToAppRedirect: Swift.Bool { + @objc get + @objc set + } + @objc(confirmPayment:withAuthenticationContext:completion:) public func confirmPayment(_ paymentParams: Stripe.STPPaymentIntentParams, with authenticationContext: Stripe.STPAuthenticationContext, completion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) + @available(*, deprecated, renamed: "confirmPayment(_:with:completion:)", message: "Use confirmPayment(_:with:completion:) instead") + public func confirmPayment(withParams: Stripe.STPPaymentIntentParams, authenticationContext: Stripe.STPAuthenticationContext, completion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) + @objc(handleNextActionForPayment:withAuthenticationContext:returnURL:completion:) public func handleNextAction(forPayment paymentIntentClientSecret: Swift.String, with authenticationContext: Stripe.STPAuthenticationContext, returnURL: Swift.String?, completion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) + @objc(confirmSetupIntent:withAuthenticationContext:completion:) public func confirmSetupIntent(_ setupIntentConfirmParams: Stripe.STPSetupIntentConfirmParams, with authenticationContext: Stripe.STPAuthenticationContext, completion: @escaping Stripe.STPPaymentHandlerActionSetupIntentCompletionBlock) + @objc(handleNextActionForSetupIntent:withAuthenticationContext:returnURL:completion:) public func handleNextAction(forSetupIntent setupIntentClientSecret: Swift.String, with authenticationContext: Stripe.STPAuthenticationContext, returnURL: Swift.String?, completion: @escaping Stripe.STPPaymentHandlerActionSetupIntentCompletionBlock) + @objc public func safariViewControllerDidFinish(_ controller: SafariServices.SFSafariViewController) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSSelectionCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSSelectionCustomization + @objc public var primarySelectedColor: UIKit.UIColor { + @objc get + @objc set(primarySelectedColor) + } + @objc public var secondarySelectedColor: UIKit.UIColor { + @objc get + @objc set(secondarySelectedColor) + } + @objc public var unselectedBackgroundColor: UIKit.UIColor { + @objc get + @objc set(unselectedBackgroundColor) + } + @objc public var unselectedBorderColor: UIKit.UIColor { + @objc get + @objc set(unselectedBorderColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPPaymentMethodType : Swift.Int { + case card + case alipay + case grabPay + @objc(STPPaymentMethodTypeiDEAL) case iDEAL + case FPX + case cardPresent + @objc(STPPaymentMethodTypeSEPADebit) case SEPADebit + @objc(STPPaymentMethodTypeAUBECSDebit) case AUBECSDebit + case bacsDebit + case giropay + case przelewy24 + @objc(STPPaymentMethodTypeEPS) case EPS + case bancontact + case netBanking + @objc(STPPaymentMethodTypeOXXO) case OXXO + case sofort + case UPI + case payPal + case afterpayClearpay + @objc(STPPaymentMethodTypeBLIK) case blik + case weChatPay + case boleto + case link + case klarna + case linkInstantDebit + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPUserInformation : ObjectiveC.NSObject, Foundation.NSCopying { + @objc public var billingAddress: Stripe.STPAddress? + @objc public var shippingAddress: Stripe.STPAddress? + @objc(setBillingAddressWithBillingDetails:) public func setBillingAddress(with billingDetails: Stripe.STPPaymentMethodBillingDetails) + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPFakeAddPaymentPassViewController : UIKit.UIViewController { + @objc public class func canAddPaymentPass() -> Swift.Bool + @objc(initWithRequestConfiguration:delegate:) required public init?(requestConfiguration configuration: PassKit.PKAddPaymentPassRequestConfiguration, delegate: PassKit.PKAddPaymentPassViewControllerDelegate?) + @objc weak public var delegate: PassKit.PKAddPaymentPassViewControllerDelegate? + @objc convenience override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required convenience dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public func viewDidLoad() + @objc deinit +} +@objc public enum STPSourceCard3DSecureStatus : Swift.Int { + case required + case optional + case notSupported + case recommended + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPSourceCardDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var last4: Swift.String? { + get + } + @objc public var expMonth: Swift.UInt { + get + } + @objc public var expYear: Swift.UInt { + get + } + @objc public var brand: Stripe.STPCardBrand { + get + } + @objc public var funding: Stripe.STPCardFundingType { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var threeDSecure: Stripe.STPSourceCard3DSecureStatus { + get + } + @objc public var isApplePayCard: Swift.Bool { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPIssuingCardPin : ObjectiveC.NSObject { + @objc final public let pin: Swift.String? + @objc final public let error: [Swift.AnyHashable : Any]? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc deinit +} +extension STPIssuingCardPin : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodThreeDSecureUsage : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var supported: Swift.Bool { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionBoletoDisplayDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let number: Swift.String + @objc final public let expiresAt: Foundation.Date + @objc final public let hostedVoucherURL: Foundation.URL + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc(_stpinternal_apContextDelegate) public protocol STPApplePayContextDelegate : StripeApplePay._stpinternal_STPApplePayContextDelegateBase { + @objc(applePayContext:didCreatePaymentMethod:paymentInformation:completion:) func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, paymentInformation: PassKit.PKPayment, completion: @escaping StripeApplePay.STPIntentClientSecretCompletionBlock) + @objc(applePayContext:didCompleteWithStatus:error:) func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCompleteWith status: Stripe.STPPaymentStatus, error: Swift.Error?) +} +@objc(STPApplePayContextDelegate) public protocol _stpobjc_APContextDelegate : ObjectiveC.NSObjectProtocol { + @objc(applePayContext:didCreatePaymentMethod:paymentInformation:completion:) func applePayContext(_ context: Stripe._stpobjc_APContext, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, paymentInformation: PassKit.PKPayment, completion: @escaping StripeApplePay.STPIntentClientSecretCompletionBlock) + @objc(applePayContext:didCompleteWithStatus:error:) func applePayContext(_ context: Stripe._stpobjc_APContext, didCompleteWith status: Stripe.STPPaymentStatus, error: Swift.Error?) + @objc(applePayContext:didSelectShippingMethod:handler:) optional func applePayContext(_ context: Stripe._stpobjc_APContext, didSelect shippingMethod: PassKit.PKShippingMethod, handler: @escaping (PassKit.PKPaymentRequestShippingMethodUpdate) -> Swift.Void) + @objc optional func applePayContext(_ context: Stripe._stpobjc_APContext, didSelectShippingContact contact: PassKit.PKContact, handler: @escaping (PassKit.PKPaymentRequestShippingContactUpdate) -> Swift.Void) +} +@_hasMissingDesignatedInitializers @objc(STPApplePayContext) public class _stpobjc_APContext : ObjectiveC.NSObject { + @objc(initWithPaymentRequest:delegate:) required public init?(paymentRequest: PassKit.PKPaymentRequest, delegate: Stripe._stpobjc_APContextDelegate?) + @available(*, deprecated, renamed: "presentApplePay(completion:)", message: "Use `presentApplePay(completion:)` instead.") + @objc(presentApplePayOnViewController:completion:) public func presentApplePay(on viewController: UIKit.UIViewController, completion: StripeApplePay.STPVoidBlock? = nil) + @available(iOSApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + @available(macCatalystApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + @objc(presentApplePayWithCompletion:) public func presentApplePay(completion: StripeApplePay.STPVoidBlock? = nil) + @objc(presentApplePayFromWindow:withCompletion:) public func presentApplePay(from window: UIKit.UIWindow?, completion: StripeApplePay.STPVoidBlock? = nil) + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPCoreViewController : UIKit.UIViewController { + @objc convenience dynamic public init() + @objc required public init(theme: Stripe.STPTheme?) + @objc required override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public func viewDidLoad() + @objc override dynamic public func viewWillAppear(_ animated: Swift.Bool) + @objc override dynamic public func viewWillDisappear(_ animated: Swift.Bool) + @objc override dynamic public var preferredStatusBarStyle: UIKit.UIStatusBarStyle { + @objc get + } + @objc deinit +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension View { + public func paymentConfirmationSheet(isConfirmingPayment: SwiftUI.Binding, paymentIntentParams: Stripe.STPPaymentIntentParams, onCompletion: @escaping Stripe.STPPaymentHandlerActionPaymentIntentCompletionBlock) -> some SwiftUI.View + + public func setupIntentConfirmationSheet(isConfirmingSetupIntent: SwiftUI.Binding, setupIntentParams: Stripe.STPSetupIntentConfirmParams, onCompletion: @escaping Stripe.STPPaymentHandlerActionSetupIntentCompletionBlock) -> some SwiftUI.View + +} +@objc @_inheritsConvenienceInitializers public class STPPaymentConfiguration : ObjectiveC.NSObject, Foundation.NSCopying { + @objc(sharedConfiguration) public static var shared: Stripe.STPPaymentConfiguration + @objc public var applePayEnabled: Swift.Bool { + @objc get + @objc set + } + @objc public var fpxEnabled: Swift.Bool + @objc public var requiredBillingAddressFields: Stripe.STPBillingAddressFields + @objc public var requiredShippingAddressFields: Swift.Set? + @objc public var verifyPrefilledShippingAddress: Swift.Bool + @objc public var shippingType: Stripe.STPShippingType + @objc public var availableCountries: Swift.Set + @objc public var companyName: Swift.String + @objc public var appleMerchantIdentifier: Swift.String? + @objc public var canDeletePaymentOptions: Swift.Bool + @objc public var cardScanningEnabled: Swift.Bool + @available(*, deprecated, message: "additionalPaymentOptions has been removed. Set applePayEnabled and fpxEnabled on STPPaymentConfiguration instead.") + @objc public var additionalPaymentOptions: Swift.Int + @available(*, deprecated, message: "If you used STPPaymentConfiguration.shared.publishableKey, use STPAPIClient.shared.publishableKey instead. If you passed a STPPaymentConfiguration instance to an SDK component, create an STPAPIClient, set publishableKey on it, and set the SDK component's APIClient property.") + @objc public var publishableKey: Swift.String? { + @objc get + @objc set(publishableKey) + } + @available(*, deprecated, message: "If you used STPPaymentConfiguration.shared.stripeAccount, use STPAPIClient.shared.stripeAccount instead. If you passed a STPPaymentConfiguration instance to an SDK component, create an STPAPIClient, set stripeAccount on it, and set the SDK component's APIClient property.") + @objc public var stripeAccount: Swift.String? { + @objc get + @objc set(stripeAccount) + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodNetBanking : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var bank: Swift.String { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPConfirmPaymentMethodOptions : ObjectiveC.NSObject { + @objc public var cardOptions: Stripe.STPConfirmCardOptions? + @objc public var alipayOptions: Stripe.STPConfirmAlipayOptions? + @objc public var blikOptions: Stripe.STPConfirmBLIKOptions? + @objc public var weChatPayOptions: Stripe.STPConfirmWeChatPayOptions? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPConfirmPaymentMethodOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAddress : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var city: Swift.String? + @objc public var country: Swift.String? + @objc public var line1: Swift.String? + @objc public var line2: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var state: Swift.String? + @objc public init(address: Stripe.STPAddress) + @objc required override dynamic public init() + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceOwner : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var address: Stripe.STPAddress? { + get + } + @objc public var email: Swift.String? { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var phone: Swift.String? { + get + } + @objc public var verifiedAddress: Stripe.STPAddress? { + get + } + @objc public var verifiedEmail: Swift.String? { + get + } + @objc public var verifiedName: Swift.String? { + get + } + @objc public var verifiedPhone: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public protocol STPPaymentOption : ObjectiveC.NSObjectProtocol { + @objc var image: UIKit.UIImage { get } + @objc var templateImage: UIKit.UIImage { get } + @objc var label: Swift.String { get } + @objc var isReusable: Swift.Bool { get } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentActivityIndicatorView : UIKit.UIView { + @objc public func setAnimating(_ animating: Swift.Bool, animated: Swift.Bool) + @objc public var animating: Swift.Bool { + @objc get + @objc set(animating) + } + @objc public var hidesWhenStopped: Swift.Bool { + @objc get + @objc set(hidesWhenStopped) + } + @objc override dynamic public var tintColor: UIKit.UIColor! { + @objc get + @objc set(tintColor) + } + @objc override dynamic public func layoutSubviews() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodEPSParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers final public class STPTheme : ObjectiveC.NSObject { + @objc public static let defaultTheme: Stripe.STPTheme + @available(*, deprecated, renamed: "defaultTheme", message: "Use defaultTheme instead") + public static func `default`() -> Stripe.STPTheme + @objc final public var primaryBackgroundColor: UIKit.UIColor + @objc final public var secondaryBackgroundColor: UIKit.UIColor + @objc final public var tertiaryBackgroundColor: UIKit.UIColor { + @objc get + } + @objc final public var quaternaryBackgroundColor: UIKit.UIColor { + @objc get + } + @objc final public var primaryForegroundColor: UIKit.UIColor + @objc final public var secondaryForegroundColor: UIKit.UIColor + @objc final public var tertiaryForegroundColor: UIKit.UIColor { + @objc get + } + @objc final public var accentColor: UIKit.UIColor + @objc final public var errorColor: UIKit.UIColor + @objc final public var font: UIKit.UIFont { + @objc get + @objc set + } + @objc final public var emphasisFont: UIKit.UIFont { + @objc get + @objc set + } + @objc final public var barStyle: UIKit.UIBarStyle { + @objc get + @objc set + } + @objc final public var translucentNavigationBar: Swift.Bool + @objc final public var smallFont: UIKit.UIFont { + @objc get + } + @objc final public var largeFont: UIKit.UIFont { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPTheme : Foundation.NSCopying { + @objc final public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc public protocol STPAuthenticationContext : ObjectiveC.NSObjectProtocol { + @objc func authenticationPresentingViewController() -> UIKit.UIViewController + @objc(prepareAuthenticationContextForPresentation:) optional func prepare(forPresentation completion: @escaping StripeApplePay.STPVoidBlock) + @objc optional func configureSafariViewController(_ viewController: SafariServices.SFSafariViewController) + @objc(authenticationContextWillDismissViewController:) optional func authenticationContextWillDismiss(_ viewController: UIKit.UIViewController) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodiDEAL : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var bankName: Swift.String? { + get + } + @objc public var bankIdentifierCode: Swift.String? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public class STPPinManagementService : ObjectiveC.NSObject { + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public init(keyProvider: Stripe.STPIssuingCardEphemeralKeyProvider) + @objc public func retrievePin(_ cardId: Swift.String, verificationId: Swift.String, oneTimeCode: Swift.String, completion: @escaping Stripe.STPPinCompletionBlock) + @objc public func updatePin(_ cardId: Swift.String, newPin: Swift.String, verificationId: Swift.String, oneTimeCode: Swift.String, completion: @escaping Stripe.STPPinCompletionBlock) + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPAddCardViewController : Stripe.STPCoreTableViewController, Stripe.STPPaymentCardTextFieldDelegate, UIKit.UITableViewDelegate, UIKit.UITableViewDataSource { + @objc convenience dynamic public init() + @objc(initWithConfiguration:theme:) public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme) + @objc weak public var delegate: Stripe.STPAddCardViewControllerDelegate? + @objc public var prefilledInformation: Stripe.STPUserInformation? + @objc public var customFooterView: UIKit.UIView? { + @objc get + @objc set(footerView) + } + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc public func tableView(_ tableView: UIKit.UITableView, estimatedHeightForRowAt indexPath: Foundation.IndexPath) -> CoreGraphics.CGFloat + @objc override dynamic public func viewDidLayoutSubviews() + @objc public func updateAppearance() + @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool) + @objc public func handleCancelTapped(_ sender: Any?) + @objc public func paymentCardTextFieldDidChange(_ textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldWillEndEditing(forReturn textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldDidBeginEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldDidEndEditingCVC(_ textField: Stripe.STPPaymentCardTextField) + @objc public func paymentCardTextFieldDidBeginEditing(_ textField: Stripe.STPPaymentCardTextField) + @objc public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int + @objc public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell + @objc public func tableView(_ tableView: UIKit.UITableView, willDisplay cell: UIKit.UITableViewCell, forRowAt indexPath: Foundation.IndexPath) + @objc public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc override public func tableView(_ tableView: UIKit.UITableView, heightForHeaderInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc public func tableView(_ tableView: UIKit.UITableView, viewForHeaderInSection section: Swift.Int) -> UIKit.UIView? + @objc public func tableView(_ tableView: UIKit.UITableView, viewForFooterInSection section: Swift.Int) -> UIKit.UIView? + @objc override dynamic public func viewWillTransition(to size: CoreGraphics.CGSize, with coordinator: UIKit.UIViewControllerTransitionCoordinator) + @objc deinit +} +@objc public protocol STPAddCardViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc func addCardViewControllerDidCancel(_ addCardViewController: Stripe.STPAddCardViewController) + @objc func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, completion: @escaping Stripe.STPErrorBlock) + @available(*, deprecated, renamed: "addCardViewController(_:didCreatePaymentMethod:completion:)", message: "Use addCardViewController(_:didCreatePaymentMethod:completion:) instead and migrate your integration to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read") + @objc optional func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreateToken token: Stripe.STPToken, completion: (Swift.Error?) -> Swift.Void) + @available(*, deprecated, renamed: "addCardViewController(_:didCreatePaymentMethod:completion:)", message: "Use addCardViewController(_:didCreatePaymentMethod:completion:) instead and migrate your integration to PaymentIntents. See https://stripe.com/docs/payments/payment-intents/migration/charges#read") + @objc optional func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreateSource source: Stripe.STPSource, completion: (Swift.Error?) -> Swift.Void) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentOptionsViewController : Stripe.STPCoreViewController, Stripe.STPAddCardViewControllerDelegate { + @objc(initWithPaymentContext:) convenience public init(paymentContext: Stripe.STPPaymentContext) + @objc(initWithConfiguration:theme:customerContext:delegate:) convenience public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme, customerContext: Stripe.STPCustomerContext, delegate: Stripe.STPPaymentOptionsViewControllerDelegate) + @objc(initWithConfiguration:theme:apiAdapter:delegate:) public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme, apiAdapter: Stripe.STPBackendAPIAdapter, delegate: Stripe.STPPaymentOptionsViewControllerDelegate) + @objc public var prefilledInformation: Stripe.STPUserInformation? + @objc public var defaultPaymentMethod: Swift.String? + @objc public var paymentOptionsViewControllerFooterView: UIKit.UIView? + @objc public var addCardViewControllerFooterView: UIKit.UIView? + public var apiClient: StripeCore.STPAPIClient + @available(swift, deprecated: 0.0.1, renamed: "apiClient") + @objc(apiClient) public var _objc_apiClient: Stripe._stpobjc_STPAPIClient { + @objc get + @objc set + } + @objc(dismissWithCompletion:) public func dismiss(withCompletion completion: StripeApplePay.STPVoidBlock?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required public init(theme: Stripe.STPTheme?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc override dynamic public func viewDidLayoutSubviews() + @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool) + @objc public func addCardViewControllerDidCancel(_ addCardViewController: Stripe.STPAddCardViewController) + @objc public func addCardViewController(_ addCardViewController: Stripe.STPAddCardViewController, didCreatePaymentMethod paymentMethod: Stripe.STPPaymentMethod, completion: @escaping Stripe.STPErrorBlock) + @objc deinit +} +@objc public protocol STPPaymentOptionsViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didFailToLoadWithError error: Swift.Error) + @objc func paymentOptionsViewControllerDidFinish(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc func paymentOptionsViewControllerDidCancel(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController) + @objc(paymentOptionsViewController:didSelectPaymentOption:) optional func paymentOptionsViewController(_ paymentOptionsViewController: Stripe.STPPaymentOptionsViewController, didSelect paymentOption: Stripe.STPPaymentOption) +} +@frozen public enum PaymentSheetResult { + case completed + case canceled + case failed(error: Swift.Error) +} +@_hasMissingDesignatedInitializers public class PaymentSheet { + final public let configuration: Stripe.PaymentSheet.Configuration + public var mostRecentError: Swift.Error? { + get + } + convenience public init(paymentIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration) + convenience public init(setupIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration) + @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public func present(from presentingViewController: UIKit.UIViewController, completion: @escaping (Stripe.PaymentSheetResult) -> ()) + @objc deinit +} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +@objc(STPErrorCode) public enum _stpobjc_STPErrorCode : Swift.Int { + @objc(STPConnectionError) case connectionError = 40 + @objc(STPInvalidRequestError) case invalidRequestError = 50 + @objc(STPAuthenticationError) case authenticationError = 51 + @objc(STPAPIError) case apiError = 60 + @objc(STPCardError) case cardError = 70 + @objc(STPCancellationError) case cancellationError = 80 + @objc(STPEphemeralKeyDecodingError) case ephemeralKeyDecodingError = 1000 + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @available(swift, deprecated: 0.0.1, renamed: "STPError") +@objc(STPError) public class _stpobjc_STPError : ObjectiveC.NSObject { + @objc public static let stripeDomain: Swift.String + @objc public static let errorMessageKey: Swift.String + @objc public static let hintKey: Swift.String + @objc public static let cardErrorCodeKey: Swift.String + @objc public static let errorParameterKey: Swift.String + @objc public static let stripeErrorCodeKey: Swift.String + @objc public static let stripeErrorTypeKey: Swift.String + @objc public static let stripeDeclineCodeKey: Swift.String + @objc public static let invalidNumber: Swift.String + @objc public static let invalidExpMonth: Swift.String + @objc public static let invalidExpYear: Swift.String + @objc public static let invalidCVC: Swift.String + @objc public static let incorrectNumber: Swift.String + @objc public static let expiredCard: Swift.String + @objc public static let cardDeclined: Swift.String + @objc public static let processingError: Swift.String + @objc public static let incorrectCVC: Swift.String + @objc public static let incorrectZip: Swift.String + @objc deinit + @objc override dynamic public init() +} +@objc extension NSError { + @available(swift, deprecated: 0.0.1, renamed: "stp_error(fromStripeResponse:)") + @objc(stp_errorFromStripeResponse:) public static func _stpobjc_stp_error(fromStripeResponse jsonDictionary: [Swift.AnyHashable : Any]?) -> Foundation.NSError? +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionOXXODisplayDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let expiresAfter: Foundation.Date + @objc final public let hostedVoucherURL: Foundation.URL + @objc final public let number: Swift.String + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public static func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc deinit + @objc override dynamic public init() +} +extension StripeAPI { + @available(*, deprecated, message: "Use `paymentRequestWithMerchantIdentifier:country:currency:` instead.") + public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String) -> PassKit.PKPaymentRequest +} +@available(*, deprecated, message: "Use StripeAPI.defaultPublishableKey instead. (StripeAPI.defaultPublishableKey = \"pk_12345_xyzabc\")") +public func setDefaultPublishableKey(_ publishableKey: Swift.String) +@available(*, deprecated, message: "Use StripeAPI.advancedFraudSignalsEnabled instead.") +public var advancedFraudSignalsEnabled: Swift.Bool { + get + set +} +@available(*, deprecated, message: "Use StripeAPI.jcbPaymentNetworkSupported instead.") +public var jcbPaymentNetworkSupported: Swift.Bool { + get + set +} +@available(*, deprecated, message: "Use StripeAPI.additionalEnabledApplePayNetworks instead.") +public var additionalEnabledApplePayNetworks: [PassKit.PKPaymentNetwork] { + get + set +} +@available(*, deprecated, message: "Use StripeAPI.canSubmitPaymentRequest(_:) instead.") +public func canSubmitPaymentRequest(_ paymentRequest: PassKit.PKPaymentRequest) -> Swift.Bool +@available(*, deprecated, message: "Use StripeAPI.deviceSupportsApplePay() instead.") +public func deviceSupportsApplePay() -> Swift.Bool +@available(*, deprecated, message: "Use StripeAPI.paymentRequest(withMerchantIdentifier:country:currency:) instead.") +public func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String, country countryCode: Swift.String, currency currencyCode: Swift.String) -> PassKit.PKPaymentRequest +@available(*, deprecated, message: "Use StripeAPI.handleURLCallback(with:) instead.") +public func handleURLCallback(with url: Foundation.URL) -> Swift.Bool +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBoleto : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let taxID: Swift.String + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension View { + public func paymentSheet(isPresented: SwiftUI.Binding, paymentSheet: Stripe.PaymentSheet, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void) -> some SwiftUI.View + + public func paymentOptionsSheet(isPresented: SwiftUI.Binding, paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onSheetDismissed: (() -> Swift.Void)?) -> some SwiftUI.View + + public func paymentConfirmationSheet(isConfirming: SwiftUI.Binding, paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void) -> some SwiftUI.View + + @available(*, deprecated, renamed: "paymentConfirmationSheet(isConfirming:paymentSheetFlowController:onCompletion:)") + public func paymentConfirmationSheet(isConfirmingPayment: SwiftUI.Binding, paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void) -> some SwiftUI.View + +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension PaymentSheet { + public struct PaymentButton : SwiftUI.View where Content : SwiftUI.View { + public init(paymentSheet: Stripe.PaymentSheet, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void, @SwiftUI.ViewBuilder content: () -> Content) + public var body: some SwiftUI.View { + get + } + public typealias Body = @_opaqueReturnTypeOf("$s6Stripe12PaymentSheetC0B6ButtonV4bodyQrvp", 0) 🦸 + } +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension PaymentSheet.FlowController { + public struct PaymentOptionsButton : SwiftUI.View where Content : SwiftUI.View { + public init(paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onSheetDismissed: @escaping () -> Swift.Void, @SwiftUI.ViewBuilder content: () -> Content) + public var body: some SwiftUI.View { + get + } + public typealias Body = @_opaqueReturnTypeOf("$s6Stripe12PaymentSheetC14FlowControllerC0B13OptionsButtonV4bodyQrvp", 0) 🦸 + } + @available(*, deprecated, renamed: "ConfirmButton") + public typealias ConfirmPaymentButton = Stripe.PaymentSheet.FlowController.ConfirmButton + public struct ConfirmButton : SwiftUI.View where Content : SwiftUI.View { + public init(paymentSheetFlowController: Stripe.PaymentSheet.FlowController, onCompletion: @escaping (Stripe.PaymentSheetResult) -> Swift.Void, @SwiftUI.ViewBuilder content: () -> Content) + public var body: some SwiftUI.View { + get + } + public typealias Body = @_opaqueReturnTypeOf("$s6Stripe12PaymentSheetC14FlowControllerC13ConfirmButtonV4bodyQrvp", 0) 🦸 + } +} +@objc public enum STPCardFundingType : Swift.Int { + case debit + case credit + case prepaid + case other + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPCard : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPPaymentOption, Stripe.STPSourceProtocol { + @objc public var last4: Swift.String { + get + } + @objc public var dynamicLast4: Swift.String? { + get + } + @objc public var isApplePayCard: Swift.Bool { + @objc get + } + @objc public var expMonth: Swift.Int { + get + } + @objc public var expYear: Swift.Int { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var address: Stripe.STPAddress? { + get + } + @objc public var brand: Stripe.STPCardBrand { + get + } + @objc public var funding: Stripe.STPCardFundingType { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var currency: Swift.String? { + get + } + @objc(stringFromBrand:) public class func string(from brand: Stripe.STPCardBrand) -> Swift.String + @objc(brandFromString:) public class func brand(from string: Swift.String) -> Stripe.STPCardBrand + @available(*, deprecated, message: "You cannot directly instantiate an STPCard. You should only use one that has been returned from an STPAPIClient callback.") + @objc(initWithID:brand:last4:expMonth:expYear:funding:) public init(id cardID: Swift.String, brand: Stripe.STPCardBrand, last4: Swift.String, expMonth: Swift.Int, expYear: Swift.Int, funding: Stripe.STPCardFundingType) + @objc(fundingFromString:) public class func funding(from string: Swift.String) -> Stripe.STPCardFundingType + @objc public var stripeID: Swift.String + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ other: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @available(*, deprecated, message: "Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using yoursecret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @available(*, deprecated, message: "Use stripeID (defined in STPSourceProtocol)") + @objc public var cardId: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.line1") + @objc public var addressLine1: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.line2") + @objc public var addressLine2: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.city") + @objc public var addressCity: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.state") + @objc public var addressState: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.postalCode") + @objc public var addressZip: Swift.String? { + @objc get + } + @available(*, deprecated, message: "Use address.country") + @objc public var addressCountry: Swift.String? { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodCardParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc convenience public init(cardSourceParams: Stripe.STPCardParams) + @objc required override dynamic public init() + @objc public var number: Swift.String? + @objc public var expMonth: Foundation.NSNumber? + @objc public var expYear: Foundation.NSNumber? + @objc public var token: Swift.String? + @objc public var cvc: Swift.String? + @objc public var last4: Swift.String? { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public func isEqual(_ other: Any?) -> Swift.Bool + @objc deinit +} +@objc public class STPPushProvisioningDetailsParams : ObjectiveC.NSObject { + @objc public var cardId: Swift.String { + get + } + @objc public var certificates: [Foundation.Data] { + get + } + @objc public var nonce: Foundation.Data { + get + } + @objc public var nonceSignature: Foundation.Data { + get + } + @objc public var certificatesBase64: [Swift.String] { + @objc get + } + @objc public var nonceHex: Swift.String { + @objc get + } + @objc public var nonceSignatureHex: Swift.String { + @objc get + } + @objc required public init(cardId: Swift.String, certificates: [Foundation.Data], nonce: Foundation.Data, nonceSignature: Foundation.Data) + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountAddress : ObjectiveC.NSObject { + @objc public var city: Swift.String? + @objc public var country: Swift.String? + @objc public var line1: Swift.String? + @objc public var line2: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var state: Swift.String? + @objc public var town: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountAddress : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPConfirmAlipayOptions : ObjectiveC.NSObject { + @objc public var appBundleID: Swift.String { + @objc get + } + @objc public var appVersionKey: Swift.String { + @objc get + } + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConfirmAlipayOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPPaymentMethodCardWalletType : Swift.Int { + case amexExpressCheckout + case applePay + case googlePay + case masterpass + case samsungPay + case visaCheckout + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardWallet : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var type: Stripe.STPPaymentMethodCardWalletType { + get + } + @objc public var masterpass: Stripe.STPPaymentMethodCardWalletMasterpass? { + get + } + @objc public var visaCheckout: Stripe.STPPaymentMethodCardWalletVisaCheckout? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +extension PaymentSheet { + @available(iOS 13.0, *) + public enum UserInterfaceStyle : Swift.Int { + case automatic + case alwaysLight + case alwaysDark + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } + } + public enum SavePaymentMethodOptInBehavior { + case automatic + case requiresOptIn + case requiresOptOut + public static func == (a: Stripe.PaymentSheet.SavePaymentMethodOptInBehavior, b: Stripe.PaymentSheet.SavePaymentMethodOptInBehavior) -> Swift.Bool + public var hashValue: Swift.Int { + get + } + public func hash(into hasher: inout Swift.Hasher) + } + public struct Configuration { + public var allowsDelayedPaymentMethods: Swift.Bool + public var apiClient: StripeCore.STPAPIClient + public var applePay: Stripe.PaymentSheet.ApplePayConfiguration? + public var primaryButtonColor: UIKit.UIColor + @available(iOS 13.0, *) + public var style: Stripe.PaymentSheet.UserInterfaceStyle { + get + set + } + public var customer: Stripe.PaymentSheet.CustomerConfiguration? + public var merchantDisplayName: Swift.String + public var returnURL: Swift.String? + public init() + public var defaultBillingDetails: Stripe.PaymentSheet.BillingDetails + public var savePaymentMethodOptInBehavior: Stripe.PaymentSheet.SavePaymentMethodOptInBehavior + } + public struct CustomerConfiguration { + public let id: Swift.String + public let ephemeralKeySecret: Swift.String + public init(id: Swift.String, ephemeralKeySecret: Swift.String) + } + public struct ApplePayConfiguration { + public let merchantId: Swift.String + public let merchantCountryCode: Swift.String + public init(merchantId: Swift.String, merchantCountryCode: Swift.String) + } + public struct Address { + public var city: Swift.String? + public var country: Swift.String? + public var line1: Swift.String? + public var line2: Swift.String? + public var postalCode: Swift.String? + public var state: Swift.String? + public init(city: Swift.String? = nil, country: Swift.String? = nil, line1: Swift.String? = nil, line2: Swift.String? = nil, postalCode: Swift.String? = nil, state: Swift.String? = nil) + } + public struct BillingDetails { + public var address: Stripe.PaymentSheet.Address + public var email: Swift.String? + public var name: Swift.String? + public var phone: Swift.String? + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodLink : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPBackendAPIAdapter : ObjectiveC.NSObjectProtocol { + @objc func retrieveCustomer(_ completion: Stripe.STPCustomerCompletionBlock?) + @objc func listPaymentMethodsForCustomer(completion: Stripe.STPPaymentMethodsCompletionBlock?) + @objc func attachPaymentMethod(toCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc optional func detachPaymentMethod(fromCustomer paymentMethod: Stripe.STPPaymentMethod, completion: Stripe.STPErrorBlock?) + @objc optional func updateCustomer(withShippingAddress shipping: Stripe.STPAddress, completion: Stripe.STPErrorBlock?) +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntentShippingDetailsAddress : ObjectiveC.NSObject { + @objc final public let city: Swift.String? + @objc final public let country: Swift.String? + @objc final public let line1: Swift.String? + @objc final public let line2: Swift.String? + @objc final public let postalCode: Swift.String? + @objc final public let state: Swift.String? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetailsAddress : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntentShippingDetails : ObjectiveC.NSObject { + @objc final public let address: Stripe.STPPaymentIntentShippingDetailsAddress? + @objc final public let name: Swift.String? + @objc final public let carrier: Swift.String? + @objc final public let phone: Swift.String? + @objc final public let trackingNumber: Swift.String? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetails : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc public enum STPCardBrand : Swift.Int { + case visa + case amex + case mastercard + case discover + case JCB + case dinersClub + case unionPay + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@_inheritsConvenienceInitializers @available(*, deprecated, message: "STPStringFromCardBrand has been replaced with STPCardBrandUtilities.stringFrom(brand)") +@objc public class STPStringFromCardBrand : ObjectiveC.NSObject { + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPCardBrandUtilities : ObjectiveC.NSObject { + @objc(stringFromCardBrand:) public static func stringFrom(_ brand: Stripe.STPCardBrand) -> Swift.String? + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPCustomerEphemeralKeyProvider : ObjectiveC.NSObjectProtocol { + @objc(createCustomerKeyWithAPIVersion:completion:) func createCustomerKey(withAPIVersion apiVersion: Swift.String, completion: @escaping Stripe.STPJSONResponseCompletionBlock) +} +@objc public protocol STPIssuingCardEphemeralKeyProvider : ObjectiveC.NSObjectProtocol { + @objc(createIssuingCardKeyWithAPIVersion:completion:) func createIssuingCardKey(withAPIVersion apiVersion: Swift.String, completion: @escaping Stripe.STPJSONResponseCompletionBlock) +} +@available(*, deprecated, message: "use `STPCustomerEphemeralKeyProvider` or `STPIssuingCardEphemeralKeyProvider` depending on the type of key that will be fetched.") +@objc public protocol STPEphemeralKeyProvider : Stripe.STPCustomerEphemeralKeyProvider { +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBacsDebit : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var sortCode: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPBankAccountStatus : Swift.Int { + case new + case validated + case verified + case verificationFailed + case errored + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPBankAccount : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPSourceProtocol { + @objc public var routingNumber: Swift.String? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var currency: Swift.String? { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var bankName: Swift.String? { + get + } + @objc public var accountHolderName: Swift.String? { + get + } + @objc public var accountHolderType: Stripe.STPBankAccountHolderType { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var status: Stripe.STPBankAccountStatus { + get + } + @available(*, deprecated, message: "Use stripeID (defined in STPSourceProtocol)") + @objc public var bankAccountId: Swift.String? { + @objc get + } + @objc public var stripeID: Swift.String { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public func isEqual(_ bankAccount: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodSEPADebitParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var iban: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodParams : ObjectiveC.NSObject, Stripe.STPFormEncodable, Stripe.STPPaymentOption { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var type: Stripe.STPPaymentMethodType { + @objc get + @objc set(newType) + } + @objc public var rawTypeString: Swift.String? + @objc public var billingDetails: Stripe.STPPaymentMethodBillingDetails? + @objc public var card: Stripe.STPPaymentMethodCardParams? + @objc public var alipay: Stripe.STPPaymentMethodAlipayParams? + @objc public var iDEAL: Stripe.STPPaymentMethodiDEALParams? + @objc public var fpx: Stripe.STPPaymentMethodFPXParams? + @objc public var sepaDebit: Stripe.STPPaymentMethodSEPADebitParams? + @objc public var bacsDebit: Stripe.STPPaymentMethodBacsDebitParams? + @objc public var auBECSDebit: Stripe.STPPaymentMethodAUBECSDebitParams? + @objc public var giropay: Stripe.STPPaymentMethodGiropayParams? + @objc public var payPal: Stripe.STPPaymentMethodPayPalParams? + @objc public var przelewy24: Stripe.STPPaymentMethodPrzelewy24Params? + @objc public var eps: Stripe.STPPaymentMethodEPSParams? + @objc public var bancontact: Stripe.STPPaymentMethodBancontactParams? + @objc public var netBanking: Stripe.STPPaymentMethodNetBankingParams? + @objc public var oxxo: Stripe.STPPaymentMethodOXXOParams? + @objc public var sofort: Stripe.STPPaymentMethodSofortParams? + @objc public var upi: Stripe.STPPaymentMethodUPIParams? + @objc public var grabPay: Stripe.STPPaymentMethodGrabPayParams? + @objc public var afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpayParams? + @objc public var blik: Stripe.STPPaymentMethodBLIKParams? + @objc public var boleto: Stripe.STPPaymentMethodBoletoParams? + @objc public var link: Stripe.STPPaymentMethodLinkParams? + @objc public var klarna: Stripe.STPPaymentMethodKlarnaParams? + @objc public var metadata: [Swift.String : Swift.String]? + @objc convenience public init(card: Stripe.STPPaymentMethodCardParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(iDEAL: Stripe.STPPaymentMethodiDEALParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(fpx: Stripe.STPPaymentMethodFPXParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(sepaDebit: Stripe.STPPaymentMethodSEPADebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(bacsDebit: Stripe.STPPaymentMethodBacsDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(aubecsDebit auBECSDebit: Stripe.STPPaymentMethodAUBECSDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(giropay: Stripe.STPPaymentMethodGiropayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(eps: Stripe.STPPaymentMethodEPSParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(przelewy24: Stripe.STPPaymentMethodPrzelewy24Params, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(bancontact: Stripe.STPPaymentMethodBancontactParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(netBanking: Stripe.STPPaymentMethodNetBankingParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(grabPay: Stripe.STPPaymentMethodGrabPayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(oxxo: Stripe.STPPaymentMethodOXXOParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(sofort: Stripe.STPPaymentMethodSofortParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(upi: Stripe.STPPaymentMethodUPIParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(alipay: Stripe.STPPaymentMethodAlipayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(payPal: Stripe.STPPaymentMethodPayPalParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(blik: Stripe.STPPaymentMethodBLIKParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(boleto: Stripe.STPPaymentMethodBoletoParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init(klarna: Stripe.STPPaymentMethodKlarnaParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) + @objc convenience public init?(singleUsePaymentMethod paymentMethod: Stripe.STPPaymentMethod) + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +@objc extension STPPaymentMethodParams { + @objc(paramsWithCard:billingDetails:metadata:) dynamic public class func paramsWith(card: Stripe.STPPaymentMethodCardParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithiDEAL:billingDetails:metadata:) dynamic public class func paramsWith(iDEAL: Stripe.STPPaymentMethodiDEALParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithFPX:billingDetails:metadata:) dynamic public class func paramsWith(fpx: Stripe.STPPaymentMethodFPXParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithSEPADebit:billingDetails:metadata:) dynamic public class func paramsWith(sepaDebit: Stripe.STPPaymentMethodSEPADebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithBacsDebit:billingDetails:metadata:) dynamic public class func paramsWith(bacsDebit: Stripe.STPPaymentMethodBacsDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithAUBECSDebit:billingDetails:metadata:) dynamic public class func paramsWith(auBECSDebit: Stripe.STPPaymentMethodAUBECSDebitParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithGiropay:billingDetails:metadata:) dynamic public class func paramsWith(giropay: Stripe.STPPaymentMethodGiropayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithEPS:billingDetails:metadata:) dynamic public class func paramsWith(eps: Stripe.STPPaymentMethodEPSParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithPrzelewy24:billingDetails:metadata:) dynamic public class func paramsWith(przelewy24: Stripe.STPPaymentMethodPrzelewy24Params, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithBancontact:billingDetails:metadata:) dynamic public class func paramsWith(bancontact: Stripe.STPPaymentMethodBancontactParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithNetBanking:billingDetails:metadata:) dynamic public class func paramsWith(netBanking: Stripe.STPPaymentMethodNetBankingParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithOXXO:billingDetails:metadata:) dynamic public class func paramsWith(oxxo: Stripe.STPPaymentMethodOXXOParams, billingDetails: Stripe.STPPaymentMethodBillingDetails, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithGrabPay:billingDetails:metadata:) dynamic public class func paramsWith(grabPay: Stripe.STPPaymentMethodGrabPayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithSofort:billingDetails:metadata:) dynamic public class func paramsWith(sofort: Stripe.STPPaymentMethodSofortParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithUPI:billingDetails:metadata:) dynamic public class func paramsWith(upi: Stripe.STPPaymentMethodUPIParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithAlipay:billingDetails:metadata:) dynamic public class func paramsWith(alipay: Stripe.STPPaymentMethodAlipayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithPayPal:billingDetails:metadata:) dynamic public class func paramsWith(payPal: Stripe.STPPaymentMethodPayPalParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithAfterpayClearpay:billingDetails:metadata:) dynamic public class func paramsWith(afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpayParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithBLIK:billingDetails:metadata:) dynamic public class func paramsWith(blik: Stripe.STPPaymentMethodBLIKParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams + @objc(paramsWithKlarna:billingDetails:metadata:) dynamic public class func paramsWith(klarna: Stripe.STPPaymentMethodKlarnaParams, billingDetails: Stripe.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?) -> Stripe.STPPaymentMethodParams +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodPayPalParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc public protocol STPSourceProtocol : ObjectiveC.NSObjectProtocol { + @objc var stripeID: Swift.String { get } +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, deprecated, renamed: "STPIntentAction", message: "Use `STPIntentAction` instead.") +@objc final public class STPPaymentIntentAction : Stripe.STPIntentAction { + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodGrabPay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPFormView : UIKit.UIView { + @objc override dynamic public var canResignFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func resignFirstResponder() -> Swift.Bool + @objc override dynamic public var isFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public var canBecomeFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func becomeFirstResponder() -> Swift.Bool + @objc override dynamic public var isUserInteractionEnabled: Swift.Bool { + @objc get + @objc set + } + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodPayPal : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodSofortParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var country: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc public enum STPMandateCustomerAcceptanceType : Swift.Int { + case online + case offline + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPMandateCustomerAcceptanceParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var type: Stripe.STPMandateCustomerAcceptanceType + @objc public var onlineParams: Stripe.STPMandateOnlineParams? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc required override dynamic public init() + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public class func rootObjectName() -> Swift.String? + @objc deinit +} +public enum PaymentSheetError : Swift.Error { + case unknown(debugDescription: Swift.String) + public var localizedDescription: Swift.String { + get + } +} +extension UINavigationBar { + @available(*, deprecated, message: "Use the `stp_theme` property instead") + @objc dynamic public func stp_setTheme(_ theme: Stripe.STPTheme) + @objc dynamic public var stp_theme: Stripe.STPTheme? { + @objc get + @objc set(theme) + } +} +@objc public protocol STPAUBECSDebitFormViewDelegate : ObjectiveC.NSObjectProtocol { + @objc func auBECSDebitForm(_ form: Stripe.STPAUBECSDebitFormView, didChangeToStateComplete complete: Swift.Bool) +} +@objc @_inheritsConvenienceInitializers public class STPAUBECSDebitFormView : Stripe.STPMultiFormTextField, UIKit.UITextViewDelegate { + @objc(initWithCompanyName:) required public init(companyName: Swift.String) + @objc public var formBackgroundColor: UIKit.UIColor { + @objc get + @objc set + } + @objc weak public var becsDebitFormDelegate: Stripe.STPAUBECSDebitFormViewDelegate? + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? { + @objc get + } + @objc override dynamic public func systemLayoutSizeFitting(_ targetSize: CoreGraphics.CGSize, withHorizontalFittingPriority horizontalFittingPriority: UIKit.UILayoutPriority, verticalFittingPriority: UIKit.UILayoutPriority) -> CoreGraphics.CGSize + @objc public func textView(_ textView: UIKit.UITextView, shouldInteractWith URL: Foundation.URL, in characterRange: Foundation.NSRange, interaction: UIKit.UITextItemInteraction) -> Swift.Bool + @objc override public var formFont: UIKit.UIFont { + @objc get + @objc set + } + @objc override public var formTextColor: UIKit.UIColor { + @objc get + @objc set + } + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAfterpayClearpayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public static func rootObjectName() -> Swift.String? + @objc public static func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodAfterpayClearpay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPSetupIntent : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc final public let stripeID: Swift.String + @objc final public let clientSecret: Swift.String + @objc final public let created: Foundation.Date + @objc final public let customerID: Swift.String? + @objc final public let stripeDescription: Swift.String? + @objc final public let livemode: Swift.Bool + @objc final public let nextAction: Stripe.STPIntentAction? + @objc final public let paymentMethodID: Swift.String? + @objc final public let paymentMethodTypes: [Foundation.NSNumber] + @objc final public let status: Stripe.STPSetupIntentStatus + @objc final public let usage: Stripe.STPSetupIntentUsage + @objc final public let lastSetupError: Stripe.STPSetupIntentLastSetupError? + @available(*, deprecated, message: "Metadata is not returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPBillingAddressFields : Swift.UInt { + case none + case postalCode + case full + case name + @available(*, deprecated, message: "Use STPBillingAddressFields.postalCode instead") + case zip + public typealias RawValue = Swift.UInt + public init?(rawValue: Swift.UInt) + public var rawValue: Swift.UInt { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPAddress : ObjectiveC.NSObject { + @objc public var name: Swift.String? + @objc public var line1: Swift.String? + @objc public var line2: Swift.String? + @objc public var city: Swift.String? + @objc public var state: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var country: Swift.String? + @objc public var phone: Swift.String? + @objc public var email: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc(shippingInfoForChargeWithAddress:shippingMethod:) public class func shippingInfoForCharge(with address: Stripe.STPAddress?, shippingMethod method: PassKit.PKShippingMethod?) -> [Swift.AnyHashable : Any]? + @objc override dynamic public init() + @objc public init(paymentMethodBillingDetails billingDetails: Stripe.STPPaymentMethodBillingDetails) + @objc(initWithPKContact:) public init(pkContact contact: PassKit.PKContact) + @objc(PKContactValue) public func pkContactValue() -> PassKit.PKContact + @objc(initWithCNContact:) public init(cnContact contact: Contacts.CNContact) + @objc public func containsRequiredFields(_ requiredFields: Stripe.STPBillingAddressFields) -> Swift.Bool + @objc(containsContentForBillingAddressFields:) public func containsContent(for desiredFields: Stripe.STPBillingAddressFields) -> Swift.Bool + @objc public func containsRequiredShippingAddressFields(_ requiredFields: Swift.Set?) -> Swift.Bool + @objc public func containsContent(forShippingAddressFields desiredFields: Swift.Set?) -> Swift.Bool + @objc(applePayContactFieldsFromBillingAddressFields:) public class func applePayContactFields(from billingAddressFields: Stripe.STPBillingAddressFields) -> Swift.Set + @objc public class func pkContactFields(fromStripeContactFields contactFields: Swift.Set?) -> Swift.Set? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc deinit +} +extension STPAddress : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +extension STPAddress : Stripe.STPFormEncodable { + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] +} +extension STPAddress : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodAUBECSDebit : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var bsbNumber: Swift.String { + get + } + @objc public var fingerprint: Swift.String { + get + } + @objc public var last4: Swift.String { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAlipayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc public enum STPCardFormViewStyle : Swift.Int { + case standard + case borderless + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public protocol STPCardFormViewDelegate : ObjectiveC.NSObjectProtocol { + @objc func cardFormView(_ form: Stripe.STPCardFormView, didChangeToStateComplete complete: Swift.Bool) +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPCardFormView : Stripe.STPFormView { + @objc weak public var delegate: Stripe.STPCardFormViewDelegate? + @objc override dynamic public var backgroundColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc public var disabledBackgroundColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc public var cardParams: Stripe.STPPaymentMethodParams? { + @objc get + } + @objc override dynamic public var isUserInteractionEnabled: Swift.Bool { + @objc get + @objc set + } + @objc convenience public init(style: Stripe.STPCardFormViewStyle = .standard) + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPCustomer : ObjectiveC.NSObject { + @objc final public let stripeID: Swift.String + @objc public var defaultSource: Stripe.STPSourceProtocol? { + get + } + @objc public var sources: [Stripe.STPSourceProtocol] { + get + } + @objc public var email: Swift.String? { + get + } + @objc public var shippingAddress: Stripe.STPAddress? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc convenience public init(stripeID: Swift.String, defaultSource: Stripe.STPSourceProtocol?, sources: [Stripe.STPSourceProtocol]) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc(updateSourcesFilteringApplePay:) public func updateSources(filteringApplePay: Swift.Bool) + @objc deinit +} +extension STPCustomer : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_hasMissingDesignatedInitializers public class STPCustomerDeserializer : ObjectiveC.NSObject { + @objc final public let customer: Stripe.STPCustomer? + @objc final public let error: Swift.Error? + @objc convenience public init(data: Foundation.Data?, urlResponse: Foundation.URLResponse?, error: Swift.Error?) + @objc convenience public init(jsonResponse json: Any?) + @objc deinit + @objc override dynamic public init() +} +@objc public class STPContactField : ObjectiveC.NSObject, Swift.RawRepresentable { + final public let rawValue: Swift.String + required public init(rawValue: Swift.String) + @objc public static let postalAddress: Stripe.STPContactField + @objc public static let emailAddress: Stripe.STPContactField + @objc public static let phoneNumber: Stripe.STPContactField + @objc public static let name: Stripe.STPContactField + @objc override dynamic public init() + public typealias RawValue = Swift.String + @objc deinit +} +extension PaymentSheet { + @_hasMissingDesignatedInitializers @available(iOSApplicationExtension, unavailable) + @available(macCatalystApplicationExtension, unavailable) + public class FlowController { + public struct PaymentOptionDisplayData { + public let image: UIKit.UIImage + public let label: Swift.String + } + final public let configuration: Stripe.PaymentSheet.Configuration + public var paymentOption: Stripe.PaymentSheet.FlowController.PaymentOptionDisplayData? { + get + } + public static func create(paymentIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration, completion: @escaping (Swift.Result) -> Swift.Void) + public static func create(setupIntentClientSecret: Swift.String, configuration: Stripe.PaymentSheet.Configuration, completion: @escaping (Swift.Result) -> Swift.Void) + public func presentPaymentOptions(from presentingViewController: UIKit.UIViewController, completion: (() -> ())? = nil) + public func confirm(from presentingViewController: UIKit.UIViewController, completion: @escaping (Stripe.PaymentSheetResult) -> ()) + @objc deinit + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodKlarna : ObjectiveC.NSObject { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@available(iOS 13.0, *) +@available(iOSApplicationExtension, unavailable) +@available(macCatalystApplicationExtension, unavailable) +extension STPCardFormView { + public struct Representable : SwiftUI.UIViewRepresentable { + public init(_ style: Stripe.STPCardFormViewStyle = .standard, paymentMethodParams: SwiftUI.Binding, isComplete: SwiftUI.Binding) + public func makeCoordinator() -> Stripe.STPCardFormView.Coordinator + public func makeUIView(context: Stripe.STPCardFormView.Representable.Context) -> Stripe.STPCardFormView + public func updateUIView(_ cardFormView: Stripe.STPCardFormView, context: Stripe.STPCardFormView.Representable.Context) + public typealias UIViewType = Stripe.STPCardFormView + public typealias Coordinator = Stripe.STPCardFormView.Coordinator + public typealias Body = Swift.Never + } + @objc @_hasMissingDesignatedInitializers public class Coordinator : ObjectiveC.NSObject, Stripe.STPCardFormViewDelegate { + @objc public func cardFormView(_ form: Stripe.STPCardFormView, didChangeToStateComplete complete: Swift.Bool) + @objc deinit + @objc override dynamic public init() + } +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSTextFieldCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSTextFieldCustomization + @objc public var borderWidth: CoreGraphics.CGFloat { + @objc get + @objc set(borderWidth) + } + @objc public var borderColor: UIKit.UIColor { + @objc get + @objc set(borderColor) + } + @objc public var cornerRadius: CoreGraphics.CGFloat { + @objc get + @objc set(cornerRadius) + } + @objc public var keyboardAppearance: UIKit.UIKeyboardAppearance { + @objc get + @objc set(keyboardAppearance) + } + @objc public var placeholderTextColor: UIKit.UIColor { + @objc get + @objc set(placeholderTextColor) + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set(textColor) + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodNetBankingParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var bank: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardPresent : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSourceReceiver : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var address: Swift.String? { + get + } + @objc public var amountCharged: Foundation.NSNumber? { + get + } + @objc public var amountReceived: Foundation.NSNumber? { + get + } + @objc public var amountReturned: Foundation.NSNumber? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodPrzelewy24Params : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodKlarnaParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public static func rootObjectName() -> Swift.String? + @objc public static func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBancontactParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, unavailable, renamed: "STPIntentActionRedirectToURL", message: "Use `STPIntentActionRedirectToURL` instead.") +@objc final public class STPPaymentIntentSourceActionAuthorizeWithURL : Stripe.STPIntentActionRedirectToURL { + @objc deinit +} +@objc public enum STPSetupIntentLastSetupErrorType : Swift.UInt { + case unknown + @objc(STPSetupIntentLastSetupErrorTypeAPIConnection) case apiConnection + case API + case authentication + case card + case idempotency + case invalidRequest + case rateLimit + public typealias RawValue = Swift.UInt + public init?(rawValue: Swift.UInt) + public var rawValue: Swift.UInt { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPSetupIntentLastSetupError : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var code: Swift.String? { + get + } + @objc public var declineCode: Swift.String? { + get + } + @objc public var docURL: Swift.String? { + get + } + @objc public var message: Swift.String? { + get + } + @objc public var param: Swift.String? { + get + } + @objc public var paymentMethod: Stripe.STPPaymentMethod? { + get + } + @objc public var type: Stripe.STPSetupIntentLastSetupErrorType { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc extension STPSetupIntentLastSetupError { + @objc public static let CodeAuthenticationFailure: Swift.String +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodPrzelewy24 : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCard : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var brand: Stripe.STPCardBrand { + get + } + @objc public var checks: Stripe.STPPaymentMethodCardChecks? { + get + } + @objc public var country: Swift.String? { + get + } + @objc public var expMonth: Swift.Int { + get + } + @objc public var expYear: Swift.Int { + get + } + @objc public var funding: Swift.String? { + get + } + @objc public var last4: Swift.String? { + get + } + @objc public var fingerprint: Swift.String? { + get + } + @objc public var networks: Stripe.STPPaymentMethodCardNetworks? { + get + } + @objc public var threeDSecureUsage: Stripe.STPPaymentMethodThreeDSecureUsage? { + get + } + @objc public var wallet: Stripe.STPPaymentMethodCardWallet? { + get + } + @objc(stringFromBrand:) public class func string(from brand: Stripe.STPCardBrand) -> Swift.String + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc public enum STPPaymentIntentLastPaymentErrorType : Swift.Int { + case unknown + @objc(STPPaymentIntentLastPaymentErrorTypeAPIConnection) case apiConnection + @objc(STPPaymentIntentLastPaymentErrorTypeAPI) case api + case authentication + case card + case idempotency + case invalidRequest + case rateLimit + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntentLastPaymentError : ObjectiveC.NSObject { + @objc public static let ErrorCodeAuthenticationFailure: Swift.String + @objc final public let code: Swift.String? + @objc final public let declineCode: Swift.String? + @objc final public let docURL: Swift.String? + @objc final public let message: Swift.String? + @objc final public let param: Swift.String? + @objc final public let paymentMethod: Stripe.STPPaymentMethod? + @objc final public let type: Stripe.STPPaymentIntentLastPaymentErrorType + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentLastPaymentError : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc public class STPPaymentResult : ObjectiveC.NSObject { + @objc public var paymentMethod: Stripe.STPPaymentMethod? { + get + } + @objc public var paymentMethodParams: Stripe.STPPaymentMethodParams? { + get + } + @objc weak public var paymentOption: Stripe.STPPaymentOption? { + @objc get + } + @objc public init(paymentOption: Stripe.STPPaymentOption?) + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionWechatPayRedirectToApp : ObjectiveC.NSObject { + @objc final public let nativeURL: Foundation.URL? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPIntentActionWechatPayRedirectToApp : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc public enum STPPaymentIntentStatus : Swift.Int { + case unknown + case requiresPaymentMethod + @available(*, deprecated, renamed: "STPPaymentIntentStatus.requiresPaymentMethod", message: "Use STPPaymentIntentStatus.requiresPaymentMethod instead") + case requiresSource + case requiresConfirmation + case requiresAction + @available(*, deprecated, renamed: "STPPaymentIntentStatus.requiresAction", message: "Use STPPaymentIntentStatus.requiresAction instead") + case requiresSourceAction + case processing + case succeeded + case requiresCapture + case canceled + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentIntentSetupFutureUsage : Swift.Int { + case unknown + case none + case onSession + case offSession + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPPaymentIntentActionType : Swift.Int { + @available(*, deprecated, renamed: "STPIntentActionType.unknown", message: "Use STPIntentActionType instead") + case unknown + @available(*, deprecated, renamed: "STPIntentActionType.redirectToURL", message: "Use STPIntentActionType instead") + case redirectToURL + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +@objc public enum STPPaymentIntentSourceActionType : Swift.Int { + case unknown + case authorizeWithURL + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodGiropay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodAUBECSDebitParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var accountNumber: Swift.String? + @objc public var bsbNumber: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBLIK : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodSofort : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var country: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodUPIParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var vpa: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPCardParams : ObjectiveC.NSObject, Stripe.STPFormEncodable, Foundation.NSCopying { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc convenience public init(paymentMethodParams: Stripe.STPPaymentMethodParams) + @objc public var number: Swift.String? + @objc public func last4() -> Swift.String? + @objc public var expMonth: Swift.UInt + @objc public var expYear: Swift.UInt + @objc public var cvc: Swift.String? + @objc public var name: Swift.String? { + @objc get + @objc set + } + @objc public var address: Stripe.STPAddress { + @objc get + @objc set + } + @objc public var currency: Swift.String? + @objc public var addressLine1: Swift.String? { + @objc get + @objc set(addressLine1) + } + @objc public var addressLine2: Swift.String? { + @objc get + @objc set(addressLine2) + } + @objc public var addressCity: Swift.String? { + @objc get + @objc set(addressCity) + } + @objc public var addressState: Swift.String? { + @objc get + @objc set(addressState) + } + @objc public var addressZip: Swift.String? { + @objc get + @objc set(addressZip) + } + @objc public var addressCountry: Swift.String? { + @objc get + @objc set(addressCountry) + } + @objc override dynamic public init() + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any + @objc deinit +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodAlipay : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc public protocol STPFormEncodable : ObjectiveC.NSObjectProtocol { + @objc static func rootObjectName() -> Swift.String? + @objc static func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc var additionalAPIParameters: [Swift.AnyHashable : Any] { get set } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodBancontact : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethod : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPPaymentOption { + @objc public var stripeId: Swift.String { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var liveMode: Swift.Bool { + get + } + @objc public var type: Stripe.STPPaymentMethodType { + get + } + @objc public var billingDetails: Stripe.STPPaymentMethodBillingDetails? { + get + } + @objc public var alipay: Stripe.STPPaymentMethodAlipay? { + get + } + @objc public var grabPay: Stripe.STPPaymentMethodGrabPay? { + get + } + @objc public var card: Stripe.STPPaymentMethodCard? { + get + } + @objc public var iDEAL: Stripe.STPPaymentMethodiDEAL? { + get + } + @objc public var fpx: Stripe.STPPaymentMethodFPX? { + get + } + @objc public var cardPresent: Stripe.STPPaymentMethodCardPresent? { + get + } + @objc public var sepaDebit: Stripe.STPPaymentMethodSEPADebit? { + get + } + @objc public var bacsDebit: Stripe.STPPaymentMethodBacsDebit? { + get + } + @objc public var auBECSDebit: Stripe.STPPaymentMethodAUBECSDebit? { + get + } + @objc public var giropay: Stripe.STPPaymentMethodGiropay? { + get + } + @objc public var eps: Stripe.STPPaymentMethodEPS? { + get + } + @objc public var przelewy24: Stripe.STPPaymentMethodPrzelewy24? { + get + } + @objc public var bancontact: Stripe.STPPaymentMethodBancontact? { + get + } + @objc public var netBanking: Stripe.STPPaymentMethodNetBanking? { + get + } + @objc public var oxxo: Stripe.STPPaymentMethodOXXO? { + get + } + @objc public var sofort: Stripe.STPPaymentMethodSofort? { + get + } + @objc public var upi: Stripe.STPPaymentMethodUPI? { + get + } + @objc public var payPal: Stripe.STPPaymentMethodPayPal? { + get + } + @objc public var afterpayClearpay: Stripe.STPPaymentMethodAfterpayClearpay? { + get + } + @objc public var blik: Stripe.STPPaymentMethodBLIK? { + get + } + @objc public var boleto: Stripe.STPPaymentMethodBoleto? { + get + } + @objc public var link: Stripe.STPPaymentMethodLink? { + get + } + @objc public var klarna: Stripe.STPPaymentMethodKlarna? { + get + } + @objc public var customerId: Swift.String? { + get + } + @available(*, deprecated, message: "Metadata is no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var metadata: [Swift.String : Swift.String]? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardWalletVisaCheckout : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var email: Swift.String? { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var billingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var shippingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodFPXParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var bank: Stripe.STPFPXBankBrand { + @objc get + @objc set(_bank) + } + @objc public var rawBankString: Swift.String? + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@_inheritsConvenienceInitializers @objc public class STPApplePayPaymentOption : ObjectiveC.NSObject, Stripe.STPPaymentOption { + @objc public var image: UIKit.UIImage { + @objc get + } + @objc public var templateImage: UIKit.UIImage { + @objc get + } + @objc public var label: Swift.String { + @objc get + } + @objc public var isReusable: Swift.Bool { + @objc get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +@objc public class STPMandateDataParams : ObjectiveC.NSObject { + @objc final public let customerAcceptance: Stripe.STPMandateCustomerAcceptanceParams + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(customerAcceptance: Stripe.STPMandateCustomerAcceptanceParams) + @objc override dynamic public init() + @objc deinit +} +extension STPMandateDataParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc public enum STPFPXBankBrand : Swift.Int { + case maybank2U + case CIMB + case publicBank + case RHB + case hongLeongBank + case ambank + case affinBank + case allianceBank + case bankIslam + case bankMuamalat + case bankRakyat + case BSN + case HSBC + case KFH + case maybank2E + case ocbc + case standardChartered + case UOB + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc @_inheritsConvenienceInitializers public class STPFPXBank : ObjectiveC.NSObject { + @objc public static func stringFrom(_ brand: Stripe.STPFPXBankBrand) -> Swift.String? + @objc public static func brandFrom(_ identifier: Swift.String?) -> Stripe.STPFPXBankBrand + @objc public static func identifierFrom(_ brand: Stripe.STPFPXBankBrand) -> Swift.String? + @objc public static func bankCodeFrom(_ brand: Stripe.STPFPXBankBrand, _ isBusiness: Swift.Bool) -> Swift.String? + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPCardValidationState : Swift.Int { + case valid + case invalid + case incomplete + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPCardValidator : ObjectiveC.NSObject { + @objc(sanitizedNumericStringForString:) public class func sanitizedNumericString(for string: Swift.String) -> Swift.String + @objc(sanitizedPostalStringForString:) public class func sanitizedPostalString(for string: Swift.String) -> Swift.String + @objc(stringIsNumeric:) public class func stringIsNumeric(_ string: Swift.String) -> Swift.Bool + @objc(validationStateForNumber:validatingCardBrand:) public class func validationState(forNumber cardNumber: Swift.String?, validatingCardBrand: Swift.Bool) -> Stripe.STPCardValidationState + @objc(brandForNumber:) public class func brand(forNumber cardNumber: Swift.String) -> Stripe.STPCardBrand + @objc(lengthsForCardBrand:) public class func lengths(for brand: Stripe.STPCardBrand) -> Swift.Set + @objc(maxLengthForCardBrand:) public class func maxLength(for brand: Stripe.STPCardBrand) -> Swift.Int + @objc(fragmentLengthForCardBrand:) public class func fragmentLength(for brand: Stripe.STPCardBrand) -> Swift.Int + @objc(validationStateForExpirationMonth:) public class func validationState(forExpirationMonth expirationMonth: Swift.String) -> Stripe.STPCardValidationState + @objc(validationStateForExpirationYear:inMonth:) public class func validationState(forExpirationYear expirationYear: Swift.String, inMonth expirationMonth: Swift.String) -> Stripe.STPCardValidationState + @objc(maxCVCLengthForCardBrand:) public class func maxCVCLength(for brand: Stripe.STPCardBrand) -> Swift.UInt + @objc(validationStateForCVC:cardBrand:) public class func validationState(forCVC cvc: Swift.String, cardBrand brand: Stripe.STPCardBrand) -> Stripe.STPCardValidationState + @objc(validationStateForCard:) public class func validationState(forCard card: Stripe.STPCardParams) -> Stripe.STPCardValidationState + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountCompanyParams : ObjectiveC.NSObject { + @objc public var address: Stripe.STPConnectAccountAddress! + @objc public var kanaAddress: Stripe.STPConnectAccountAddress? + @objc public var kanjiAddress: Stripe.STPConnectAccountAddress? + @objc public var directorsProvided: Foundation.NSNumber? + @objc public var name: Swift.String? + @objc public var kanaName: Swift.String? + @objc public var kanjiName: Swift.String? + @objc public var ownersProvided: Foundation.NSNumber? + @objc public var phone: Swift.String? + @objc public var taxID: Swift.String? + @objc public var taxIDRegistrar: Swift.String? + @objc public var vatID: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountCompanyParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardWalletMasterpass : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var email: Swift.String? { + get + } + @objc public var name: Swift.String? { + get + } + @objc public var billingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var shippingAddress: Stripe.STPPaymentMethodAddress? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodBillingDetails : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var address: Stripe.STPPaymentMethodAddress? + @objc public var email: Swift.String? + @objc public var name: Swift.String? + @objc public var phone: Swift.String? + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override required dynamic public init() + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSCustomizationSettings : ObjectiveC.NSObject { + @available(*, deprecated, message: "Use STPThreeDSCustomizationSettings() instead of STPThreeDSCustomizationSettings.defaultSettings().") + @objc public class func defaultSettings() -> Stripe.STPThreeDSCustomizationSettings + @objc public var uiCustomization: Stripe.STPThreeDSUICustomization + @objc public var authenticationTimeout: Swift.Int + @objc override dynamic public init() + @objc deinit +} +@objc public enum STPIntentActionType : Swift.Int { + case unknown + case redirectToURL + case useStripeSDK + case OXXODisplayDetails + case alipayHandleRedirect + case BLIKAuthorize + case weChatPayRedirectToApp + case linkAuthenticateAccount + case boletoDisplayDetails + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPIntentAction : ObjectiveC.NSObject { + @objc final public let type: Stripe.STPIntentActionType + @objc final public let redirectToURL: Stripe.STPIntentActionRedirectToURL? + @objc final public let oxxoDisplayDetails: Stripe.STPIntentActionOXXODisplayDetails? + @objc final public let alipayHandleRedirect: Stripe.STPIntentActionAlipayHandleRedirect? + @objc final public let weChatPayRedirectToApp: Stripe.STPIntentActionWechatPayRedirectToApp? + @objc final public let boletoDisplayDetails: Stripe.STPIntentActionBoletoDisplayDetails? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPIntentAction : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +extension STPIntentAction { + @available(*, deprecated, renamed: "redirectToURL", message: "Use `redirectToURL` instead.") + @objc dynamic public var authorizeWithURL: Stripe.STPIntentActionRedirectToURL? { + @objc get + } +} +@objc public class STPPaymentIntentShippingDetailsAddressParams : ObjectiveC.NSObject { + @objc public var city: Swift.String? + @objc public var country: Swift.String? + @objc public var line1: Swift.String + @objc public var line2: Swift.String? + @objc public var postalCode: Swift.String? + @objc public var state: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public init(line1: Swift.String) + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntentShippingDetailsAddressParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +extension STPPaymentIntentShippingDetailsAddressParams : Foundation.NSCopying { + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc public class STPConfirmWeChatPayOptions : ObjectiveC.NSObject { + @objc public var appId: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc required public init(appId: Swift.String) + @objc deinit + @objc override dynamic public init() +} +extension STPConfirmWeChatPayOptions : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodGiropayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPMultiFormTextField : UIKit.UIView, Stripe.STPFormTextFieldContainer, UIKit.UITextFieldDelegate { + @objc public func textField(_ textField: UIKit.UITextField, shouldChangeCharactersIn range: Foundation.NSRange, replacementString string: Swift.String) -> Swift.Bool + @objc public func focusNextForm() + @objc override dynamic public var canResignFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func resignFirstResponder() -> Swift.Bool + @objc override dynamic public var isFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public var canBecomeFirstResponder: Swift.Bool { + @objc get + } + @objc override dynamic public func becomeFirstResponder() -> Swift.Bool + @objc public func textFieldDidEndEditing(_ textField: UIKit.UITextField) + @objc public func textFieldDidBeginEditing(_ textField: UIKit.UITextField) + @objc public func textFieldShouldReturn(_ textField: UIKit.UITextField) -> Swift.Bool + @objc public var formFont: UIKit.UIFont { + @objc get + @objc set + } + @objc public var formTextColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formTextErrorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formPlaceholderColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formCursorColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var formKeyboardAppearance: UIKit.UIKeyboardAppearance { + @objc get + @objc set + } + @objc override dynamic public init(frame: CoreGraphics.CGRect) + @objc required dynamic public init?(coder: Foundation.NSCoder) + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPImageLibrary : ObjectiveC.NSObject { + @objc public class func applePayCardImage() -> UIKit.UIImage + @objc public class func amexCardImage() -> UIKit.UIImage + @objc public class func dinersClubCardImage() -> UIKit.UIImage + @objc public class func discoverCardImage() -> UIKit.UIImage + @objc public class func jcbCardImage() -> UIKit.UIImage + @objc public class func mastercardCardImage() -> UIKit.UIImage + @objc public class func unionPayCardImage() -> UIKit.UIImage + @objc public class func visaCardImage() -> UIKit.UIImage + @objc public class func unknownCardCardImage() -> UIKit.UIImage + @objc(brandImageForCardBrand:) public class func cardBrandImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc(brandImageForFPXBankBrand:) public class func fpxBrandImage(for brand: Stripe.STPFPXBankBrand) -> UIKit.UIImage + @objc public class func fpxLogo() -> UIKit.UIImage + @objc public class func largeFpxLogo() -> UIKit.UIImage + @objc public class func afterpayLogo() -> UIKit.UIImage + @objc(templatedBrandImageForCardBrand:) public class func templatedBrandImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc(cvcImageForCardBrand:) public class func cvcImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc(errorImageForCardBrand:) public class func errorImage(for brand: Stripe.STPCardBrand) -> UIKit.UIImage + @objc deinit + @objc override dynamic public init() +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentMethodCardNetworks : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc public var available: [Swift.String] { + get + } + @objc public var preferred: Swift.String? { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit + @objc override dynamic public init() +} +@objc @_inheritsConvenienceInitializers public class STPSourceParams : ObjectiveC.NSObject, Stripe.STPFormEncodable, Foundation.NSCopying { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public var type: Stripe.STPSourceType { + @objc get + @objc set(type) + } + @objc public var rawTypeString: Swift.String? + @objc public var amount: Foundation.NSNumber? + @objc public var currency: Swift.String? + @objc public var flow: Stripe.STPSourceFlow + @objc public var metadata: [Swift.AnyHashable : Any]? + @objc public var owner: [Swift.AnyHashable : Any]? + @objc public var redirect: [Swift.AnyHashable : Any]? + @objc public var token: Swift.String? + @objc public var usage: Stripe.STPSourceUsage + @objc override required dynamic public init() + @objc deinit +} +extension STPSourceParams { + @objc dynamic public class func bancontactParams(withAmount amount: Swift.Int, name: Swift.String, returnURL: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func cardParams(withCard card: Stripe.STPCardParams) -> Stripe.STPSourceParams + @objc dynamic public class func giropayParams(withAmount amount: Swift.Int, name: Swift.String, returnURL: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func idealParams(withAmount amount: Swift.Int, name: Swift.String?, returnURL: Swift.String, statementDescriptor: Swift.String?, bank: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func sepaDebitParams(withName name: Swift.String, iban: Swift.String, addressLine1: Swift.String?, city: Swift.String?, postalCode: Swift.String?, country: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func sofortParams(withAmount amount: Swift.Int, returnURL: Swift.String, country: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @available(swift, obsoleted: 1.0) + @objc(klarnaParamsWithReturnURL:currency:purchaseCountry:items:customPaymentMethods:billingAddress:billingFirstName:billingLastName:billingDOB:) dynamic public class func objc_klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Foundation.NSNumber], billingAddress address: Stripe.STPAddress?, billingFirstName firstName: Swift.String?, billingLastName lastName: Swift.String?, billingDOB dateOfBirth: Stripe.STPDateOfBirth?) -> Stripe.STPSourceParams + public class func klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Stripe.STPKlarnaPaymentMethods], billingAddress address: Stripe.STPAddress? = nil, billingFirstName firstName: Swift.String? = nil, billingLastName lastName: Swift.String? = nil, billingDOB dateOfBirth: Stripe.STPDateOfBirth? = nil) -> Stripe.STPSourceParams + @available(swift, obsoleted: 1.0) + @objc(klarnaParamsWithReturnURL:currency:purchaseCountry:items:customPaymentMethods:) dynamic public class func objc_klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Foundation.NSNumber]) -> Stripe.STPSourceParams + public class func klarnaParams(withReturnURL returnURL: Swift.String, currency: Swift.String, purchaseCountry: Swift.String, items: [Stripe.STPKlarnaLineItem], customPaymentMethods: [Stripe.STPKlarnaPaymentMethods]) -> Stripe.STPSourceParams + @objc dynamic public class func threeDSecureParams(withAmount amount: Swift.Int, currency: Swift.String, returnURL: Swift.String, card: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func alipayParams(withAmount amount: Swift.Int, currency: Swift.String, returnURL: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func alipayReusableParams(withCurrency currency: Swift.String, returnURL: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func p24Params(withAmount amount: Swift.Int, currency: Swift.String, email: Swift.String, name: Swift.String?, returnURL: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func visaCheckoutParams(withCallId callId: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func masterpassParams(withCartId cartId: Swift.String, transactionId: Swift.String) -> Stripe.STPSourceParams + @objc dynamic public class func epsParams(withAmount amount: Swift.Int, name: Swift.String, returnURL: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc dynamic public class func multibancoParams(withAmount amount: Swift.Int, returnURL: Swift.String, email: Swift.String) -> Stripe.STPSourceParams + @objc(wechatPayParamsWithAmount:currency:appId:statementDescriptor:) dynamic public class func wechatPay(withAmount amount: Swift.Int, currency: Swift.String, appId: Swift.String, statementDescriptor: Swift.String?) -> Stripe.STPSourceParams + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc dynamic public func redirectDictionaryWithMerchantNameIfNecessary() -> [Swift.AnyHashable : Any] + @objc dynamic public class func rootObjectName() -> Swift.String? + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public func copy(with zone: ObjectiveC.NSZone? = nil) -> Any +} +@objc public enum STPThreeDSCustomizationButtonType : Swift.Int { + case submit = 0 + case `continue` = 1 + case next = 2 + case cancel = 3 + case resend = 4 + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPThreeDSButtonTitleStyle : Swift.Int { + case `default` + case uppercase + case lowercase + case sentenceCapitalized + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public class STPThreeDSButtonCustomization : ObjectiveC.NSObject { + @objc(defaultSettingsForButtonType:) public class func defaultSettings(for type: Stripe.STPThreeDSCustomizationButtonType) -> Stripe.STPThreeDSButtonCustomization + @objc public init(backgroundColor: UIKit.UIColor, cornerRadius: CoreGraphics.CGFloat) + @objc public var backgroundColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var cornerRadius: CoreGraphics.CGFloat { + @objc get + @objc set + } + @objc public var titleStyle: Stripe.STPThreeDSButtonTitleStyle { + @objc get + @objc set + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set(font) + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc deinit + @objc override dynamic public init() +} +@objc public enum STPPaymentIntentCaptureMethod : Swift.Int { + case unknown + case automatic + case manual + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc public enum STPPaymentIntentConfirmationMethod : Swift.Int { + case unknown + case manual + case automatic + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_hasMissingDesignatedInitializers public class STPPaymentIntent : ObjectiveC.NSObject { + @objc final public let stripeId: Swift.String + @objc final public let clientSecret: Swift.String + @objc final public let amount: Swift.Int + @objc final public let canceledAt: Foundation.Date? + @objc final public let captureMethod: Stripe.STPPaymentIntentCaptureMethod + @objc final public let confirmationMethod: Stripe.STPPaymentIntentConfirmationMethod + @objc final public let created: Foundation.Date + @objc final public let currency: Swift.String + @objc final public let stripeDescription: Swift.String? + @objc final public let livemode: Swift.Bool + @objc final public let nextAction: Stripe.STPIntentAction? + @objc final public let receiptEmail: Swift.String? + @objc final public let sourceId: Swift.String? + @objc final public let paymentMethodId: Swift.String? + @objc final public let status: Stripe.STPPaymentIntentStatus + @objc final public let paymentMethodTypes: [Foundation.NSNumber] + @objc final public let setupFutureUsage: Stripe.STPPaymentIntentSetupFutureUsage + @objc final public let lastPaymentError: Stripe.STPPaymentIntentLastPaymentError? + @objc final public let shipping: Stripe.STPPaymentIntentShippingDetails? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPPaymentIntent : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +extension STPPaymentIntent { + @available(*, deprecated, renamed: "nextAction", message: "Use nextAction instead") + @objc dynamic public var nextSourceAction: Stripe.STPIntentAction? { + @objc get + } +} +@objc @_inheritsConvenienceInitializers public class STPThreeDSFooterCustomization : ObjectiveC.NSObject { + @objc public class func defaultSettings() -> Stripe.STPThreeDSFooterCustomization + @objc public var backgroundColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var chevronColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var headingTextColor: UIKit.UIColor { + @objc get + @objc set + } + @objc public var headingFont: UIKit.UIFont { + @objc get + @objc set + } + @objc public var font: UIKit.UIFont? { + @objc get + @objc set + } + @objc public var textColor: UIKit.UIColor? { + @objc get + @objc set + } + @objc deinit + @objc override dynamic public init() +} +extension STPAPIClient { + public func createRadarSession(completion: @escaping Stripe.STPRadarSessionCompletionBlock) +} +@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @available(*, unavailable, renamed: "STPIntentActionRedirectToURL", message: "Use `STPIntentActionRedirectToURL` instead.") +@objc final public class STPPaymentIntentActionRedirectToURL : Stripe.STPIntentActionRedirectToURL { + @objc deinit +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPShippingAddressViewController : Stripe.STPCoreTableViewController { + @objc convenience dynamic public init() + @objc(initWithPaymentContext:) convenience public init(paymentContext: Stripe.STPPaymentContext) + @objc(initWithConfiguration:theme:currency:shippingAddress:selectedShippingMethod:prefilledInformation:) public init(configuration: Stripe.STPPaymentConfiguration, theme: Stripe.STPTheme, currency: Swift.String?, shippingAddress: Stripe.STPAddress?, selectedShippingMethod: PassKit.PKShippingMethod?, prefilledInformation: Stripe.STPUserInformation?) + @objc weak public var delegate: Stripe.STPShippingAddressViewControllerDelegate? + @objc(dismissWithCompletion:) public func dismiss(withCompletion completion: StripeApplePay.STPVoidBlock?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required public init(theme: Stripe.STPTheme?) + @available(*, unavailable, message: "Use one of the initializers declared in this interface instead.") + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc override dynamic public func viewDidAppear(_ animated: Swift.Bool) + @objc override public func tableView(_ tableView: UIKit.UITableView, heightForHeaderInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc deinit +} +@objc public protocol STPShippingAddressViewControllerDelegate : ObjectiveC.NSObjectProtocol { + @objc func shippingAddressViewControllerDidCancel(_ addressViewController: Stripe.STPShippingAddressViewController) + @objc(shippingAddressViewController:didEnterAddress:completion:) func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didEnter address: Stripe.STPAddress, completion: @escaping Stripe.STPShippingMethodsCompletionBlock) + @objc(shippingAddressViewController:didFinishWithAddress:shippingMethod:) func shippingAddressViewController(_ addressViewController: Stripe.STPShippingAddressViewController, didFinishWith address: Stripe.STPAddress, shippingMethod method: PassKit.PKShippingMethod?) +} +extension STPShippingAddressViewController : UIKit.UITableViewDelegate, UIKit.UITableViewDataSource { + @objc dynamic public func numberOfSections(in tableView: UIKit.UITableView) -> Swift.Int + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, numberOfRowsInSection section: Swift.Int) -> Swift.Int + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, cellForRowAt indexPath: Foundation.IndexPath) -> UIKit.UITableViewCell + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, willDisplay cell: UIKit.UITableViewCell, forRowAt indexPath: Foundation.IndexPath) + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, heightForFooterInSection section: Swift.Int) -> CoreGraphics.CGFloat + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, viewForFooterInSection section: Swift.Int) -> UIKit.UIView? + @objc dynamic public func tableView(_ tableView: UIKit.UITableView, viewForHeaderInSection section: Swift.Int) -> UIKit.UIView? +} +@objc public enum STPPaymentMethodCardCheckResult : Swift.Int { + case pass + case failed + case unavailable + case unchecked + case unknown + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPPaymentMethodCardChecks : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable { + @available(*, deprecated, message: "Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var addressLine1Check: Stripe.STPPaymentMethodCardCheckResult { + get + } + @available(*, deprecated, message: "Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var addressPostalCodeCheck: Stripe.STPPaymentMethodCardCheckResult { + get + } + @available(*, deprecated, message: "Card check values are no longer returned to clients using publishable keys. Retrieve them on your server using your secret key instead.") + @objc public var cvcCheck: Stripe.STPPaymentMethodCardCheckResult { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +extension STPBankAccountHolderType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPBankAccountStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPBankSelectionMethod : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPBillingAddressFields : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardBrand : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardFormViewStyle : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardFundingType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPCardValidationState : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPConnectAccountBusinessType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPFPXBankBrand : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPFilePurpose : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPIntentActionType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPKlarnaLineItemType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPKlarnaPaymentMethods : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPMandateCustomerAcceptanceType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentHandlerActionStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentHandlerErrorCode : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentActionType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentCaptureMethod : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentConfirmationMethod : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentLastPaymentErrorType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentSetupFutureUsage : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension STPPaymentIntentSourceActionType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentIntentStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentMethodCardCheckResult : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentMethodCardWalletType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentMethodType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPaymentStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPPinStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPRedirectContextError : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPRedirectContextState : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSetupIntentLastSetupErrorType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSetupIntentStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSetupIntentUsage : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPShippingStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPShippingType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceCard3DSecureStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceFlow : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceRedirectStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceUsage : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPSourceVerificationStatus : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPThreeDSButtonTitleStyle : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPThreeDSCustomizationButtonType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +extension STPTokenType : Swift.CustomStringConvertible { + public var description: Swift.String { + get + } +} +@objc public enum STPTokenType : Swift.Int { + case account = 0 + case bankAccount + case card + case PII + case cvcUpdate + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers public class STPToken : ObjectiveC.NSObject, Stripe.STPAPIResponseDecodable, Stripe.STPSourceProtocol { + @objc public var tokenId: Swift.String { + get + } + @objc public var livemode: Swift.Bool { + get + } + @objc public var type: Stripe.STPTokenType { + get + } + @objc public var card: Stripe.STPCard? { + get + } + @objc public var bankAccount: Stripe.STPBankAccount? { + get + } + @objc public var created: Foundation.Date? { + get + } + @objc public var allResponseFields: [Swift.AnyHashable : Any] { + get + } + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public var debugDescription: Swift.String { + @objc get + } + @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool + @objc override dynamic public var hash: Swift.Int { + @objc get + } + @objc public var stripeID: Swift.String { + @objc get + } + @objc public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? + @objc deinit +} +@_inheritsConvenienceInitializers @objc public class STPPaymentMethodBLIKParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +@objc @_inheritsConvenienceInitializers public class STPCoreScrollViewController : Stripe.STPCoreViewController { + @objc public var scrollView: UIKit.UIScrollView { + @objc get + @objc set + } + @objc override dynamic public func viewDidLoad() + @objc override dynamic public func viewDidLayoutSubviews() + @objc required public init(theme: Stripe.STPTheme?) + @objc required dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?) + @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder) + @objc deinit +} +@objc public enum STPSourceFlow : Swift.Int { + case none + case redirect + case codeVerification + case receiver + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPSourceUsage : Swift.Int { + case reusable + case singleUse + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPSourceStatus : Swift.Int { + case pending + case chargeable + case consumed + case canceled + case failed + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPSourceType : Swift.Int { + case bancontact + case card + case giropay + @objc(STPSourceTypeiDEAL) case iDEAL + case SEPADebit + case sofort + case threeDSecure + case alipay + case P24 + case EPS + case multibanco + case weChatPay + case klarna + case unknown + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } + public init?(rawValue: Swift.Int) +} +@objc public enum STPKlarnaPaymentMethods : Swift.Int { + case none + case payIn4 + case installments + case payIn4OrInstallments + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountIndividualParams : ObjectiveC.NSObject { + @objc public var address: Stripe.STPConnectAccountAddress? + @objc public var kanaAddress: Stripe.STPConnectAccountAddress? + @objc public var kanjiAddress: Stripe.STPConnectAccountAddress? + @objc public var dateOfBirth: Foundation.DateComponents? + @objc public var email: Swift.String? + @objc public var firstName: Swift.String? + @objc public var kanaFirstName: Swift.String? + @objc public var kanjiFirstName: Swift.String? + @objc public var gender: Swift.String? + @objc public var idNumber: Swift.String? + @objc public var lastName: Swift.String? + @objc public var kanaLastName: Swift.String? + @objc public var kanjiLastName: Swift.String? + @objc public var maidenName: Swift.String? + @objc public var metadata: [Swift.AnyHashable : Any]? + @objc public var phone: Swift.String? + @objc public var ssnLast4: Swift.String? + @objc public var verification: Stripe.STPConnectAccountIndividualVerification? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountIndividualParams : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountIndividualVerification : ObjectiveC.NSObject { + @objc public var document: Stripe.STPConnectAccountVerificationDocument? + @objc public var additionalDocument: Stripe.STPConnectAccountVerificationDocument? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountIndividualVerification : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPConnectAccountVerificationDocument : ObjectiveC.NSObject { + @objc public var back: Swift.String? + @objc public var front: Swift.String? + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc deinit + @objc override dynamic public init() +} +extension STPConnectAccountVerificationDocument : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_inheritsConvenienceInitializers public class STPDateOfBirth : ObjectiveC.NSObject { + @objc public var day: Swift.Int + @objc public var month: Swift.Int + @objc public var year: Swift.Int + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc deinit + @objc override dynamic public init() +} +extension STPDateOfBirth : Stripe.STPFormEncodable { + @objc dynamic public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc dynamic public class func rootObjectName() -> Swift.String? +} +@objc @_hasMissingDesignatedInitializers public class STPIntentActionRedirectToURL : ObjectiveC.NSObject { + @objc final public let url: Foundation.URL + @objc final public let returnURL: Foundation.URL? + @objc final public let allResponseFields: [Swift.AnyHashable : Any] + @objc override dynamic public var description: Swift.String { + @objc get + } + @objc override dynamic public init() + @objc deinit +} +extension STPIntentActionRedirectToURL : Stripe.STPAPIResponseDecodable { + @objc dynamic public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self? +} +@objc @_inheritsConvenienceInitializers public class STPPaymentMethodGrabPayParams : ObjectiveC.NSObject, Stripe.STPFormEncodable { + @objc public var additionalAPIParameters: [Swift.AnyHashable : Any] + @objc public class func rootObjectName() -> Swift.String? + @objc public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String] + @objc override dynamic public init() + @objc deinit +} +extension Stripe.STPSourceVerificationStatus : Swift.Equatable {} +extension Stripe.STPSourceVerificationStatus : Swift.Hashable {} +extension Stripe.STPSourceVerificationStatus : Swift.RawRepresentable {} +extension Stripe.STPBankSelectionMethod : Swift.Equatable {} +extension Stripe.STPBankSelectionMethod : Swift.Hashable {} +extension Stripe.STPBankSelectionMethod : Swift.RawRepresentable {} +extension Stripe.STPBankAccountHolderType : Swift.Equatable {} +extension Stripe.STPBankAccountHolderType : Swift.Hashable {} +extension Stripe.STPBankAccountHolderType : Swift.RawRepresentable {} +extension Stripe.STPSetupIntentStatus : Swift.Equatable {} +extension Stripe.STPSetupIntentStatus : Swift.Hashable {} +extension Stripe.STPSetupIntentStatus : Swift.RawRepresentable {} +extension Stripe.STPSetupIntentUsage : Swift.Equatable {} +extension Stripe.STPSetupIntentUsage : Swift.Hashable {} +extension Stripe.STPSetupIntentUsage : Swift.RawRepresentable {} +extension Stripe.STPConnectAccountBusinessType : Swift.Equatable {} +extension Stripe.STPConnectAccountBusinessType : Swift.Hashable {} +extension Stripe.STPConnectAccountBusinessType : Swift.RawRepresentable {} +extension Stripe.STPShippingType : Swift.Equatable {} +extension Stripe.STPShippingType : Swift.Hashable {} +extension Stripe.STPShippingType : Swift.RawRepresentable {} +extension Stripe.STPShippingStatus : Swift.Equatable {} +extension Stripe.STPShippingStatus : Swift.Hashable {} +extension Stripe.STPShippingStatus : Swift.RawRepresentable {} +extension Stripe.STPPaymentStatus : Swift.Equatable {} +extension Stripe.STPPaymentStatus : Swift.Hashable {} +extension Stripe.STPPaymentStatus : Swift.RawRepresentable {} +extension Stripe.STPPinStatus : Swift.Equatable {} +extension Stripe.STPPinStatus : Swift.Hashable {} +extension Stripe.STPPinStatus : Swift.RawRepresentable {} +extension Stripe.STPRedirectContextError : Swift.Equatable {} +extension Stripe.STPRedirectContextError : Swift.Hashable {} +extension Stripe.STPRedirectContextError : Swift.RawRepresentable {} +extension Stripe.STPRedirectContextState : Swift.Equatable {} +extension Stripe.STPRedirectContextState : Swift.Hashable {} +extension Stripe.STPRedirectContextState : Swift.RawRepresentable {} +extension Stripe.STPKlarnaLineItemType : Swift.Equatable {} +extension Stripe.STPKlarnaLineItemType : Swift.Hashable {} +extension Stripe.STPKlarnaLineItemType : Swift.RawRepresentable {} +extension Stripe.STPPaymentMethodType : Swift.Equatable {} +extension Stripe.STPPaymentMethodType : Swift.Hashable {} +extension Stripe.STPPaymentMethodType : Swift.RawRepresentable {} +extension Stripe.STPPaymentCardTextField : UIKit.UITextFieldDelegate {} +extension Stripe.STPSourceRedirectStatus : Swift.Equatable {} +extension Stripe.STPSourceRedirectStatus : Swift.Hashable {} +extension Stripe.STPSourceRedirectStatus : Swift.RawRepresentable {} +extension Stripe.STPFilePurpose : Swift.Equatable {} +extension Stripe.STPFilePurpose : Swift.Hashable {} +extension Stripe.STPFilePurpose : Swift.RawRepresentable {} +extension Stripe.STPPaymentHandlerActionStatus : Swift.Equatable {} +extension Stripe.STPPaymentHandlerActionStatus : Swift.Hashable {} +extension Stripe.STPPaymentHandlerActionStatus : Swift.RawRepresentable {} +extension Stripe.STPPaymentHandlerErrorCode : Swift.Equatable {} +extension Stripe.STPPaymentHandlerErrorCode : Swift.Hashable {} +extension Stripe.STPPaymentHandlerErrorCode : Swift.RawRepresentable {} +extension Stripe.STPSourceCard3DSecureStatus : Swift.Equatable {} +extension Stripe.STPSourceCard3DSecureStatus : Swift.Hashable {} +extension Stripe.STPSourceCard3DSecureStatus : Swift.RawRepresentable {} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +extension Stripe._stpobjc_STPErrorCode : Swift.Equatable {} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +extension Stripe._stpobjc_STPErrorCode : Swift.Hashable {} +@available(swift, deprecated: 0.0.1, renamed: "STPErrorCode") +extension Stripe._stpobjc_STPErrorCode : Swift.RawRepresentable {} +extension Stripe.STPCardFundingType : Swift.Equatable {} +extension Stripe.STPCardFundingType : Swift.Hashable {} +extension Stripe.STPCardFundingType : Swift.RawRepresentable {} +extension Stripe.STPPaymentMethodCardWalletType : Swift.Equatable {} +extension Stripe.STPPaymentMethodCardWalletType : Swift.Hashable {} +extension Stripe.STPPaymentMethodCardWalletType : Swift.RawRepresentable {} +@available(iOS 13.0, *) +extension Stripe.PaymentSheet.UserInterfaceStyle : Swift.Equatable {} +@available(iOS 13.0, *) +extension Stripe.PaymentSheet.UserInterfaceStyle : Swift.Hashable {} +@available(iOS 13.0, *) +extension Stripe.PaymentSheet.UserInterfaceStyle : Swift.RawRepresentable {} +extension Stripe.PaymentSheet.SavePaymentMethodOptInBehavior : Swift.Equatable {} +extension Stripe.PaymentSheet.SavePaymentMethodOptInBehavior : Swift.Hashable {} +extension Stripe.STPCardBrand : Swift.Equatable {} +extension Stripe.STPCardBrand : Swift.Hashable {} +extension Stripe.STPCardBrand : Swift.RawRepresentable {} +extension Stripe.STPBankAccountStatus : Swift.Equatable {} +extension Stripe.STPBankAccountStatus : Swift.Hashable {} +extension Stripe.STPBankAccountStatus : Swift.RawRepresentable {} +extension Stripe.STPMandateCustomerAcceptanceType : Swift.Equatable {} +extension Stripe.STPMandateCustomerAcceptanceType : Swift.Hashable {} +extension Stripe.STPMandateCustomerAcceptanceType : Swift.RawRepresentable {} +extension Stripe.STPBillingAddressFields : Swift.Equatable {} +extension Stripe.STPBillingAddressFields : Swift.Hashable {} +extension Stripe.STPBillingAddressFields : Swift.RawRepresentable {} +extension Stripe.STPCardFormViewStyle : Swift.Equatable {} +extension Stripe.STPCardFormViewStyle : Swift.Hashable {} +extension Stripe.STPCardFormViewStyle : Swift.RawRepresentable {} +extension Stripe.STPSetupIntentLastSetupErrorType : Swift.Equatable {} +extension Stripe.STPSetupIntentLastSetupErrorType : Swift.Hashable {} +extension Stripe.STPSetupIntentLastSetupErrorType : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentLastPaymentErrorType : Swift.Equatable {} +extension Stripe.STPPaymentIntentLastPaymentErrorType : Swift.Hashable {} +extension Stripe.STPPaymentIntentLastPaymentErrorType : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentStatus : Swift.Equatable {} +extension Stripe.STPPaymentIntentStatus : Swift.Hashable {} +extension Stripe.STPPaymentIntentStatus : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentSetupFutureUsage : Swift.Equatable {} +extension Stripe.STPPaymentIntentSetupFutureUsage : Swift.Hashable {} +extension Stripe.STPPaymentIntentSetupFutureUsage : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentActionType : Swift.Equatable {} +extension Stripe.STPPaymentIntentActionType : Swift.Hashable {} +extension Stripe.STPPaymentIntentActionType : Swift.RawRepresentable {} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension Stripe.STPPaymentIntentSourceActionType : Swift.Equatable {} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension Stripe.STPPaymentIntentSourceActionType : Swift.Hashable {} +@available(*, deprecated, renamed: "STPIntentActionType", message: "Use STPIntentActionType instead") +extension Stripe.STPPaymentIntentSourceActionType : Swift.RawRepresentable {} +extension Stripe.STPFPXBankBrand : Swift.Equatable {} +extension Stripe.STPFPXBankBrand : Swift.Hashable {} +extension Stripe.STPFPXBankBrand : Swift.RawRepresentable {} +extension Stripe.STPCardValidationState : Swift.Equatable {} +extension Stripe.STPCardValidationState : Swift.Hashable {} +extension Stripe.STPCardValidationState : Swift.RawRepresentable {} +extension Stripe.STPIntentActionType : Swift.Equatable {} +extension Stripe.STPIntentActionType : Swift.Hashable {} +extension Stripe.STPIntentActionType : Swift.RawRepresentable {} +extension Stripe.STPThreeDSCustomizationButtonType : Swift.Equatable {} +extension Stripe.STPThreeDSCustomizationButtonType : Swift.Hashable {} +extension Stripe.STPThreeDSCustomizationButtonType : Swift.RawRepresentable {} +extension Stripe.STPThreeDSButtonTitleStyle : Swift.Equatable {} +extension Stripe.STPThreeDSButtonTitleStyle : Swift.Hashable {} +extension Stripe.STPThreeDSButtonTitleStyle : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentCaptureMethod : Swift.Equatable {} +extension Stripe.STPPaymentIntentCaptureMethod : Swift.Hashable {} +extension Stripe.STPPaymentIntentCaptureMethod : Swift.RawRepresentable {} +extension Stripe.STPPaymentIntentConfirmationMethod : Swift.Equatable {} +extension Stripe.STPPaymentIntentConfirmationMethod : Swift.Hashable {} +extension Stripe.STPPaymentIntentConfirmationMethod : Swift.RawRepresentable {} +extension Stripe.STPPaymentMethodCardCheckResult : Swift.Equatable {} +extension Stripe.STPPaymentMethodCardCheckResult : Swift.Hashable {} +extension Stripe.STPPaymentMethodCardCheckResult : Swift.RawRepresentable {} +extension Stripe.STPKlarnaPaymentMethods : Swift.Equatable {} +extension Stripe.STPKlarnaPaymentMethods : Swift.Hashable {} +extension Stripe.STPKlarnaPaymentMethods : Swift.RawRepresentable {} +extension Stripe.STPSourceFlow : Swift.Equatable {} +extension Stripe.STPSourceFlow : Swift.Hashable {} +extension Stripe.STPSourceFlow : Swift.RawRepresentable {} +extension Stripe.STPSourceStatus : Swift.Equatable {} +extension Stripe.STPSourceStatus : Swift.Hashable {} +extension Stripe.STPSourceStatus : Swift.RawRepresentable {} +extension Stripe.STPSourceType : Swift.Equatable {} +extension Stripe.STPSourceType : Swift.Hashable {} +extension Stripe.STPSourceType : Swift.RawRepresentable {} +extension Stripe.STPSourceUsage : Swift.Equatable {} +extension Stripe.STPSourceUsage : Swift.Hashable {} +extension Stripe.STPSourceUsage : Swift.RawRepresentable {} +extension Stripe.STPTokenType : Swift.Equatable {} +extension Stripe.STPTokenType : Swift.Hashable {} +extension Stripe.STPTokenType : Swift.RawRepresentable {} diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Modules/module.modulemap b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Modules/module.modulemap new file mode 100644 index 0000000..5212dca --- /dev/null +++ b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module Stripe { + umbrella header "Stripe-umbrella.h" + + export * + module * { export * } +} + +module Stripe.Swift { + header "Stripe-Swift.h" + requires objc +} diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Stripe b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Stripe new file mode 100755 index 0000000..89ce587 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/Stripe differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/_CodeSignature/CodeResources b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000..d298c5e --- /dev/null +++ b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/_CodeSignature/CodeResources @@ -0,0 +1,2475 @@ + + + + + files + + Headers/Stripe-Swift.h + + wAhU1ZV/md20O9a2iDH/ALcuTtI= + + Headers/Stripe-umbrella.h + + CtYgfX1RBDQjCxFfUqmqmV7oG5g= + + Info.plist + + Nzgg3RC1JXPVaCWDp2M7vY0oCTM= + + Modules/Stripe.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + cPWHhnTusptRiVPF5DeRHS44bbY= + + Modules/Stripe.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + YRmKPueZeDxNeRyGjtOPdcAPbV0= + + Modules/Stripe.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + SMS5V+nyGAj7hBcyO0bKmRB5Zpg= + + Modules/Stripe.swiftmodule/arm64.swiftdoc + + cPWHhnTusptRiVPF5DeRHS44bbY= + + Modules/Stripe.swiftmodule/arm64.swiftinterface + + YRmKPueZeDxNeRyGjtOPdcAPbV0= + + Modules/Stripe.swiftmodule/arm64.swiftmodule + + SMS5V+nyGAj7hBcyO0bKmRB5Zpg= + + Modules/Stripe.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + NwnUnjFdH7J+Y73qLw1trDiIMn4= + + Modules/Stripe.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + He/UOU83i4Xw2GwQmtm3MSJ3URw= + + Modules/Stripe.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + oU1Rk8xImbNYmepSKOgmzoOaVdI= + + Modules/Stripe.swiftmodule/x86_64.swiftdoc + + NwnUnjFdH7J+Y73qLw1trDiIMn4= + + Modules/Stripe.swiftmodule/x86_64.swiftinterface + + He/UOU83i4Xw2GwQmtm3MSJ3URw= + + Modules/Stripe.swiftmodule/x86_64.swiftmodule + + oU1Rk8xImbNYmepSKOgmzoOaVdI= + + Modules/module.modulemap + + Qm+1/OSr6L6q9E6G6i8/cbD954c= + + afterpay_icon_info@3x.png + + TX50Uslajcp4bWm2bRTpwUwD5uk= + + afterpay_mark@3x.png + + 96c7ga+26/fgo6gLnw5015zSha4= + + afterpay_mark_dark@3x.png + + yvOWBWD9S99r5CvmuOfePBlhiI0= + + anz@3x.png + + NMAuMDwVZBDajN0+gi093gOtQqE= + + apple_pay_mark@3x.png + + hoYLOLpB90PhN5dFvdVtoIYvjhk= + + au_becs_bsb.json + + 1bTo7i6sVSY85whK/COW4EpBVzo= + + back_button@3x.png + + d+mJIvRzibaX8WltdY+KXSHYC0I= + + bank_icon_boa@3x.png + + Ybw+32jpBlPIDj67WNWrQihOKLU= + + bank_icon_capitalone@3x.png + + gzELzyZWb70GJp+uRiQ70kDB6lw= + + bank_icon_citibank@3x.png + + nUakpzvITlNz208OJjtLPwXNvNA= + + bank_icon_compass@3x.png + + L2yVdV9/GfWvHOR43O86xo3lwxQ= + + bank_icon_morganchase@3x.png + + daa/GtynDNSzeUVYMweXcIeOWYc= + + bank_icon_pnc@3x.png + + 3Q2A2+cnoZNDjJlzXLptHLgaGM0= + + bank_icon_stripe@3x.png + + aJN2V61BGjyOkeEoKxGGm2vXAIM= + + bank_icon_suntrust@3x.png + + b9NkIVSNT4ZC/KzcEYJLnhTs8gs= + + bank_icon_svb@3x.png + + cPFNmkCSY5oDTWXj0z8hJ7ihlTI= + + bank_icon_usaa@3x.png + + I2Oqe7DT3u6P/Rqg3D+faeU4rv8= + + bank_icon_usbank@3x.png + + RnacFUQYAQcZDsOlqnf6/fVLjkI= + + bank_icon_wellsfargo@3x.png + + LjuWGtkaXym050zfIVxve/sA0wg= + + bankofmelbourne@3x.png + + 21KENzIsPUqxMDdkBldIE/uHzxI= + + banksa@3x.png + + BSxbBBvjk1GeJX3VqW0w4InrhJw= + + bankwest@3x.png + + WzhtFd6V+7S0cZoFzgg7zE1k564= + + bg-BG.lproj/Localizable.strings + + hash + + QMTP+Vw9sJxdGFYHWIvX93BDHqw= + + optional + + + boq@3x.png + + qLakTlYQPlkMiIhuuZqPZeFU6RU= + + ca-ES.lproj/Localizable.strings + + hash + + sNkkpF36ft8DUNiXAUq8As/YoWE= + + optional + + + card_amex@3x.png + + 9QesAHgRj/0LfIFFaViEvFB4TOE= + + card_amex_dark@3x.png + + +ez9GUkExnZ4Z6diT0gnTLeHI8Q= + + card_cvc_amex_icon@3x.png + + y51zSC1f62t9lrfS43nM8sOzbmI= + + card_cvc_amex_icon_dark@3x.png + + HA8jOhaosABNEmv85UwV4vEFeOU= + + card_cvc_icon@3x.png + + YGRk31zy3/ASued70seyVzjDeDs= + + card_cvc_icon_dark@3x.png + + ccQbr5MuLI2bxeYp3WbgqFXA27g= + + card_diners@3x.png + + tXUkwWcuVyOVWhBmEzo52lqd5qI= + + card_diners_dark@3x.png + + Im6LYL8Ify2Sh9yTDsHcLTPdTNc= + + card_discover@3x.png + + H65Xu7NCBfW1ximYRCIwDmjpkT0= + + card_discover_dark@3x.png + + ZqAXCknsmX+t+s6k0TrtpFtbaJw= + + card_jcb@3x.png + + eiN8rKHSXhnalR/R5GwM5oPAXqQ= + + card_jcb_dark@3x.png + + rK4HgpqUHAraWMxhPQqlHLWBgQ8= + + card_mastercard@3x.png + + Su1OEqSDpwGTd7SpO5L/ULkIHZk= + + card_mastercard_dark@3x.png + + yh386SZ8ssuVgmeRHYeBge7EEdg= + + card_unionpay@3x.png + + pLf/5PLwozfRmlYV3HAtz6qW/4g= + + card_unionpay_dark@3x.png + + 8BO+RM/ITqmKyISnYixsV1RHgFM= + + card_unknown@3x.png + + psQ/JUYu6EsnCf2XL2vm8HtE/Q8= + + card_unknown_dark@3x.png + + wjGcUnVeRiXa1OZQajUBBiU0cEw= + + card_unknown_icon@3x.png + + 87rieHHqm5K5dV1fnv6B4rIeHu4= + + card_unknown_icon_dark@3x.png + + W/tuhjSCwBNewa/i1Riw4m/Mpuo= + + card_visa@3x.png + + go8bZVY3fOeDtu0J12WO79GoN/4= + + card_visa_dark@3x.png + + Wwz5iuACLKEKRMbjJYedixUUc18= + + cba@3x.png + + sVttqDripy8xnxYVed5ueQ3bPk8= + + clearpay_mark@3x.png + + QmWE3ceczlrjBp7EY8gFOqoXDO0= + + clearpay_mark_dark@3x.png + + Dc8e76qLDbMqGG+vmNezEzsjs4U= + + cs-CZ.lproj/Localizable.strings + + hash + + /PQY2s4wbish4uWGDlDKMro8onk= + + optional + + + da.lproj/Localizable.strings + + hash + + TOO/47nPYBim+zfXRJXfjTXQFcI= + + optional + + + de.lproj/Localizable.strings + + hash + + vouAmR9dN4RTmaPJdMxWbSSDUUE= + + optional + + + el-GR.lproj/Localizable.strings + + hash + + CJpZHO+Lf/H9UcenpVlhQyl8Vc4= + + optional + + + en-GB.lproj/Localizable.strings + + hash + + 4UCKocyICQgmydWP8CAe/ywQU9E= + + optional + + + en.lproj/Localizable.strings + + hash + + FNT5gePtA8Cl7NvKbM95KmSBtWE= + + optional + + + es-419.lproj/Localizable.strings + + hash + + t+ETJ60U6EeFaSNO71ybWt6CzXA= + + optional + + + es.lproj/Localizable.strings + + hash + + AuRlC/bRdCW0XKMpJgabF/TDAMM= + + optional + + + et-EE.lproj/Localizable.strings + + hash + + CBYOL/8R/qCHCKTSXIkxQVxrjBI= + + optional + + + fi.lproj/Localizable.strings + + hash + + sonwK1vdNNSsk/HORCNEiAMMSSc= + + optional + + + fil.lproj/Localizable.strings + + hash + + nIZYSj+Mh59Q5AtMxUu3yjSoecY= + + optional + + + form_error_icon@3x.png + + B5g/ZVq+4CyYjs5+g5nZ4fNfRS4= + + form_error_icon_dark@3x.png + + fBvafebB8oMuL90Rpqw5Kj3RyZY= + + fr-CA.lproj/Localizable.strings + + hash + + YTCoS/ds7Is7TqPoQ640JNf3bKY= + + optional + + + fr.lproj/Localizable.strings + + hash + + WYDsT41S1R2mVJhH7xvetSkd5Lc= + + optional + + + hr.lproj/Localizable.strings + + hash + + rMSFYC5DX7nZoiCD4xAlioOsW+A= + + optional + + + hu.lproj/Localizable.strings + + hash + + WYdVuG8NmCzpECIWzp0pokNzV4M= + + optional + + + icon-pm-afterpay@3x.png + + Q1+x6PCDDBY7dyklswZQkk2+Sq4= + + icon-pm-afterpay_dark@3x.png + + l81QM4+7gEhP6Vn27BpeLl21hD8= + + icon-pm-bancontact@3x.png + + bz5KSkvQH4JiiddbaK/+TyhaAGw= + + icon-pm-bancontact_dark@3x.png + + 9/NVE8XHwgsQmj4vpoBZRRSEPq0= + + icon-pm-card@3x.png + + dFRVQ25E0a/h5ET6OVYRvHVja6c= + + icon-pm-eps@3x.png + + aZVGJ4VD5vJBsERFbCktf8fdwGg= + + icon-pm-eps_dark@3x.png + + LhOg+5h/UGGu/iOGhiU8OwTxpCw= + + icon-pm-giropay@3x.png + + 4CFjfZwlyYdBxUBVERV5/U4KTIQ= + + icon-pm-giropay_dark@3x.png + + Sb4f0FV1SOkzggo8A5s4/xP82pA= + + icon-pm-ideal@3x.png + + 47gNaqZ/tSSJeOkglAEOtmLmA4w= + + icon-pm-ideal_dark@3x.png + + OB8kCj3GyXaFU8RsfhT20iTfTMo= + + icon-pm-klarna@3x.png + + FwDgefIuiQDZvqJw6XCK5nvGKt0= + + icon-pm-klarna_dark@3x.png + + hpoO7jVAxUI3TRyAlkNPro74/pM= + + icon-pm-p24@3x.png + + zU+71q87DLoahLFHVYODuDAsBCM= + + icon-pm-p24_dark@3x.png + + v5ALk3merh2seUt/oXzcZ07XGo8= + + icon-pm-paypal@3x.png + + vqocd904xaX0RFiqyjMwpgnyzWg= + + icon-pm-paypal_dark@3x.png + + wiwKLVyWmlHkjIzbbjACsjHUGiM= + + icon-pm-sepa@3x.png + + SoHRUAn5QdPXVwdyDY08/iMVluA= + + icon-pm-sepa_dark@3x.png + + shrlBRrPMii5aktbKPiPlk6Cqc0= + + icon_add_bordered@3x.png + + MYAo56DZ0+6QkQsprfW57EoFMB0= + + icon_cancel@3x.png + + 1INlxYbwy5zTkEj3jeiSp7tnpf8= + + icon_checkmark@3x.png + + rQe7aT/VdItjqaqaBKskIUI4aFg= + + icon_chevron_left@3x.png + + b6q2kZm98i64zQkmVtl/5ieNroM= + + icon_link_toast_success@3x.png + + J3dLDBZ8LpXQBxx8yqudgbbdXoM= + + icon_lock@3x.png + + dqC3+h57yI9+1OZJXcRD3zCc/uM= + + icon_menu@3x.png + + ncTVfk8IdO5PZNvsmJA3ibTjo+c= + + icon_plus@3x.png + + xrHuDmF1Ud8HOA1KC/PqKVWPe+c= + + icon_x@3x.png + + 4DYTk8ccn4fmby0c8cQf0KhjVE8= + + id.lproj/Localizable.strings + + hash + + SRUNS6/6PzzTlB66k7e4E2AXjxI= + + optional + + + it.lproj/Localizable.strings + + hash + + pe7tMHPw75WPFfs4blaeYL00vq8= + + optional + + + ja.lproj/Localizable.strings + + hash + + 3j2m/5HnIhWmFnVOlXqa3cgt0Aw= + + optional + + + ko.lproj/Localizable.strings + + hash + + 537Wkj/Z4IVoIcxKLM7zmAuNStQ= + + optional + + + link_logo@3x.png + + UHixgSEYIoYJjXsLX1qw+zRTIvk= + + lt-LT.lproj/Localizable.strings + + hash + + rZarfTuG+OVgKgu/wQxuhtQvQmo= + + optional + + + lv-LV.lproj/Localizable.strings + + hash + + jy/3bSRTUtBBICQNaDZY8PVtbI0= + + optional + + + ms-MY.lproj/Localizable.strings + + hash + + 0jYtZADgByT581UmiqoUX3lVDBc= + + optional + + + mt.lproj/Localizable.strings + + hash + + 1muuxaqUuhRLFcggVVG/NKMZopM= + + optional + + + nab@3x.png + + YVxAuiYl2qVKUv1H0dXNk4YLLqA= + + nb.lproj/Localizable.strings + + hash + + igqa02gsgBwx6Ia42l5s0bblQ2c= + + optional + + + nl.lproj/Localizable.strings + + hash + + i7lR5EyHWvjKHUL0QD+RkZKjhak= + + optional + + + nn-NO.lproj/Localizable.strings + + hash + + RDLvZTjsNwoLJ67BmdUbl8Jl/Qo= + + optional + + + pl-PL.lproj/Localizable.strings + + hash + + 5DPQH3kKTDjUuP5IMSwWYpEnp78= + + optional + + + pt-BR.lproj/Localizable.strings + + hash + + 5jPIZKbEj61Kt5BwFNm5GcsSO5k= + + optional + + + pt-PT.lproj/Localizable.strings + + hash + + LoD45Bxm5pxTvFdZy+rV0AvvKt0= + + optional + + + ro-RO.lproj/Localizable.strings + + hash + + S09IjwZ5wQyoDqI5KlDBCmFAOCs= + + optional + + + ru.lproj/Localizable.strings + + hash + + 34YZYtVmU2H1lf3+jR1kaaZj0uQ= + + optional + + + sk-SK.lproj/Localizable.strings + + hash + + rGjbbbingzuXufAb9VGtewo7FNI= + + optional + + + sl-SI.lproj/Localizable.strings + + hash + + L4THvIdqPviLR6dGlkzhwd78aio= + + optional + + + stgeorges@3x.png + + zhiakE+rdpkWqyABphB46otMzx8= + + stp_bank_fpx_affin_bank@3x.png + + LMtZXjlAQ1VdpY4OpFFpVuL45LI= + + stp_bank_fpx_alliance_bank@3x.png + + +X74iMKAOyLEPoGfz6ETP22OQqM= + + stp_bank_fpx_ambank@3x.png + + MJ2ke2AXjLaXbYwt1luiRo8FCms= + + stp_bank_fpx_bank_islam@3x.png + + 8ABIKkyelqHeHtOvlpQPmqcTSm0= + + stp_bank_fpx_bank_muamalat@3x.png + + dZWrrAZ+Kv2ph+sN3nzxC0rgez0= + + stp_bank_fpx_bank_rakyat@3x.png + + 5MJ+AJsfY/3Sd8GdtDlWh4Xb2yc= + + stp_bank_fpx_bsn@3x.png + + 4uR9bQ8sNV03/yE5oRl6FlNiQ/8= + + stp_bank_fpx_cimb@3x.png + + 0b3JCPSF27DzNrpsoVAG7e+XGYA= + + stp_bank_fpx_hong_leong_bank@3x.png + + khPiyp22y8ar5+X6WNPPRrlHKjs= + + stp_bank_fpx_hsbc@3x.png + + FP2VSslwH1MLFlu22cJw+LZsqi0= + + stp_bank_fpx_kfh@3x.png + + 0dg2oz3RBns43J7KyGLuMNuVn6g= + + stp_bank_fpx_maybank2e@3x.png + + ygCOGOeQzk/HMD8qqG8oU1QpsDk= + + stp_bank_fpx_maybank2u@3x.png + + ygCOGOeQzk/HMD8qqG8oU1QpsDk= + + stp_bank_fpx_ocbc@3x.png + + uiKUWpyN47JNzjMxoL3LpmROMEY= + + stp_bank_fpx_public_bank@3x.png + + U2YQ3Fmf0HATe3p6P5lJzwCeTmY= + + stp_bank_fpx_rhb@3x.png + + oQ7yCYLvlCRno4QIxI6HFgeQIHw= + + stp_bank_fpx_standard_chartered@3x.png + + sFjCJNcmL4mp/99RSgAws3gXhWw= + + stp_bank_fpx_uob@3x.png + + d91hmSKKXn+VjTf9BnMS2AAK4HY= + + stp_card_amex@3x.png + + bF+A0cwtqmDYhweDk+sE0eWCIME= + + stp_card_amex_template@3x.png + + DBye+o9tdTfdYvD6c7N0axqZtz4= + + stp_card_applepay@3x.png + + D07ogDijKjcFlq9B7bF9x8bP7QQ= + + stp_card_cvc@3x.png + + urKIxSGeE83wfaj/QWDgjNc98Jc= + + stp_card_cvc_amex@3x.png + + 2F9GpkQY+nEettR5wFc5GrwGSAA= + + stp_card_diners@3x.png + + WjFidrSLudky2m9LfepxWj8WZY0= + + stp_card_diners_template@3x.png + + WsXoiBhi2ULY9fLtQoYfzUGNodg= + + stp_card_discover@3x.png + + 63CYkdsoRBbnCAj/BgH2SP4j/MM= + + stp_card_discover_template@3x.png + + uO/bJUs8kRhMaFMfUmqZk9Awerk= + + stp_card_error@3x.png + + jm1O1Z3A5ZS9/WvZl5gy6Lla3n8= + + stp_card_error_amex@3x.png + + redAbFzaqrp3lChrlvbdnBDmnnM= + + stp_card_form_amex_cvc@3x.png + + 3D5K4rKJHESptwJHsYgK+lGdpdo= + + stp_card_form_back@3x.png + + o4soBcRRvck+BmmhDuQJBCFaYMY= + + stp_card_form_front@3x.png + + Mo+YJ6OyS3/4c8VH4yVYjQHklq4= + + stp_card_jcb@3x.png + + SjeEJrRq5qqUUtLX9nkvKHBUONA= + + stp_card_jcb_template@3x.png + + jukPCbdXtgAr2nPlfC4TSS5QlfM= + + stp_card_mastercard@3x.png + + wuOTzBhgv+oqwszlDuYZhwy0LFU= + + stp_card_mastercard_template@3x.png + + l1wOLM8S/dQ6IYpeBH2rA0j5q2s= + + stp_card_unionpay_en@3x.png + + N/sDh8yqACx6p912KUh+gmk02gI= + + stp_card_unionpay_template_en@3x.png + + mubWGatfwd37hBWhssTjoeXO1uk= + + stp_card_unionpay_template_zh@3x.png + + JcYzaCkFI5ge6UW77SisW1wq6lc= + + stp_card_unionpay_zh@3x.png + + oHQH0iV2XaPX3DN9bR9XehocsdA= + + stp_card_unknown@3x.png + + Touf4iR7hjOSysxfUwV4i8KffLA= + + stp_card_visa@3x.png + + +CykNyO7WyNZ6rgvRhZ9pCskPqM= + + stp_card_visa_template@3x.png + + 5mns9YpSOMAnW1cytzW1k0eAzkU= + + stp_fpx_big_logo@3x.png + + +b2WOtokZbre1UDaj/fzewFRvks= + + stp_fpx_logo@3x.png + + kYg8S+GFkpCDm65sMYllO65cUAw= + + stp_icon_add@3x.png + + I2/zUOCVYrCFXA6Qc5u+U6bhl58= + + stp_icon_bank@3x.png + + 775kldBKER4enrxzDMPmEMTgAes= + + stp_icon_checkmark@3x.png + + 3+MbJQzrSylhATDPNGHm2GdpgDw= + + stp_shipping_form@3x.png + + nmDDwoJPaMVz7b0hIOy008ZVKgU= + + suncorpmetway@3x.png + + mxCbIN2E94Ju5hzPXtfaBkK6HfA= + + sv.lproj/Localizable.strings + + hash + + BCnvXdFItF2+WgeVnphwqM4ZsWk= + + optional + + + tk.lproj/Localizable.strings + + hash + + 240sZkQYSeBDHQqQPE4IfQMHI6k= + + optional + + + tr.lproj/Localizable.strings + + hash + + raTKztqz7zCRCE5xqrVZvqHvb6k= + + optional + + + vi.lproj/Localizable.strings + + hash + + KtC+ONcOeUPTOjY51BKCfijQw7Q= + + optional + + + westpac@3x.png + + NIFOGW+NQN+z+Lv19i8tjn4JOgU= + + zh-HK.lproj/Localizable.strings + + hash + + xsHRfhDP8kcwtHr7WsZKuZ6q6QA= + + optional + + + zh-Hans.lproj/Localizable.strings + + hash + + 2EF504dtWP71YTACmYD0e+kmbOI= + + optional + + + zh-Hant.lproj/Localizable.strings + + hash + + SGMeK1WMTsBbo5JWfEcH0V+U7rY= + + optional + + + + files2 + + Headers/Stripe-Swift.h + + hash2 + + 0h3Cxocjf0r5I/Ce5lwYcwVypAXyj5u7FmxGstPP6sc= + + + Headers/Stripe-umbrella.h + + hash2 + + JAnTC1w5zf3pmaVrLrfE58ladGjaAk3Gu9XirD7po6E= + + + Modules/Stripe.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + hash2 + + DSsQ2kSCvktQtxkN3rM8veH+pKx0SgnHiRo1C80EjNw= + + + Modules/Stripe.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + hash2 + + XQl6G++NxQ3KiRdsU6bbSWQrJnARedFB7cBNBZhdMcA= + + + Modules/Stripe.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + hash2 + + XMitW80/9boVRx/AkmzBpQQgW9o+eTOxquebno0BKlw= + + + Modules/Stripe.swiftmodule/arm64.swiftdoc + + hash2 + + DSsQ2kSCvktQtxkN3rM8veH+pKx0SgnHiRo1C80EjNw= + + + Modules/Stripe.swiftmodule/arm64.swiftinterface + + hash2 + + XQl6G++NxQ3KiRdsU6bbSWQrJnARedFB7cBNBZhdMcA= + + + Modules/Stripe.swiftmodule/arm64.swiftmodule + + hash2 + + XMitW80/9boVRx/AkmzBpQQgW9o+eTOxquebno0BKlw= + + + Modules/Stripe.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + hash2 + + WCuyg7zx23fanNSY5E/uSHwxjXyUTMXEr2GE9+dXV5o= + + + Modules/Stripe.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + hash2 + + kIUnkWp2jclPw6l3Zfx7TFjVDHBR5dCiRfUC9cdBovw= + + + Modules/Stripe.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + hash2 + + +wldLubD/mu1FZcZzW6ifnCSKF+UFQDSmz4YjGlMbiI= + + + Modules/Stripe.swiftmodule/x86_64.swiftdoc + + hash2 + + WCuyg7zx23fanNSY5E/uSHwxjXyUTMXEr2GE9+dXV5o= + + + Modules/Stripe.swiftmodule/x86_64.swiftinterface + + hash2 + + kIUnkWp2jclPw6l3Zfx7TFjVDHBR5dCiRfUC9cdBovw= + + + Modules/Stripe.swiftmodule/x86_64.swiftmodule + + hash2 + + +wldLubD/mu1FZcZzW6ifnCSKF+UFQDSmz4YjGlMbiI= + + + Modules/module.modulemap + + hash2 + + Efjm5RMcCCKzF4Gtam+S9XgTGHtR59eotTZUyqIAEhQ= + + + afterpay_icon_info@3x.png + + hash2 + + 1a4zm7+o/S5xlsrw7Jp0+ZFuFI/+SuD6e6R9cerWXeU= + + + afterpay_mark@3x.png + + hash2 + + HjbxOtN7KpgFMhNKKMCpqH1u1rHEqYKK4vU6evLwLT0= + + + afterpay_mark_dark@3x.png + + hash2 + + W4plsymXdxx9S/I/hjRiyMkhiMYJVBZyXLvP5yJcGIk= + + + anz@3x.png + + hash2 + + FuA/Qr6yvhmbcpXZtHFU4i57ebm6/pHsKHudSDgtIrc= + + + apple_pay_mark@3x.png + + hash2 + + 0YH14XhkKrzv+e3HD7FjBgUcx6oHuekoECg9BoyV88E= + + + au_becs_bsb.json + + hash2 + + Cd+piF3bgclsVb3Hd3/63GxvuDk9oZaFGb5SOKNpzso= + + + back_button@3x.png + + hash2 + + wre3JS5g5i9/g80eOw7jItj/jM2CXNGjux6fwqtuUQk= + + + bank_icon_boa@3x.png + + hash2 + + 3X8YgMM+OCS4V06gWEoYq7AYgHS7BRVjGZPeV3G60hk= + + + bank_icon_capitalone@3x.png + + hash2 + + LueiYNwAd5BC5EFI6D3u9WCLVrPZqxLX9s0XDI779JE= + + + bank_icon_citibank@3x.png + + hash2 + + x14azEQG8nKOYQ6yxMH02V+CijPPQcLiBYmKcaTS6TE= + + + bank_icon_compass@3x.png + + hash2 + + ZKiFxYbXTeXn9sd/+Q7SNALpgyNfz3/WGL1nX1g9C7c= + + + bank_icon_morganchase@3x.png + + hash2 + + tiCbvkKZRTW5WlTjTLISg21M2WbPjo2W+m2i0Q2uA/Y= + + + bank_icon_pnc@3x.png + + hash2 + + UICMP7fXolcSfMNChJ310fKVhddQoGdNupW+2nJR3K0= + + + bank_icon_stripe@3x.png + + hash2 + + w1b1G+2X0irPw5Cge4TwzGeEsu9OzfQ3npp6+E4E4lU= + + + bank_icon_suntrust@3x.png + + hash2 + + jW//Cvbv6sdbaW6UIfNB332f8r34CHLRm2HyyUiauWk= + + + bank_icon_svb@3x.png + + hash2 + + FDdiHeRcZLTu+UsUAy6mnSejsg4o283tOIHnDcF7Z8U= + + + bank_icon_usaa@3x.png + + hash2 + + Eaf3Ok9EHh/MEmNvTO40Nuor/86SCtaey6UDQJ1KpFE= + + + bank_icon_usbank@3x.png + + hash2 + + jSRpXUM4Z52wv8t+v3FfAW2ulR1RiOdDbkgenqL0rAw= + + + bank_icon_wellsfargo@3x.png + + hash2 + + u0zuNxwqq4lXtHlSTnIp+iZ3tihAw7LX5aEKtNEnXUc= + + + bankofmelbourne@3x.png + + hash2 + + HTv4HE9NLUcWtJJ+uHFzUWenLIhOxg24nmwCFhNqlQE= + + + banksa@3x.png + + hash2 + + jQtPtu+IzTSz/YFmJ8Rm5R8kVKGYsGcZP2b5sWkztCs= + + + bankwest@3x.png + + hash2 + + c4SHJejDoP+6wXgvVgfC8oXsU0PFbMK6iZNVonukUeg= + + + bg-BG.lproj/Localizable.strings + + hash2 + + F50F4keDcBpdVey9DH9tyqyWTXCFeQs1yYyZ89dACOI= + + optional + + + boq@3x.png + + hash2 + + CbwWOhjUlsCXQo34srFaJT18gQ56s+vxiiscdjrngxA= + + + ca-ES.lproj/Localizable.strings + + hash2 + + PoZH8Z4whSArYSXfLorr3ZDaSfx1nmk+o0SEuhCdjxI= + + optional + + + card_amex@3x.png + + hash2 + + lOH7aXly/PkIbU7GqQ3MAmzySh9qB8XNGZqauh+asG8= + + + card_amex_dark@3x.png + + hash2 + + zQjFfNnhOKaeL1zOalYsCMLTJMQsA31Xpc8Zbys87dY= + + + card_cvc_amex_icon@3x.png + + hash2 + + e67PdglQF9QtQ/y0jgvETiMpv+RtkkRqtu0auhC6Nek= + + + card_cvc_amex_icon_dark@3x.png + + hash2 + + kDgevtQ8BzM764uGGtDAYmvBDUU9Jk+0Y5UtKccs0Ho= + + + card_cvc_icon@3x.png + + hash2 + + gbqecT+KfhDOW+8GXL5laaKDckWShe5E/fOM0/8KuE4= + + + card_cvc_icon_dark@3x.png + + hash2 + + UFmmeVoykj62Ujs0irquxUEs86aBCzQNqxPFm1ynw9c= + + + card_diners@3x.png + + hash2 + + sWWCkfs8v8M6QqoUToD/iVZSrZ49l1PoD1j7MefU6LI= + + + card_diners_dark@3x.png + + hash2 + + 236fIb1+ArMTHA4zHpLuES20whsXAehHeDaFwhewcI4= + + + card_discover@3x.png + + hash2 + + MUrEQWy1I/W62kWfSF1XGk21zApzUOkijFyTicQdDSg= + + + card_discover_dark@3x.png + + hash2 + + fDlHqj/JmM03vNozdnlp0A63yNGHfbTbRwv0eghGpCw= + + + card_jcb@3x.png + + hash2 + + LtphtmkCeP2Fvjwr7a528ZrgMa/V/uFtWcIQME2XKXE= + + + card_jcb_dark@3x.png + + hash2 + + e98k+lXlzeX9WNZqN48/TvkpjBEpdcmrCmzk22JRxV4= + + + card_mastercard@3x.png + + hash2 + + A+/n/RvJ2Pft+WjS6fC4vJe/1fahV8BaBxkO1FeAoZ8= + + + card_mastercard_dark@3x.png + + hash2 + + O5R8XirZM42U1w1zxY4vhQ9UdOQFumz+tYp0rGX9ZGM= + + + card_unionpay@3x.png + + hash2 + + PPzxCqsKT9WNseJXU8Hi73xtMjAZchMrWFHOBYO3PWY= + + + card_unionpay_dark@3x.png + + hash2 + + HUGUlf31Cae+fU0OI8jOulU/O58ksrVoOFpOIWZf6C0= + + + card_unknown@3x.png + + hash2 + + 8NYbadjfXVsOPTlKQVPF9SIEi+B8v1XtkjkYokn13Es= + + + card_unknown_dark@3x.png + + hash2 + + g6iZ3zFXC5cDja/r4agr+gujDK+9MjxFa8+MXy9zDjQ= + + + card_unknown_icon@3x.png + + hash2 + + Jzq6bB2r2sw1BR9YOK781cQ8XNfhTELkw4OFi2Kq0iY= + + + card_unknown_icon_dark@3x.png + + hash2 + + QjzAGwNoBwnjo0fPHEeFYJx0euevFZLU7rCz6QKFBVw= + + + card_visa@3x.png + + hash2 + + 8ZMObFTkkYeaIWoAf1k8RoCLjkp7x3J8sewZjFIFXxI= + + + card_visa_dark@3x.png + + hash2 + + Ez/EA8EYgdWFAyp6NcBrAooFnm21yB99Kzf3woTe75Q= + + + cba@3x.png + + hash2 + + ziFvAT3dTc8NbW4/uxaKHnVz9VrBO0N+XTKHkSz48Ko= + + + clearpay_mark@3x.png + + hash2 + + s131Z+KP3z084bb0u6QaDdL5wrueo2xGM28TvT8DO/s= + + + clearpay_mark_dark@3x.png + + hash2 + + 3TJwsNqaxEitbdRcqUNKyX+icDJtvA5iOej4/WLeNPY= + + + cs-CZ.lproj/Localizable.strings + + hash2 + + qjRzVpuWMIWVJLWsKl7m9M9Pt+5yBuYABFBEeAUeOXc= + + optional + + + da.lproj/Localizable.strings + + hash2 + + 8kml465Y7/RxZVv7IGoEjG9gZMy36dIjfepwB7DzAyk= + + optional + + + de.lproj/Localizable.strings + + hash2 + + 1MBDLcu03ZmZg6hTbvCY1NIO6V2/gH4auklRSFLCVFI= + + optional + + + el-GR.lproj/Localizable.strings + + hash2 + + yKJ4aN02Qwawk5/Eu/cjpjJVIvfz225+7UbjQdGkURw= + + optional + + + en-GB.lproj/Localizable.strings + + hash2 + + fNiopjp/ldV5rHk/aZQAtQo3C21fbBsIDsXcl++qhc4= + + optional + + + en.lproj/Localizable.strings + + hash2 + + CWyv0nY1CSpo2i2guFqO3ax3Xf0ItqlV/DQSER+9WlY= + + optional + + + es-419.lproj/Localizable.strings + + hash2 + + FWJXsVNcfgD6SiMV0qRVTzq/VjD56VU223gzUeyemHQ= + + optional + + + es.lproj/Localizable.strings + + hash2 + + 7r08SQ/5pbyAsQEI4Gz2IgpTSqDYjs/hCqKNFqpCWss= + + optional + + + et-EE.lproj/Localizable.strings + + hash2 + + fU3e1sMauSfZaGyOjh5xB8SiGW+2F0mKOuQZCmIyvrc= + + optional + + + fi.lproj/Localizable.strings + + hash2 + + OuWptrDDH/bsXaGNy0dLl+SkyZXgGhVxGSJ7U2m62iA= + + optional + + + fil.lproj/Localizable.strings + + hash2 + + 7f9YOTDi7HLiQtfJ3oX/EgPchc0lJG55cQnDA0VrBdw= + + optional + + + form_error_icon@3x.png + + hash2 + + DqE2+6qqFdcF9wHn7kLVwhY++7yQXXbAdvAQESeIBnE= + + + form_error_icon_dark@3x.png + + hash2 + + 8aTaixvRVMjc/1BcCtNc0tmUduBvjsfvLL4sRjfZLuE= + + + fr-CA.lproj/Localizable.strings + + hash2 + + 2Gg5yAv/toUU+avBmv7Rr3lTN3EM9jGUBCObHtWq5TI= + + optional + + + fr.lproj/Localizable.strings + + hash2 + + kX5/Dyn+yo2dasA60wXf/kVUmz0Y+rpDmK5b1fKOVnk= + + optional + + + hr.lproj/Localizable.strings + + hash2 + + M23UZGRI1fyyduu6HLOGlgBLePhXZQ469bV/6bVqrIs= + + optional + + + hu.lproj/Localizable.strings + + hash2 + + rP3KqUiQBv362WEK/QVKLUShlxX76AQAvKRI3llbWHA= + + optional + + + icon-pm-afterpay@3x.png + + hash2 + + HrhYbfVEQYsSU2Es+r477vc0iwvzEGcQ6JVUl3RLRTU= + + + icon-pm-afterpay_dark@3x.png + + hash2 + + LZlFHUg4LEuG6houbxZxUCFeU8kMuma5qcQ1BWn3Nv8= + + + icon-pm-bancontact@3x.png + + hash2 + + JlODSyY9p9Emv9HBc2kA1ondsG4WVSkdR/AAejv/DiQ= + + + icon-pm-bancontact_dark@3x.png + + hash2 + + 3hCaSyaxI4MHfdRa3wuM+eOa6OGkMWMIufU99S5GCX8= + + + icon-pm-card@3x.png + + hash2 + + zox1/MT3zzneNjb4+370FIcuQkanyNMZz4GkI3e6HeI= + + + icon-pm-eps@3x.png + + hash2 + + KZpnSqz8CDiphvqdReBqDwdq3ZGo4LLxqXqRcmbMUOs= + + + icon-pm-eps_dark@3x.png + + hash2 + + Img5p0aqngGUuNcHf2z4eWA8qOuCHCGPnMxD6BwWEqs= + + + icon-pm-giropay@3x.png + + hash2 + + 7OOAHSX54JM1zkq+ncDS4xrlw3hKIAJMbczwfyPVQbc= + + + icon-pm-giropay_dark@3x.png + + hash2 + + qpKpCWfrQHz4mKuHQ9hGf5EBKOatKjrEkRfqoepeEXM= + + + icon-pm-ideal@3x.png + + hash2 + + fgmsj8MVHW7jGDEWmGa5NzybwoaPIyCbAb5nV2dIOQk= + + + icon-pm-ideal_dark@3x.png + + hash2 + + fhkmcoyrQB8sLSbv9Mpn9qCbb/+JYwuU8Aw1FZSo2j0= + + + icon-pm-klarna@3x.png + + hash2 + + k2yML7772eQS6Z2y8jWeuT+ReGlfmD7cRhBGdK4mH4Y= + + + icon-pm-klarna_dark@3x.png + + hash2 + + 9fNKBaiLDQawnfYCbcZo2JaSEunht8ELCBmyPQuBpKU= + + + icon-pm-p24@3x.png + + hash2 + + yOUAURJWFkDoh4s4qeB5F6Vvaksag9pzoFkwxzFG3L0= + + + icon-pm-p24_dark@3x.png + + hash2 + + 8h381ZSg+Yfv/yrpr9cwzxvhZ1JWcSUg0posimF3LNk= + + + icon-pm-paypal@3x.png + + hash2 + + vy+lyGwmC7ZiXfnS9VTtbHSoAovR6Yhy+dJGKReeXqM= + + + icon-pm-paypal_dark@3x.png + + hash2 + + yHHfSL7fgPPTOp7EQemAQlQW9wzd5CbLihHJb52c5CA= + + + icon-pm-sepa@3x.png + + hash2 + + 2wq3UqvyexnDxvb/4VNGXyW/5JvDAFtH5Iliiev6wCI= + + + icon-pm-sepa_dark@3x.png + + hash2 + + knO7GXv88xlP6ybSnkW7qtnIKDvBqIgu4dJ5hWMrQn4= + + + icon_add_bordered@3x.png + + hash2 + + Qod+i+F2q3ijll3WO9OscCttIW0M43zHwCcDQFo9sHY= + + + icon_cancel@3x.png + + hash2 + + tcHkm8BlWvvN4YzFZFR3ZxR08FxR3pMmebemtHNWgh4= + + + icon_checkmark@3x.png + + hash2 + + FDGp1G+8dKrQSk+CCjGF2RfLLeL6IogJA/PGvseIVVI= + + + icon_chevron_left@3x.png + + hash2 + + 9BEjmKTSGGGXB0l/i7JWt0mkb8r0sHgbdv8uBAz/5mU= + + + icon_link_toast_success@3x.png + + hash2 + + wm4c7JcbNuMhJy1zQh7EYcMEIX5tYR14xffgItMFI+s= + + + icon_lock@3x.png + + hash2 + + Xb3RBLSqDm0fWFQzLRu2BJKm3epVuvoXsVoXeRb0Cck= + + + icon_menu@3x.png + + hash2 + + zZ7QVnMRrWfW8QUNWLQrW+dTziaqyj5Z+GsoXzHUSAU= + + + icon_plus@3x.png + + hash2 + + 6hqP93OSG47bZEL8giXEAJNOEa3ve3v1FHQfOhIUtK0= + + + icon_x@3x.png + + hash2 + + L6vwVpm3beHDwc3HG2OffUXYtaIgUV6YjEvNBjkpsjs= + + + id.lproj/Localizable.strings + + hash2 + + uOJvJ9wnM9ez6f9bzpuElZKmzeObg1v3h09muXiHcSM= + + optional + + + it.lproj/Localizable.strings + + hash2 + + DYvt1X6jvzrUd7JuMorQmSRO2FV1g451DU8w7YoAQpU= + + optional + + + ja.lproj/Localizable.strings + + hash2 + + eo4MqnBus8f7zyoOTsptdZAv3UFxTYh0xxLIhWDnThg= + + optional + + + ko.lproj/Localizable.strings + + hash2 + + rsOViAVuOBf62l8kcx3cd5W7VFTiaRLJJR5phu/afSY= + + optional + + + link_logo@3x.png + + hash2 + + ZJldn+9Ahq8ba2mesiwUZ6hhQL7Ueyjs3BTiwXuYTRM= + + + lt-LT.lproj/Localizable.strings + + hash2 + + 4fWeDIjSrXP3s837VBjyzxjvI/QPuE77KdzUFKlJaRg= + + optional + + + lv-LV.lproj/Localizable.strings + + hash2 + + MSkV98fVNa5JfGQypmiROc5OpBDKEiwJC9IDamz/B2o= + + optional + + + ms-MY.lproj/Localizable.strings + + hash2 + + 9EgT8qTQsPT0smjSue1jSt0VPs46SeI0OfO3P1O9JfA= + + optional + + + mt.lproj/Localizable.strings + + hash2 + + VD2OqujdiEJ4DiHhkEHm1gPquzJItmxjpeW6YERB/d0= + + optional + + + nab@3x.png + + hash2 + + 1xynUcl7V8ngn8SA3zCXI6tDCdNVYbNKBhZ61Sw27g4= + + + nb.lproj/Localizable.strings + + hash2 + + 7mH5ezyyIYyPTmwHK2kjZBt4jfJ2ZSnvmLfd9wklEkE= + + optional + + + nl.lproj/Localizable.strings + + hash2 + + IvRzoVJBwpk5HSHz5qyQlh8rKDRXiUkXg+FVkMaEeG8= + + optional + + + nn-NO.lproj/Localizable.strings + + hash2 + + hTxHAEhDxKwXHfs/vji2DZZx/yT70syag6acWIi9IDs= + + optional + + + pl-PL.lproj/Localizable.strings + + hash2 + + qNTUABznkNq06Xk/HAMWWuZkbNqvxhlu3+qZ6Ep6LRM= + + optional + + + pt-BR.lproj/Localizable.strings + + hash2 + + Q/eAc2JqMJTPfHoIJMkm3DOsBUNC5+lbKC5MHleJ3kU= + + optional + + + pt-PT.lproj/Localizable.strings + + hash2 + + sXa7pgp+i5GnHMGPiZ7FEeHIGG2ANCcLCTIjyFeVIhk= + + optional + + + ro-RO.lproj/Localizable.strings + + hash2 + + OW4gRdjIbSi7omKmy9MrbXLyhcYkm+LLsrxDKWPEmPQ= + + optional + + + ru.lproj/Localizable.strings + + hash2 + + i3J1/AwnXCQIsA6q3PayfET/u/rwKXhW/VcM6X4Q7hY= + + optional + + + sk-SK.lproj/Localizable.strings + + hash2 + + 3VyNcZgAXvhc47QU4HHYvetyoSf2vEMM7RjNMFsgnpc= + + optional + + + sl-SI.lproj/Localizable.strings + + hash2 + + jHgcVUhlc4NgJt0KcrVQBZ58NLHpOmY44vH9COeXS4Y= + + optional + + + stgeorges@3x.png + + hash2 + + WqRNZltVQPRqPAsxjwkzx9qS7W048+jxXeUePTQmLsE= + + + stp_bank_fpx_affin_bank@3x.png + + hash2 + + I3gAdqErDNYzYpawB4uXzxT42Yb8x1BNr7kOl6i9hBo= + + + stp_bank_fpx_alliance_bank@3x.png + + hash2 + + aNIy8q970i9yTA6Pvq0fRgxzdl9nOeJU3ZJHFO9yhW0= + + + stp_bank_fpx_ambank@3x.png + + hash2 + + sTVrV5mbYh2hPEBp8HJMWVJTJycZ4frrEchQ+X7DlYE= + + + stp_bank_fpx_bank_islam@3x.png + + hash2 + + KfIoKZvC+o30yCVUPePQ5s2lXTg/bMa59eiDCTWClaw= + + + stp_bank_fpx_bank_muamalat@3x.png + + hash2 + + FZlQh5O2z1fw3g9XABiiQuREp6Wwjnu2kKnWb/5eZFw= + + + stp_bank_fpx_bank_rakyat@3x.png + + hash2 + + pTubotCZREwVDRDuRQNPaI6iy4KqMV5VaJwLQayWdko= + + + stp_bank_fpx_bsn@3x.png + + hash2 + + CfppmhnH1iuHyTze80LsnqWp7JPve3ql0XJlo4zgx3M= + + + stp_bank_fpx_cimb@3x.png + + hash2 + + bFZ7g6GP9TADXV8kvA1miAcDEl3E2Vu2KyKqlb9Ofnk= + + + stp_bank_fpx_hong_leong_bank@3x.png + + hash2 + + 2g3fAEL3xQTSoG6Upf12E15fzYtEZZtXnpJ23cwarYE= + + + stp_bank_fpx_hsbc@3x.png + + hash2 + + KBOjq8NIHe5kylvnEBR/E5EdSHIGp1/c9MONmntHbcg= + + + stp_bank_fpx_kfh@3x.png + + hash2 + + Hg6DgtQ2m5W1J08kpsgvIBv1xPXyUHpWSIXyP80R0WA= + + + stp_bank_fpx_maybank2e@3x.png + + hash2 + + qLkA4VLLe3GSe3jU9n7Xes5kqN0CwVQjn6bv0pfFCbw= + + + stp_bank_fpx_maybank2u@3x.png + + hash2 + + qLkA4VLLe3GSe3jU9n7Xes5kqN0CwVQjn6bv0pfFCbw= + + + stp_bank_fpx_ocbc@3x.png + + hash2 + + CFXHhZxNHsl5LgsX1Xi9he4eg/SQvdpUSaFqt7AkUAo= + + + stp_bank_fpx_public_bank@3x.png + + hash2 + + v3M3OCKEtKDfdqIyci+fCYz73/S7zWp6o0SQMfeP3bI= + + + stp_bank_fpx_rhb@3x.png + + hash2 + + epapSwj8893z6xlsw8veiQI1tem1zQ2c6VO7WcAe/rI= + + + stp_bank_fpx_standard_chartered@3x.png + + hash2 + + wzVe/7MhWWB+D0HUb42LJ+errAmk7cdqS0JK9yahfnY= + + + stp_bank_fpx_uob@3x.png + + hash2 + + bbYSihNC+nEPbwZk1gD/HxGEMvKxS3FuZCbCgzMfakA= + + + stp_card_amex@3x.png + + hash2 + + afm95YE6qPN3euFfhswNPMIQq1FVcPw3HEwbPVJNXx8= + + + stp_card_amex_template@3x.png + + hash2 + + KxVfnUsd9ABKGdrSzAD3wwF1MdFtzEMctVjbdlFKdmg= + + + stp_card_applepay@3x.png + + hash2 + + Ch7vT+nMI+Grs1nBr/YHSHbKoMUn/sirpnYEBWVitwQ= + + + stp_card_cvc@3x.png + + hash2 + + rV0yaAqwfhP+G5z+Vc6LZX98jnYZHMgcZAiK8V6nbkg= + + + stp_card_cvc_amex@3x.png + + hash2 + + LYnVskjdEjFiUOCGl9WfPjMz0S3ZSw6wuzzPDLYhf4s= + + + stp_card_diners@3x.png + + hash2 + + w5MSWVg5Oq3iYlGQCWJEytlXrd9HEnkQWEYxuI4r6WA= + + + stp_card_diners_template@3x.png + + hash2 + + gCTAhrGTYDyPniRsFk4WN+84EBRSUaaaRtehCTiIAEE= + + + stp_card_discover@3x.png + + hash2 + + x7HteZwxuQCQAPSpg/7+2eqVHPkKjfgiWDKe3eORze8= + + + stp_card_discover_template@3x.png + + hash2 + + Ov7ve9EGkDHJl9K9QcSImY+nojjOIfsKZ/18zs0IDYU= + + + stp_card_error@3x.png + + hash2 + + 5/WJsQyqV/XBQ9os/3U9UrPaZP3R8HzKf4SozlpNinY= + + + stp_card_error_amex@3x.png + + hash2 + + 9HLHkRWk+g3KQmA/0D3j7TzUJikBkyfRbl4R6dvjUDk= + + + stp_card_form_amex_cvc@3x.png + + hash2 + + 0NdWXGKJjeqWOHpA4A83UnsyWb8mytJvsdxpg1rwXVA= + + + stp_card_form_back@3x.png + + hash2 + + MI+kt9hpWqXcndil4sENgMOFTB8h+MrXRj9PKxU+DX0= + + + stp_card_form_front@3x.png + + hash2 + + frhe+FddLL+GNW6Jz7R10b0ClPaCp6Iz4+vD5q5M6UM= + + + stp_card_jcb@3x.png + + hash2 + + KMgA9SZWoeTDaZ0fWiIuiG4jcgKsEshpVtppY6/JYIw= + + + stp_card_jcb_template@3x.png + + hash2 + + bV/p+BjLQAi03NfKm2VWeq61BOQExU+B/VU+EE3tzoY= + + + stp_card_mastercard@3x.png + + hash2 + + 6Y+cdBRUl0lxJYGrTtlis5GvKRfrfKeFPyCz1IG0Qdo= + + + stp_card_mastercard_template@3x.png + + hash2 + + c5CRBJ8TAIFAPmnGLJplkl+819XSZQJ0Dmp7qfrNj5E= + + + stp_card_unionpay_en@3x.png + + hash2 + + YvwAUewEtTJBiMBg6AYaB8cSbpmO6YynToILQMbDxRM= + + + stp_card_unionpay_template_en@3x.png + + hash2 + + a3vF0iH6IpkCLgbY4/ljaFVR5X2kL4+6ohKmQ6NIGAQ= + + + stp_card_unionpay_template_zh@3x.png + + hash2 + + d4k5l81XuL9l48Omu0uRI9JAuwPtO+fxNcco+821Gf8= + + + stp_card_unionpay_zh@3x.png + + hash2 + + lVyp4JIdZW5tEsKff3t4xawaAXArspwtfuveJSTOkDs= + + + stp_card_unknown@3x.png + + hash2 + + JUGZfIiJrdFxAKuBUL2YqABk7oCDqPk1q7gddnVq8B8= + + + stp_card_visa@3x.png + + hash2 + + 96TZzijUschJB3kezk61P8szl/bQ24o5GPI2XwOefW4= + + + stp_card_visa_template@3x.png + + hash2 + + z71hmhHMY0ls785OusHSORztw7/H103OquucbgiW2QQ= + + + stp_fpx_big_logo@3x.png + + hash2 + + lFUZX6uhqEHFHr1vcKyJ1ojoKNE0pG63ecCmMHtuCC8= + + + stp_fpx_logo@3x.png + + hash2 + + OR/61a5ZKebAZZddOTRHoH40Bya4eMNrWeUX7HLS+HA= + + + stp_icon_add@3x.png + + hash2 + + J8xfcgpCtm9HUZOTLGPlhKKrc6GOh2uREHzMZz/PHIM= + + + stp_icon_bank@3x.png + + hash2 + + E/Cc66mISe4jVxOeuOLS1TCiRiQsssBVp1obEA3J9aw= + + + stp_icon_checkmark@3x.png + + hash2 + + lI4yHTWBdu8egr5JSrKa+cTysfuej0rn2XASbDfeakE= + + + stp_shipping_form@3x.png + + hash2 + + QL1PnjZXC/UmoVdYEy+oJzmchonnpA1wuFRVfdD+qQE= + + + suncorpmetway@3x.png + + hash2 + + US5nWxhPGY2TV7MtkdOoU5oTA4iJo1N4QCs8tQLMlKU= + + + sv.lproj/Localizable.strings + + hash2 + + kTs8mLnWnCIn5SI1jyTaoEEthQMAlzNhuZJ1DY+UVuU= + + optional + + + tk.lproj/Localizable.strings + + hash2 + + npg9nXlipMVH2HDZy3NghrjcPWiDDT+FurprvqghtK4= + + optional + + + tr.lproj/Localizable.strings + + hash2 + + A7b6nmzXAQKi+UBIIRJ19/7ZTQNlRsW/LoWYS9KmjdE= + + optional + + + vi.lproj/Localizable.strings + + hash2 + + 4Iqv5z8+KZjt8kgXUPdEDFIDvYPuv0V8QV/3UB8FH3I= + + optional + + + westpac@3x.png + + hash2 + + DiYsYaHDk98ZkFBTjd/fbXQR2y/+CDqWTFh0BGm+28I= + + + zh-HK.lproj/Localizable.strings + + hash2 + + +xXH3TaxvuAcgC3MS5fVtJ+8dIv1jGXLj6a9yGbhxBs= + + optional + + + zh-Hans.lproj/Localizable.strings + + hash2 + + gtp0v8LuZ9OHKdDXP+UBqVMubcKfSWxbDZ9jMOEqRBE= + + optional + + + zh-Hant.lproj/Localizable.strings + + hash2 + + kkrfsy9EiD805icOTxg01GeqlZfLWAaxYQCh2NJ5xgk= + + optional + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/afterpay_icon_info@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/afterpay_icon_info@3x.png new file mode 100644 index 0000000..989626c Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/afterpay_icon_info@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/afterpay_mark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/afterpay_mark@3x.png new file mode 100644 index 0000000..f0665f0 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/afterpay_mark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/afterpay_mark_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/afterpay_mark_dark@3x.png new file mode 100644 index 0000000..525dd28 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/afterpay_mark_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/anz@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/anz@3x.png new file mode 100644 index 0000000..b0b31bd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/anz@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/apple_pay_mark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/apple_pay_mark@3x.png new file mode 100644 index 0000000..e25759b Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/apple_pay_mark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/au_becs_bsb.json b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/au_becs_bsb.json new file mode 100644 index 0000000..cc94f61 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/au_becs_bsb.json @@ -0,0 +1,373 @@ +{ + "10": { + "icon": "banksa", + "name": "BankSA (division of Westpac Bank)" + }, + "11": { + "icon": "stgeorges", + "name": "St George Bank (division of Westpac Bank)" + }, + "12": { + "icon": "boq", + "name": "Bank of Queensland" + }, + "14": { + "name": "Rabobank" + }, + "15": { + "name": "Town & Country Bank" + }, + "18": { + "name": "Macquarie Bank" + }, + "19": { + "icon": "bankofmelbourne", + "name": "Bank of Melbourne (division of Westpac Bank)" + }, + "21": { + "name": "JP Morgan Chase Bank" + }, + "22": { + "name": "BNP Paribas" + }, + "23": { + "name": "Bank of America" + }, + "24": { + "name": "Citibank" + }, + "25": { + "name": "BNP Paribas Securities" + }, + "26": { + "name": "Bankers Trust Australia (division of Westpac Bank)" + }, + "29": { + "name": "Bank of Tokyo-Mitsubishi" + }, + "30": { + "icon": "bankwest", + "name": "Bankwest (division of Commonwealth Bank)" + }, + "31": { + "name": "Bankmecu" + }, + "33": { + "icon": "stgeorges", + "name": "St George Bank (division of Westpac Bank)" + }, + "34": { + "name": "HSBC Bank Australia" + }, + "35": { + "name": "Bank of China" + }, + "40": { + "icon": "cba", + "name": "Commonwealth Bank of Australia" + }, + "41": { + "name": "Deutsche Bank" + }, + "42": { + "icon": "cba", + "name": "Commonwealth Bank of Australia" + }, + "45": { + "name": "OCBC Bank" + }, + "46": { + "name": "Advance Bank (division of Westpac Bank)" + }, + "47": { + "name": "Challenge Bank (division of Westpac Bank)" + }, + "48": { + "icon": "suncorpmetway", + "name": "Suncorp-Metway" + }, + "52": { + "icon": "cba", + "name": "Commonwealth Bank of Australia" + }, + "55": { + "icon": "bankofmelbourne", + "name": "Bank of Melbourne (division of Westpac Bank)" + }, + "57": { + "name": "Australian Settlements" + }, + "61": { + "name": "Adelaide Bank (division of Bendigo and Adelaide Bank)" + }, + "70": { + "name": "Indue" + }, + "73": { + "icon": "westpac", + "name": "Westpac Banking Corporation" + }, + "76": { + "icon": "cba", + "name": "Commonwealth Bank of Australia" + }, + "78": { + "icon": "nab", + "name": "National Australia Bank" + }, + "80": { + "name": "Cuscal" + }, + "90": { + "name": "Australia Post" + }, + "325": { + "name": "Beyond Bank Australia" + }, + "432": { + "name": "Standard Chartered Bank" + }, + "510": { + "name": "Citibank N.A." + }, + "512": { + "name": "Community First Credit Union" + }, + "514": { + "name": "QT Mutual Bank" + }, + "517": { + "name": "Australian Settlements Limited" + }, + "533": { + "name": "Bananacoast Community Credit Union" + }, + "611": { + "name": "Select Credit Union" + }, + "630": { + "name": "ABS Building Society" + }, + "632": { + "name": "B&E" + }, + "633": { + "name": "Bendigo Bank" + }, + "634": { + "name": "Uniting Financial Services" + }, + "636": { + "name": "Cuscal Limited" + }, + "637": { + "name": "Greater Building Society" + }, + "638": { + "name": "Heritage Bank" + }, + "639": { + "name": "Home Building Society (division of Bank of Queensland)" + }, + "640": { + "name": "Hume Bank" + }, + "641": { + "name": "IMB" + }, + "642": { + "name": "Australian Defence Credit Union" + }, + "645": { + "name": "Wide Bay Australia" + }, + "646": { + "name": "Maitland Mutual Building Society" + }, + "647": { + "name": "IMB" + }, + "650": { + "name": "Newcastle Permanent Building Society" + }, + "653": { + "name": "Pioneer Permanent Building Society (division of Bank of Queensland)" + }, + "654": { + "name": "ECU Australia" + }, + "655": { + "name": "The Rock Building Society" + }, + "656": { + "name": "Wide Bay Australia" + }, + "657": { + "name": "Greater Building Society" + }, + "659": { + "name": "SGE Credit Union" + }, + "664": { + "icon": "suncorpmetway", + "name": "Suncorp-Metway" + }, + "670": { + "name": "Cuscal Limited" + }, + "676": { + "name": "Gateway Credit Union" + }, + "721": { + "name": "Holiday Coast Credit Union" + }, + "722": { + "name": "Southern Cross Credit" + }, + "723": { + "name": "Heritage Isle Credit Union" + }, + "724": { + "name": "Railways Credit Union" + }, + "725": { + "name": "Judo Bank Pty Ltd" + }, + "728": { + "name": "Summerland Credit Union" + }, + "775": { + "name": "Australian Settlements Limited" + }, + "777": { + "name": "Police & Nurse" + }, + "812": { + "name": "Teachers Mutual Bank" + }, + "813": { + "name": "Capricornian" + }, + "814": { + "name": "Credit Union Australia" + }, + "815": { + "name": "Police Bank" + }, + "817": { + "name": "Warwick Credit Union" + }, + "818": { + "name": "Bank of Communications" + }, + "819": { + "name": "Industrial & Commercial Bank of China" + }, + "823": { + "name": "Encompass Credit Union" + }, + "824": { + "name": "Sutherland Credit Union" + }, + "825": { + "name": "Big Sky Building Society" + }, + "833": { + "name": "Defence Bank Limited" + }, + "880": { + "name": "Heritage Bank" + }, + "882": { + "name": "Maritime Mining & Power Credit Union" + }, + "888": { + "name": "China Construction Bank Corporation" + }, + "889": { + "name": "DBS Bank Ltd." + }, + "911": { + "name": "Sumitomo Mitsui Banking Corporation" + }, + "913": { + "name": "State Street Bank & Trust Company" + }, + "917": { + "name": "Arab Bank Australia" + }, + "918": { + "name": "Mizuho Bank" + }, + "922": { + "name": "United Overseas Bank" + }, + "923": { + "name": "ING Bank" + }, + "931": { + "name": "Mega International Commercial Bank" + }, + "932": { + "name": "Community Mutual" + }, + "936": { + "name": "ING Bank" + }, + "939": { + "name": "AMP Bank" + }, + "941": { + "name": "Delphi Bank (division of Bendigo and Adelaide Bank)" + }, + "942": { + "name": "Bank of Sydney" + }, + "943": { + "name": "Taiwan Business Bank" + }, + "944": { + "name": "Members Equity Bank" + }, + "946": { + "name": "UBS AG" + }, + "951": { + "name": "BOQ Specialist Bank" + }, + "952": { + "name": "Royal Bank of Scotland" + }, + "969": { + "name": "Tyro Payments" + }, + "980": { + "name": "Bank of China" + }, + "985": { + "name": "HSBC Bank Australia" + }, + "01": { + "icon": "anz", + "name": "Australia and New Zealand Banking Group" + }, + "03": { + "icon": "westpac", + "name": "Westpac Banking Corporation" + }, + "04": { + "icon": "westpac", + "name": "Westpac Banking Corporation" + }, + "06": { + "icon": "cba", + "name": "Commonwealth Bank of Australia" + }, + "08": { + "icon": "nab", + "name": "National Australia Bank" + }, + "09": { + "name": "Reserve Bank of Australia" + } +} diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/back_button@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/back_button@3x.png new file mode 100644 index 0000000..786adfc Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/back_button@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bank_icon_boa@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bank_icon_boa@3x.png new file mode 100644 index 0000000..c48b206 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bank_icon_boa@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bank_icon_capitalone@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bank_icon_capitalone@3x.png new file mode 100644 index 0000000..2d6487f Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bank_icon_capitalone@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bank_icon_citibank@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bank_icon_citibank@3x.png new file mode 100644 index 0000000..72188fa Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bank_icon_citibank@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bank_icon_compass@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bank_icon_compass@3x.png new file mode 100644 index 0000000..009cf0d Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bank_icon_compass@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bank_icon_morganchase@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bank_icon_morganchase@3x.png new file mode 100644 index 0000000..b1585fa Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bank_icon_morganchase@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bank_icon_pnc@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bank_icon_pnc@3x.png new file mode 100644 index 0000000..75d3a8f Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bank_icon_pnc@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bank_icon_stripe@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bank_icon_stripe@3x.png new file mode 100644 index 0000000..7d5ad89 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bank_icon_stripe@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bank_icon_suntrust@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bank_icon_suntrust@3x.png new file mode 100644 index 0000000..3d3eb08 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bank_icon_suntrust@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bank_icon_svb@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bank_icon_svb@3x.png new file mode 100644 index 0000000..1afc11f Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bank_icon_svb@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bank_icon_usaa@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bank_icon_usaa@3x.png new file mode 100644 index 0000000..53ebc99 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bank_icon_usaa@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bank_icon_usbank@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bank_icon_usbank@3x.png new file mode 100644 index 0000000..daa5836 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bank_icon_usbank@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bank_icon_wellsfargo@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bank_icon_wellsfargo@3x.png new file mode 100644 index 0000000..0ca462d Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bank_icon_wellsfargo@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bankofmelbourne@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bankofmelbourne@3x.png new file mode 100644 index 0000000..e1e74bb Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bankofmelbourne@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/banksa@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/banksa@3x.png new file mode 100644 index 0000000..541476c Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/banksa@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bankwest@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bankwest@3x.png new file mode 100644 index 0000000..7d6d12f Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bankwest@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bg-BG.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bg-BG.lproj/Localizable.strings new file mode 100644 index 0000000..a5f83a0 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/bg-BG.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/boq@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/boq@3x.png new file mode 100644 index 0000000..ed7ae5c Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/boq@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/ca-ES.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/ca-ES.lproj/Localizable.strings new file mode 100644 index 0000000..0523354 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/ca-ES.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_amex@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_amex@3x.png new file mode 100644 index 0000000..3b6e9a8 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_amex@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_amex_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_amex_dark@3x.png new file mode 100644 index 0000000..b352ec1 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_amex_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_cvc_amex_icon@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_cvc_amex_icon@3x.png new file mode 100644 index 0000000..a9d710e Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_cvc_amex_icon@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_cvc_amex_icon_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_cvc_amex_icon_dark@3x.png new file mode 100644 index 0000000..a602622 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_cvc_amex_icon_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_cvc_icon@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_cvc_icon@3x.png new file mode 100644 index 0000000..4340785 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_cvc_icon@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_cvc_icon_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_cvc_icon_dark@3x.png new file mode 100644 index 0000000..73189ae Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_cvc_icon_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_diners@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_diners@3x.png new file mode 100644 index 0000000..26f8aff Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_diners@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_diners_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_diners_dark@3x.png new file mode 100644 index 0000000..0df4d46 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_diners_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_discover@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_discover@3x.png new file mode 100644 index 0000000..d42024b Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_discover@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_discover_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_discover_dark@3x.png new file mode 100644 index 0000000..7efb3ed Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_discover_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_jcb@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_jcb@3x.png new file mode 100644 index 0000000..4f813fd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_jcb@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_jcb_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_jcb_dark@3x.png new file mode 100644 index 0000000..fb647c8 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_jcb_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_mastercard@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_mastercard@3x.png new file mode 100644 index 0000000..7ca3e65 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_mastercard@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_mastercard_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_mastercard_dark@3x.png new file mode 100644 index 0000000..34a150a Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_mastercard_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_unionpay@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_unionpay@3x.png new file mode 100644 index 0000000..d16575b Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_unionpay@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_unionpay_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_unionpay_dark@3x.png new file mode 100644 index 0000000..0f92229 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_unionpay_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_unknown@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_unknown@3x.png new file mode 100644 index 0000000..185ecb8 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_unknown@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_unknown_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_unknown_dark@3x.png new file mode 100644 index 0000000..3640a50 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_unknown_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_unknown_icon@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_unknown_icon@3x.png new file mode 100644 index 0000000..6cea801 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_unknown_icon@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_unknown_icon_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_unknown_icon_dark@3x.png new file mode 100644 index 0000000..0049a10 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_unknown_icon_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_visa@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_visa@3x.png new file mode 100644 index 0000000..a7ac64f Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_visa@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_visa_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_visa_dark@3x.png new file mode 100644 index 0000000..18b0969 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/card_visa_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/cba@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/cba@3x.png new file mode 100644 index 0000000..6be62aa Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/cba@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/clearpay_mark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/clearpay_mark@3x.png new file mode 100644 index 0000000..b67dbf7 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/clearpay_mark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/clearpay_mark_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/clearpay_mark_dark@3x.png new file mode 100644 index 0000000..9108a2c Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/clearpay_mark_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/cs-CZ.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/cs-CZ.lproj/Localizable.strings new file mode 100644 index 0000000..d458593 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/cs-CZ.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/da.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/da.lproj/Localizable.strings new file mode 100644 index 0000000..0ff2841 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/da.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/de.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/de.lproj/Localizable.strings new file mode 100644 index 0000000..78fb676 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/de.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/el-GR.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/el-GR.lproj/Localizable.strings new file mode 100644 index 0000000..12f2c48 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/el-GR.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/en-GB.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/en-GB.lproj/Localizable.strings new file mode 100644 index 0000000..7fa5335 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/en-GB.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/en.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/en.lproj/Localizable.strings new file mode 100644 index 0000000..a987074 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/en.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/es-419.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/es-419.lproj/Localizable.strings new file mode 100644 index 0000000..0058719 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/es-419.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/es.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/es.lproj/Localizable.strings new file mode 100644 index 0000000..e6ede85 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/es.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/et-EE.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/et-EE.lproj/Localizable.strings new file mode 100644 index 0000000..7713c2c Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/et-EE.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/fi.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/fi.lproj/Localizable.strings new file mode 100644 index 0000000..d9bdba6 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/fi.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/fil.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/fil.lproj/Localizable.strings new file mode 100644 index 0000000..49728dd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/fil.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/form_error_icon@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/form_error_icon@3x.png new file mode 100644 index 0000000..6408bf3 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/form_error_icon@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/form_error_icon_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/form_error_icon_dark@3x.png new file mode 100644 index 0000000..1d24044 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/form_error_icon_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/fr-CA.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/fr-CA.lproj/Localizable.strings new file mode 100644 index 0000000..09e3e0c Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/fr-CA.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/fr.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/fr.lproj/Localizable.strings new file mode 100644 index 0000000..3fd83e5 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/fr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/hr.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/hr.lproj/Localizable.strings new file mode 100644 index 0000000..0c9ed92 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/hr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/hu.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/hu.lproj/Localizable.strings new file mode 100644 index 0000000..e3c22d7 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/hu.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-afterpay@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-afterpay@3x.png new file mode 100644 index 0000000..2a00097 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-afterpay@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-afterpay_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-afterpay_dark@3x.png new file mode 100644 index 0000000..a68614d Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-afterpay_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-bancontact@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-bancontact@3x.png new file mode 100644 index 0000000..6420d62 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-bancontact@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-bancontact_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-bancontact_dark@3x.png new file mode 100644 index 0000000..8284916 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-bancontact_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-card@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-card@3x.png new file mode 100644 index 0000000..8c74e80 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-card@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-eps@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-eps@3x.png new file mode 100644 index 0000000..3318c75 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-eps@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-eps_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-eps_dark@3x.png new file mode 100644 index 0000000..27320a5 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-eps_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-giropay@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-giropay@3x.png new file mode 100644 index 0000000..8cc3d0b Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-giropay@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-giropay_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-giropay_dark@3x.png new file mode 100644 index 0000000..8126de0 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-giropay_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-ideal@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-ideal@3x.png new file mode 100644 index 0000000..ef0c880 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-ideal@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-ideal_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-ideal_dark@3x.png new file mode 100644 index 0000000..5e0abac Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-ideal_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-klarna@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-klarna@3x.png new file mode 100644 index 0000000..8794e20 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-klarna@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-klarna_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-klarna_dark@3x.png new file mode 100644 index 0000000..eb56237 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-klarna_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-p24@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-p24@3x.png new file mode 100644 index 0000000..563b984 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-p24@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-p24_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-p24_dark@3x.png new file mode 100644 index 0000000..7b8eea8 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-p24_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-paypal@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-paypal@3x.png new file mode 100644 index 0000000..ed33573 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-paypal@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-paypal_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-paypal_dark@3x.png new file mode 100644 index 0000000..d679a54 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-paypal_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-sepa@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-sepa@3x.png new file mode 100644 index 0000000..6c84aaa Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-sepa@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-sepa_dark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-sepa_dark@3x.png new file mode 100644 index 0000000..7749f54 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon-pm-sepa_dark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon_add_bordered@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon_add_bordered@3x.png new file mode 100644 index 0000000..e689c76 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon_add_bordered@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon_cancel@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon_cancel@3x.png new file mode 100644 index 0000000..0d4887d Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon_cancel@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon_checkmark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon_checkmark@3x.png new file mode 100644 index 0000000..02b91e7 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon_checkmark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon_chevron_left@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon_chevron_left@3x.png new file mode 100644 index 0000000..bae3e9d Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon_chevron_left@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon_link_toast_success@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon_link_toast_success@3x.png new file mode 100644 index 0000000..092f97e Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon_link_toast_success@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon_lock@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon_lock@3x.png new file mode 100644 index 0000000..9b504fd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon_lock@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon_menu@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon_menu@3x.png new file mode 100644 index 0000000..f311116 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon_menu@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon_plus@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon_plus@3x.png new file mode 100644 index 0000000..1d616ae Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon_plus@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon_x@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon_x@3x.png new file mode 100644 index 0000000..23e449c Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/icon_x@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/id.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/id.lproj/Localizable.strings new file mode 100644 index 0000000..344b752 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/id.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/it.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/it.lproj/Localizable.strings new file mode 100644 index 0000000..d3421a2 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/it.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/ja.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/ja.lproj/Localizable.strings new file mode 100644 index 0000000..6bb2fb8 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/ja.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/ko.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/ko.lproj/Localizable.strings new file mode 100644 index 0000000..9bcd329 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/ko.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/link_logo@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/link_logo@3x.png new file mode 100644 index 0000000..ff80471 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/link_logo@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/lt-LT.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/lt-LT.lproj/Localizable.strings new file mode 100644 index 0000000..c88765d Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/lt-LT.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/lv-LV.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/lv-LV.lproj/Localizable.strings new file mode 100644 index 0000000..b6b5df1 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/lv-LV.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/ms-MY.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/ms-MY.lproj/Localizable.strings new file mode 100644 index 0000000..f7d2ada Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/ms-MY.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/mt.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/mt.lproj/Localizable.strings new file mode 100644 index 0000000..55656e9 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/mt.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/nab@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/nab@3x.png new file mode 100644 index 0000000..b6ef382 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/nab@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/nb.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/nb.lproj/Localizable.strings new file mode 100644 index 0000000..b83a7bf Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/nb.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/nl.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/nl.lproj/Localizable.strings new file mode 100644 index 0000000..ea411aa Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/nl.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/nn-NO.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/nn-NO.lproj/Localizable.strings new file mode 100644 index 0000000..938ea6c Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/nn-NO.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/pl-PL.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/pl-PL.lproj/Localizable.strings new file mode 100644 index 0000000..77a379a Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/pl-PL.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/pt-BR.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/pt-BR.lproj/Localizable.strings new file mode 100644 index 0000000..1bd9a7a Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/pt-BR.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/pt-PT.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/pt-PT.lproj/Localizable.strings new file mode 100644 index 0000000..1e26a18 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/pt-PT.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/ro-RO.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/ro-RO.lproj/Localizable.strings new file mode 100644 index 0000000..109b833 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/ro-RO.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/ru.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/ru.lproj/Localizable.strings new file mode 100644 index 0000000..45309a4 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/ru.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/sk-SK.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/sk-SK.lproj/Localizable.strings new file mode 100644 index 0000000..cf05095 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/sk-SK.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/sl-SI.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/sl-SI.lproj/Localizable.strings new file mode 100644 index 0000000..94443eb Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/sl-SI.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stgeorges@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stgeorges@3x.png new file mode 100644 index 0000000..f4bc321 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stgeorges@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_affin_bank@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_affin_bank@3x.png new file mode 100644 index 0000000..182bfa9 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_affin_bank@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_alliance_bank@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_alliance_bank@3x.png new file mode 100644 index 0000000..7e653d2 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_alliance_bank@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_ambank@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_ambank@3x.png new file mode 100644 index 0000000..fbd1013 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_ambank@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_bank_islam@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_bank_islam@3x.png new file mode 100644 index 0000000..d47e80f Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_bank_islam@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_bank_muamalat@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_bank_muamalat@3x.png new file mode 100644 index 0000000..46cc090 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_bank_muamalat@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_bank_rakyat@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_bank_rakyat@3x.png new file mode 100644 index 0000000..3a1d310 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_bank_rakyat@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_bsn@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_bsn@3x.png new file mode 100644 index 0000000..7adf686 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_bsn@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_cimb@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_cimb@3x.png new file mode 100644 index 0000000..0ac909a Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_cimb@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_hong_leong_bank@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_hong_leong_bank@3x.png new file mode 100644 index 0000000..e50e8e3 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_hong_leong_bank@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_hsbc@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_hsbc@3x.png new file mode 100644 index 0000000..5ee8d2e Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_hsbc@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_kfh@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_kfh@3x.png new file mode 100644 index 0000000..f5e0144 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_kfh@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_maybank2e@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_maybank2e@3x.png new file mode 100644 index 0000000..a6ae3b5 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_maybank2e@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_maybank2u@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_maybank2u@3x.png new file mode 100644 index 0000000..a6ae3b5 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_maybank2u@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_ocbc@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_ocbc@3x.png new file mode 100644 index 0000000..b70de1d Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_ocbc@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_public_bank@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_public_bank@3x.png new file mode 100644 index 0000000..b4300ad Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_public_bank@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_rhb@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_rhb@3x.png new file mode 100644 index 0000000..0b7f88b Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_rhb@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_standard_chartered@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_standard_chartered@3x.png new file mode 100644 index 0000000..187e4e5 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_standard_chartered@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_uob@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_uob@3x.png new file mode 100644 index 0000000..8b2b0b6 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_bank_fpx_uob@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_amex@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_amex@3x.png new file mode 100644 index 0000000..2ee473b Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_amex@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_amex_template@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_amex_template@3x.png new file mode 100644 index 0000000..c1bbc01 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_amex_template@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_applepay@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_applepay@3x.png new file mode 100644 index 0000000..7794b24 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_applepay@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_cvc@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_cvc@3x.png new file mode 100644 index 0000000..7cdb3c2 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_cvc@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_cvc_amex@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_cvc_amex@3x.png new file mode 100644 index 0000000..b26e42b Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_cvc_amex@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_diners@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_diners@3x.png new file mode 100644 index 0000000..b8f1e34 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_diners@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_diners_template@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_diners_template@3x.png new file mode 100644 index 0000000..af91d0c Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_diners_template@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_discover@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_discover@3x.png new file mode 100644 index 0000000..db80042 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_discover@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_discover_template@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_discover_template@3x.png new file mode 100644 index 0000000..523244f Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_discover_template@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_error@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_error@3x.png new file mode 100644 index 0000000..da35f9a Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_error@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_error_amex@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_error_amex@3x.png new file mode 100644 index 0000000..e49ac9e Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_error_amex@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_form_amex_cvc@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_form_amex_cvc@3x.png new file mode 100644 index 0000000..c9dfd5c Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_form_amex_cvc@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_form_back@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_form_back@3x.png new file mode 100644 index 0000000..88b5f3b Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_form_back@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_form_front@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_form_front@3x.png new file mode 100644 index 0000000..da4e433 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_form_front@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_jcb@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_jcb@3x.png new file mode 100644 index 0000000..20c43d7 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_jcb@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_jcb_template@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_jcb_template@3x.png new file mode 100644 index 0000000..e9fc469 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_jcb_template@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_mastercard@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_mastercard@3x.png new file mode 100644 index 0000000..6e31c4f Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_mastercard@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_mastercard_template@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_mastercard_template@3x.png new file mode 100644 index 0000000..e2bd5cb Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_mastercard_template@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_unionpay_en@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_unionpay_en@3x.png new file mode 100644 index 0000000..4cb5180 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_unionpay_en@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_unionpay_template_en@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_unionpay_template_en@3x.png new file mode 100644 index 0000000..19726aa Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_unionpay_template_en@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_unionpay_template_zh@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_unionpay_template_zh@3x.png new file mode 100644 index 0000000..484319f Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_unionpay_template_zh@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_unionpay_zh@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_unionpay_zh@3x.png new file mode 100644 index 0000000..d1249f1 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_unionpay_zh@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_unknown@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_unknown@3x.png new file mode 100644 index 0000000..5443c50 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_unknown@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_visa@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_visa@3x.png new file mode 100644 index 0000000..7282378 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_visa@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_visa_template@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_visa_template@3x.png new file mode 100644 index 0000000..7d37285 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_card_visa_template@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_fpx_big_logo@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_fpx_big_logo@3x.png new file mode 100644 index 0000000..a72a28a Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_fpx_big_logo@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_fpx_logo@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_fpx_logo@3x.png new file mode 100644 index 0000000..aea5bcc Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_fpx_logo@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_icon_add@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_icon_add@3x.png new file mode 100644 index 0000000..9ab9ca2 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_icon_add@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_icon_bank@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_icon_bank@3x.png new file mode 100644 index 0000000..cba39a0 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_icon_bank@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_icon_checkmark@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_icon_checkmark@3x.png new file mode 100644 index 0000000..554ceea Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_icon_checkmark@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_shipping_form@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_shipping_form@3x.png new file mode 100644 index 0000000..605b180 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/stp_shipping_form@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/suncorpmetway@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/suncorpmetway@3x.png new file mode 100644 index 0000000..6e8398b Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/suncorpmetway@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/sv.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/sv.lproj/Localizable.strings new file mode 100644 index 0000000..fb147db Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/sv.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/tk.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/tk.lproj/Localizable.strings new file mode 100644 index 0000000..fc74b30 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/tk.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/tr.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/tr.lproj/Localizable.strings new file mode 100644 index 0000000..ff83f88 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/tr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/vi.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/vi.lproj/Localizable.strings new file mode 100644 index 0000000..9330320 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/vi.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/westpac@3x.png b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/westpac@3x.png new file mode 100644 index 0000000..652048c Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/westpac@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/zh-HK.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/zh-HK.lproj/Localizable.strings new file mode 100644 index 0000000..15809ca Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/zh-HK.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/zh-Hans.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/zh-Hans.lproj/Localizable.strings new file mode 100644 index 0000000..23a8e6b Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/zh-Hans.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/zh-Hant.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/zh-Hant.lproj/Localizable.strings new file mode 100644 index 0000000..52a269e Binary files /dev/null and b/stripe_ios/ios/platform/Stripe.xcframework/ios-arm64_x86_64-simulator/Stripe.framework/zh-Hant.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/Info.plist b/stripe_ios/ios/platform/Stripe3DS2.xcframework/Info.plist new file mode 100644 index 0000000..a9bc188 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/Info.plist @@ -0,0 +1,55 @@ + + + + + AvailableLibraries + + + LibraryIdentifier + ios-arm64_x86_64-maccatalyst + LibraryPath + Stripe3DS2.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + Stripe3DS2.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + LibraryIdentifier + ios-arm64 + LibraryPath + Stripe3DS2.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Chevron@3x.png b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Chevron@3x.png new file mode 100644 index 0000000..445021b Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Chevron@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STDSAlreadyInitializedException.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSAlreadyInitializedException.h similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Headers/STDSAlreadyInitializedException.h rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSAlreadyInitializedException.h diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STDSAuthenticationRequestParameters.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSAuthenticationRequestParameters.h similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Headers/STDSAuthenticationRequestParameters.h rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSAuthenticationRequestParameters.h diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STDSAuthenticationResponse.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSAuthenticationResponse.h similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Headers/STDSAuthenticationResponse.h rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSAuthenticationResponse.h diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STDSButtonCustomization.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSButtonCustomization.h similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Headers/STDSButtonCustomization.h rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSButtonCustomization.h diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STDSChallengeParameters.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSChallengeParameters.h similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Headers/STDSChallengeParameters.h rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSChallengeParameters.h diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSChallengeStatusReceiver.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSChallengeStatusReceiver.h new file mode 100644 index 0000000..a352e0c --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSChallengeStatusReceiver.h @@ -0,0 +1,67 @@ +// +// STDSChallengeStatusReceiver.h +// Stripe3DS2 +// +// Created by Yuki Tokuhiro on 3/20/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import +#import + +@class STDSTransaction, STDSCompletionEvent, STDSRuntimeErrorEvent, STDSProtocolErrorEvent; + +NS_ASSUME_NONNULL_BEGIN + +/** + Implement the `STDSChallengeStatusReceiver` protocol to receive challenge status notifications at the end of the challenge process. + @see `STDSTransaction.doChallenge` + */ +@protocol STDSChallengeStatusReceiver + +/** + Called when the challenge process is completed. + + @param completionEvent Information about the completion of the challenge process. @see `STDSCompletionEvent` + */ +- (void)transaction:(STDSTransaction *)transaction didCompleteChallengeWithCompletionEvent:(STDSCompletionEvent *)completionEvent; + +/** + Called when the user selects the option to cancel the transaction on the challenge screen. + */ +- (void)transactionDidCancel:(STDSTransaction *)transaction; + +/** + Called when the challenge process reaches or exceeds the timeout interval that was passed to `STDSTransaction.doChallenge` + */ +- (void)transactionDidTimeOut:(STDSTransaction *)transaction; + +/** + Called when the 3DS SDK receives an EMV 3-D Secure protocol-defined error message from the ACS. + + @param protocolErrorEvent The error code and details. @see `STDSProtocolErrorEvent` + */ +- (void)transaction:(STDSTransaction *)transaction didErrorWithProtocolErrorEvent:(STDSProtocolErrorEvent *)protocolErrorEvent; + +/** + Called when the 3DS SDK encounters errors during the challenge process. These errors include all errors except those covered by `didErrorWithProtocolErrorEvent`. + + @param runtimeErrorEvent The error code and details. @see `STDSRuntimeErrorEvent` + */ +- (void)transaction:(STDSTransaction *)transaction didErrorWithRuntimeErrorEvent:(STDSRuntimeErrorEvent *)runtimeErrorEvent; + +@optional + +/** + Optional method that will be called when the transaction displays a new challenge screen. + */ +- (void)transactionDidPresentChallengeScreen:(STDSTransaction *)transaction; + +/** + Optional method for custom dismissal of the challenge view controller. Meant only for internal use by Stripe SDK. + */ +- (void)dismissChallengeViewController:(UIViewController *)challengeViewController forTransaction:(STDSTransaction *)transaction; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STDSCompletionEvent.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSCompletionEvent.h similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Headers/STDSCompletionEvent.h rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSCompletionEvent.h diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STDSConfigParameters.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSConfigParameters.h similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Headers/STDSConfigParameters.h rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSConfigParameters.h diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STDSCustomization.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSCustomization.h similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Headers/STDSCustomization.h rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSCustomization.h diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSErrorMessage.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSErrorMessage.h new file mode 100644 index 0000000..29c6c5a --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSErrorMessage.h @@ -0,0 +1,103 @@ +// +// STDSErrorMessage.h +// Stripe3DS2 +// +// Created by Yuki Tokuhiro on 3/21/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +#import "STDSJSONEncodable.h" +#import "STDSJSONDecodable.h" + +NS_ASSUME_NONNULL_BEGIN + +/// Error codes as defined by the 3DS2 spec. +typedef NS_ENUM(NSInteger, STDSErrorMessageCode) { + /// The SDK received a message that is not an ARes, CRes, or ErrorMessage. + STDSErrorMessageCodeInvalidMessage = 101, + + /// A required data element is missing from the network response. + STDSErrorMessageCodeRequiredDataElementMissing = 201, + + // Critical message extension not recognised + STDSErrorMessageCodeUnrecognizedCriticalMessageExtension = 202, + + /// A data element is not in the required format or the value is invalid. + STDSErrorMessageErrorInvalidDataElement = 203, + + // Transaction ID not recognized + STDSErrorMessageErrorTransactionIDNotRecognized = 301, + + /// A network response could not be decrypted or verified. + STDSErrorMessageErrorDataDecryptionFailure = 302, + + /// The SDK timed out + STDSErrorMessageErrorTimeout = 402, +}; + +/** + `STDSErrorMessage` represents an error message that is returned by the ACS or to be sent to the ACS. + */ +@interface STDSErrorMessage : NSObject + +/** + Designated initializer for `STDSErrorMessage`. + + @param errorCode The error code. + @param errorComponent The component that identified the error. + @param errorDescription Text describing the error. + @param errorDetails Additional error details. Optional. + */ +- (instancetype)initWithErrorCode:(NSString *)errorCode + errorComponent:(NSString *)errorComponent + errorDescription:(NSString *)errorDescription + errorDetails:(nullable NSString *)errorDetails + messageVersion:(NSString *)messageVersion + acsTransactionIdentifier:(nullable NSString *)acsTransactionIdentifier + errorMessageType:(NSString *)errorMessageType; + +/** + The error code. + */ +@property (nonatomic, readonly) NSString *errorCode; + +/** + The 3-D Secure component that identified the error. + */ +@property (nonatomic, readonly) NSString *errorComponent; + +/** + Text describing the error. + */ +@property (nonatomic, readonly) NSString *errorDescription; + +/** + Additional error details. + */ +@property (nonatomic, nullable, readonly) NSString *errorDetails; + +/** + The protocol version identifier. + */ +@property (nonatomic, readonly) NSString *messageVersion; + +/** + The ACS transaction identifier. + */ +@property (nonatomic, readonly, nullable) NSString *acsTransactionIdentifier; + +/** + The message type that was identified as erroneous. + */ +@property (nonatomic, readonly, nullable) NSString *errorMessageType; + +/** + A representation of the `STDSErrorMessage` as an `NSError` + */ +- (NSError *)NSErrorValue; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STDSException.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSException.h similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Headers/STDSException.h rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSException.h diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STDSFooterCustomization.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSFooterCustomization.h similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Headers/STDSFooterCustomization.h rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSFooterCustomization.h diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STDSInvalidInputException.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSInvalidInputException.h similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Headers/STDSInvalidInputException.h rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSInvalidInputException.h diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STDSJSONDecodable.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSJSONDecodable.h similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Headers/STDSJSONDecodable.h rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSJSONDecodable.h diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STDSJSONEncodable.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSJSONEncodable.h similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Headers/STDSJSONEncodable.h rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSJSONEncodable.h diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STDSJSONEncoder.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSJSONEncoder.h similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Headers/STDSJSONEncoder.h rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSJSONEncoder.h diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STDSLabelCustomization.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSLabelCustomization.h similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Headers/STDSLabelCustomization.h rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSLabelCustomization.h diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STDSNavigationBarCustomization.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSNavigationBarCustomization.h similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Headers/STDSNavigationBarCustomization.h rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSNavigationBarCustomization.h diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STDSNotInitializedException.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSNotInitializedException.h similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Headers/STDSNotInitializedException.h rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSNotInitializedException.h diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STDSProtocolErrorEvent.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSProtocolErrorEvent.h similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Headers/STDSProtocolErrorEvent.h rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSProtocolErrorEvent.h diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STDSRuntimeErrorEvent.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSRuntimeErrorEvent.h similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Headers/STDSRuntimeErrorEvent.h rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSRuntimeErrorEvent.h diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STDSRuntimeException.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSRuntimeException.h similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Headers/STDSRuntimeException.h rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSRuntimeException.h diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STDSSelectionCustomization.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSSelectionCustomization.h similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Headers/STDSSelectionCustomization.h rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSSelectionCustomization.h diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STDSStripe3DS2Error.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSStripe3DS2Error.h similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Headers/STDSStripe3DS2Error.h rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSStripe3DS2Error.h diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSSwiftTryCatch.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSSwiftTryCatch.h new file mode 100644 index 0000000..4744336 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSSwiftTryCatch.h @@ -0,0 +1,50 @@ +// +// STDSSwiftTryCatch.h +// +// Created by William Falcon on 10/10/14. +// Copyright (c) 2014 William Falcon. All rights reserved. +// +/* + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Provides try catch functionality for swift by wrapping around Objective-C + */ +@interface STDSSwiftTryCatch : NSObject + +/** + Provides try catch functionality for swift by wrapping around Objective-C + */ ++ (void)tryBlock:(void(^)(void))tryBlock catchBlock:(void(^)(NSException*exception))catchBlock finallyBlock:(void(^)(void))finallyBlock; +/** + Throws Objective-C exception with name and reason set to `s` + */ ++ (void)throwString:(NSString*)s; + +/** + Throws exception `e` + */ ++ (void)throwException:(NSException*)e; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STDSTextFieldCustomization.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSTextFieldCustomization.h similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Headers/STDSTextFieldCustomization.h rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSTextFieldCustomization.h diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STDSThreeDS2Service.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSThreeDS2Service.h similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Headers/STDSThreeDS2Service.h rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSThreeDS2Service.h diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STDSThreeDSProtocolVersion.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSThreeDSProtocolVersion.h similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Headers/STDSThreeDSProtocolVersion.h rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSThreeDSProtocolVersion.h diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSTransaction.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSTransaction.h new file mode 100644 index 0000000..02a1f1a --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSTransaction.h @@ -0,0 +1,94 @@ +// +// STDSTransaction.h +// Stripe3DS2 +// +// Created by Yuki Tokuhiro on 3/21/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import +#import + +typedef void (^STDSTransactionVoidBlock)(void); + +@class STDSAuthenticationRequestParameters, STDSChallengeParameters; +@protocol STDSChallengeStatusReceiver; + +NS_ASSUME_NONNULL_BEGIN + +/** + `STDSTransaction` holds parameters that the 3DS Server requires to create AReq messages and to perform the Challenge Flow. + */ +@interface STDSTransaction : NSObject + +/** + The UI type of the presented challenge for this transaction if applicable. Will be one of + "none" + "text" + "single_select" + "multi_select" + "oob" + "html" + */ +@property (nonatomic, readonly, copy) NSString *presentedChallengeUIType; + +/** + Encrypts device information collected during initialization and returns it along with SDK details. + + @return Encrypted device information and details about this SDK. @see STDSAuthenticationRequestParameters + + @exception SDKRuntimeException Thrown if an internal error is encountered. + */ +- (STDSAuthenticationRequestParameters *)createAuthenticationRequestParameters; + +/** + Returns a UIViewController instance displaying the Directory Server logo and a spinner. Present this during the Authentication Request/Response. + */ +- (UIViewController *)createProgressViewControllerWithDidCancel:(STDSTransactionVoidBlock)didCancel; + +/** + Initiates the challenge process, displaying challenge UI as needed. + + @param presentingViewController The UIViewController used to present the challenge response UIViewController + @param challengeParameters Details required to conduct the challenge process. @see STDSChallengeParameters + @param challengeStatusReceiver A callback object to receive the status of the challenge. See @STDSChallengeStatusReceiver + @param timeout An interval in seconds within which the challenge process will finish. Must be at least 5 minutes. + + @exception STDSInvalidInputException Thrown if an argument is invalid (e.g. timeout less than 5 minutes). @see STDSInvalidInputException + @exception STDSSDKRuntimeException Thrown if an internal error is encountered, and if you call this method after calling `close`. @see SDKRuntimeException + + @note challengeStatusReceiver must conform to . This is a workaround: When the static Stripe3DS2 is compiled into Stripe.framework, the resulting swiftinterface and generated .h files reference this protocol. To allow users to build without including Stripe3DS2 directly, we'll take an `id` here instead. + */ +- (void)doChallengeWithViewController:(UIViewController *)presentingViewController + challengeParameters:(STDSChallengeParameters *)challengeParameters + challengeStatusReceiver:(id)challengeStatusReceiver + timeout:(NSTimeInterval)timeout; + +/** + Returns the version of the Stripe3DS2 SDK, e.g. @"1.0" + */ +- (NSString *)sdkVersion; + +/** +Cleans up resources held by `STDSTransaction`. Call this when the transaction is completed, if `doChallengeWithChallengeParameters:challengeStatusReceiver:timeout` is not called. + + @note Don't use this object after calling this method. Calling `doChallengeWithViewController:challengeParameters:challengeStatusReceiver:timeout` after calling this method will throw an `STDSSDKRuntimeException` + */ +- (void)close; + +/** + Alternate challenge initiation method meant only for internal use by Stripe SDK. + */ +- (void)doChallengeWithChallengeParameters:(STDSChallengeParameters *)challengeParameters + challengeStatusReceiver:(id)challengeStatusReceiver + timeout:(NSTimeInterval)timeout + presentationBlock:(void (^)(UIViewController *, void(^)(void)))presentationBlock; + +/** + Function to manually cancel the challenge flow. + */ +- (void)cancelChallengeFlow; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STDSUICustomization.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSUICustomization.h similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Headers/STDSUICustomization.h rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSUICustomization.h diff --git a/stripe_ios/ios/platform/Stripe.framework/Headers/STDSWarning.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSWarning.h similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Headers/STDSWarning.h rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/STDSWarning.h diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/Stripe3DS2-Prefix.pch b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/Stripe3DS2-Prefix.pch new file mode 100644 index 0000000..888096f --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/Stripe3DS2-Prefix.pch @@ -0,0 +1,14 @@ +// +// Stripe3DS2-Prefix.pch +// Stripe3DS2 +// +// Created by Cameron Sabol on 4/16/20. +// Copyright © 2020 Stripe. All rights reserved. +// + +#ifndef Stripe3DS2_pch +#define Stripe3DS2_pch + +#import "STDSLocalizedString.h" + +#endif /* Stripe3DS2_pch */ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/Stripe3DS2.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/Stripe3DS2.h new file mode 100644 index 0000000..9e9f3eb --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Headers/Stripe3DS2.h @@ -0,0 +1,52 @@ +// +// Stripe3DS2.h +// Stripe3DS2 +// +// Created by Cameron Sabol on 1/16/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +//! Project version number for Stripe3DS2. +FOUNDATION_EXPORT double Stripe3DS2VersionNumber; + +//! Project version string for Stripe3DS2. +FOUNDATION_EXPORT const unsigned char Stripe3DS2VersionString[]; + +#import "STDSConfigParameters.h" +#import "STDSThreeDS2Service.h" +#import "STDSUICustomization.h" +#import "STDSWarning.h" + +#import "STDSAlreadyInitializedException.h" +#import "STDSInvalidInputException.h" +#import "STDSNotInitializedException.h" +#import "STDSRuntimeException.h" + +#import "STDSErrorMessage.h" +#import "STDSProtocolErrorEvent.h" +#import "STDSRuntimeErrorEvent.h" +#import "STDSStripe3DS2Error.h" +#import "STDSThreeDSProtocolVersion.h" + +#import "STDSAuthenticationRequestParameters.h" +#import "STDSAuthenticationResponse.h" +#import "STDSChallengeParameters.h" +#import "STDSChallengeStatusReceiver.h" +#import "STDSCompletionEvent.h" +#import "STDSJSONDecodable.h" +#import "STDSJSONEncoder.h" +#import "STDSTransaction.h" + +#import "STDSButtonCustomization.h" +#import "STDSCustomization.h" +#import "STDSException.h" +#import "STDSFooterCustomization.h" +#import "STDSJSONEncodable.h" +#import "STDSLabelCustomization.h" +#import "STDSNavigationBarCustomization.h" +#import "STDSSelectionCustomization.h" +#import "STDSTextFieldCustomization.h" + +#import "STDSSwiftTryCatch.h" diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Info.plist b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Info.plist new file mode 100644 index 0000000..1cc1d3b Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Info.plist differ diff --git a/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/Modules/module.modulemap b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Modules/module.modulemap similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/Modules/module.modulemap rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Modules/module.modulemap diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Stripe3DS2 b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Stripe3DS2 new file mode 100755 index 0000000..9aae92a Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/Stripe3DS2 differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/acs_challenge.html b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/acs_challenge.html new file mode 100644 index 0000000..4b576e2 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/acs_challenge.html @@ -0,0 +1,178 @@ + + + + + 3DS - One-Time Passcode - PA + + + + + + +
+ + + + +
+
+

Purchase Authentication

+

We have send you a text message with a code to your registered mobile number ending in ***.

+

You are paying Merchant ABC the amount of $xxx.xx on mm/dd/yy.

+
+ +
+

Enter your code below:

+
+ + +
+
+ + +
+
+
+ + +
+
+
+ + Need some help? +

Help content will be displayed here.

+ +
+
+
+
+ + Learn more about authentication +

Authentication information will be displayed here.

+ +
+
+
+ + +
+ +
+
+ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/amex-logo@3x.png b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/amex-logo@3x.png new file mode 100644 index 0000000..9bb04db Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/amex-logo@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/amex.der b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/amex.der similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/amex.der rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/amex.der diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/bg-BG.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/bg-BG.lproj/Localizable.strings new file mode 100644 index 0000000..2440abd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/bg-BG.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/ca-ES.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/ca-ES.lproj/Localizable.strings new file mode 100644 index 0000000..2440abd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/ca-ES.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/cartes-bancaires-logo.png b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/cartes-bancaires-logo.png new file mode 100644 index 0000000..37fd836 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/cartes-bancaires-logo.png differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/cartes-bancaires.der b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/cartes-bancaires.der new file mode 100644 index 0000000..23d14ff Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/cartes-bancaires.der differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/cs-CZ.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/cs-CZ.lproj/Localizable.strings new file mode 100644 index 0000000..2440abd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/cs-CZ.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/da.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/da.lproj/Localizable.strings similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/da.lproj/Localizable.strings rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/da.lproj/Localizable.strings diff --git a/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/de.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/de.lproj/Localizable.strings similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/de.lproj/Localizable.strings rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/de.lproj/Localizable.strings diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/discover-logo.png b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/discover-logo.png new file mode 100644 index 0000000..a54a168 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/discover-logo.png differ diff --git a/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/discover.der b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/discover.der similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/discover.der rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/discover.der diff --git a/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/ec_test.der b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/ec_test.der similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/ec_test.der rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/ec_test.der diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/el-GR.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/el-GR.lproj/Localizable.strings new file mode 100644 index 0000000..2440abd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/el-GR.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/en-GB.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/en-GB.lproj/Localizable.strings similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/en-GB.lproj/Localizable.strings rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/en-GB.lproj/Localizable.strings diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/en.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/en.lproj/Localizable.strings new file mode 100644 index 0000000..2440abd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/en.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/error@3x.png b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/error@3x.png new file mode 100644 index 0000000..1cfab65 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/error@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/es-419.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/es-419.lproj/Localizable.strings similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/es-419.lproj/Localizable.strings rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/es-419.lproj/Localizable.strings diff --git a/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/es.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/es.lproj/Localizable.strings similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/es.lproj/Localizable.strings rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/es.lproj/Localizable.strings diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/et-EE.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/et-EE.lproj/Localizable.strings new file mode 100644 index 0000000..2440abd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/et-EE.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/fi.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/fi.lproj/Localizable.strings similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/fi.lproj/Localizable.strings rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/fi.lproj/Localizable.strings diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/fil.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/fil.lproj/Localizable.strings new file mode 100644 index 0000000..2440abd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/fil.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/fr-CA.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/fr-CA.lproj/Localizable.strings similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/fr-CA.lproj/Localizable.strings rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/fr-CA.lproj/Localizable.strings diff --git a/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/fr.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/fr.lproj/Localizable.strings similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/fr.lproj/Localizable.strings rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/fr.lproj/Localizable.strings diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/hr.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/hr.lproj/Localizable.strings new file mode 100644 index 0000000..2440abd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/hr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/hu.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/hu.lproj/Localizable.strings new file mode 100644 index 0000000..83c4802 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/hu.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/id.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/id.lproj/Localizable.strings new file mode 100644 index 0000000..2440abd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/id.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/it.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/it.lproj/Localizable.strings similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/it.lproj/Localizable.strings rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/it.lproj/Localizable.strings diff --git a/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/ja.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/ja.lproj/Localizable.strings similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/ja.lproj/Localizable.strings rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/ja.lproj/Localizable.strings diff --git a/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/ko.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/ko.lproj/Localizable.strings similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/ko.lproj/Localizable.strings rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/ko.lproj/Localizable.strings diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/lt-LT.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/lt-LT.lproj/Localizable.strings new file mode 100644 index 0000000..2440abd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/lt-LT.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/lv-LV.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/lv-LV.lproj/Localizable.strings new file mode 100644 index 0000000..2440abd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/lv-LV.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/mastercard-logo@3x.png b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/mastercard-logo@3x.png new file mode 100644 index 0000000..c5c8000 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/mastercard-logo@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/mastercard.der b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/mastercard.der similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/mastercard.der rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/mastercard.der diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/ms-MY.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/ms-MY.lproj/Localizable.strings new file mode 100644 index 0000000..2440abd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/ms-MY.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/mt.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/mt.lproj/Localizable.strings new file mode 100644 index 0000000..23cbe6a Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/mt.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/nb.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/nb.lproj/Localizable.strings similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/nb.lproj/Localizable.strings rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/nb.lproj/Localizable.strings diff --git a/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/nl.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/nl.lproj/Localizable.strings similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/nl.lproj/Localizable.strings rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/nl.lproj/Localizable.strings diff --git a/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/nn-NO.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/nn-NO.lproj/Localizable.strings similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/nn-NO.lproj/Localizable.strings rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/nn-NO.lproj/Localizable.strings diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/pl-PL.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/pl-PL.lproj/Localizable.strings new file mode 100644 index 0000000..2440abd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/pl-PL.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/pt-BR.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/pt-BR.lproj/Localizable.strings similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/pt-BR.lproj/Localizable.strings rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/pt-BR.lproj/Localizable.strings diff --git a/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/pt-PT.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/pt-PT.lproj/Localizable.strings similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/pt-PT.lproj/Localizable.strings rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/pt-PT.lproj/Localizable.strings diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/ro-RO.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/ro-RO.lproj/Localizable.strings new file mode 100644 index 0000000..2440abd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/ro-RO.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/ru.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/ru.lproj/Localizable.strings similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/ru.lproj/Localizable.strings rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/ru.lproj/Localizable.strings diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/sk-SK.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/sk-SK.lproj/Localizable.strings new file mode 100644 index 0000000..2440abd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/sk-SK.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/sl-SI.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/sl-SI.lproj/Localizable.strings new file mode 100644 index 0000000..2440abd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/sl-SI.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/sv.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/sv.lproj/Localizable.strings similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/sv.lproj/Localizable.strings rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/sv.lproj/Localizable.strings diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/tk.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/tk.lproj/Localizable.strings new file mode 100644 index 0000000..2440abd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/tk.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/tr.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/tr.lproj/Localizable.strings similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/tr.lproj/Localizable.strings rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/tr.lproj/Localizable.strings diff --git a/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/ul-test.der b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/ul-test.der similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/ul-test.der rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/ul-test.der diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/vi.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/vi.lproj/Localizable.strings new file mode 100644 index 0000000..2440abd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/vi.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/visa-logo@3x.png b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/visa-logo@3x.png new file mode 100644 index 0000000..7eda14c Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/visa-logo@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/visa-white-logo@3x.png b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/visa-white-logo@3x.png new file mode 100644 index 0000000..060ae59 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/visa-white-logo@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/visa.der b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/visa.der similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/visa.der rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/visa.der diff --git a/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/zh-HK.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/zh-HK.lproj/Localizable.strings similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/zh-HK.lproj/Localizable.strings rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/zh-HK.lproj/Localizable.strings diff --git a/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/zh-Hans.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/zh-Hans.lproj/Localizable.strings similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/zh-Hans.lproj/Localizable.strings rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/zh-Hans.lproj/Localizable.strings diff --git a/stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/zh-Hant.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/zh-Hant.lproj/Localizable.strings similarity index 100% rename from stripe_ios/ios/platform/Stripe.framework/Stripe3DS2.bundle/zh-Hant.lproj/Localizable.strings rename to stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64/Stripe3DS2.framework/zh-Hant.lproj/Localizable.strings diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Headers b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Headers new file mode 120000 index 0000000..a177d2a --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Modules b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Modules new file mode 120000 index 0000000..5736f31 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Resources b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Resources new file mode 120000 index 0000000..953ee36 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Stripe3DS2 b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Stripe3DS2 new file mode 120000 index 0000000..c2d9382 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Stripe3DS2 @@ -0,0 +1 @@ +Versions/Current/Stripe3DS2 \ No newline at end of file diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSAlreadyInitializedException.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSAlreadyInitializedException.h new file mode 100644 index 0000000..c39a85d --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSAlreadyInitializedException.h @@ -0,0 +1,22 @@ +// +// STDSAlreadyInitializedException.h +// Stripe3DS2 +// +// Created by Cameron Sabol on 1/22/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import "STDSException.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + `STDSAlreadyInitializedException` represents an exception that will be thrown in the `STDSThreeDS2Service` instance has already been initialized. + + @see STDSThreeDS2Service + */ +@interface STDSAlreadyInitializedException : STDSException + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSAuthenticationRequestParameters.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSAuthenticationRequestParameters.h new file mode 100644 index 0000000..766e485 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSAuthenticationRequestParameters.h @@ -0,0 +1,68 @@ +// +// STDSAuthenticationRequestParameters.h +// Stripe3DS2 +// +// Created by Yuki Tokuhiro on 3/21/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +#import "STDSJSONEncodable.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface STDSAuthenticationRequestParameters : NSObject + +/** + Designated initializer for `STDSAuthenticationRequestParameters`. + + @param sdkTransactionIdentifier The SDK Transaction Identifier, as created by `[STDSTransaction createTransaction]` + @param deviceData Optional device data collected by the SDK. + @param sdkEphemeralPublicKey The SDK ephemeral public key. + @param sdkAppIdentifier The SDK app identifier. + @param sdkReferenceNumber The SDK reference number. + @param messageVersion The protocol version that is supported by the SDK and used for the transaction. + + @exception InvalidInputException Thrown if an input parameter is invalid. @see InvalidInputException + */ +- (instancetype)initWithSDKTransactionIdentifier:(NSString *)sdkTransactionIdentifier + deviceData:(nullable NSString *)deviceData + sdkEphemeralPublicKey:(NSString *)sdkEphemeralPublicKey + sdkAppIdentifier:(NSString *)sdkAppIdentifier + sdkReferenceNumber:(NSString *)sdkReferenceNumber + messageVersion:(NSString *)messageVersion; + +/** + The encrypted device data as a JWE string. + */ +@property (nonatomic, readonly, nullable) NSString *deviceData; + +/** + The SDK Transaction Identifier. + */ +@property (nonatomic, readonly) NSString *sdkTransactionIdentifier; + +/** + The SDK App Identifier. + */ +@property (nonatomic, readonly) NSString *sdkAppIdentifier; + +/** + The SDK reference number. + */ +@property (nonatomic, readonly) NSString *sdkReferenceNumber; + +/** + The SDK ephemeral public key. + */ +@property (nonatomic, readonly) NSString *sdkEphemeralPublicKey; + +/** + The protocol version that is used for the transaction. + */ +@property (nonatomic, readonly) NSString *messageVersion; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSAuthenticationResponse.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSAuthenticationResponse.h new file mode 100644 index 0000000..d527f38 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSAuthenticationResponse.h @@ -0,0 +1,115 @@ +// +// STDSAuthenticationResponse.h +// Stripe3DS2 +// +// Created by Cameron Sabol on 2/13/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +#import "STDSJSONDecodable.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + The `STDSACSStatusType` enum defines the status of a transaction, as detailed in + 3DS2 Spec Seq 3.33: + */ +typedef NS_ENUM(NSInteger, STDSACSStatusType) { + /// The status is unknown or invalid + STDSACSStatusTypeUnknown = 0, + + /// Authenticated + STDSACSStatusTypeAuthenticated = 1, + + /// Requires a Cardholder challenge to complete authentication + STDSACSStatusTypeChallengeRequired = 2, + + /// Requires a Cardholder challenge using Decoupled Authentication + STDSACSStatusTypeDecoupledAuthentication = 3, + + /// Not authenticated + STDSACSStatusTypeNotAuthenticated = 4, + + /// Not authenticated, but a proof of authentication attempt (Authentication Value) + /// was generated + STDSACSStatusTypeProofGenerated = 5, + + /// Not authenticated, as authentication could not be performed due to technical or + /// other issue + STDSACSStatusTypeError = 6, + + /// Not authenticated because the Issuer is rejecting authentication and requesting + /// that authorisation not be attempted + STDSACSStatusTypeRejected = 7, + + /// Authentication not requested by the 3DS Server for data sent for informational + /// purposes only + STDSACSStatusTypeInformationalOnly = 8, +}; + +/** + A native protocol representing the response sent by the 3DS Server. + Only parameters relevant to performing 3DS2 authentication in the mobile SDK are exposed. + */ +@protocol STDSAuthenticationResponse + +/// Universally unique transaction identifier assigned by the 3DS Server to identify a single transaction. +@property (nonatomic, readonly) NSString *threeDSServerTransactionID; + +/// Transaction status +@property (nonatomic, readonly) STDSACSStatusType status; + +/// Indication of whether a challenge is required. +@property (nonatomic, readonly, getter=isChallengeRequired) BOOL challengeRequired; + +/// Indicates whether the ACS confirms utilisation of Decoupled Authentication and agrees to utilise Decoupled Authentication to authenticate the Cardholder. +@property (nonatomic, readonly) BOOL willUseDecoupledAuthentication; + +/** + DS assigned ACS identifier. + Each DS can provide a unique ID to each ACS on an individual basis. + */ +@property (nonatomic, readonly, nullable) NSString *acsOperatorID; + +/// Unique identifier assigned by the EMVCo Secretariat upon Testing and Approval. +@property (nonatomic, readonly, nullable) NSString *acsReferenceNumber; + +/// Contains the JWS object (represented as a string) created by the ACS for the ARes message. +@property (nonatomic, readonly, nullable) NSString *acsSignedContent; + +/// Universally Unique transaction identifier assigned by the ACS to identify a single transaction. +@property (nonatomic, readonly) NSString *acsTransactionID; + +/// Fully qualified URL of the ACS to be used for the challenge. +@property (nonatomic, readonly, nullable) NSURL *acsURL; + +/** + Text provided by the ACS/Issuer to Cardholder during a Frictionless or Decoupled transaction. The Issuer can provide information to Cardholder. + For example, “Additional authentication is needed for this transaction, please contact (Issuer Name) at xxx-xxx-xxxx.” + */ +@property (nonatomic, readonly, nullable) NSString *cardholderInfo; + +/// EMVCo-assigned unique identifier to track approved DS. +@property (nonatomic, readonly, nullable) NSString *directoryServerReferenceNumber; + +/// Universally unique transaction identifier assigned by the DS to identify a single transaction. +@property (nonatomic, readonly, nullable) NSString *directoryServerTransactionID; + +/** + Protocol version identifier This shall be the Protocol Version Number of the specification utilised by the system creating this message. + The Message Version Number is set by the 3DS Server which originates the protocol with the AReq message. + The Message Version Number does not change during a 3DS transaction. + */ +@property (nonatomic, readonly) NSString *protocolVersion; + +/// Universally unique transaction identifier assigned by the 3DS SDK to identify a single transaction. +@property (nonatomic, readonly) NSString *sdkTransactionID; + +@end + +/// A utility to parse an STDSAuthenticationResponse from JSON +id _Nullable STDSAuthenticationResponseFromJSON(NSDictionary *json); + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSButtonCustomization.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSButtonCustomization.h new file mode 100644 index 0000000..dd63f98 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSButtonCustomization.h @@ -0,0 +1,83 @@ +// +// STDSButtonCustomization.h +// Stripe3DS2 +// +// Created by Andrew Harrison on 3/14/19. +// Copyright © 2019 Stripe. All rights reserved. +// +#import +#import + +#import "STDSCustomization.h" + +/// An enum that defines the different types of buttons that are able to be customized. +typedef NS_ENUM(NSInteger, STDSUICustomizationButtonType) { + + /// The submit button type. + STDSUICustomizationButtonTypeSubmit = 0, + + /// The continue button type. + STDSUICustomizationButtonTypeContinue = 1, + + /// The next button type. + STDSUICustomizationButtonTypeNext = 2, + + /// The cancel button type. + STDSUICustomizationButtonTypeCancel = 3, + + /// The resend button type. + STDSUICustomizationButtonTypeResend = 4, +}; + +/// An enumeration of the case transformations that can be applied to the button's title +typedef NS_ENUM(NSInteger, STDSButtonTitleStyle) { + /// Default style, doesn't modify the title + STDSButtonTitleStyleDefault, + + /// Applies localizedUppercaseString to the title + STDSButtonTitleStyleUppercase, + + /// Applies localizedLowercaseString to the title + STDSButtonTitleStyleLowercase, + + /// Applies localizedCapitalizedString to the title + STDSButtonTitleStyleSentenceCapitalized, +}; + +NS_ASSUME_NONNULL_BEGIN + +/// A customization object to use to configure the UI of a button. +@interface STDSButtonCustomization: STDSCustomization + +/// The default settings for the provided button type. ++ (instancetype)defaultSettingsForButtonType:(STDSUICustomizationButtonType)type; + +/** + Initializes an instance of STDSButtonCustomization with the given backgroundColor and colorRadius. + */ +- (instancetype)initWithBackgroundColor:(UIColor *)backgroundColor cornerRadius:(CGFloat)cornerRadius; + +/** + This is unavailable because there are no sensible default property values without a button type. + Use `defaultSettingsForButtonType:` or `initWithBackgroundColor:cornerRadius:` instead. + */ +- (instancetype)init NS_UNAVAILABLE; + +/** + The background color of the button. + The default for .resend and .cancel is clear. + The default for .submit, .continue, and .next is blue. + */ +@property (nonatomic) UIColor *backgroundColor; + +/// The corner radius of the button. Defaults to 8. +@property (nonatomic) CGFloat cornerRadius; + +/** + The capitalization style of the button title + */ +@property (nonatomic) STDSButtonTitleStyle titleStyle; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSChallengeParameters.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSChallengeParameters.h new file mode 100644 index 0000000..e1aa151 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSChallengeParameters.h @@ -0,0 +1,61 @@ +// +// STDSChallengeParameters.h +// Stripe3DS2 +// +// Created by Cameron Sabol on 2/13/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +@protocol STDSAuthenticationResponse; + +NS_ASSUME_NONNULL_BEGIN + +/** + `STDSChallengeParameters` contains information from the 3DS Server's + authentication response that are used by the 3DS2 SDK to initiate + the challenge flow. + */ +@interface STDSChallengeParameters : NSObject + +/** + Convenience intiializer to create an instace of `STDSChallengeParameters` from an + `STDSAuthenticationResponse` + */ +- (instancetype)initWithAuthenticationResponse:(id)authResponse; + +/** + Transaction identifier assigned by the 3DS Server to uniquely identify + a transaction. + */ +@property (nonatomic, copy) NSString *threeDSServerTransactionID; + +/** + Transaction identifier assigned by the Access Control Server (ACS) + to uniquely identify a transaction. + */ +@property (nonatomic, copy) NSString *acsTransactionID; + +/** + The reference number of the relevant Access Control Server. + */ +@property (nonatomic, copy) NSString *acsReferenceNumber; + +/** + The encrypted message sent by the Access Control Server + containing the ACS URL, epthemeral public key, and the + 3DS2 SDK ephemeral public key. + */ +@property (nonatomic, copy) NSString *acsSignedContent; + +/** + The URL for the application that is requesting 3DS2 verification. + This property can be optionally set and will be included with the + messages sent to the Directory Server during the challenge flow. + */ +@property (nonatomic, copy, nullable) NSString *threeDSRequestorAppURL; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSChallengeStatusReceiver.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSChallengeStatusReceiver.h new file mode 100644 index 0000000..a352e0c --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSChallengeStatusReceiver.h @@ -0,0 +1,67 @@ +// +// STDSChallengeStatusReceiver.h +// Stripe3DS2 +// +// Created by Yuki Tokuhiro on 3/20/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import +#import + +@class STDSTransaction, STDSCompletionEvent, STDSRuntimeErrorEvent, STDSProtocolErrorEvent; + +NS_ASSUME_NONNULL_BEGIN + +/** + Implement the `STDSChallengeStatusReceiver` protocol to receive challenge status notifications at the end of the challenge process. + @see `STDSTransaction.doChallenge` + */ +@protocol STDSChallengeStatusReceiver + +/** + Called when the challenge process is completed. + + @param completionEvent Information about the completion of the challenge process. @see `STDSCompletionEvent` + */ +- (void)transaction:(STDSTransaction *)transaction didCompleteChallengeWithCompletionEvent:(STDSCompletionEvent *)completionEvent; + +/** + Called when the user selects the option to cancel the transaction on the challenge screen. + */ +- (void)transactionDidCancel:(STDSTransaction *)transaction; + +/** + Called when the challenge process reaches or exceeds the timeout interval that was passed to `STDSTransaction.doChallenge` + */ +- (void)transactionDidTimeOut:(STDSTransaction *)transaction; + +/** + Called when the 3DS SDK receives an EMV 3-D Secure protocol-defined error message from the ACS. + + @param protocolErrorEvent The error code and details. @see `STDSProtocolErrorEvent` + */ +- (void)transaction:(STDSTransaction *)transaction didErrorWithProtocolErrorEvent:(STDSProtocolErrorEvent *)protocolErrorEvent; + +/** + Called when the 3DS SDK encounters errors during the challenge process. These errors include all errors except those covered by `didErrorWithProtocolErrorEvent`. + + @param runtimeErrorEvent The error code and details. @see `STDSRuntimeErrorEvent` + */ +- (void)transaction:(STDSTransaction *)transaction didErrorWithRuntimeErrorEvent:(STDSRuntimeErrorEvent *)runtimeErrorEvent; + +@optional + +/** + Optional method that will be called when the transaction displays a new challenge screen. + */ +- (void)transactionDidPresentChallengeScreen:(STDSTransaction *)transaction; + +/** + Optional method for custom dismissal of the challenge view controller. Meant only for internal use by Stripe SDK. + */ +- (void)dismissChallengeViewController:(UIViewController *)challengeViewController forTransaction:(STDSTransaction *)transaction; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSCompletionEvent.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSCompletionEvent.h new file mode 100644 index 0000000..851c71d --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSCompletionEvent.h @@ -0,0 +1,40 @@ +// +// STDSCompletionEvent.h +// Stripe3DS2 +// +// Created by Yuki Tokuhiro on 3/20/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + `STDSCompletionEvent` contains information about completion of the challenge process. + */ +@interface STDSCompletionEvent : NSObject + +/** + Designated initializer for `STDSCompletionEvent`. + */ +- (instancetype)initWithSDKTransactionIdentifier:(NSString *)identifier transactionStatus:(NSString *)transactionStatus NS_DESIGNATED_INITIALIZER; + +/** + `STDSCompletionEvent` should not be directly initialized. + */ +- (instancetype)init NS_UNAVAILABLE; + +/** + The SDK Transaction ID. + */ +@property (nonatomic, readonly) NSString *sdkTransactionIdentifier; + +/** + The transaction status that was received in the final challenge response. + */ +@property (nonatomic, readonly) NSString *transactionStatus; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSConfigParameters.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSConfigParameters.h new file mode 100644 index 0000000..4d77ba5 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSConfigParameters.h @@ -0,0 +1,96 @@ +// +// STDSConfigParameters.h +// Stripe3DS2 +// +// Created by Cameron Sabol on 1/22/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + The default group name that will be used to group additional + configuration parameters. + */ +extern NSString * const kSTDSConfigDefaultGroupName; + +/** + `STDSConfigParameters` represents additional configuration parameters + that can be passed to the Stripe3DS2 SDK during initialization. + + There are currently no supported additional parameters and apps can + just pass `[STDSConfigParameters alloc] initWithStandardParameters` + to the `STDSThreeDS2Service` instance. + */ +@interface STDSConfigParameters : NSObject + +/** + Convenience initializer to get an `STDSConfigParameters` instance + with the default expected configuration parameters. + */ +- (instancetype)initWithStandardParameters; + +/** + Adds the parameter to this instance. + + @param paramName The name of the parameter to add + @param paramValue The value of the parameter to add + @param paramGroup The group to which this parameter will be added. If `nil` the parameter will be added to `kSTDSConfigDefaultGroupName` + + @exception STDSInvalidInputException Will throw an `STDSInvalidInputException` if `paramName` or `paramValue` are `nil`. @see STDSInvalidInputException + */ +- (void)addParameterNamed:(NSString *)paramName withValue:(NSString *)paramValue toGroup:(nullable NSString *)paramGroup; + +/** + Adds the parameter to the default group in this instance. + + @param paramName The name of the parameter to add + @param paramValue The value of the parameter to add + + @exception STDSInvalidInputException Will throw an `STDSInvalidInputException` if `paramName` or `paramValue` are `nil`. @see STDSInvalidInputException + */ +- (void)addParameterNamed:(NSString *)paramName withValue:(NSString *)paramValue; + +/** + Returns the value for `paramName` in `paramGroup` or `nil` if the parameter value is not set. + + @param paramName The name of the parameter to return + @param paramGroup The group from which to fetch the parameter value. If `nil` will default to `kSTDSConfigDefaultGroupName` + + @exception STDSInvalidInputException Will throw an `STDSInvalidInputException` if `paramName` is `nil`. @see STDSInvalidInputException + */ +- (nullable NSString *)parameterValue:(NSString *)paramName inGroup:(nullable NSString *)paramGroup; + +/** + Returns the value for `paramName` in the default group or `nil` if the parameter value is not set. + + @param paramName The name of the parameter to return + + @exception STDSInvalidInputException Will throw an `STDSInvalidInputException` if `paramName` is `nil`. @see STDSInvalidInputException + */ +- (nullable NSString *)parameterValue:(NSString *)paramName; + +/** + Removes the specified parameter from the group and returns the value or `nil` if the parameter was not found. + + @param paramName The name of the parameter to remove + @param paramGroup The group from which to remove this parameter. If `nil` will default to `kSTDSConfigDefaultGroupName` + + @exception STDSInvalidInputException Will throw an `STDSInvalidInputException` if `paramName` is `nil`. @see STDSInvalidInputException + */ +- (nullable NSString *)removeParameterNamed:(NSString *)paramName fromGroup:(nullable NSString *)paramGroup; + +/** + Removes the specified parameter from the default group and returns the value or `nil` if the parameter was not found. + + @param paramName The name of the parameter to remove + + @exception STDSInvalidInputException Will throw an `STDSInvalidInputException` if `paramName` is `nil`. @see STDSInvalidInputException + */ +- (nullable NSString *)removeParameterNamed:(NSString *)paramName; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSCustomization.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSCustomization.h new file mode 100644 index 0000000..516eff9 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSCustomization.h @@ -0,0 +1,25 @@ +// +// STDSCustomization.h +// Stripe3DS2 +// +// Created by Andrew Harrison on 3/14/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/// This class provides a common set of customization parameters, used to customize elements of the UI. +@interface STDSCustomization : NSObject + +/// The font to use for text. +@property (nonatomic, nullable) UIFont *font; + +/// The color to use for the text. +@property (nonatomic, nullable) UIColor *textColor; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSErrorMessage.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSErrorMessage.h new file mode 100644 index 0000000..29c6c5a --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSErrorMessage.h @@ -0,0 +1,103 @@ +// +// STDSErrorMessage.h +// Stripe3DS2 +// +// Created by Yuki Tokuhiro on 3/21/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +#import "STDSJSONEncodable.h" +#import "STDSJSONDecodable.h" + +NS_ASSUME_NONNULL_BEGIN + +/// Error codes as defined by the 3DS2 spec. +typedef NS_ENUM(NSInteger, STDSErrorMessageCode) { + /// The SDK received a message that is not an ARes, CRes, or ErrorMessage. + STDSErrorMessageCodeInvalidMessage = 101, + + /// A required data element is missing from the network response. + STDSErrorMessageCodeRequiredDataElementMissing = 201, + + // Critical message extension not recognised + STDSErrorMessageCodeUnrecognizedCriticalMessageExtension = 202, + + /// A data element is not in the required format or the value is invalid. + STDSErrorMessageErrorInvalidDataElement = 203, + + // Transaction ID not recognized + STDSErrorMessageErrorTransactionIDNotRecognized = 301, + + /// A network response could not be decrypted or verified. + STDSErrorMessageErrorDataDecryptionFailure = 302, + + /// The SDK timed out + STDSErrorMessageErrorTimeout = 402, +}; + +/** + `STDSErrorMessage` represents an error message that is returned by the ACS or to be sent to the ACS. + */ +@interface STDSErrorMessage : NSObject + +/** + Designated initializer for `STDSErrorMessage`. + + @param errorCode The error code. + @param errorComponent The component that identified the error. + @param errorDescription Text describing the error. + @param errorDetails Additional error details. Optional. + */ +- (instancetype)initWithErrorCode:(NSString *)errorCode + errorComponent:(NSString *)errorComponent + errorDescription:(NSString *)errorDescription + errorDetails:(nullable NSString *)errorDetails + messageVersion:(NSString *)messageVersion + acsTransactionIdentifier:(nullable NSString *)acsTransactionIdentifier + errorMessageType:(NSString *)errorMessageType; + +/** + The error code. + */ +@property (nonatomic, readonly) NSString *errorCode; + +/** + The 3-D Secure component that identified the error. + */ +@property (nonatomic, readonly) NSString *errorComponent; + +/** + Text describing the error. + */ +@property (nonatomic, readonly) NSString *errorDescription; + +/** + Additional error details. + */ +@property (nonatomic, nullable, readonly) NSString *errorDetails; + +/** + The protocol version identifier. + */ +@property (nonatomic, readonly) NSString *messageVersion; + +/** + The ACS transaction identifier. + */ +@property (nonatomic, readonly, nullable) NSString *acsTransactionIdentifier; + +/** + The message type that was identified as erroneous. + */ +@property (nonatomic, readonly, nullable) NSString *errorMessageType; + +/** + A representation of the `STDSErrorMessage` as an `NSError` + */ +- (NSError *)NSErrorValue; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSException.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSException.h new file mode 100644 index 0000000..1f2c5ec --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSException.h @@ -0,0 +1,25 @@ +// +// STDSException.h +// Stripe3DS2 +// +// Created by Cameron Sabol on 1/22/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + An abstract class to represent 3DS2 SDK custom exceptions + */ +@interface STDSException : NSException + +/** + A description of the exception. + */ +@property (nonatomic, readonly) NSString *message; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSFooterCustomization.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSFooterCustomization.h new file mode 100644 index 0000000..990ffd9 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSFooterCustomization.h @@ -0,0 +1,41 @@ +// +// STDSFooterCustomization.h +// Stripe3DS2 +// +// Created by Yuki Tokuhiro on 6/10/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +#import "STDSCustomization.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + The Challenge view displays a footer with additional details that + expand when tapped. This object configures the appearance of that view. +*/ +@interface STDSFooterCustomization : STDSCustomization + +/// The default settings. ++ (instancetype)defaultSettings; + +/** + The background color of the footer. + Defaults to gray. + */ +@property (nonatomic) UIColor *backgroundColor; + +/// The color of the chevron. Defaults to a dark gray. +@property (nonatomic) UIColor *chevronColor; + +/// The color of the heading text. Defaults to black. +@property (nonatomic) UIColor *headingTextColor; + +/// The font to use for the heading text. +@property (nonatomic) UIFont *headingFont; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSInvalidInputException.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSInvalidInputException.h new file mode 100644 index 0000000..b30d4e1 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSInvalidInputException.h @@ -0,0 +1,21 @@ +// +// STDSInvalidInputException.h +// Stripe3DS2 +// +// Created by Cameron Sabol on 1/22/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import "STDSException.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + `STDSInvalidInputException` represents an exception that will be thrown by + Stripe3DS2 SDK methods that are called with invalid input arguments. + */ +@interface STDSInvalidInputException : STDSException + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSJSONDecodable.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSJSONDecodable.h new file mode 100644 index 0000000..f93428a --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSJSONDecodable.h @@ -0,0 +1,33 @@ +// +// STDSJSONDecodable.h +// Stripe3DS2 +// +// Created by Yuki Tokuhiro on 3/27/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol STDSJSONDecodable + +/** + Initializes an instance of the class from its JSON representation. + + This method recognizes two categories of errors: + - a required field is missing. + - a required field value is in valid (e.g. expected 'Y' or 'N' but received 'X'). + + Errors populating optional fields are ignored. + + @param json The JSON dictionary that represents an object of this type + @param outError If there was a missing required field or invalid field value, contains an instance of NSError. + + @return The object represented by the JSON dictionary. If the object could not be decoded, returns nil and populates the outError argument. + */ ++ (nullable instancetype)decodedObjectFromJSON:(nullable NSDictionary *)json error:(NSError **)outError; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSJSONEncodable.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSJSONEncodable.h new file mode 100644 index 0000000..9861a23 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSJSONEncodable.h @@ -0,0 +1,22 @@ +// +// STDSJSONEncodable.h +// Stripe3DS2 +// +// Created by Yuki Tokuhiro on 3/25/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol STDSJSONEncodable + +/** + Returns a map of property names to their JSON representation's key value. For example, `STDSChallengeParameters` has a property called `acsTransactionID`, but the 3DS2 JSON spec expects a field called `acsTransID`. This dictionary represents a mapping from the former to the latter (in other words, [STDSChallengeParameters propertyNamesToJSONKeysMapping][@"acsTransactionID"] == @"acsTransID".) + */ ++ (NSDictionary *)propertyNamesToJSONKeysMapping; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSJSONEncoder.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSJSONEncoder.h new file mode 100644 index 0000000..7ccc07e --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSJSONEncoder.h @@ -0,0 +1,27 @@ +// +// STDSJSONEncoder.h +// Stripe3DS2 +// +// Created by Yuki Tokuhiro on 3/25/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +#import "STDSJSONEncodable.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + `STDSJSONEncoder` is a utility class to help with converting API objects into JSON + */ +@interface STDSJSONEncoder : NSObject + +/** + Method to convert an STDSJSONEncodable object into a JSON dictionary. + */ ++ (NSDictionary *)dictionaryForObject:(NSObject *)object; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSLabelCustomization.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSLabelCustomization.h new file mode 100644 index 0000000..af75cf3 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSLabelCustomization.h @@ -0,0 +1,31 @@ +// +// STDSLabelCustomization.h +// Stripe3DS2 +// +// Created by Andrew Harrison on 3/14/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import "STDSCustomization.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + A customization object to use to configure the UI of a text label. + + The font and textColor inherited from `STDSCustomization` configure non-heading labels. + */ +@interface STDSLabelCustomization : STDSCustomization + +/// The default settings. ++ (instancetype)defaultSettings; + +/// The color of the heading text. Defaults to black. +@property (nonatomic) UIColor *headingTextColor; + +/// The font to use for the heading text. +@property (nonatomic) UIFont *headingFont; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSNavigationBarCustomization.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSNavigationBarCustomization.h new file mode 100644 index 0000000..18affaa --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSNavigationBarCustomization.h @@ -0,0 +1,59 @@ +// +// STDSNavigationBarCustomization.h +// Stripe3DS2 +// +// Created by Andrew Harrison on 3/14/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import +#import + +#import "STDSCustomization.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + A customization object to use to configure a UINavigationBar. + + The font and textColor inherited from `STDSCustomization` configure the + title of the navigation bar, and default to nil. + */ +@interface STDSNavigationBarCustomization : STDSCustomization + +/// The default settings. ++ (instancetype)defaultSettings; + +/** + The tint color of the navigation bar background. + Defaults to nil. + */ +@property (nonatomic, nullable) UIColor *barTintColor; + +/** + The navigation bar style. + Defaults to UIBarStyleDefault. + */ +@property (nonatomic) UIBarStyle barStyle; + +/** + A Boolean value indicating whether the navigation bar is translucent or not. + Defaults to YES. + */ +@property (nonatomic) BOOL translucent; + +/** + The text to display in the title of the navigation bar. + Defaults to "Secure checkout". + */ +@property (nonatomic, copy) NSString *headerText; + +/** + The text to display for the button in the navigation bar. + Defaults to "Cancel". + */ +@property (nonatomic, copy) NSString *buttonText; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSNotInitializedException.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSNotInitializedException.h new file mode 100644 index 0000000..cb836d5 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSNotInitializedException.h @@ -0,0 +1,23 @@ +// +// STDSNotInitializedException.h +// Stripe3DS2 +// +// Created by Cameron Sabol on 2/13/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import "STDSException.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + `STDSNotInitializedException` represents an exception that will be thrown by + the the Stripe3DS2 SDK if methods are called without initializing `STDSThreeDS2Service`. + + @see STDSThreeDS2Service + */ +@interface STDSNotInitializedException : STDSException + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSProtocolErrorEvent.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSProtocolErrorEvent.h new file mode 100644 index 0000000..1e3142a --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSProtocolErrorEvent.h @@ -0,0 +1,42 @@ +// +// STDSProtocolErrorEvent.h +// Stripe3DS2 +// +// Created by Yuki Tokuhiro on 3/20/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +@class STDSErrorMessage; + +NS_ASSUME_NONNULL_BEGIN + +/** + `STDSProtocolErrorEvent` contains details about erorrs received from or sent to the ACS. + */ +@interface STDSProtocolErrorEvent : NSObject + +/** + Designated initializer for `STDSProtocolErrorEvent`. + */ +- (instancetype)initWithSDKTransactionIdentifier:(NSString *)identifier errorMessage:(STDSErrorMessage *)errorMessage; + +/** + `STDSProtocolErrorEvent` should not be directly initialized. + */ +- (instancetype)init NS_UNAVAILABLE; + +/** + Details about the error. + */ +@property (nonatomic, readonly) STDSErrorMessage *errorMessage; + +/** + The SDK Transaction Identifier. + */ +@property (nonatomic, readonly) NSString *sdkTransactionIdentifier; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSRuntimeErrorEvent.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSRuntimeErrorEvent.h new file mode 100644 index 0000000..658cdb9 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSRuntimeErrorEvent.h @@ -0,0 +1,53 @@ +// +// STDSRuntimeErrorEvent.h +// Stripe3DS2 +// +// Created by Yuki Tokuhiro on 3/20/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +FOUNDATION_EXTERN NSString * const kSTDSRuntimeErrorCodeParsingError; +FOUNDATION_EXTERN NSString * const kSTDSRuntimeErrorCodeEncryptionError; + +/** + `STDSRuntimeErrorEvent` contains details about run-time errors encountered during authentication. + + The following are examples of run-time errors: + - ACS is unreachable + - Unparseable message + - Network issues + */ +@interface STDSRuntimeErrorEvent : NSObject + +/** + A code corresponding to the type of error this represents. + */ +@property (nonatomic, readonly) NSString *errorCode; + +/** + Details about the error. + */ +@property (nonatomic, readonly) NSString *errorMessage; + +/** + Designated initializer for `STDSRuntimeErrorEvent`. + */ +- (instancetype)initWithErrorCode:(NSString *)errorCode errorMessage:(NSString *)errorMessage NS_DESIGNATED_INITIALIZER; + +/** + A representation of the `STDSRuntimeErrorEvent` as an `NSError` + */ +- (NSError *)NSErrorValue; + +/** + `STDSRuntimeErrorEvent` should not be directly initialized. + */ +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSRuntimeException.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSRuntimeException.h new file mode 100644 index 0000000..5b63a2d --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSRuntimeException.h @@ -0,0 +1,21 @@ +// +// STDSRuntimeException.h +// Stripe3DS2 +// +// Created by Cameron Sabol on 1/22/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import "STDSException.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + `STDSRuntimeException` represents an exception that will be thrown by the + Stripe3DS2 SDK if it encounters an internal error. + */ +@interface STDSRuntimeException : STDSException + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSSelectionCustomization.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSSelectionCustomization.h new file mode 100644 index 0000000..a9818bb --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSSelectionCustomization.h @@ -0,0 +1,48 @@ +// +// STDSSelectionCustomization.h +// Stripe3DS2 +// +// Created by Yuki Tokuhiro on 6/11/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + A customization object that configures the appearance of + radio buttons and checkboxes. + */ +@interface STDSSelectionCustomization: NSObject + +/// The default settings. ++ (instancetype)defaultSettings; + +/** + The primary color of the selected state. + Defaults to blue. + */ +@property (nonatomic) UIColor *primarySelectedColor; + +/** + The secondary color of the selected state (e.g. the checkmark color). + Defaults to white. + */ +@property (nonatomic) UIColor *secondarySelectedColor; + +/** + The background color displayed in the unselected state. + Defaults to light blue. + */ +@property (nonatomic) UIColor *unselectedBackgroundColor; + +/** + The color of the border drawn around the view in the unselected state. + Defaults to blue. + */ +@property (nonatomic) UIColor *unselectedBorderColor; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSStripe3DS2Error.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSStripe3DS2Error.h new file mode 100644 index 0000000..2e506fe --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSStripe3DS2Error.h @@ -0,0 +1,68 @@ +// +// STDSStripe3DS2Error.h +// Stripe3DS2 +// +// Created by Yuki Tokuhiro on 3/27/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +FOUNDATION_EXPORT NSString * const STDSStripe3DS2ErrorDomain; + +/** + NSError.userInfo contains this key if we received an ErrorMessage instead of the expected response object. + The value of this key is the ErrorMessage. + */ +FOUNDATION_EXPORT NSString * const STDSStripe3DS2ErrorMessageErrorKey; + +/** + NSError.userInfo contains this key if we errored parsing JSON. + The value of this key is the invalid or missing field. + */ +FOUNDATION_EXPORT NSString * const STDSStripe3DS2ErrorFieldKey; + +/** + NSError.userInfo contains this key if we couldn't recognize critical message extension(s) + The value of this key is an array of identifiers. + */ +FOUNDATION_EXPORT NSString * const STDSStripe3DS2UnrecognizedCriticalMessageExtensionsKey; + + +typedef NS_ENUM(NSInteger, STDSErrorCode) { + + /// Code triggered an assertion + STDSErrorCodeAssertionFailed = 204, + + // JSON Parsing + /// Received invalid or malformed data + STDSErrorCodeJSONFieldInvalid = 203, + /// Expected field missing + STDSErrorCodeJSONFieldMissing = 201, + + /// Critical message extension not recognised + STDSErrorCodeUnrecognizedCriticalMessageExtension = 202, + + /// Decryption or verification error + STDSErrorCodeDecryptionVerification = 302, + + /// Error code corresponding to a `STDSRuntimeErrorEvent` for an unparseable network response + STDSErrorCodeRuntimeParsing = 400, + /// Error code corresponding to a `STDSRuntimeErrorEvent` for an error with decrypting or verifying a network response + STDSErrorCodeRuntimeEncryption = 401, + + // Networking + /// We received an ErrorMessage instead of the expected response object. `userInfo[STDSStripe3DS2ErrorMessageErrorKey]` will contain the ErrorMessage object. + STDSErrorCodeReceivedErrorMessage = 1000, + /// We received an unknown message type. + STDSErrorCodeUnknownMessageType = 1001, + /// Request timed out + STDSErrorCodeTimeout = 1002, + + /// Unknown + STDSErrorCodeUnknownError = 2000, +}; + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSSwiftTryCatch.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSSwiftTryCatch.h new file mode 100644 index 0000000..4744336 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSSwiftTryCatch.h @@ -0,0 +1,50 @@ +// +// STDSSwiftTryCatch.h +// +// Created by William Falcon on 10/10/14. +// Copyright (c) 2014 William Falcon. All rights reserved. +// +/* + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Provides try catch functionality for swift by wrapping around Objective-C + */ +@interface STDSSwiftTryCatch : NSObject + +/** + Provides try catch functionality for swift by wrapping around Objective-C + */ ++ (void)tryBlock:(void(^)(void))tryBlock catchBlock:(void(^)(NSException*exception))catchBlock finallyBlock:(void(^)(void))finallyBlock; +/** + Throws Objective-C exception with name and reason set to `s` + */ ++ (void)throwString:(NSString*)s; + +/** + Throws exception `e` + */ ++ (void)throwException:(NSException*)e; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSTextFieldCustomization.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSTextFieldCustomization.h new file mode 100644 index 0000000..6f2bfed --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSTextFieldCustomization.h @@ -0,0 +1,47 @@ +// +// STDSTextFieldCustomization.h +// Stripe3DS2 +// +// Created by Andrew Harrison on 3/14/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +#import "STDSCustomization.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + A customization object to use to configure the UI of a text field. + + The font and textColor inherited from `STDSCustomization` configure + the user input text. + */ +@interface STDSTextFieldCustomization : STDSCustomization + +/** + The default settings. + + The default textColor is black. + */ ++ (instancetype)defaultSettings; + +/// The border width of the text field. Defaults to 2. +@property (nonatomic) CGFloat borderWidth; + +/// The color of the border of the text field. Defaults to clear. +@property (nonatomic) UIColor *borderColor; + +/// The corner radius of the edges of the text field. Defaults to 8. +@property (nonatomic) CGFloat cornerRadius; + +/// The appearance of the keyboard. Defaults to UIKeyboardAppearanceDefault. +@property (nonatomic) UIKeyboardAppearance keyboardAppearance; + +/// The color of the placeholder text. Defaults to light gray. +@property (nonatomic) UIColor *placeholderTextColor; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSThreeDS2Service.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSThreeDS2Service.h new file mode 100644 index 0000000..c0baa55 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSThreeDS2Service.h @@ -0,0 +1,84 @@ +// +// STDSThreeDS2Service.h +// Stripe3DS2 +// +// Created by Cameron Sabol on 1/22/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +@class STDSConfigParameters; +@class STDSTransaction; +@class STDSUICustomization; +@class STDSWarning; + +NS_ASSUME_NONNULL_BEGIN + +/** + `STDSThreeDS2Service` is the main 3DS SDK interface and provides methods to process transactions. + */ +@interface STDSThreeDS2Service : NSObject + +/** + A list of warnings that may be populated once the SDK has been initialized. + */ +@property (nonatomic, readonly, nullable) NSArray *warnings; + +/** + Initializes the 3DS SDK instance. + + This method should be called at the start of the payment stage of a transaction. + **Note: Until the `STDSThreeDS2Service instance is initialized, it will be unusable.** + + - Performs security checks + - Collects device information + + @param config Configuration information that will be used during initialization. @see STDSConfigParameters + @param locale Optional override for the locale to use in UI. If `nil`, will default to the current system locale. + @param uiSettings Optional custom UI settings. If `nil`, will default to `[STDSUICustomization defaultSettings]`. + This argument is copied; any further changes to the customization object have no effect. @see STDSUICustomization + + @exception STDSInvalidInputException Will throw an `STDSInvalidInputException` if `config` is `nil` or any of `config`, `locale`, or `uiSettings` are invalid. @see STDSInvalidInputException + @exception STDSAlreadyInitializedException Will throw an `STDSAlreadyInitializedException` if the 3DS SDK instance has already been initialized. @see STDSSDKAlreadyInitializedException + @exception STDSRuntimeException Will throw an `STDSRuntimeException` if there is an internal error in the SDK. @see STDSRuntimeException + */ +- (void)initializeWithConfig:(STDSConfigParameters *)config + locale:(nullable NSLocale *)locale + uiSettings:(nullable STDSUICustomization *)uiSettings; + +/** + Creates and returns an instance of `STDSTransaction`. + + @param directoryServerID The Directory Server identifier returned in the authentication response + @param protocolVersion 3DS protocol version according to which the transaction will be created. Uses the default value of 2.1.0 if nil + + @exception STDSNotInitializedException Will throw an `STDSNotInitializedException` if the the `STDSThreeDS2Service` instance hasn't been initialized with a call to `initializeWithConfig:locale:uiSettings:`. @see STDSNotInitializedException + @exception STDSInvalidInputException Will throw an `STDSInvalidInputException` if `directoryServerID` is not recognized or if the `protocolVersion` is not supported by this version of the SDK. @see STDSInvalidInputException + @exception STDSRuntimeException Will throw an `STDSRuntimeException` if there is an internal error in the SDK. @see STDSRuntimeException + */ +- (STDSTransaction *)createTransactionForDirectoryServer:(NSString *)directoryServerID + withProtocolVersion:(nullable NSString *)protocolVersion; + +/** + Creates and returns an instance of `STDSTransaction` using a custom directory server certificate. + Will return nil if unable to create a certificate from the provided params. + + @param directoryServerID The Directory Server identifier returned in the authentication response + @param serverKeyID An additional authentication key used by some Directory Servers + @param certificateString A Base64-encoded PEM or DER formatted certificate string containing the directory server's public key + @param rootCertificateStrings An arry of base64-encoded PEM or DER formatted certificate strings containing the DS root certificate used for signature checks + @param protocolVersion 3DS protocol version according to which the transaction will be created. Uses the default value of 2.1.0 if nil + + @exception STDSNotInitializedException Will throw an `STDSNotInitializedException` if the the `STDSThreeDS2Service` instance hasn't been initialized with a call to `initializeWithConfig:locale:uiSettings:`. @see STDSNotInitializedException + @exception STDSInvalidInputException Will throw an `STDSInvalidInputException` if the `protocolVersion` is not supported by this version of the SDK. @see STDSInvalidInputException + */ +- (nullable STDSTransaction *)createTransactionForDirectoryServer:(NSString *)directoryServerID + serverKeyID:(nullable NSString *)serverKeyID + certificateString:(NSString *)certificateString + rootCertificateStrings:(NSArray *)rootCertificateStrings + withProtocolVersion:(nullable NSString *)protocolVersion; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSThreeDSProtocolVersion.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSThreeDSProtocolVersion.h new file mode 100644 index 0000000..b4161a6 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSThreeDSProtocolVersion.h @@ -0,0 +1,15 @@ +// +// STDSThreeDSProtocolVersion.h +// Stripe3DS2 +// +// Created by Cameron Sabol on 6/27/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +FOUNDATION_EXPORT NSString * const Stripe3DS2ProtocolVersion; + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSTransaction.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSTransaction.h new file mode 100644 index 0000000..02a1f1a --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSTransaction.h @@ -0,0 +1,94 @@ +// +// STDSTransaction.h +// Stripe3DS2 +// +// Created by Yuki Tokuhiro on 3/21/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import +#import + +typedef void (^STDSTransactionVoidBlock)(void); + +@class STDSAuthenticationRequestParameters, STDSChallengeParameters; +@protocol STDSChallengeStatusReceiver; + +NS_ASSUME_NONNULL_BEGIN + +/** + `STDSTransaction` holds parameters that the 3DS Server requires to create AReq messages and to perform the Challenge Flow. + */ +@interface STDSTransaction : NSObject + +/** + The UI type of the presented challenge for this transaction if applicable. Will be one of + "none" + "text" + "single_select" + "multi_select" + "oob" + "html" + */ +@property (nonatomic, readonly, copy) NSString *presentedChallengeUIType; + +/** + Encrypts device information collected during initialization and returns it along with SDK details. + + @return Encrypted device information and details about this SDK. @see STDSAuthenticationRequestParameters + + @exception SDKRuntimeException Thrown if an internal error is encountered. + */ +- (STDSAuthenticationRequestParameters *)createAuthenticationRequestParameters; + +/** + Returns a UIViewController instance displaying the Directory Server logo and a spinner. Present this during the Authentication Request/Response. + */ +- (UIViewController *)createProgressViewControllerWithDidCancel:(STDSTransactionVoidBlock)didCancel; + +/** + Initiates the challenge process, displaying challenge UI as needed. + + @param presentingViewController The UIViewController used to present the challenge response UIViewController + @param challengeParameters Details required to conduct the challenge process. @see STDSChallengeParameters + @param challengeStatusReceiver A callback object to receive the status of the challenge. See @STDSChallengeStatusReceiver + @param timeout An interval in seconds within which the challenge process will finish. Must be at least 5 minutes. + + @exception STDSInvalidInputException Thrown if an argument is invalid (e.g. timeout less than 5 minutes). @see STDSInvalidInputException + @exception STDSSDKRuntimeException Thrown if an internal error is encountered, and if you call this method after calling `close`. @see SDKRuntimeException + + @note challengeStatusReceiver must conform to . This is a workaround: When the static Stripe3DS2 is compiled into Stripe.framework, the resulting swiftinterface and generated .h files reference this protocol. To allow users to build without including Stripe3DS2 directly, we'll take an `id` here instead. + */ +- (void)doChallengeWithViewController:(UIViewController *)presentingViewController + challengeParameters:(STDSChallengeParameters *)challengeParameters + challengeStatusReceiver:(id)challengeStatusReceiver + timeout:(NSTimeInterval)timeout; + +/** + Returns the version of the Stripe3DS2 SDK, e.g. @"1.0" + */ +- (NSString *)sdkVersion; + +/** +Cleans up resources held by `STDSTransaction`. Call this when the transaction is completed, if `doChallengeWithChallengeParameters:challengeStatusReceiver:timeout` is not called. + + @note Don't use this object after calling this method. Calling `doChallengeWithViewController:challengeParameters:challengeStatusReceiver:timeout` after calling this method will throw an `STDSSDKRuntimeException` + */ +- (void)close; + +/** + Alternate challenge initiation method meant only for internal use by Stripe SDK. + */ +- (void)doChallengeWithChallengeParameters:(STDSChallengeParameters *)challengeParameters + challengeStatusReceiver:(id)challengeStatusReceiver + timeout:(NSTimeInterval)timeout + presentationBlock:(void (^)(UIViewController *, void(^)(void)))presentationBlock; + +/** + Function to manually cancel the challenge flow. + */ +- (void)cancelChallengeFlow; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSUICustomization.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSUICustomization.h new file mode 100644 index 0000000..651b22f --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSUICustomization.h @@ -0,0 +1,109 @@ +// +// STDSUICustomization.h +// Stripe3DS2 +// +// Created by Andrew Harrison on 3/14/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import +#import "STDSCustomization.h" +#import "STDSButtonCustomization.h" +#import "STDSNavigationBarCustomization.h" +#import "STDSLabelCustomization.h" +#import "STDSTextFieldCustomization.h" +#import "STDSFooterCustomization.h" +#import "STDSSelectionCustomization.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + The `STDSUICustomization` provides configuration for UI elements. + + It's important to configure this object appropriately before using it to initialize a + `STDSThreeDS2Service` object. `STDSThreeDS2Service` makes a copy of the customization + settings you provide; it ignores any subsequent changes you make to your `STDSUICustomization` instance. +*/ +@interface STDSUICustomization: NSObject + +/// The default settings. See individual properties for their default values. ++ (instancetype)defaultSettings; + +/** + Provides custom settings for the UINavigationBar of all UIViewControllers the SDK display. + The default is `[STDSNavigationBarCustomization defaultSettings]`. + */ +@property (nonatomic) STDSNavigationBarCustomization *navigationBarCustomization; + +/** + Provides custom settings for labels. + The default is `[STDSLabelCustomization defaultSettings]`. + */ +@property (nonatomic) STDSLabelCustomization *labelCustomization; + +/** + Provides custom settings for text fields. + The default is `[STDSTextFieldCustomization defaultSettings]`. + */ +@property (nonatomic) STDSTextFieldCustomization *textFieldCustomization; + +/** + The primary background color of all UIViewControllers the SDK display. + Defaults to white. + */ +@property (nonatomic) UIColor *backgroundColor; + +/** + The Challenge view displays a footer with additional details. This controls the background color of that view. + Defaults to gray. + */ +@property (nonatomic) STDSFooterCustomization *footerCustomization; + +/** + Sets a given button customization for the specified type. + + @param buttonCustomization The buttom customization to use. + @param buttonType The type of button to use the customization for. + */ +- (void)setButtonCustomization:(STDSButtonCustomization *)buttonCustomization forType:(STDSUICustomizationButtonType)buttonType; + +/** + Retrieves a button customization object for the given button type. + + @param buttonType The button type to retrieve a customization object for. + @return A button customization object, or the default if none was set. + @see STDSButtonCustomization + */ +- (STDSButtonCustomization *)buttonCustomizationForButtonType:(STDSUICustomizationButtonType)buttonType; + +/** + Provides custom settings for radio buttons and checkboxes. + The default is `[STDSSelectionCustomization defaultSettings]`. + */ +@property (nonatomic) STDSSelectionCustomization *selectionCustomization; + + +/** + The preferred status bar style for all UIViewControllers the SDK display. + Defaults to UIStatusBarStyleDefault. + */ +@property (nonatomic) UIStatusBarStyle preferredStatusBarStyle; + +#pragma mark - Progress View + +/** + The style of UIActivityIndicatorViews displayed. + This should contrast with `backgroundColor`. Defaults to regular on iOS 13+, + gray on iOS 10-12. + */ +@property (nonatomic) UIActivityIndicatorViewStyle activityIndicatorViewStyle; + +/** + The style of the UIBlurEffect displayed underneath the UIActivityIndicatorView. + Defaults to UIBlurEffectStyleDefault. + */ +@property (nonatomic) UIBlurEffectStyle blurStyle; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSWarning.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSWarning.h new file mode 100644 index 0000000..5f09fe7 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/STDSWarning.h @@ -0,0 +1,69 @@ +// +// STDSWarning.h +// Stripe3DS2 +// +// Created by Cameron Sabol on 2/12/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + The `STDSWarningSeverity` enum defines the severity levels of warnings generated + during SDK initialization. @see STDSThreeDS2Service + */ +typedef NS_ENUM(NSInteger, STDSWarningSeverity) { + /** + Low severity + */ + STDSWarningSeverityLow = 0, + + /** + Medium severity + */ + STDSWarningSeverityMedium, + + /** + High severity + */ + STDSWarningSeverityHigh, +}; + +/** + The `STDSWarning` class represents warnings generated by `STDSThreeDS2Service` during + security checks run during initialization. @see STDSThreeDS2Service + */ +@interface STDSWarning : NSObject + +/** + Designated initializer for `STDSWarning`. + */ +- (instancetype)initWithIdentifier:(NSString *)identifier + message:(NSString *)message + severity:(STDSWarningSeverity)severity NS_DESIGNATED_INITIALIZER; + +/** + `STDSWarning` should not be directly initialized. + */ +- (instancetype)init NS_UNAVAILABLE; + +/** + The identifier for this warning instance. + */ +@property (nonatomic, readonly) NSString *identifier; + +/** + The descriptive message for this warning. + */ +@property (nonatomic, readonly) NSString *message; + +/** + The severity of this warning. + */ +@property (nonatomic, readonly) STDSWarningSeverity severity; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/Stripe3DS2-Prefix.pch b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/Stripe3DS2-Prefix.pch new file mode 100644 index 0000000..888096f --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/Stripe3DS2-Prefix.pch @@ -0,0 +1,14 @@ +// +// Stripe3DS2-Prefix.pch +// Stripe3DS2 +// +// Created by Cameron Sabol on 4/16/20. +// Copyright © 2020 Stripe. All rights reserved. +// + +#ifndef Stripe3DS2_pch +#define Stripe3DS2_pch + +#import "STDSLocalizedString.h" + +#endif /* Stripe3DS2_pch */ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/Stripe3DS2.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/Stripe3DS2.h new file mode 100644 index 0000000..9e9f3eb --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Headers/Stripe3DS2.h @@ -0,0 +1,52 @@ +// +// Stripe3DS2.h +// Stripe3DS2 +// +// Created by Cameron Sabol on 1/16/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +//! Project version number for Stripe3DS2. +FOUNDATION_EXPORT double Stripe3DS2VersionNumber; + +//! Project version string for Stripe3DS2. +FOUNDATION_EXPORT const unsigned char Stripe3DS2VersionString[]; + +#import "STDSConfigParameters.h" +#import "STDSThreeDS2Service.h" +#import "STDSUICustomization.h" +#import "STDSWarning.h" + +#import "STDSAlreadyInitializedException.h" +#import "STDSInvalidInputException.h" +#import "STDSNotInitializedException.h" +#import "STDSRuntimeException.h" + +#import "STDSErrorMessage.h" +#import "STDSProtocolErrorEvent.h" +#import "STDSRuntimeErrorEvent.h" +#import "STDSStripe3DS2Error.h" +#import "STDSThreeDSProtocolVersion.h" + +#import "STDSAuthenticationRequestParameters.h" +#import "STDSAuthenticationResponse.h" +#import "STDSChallengeParameters.h" +#import "STDSChallengeStatusReceiver.h" +#import "STDSCompletionEvent.h" +#import "STDSJSONDecodable.h" +#import "STDSJSONEncoder.h" +#import "STDSTransaction.h" + +#import "STDSButtonCustomization.h" +#import "STDSCustomization.h" +#import "STDSException.h" +#import "STDSFooterCustomization.h" +#import "STDSJSONEncodable.h" +#import "STDSLabelCustomization.h" +#import "STDSNavigationBarCustomization.h" +#import "STDSSelectionCustomization.h" +#import "STDSTextFieldCustomization.h" + +#import "STDSSwiftTryCatch.h" diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Modules/module.modulemap b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 0000000..7770928 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,6 @@ +framework module Stripe3DS2 { + umbrella header "Stripe3DS2.h" + + export * + module * { export * } +} diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/Chevron@3x.png b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/Chevron@3x.png new file mode 100644 index 0000000..42f836e Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/Chevron@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/Info.plist b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/Info.plist new file mode 100644 index 0000000..531cb21 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,50 @@ + + + + + BuildMachineOSBuild + 20G165 + CFBundleDevelopmentRegion + en + CFBundleExecutable + Stripe3DS2 + CFBundleIdentifier + com.stripe.stripe-3ds2 + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + Stripe3DS2 + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1.0 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 12B45b + DTPlatformName + macosx + DTPlatformVersion + 11.0 + DTSDKBuild + 20A2408 + DTSDKName + macosx11.0 + DTXcode + 1220 + DTXcodeBuild + 12B45b + LSMinimumSystemVersion + 10.15 + UIDeviceFamily + + 2 + + + diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/acs_challenge.html b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/acs_challenge.html new file mode 100644 index 0000000..4b576e2 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/acs_challenge.html @@ -0,0 +1,178 @@ + + + + + 3DS - One-Time Passcode - PA + + + + + + +
+ + + + +
+
+

Purchase Authentication

+

We have send you a text message with a code to your registered mobile number ending in ***.

+

You are paying Merchant ABC the amount of $xxx.xx on mm/dd/yy.

+
+ +
+

Enter your code below:

+
+ + +
+
+ + +
+
+
+ + +
+
+
+ + Need some help? +

Help content will be displayed here.

+ +
+
+
+
+ + Learn more about authentication +

Authentication information will be displayed here.

+ +
+
+
+ + +
+ +
+
+ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/amex-logo@3x.png b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/amex-logo@3x.png new file mode 100644 index 0000000..ef2fce9 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/amex-logo@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/amex.der b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/amex.der new file mode 100644 index 0000000..61a1cfd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/amex.der differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/bg-BG.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/bg-BG.lproj/Localizable.strings new file mode 100644 index 0000000..964c7be Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/bg-BG.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/ca-ES.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/ca-ES.lproj/Localizable.strings new file mode 100644 index 0000000..964c7be Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/ca-ES.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/cartes-bancaires-logo.png b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/cartes-bancaires-logo.png new file mode 100644 index 0000000..fb388ea Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/cartes-bancaires-logo.png differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/cartes-bancaires.der b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/cartes-bancaires.der new file mode 100644 index 0000000..23d14ff Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/cartes-bancaires.der differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/cs-CZ.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/cs-CZ.lproj/Localizable.strings new file mode 100644 index 0000000..964c7be Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/cs-CZ.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/da.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/da.lproj/Localizable.strings new file mode 100644 index 0000000..4bf8d75 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/da.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/de.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/de.lproj/Localizable.strings new file mode 100644 index 0000000..c223442 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/de.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/discover-logo.png b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/discover-logo.png new file mode 100644 index 0000000..8fd7bf6 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/discover-logo.png differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/discover.der b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/discover.der new file mode 100644 index 0000000..5b17935 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/discover.der differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/ec_test.der b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/ec_test.der new file mode 100644 index 0000000..06587c4 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/ec_test.der differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/el-GR.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/el-GR.lproj/Localizable.strings new file mode 100644 index 0000000..964c7be Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/el-GR.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/en-GB.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/en-GB.lproj/Localizable.strings new file mode 100644 index 0000000..09359c5 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/en-GB.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/en.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/en.lproj/Localizable.strings new file mode 100644 index 0000000..964c7be Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/en.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/error@3x.png b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/error@3x.png new file mode 100644 index 0000000..670bac6 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/error@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/es-419.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/es-419.lproj/Localizable.strings new file mode 100644 index 0000000..4f93254 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/es-419.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/es.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/es.lproj/Localizable.strings new file mode 100644 index 0000000..05be1af Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/es.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/et-EE.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/et-EE.lproj/Localizable.strings new file mode 100644 index 0000000..964c7be Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/et-EE.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/fi.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/fi.lproj/Localizable.strings new file mode 100644 index 0000000..91182f0 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/fi.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/fil.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/fil.lproj/Localizable.strings new file mode 100644 index 0000000..964c7be Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/fil.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/fr-CA.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/fr-CA.lproj/Localizable.strings new file mode 100644 index 0000000..df6a03b Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/fr-CA.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/fr.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/fr.lproj/Localizable.strings new file mode 100644 index 0000000..1053972 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/fr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/hr.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/hr.lproj/Localizable.strings new file mode 100644 index 0000000..964c7be Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/hr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/hu.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/hu.lproj/Localizable.strings new file mode 100644 index 0000000..d34a34a Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/hu.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/id.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/id.lproj/Localizable.strings new file mode 100644 index 0000000..964c7be Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/id.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/it.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/it.lproj/Localizable.strings new file mode 100644 index 0000000..6125a94 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/it.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/ja.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/ja.lproj/Localizable.strings new file mode 100644 index 0000000..b16e0fa Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/ja.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/ko.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/ko.lproj/Localizable.strings new file mode 100644 index 0000000..d2e9e3f Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/ko.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/lt-LT.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/lt-LT.lproj/Localizable.strings new file mode 100644 index 0000000..964c7be Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/lt-LT.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/lv-LV.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/lv-LV.lproj/Localizable.strings new file mode 100644 index 0000000..964c7be Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/lv-LV.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/mastercard-logo@3x.png b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/mastercard-logo@3x.png new file mode 100644 index 0000000..2a57bf0 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/mastercard-logo@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/mastercard.der b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/mastercard.der new file mode 100644 index 0000000..6e136e1 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/mastercard.der differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/ms-MY.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/ms-MY.lproj/Localizable.strings new file mode 100644 index 0000000..964c7be Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/ms-MY.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/mt.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/mt.lproj/Localizable.strings new file mode 100644 index 0000000..41fbe69 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/mt.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/nb.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/nb.lproj/Localizable.strings new file mode 100644 index 0000000..631f9b9 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/nb.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/nl.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/nl.lproj/Localizable.strings new file mode 100644 index 0000000..28a58aa Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/nl.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/nn-NO.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/nn-NO.lproj/Localizable.strings new file mode 100644 index 0000000..e77191e Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/nn-NO.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/pl-PL.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/pl-PL.lproj/Localizable.strings new file mode 100644 index 0000000..964c7be Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/pl-PL.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/pt-BR.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/pt-BR.lproj/Localizable.strings new file mode 100644 index 0000000..28dcc28 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/pt-BR.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/pt-PT.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/pt-PT.lproj/Localizable.strings new file mode 100644 index 0000000..81cbbc2 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/pt-PT.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/ro-RO.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/ro-RO.lproj/Localizable.strings new file mode 100644 index 0000000..964c7be Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/ro-RO.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/ru.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/ru.lproj/Localizable.strings new file mode 100644 index 0000000..a678779 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/ru.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/sk-SK.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/sk-SK.lproj/Localizable.strings new file mode 100644 index 0000000..964c7be Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/sk-SK.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/sl-SI.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/sl-SI.lproj/Localizable.strings new file mode 100644 index 0000000..964c7be Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/sl-SI.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/sv.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/sv.lproj/Localizable.strings new file mode 100644 index 0000000..6ed9cd8 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/sv.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/tk.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/tk.lproj/Localizable.strings new file mode 100644 index 0000000..964c7be Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/tk.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/tr.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/tr.lproj/Localizable.strings new file mode 100644 index 0000000..df588e2 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/tr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/ul-test.der b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/ul-test.der new file mode 100644 index 0000000..11e5f29 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/ul-test.der differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/vi.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/vi.lproj/Localizable.strings new file mode 100644 index 0000000..964c7be Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/vi.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/visa-logo@3x.png b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/visa-logo@3x.png new file mode 100644 index 0000000..5dc029c Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/visa-logo@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/visa-white-logo@3x.png b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/visa-white-logo@3x.png new file mode 100644 index 0000000..afc9de2 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/visa-white-logo@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/visa.der b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/visa.der new file mode 100644 index 0000000..a77735d Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/visa.der differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/zh-HK.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/zh-HK.lproj/Localizable.strings new file mode 100644 index 0000000..fb5f6fd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/zh-HK.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/zh-Hans.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/zh-Hans.lproj/Localizable.strings new file mode 100644 index 0000000..4229174 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/zh-Hans.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/zh-Hant.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/zh-Hant.lproj/Localizable.strings new file mode 100644 index 0000000..15cb60c Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Resources/zh-Hant.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Stripe3DS2 b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Stripe3DS2 new file mode 100755 index 0000000..d2e7c28 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/A/Stripe3DS2 differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/Current b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/Current new file mode 120000 index 0000000..8c7e5a6 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-maccatalyst/Stripe3DS2.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Chevron@3x.png b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Chevron@3x.png new file mode 100644 index 0000000..445021b Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Chevron@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSAlreadyInitializedException.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSAlreadyInitializedException.h new file mode 100644 index 0000000..c39a85d --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSAlreadyInitializedException.h @@ -0,0 +1,22 @@ +// +// STDSAlreadyInitializedException.h +// Stripe3DS2 +// +// Created by Cameron Sabol on 1/22/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import "STDSException.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + `STDSAlreadyInitializedException` represents an exception that will be thrown in the `STDSThreeDS2Service` instance has already been initialized. + + @see STDSThreeDS2Service + */ +@interface STDSAlreadyInitializedException : STDSException + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSAuthenticationRequestParameters.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSAuthenticationRequestParameters.h new file mode 100644 index 0000000..766e485 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSAuthenticationRequestParameters.h @@ -0,0 +1,68 @@ +// +// STDSAuthenticationRequestParameters.h +// Stripe3DS2 +// +// Created by Yuki Tokuhiro on 3/21/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +#import "STDSJSONEncodable.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface STDSAuthenticationRequestParameters : NSObject + +/** + Designated initializer for `STDSAuthenticationRequestParameters`. + + @param sdkTransactionIdentifier The SDK Transaction Identifier, as created by `[STDSTransaction createTransaction]` + @param deviceData Optional device data collected by the SDK. + @param sdkEphemeralPublicKey The SDK ephemeral public key. + @param sdkAppIdentifier The SDK app identifier. + @param sdkReferenceNumber The SDK reference number. + @param messageVersion The protocol version that is supported by the SDK and used for the transaction. + + @exception InvalidInputException Thrown if an input parameter is invalid. @see InvalidInputException + */ +- (instancetype)initWithSDKTransactionIdentifier:(NSString *)sdkTransactionIdentifier + deviceData:(nullable NSString *)deviceData + sdkEphemeralPublicKey:(NSString *)sdkEphemeralPublicKey + sdkAppIdentifier:(NSString *)sdkAppIdentifier + sdkReferenceNumber:(NSString *)sdkReferenceNumber + messageVersion:(NSString *)messageVersion; + +/** + The encrypted device data as a JWE string. + */ +@property (nonatomic, readonly, nullable) NSString *deviceData; + +/** + The SDK Transaction Identifier. + */ +@property (nonatomic, readonly) NSString *sdkTransactionIdentifier; + +/** + The SDK App Identifier. + */ +@property (nonatomic, readonly) NSString *sdkAppIdentifier; + +/** + The SDK reference number. + */ +@property (nonatomic, readonly) NSString *sdkReferenceNumber; + +/** + The SDK ephemeral public key. + */ +@property (nonatomic, readonly) NSString *sdkEphemeralPublicKey; + +/** + The protocol version that is used for the transaction. + */ +@property (nonatomic, readonly) NSString *messageVersion; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSAuthenticationResponse.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSAuthenticationResponse.h new file mode 100644 index 0000000..d527f38 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSAuthenticationResponse.h @@ -0,0 +1,115 @@ +// +// STDSAuthenticationResponse.h +// Stripe3DS2 +// +// Created by Cameron Sabol on 2/13/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +#import "STDSJSONDecodable.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + The `STDSACSStatusType` enum defines the status of a transaction, as detailed in + 3DS2 Spec Seq 3.33: + */ +typedef NS_ENUM(NSInteger, STDSACSStatusType) { + /// The status is unknown or invalid + STDSACSStatusTypeUnknown = 0, + + /// Authenticated + STDSACSStatusTypeAuthenticated = 1, + + /// Requires a Cardholder challenge to complete authentication + STDSACSStatusTypeChallengeRequired = 2, + + /// Requires a Cardholder challenge using Decoupled Authentication + STDSACSStatusTypeDecoupledAuthentication = 3, + + /// Not authenticated + STDSACSStatusTypeNotAuthenticated = 4, + + /// Not authenticated, but a proof of authentication attempt (Authentication Value) + /// was generated + STDSACSStatusTypeProofGenerated = 5, + + /// Not authenticated, as authentication could not be performed due to technical or + /// other issue + STDSACSStatusTypeError = 6, + + /// Not authenticated because the Issuer is rejecting authentication and requesting + /// that authorisation not be attempted + STDSACSStatusTypeRejected = 7, + + /// Authentication not requested by the 3DS Server for data sent for informational + /// purposes only + STDSACSStatusTypeInformationalOnly = 8, +}; + +/** + A native protocol representing the response sent by the 3DS Server. + Only parameters relevant to performing 3DS2 authentication in the mobile SDK are exposed. + */ +@protocol STDSAuthenticationResponse + +/// Universally unique transaction identifier assigned by the 3DS Server to identify a single transaction. +@property (nonatomic, readonly) NSString *threeDSServerTransactionID; + +/// Transaction status +@property (nonatomic, readonly) STDSACSStatusType status; + +/// Indication of whether a challenge is required. +@property (nonatomic, readonly, getter=isChallengeRequired) BOOL challengeRequired; + +/// Indicates whether the ACS confirms utilisation of Decoupled Authentication and agrees to utilise Decoupled Authentication to authenticate the Cardholder. +@property (nonatomic, readonly) BOOL willUseDecoupledAuthentication; + +/** + DS assigned ACS identifier. + Each DS can provide a unique ID to each ACS on an individual basis. + */ +@property (nonatomic, readonly, nullable) NSString *acsOperatorID; + +/// Unique identifier assigned by the EMVCo Secretariat upon Testing and Approval. +@property (nonatomic, readonly, nullable) NSString *acsReferenceNumber; + +/// Contains the JWS object (represented as a string) created by the ACS for the ARes message. +@property (nonatomic, readonly, nullable) NSString *acsSignedContent; + +/// Universally Unique transaction identifier assigned by the ACS to identify a single transaction. +@property (nonatomic, readonly) NSString *acsTransactionID; + +/// Fully qualified URL of the ACS to be used for the challenge. +@property (nonatomic, readonly, nullable) NSURL *acsURL; + +/** + Text provided by the ACS/Issuer to Cardholder during a Frictionless or Decoupled transaction. The Issuer can provide information to Cardholder. + For example, “Additional authentication is needed for this transaction, please contact (Issuer Name) at xxx-xxx-xxxx.” + */ +@property (nonatomic, readonly, nullable) NSString *cardholderInfo; + +/// EMVCo-assigned unique identifier to track approved DS. +@property (nonatomic, readonly, nullable) NSString *directoryServerReferenceNumber; + +/// Universally unique transaction identifier assigned by the DS to identify a single transaction. +@property (nonatomic, readonly, nullable) NSString *directoryServerTransactionID; + +/** + Protocol version identifier This shall be the Protocol Version Number of the specification utilised by the system creating this message. + The Message Version Number is set by the 3DS Server which originates the protocol with the AReq message. + The Message Version Number does not change during a 3DS transaction. + */ +@property (nonatomic, readonly) NSString *protocolVersion; + +/// Universally unique transaction identifier assigned by the 3DS SDK to identify a single transaction. +@property (nonatomic, readonly) NSString *sdkTransactionID; + +@end + +/// A utility to parse an STDSAuthenticationResponse from JSON +id _Nullable STDSAuthenticationResponseFromJSON(NSDictionary *json); + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSButtonCustomization.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSButtonCustomization.h new file mode 100644 index 0000000..dd63f98 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSButtonCustomization.h @@ -0,0 +1,83 @@ +// +// STDSButtonCustomization.h +// Stripe3DS2 +// +// Created by Andrew Harrison on 3/14/19. +// Copyright © 2019 Stripe. All rights reserved. +// +#import +#import + +#import "STDSCustomization.h" + +/// An enum that defines the different types of buttons that are able to be customized. +typedef NS_ENUM(NSInteger, STDSUICustomizationButtonType) { + + /// The submit button type. + STDSUICustomizationButtonTypeSubmit = 0, + + /// The continue button type. + STDSUICustomizationButtonTypeContinue = 1, + + /// The next button type. + STDSUICustomizationButtonTypeNext = 2, + + /// The cancel button type. + STDSUICustomizationButtonTypeCancel = 3, + + /// The resend button type. + STDSUICustomizationButtonTypeResend = 4, +}; + +/// An enumeration of the case transformations that can be applied to the button's title +typedef NS_ENUM(NSInteger, STDSButtonTitleStyle) { + /// Default style, doesn't modify the title + STDSButtonTitleStyleDefault, + + /// Applies localizedUppercaseString to the title + STDSButtonTitleStyleUppercase, + + /// Applies localizedLowercaseString to the title + STDSButtonTitleStyleLowercase, + + /// Applies localizedCapitalizedString to the title + STDSButtonTitleStyleSentenceCapitalized, +}; + +NS_ASSUME_NONNULL_BEGIN + +/// A customization object to use to configure the UI of a button. +@interface STDSButtonCustomization: STDSCustomization + +/// The default settings for the provided button type. ++ (instancetype)defaultSettingsForButtonType:(STDSUICustomizationButtonType)type; + +/** + Initializes an instance of STDSButtonCustomization with the given backgroundColor and colorRadius. + */ +- (instancetype)initWithBackgroundColor:(UIColor *)backgroundColor cornerRadius:(CGFloat)cornerRadius; + +/** + This is unavailable because there are no sensible default property values without a button type. + Use `defaultSettingsForButtonType:` or `initWithBackgroundColor:cornerRadius:` instead. + */ +- (instancetype)init NS_UNAVAILABLE; + +/** + The background color of the button. + The default for .resend and .cancel is clear. + The default for .submit, .continue, and .next is blue. + */ +@property (nonatomic) UIColor *backgroundColor; + +/// The corner radius of the button. Defaults to 8. +@property (nonatomic) CGFloat cornerRadius; + +/** + The capitalization style of the button title + */ +@property (nonatomic) STDSButtonTitleStyle titleStyle; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSChallengeParameters.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSChallengeParameters.h new file mode 100644 index 0000000..e1aa151 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSChallengeParameters.h @@ -0,0 +1,61 @@ +// +// STDSChallengeParameters.h +// Stripe3DS2 +// +// Created by Cameron Sabol on 2/13/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +@protocol STDSAuthenticationResponse; + +NS_ASSUME_NONNULL_BEGIN + +/** + `STDSChallengeParameters` contains information from the 3DS Server's + authentication response that are used by the 3DS2 SDK to initiate + the challenge flow. + */ +@interface STDSChallengeParameters : NSObject + +/** + Convenience intiializer to create an instace of `STDSChallengeParameters` from an + `STDSAuthenticationResponse` + */ +- (instancetype)initWithAuthenticationResponse:(id)authResponse; + +/** + Transaction identifier assigned by the 3DS Server to uniquely identify + a transaction. + */ +@property (nonatomic, copy) NSString *threeDSServerTransactionID; + +/** + Transaction identifier assigned by the Access Control Server (ACS) + to uniquely identify a transaction. + */ +@property (nonatomic, copy) NSString *acsTransactionID; + +/** + The reference number of the relevant Access Control Server. + */ +@property (nonatomic, copy) NSString *acsReferenceNumber; + +/** + The encrypted message sent by the Access Control Server + containing the ACS URL, epthemeral public key, and the + 3DS2 SDK ephemeral public key. + */ +@property (nonatomic, copy) NSString *acsSignedContent; + +/** + The URL for the application that is requesting 3DS2 verification. + This property can be optionally set and will be included with the + messages sent to the Directory Server during the challenge flow. + */ +@property (nonatomic, copy, nullable) NSString *threeDSRequestorAppURL; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSChallengeStatusReceiver.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSChallengeStatusReceiver.h new file mode 100644 index 0000000..a352e0c --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSChallengeStatusReceiver.h @@ -0,0 +1,67 @@ +// +// STDSChallengeStatusReceiver.h +// Stripe3DS2 +// +// Created by Yuki Tokuhiro on 3/20/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import +#import + +@class STDSTransaction, STDSCompletionEvent, STDSRuntimeErrorEvent, STDSProtocolErrorEvent; + +NS_ASSUME_NONNULL_BEGIN + +/** + Implement the `STDSChallengeStatusReceiver` protocol to receive challenge status notifications at the end of the challenge process. + @see `STDSTransaction.doChallenge` + */ +@protocol STDSChallengeStatusReceiver + +/** + Called when the challenge process is completed. + + @param completionEvent Information about the completion of the challenge process. @see `STDSCompletionEvent` + */ +- (void)transaction:(STDSTransaction *)transaction didCompleteChallengeWithCompletionEvent:(STDSCompletionEvent *)completionEvent; + +/** + Called when the user selects the option to cancel the transaction on the challenge screen. + */ +- (void)transactionDidCancel:(STDSTransaction *)transaction; + +/** + Called when the challenge process reaches or exceeds the timeout interval that was passed to `STDSTransaction.doChallenge` + */ +- (void)transactionDidTimeOut:(STDSTransaction *)transaction; + +/** + Called when the 3DS SDK receives an EMV 3-D Secure protocol-defined error message from the ACS. + + @param protocolErrorEvent The error code and details. @see `STDSProtocolErrorEvent` + */ +- (void)transaction:(STDSTransaction *)transaction didErrorWithProtocolErrorEvent:(STDSProtocolErrorEvent *)protocolErrorEvent; + +/** + Called when the 3DS SDK encounters errors during the challenge process. These errors include all errors except those covered by `didErrorWithProtocolErrorEvent`. + + @param runtimeErrorEvent The error code and details. @see `STDSRuntimeErrorEvent` + */ +- (void)transaction:(STDSTransaction *)transaction didErrorWithRuntimeErrorEvent:(STDSRuntimeErrorEvent *)runtimeErrorEvent; + +@optional + +/** + Optional method that will be called when the transaction displays a new challenge screen. + */ +- (void)transactionDidPresentChallengeScreen:(STDSTransaction *)transaction; + +/** + Optional method for custom dismissal of the challenge view controller. Meant only for internal use by Stripe SDK. + */ +- (void)dismissChallengeViewController:(UIViewController *)challengeViewController forTransaction:(STDSTransaction *)transaction; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSCompletionEvent.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSCompletionEvent.h new file mode 100644 index 0000000..851c71d --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSCompletionEvent.h @@ -0,0 +1,40 @@ +// +// STDSCompletionEvent.h +// Stripe3DS2 +// +// Created by Yuki Tokuhiro on 3/20/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + `STDSCompletionEvent` contains information about completion of the challenge process. + */ +@interface STDSCompletionEvent : NSObject + +/** + Designated initializer for `STDSCompletionEvent`. + */ +- (instancetype)initWithSDKTransactionIdentifier:(NSString *)identifier transactionStatus:(NSString *)transactionStatus NS_DESIGNATED_INITIALIZER; + +/** + `STDSCompletionEvent` should not be directly initialized. + */ +- (instancetype)init NS_UNAVAILABLE; + +/** + The SDK Transaction ID. + */ +@property (nonatomic, readonly) NSString *sdkTransactionIdentifier; + +/** + The transaction status that was received in the final challenge response. + */ +@property (nonatomic, readonly) NSString *transactionStatus; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSConfigParameters.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSConfigParameters.h new file mode 100644 index 0000000..4d77ba5 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSConfigParameters.h @@ -0,0 +1,96 @@ +// +// STDSConfigParameters.h +// Stripe3DS2 +// +// Created by Cameron Sabol on 1/22/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + The default group name that will be used to group additional + configuration parameters. + */ +extern NSString * const kSTDSConfigDefaultGroupName; + +/** + `STDSConfigParameters` represents additional configuration parameters + that can be passed to the Stripe3DS2 SDK during initialization. + + There are currently no supported additional parameters and apps can + just pass `[STDSConfigParameters alloc] initWithStandardParameters` + to the `STDSThreeDS2Service` instance. + */ +@interface STDSConfigParameters : NSObject + +/** + Convenience initializer to get an `STDSConfigParameters` instance + with the default expected configuration parameters. + */ +- (instancetype)initWithStandardParameters; + +/** + Adds the parameter to this instance. + + @param paramName The name of the parameter to add + @param paramValue The value of the parameter to add + @param paramGroup The group to which this parameter will be added. If `nil` the parameter will be added to `kSTDSConfigDefaultGroupName` + + @exception STDSInvalidInputException Will throw an `STDSInvalidInputException` if `paramName` or `paramValue` are `nil`. @see STDSInvalidInputException + */ +- (void)addParameterNamed:(NSString *)paramName withValue:(NSString *)paramValue toGroup:(nullable NSString *)paramGroup; + +/** + Adds the parameter to the default group in this instance. + + @param paramName The name of the parameter to add + @param paramValue The value of the parameter to add + + @exception STDSInvalidInputException Will throw an `STDSInvalidInputException` if `paramName` or `paramValue` are `nil`. @see STDSInvalidInputException + */ +- (void)addParameterNamed:(NSString *)paramName withValue:(NSString *)paramValue; + +/** + Returns the value for `paramName` in `paramGroup` or `nil` if the parameter value is not set. + + @param paramName The name of the parameter to return + @param paramGroup The group from which to fetch the parameter value. If `nil` will default to `kSTDSConfigDefaultGroupName` + + @exception STDSInvalidInputException Will throw an `STDSInvalidInputException` if `paramName` is `nil`. @see STDSInvalidInputException + */ +- (nullable NSString *)parameterValue:(NSString *)paramName inGroup:(nullable NSString *)paramGroup; + +/** + Returns the value for `paramName` in the default group or `nil` if the parameter value is not set. + + @param paramName The name of the parameter to return + + @exception STDSInvalidInputException Will throw an `STDSInvalidInputException` if `paramName` is `nil`. @see STDSInvalidInputException + */ +- (nullable NSString *)parameterValue:(NSString *)paramName; + +/** + Removes the specified parameter from the group and returns the value or `nil` if the parameter was not found. + + @param paramName The name of the parameter to remove + @param paramGroup The group from which to remove this parameter. If `nil` will default to `kSTDSConfigDefaultGroupName` + + @exception STDSInvalidInputException Will throw an `STDSInvalidInputException` if `paramName` is `nil`. @see STDSInvalidInputException + */ +- (nullable NSString *)removeParameterNamed:(NSString *)paramName fromGroup:(nullable NSString *)paramGroup; + +/** + Removes the specified parameter from the default group and returns the value or `nil` if the parameter was not found. + + @param paramName The name of the parameter to remove + + @exception STDSInvalidInputException Will throw an `STDSInvalidInputException` if `paramName` is `nil`. @see STDSInvalidInputException + */ +- (nullable NSString *)removeParameterNamed:(NSString *)paramName; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSCustomization.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSCustomization.h new file mode 100644 index 0000000..516eff9 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSCustomization.h @@ -0,0 +1,25 @@ +// +// STDSCustomization.h +// Stripe3DS2 +// +// Created by Andrew Harrison on 3/14/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +/// This class provides a common set of customization parameters, used to customize elements of the UI. +@interface STDSCustomization : NSObject + +/// The font to use for text. +@property (nonatomic, nullable) UIFont *font; + +/// The color to use for the text. +@property (nonatomic, nullable) UIColor *textColor; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSErrorMessage.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSErrorMessage.h new file mode 100644 index 0000000..29c6c5a --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSErrorMessage.h @@ -0,0 +1,103 @@ +// +// STDSErrorMessage.h +// Stripe3DS2 +// +// Created by Yuki Tokuhiro on 3/21/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +#import "STDSJSONEncodable.h" +#import "STDSJSONDecodable.h" + +NS_ASSUME_NONNULL_BEGIN + +/// Error codes as defined by the 3DS2 spec. +typedef NS_ENUM(NSInteger, STDSErrorMessageCode) { + /// The SDK received a message that is not an ARes, CRes, or ErrorMessage. + STDSErrorMessageCodeInvalidMessage = 101, + + /// A required data element is missing from the network response. + STDSErrorMessageCodeRequiredDataElementMissing = 201, + + // Critical message extension not recognised + STDSErrorMessageCodeUnrecognizedCriticalMessageExtension = 202, + + /// A data element is not in the required format or the value is invalid. + STDSErrorMessageErrorInvalidDataElement = 203, + + // Transaction ID not recognized + STDSErrorMessageErrorTransactionIDNotRecognized = 301, + + /// A network response could not be decrypted or verified. + STDSErrorMessageErrorDataDecryptionFailure = 302, + + /// The SDK timed out + STDSErrorMessageErrorTimeout = 402, +}; + +/** + `STDSErrorMessage` represents an error message that is returned by the ACS or to be sent to the ACS. + */ +@interface STDSErrorMessage : NSObject + +/** + Designated initializer for `STDSErrorMessage`. + + @param errorCode The error code. + @param errorComponent The component that identified the error. + @param errorDescription Text describing the error. + @param errorDetails Additional error details. Optional. + */ +- (instancetype)initWithErrorCode:(NSString *)errorCode + errorComponent:(NSString *)errorComponent + errorDescription:(NSString *)errorDescription + errorDetails:(nullable NSString *)errorDetails + messageVersion:(NSString *)messageVersion + acsTransactionIdentifier:(nullable NSString *)acsTransactionIdentifier + errorMessageType:(NSString *)errorMessageType; + +/** + The error code. + */ +@property (nonatomic, readonly) NSString *errorCode; + +/** + The 3-D Secure component that identified the error. + */ +@property (nonatomic, readonly) NSString *errorComponent; + +/** + Text describing the error. + */ +@property (nonatomic, readonly) NSString *errorDescription; + +/** + Additional error details. + */ +@property (nonatomic, nullable, readonly) NSString *errorDetails; + +/** + The protocol version identifier. + */ +@property (nonatomic, readonly) NSString *messageVersion; + +/** + The ACS transaction identifier. + */ +@property (nonatomic, readonly, nullable) NSString *acsTransactionIdentifier; + +/** + The message type that was identified as erroneous. + */ +@property (nonatomic, readonly, nullable) NSString *errorMessageType; + +/** + A representation of the `STDSErrorMessage` as an `NSError` + */ +- (NSError *)NSErrorValue; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSException.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSException.h new file mode 100644 index 0000000..1f2c5ec --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSException.h @@ -0,0 +1,25 @@ +// +// STDSException.h +// Stripe3DS2 +// +// Created by Cameron Sabol on 1/22/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + An abstract class to represent 3DS2 SDK custom exceptions + */ +@interface STDSException : NSException + +/** + A description of the exception. + */ +@property (nonatomic, readonly) NSString *message; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSFooterCustomization.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSFooterCustomization.h new file mode 100644 index 0000000..990ffd9 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSFooterCustomization.h @@ -0,0 +1,41 @@ +// +// STDSFooterCustomization.h +// Stripe3DS2 +// +// Created by Yuki Tokuhiro on 6/10/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +#import "STDSCustomization.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + The Challenge view displays a footer with additional details that + expand when tapped. This object configures the appearance of that view. +*/ +@interface STDSFooterCustomization : STDSCustomization + +/// The default settings. ++ (instancetype)defaultSettings; + +/** + The background color of the footer. + Defaults to gray. + */ +@property (nonatomic) UIColor *backgroundColor; + +/// The color of the chevron. Defaults to a dark gray. +@property (nonatomic) UIColor *chevronColor; + +/// The color of the heading text. Defaults to black. +@property (nonatomic) UIColor *headingTextColor; + +/// The font to use for the heading text. +@property (nonatomic) UIFont *headingFont; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSInvalidInputException.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSInvalidInputException.h new file mode 100644 index 0000000..b30d4e1 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSInvalidInputException.h @@ -0,0 +1,21 @@ +// +// STDSInvalidInputException.h +// Stripe3DS2 +// +// Created by Cameron Sabol on 1/22/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import "STDSException.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + `STDSInvalidInputException` represents an exception that will be thrown by + Stripe3DS2 SDK methods that are called with invalid input arguments. + */ +@interface STDSInvalidInputException : STDSException + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSJSONDecodable.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSJSONDecodable.h new file mode 100644 index 0000000..f93428a --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSJSONDecodable.h @@ -0,0 +1,33 @@ +// +// STDSJSONDecodable.h +// Stripe3DS2 +// +// Created by Yuki Tokuhiro on 3/27/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol STDSJSONDecodable + +/** + Initializes an instance of the class from its JSON representation. + + This method recognizes two categories of errors: + - a required field is missing. + - a required field value is in valid (e.g. expected 'Y' or 'N' but received 'X'). + + Errors populating optional fields are ignored. + + @param json The JSON dictionary that represents an object of this type + @param outError If there was a missing required field or invalid field value, contains an instance of NSError. + + @return The object represented by the JSON dictionary. If the object could not be decoded, returns nil and populates the outError argument. + */ ++ (nullable instancetype)decodedObjectFromJSON:(nullable NSDictionary *)json error:(NSError **)outError; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSJSONEncodable.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSJSONEncodable.h new file mode 100644 index 0000000..9861a23 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSJSONEncodable.h @@ -0,0 +1,22 @@ +// +// STDSJSONEncodable.h +// Stripe3DS2 +// +// Created by Yuki Tokuhiro on 3/25/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol STDSJSONEncodable + +/** + Returns a map of property names to their JSON representation's key value. For example, `STDSChallengeParameters` has a property called `acsTransactionID`, but the 3DS2 JSON spec expects a field called `acsTransID`. This dictionary represents a mapping from the former to the latter (in other words, [STDSChallengeParameters propertyNamesToJSONKeysMapping][@"acsTransactionID"] == @"acsTransID".) + */ ++ (NSDictionary *)propertyNamesToJSONKeysMapping; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSJSONEncoder.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSJSONEncoder.h new file mode 100644 index 0000000..7ccc07e --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSJSONEncoder.h @@ -0,0 +1,27 @@ +// +// STDSJSONEncoder.h +// Stripe3DS2 +// +// Created by Yuki Tokuhiro on 3/25/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +#import "STDSJSONEncodable.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + `STDSJSONEncoder` is a utility class to help with converting API objects into JSON + */ +@interface STDSJSONEncoder : NSObject + +/** + Method to convert an STDSJSONEncodable object into a JSON dictionary. + */ ++ (NSDictionary *)dictionaryForObject:(NSObject *)object; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSLabelCustomization.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSLabelCustomization.h new file mode 100644 index 0000000..af75cf3 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSLabelCustomization.h @@ -0,0 +1,31 @@ +// +// STDSLabelCustomization.h +// Stripe3DS2 +// +// Created by Andrew Harrison on 3/14/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import "STDSCustomization.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + A customization object to use to configure the UI of a text label. + + The font and textColor inherited from `STDSCustomization` configure non-heading labels. + */ +@interface STDSLabelCustomization : STDSCustomization + +/// The default settings. ++ (instancetype)defaultSettings; + +/// The color of the heading text. Defaults to black. +@property (nonatomic) UIColor *headingTextColor; + +/// The font to use for the heading text. +@property (nonatomic) UIFont *headingFont; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSNavigationBarCustomization.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSNavigationBarCustomization.h new file mode 100644 index 0000000..18affaa --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSNavigationBarCustomization.h @@ -0,0 +1,59 @@ +// +// STDSNavigationBarCustomization.h +// Stripe3DS2 +// +// Created by Andrew Harrison on 3/14/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import +#import + +#import "STDSCustomization.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + A customization object to use to configure a UINavigationBar. + + The font and textColor inherited from `STDSCustomization` configure the + title of the navigation bar, and default to nil. + */ +@interface STDSNavigationBarCustomization : STDSCustomization + +/// The default settings. ++ (instancetype)defaultSettings; + +/** + The tint color of the navigation bar background. + Defaults to nil. + */ +@property (nonatomic, nullable) UIColor *barTintColor; + +/** + The navigation bar style. + Defaults to UIBarStyleDefault. + */ +@property (nonatomic) UIBarStyle barStyle; + +/** + A Boolean value indicating whether the navigation bar is translucent or not. + Defaults to YES. + */ +@property (nonatomic) BOOL translucent; + +/** + The text to display in the title of the navigation bar. + Defaults to "Secure checkout". + */ +@property (nonatomic, copy) NSString *headerText; + +/** + The text to display for the button in the navigation bar. + Defaults to "Cancel". + */ +@property (nonatomic, copy) NSString *buttonText; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSNotInitializedException.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSNotInitializedException.h new file mode 100644 index 0000000..cb836d5 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSNotInitializedException.h @@ -0,0 +1,23 @@ +// +// STDSNotInitializedException.h +// Stripe3DS2 +// +// Created by Cameron Sabol on 2/13/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import "STDSException.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + `STDSNotInitializedException` represents an exception that will be thrown by + the the Stripe3DS2 SDK if methods are called without initializing `STDSThreeDS2Service`. + + @see STDSThreeDS2Service + */ +@interface STDSNotInitializedException : STDSException + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSProtocolErrorEvent.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSProtocolErrorEvent.h new file mode 100644 index 0000000..1e3142a --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSProtocolErrorEvent.h @@ -0,0 +1,42 @@ +// +// STDSProtocolErrorEvent.h +// Stripe3DS2 +// +// Created by Yuki Tokuhiro on 3/20/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +@class STDSErrorMessage; + +NS_ASSUME_NONNULL_BEGIN + +/** + `STDSProtocolErrorEvent` contains details about erorrs received from or sent to the ACS. + */ +@interface STDSProtocolErrorEvent : NSObject + +/** + Designated initializer for `STDSProtocolErrorEvent`. + */ +- (instancetype)initWithSDKTransactionIdentifier:(NSString *)identifier errorMessage:(STDSErrorMessage *)errorMessage; + +/** + `STDSProtocolErrorEvent` should not be directly initialized. + */ +- (instancetype)init NS_UNAVAILABLE; + +/** + Details about the error. + */ +@property (nonatomic, readonly) STDSErrorMessage *errorMessage; + +/** + The SDK Transaction Identifier. + */ +@property (nonatomic, readonly) NSString *sdkTransactionIdentifier; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSRuntimeErrorEvent.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSRuntimeErrorEvent.h new file mode 100644 index 0000000..658cdb9 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSRuntimeErrorEvent.h @@ -0,0 +1,53 @@ +// +// STDSRuntimeErrorEvent.h +// Stripe3DS2 +// +// Created by Yuki Tokuhiro on 3/20/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +FOUNDATION_EXTERN NSString * const kSTDSRuntimeErrorCodeParsingError; +FOUNDATION_EXTERN NSString * const kSTDSRuntimeErrorCodeEncryptionError; + +/** + `STDSRuntimeErrorEvent` contains details about run-time errors encountered during authentication. + + The following are examples of run-time errors: + - ACS is unreachable + - Unparseable message + - Network issues + */ +@interface STDSRuntimeErrorEvent : NSObject + +/** + A code corresponding to the type of error this represents. + */ +@property (nonatomic, readonly) NSString *errorCode; + +/** + Details about the error. + */ +@property (nonatomic, readonly) NSString *errorMessage; + +/** + Designated initializer for `STDSRuntimeErrorEvent`. + */ +- (instancetype)initWithErrorCode:(NSString *)errorCode errorMessage:(NSString *)errorMessage NS_DESIGNATED_INITIALIZER; + +/** + A representation of the `STDSRuntimeErrorEvent` as an `NSError` + */ +- (NSError *)NSErrorValue; + +/** + `STDSRuntimeErrorEvent` should not be directly initialized. + */ +- (instancetype)init NS_UNAVAILABLE; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSRuntimeException.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSRuntimeException.h new file mode 100644 index 0000000..5b63a2d --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSRuntimeException.h @@ -0,0 +1,21 @@ +// +// STDSRuntimeException.h +// Stripe3DS2 +// +// Created by Cameron Sabol on 1/22/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import "STDSException.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + `STDSRuntimeException` represents an exception that will be thrown by the + Stripe3DS2 SDK if it encounters an internal error. + */ +@interface STDSRuntimeException : STDSException + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSSelectionCustomization.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSSelectionCustomization.h new file mode 100644 index 0000000..a9818bb --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSSelectionCustomization.h @@ -0,0 +1,48 @@ +// +// STDSSelectionCustomization.h +// Stripe3DS2 +// +// Created by Yuki Tokuhiro on 6/11/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + A customization object that configures the appearance of + radio buttons and checkboxes. + */ +@interface STDSSelectionCustomization: NSObject + +/// The default settings. ++ (instancetype)defaultSettings; + +/** + The primary color of the selected state. + Defaults to blue. + */ +@property (nonatomic) UIColor *primarySelectedColor; + +/** + The secondary color of the selected state (e.g. the checkmark color). + Defaults to white. + */ +@property (nonatomic) UIColor *secondarySelectedColor; + +/** + The background color displayed in the unselected state. + Defaults to light blue. + */ +@property (nonatomic) UIColor *unselectedBackgroundColor; + +/** + The color of the border drawn around the view in the unselected state. + Defaults to blue. + */ +@property (nonatomic) UIColor *unselectedBorderColor; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSStripe3DS2Error.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSStripe3DS2Error.h new file mode 100644 index 0000000..2e506fe --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSStripe3DS2Error.h @@ -0,0 +1,68 @@ +// +// STDSStripe3DS2Error.h +// Stripe3DS2 +// +// Created by Yuki Tokuhiro on 3/27/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +FOUNDATION_EXPORT NSString * const STDSStripe3DS2ErrorDomain; + +/** + NSError.userInfo contains this key if we received an ErrorMessage instead of the expected response object. + The value of this key is the ErrorMessage. + */ +FOUNDATION_EXPORT NSString * const STDSStripe3DS2ErrorMessageErrorKey; + +/** + NSError.userInfo contains this key if we errored parsing JSON. + The value of this key is the invalid or missing field. + */ +FOUNDATION_EXPORT NSString * const STDSStripe3DS2ErrorFieldKey; + +/** + NSError.userInfo contains this key if we couldn't recognize critical message extension(s) + The value of this key is an array of identifiers. + */ +FOUNDATION_EXPORT NSString * const STDSStripe3DS2UnrecognizedCriticalMessageExtensionsKey; + + +typedef NS_ENUM(NSInteger, STDSErrorCode) { + + /// Code triggered an assertion + STDSErrorCodeAssertionFailed = 204, + + // JSON Parsing + /// Received invalid or malformed data + STDSErrorCodeJSONFieldInvalid = 203, + /// Expected field missing + STDSErrorCodeJSONFieldMissing = 201, + + /// Critical message extension not recognised + STDSErrorCodeUnrecognizedCriticalMessageExtension = 202, + + /// Decryption or verification error + STDSErrorCodeDecryptionVerification = 302, + + /// Error code corresponding to a `STDSRuntimeErrorEvent` for an unparseable network response + STDSErrorCodeRuntimeParsing = 400, + /// Error code corresponding to a `STDSRuntimeErrorEvent` for an error with decrypting or verifying a network response + STDSErrorCodeRuntimeEncryption = 401, + + // Networking + /// We received an ErrorMessage instead of the expected response object. `userInfo[STDSStripe3DS2ErrorMessageErrorKey]` will contain the ErrorMessage object. + STDSErrorCodeReceivedErrorMessage = 1000, + /// We received an unknown message type. + STDSErrorCodeUnknownMessageType = 1001, + /// Request timed out + STDSErrorCodeTimeout = 1002, + + /// Unknown + STDSErrorCodeUnknownError = 2000, +}; + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSSwiftTryCatch.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSSwiftTryCatch.h new file mode 100644 index 0000000..4744336 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSSwiftTryCatch.h @@ -0,0 +1,50 @@ +// +// STDSSwiftTryCatch.h +// +// Created by William Falcon on 10/10/14. +// Copyright (c) 2014 William Falcon. All rights reserved. +// +/* + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + */ + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + Provides try catch functionality for swift by wrapping around Objective-C + */ +@interface STDSSwiftTryCatch : NSObject + +/** + Provides try catch functionality for swift by wrapping around Objective-C + */ ++ (void)tryBlock:(void(^)(void))tryBlock catchBlock:(void(^)(NSException*exception))catchBlock finallyBlock:(void(^)(void))finallyBlock; +/** + Throws Objective-C exception with name and reason set to `s` + */ ++ (void)throwString:(NSString*)s; + +/** + Throws exception `e` + */ ++ (void)throwException:(NSException*)e; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSTextFieldCustomization.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSTextFieldCustomization.h new file mode 100644 index 0000000..6f2bfed --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSTextFieldCustomization.h @@ -0,0 +1,47 @@ +// +// STDSTextFieldCustomization.h +// Stripe3DS2 +// +// Created by Andrew Harrison on 3/14/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +#import "STDSCustomization.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + A customization object to use to configure the UI of a text field. + + The font and textColor inherited from `STDSCustomization` configure + the user input text. + */ +@interface STDSTextFieldCustomization : STDSCustomization + +/** + The default settings. + + The default textColor is black. + */ ++ (instancetype)defaultSettings; + +/// The border width of the text field. Defaults to 2. +@property (nonatomic) CGFloat borderWidth; + +/// The color of the border of the text field. Defaults to clear. +@property (nonatomic) UIColor *borderColor; + +/// The corner radius of the edges of the text field. Defaults to 8. +@property (nonatomic) CGFloat cornerRadius; + +/// The appearance of the keyboard. Defaults to UIKeyboardAppearanceDefault. +@property (nonatomic) UIKeyboardAppearance keyboardAppearance; + +/// The color of the placeholder text. Defaults to light gray. +@property (nonatomic) UIColor *placeholderTextColor; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSThreeDS2Service.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSThreeDS2Service.h new file mode 100644 index 0000000..c0baa55 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSThreeDS2Service.h @@ -0,0 +1,84 @@ +// +// STDSThreeDS2Service.h +// Stripe3DS2 +// +// Created by Cameron Sabol on 1/22/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +@class STDSConfigParameters; +@class STDSTransaction; +@class STDSUICustomization; +@class STDSWarning; + +NS_ASSUME_NONNULL_BEGIN + +/** + `STDSThreeDS2Service` is the main 3DS SDK interface and provides methods to process transactions. + */ +@interface STDSThreeDS2Service : NSObject + +/** + A list of warnings that may be populated once the SDK has been initialized. + */ +@property (nonatomic, readonly, nullable) NSArray *warnings; + +/** + Initializes the 3DS SDK instance. + + This method should be called at the start of the payment stage of a transaction. + **Note: Until the `STDSThreeDS2Service instance is initialized, it will be unusable.** + + - Performs security checks + - Collects device information + + @param config Configuration information that will be used during initialization. @see STDSConfigParameters + @param locale Optional override for the locale to use in UI. If `nil`, will default to the current system locale. + @param uiSettings Optional custom UI settings. If `nil`, will default to `[STDSUICustomization defaultSettings]`. + This argument is copied; any further changes to the customization object have no effect. @see STDSUICustomization + + @exception STDSInvalidInputException Will throw an `STDSInvalidInputException` if `config` is `nil` or any of `config`, `locale`, or `uiSettings` are invalid. @see STDSInvalidInputException + @exception STDSAlreadyInitializedException Will throw an `STDSAlreadyInitializedException` if the 3DS SDK instance has already been initialized. @see STDSSDKAlreadyInitializedException + @exception STDSRuntimeException Will throw an `STDSRuntimeException` if there is an internal error in the SDK. @see STDSRuntimeException + */ +- (void)initializeWithConfig:(STDSConfigParameters *)config + locale:(nullable NSLocale *)locale + uiSettings:(nullable STDSUICustomization *)uiSettings; + +/** + Creates and returns an instance of `STDSTransaction`. + + @param directoryServerID The Directory Server identifier returned in the authentication response + @param protocolVersion 3DS protocol version according to which the transaction will be created. Uses the default value of 2.1.0 if nil + + @exception STDSNotInitializedException Will throw an `STDSNotInitializedException` if the the `STDSThreeDS2Service` instance hasn't been initialized with a call to `initializeWithConfig:locale:uiSettings:`. @see STDSNotInitializedException + @exception STDSInvalidInputException Will throw an `STDSInvalidInputException` if `directoryServerID` is not recognized or if the `protocolVersion` is not supported by this version of the SDK. @see STDSInvalidInputException + @exception STDSRuntimeException Will throw an `STDSRuntimeException` if there is an internal error in the SDK. @see STDSRuntimeException + */ +- (STDSTransaction *)createTransactionForDirectoryServer:(NSString *)directoryServerID + withProtocolVersion:(nullable NSString *)protocolVersion; + +/** + Creates and returns an instance of `STDSTransaction` using a custom directory server certificate. + Will return nil if unable to create a certificate from the provided params. + + @param directoryServerID The Directory Server identifier returned in the authentication response + @param serverKeyID An additional authentication key used by some Directory Servers + @param certificateString A Base64-encoded PEM or DER formatted certificate string containing the directory server's public key + @param rootCertificateStrings An arry of base64-encoded PEM or DER formatted certificate strings containing the DS root certificate used for signature checks + @param protocolVersion 3DS protocol version according to which the transaction will be created. Uses the default value of 2.1.0 if nil + + @exception STDSNotInitializedException Will throw an `STDSNotInitializedException` if the the `STDSThreeDS2Service` instance hasn't been initialized with a call to `initializeWithConfig:locale:uiSettings:`. @see STDSNotInitializedException + @exception STDSInvalidInputException Will throw an `STDSInvalidInputException` if the `protocolVersion` is not supported by this version of the SDK. @see STDSInvalidInputException + */ +- (nullable STDSTransaction *)createTransactionForDirectoryServer:(NSString *)directoryServerID + serverKeyID:(nullable NSString *)serverKeyID + certificateString:(NSString *)certificateString + rootCertificateStrings:(NSArray *)rootCertificateStrings + withProtocolVersion:(nullable NSString *)protocolVersion; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSThreeDSProtocolVersion.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSThreeDSProtocolVersion.h new file mode 100644 index 0000000..b4161a6 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSThreeDSProtocolVersion.h @@ -0,0 +1,15 @@ +// +// STDSThreeDSProtocolVersion.h +// Stripe3DS2 +// +// Created by Cameron Sabol on 6/27/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +FOUNDATION_EXPORT NSString * const Stripe3DS2ProtocolVersion; + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSTransaction.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSTransaction.h new file mode 100644 index 0000000..02a1f1a --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSTransaction.h @@ -0,0 +1,94 @@ +// +// STDSTransaction.h +// Stripe3DS2 +// +// Created by Yuki Tokuhiro on 3/21/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import +#import + +typedef void (^STDSTransactionVoidBlock)(void); + +@class STDSAuthenticationRequestParameters, STDSChallengeParameters; +@protocol STDSChallengeStatusReceiver; + +NS_ASSUME_NONNULL_BEGIN + +/** + `STDSTransaction` holds parameters that the 3DS Server requires to create AReq messages and to perform the Challenge Flow. + */ +@interface STDSTransaction : NSObject + +/** + The UI type of the presented challenge for this transaction if applicable. Will be one of + "none" + "text" + "single_select" + "multi_select" + "oob" + "html" + */ +@property (nonatomic, readonly, copy) NSString *presentedChallengeUIType; + +/** + Encrypts device information collected during initialization and returns it along with SDK details. + + @return Encrypted device information and details about this SDK. @see STDSAuthenticationRequestParameters + + @exception SDKRuntimeException Thrown if an internal error is encountered. + */ +- (STDSAuthenticationRequestParameters *)createAuthenticationRequestParameters; + +/** + Returns a UIViewController instance displaying the Directory Server logo and a spinner. Present this during the Authentication Request/Response. + */ +- (UIViewController *)createProgressViewControllerWithDidCancel:(STDSTransactionVoidBlock)didCancel; + +/** + Initiates the challenge process, displaying challenge UI as needed. + + @param presentingViewController The UIViewController used to present the challenge response UIViewController + @param challengeParameters Details required to conduct the challenge process. @see STDSChallengeParameters + @param challengeStatusReceiver A callback object to receive the status of the challenge. See @STDSChallengeStatusReceiver + @param timeout An interval in seconds within which the challenge process will finish. Must be at least 5 minutes. + + @exception STDSInvalidInputException Thrown if an argument is invalid (e.g. timeout less than 5 minutes). @see STDSInvalidInputException + @exception STDSSDKRuntimeException Thrown if an internal error is encountered, and if you call this method after calling `close`. @see SDKRuntimeException + + @note challengeStatusReceiver must conform to . This is a workaround: When the static Stripe3DS2 is compiled into Stripe.framework, the resulting swiftinterface and generated .h files reference this protocol. To allow users to build without including Stripe3DS2 directly, we'll take an `id` here instead. + */ +- (void)doChallengeWithViewController:(UIViewController *)presentingViewController + challengeParameters:(STDSChallengeParameters *)challengeParameters + challengeStatusReceiver:(id)challengeStatusReceiver + timeout:(NSTimeInterval)timeout; + +/** + Returns the version of the Stripe3DS2 SDK, e.g. @"1.0" + */ +- (NSString *)sdkVersion; + +/** +Cleans up resources held by `STDSTransaction`. Call this when the transaction is completed, if `doChallengeWithChallengeParameters:challengeStatusReceiver:timeout` is not called. + + @note Don't use this object after calling this method. Calling `doChallengeWithViewController:challengeParameters:challengeStatusReceiver:timeout` after calling this method will throw an `STDSSDKRuntimeException` + */ +- (void)close; + +/** + Alternate challenge initiation method meant only for internal use by Stripe SDK. + */ +- (void)doChallengeWithChallengeParameters:(STDSChallengeParameters *)challengeParameters + challengeStatusReceiver:(id)challengeStatusReceiver + timeout:(NSTimeInterval)timeout + presentationBlock:(void (^)(UIViewController *, void(^)(void)))presentationBlock; + +/** + Function to manually cancel the challenge flow. + */ +- (void)cancelChallengeFlow; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSUICustomization.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSUICustomization.h new file mode 100644 index 0000000..651b22f --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSUICustomization.h @@ -0,0 +1,109 @@ +// +// STDSUICustomization.h +// Stripe3DS2 +// +// Created by Andrew Harrison on 3/14/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import +#import "STDSCustomization.h" +#import "STDSButtonCustomization.h" +#import "STDSNavigationBarCustomization.h" +#import "STDSLabelCustomization.h" +#import "STDSTextFieldCustomization.h" +#import "STDSFooterCustomization.h" +#import "STDSSelectionCustomization.h" + +NS_ASSUME_NONNULL_BEGIN + +/** + The `STDSUICustomization` provides configuration for UI elements. + + It's important to configure this object appropriately before using it to initialize a + `STDSThreeDS2Service` object. `STDSThreeDS2Service` makes a copy of the customization + settings you provide; it ignores any subsequent changes you make to your `STDSUICustomization` instance. +*/ +@interface STDSUICustomization: NSObject + +/// The default settings. See individual properties for their default values. ++ (instancetype)defaultSettings; + +/** + Provides custom settings for the UINavigationBar of all UIViewControllers the SDK display. + The default is `[STDSNavigationBarCustomization defaultSettings]`. + */ +@property (nonatomic) STDSNavigationBarCustomization *navigationBarCustomization; + +/** + Provides custom settings for labels. + The default is `[STDSLabelCustomization defaultSettings]`. + */ +@property (nonatomic) STDSLabelCustomization *labelCustomization; + +/** + Provides custom settings for text fields. + The default is `[STDSTextFieldCustomization defaultSettings]`. + */ +@property (nonatomic) STDSTextFieldCustomization *textFieldCustomization; + +/** + The primary background color of all UIViewControllers the SDK display. + Defaults to white. + */ +@property (nonatomic) UIColor *backgroundColor; + +/** + The Challenge view displays a footer with additional details. This controls the background color of that view. + Defaults to gray. + */ +@property (nonatomic) STDSFooterCustomization *footerCustomization; + +/** + Sets a given button customization for the specified type. + + @param buttonCustomization The buttom customization to use. + @param buttonType The type of button to use the customization for. + */ +- (void)setButtonCustomization:(STDSButtonCustomization *)buttonCustomization forType:(STDSUICustomizationButtonType)buttonType; + +/** + Retrieves a button customization object for the given button type. + + @param buttonType The button type to retrieve a customization object for. + @return A button customization object, or the default if none was set. + @see STDSButtonCustomization + */ +- (STDSButtonCustomization *)buttonCustomizationForButtonType:(STDSUICustomizationButtonType)buttonType; + +/** + Provides custom settings for radio buttons and checkboxes. + The default is `[STDSSelectionCustomization defaultSettings]`. + */ +@property (nonatomic) STDSSelectionCustomization *selectionCustomization; + + +/** + The preferred status bar style for all UIViewControllers the SDK display. + Defaults to UIStatusBarStyleDefault. + */ +@property (nonatomic) UIStatusBarStyle preferredStatusBarStyle; + +#pragma mark - Progress View + +/** + The style of UIActivityIndicatorViews displayed. + This should contrast with `backgroundColor`. Defaults to regular on iOS 13+, + gray on iOS 10-12. + */ +@property (nonatomic) UIActivityIndicatorViewStyle activityIndicatorViewStyle; + +/** + The style of the UIBlurEffect displayed underneath the UIActivityIndicatorView. + Defaults to UIBlurEffectStyleDefault. + */ +@property (nonatomic) UIBlurEffectStyle blurStyle; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSWarning.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSWarning.h new file mode 100644 index 0000000..5f09fe7 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/STDSWarning.h @@ -0,0 +1,69 @@ +// +// STDSWarning.h +// Stripe3DS2 +// +// Created by Cameron Sabol on 2/12/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +/** + The `STDSWarningSeverity` enum defines the severity levels of warnings generated + during SDK initialization. @see STDSThreeDS2Service + */ +typedef NS_ENUM(NSInteger, STDSWarningSeverity) { + /** + Low severity + */ + STDSWarningSeverityLow = 0, + + /** + Medium severity + */ + STDSWarningSeverityMedium, + + /** + High severity + */ + STDSWarningSeverityHigh, +}; + +/** + The `STDSWarning` class represents warnings generated by `STDSThreeDS2Service` during + security checks run during initialization. @see STDSThreeDS2Service + */ +@interface STDSWarning : NSObject + +/** + Designated initializer for `STDSWarning`. + */ +- (instancetype)initWithIdentifier:(NSString *)identifier + message:(NSString *)message + severity:(STDSWarningSeverity)severity NS_DESIGNATED_INITIALIZER; + +/** + `STDSWarning` should not be directly initialized. + */ +- (instancetype)init NS_UNAVAILABLE; + +/** + The identifier for this warning instance. + */ +@property (nonatomic, readonly) NSString *identifier; + +/** + The descriptive message for this warning. + */ +@property (nonatomic, readonly) NSString *message; + +/** + The severity of this warning. + */ +@property (nonatomic, readonly) STDSWarningSeverity severity; + +@end + +NS_ASSUME_NONNULL_END diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/Stripe3DS2-Prefix.pch b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/Stripe3DS2-Prefix.pch new file mode 100644 index 0000000..888096f --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/Stripe3DS2-Prefix.pch @@ -0,0 +1,14 @@ +// +// Stripe3DS2-Prefix.pch +// Stripe3DS2 +// +// Created by Cameron Sabol on 4/16/20. +// Copyright © 2020 Stripe. All rights reserved. +// + +#ifndef Stripe3DS2_pch +#define Stripe3DS2_pch + +#import "STDSLocalizedString.h" + +#endif /* Stripe3DS2_pch */ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/Stripe3DS2.h b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/Stripe3DS2.h new file mode 100644 index 0000000..9e9f3eb --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Headers/Stripe3DS2.h @@ -0,0 +1,52 @@ +// +// Stripe3DS2.h +// Stripe3DS2 +// +// Created by Cameron Sabol on 1/16/19. +// Copyright © 2019 Stripe. All rights reserved. +// + +#import + +//! Project version number for Stripe3DS2. +FOUNDATION_EXPORT double Stripe3DS2VersionNumber; + +//! Project version string for Stripe3DS2. +FOUNDATION_EXPORT const unsigned char Stripe3DS2VersionString[]; + +#import "STDSConfigParameters.h" +#import "STDSThreeDS2Service.h" +#import "STDSUICustomization.h" +#import "STDSWarning.h" + +#import "STDSAlreadyInitializedException.h" +#import "STDSInvalidInputException.h" +#import "STDSNotInitializedException.h" +#import "STDSRuntimeException.h" + +#import "STDSErrorMessage.h" +#import "STDSProtocolErrorEvent.h" +#import "STDSRuntimeErrorEvent.h" +#import "STDSStripe3DS2Error.h" +#import "STDSThreeDSProtocolVersion.h" + +#import "STDSAuthenticationRequestParameters.h" +#import "STDSAuthenticationResponse.h" +#import "STDSChallengeParameters.h" +#import "STDSChallengeStatusReceiver.h" +#import "STDSCompletionEvent.h" +#import "STDSJSONDecodable.h" +#import "STDSJSONEncoder.h" +#import "STDSTransaction.h" + +#import "STDSButtonCustomization.h" +#import "STDSCustomization.h" +#import "STDSException.h" +#import "STDSFooterCustomization.h" +#import "STDSJSONEncodable.h" +#import "STDSLabelCustomization.h" +#import "STDSNavigationBarCustomization.h" +#import "STDSSelectionCustomization.h" +#import "STDSTextFieldCustomization.h" + +#import "STDSSwiftTryCatch.h" diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Info.plist b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Info.plist new file mode 100644 index 0000000..574de80 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Info.plist differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Modules/module.modulemap b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Modules/module.modulemap new file mode 100644 index 0000000..7770928 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Modules/module.modulemap @@ -0,0 +1,6 @@ +framework module Stripe3DS2 { + umbrella header "Stripe3DS2.h" + + export * + module * { export * } +} diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Stripe3DS2 b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Stripe3DS2 new file mode 100755 index 0000000..0b71bea Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/Stripe3DS2 differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/_CodeSignature/CodeResources b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000..27928f2 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/_CodeSignature/CodeResources @@ -0,0 +1,1408 @@ + + + + + files + + Chevron@3x.png + + vFAqK7D7kN+fRtphR6MN8CEim4I= + + Headers/STDSAlreadyInitializedException.h + + KFb71y1hI4w1R3xDhuELOgcQr5s= + + Headers/STDSAuthenticationRequestParameters.h + + 8EKDN3mKXlm2pwHA3AmIZTQK+oU= + + Headers/STDSAuthenticationResponse.h + + ezsikPYNZFfdB0NHtCGDS6rrIcw= + + Headers/STDSButtonCustomization.h + + chFDzTIM6k9WTvDQRwi0QEnj/wI= + + Headers/STDSChallengeParameters.h + + tLbEKNXogKOF9j8rN37cQHyRCEo= + + Headers/STDSChallengeStatusReceiver.h + + wYDkuS3z3PbumWIK6ONLSjHSy3k= + + Headers/STDSCompletionEvent.h + + U23BAc2xWhlC6YG5C63TVqmgRuI= + + Headers/STDSConfigParameters.h + + /KjQHYmVVJw+c8wauJdRn8PiVRc= + + Headers/STDSCustomization.h + + Ds7oUp+eFhlA8sIdXojACidPH4E= + + Headers/STDSErrorMessage.h + + JBFYmbiQNuyjbkpkHPMyGETkFN8= + + Headers/STDSException.h + + iL8FZLDaXYN+sS1fh54AEHueKFE= + + Headers/STDSFooterCustomization.h + + TG9KXPLtIIWQJ2tWUJBYXd/iupY= + + Headers/STDSInvalidInputException.h + + 5vwUeCFM5OHVhOwDmQ1T8mtYF/s= + + Headers/STDSJSONDecodable.h + + S8h4WRkJKhzqWLG70dHDqc4iOIM= + + Headers/STDSJSONEncodable.h + + iX8ahv9WlRO7rZvb77XQoBCz5xI= + + Headers/STDSJSONEncoder.h + + y5iLiVTGEGMFxpVU4K10YV++4VU= + + Headers/STDSLabelCustomization.h + + 5g1jJ0dk+M69QKYesSdDfzL/VnM= + + Headers/STDSNavigationBarCustomization.h + + NHI+fpX5+j15h5b73L5jupMSP0U= + + Headers/STDSNotInitializedException.h + + 85uczJCE3eRVQIMSD/ffMqYf2Ps= + + Headers/STDSProtocolErrorEvent.h + + bkUKK0rql/OWkuogrJIcDvDEJNM= + + Headers/STDSRuntimeErrorEvent.h + + fr5us8V+D8u8rs5Lu2zDUD7rkMI= + + Headers/STDSRuntimeException.h + + J6UNRQhRKMHAPUk9jiRtYChMHFQ= + + Headers/STDSSelectionCustomization.h + + fAEZSzVsoe1ip2DfzPQa1nySW70= + + Headers/STDSStripe3DS2Error.h + + f/v/+vT1+86AcyarYXzHafU0JpI= + + Headers/STDSSwiftTryCatch.h + + DBK2VZ6hn5/p48dHx/qMvhYo3dA= + + Headers/STDSTextFieldCustomization.h + + aYzQAfJLTWTZ3xcuA86zta2fKAw= + + Headers/STDSThreeDS2Service.h + + GX/yIi9v61s5ZPUw7sFK7yncoKU= + + Headers/STDSThreeDSProtocolVersion.h + + DO4BkY5YmzLwiu94D53onNLg7kY= + + Headers/STDSTransaction.h + + neU4WplEUWaWmjIC+/BXPBii1I0= + + Headers/STDSUICustomization.h + + OHJm7RtIca90bOuxB+3CmYWuhZI= + + Headers/STDSWarning.h + + UJBXLABnJS1Ihj/JAnQegK125SM= + + Headers/Stripe3DS2-Prefix.pch + + hngwCb2HwjQ1hkVOivIMr5mUQn0= + + Headers/Stripe3DS2.h + + uPM3wsEA5JxH+2A5C9C2hkmiJf8= + + Info.plist + + MhdbAHoycFfd1VTrzsH4hX+wkFs= + + Modules/module.modulemap + + nj6HQsvH8/WK5v/3KyQshReMNhg= + + acs_challenge.html + + I6DZGEiEoBJOloVUIiaTJHKEaVg= + + amex-logo@3x.png + + trpAxMEihifztJFBQOBsAH5btSA= + + amex.der + + snCYjO7JNBJQKkWyMlCA24k7eug= + + bg-BG.lproj/Localizable.strings + + hash + + NB6JTH0Z9bfgxuOHguVrUY9Ngzk= + + optional + + + ca-ES.lproj/Localizable.strings + + hash + + NB6JTH0Z9bfgxuOHguVrUY9Ngzk= + + optional + + + cartes-bancaires-logo.png + + KonsjtuxBUsShwb3+99tH2h1k/w= + + cartes-bancaires.der + + 32tLMpTd3md+3H3fHKj5jenRIkQ= + + cs-CZ.lproj/Localizable.strings + + hash + + NB6JTH0Z9bfgxuOHguVrUY9Ngzk= + + optional + + + da.lproj/Localizable.strings + + hash + + PiyoO9PDSXSDAwcLbykxQTi3s6g= + + optional + + + de.lproj/Localizable.strings + + hash + + shY1Ga9aoUrcV8bDiDfZ2A+Sx5A= + + optional + + + discover-logo.png + + cW4DC2hypCLQQaou+Ac5CC7GIRs= + + discover.der + + mtG1XxZunvggdgCwFOBv7DD7f/I= + + ec_test.der + + 8s8wt8N7EVfE8bg9XklcGBcWkL4= + + el-GR.lproj/Localizable.strings + + hash + + NB6JTH0Z9bfgxuOHguVrUY9Ngzk= + + optional + + + en-GB.lproj/Localizable.strings + + hash + + kUFl6HG0jxpEA/Cjyp0Q22hjoBY= + + optional + + + en.lproj/Localizable.strings + + hash + + NB6JTH0Z9bfgxuOHguVrUY9Ngzk= + + optional + + + error@3x.png + + 2wtVKPFwn0sBc2W7B4Us/l+B80I= + + es-419.lproj/Localizable.strings + + hash + + btRVd4/cJ8Om1essCg60ZRrtFCE= + + optional + + + es.lproj/Localizable.strings + + hash + + 8aCCiyQsGG/9jSPul31yOK6/6ds= + + optional + + + et-EE.lproj/Localizable.strings + + hash + + NB6JTH0Z9bfgxuOHguVrUY9Ngzk= + + optional + + + fi.lproj/Localizable.strings + + hash + + WSqKa0zhnaHO1Iz90kQcdVrqVs8= + + optional + + + fil.lproj/Localizable.strings + + hash + + NB6JTH0Z9bfgxuOHguVrUY9Ngzk= + + optional + + + fr-CA.lproj/Localizable.strings + + hash + + Z4ahYl69zTB1BMz1j1yoSbaEpVk= + + optional + + + fr.lproj/Localizable.strings + + hash + + qoQPmSCx6ZnCyTI3b91Vjz/40UY= + + optional + + + hr.lproj/Localizable.strings + + hash + + NB6JTH0Z9bfgxuOHguVrUY9Ngzk= + + optional + + + hu.lproj/Localizable.strings + + hash + + VgN/eSF1owBzG1PEyGx0JX8lX4I= + + optional + + + id.lproj/Localizable.strings + + hash + + NB6JTH0Z9bfgxuOHguVrUY9Ngzk= + + optional + + + it.lproj/Localizable.strings + + hash + + 4kpv10yLpplSV5hLfLhcMTmxMTo= + + optional + + + ja.lproj/Localizable.strings + + hash + + Tzit496+7v6blA6GoV2Euro2LeY= + + optional + + + ko.lproj/Localizable.strings + + hash + + 7L4FV8eCPEVx4Vez+YcutGUX/T4= + + optional + + + lt-LT.lproj/Localizable.strings + + hash + + NB6JTH0Z9bfgxuOHguVrUY9Ngzk= + + optional + + + lv-LV.lproj/Localizable.strings + + hash + + NB6JTH0Z9bfgxuOHguVrUY9Ngzk= + + optional + + + mastercard-logo@3x.png + + Ub9fy1s+AIF1fyHPHeB5aY6QtrQ= + + mastercard.der + + 6QqEKleaktL0+NBwJRdmBAxK8gY= + + ms-MY.lproj/Localizable.strings + + hash + + NB6JTH0Z9bfgxuOHguVrUY9Ngzk= + + optional + + + mt.lproj/Localizable.strings + + hash + + RMmNqMm6jPWOwX78cxKN4RCqvho= + + optional + + + nb.lproj/Localizable.strings + + hash + + 5k5pjFmmCyJtT2uET8AdNdVMpss= + + optional + + + nl.lproj/Localizable.strings + + hash + + mWW/HJgb03/CZ2D4vInJJa/kMO8= + + optional + + + nn-NO.lproj/Localizable.strings + + hash + + BqBeLtV8ATgKQgQlXTklrXh9dVg= + + optional + + + pl-PL.lproj/Localizable.strings + + hash + + NB6JTH0Z9bfgxuOHguVrUY9Ngzk= + + optional + + + pt-BR.lproj/Localizable.strings + + hash + + 7dfqKlaJO6DsNszkyFM03R33V80= + + optional + + + pt-PT.lproj/Localizable.strings + + hash + + ono1MuCgYCi64hNyjhzcrT93PFk= + + optional + + + ro-RO.lproj/Localizable.strings + + hash + + NB6JTH0Z9bfgxuOHguVrUY9Ngzk= + + optional + + + ru.lproj/Localizable.strings + + hash + + XaiYB2RQmzB7Qq/462z1ztVu+Xs= + + optional + + + sk-SK.lproj/Localizable.strings + + hash + + NB6JTH0Z9bfgxuOHguVrUY9Ngzk= + + optional + + + sl-SI.lproj/Localizable.strings + + hash + + NB6JTH0Z9bfgxuOHguVrUY9Ngzk= + + optional + + + sv.lproj/Localizable.strings + + hash + + b4esqOwElsQVtyQNkhcwnLTRfbU= + + optional + + + tk.lproj/Localizable.strings + + hash + + NB6JTH0Z9bfgxuOHguVrUY9Ngzk= + + optional + + + tr.lproj/Localizable.strings + + hash + + 7L/cEAt/RlBi7hrNgWGLxc1vdX4= + + optional + + + ul-test.der + + 1EWoI2W7Bx/yv6rw5Zqa5OPPgkk= + + vi.lproj/Localizable.strings + + hash + + NB6JTH0Z9bfgxuOHguVrUY9Ngzk= + + optional + + + visa-logo@3x.png + + RoHSphMGSKk02usePPoaBqsdnYQ= + + visa-white-logo@3x.png + + 3PT62F7pOLqSxazTk+1XBq8OPf0= + + visa.der + + cIAUXvXkElHLQ1L0+fmxo+SGZps= + + zh-HK.lproj/Localizable.strings + + hash + + qD/sxx9Meqp6dK9rLaDyvBal4+s= + + optional + + + zh-Hans.lproj/Localizable.strings + + hash + + pZcwXmsNJgrXs3tVLZLDQ7sHXkE= + + optional + + + zh-Hant.lproj/Localizable.strings + + hash + + kzE22UeMNM4ySQbm60goy5kxTNs= + + optional + + + + files2 + + Chevron@3x.png + + hash2 + + M/5It6naO0ZoTRrIpYpS/or2uUKC5MII4jtsCdj6abk= + + + Headers/STDSAlreadyInitializedException.h + + hash2 + + LnTjgl00L+nkczuj6z+pQv9uVDryqut42BEtQ/seK2k= + + + Headers/STDSAuthenticationRequestParameters.h + + hash2 + + EERv5Be2WB14RQNKmOWUT8vq63hL3XNVYmVvyHXEzzE= + + + Headers/STDSAuthenticationResponse.h + + hash2 + + L6ekIVfl21LWODjTzrem/BU2OThaF4ft8mtqEklEqsc= + + + Headers/STDSButtonCustomization.h + + hash2 + + j2VVI4o8iGD3F8twP+vJWBQXzQcxtbo0vtAaWwB1p3o= + + + Headers/STDSChallengeParameters.h + + hash2 + + RrQAI5p0R2gml549t72BZMfLcFedGI2mv32Z5uBHh1I= + + + Headers/STDSChallengeStatusReceiver.h + + hash2 + + eJUvl9wDvebRJBdjkoAmSQfrVgbR+L64X7eYBA0v/8g= + + + Headers/STDSCompletionEvent.h + + hash2 + + l7fWoCeTfWaQp3RWwUHtAGviDx9HSVQSJpw04ocAKEI= + + + Headers/STDSConfigParameters.h + + hash2 + + peyc7jFonxP+P/EZZzlj4HI+jWJRfJiZB9EnoJOroUo= + + + Headers/STDSCustomization.h + + hash2 + + wOzGgJL0tGprZkD31yH5wOQ5kQVvWhwRe95BnnpY6hA= + + + Headers/STDSErrorMessage.h + + hash2 + + I8dHsLXC2Vv5UBWXwkrWMdWaku3VA8AOujWgKqqWt0w= + + + Headers/STDSException.h + + hash2 + + 0So0+UPkBbE4YjdUTEd3JwDj3sk1MTzn9WUZHaAxOEI= + + + Headers/STDSFooterCustomization.h + + hash2 + + c9SavQivzkHIvIb/waPjlOzmk2FpE4GdRmn1dPpLgBw= + + + Headers/STDSInvalidInputException.h + + hash2 + + n2sJ7y8deli2eVXsw3SyCij5x80t8ICrZacexmlG7cQ= + + + Headers/STDSJSONDecodable.h + + hash2 + + odNtMkxzF8JkpR/0ap3aT86Bpk00Bchco1fy9OM2bYg= + + + Headers/STDSJSONEncodable.h + + hash2 + + 4zc8EWmatHx+hlCXHMuW4Wm5IfAM3agewD3n9449938= + + + Headers/STDSJSONEncoder.h + + hash2 + + venzZUvKKRDh/POXihjNcHi1bu441fgBUIMF/FnkcZU= + + + Headers/STDSLabelCustomization.h + + hash2 + + x03noEfNJ4HCMzNF0PsCmmWR+t+sCVMhrLYx6aXOy10= + + + Headers/STDSNavigationBarCustomization.h + + hash2 + + eUjdHILvFoE41/Nx5FA1LlJOFjF0xrOhXsJl9gOpSUc= + + + Headers/STDSNotInitializedException.h + + hash2 + + QNfsydffqMnxp+f9dGX71KslKATLbPPipLmc//1R/Ss= + + + Headers/STDSProtocolErrorEvent.h + + hash2 + + ZxJwUog0UYVqXCvuubkxuCwLmnMSP8BKG6akUy9lALc= + + + Headers/STDSRuntimeErrorEvent.h + + hash2 + + 29ahc1s0wfgPZBrmMk5dbxiOe38CiKQTWoCWy/KcRl8= + + + Headers/STDSRuntimeException.h + + hash2 + + AThN7K/9V9KjbhpTJdleRxti0gXNJCaqcsHPs2J5KfA= + + + Headers/STDSSelectionCustomization.h + + hash2 + + jMn7PULZ4b3kbhCp9+UK8AVBtbZ8sGM1XlL6yfOP9/Y= + + + Headers/STDSStripe3DS2Error.h + + hash2 + + oU9WLPdFz8ZCabQZiqxSPVBSyxxnCqQphMWY8nQJj+4= + + + Headers/STDSSwiftTryCatch.h + + hash2 + + nlk8KPcafh0wYs4sc7zhfHnNlobxfAU25R07LWKB4Lg= + + + Headers/STDSTextFieldCustomization.h + + hash2 + + /u4CTleR71rYIu3lVIRnzNSmareZ9s6Ehz1gPh91Ic8= + + + Headers/STDSThreeDS2Service.h + + hash2 + + dGDum2PqbuZ0sUTjBnVYNBBAjhu64SUvPytKeTdo5K4= + + + Headers/STDSThreeDSProtocolVersion.h + + hash2 + + HA9L+QuT0THnJ3cdBiViveK1LTWR/OL8ZrxixgCvjfc= + + + Headers/STDSTransaction.h + + hash2 + + hVeYmMTsawcSe6uFeBDVK8Ijrc/ODDVW3q5eN6y6ya4= + + + Headers/STDSUICustomization.h + + hash2 + + xIKZrekuaSjFdzSuOPlBVptJh0pqHg6lSj8QcSuGRyQ= + + + Headers/STDSWarning.h + + hash2 + + OoAjwT0USJ+zm9BWAftf9xRMnvZx9Hl3tSVZEsC5gn4= + + + Headers/Stripe3DS2-Prefix.pch + + hash2 + + uS6K6gmWuwdnzKD9N0F0SB4GK+VSSDq7kKliKRLCRsI= + + + Headers/Stripe3DS2.h + + hash2 + + Ye/nqG5YQEKe3z27lGW7hxb/cs1xRdk01+Ae8lZG9QA= + + + Modules/module.modulemap + + hash2 + + k2OxvME22TD4va/hicMSI+P3jwtV31nQXTI83ktpCSc= + + + acs_challenge.html + + hash2 + + jfE57YC7pIroDnu4MVz3ft0yM1o8hbFbc5sKF6aoM80= + + + amex-logo@3x.png + + hash2 + + H5Q84FuQ4BBKBI0n5iN4NOkPIqu0608yG15+O/GLtWc= + + + amex.der + + hash2 + + NCdEoR4qX8+jU/9n2UrGR1Qig9nt5YCYbGnqJ1YpTLk= + + + bg-BG.lproj/Localizable.strings + + hash2 + + 27aQZTjUYaDFueFper9CNl3sQ7KEOLUmiLZqrnCeELQ= + + optional + + + ca-ES.lproj/Localizable.strings + + hash2 + + 27aQZTjUYaDFueFper9CNl3sQ7KEOLUmiLZqrnCeELQ= + + optional + + + cartes-bancaires-logo.png + + hash2 + + 0VVV/Q+ldTMqXUFuEJXhSKVFi6paPY4WyMaB1W6WoQM= + + + cartes-bancaires.der + + hash2 + + PpErTjNEcVdiGH+2Km3VtCHcfEAhS3mJhn5s1FluXGA= + + + cs-CZ.lproj/Localizable.strings + + hash2 + + 27aQZTjUYaDFueFper9CNl3sQ7KEOLUmiLZqrnCeELQ= + + optional + + + da.lproj/Localizable.strings + + hash2 + + qyZDkvaWgICXl2Mu+0gbpkWxbEcBWSmPgx5C4bLPAOk= + + optional + + + de.lproj/Localizable.strings + + hash2 + + Xt2J95YXtbIxeomk26OxDk8xQObERtIzL+zXetuck2s= + + optional + + + discover-logo.png + + hash2 + + U/uiCFKp0HOAJ4+ya6xjU9RLckdJnZ1aqgG1OEVBtwE= + + + discover.der + + hash2 + + 4nn4l1pT+G9RaE4XQSdTDFZvZGdIM3dOEDG6qIJofUA= + + + ec_test.der + + hash2 + + Zh/1Qh8otkIB55J3H8D0LXRSugBhUpbR4XtBNCQ6BE4= + + + el-GR.lproj/Localizable.strings + + hash2 + + 27aQZTjUYaDFueFper9CNl3sQ7KEOLUmiLZqrnCeELQ= + + optional + + + en-GB.lproj/Localizable.strings + + hash2 + + tUCoRd4nS7NyCOYohPpAXhs+UWLx6W0UbpYPRKF3gMY= + + optional + + + en.lproj/Localizable.strings + + hash2 + + 27aQZTjUYaDFueFper9CNl3sQ7KEOLUmiLZqrnCeELQ= + + optional + + + error@3x.png + + hash2 + + nxtrX+3BrjAf822ShZTDWe6GlSnYzS3vF8rkcl7etVY= + + + es-419.lproj/Localizable.strings + + hash2 + + 4+Uv1Ru5/bfGWhdD7aXpbZN5RrVO6ZwAmNIWeOV4HOA= + + optional + + + es.lproj/Localizable.strings + + hash2 + + BlrmfUt6r0Q5fjGcAutXBD4+Wx0Kef66Cs7LeYXL+no= + + optional + + + et-EE.lproj/Localizable.strings + + hash2 + + 27aQZTjUYaDFueFper9CNl3sQ7KEOLUmiLZqrnCeELQ= + + optional + + + fi.lproj/Localizable.strings + + hash2 + + cA33pzoa/4kUJSSvX8JzBAD++y53whTx84qhTXQTlfw= + + optional + + + fil.lproj/Localizable.strings + + hash2 + + 27aQZTjUYaDFueFper9CNl3sQ7KEOLUmiLZqrnCeELQ= + + optional + + + fr-CA.lproj/Localizable.strings + + hash2 + + Py5wRNxX/HfLQK0ftXzKebfKqyqzdKumeTGtny6A44A= + + optional + + + fr.lproj/Localizable.strings + + hash2 + + 7Y8PKxKRt2sxZxRN5WvNjm4Xga98hQ9jmSzPbk3ux88= + + optional + + + hr.lproj/Localizable.strings + + hash2 + + 27aQZTjUYaDFueFper9CNl3sQ7KEOLUmiLZqrnCeELQ= + + optional + + + hu.lproj/Localizable.strings + + hash2 + + 1ilqSSe5dDWI570QhlCTy2WwYddbnmc8czd7wpiDk8w= + + optional + + + id.lproj/Localizable.strings + + hash2 + + 27aQZTjUYaDFueFper9CNl3sQ7KEOLUmiLZqrnCeELQ= + + optional + + + it.lproj/Localizable.strings + + hash2 + + RyxP6Xai47GCO0wpvKWti+jD0acP9gvE9xjQjHRUzpM= + + optional + + + ja.lproj/Localizable.strings + + hash2 + + 6uI8GbjQkL9WTAdnB/FR4vjwfIAn506Qjqof5PSdRt4= + + optional + + + ko.lproj/Localizable.strings + + hash2 + + +7fFDjer4DEy/0lRvvD3QCtUKsFBM9IiWtwU8AWy484= + + optional + + + lt-LT.lproj/Localizable.strings + + hash2 + + 27aQZTjUYaDFueFper9CNl3sQ7KEOLUmiLZqrnCeELQ= + + optional + + + lv-LV.lproj/Localizable.strings + + hash2 + + 27aQZTjUYaDFueFper9CNl3sQ7KEOLUmiLZqrnCeELQ= + + optional + + + mastercard-logo@3x.png + + hash2 + + arxwrsklAcG3LRqAsOApRABSWpXkop5QEEsCwci+qMQ= + + + mastercard.der + + hash2 + + E5nZdBQA7MOlJ4biYm1610cIexUboNPdGxAffXrw+Lw= + + + ms-MY.lproj/Localizable.strings + + hash2 + + 27aQZTjUYaDFueFper9CNl3sQ7KEOLUmiLZqrnCeELQ= + + optional + + + mt.lproj/Localizable.strings + + hash2 + + rJFSjAolrM07AgL2i4FJ8KUeaj2R5z9Ogx2nJJyKBJo= + + optional + + + nb.lproj/Localizable.strings + + hash2 + + 66w9rsc7b/jeM8TuFR25xFAJi5azcZ5jaTSqGKztYjk= + + optional + + + nl.lproj/Localizable.strings + + hash2 + + 8wkpd0kH47bErz5dyIwRvAky+vRzr84r37x4x1lVL4s= + + optional + + + nn-NO.lproj/Localizable.strings + + hash2 + + TVX4uGpa/Yu0CrLChqf1F9iwWg/GedWrXOMApo/pAtE= + + optional + + + pl-PL.lproj/Localizable.strings + + hash2 + + 27aQZTjUYaDFueFper9CNl3sQ7KEOLUmiLZqrnCeELQ= + + optional + + + pt-BR.lproj/Localizable.strings + + hash2 + + bkCN+x42qKE/Q7SDNG2x3HPYtHs5pRdqgXLUYXNpCkI= + + optional + + + pt-PT.lproj/Localizable.strings + + hash2 + + rEvkLFGucwCcunCDuih1+GsnZpvFjpn+uU2PPRr88FI= + + optional + + + ro-RO.lproj/Localizable.strings + + hash2 + + 27aQZTjUYaDFueFper9CNl3sQ7KEOLUmiLZqrnCeELQ= + + optional + + + ru.lproj/Localizable.strings + + hash2 + + 7Ws4v3UdtvFPaBcCUIfhlSCQtOvqZtbpkYWZlN4BvQU= + + optional + + + sk-SK.lproj/Localizable.strings + + hash2 + + 27aQZTjUYaDFueFper9CNl3sQ7KEOLUmiLZqrnCeELQ= + + optional + + + sl-SI.lproj/Localizable.strings + + hash2 + + 27aQZTjUYaDFueFper9CNl3sQ7KEOLUmiLZqrnCeELQ= + + optional + + + sv.lproj/Localizable.strings + + hash2 + + rCRYC8hwonm5IvCGDh07reIXoPVt6dsd/ajlwh1k+B8= + + optional + + + tk.lproj/Localizable.strings + + hash2 + + 27aQZTjUYaDFueFper9CNl3sQ7KEOLUmiLZqrnCeELQ= + + optional + + + tr.lproj/Localizable.strings + + hash2 + + iqLom2NpJjvmlswYStHb3j3VzLxw8WPT+2DCBUFiMAg= + + optional + + + ul-test.der + + hash2 + + ym0CPu2VIwYjDK3FHgE1y1xJG8wRaMM1/gD85b0Y8yU= + + + vi.lproj/Localizable.strings + + hash2 + + 27aQZTjUYaDFueFper9CNl3sQ7KEOLUmiLZqrnCeELQ= + + optional + + + visa-logo@3x.png + + hash2 + + sqKH2zGaLWTHeLX7BepqzIa34IIWr+S0twJ3fM6OyiY= + + + visa-white-logo@3x.png + + hash2 + + FmnIQs98XF4i7xBl/aMwfwKGrm4KUb69li2FGq0+thE= + + + visa.der + + hash2 + + lkOAq2XG0NwIMcVOGHKM+JdnPyJRxAhQ01if+ubR03s= + + + zh-HK.lproj/Localizable.strings + + hash2 + + MjlqF0maqYTdPZbia5aPWp5re1V4U6IXlU9RRldGArI= + + optional + + + zh-Hans.lproj/Localizable.strings + + hash2 + + SqyHevjJK0YndrivRl+RW3EJBZZ6nlrRcBLNaB4xL4U= + + optional + + + zh-Hant.lproj/Localizable.strings + + hash2 + + y6pGC8+eBGAzJY3KqpZRmREw3vkqdXR81OvvI2n/bdc= + + optional + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/acs_challenge.html b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/acs_challenge.html new file mode 100644 index 0000000..4b576e2 --- /dev/null +++ b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/acs_challenge.html @@ -0,0 +1,178 @@ + + + + + 3DS - One-Time Passcode - PA + + + + + + +
+ + + + +
+
+

Purchase Authentication

+

We have send you a text message with a code to your registered mobile number ending in ***.

+

You are paying Merchant ABC the amount of $xxx.xx on mm/dd/yy.

+
+ +
+

Enter your code below:

+
+ + +
+
+ + +
+
+
+ + +
+
+
+ + Need some help? +

Help content will be displayed here.

+ +
+
+
+
+ + Learn more about authentication +

Authentication information will be displayed here.

+ +
+
+
+ + +
+ +
+
+ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/amex-logo@3x.png b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/amex-logo@3x.png new file mode 100644 index 0000000..9bb04db Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/amex-logo@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/amex.der b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/amex.der new file mode 100644 index 0000000..61a1cfd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/amex.der differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/bg-BG.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/bg-BG.lproj/Localizable.strings new file mode 100644 index 0000000..2440abd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/bg-BG.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/ca-ES.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/ca-ES.lproj/Localizable.strings new file mode 100644 index 0000000..2440abd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/ca-ES.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/cartes-bancaires-logo.png b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/cartes-bancaires-logo.png new file mode 100644 index 0000000..37fd836 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/cartes-bancaires-logo.png differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/cartes-bancaires.der b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/cartes-bancaires.der new file mode 100644 index 0000000..23d14ff Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/cartes-bancaires.der differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/cs-CZ.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/cs-CZ.lproj/Localizable.strings new file mode 100644 index 0000000..2440abd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/cs-CZ.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/da.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/da.lproj/Localizable.strings new file mode 100644 index 0000000..5ec99f6 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/da.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/de.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/de.lproj/Localizable.strings new file mode 100644 index 0000000..4a7102c Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/de.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/discover-logo.png b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/discover-logo.png new file mode 100644 index 0000000..a54a168 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/discover-logo.png differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/discover.der b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/discover.der new file mode 100644 index 0000000..5b17935 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/discover.der differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/ec_test.der b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/ec_test.der new file mode 100644 index 0000000..06587c4 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/ec_test.der differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/el-GR.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/el-GR.lproj/Localizable.strings new file mode 100644 index 0000000..2440abd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/el-GR.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/en-GB.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/en-GB.lproj/Localizable.strings new file mode 100644 index 0000000..f3dd661 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/en-GB.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/en.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/en.lproj/Localizable.strings new file mode 100644 index 0000000..2440abd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/en.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/error@3x.png b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/error@3x.png new file mode 100644 index 0000000..1cfab65 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/error@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/es-419.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/es-419.lproj/Localizable.strings new file mode 100644 index 0000000..415dd67 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/es-419.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/es.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/es.lproj/Localizable.strings new file mode 100644 index 0000000..361e4c3 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/es.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/et-EE.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/et-EE.lproj/Localizable.strings new file mode 100644 index 0000000..2440abd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/et-EE.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/fi.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/fi.lproj/Localizable.strings new file mode 100644 index 0000000..69e9adf Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/fi.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/fil.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/fil.lproj/Localizable.strings new file mode 100644 index 0000000..2440abd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/fil.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/fr-CA.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/fr-CA.lproj/Localizable.strings new file mode 100644 index 0000000..9d0943f Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/fr-CA.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/fr.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/fr.lproj/Localizable.strings new file mode 100644 index 0000000..85e6a6a Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/fr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/hr.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/hr.lproj/Localizable.strings new file mode 100644 index 0000000..2440abd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/hr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/hu.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/hu.lproj/Localizable.strings new file mode 100644 index 0000000..83c4802 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/hu.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/id.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/id.lproj/Localizable.strings new file mode 100644 index 0000000..2440abd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/id.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/it.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/it.lproj/Localizable.strings new file mode 100644 index 0000000..a513ed3 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/it.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/ja.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/ja.lproj/Localizable.strings new file mode 100644 index 0000000..b63f7e5 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/ja.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/ko.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/ko.lproj/Localizable.strings new file mode 100644 index 0000000..d984c0b Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/ko.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/lt-LT.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/lt-LT.lproj/Localizable.strings new file mode 100644 index 0000000..2440abd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/lt-LT.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/lv-LV.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/lv-LV.lproj/Localizable.strings new file mode 100644 index 0000000..2440abd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/lv-LV.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/mastercard-logo@3x.png b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/mastercard-logo@3x.png new file mode 100644 index 0000000..c5c8000 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/mastercard-logo@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/mastercard.der b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/mastercard.der new file mode 100644 index 0000000..6e136e1 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/mastercard.der differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/ms-MY.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/ms-MY.lproj/Localizable.strings new file mode 100644 index 0000000..2440abd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/ms-MY.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/mt.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/mt.lproj/Localizable.strings new file mode 100644 index 0000000..23cbe6a Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/mt.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/nb.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/nb.lproj/Localizable.strings new file mode 100644 index 0000000..8bbcf64 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/nb.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/nl.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/nl.lproj/Localizable.strings new file mode 100644 index 0000000..b3d20ee Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/nl.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/nn-NO.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/nn-NO.lproj/Localizable.strings new file mode 100644 index 0000000..e676f72 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/nn-NO.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/pl-PL.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/pl-PL.lproj/Localizable.strings new file mode 100644 index 0000000..2440abd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/pl-PL.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/pt-BR.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/pt-BR.lproj/Localizable.strings new file mode 100644 index 0000000..28945ef Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/pt-BR.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/pt-PT.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/pt-PT.lproj/Localizable.strings new file mode 100644 index 0000000..1565f5b Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/pt-PT.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/ro-RO.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/ro-RO.lproj/Localizable.strings new file mode 100644 index 0000000..2440abd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/ro-RO.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/ru.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/ru.lproj/Localizable.strings new file mode 100644 index 0000000..e66e7d7 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/ru.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/sk-SK.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/sk-SK.lproj/Localizable.strings new file mode 100644 index 0000000..2440abd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/sk-SK.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/sl-SI.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/sl-SI.lproj/Localizable.strings new file mode 100644 index 0000000..2440abd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/sl-SI.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/sv.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/sv.lproj/Localizable.strings new file mode 100644 index 0000000..b3993c5 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/sv.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/tk.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/tk.lproj/Localizable.strings new file mode 100644 index 0000000..2440abd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/tk.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/tr.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/tr.lproj/Localizable.strings new file mode 100644 index 0000000..c5af6ae Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/tr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/ul-test.der b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/ul-test.der new file mode 100644 index 0000000..11e5f29 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/ul-test.der differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/vi.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/vi.lproj/Localizable.strings new file mode 100644 index 0000000..2440abd Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/vi.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/visa-logo@3x.png b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/visa-logo@3x.png new file mode 100644 index 0000000..7eda14c Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/visa-logo@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/visa-white-logo@3x.png b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/visa-white-logo@3x.png new file mode 100644 index 0000000..060ae59 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/visa-white-logo@3x.png differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/visa.der b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/visa.der new file mode 100644 index 0000000..a77735d Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/visa.der differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/zh-HK.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/zh-HK.lproj/Localizable.strings new file mode 100644 index 0000000..393154f Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/zh-HK.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/zh-Hans.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/zh-Hans.lproj/Localizable.strings new file mode 100644 index 0000000..9d046f8 Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/zh-Hans.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/zh-Hant.lproj/Localizable.strings b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/zh-Hant.lproj/Localizable.strings new file mode 100644 index 0000000..b5183ce Binary files /dev/null and b/stripe_ios/ios/platform/Stripe3DS2.xcframework/ios-arm64_x86_64-simulator/Stripe3DS2.framework/zh-Hant.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/Info.plist b/stripe_ios/ios/platform/StripeApplePay.xcframework/Info.plist new file mode 100644 index 0000000..f9d75a9 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/Info.plist @@ -0,0 +1,55 @@ + + + + + AvailableLibraries + + + LibraryIdentifier + ios-arm64 + LibraryPath + StripeApplePay.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + LibraryIdentifier + ios-arm64_x86_64-maccatalyst + LibraryPath + StripeApplePay.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + StripeApplePay.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/Headers/StripeApplePay-Swift.h b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/Headers/StripeApplePay-Swift.h new file mode 100644 index 0000000..aad86f5 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/Headers/StripeApplePay-Swift.h @@ -0,0 +1,320 @@ +// Generated by Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +#ifndef STRIPEAPPLEPAY_SWIFT_H +#define STRIPEAPPLEPAY_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# 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 +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +@import PassKit; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="StripeApplePay",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + + + + + +@class UIViewController; +@class PKPaymentAuthorizationController; +@class PKPayment; +@class PKPaymentAuthorizationResult; +@class PKShippingMethod; +@class PKPaymentRequestShippingMethodUpdate; +@class PKContact; +@class PKPaymentRequestShippingContactUpdate; +@class UIWindow; + +/// A helper class that implements Apple Pay. +/// Usage looks like this: +///
    +///
  1. +/// Initialize this class with a PKPaymentRequest describing the payment request (amount, line items, required shipping info, etc) +///
  2. +///
  3. +/// Call presentApplePayOnViewController:completion: to present the Apple Pay sheet and begin the payment process +/// 3 (optional): If you need to respond to the user changing their shipping information/shipping method, implement the optional delegate methods +///
  4. +///
  5. +/// When the user taps ‘Buy’, this class uses the PaymentIntent that you supply in the applePayContext:didCreatePaymentMethod:completion: delegate method to complete the payment +///
  6. +///
  7. +/// After payment completes/errors and the sheet is dismissed, this class informs you in the applePayContext:didCompleteWithStatus: delegate method +///
  8. +///
+/// seealso: +/// https://stripe.com/docs/apple-pay#native for a full guide +/// seealso: +/// ApplePayExampleViewController for an example +SWIFT_CLASS_NAMED("STPApplePayContext") +@interface _stpinternal_APContextSwift : NSObject +/// Presents the Apple Pay sheet from the specified view controller, starting the payment process. +/// @note This method should only be called once; create a new instance of STPApplePayContext every time you present Apple Pay. +/// @deprecated A presenting UIViewController is no longer needed. Use presentApplePay(completion:) instead. +/// \param viewController The UIViewController instance to present the Apple Pay sheet on +/// +/// \param completion Called after the Apple Pay sheet is presented +/// +- (void)presentApplePayOnViewController:(UIViewController * _Nonnull)viewController completion:(void (^ _Nullable)(void))completion SWIFT_DEPRECATED_MSG("Use `presentApplePay(completion:)` instead.", "presentApplePay(completion:)"); +/// :nodoc: +- (BOOL)respondsToSelector:(SEL _Null_unspecified)aSelector SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)paymentAuthorizationController:(PKPaymentAuthorizationController * _Nonnull)controller didAuthorizePayment:(PKPayment * _Nonnull)payment handler:(void (^ _Nonnull)(PKPaymentAuthorizationResult * _Nonnull))completion; +/// :nodoc: +- (void)paymentAuthorizationController:(PKPaymentAuthorizationController * _Nonnull)controller didSelectShippingMethod:(PKShippingMethod * _Nonnull)shippingMethod handler:(void (^ _Nonnull)(PKPaymentRequestShippingMethodUpdate * _Nonnull))completion; +/// :nodoc: +- (void)paymentAuthorizationController:(PKPaymentAuthorizationController * _Nonnull)controller didSelectShippingContact:(PKContact * _Nonnull)contact handler:(void (^ _Nonnull)(PKPaymentRequestShippingContactUpdate * _Nonnull))completion; +/// :nodoc: +- (void)paymentAuthorizationControllerDidFinish:(PKPaymentAuthorizationController * _Nonnull)controller; +- (UIWindow * _Nullable)presentationWindowForPaymentAuthorizationController:(PKPaymentAuthorizationController * _Nonnull)controller SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +SWIFT_CLASS("_TtC14StripeApplePay18STPTelemetryClient") +@interface STPTelemetryClient : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +/// Internal Apple Pay class. Do not use. +/// :nodoc: +SWIFT_CLASS("_TtC14StripeApplePay46_stpinternal_ApplePayContextDidCompleteStorage") +@interface _stpinternal_ApplePayContextDidCompleteStorage : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// Internal Apple Pay class. Do not use. +/// :nodoc: +SWIFT_CLASS("_TtC14StripeApplePay57_stpinternal_ApplePayContextDidCreatePaymentMethodStorage") +@interface _stpinternal_ApplePayContextDidCreatePaymentMethodStorage : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// :nodoc: +SWIFT_PROTOCOL("_TtP14StripeApplePay43_stpinternal_STPApplePayContextDelegateBase_") +@protocol _stpinternal_STPApplePayContextDelegateBase +@optional +/// Called when the user selects a new shipping method. The delegate should determine +/// shipping costs based on the shipping method and either the shipping address supplied in the original +/// PKPaymentRequest or the address fragment provided by the last call to paymentAuthorizationController: +/// didSelectShippingContact:completion:. +/// You must invoke the completion block with an updated array of PKPaymentSummaryItem objects. +- (void)applePayContext:(_stpinternal_APContextSwift * _Nonnull)context didSelectShippingMethod:(PKShippingMethod * _Nonnull)shippingMethod handler:(void (^ _Nonnull)(PKPaymentRequestShippingMethodUpdate * _Nonnull))handler; +/// Called when the user has selected a new shipping address. You should inspect the +/// address and must invoke the completion block with an updated array of PKPaymentSummaryItem objects. +/// @note To maintain privacy, the shipping information is anonymized. For example, in the United States it only includes the city, state, and zip code. This provides enough information to calculate shipping costs, without revealing sensitive information until the user actually approves the purchase. +/// Receive full shipping information in the paymentInformation passed to applePayContext:didCreatePaymentMethod:paymentInformation:completion: +- (void)applePayContext:(_stpinternal_APContextSwift * _Nonnull)context didSelectShippingContact:(PKContact * _Nonnull)contact handler:(void (^ _Nonnull)(PKPaymentRequestShippingContactUpdate * _Nonnull))handler; +@end + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/Headers/StripeApplePay.h b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/Headers/StripeApplePay.h new file mode 100644 index 0000000..e6b9e0f --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/Headers/StripeApplePay.h @@ -0,0 +1,18 @@ +// +// StripeApplePay.h +// StripeApplePay +// +// Created by David Estes on 11/8/21. +// + +#import + +//! Project version number for StripeApplePay. +FOUNDATION_EXPORT double StripeApplePayVersionNumber; + +//! Project version string for StripeApplePay. +FOUNDATION_EXPORT const unsigned char StripeApplePayVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/Info.plist b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/Info.plist new file mode 100644 index 0000000..e67dca6 Binary files /dev/null and b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/Info.plist differ diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/Modules/StripeApplePay.swiftmodule/arm64-apple-ios.swiftdoc b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/Modules/StripeApplePay.swiftmodule/arm64-apple-ios.swiftdoc new file mode 100644 index 0000000..16d1d60 Binary files /dev/null and b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/Modules/StripeApplePay.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/Modules/StripeApplePay.swiftmodule/arm64-apple-ios.swiftinterface b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/Modules/StripeApplePay.swiftmodule/arm64-apple-ios.swiftinterface new file mode 100644 index 0000000..7ab9041 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/Modules/StripeApplePay.swiftmodule/arm64-apple-ios.swiftinterface @@ -0,0 +1,249 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeApplePay +import Foundation +import ObjectiveC +import PassKit +@_exported import StripeApplePay +@_exported import StripeCore +import Swift +import UIKit +extension STPAPIClient { + public class func pkPaymentError(forStripeError stripeError: Swift.Error?) -> Swift.Error? +} +extension StripeAPI { + public struct BillingDetails : StripeCore.StripeCodable { + @StripeCore.IncludeUnknownFields public var address: StripeCore.StripeAPI.BillingDetails.Address? { + get + set + _modify + } + public struct Address : StripeCore.StripeCodable { + public var line1: Swift.String? + public var line2: Swift.String? + public var city: Swift.String? + public var state: Swift.String? + public var postalCode: Swift.String? + public var country: Swift.String? + public var _additionalParametersStorage: StripeCore.NonEncodableParameters? + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws + } + public var email: Swift.String? + public var name: Swift.String? + public var phone: Swift.String? + public var _additionalParametersStorage: StripeCore.NonEncodableParameters? + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws + } +} +@objc public protocol _stpinternal_STPApplePayContextDelegateBase : ObjectiveC.NSObjectProtocol { + @objc(applePayContext:didSelectShippingMethod:handler:) optional func applePayContext(_ context: StripeApplePay.STPApplePayContext, didSelect shippingMethod: PassKit.PKShippingMethod, handler: @escaping (PassKit.PKPaymentRequestShippingMethodUpdate) -> Swift.Void) + @objc optional func applePayContext(_ context: StripeApplePay.STPApplePayContext, didSelectShippingContact contact: PassKit.PKContact, handler: @escaping (PassKit.PKPaymentRequestShippingContactUpdate) -> Swift.Void) +} +public protocol ApplePayContextDelegate : StripeApplePay._stpinternal_STPApplePayContextDelegateBase { + func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCreatePaymentMethod paymentMethod: StripeCore.StripeAPI.PaymentMethod, paymentInformation: PassKit.PKPayment, completion: @escaping StripeApplePay.STPIntentClientSecretCompletionBlock) + func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCompleteWith status: StripeApplePay.STPApplePayContext.PaymentStatus, error: Swift.Error?) +} +@objc(_stpinternal_APContextSwift) public class STPApplePayContext : ObjectiveC.NSObject, PassKit.PKPaymentAuthorizationControllerDelegate { + required public init?(paymentRequest: PassKit.PKPaymentRequest, delegate: StripeApplePay._stpinternal_STPApplePayContextDelegateBase?) + required public init?(paymentRequest: PassKit.PKPaymentRequest, delegate: StripeApplePay.ApplePayContextDelegate) + @available(iOSApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + @available(macCatalystApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + public func presentApplePay(completion: StripeApplePay.STPVoidBlock? = nil) + public func presentApplePay(from window: UIKit.UIWindow?, completion: StripeApplePay.STPVoidBlock? = nil) + @available(*, deprecated, renamed: "presentApplePay(completion:)", message: "Use `presentApplePay(completion:)` instead.") + @objc(presentApplePayOnViewController:completion:) public func presentApplePay(on viewController: UIKit.UIViewController, completion: StripeApplePay.STPVoidBlock? = nil) + public var apiClient: StripeCore.STPAPIClient + @objc override dynamic public func responds(to aSelector: ObjectiveC.Selector!) -> Swift.Bool + @objc public func paymentAuthorizationController(_ controller: PassKit.PKPaymentAuthorizationController, didAuthorizePayment payment: PassKit.PKPayment, handler completion: @escaping (PassKit.PKPaymentAuthorizationResult) -> Swift.Void) + @objc public func paymentAuthorizationController(_ controller: PassKit.PKPaymentAuthorizationController, didSelectShippingMethod shippingMethod: PassKit.PKShippingMethod, handler completion: @escaping (PassKit.PKPaymentRequestShippingMethodUpdate) -> Swift.Void) + @objc public func paymentAuthorizationController(_ controller: PassKit.PKPaymentAuthorizationController, didSelectShippingContact contact: PassKit.PKContact, handler completion: @escaping (PassKit.PKPaymentRequestShippingContactUpdate) -> Swift.Void) + @objc public func paymentAuthorizationControllerDidFinish(_ controller: PassKit.PKPaymentAuthorizationController) + @objc public func presentationWindow(for controller: PassKit.PKPaymentAuthorizationController) -> UIKit.UIWindow? + @frozen public enum PaymentStatus { + case success + case error + case userCancellation + public static func == (a: StripeApplePay.STPApplePayContext.PaymentStatus, b: StripeApplePay.STPApplePayContext.PaymentStatus) -> Swift.Bool + public var hashValue: Swift.Int { + get + } + public func hash(into hasher: inout Swift.Hasher) + } + @objc deinit + @objc override dynamic public init() +} +public typealias STPVoidBlock = () -> Swift.Void +public typealias STPIntentClientSecretCompletionBlock = (Swift.String?, Swift.Error?) -> Swift.Void +extension StripeAPI { + public struct PaymentMethod : StripeCore.StripeDecodable { + public let id: Swift.String + public var created: Foundation.Date? + public var livemode: Swift.Bool + public var type: StripeCore.StripeAPI.PaymentMethod.PaymentMethodType? + @frozen public enum PaymentMethodType : Swift.String, StripeCore.StripeEnumCodable { + case card + case unknown + case unparsable + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + public init?(rawValue: Swift.String) + } + @StripeCore.IncludeUnknownFields public var billingDetails: StripeCore.StripeAPI.BillingDetails? { + get + set + _modify + } + public var customerId: Swift.String? + @StripeCore.IncludeUnknownFields public var card: StripeCore.StripeAPI.PaymentMethod.Card? { + get + set + _modify + } + public struct Card : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var brand: StripeCore.StripeAPI.PaymentMethod.Card.Brand { + get + } + @frozen public enum Brand : Swift.String, StripeCore.StripeEnumCodable { + case visa + case amex + case mastercard + case discover + case jcb + case diners + case unionpay + case unknown + case unparsable + public typealias RawValue = Swift.String + public init?(rawValue: Swift.String) + public var rawValue: Swift.String { + get + } + } + public var country: Swift.String? { + get + } + public var expMonth: Swift.Int { + get + } + public var expYear: Swift.Int { + get + } + public var funding: Swift.String? { + get + } + public var last4: Swift.String? { + get + } + public var fingerprint: Swift.String? { + get + } + @StripeCore.IncludeUnknownFields public var networks: StripeCore.StripeAPI.PaymentMethod.Card.Networks? { + get + } + @StripeCore.IncludeUnknownFields public var threeDSecureUsage: StripeCore.StripeAPI.PaymentMethod.Card.ThreeDSecureUsage? { + get + } + public var wallet: StripeCore.StripeAPI.PaymentMethod.Card.Wallet? { + get + } + public struct Networks : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var available: [Swift.String]? { + get + } + public var preferred: Swift.String? { + get + } + public init(from decoder: Swift.Decoder) throws + } + public struct ThreeDSecureUsage : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var supported: Swift.Bool { + get + } + public init(from decoder: Swift.Decoder) throws + } + public struct Wallet : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var type: StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType { + get + } + public var masterpass: StripeCore.StripeAPI.PaymentMethod.Card.Wallet.Masterpass? { + get + } + public var visaCheckout: StripeCore.StripeAPI.PaymentMethod.Card.Wallet.VisaCheckout? { + get + } + @frozen public enum WalletType : Swift.String, StripeCore.StripeEnumCodable { + case amexExpressCheckout + case applePay + case googlePay + case masterpass + case samsungPay + case visaCheckout + case unknown + case unparsable + public typealias RawValue = Swift.String + public init?(rawValue: Swift.String) + public var rawValue: Swift.String { + get + } + } + public struct Masterpass : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var email: Swift.String? { + get + } + public var name: Swift.String? { + get + } + public var billingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public var shippingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public init(from decoder: Swift.Decoder) throws + } + public struct VisaCheckout : StripeCore.StripeDecodable { + public var email: Swift.String? { + get + } + public var name: Swift.String? { + get + } + public var billingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public var shippingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + } + public init(from decoder: Swift.Decoder) throws + } + public init(from decoder: Swift.Decoder) throws + } + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + } +} +extension StripeApplePay.STPApplePayContext.PaymentStatus : Swift.Equatable {} +extension StripeApplePay.STPApplePayContext.PaymentStatus : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.PaymentMethodType : Swift.Equatable {} +extension StripeCore.StripeAPI.PaymentMethod.PaymentMethodType : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.PaymentMethodType : Swift.RawRepresentable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Brand : Swift.Equatable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Brand : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Brand : Swift.RawRepresentable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType : Swift.Equatable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType : Swift.RawRepresentable {} diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/Modules/StripeApplePay.swiftmodule/arm64.swiftdoc b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/Modules/StripeApplePay.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..16d1d60 Binary files /dev/null and b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/Modules/StripeApplePay.swiftmodule/arm64.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/Modules/StripeApplePay.swiftmodule/arm64.swiftinterface b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/Modules/StripeApplePay.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..7ab9041 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/Modules/StripeApplePay.swiftmodule/arm64.swiftinterface @@ -0,0 +1,249 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeApplePay +import Foundation +import ObjectiveC +import PassKit +@_exported import StripeApplePay +@_exported import StripeCore +import Swift +import UIKit +extension STPAPIClient { + public class func pkPaymentError(forStripeError stripeError: Swift.Error?) -> Swift.Error? +} +extension StripeAPI { + public struct BillingDetails : StripeCore.StripeCodable { + @StripeCore.IncludeUnknownFields public var address: StripeCore.StripeAPI.BillingDetails.Address? { + get + set + _modify + } + public struct Address : StripeCore.StripeCodable { + public var line1: Swift.String? + public var line2: Swift.String? + public var city: Swift.String? + public var state: Swift.String? + public var postalCode: Swift.String? + public var country: Swift.String? + public var _additionalParametersStorage: StripeCore.NonEncodableParameters? + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws + } + public var email: Swift.String? + public var name: Swift.String? + public var phone: Swift.String? + public var _additionalParametersStorage: StripeCore.NonEncodableParameters? + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws + } +} +@objc public protocol _stpinternal_STPApplePayContextDelegateBase : ObjectiveC.NSObjectProtocol { + @objc(applePayContext:didSelectShippingMethod:handler:) optional func applePayContext(_ context: StripeApplePay.STPApplePayContext, didSelect shippingMethod: PassKit.PKShippingMethod, handler: @escaping (PassKit.PKPaymentRequestShippingMethodUpdate) -> Swift.Void) + @objc optional func applePayContext(_ context: StripeApplePay.STPApplePayContext, didSelectShippingContact contact: PassKit.PKContact, handler: @escaping (PassKit.PKPaymentRequestShippingContactUpdate) -> Swift.Void) +} +public protocol ApplePayContextDelegate : StripeApplePay._stpinternal_STPApplePayContextDelegateBase { + func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCreatePaymentMethod paymentMethod: StripeCore.StripeAPI.PaymentMethod, paymentInformation: PassKit.PKPayment, completion: @escaping StripeApplePay.STPIntentClientSecretCompletionBlock) + func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCompleteWith status: StripeApplePay.STPApplePayContext.PaymentStatus, error: Swift.Error?) +} +@objc(_stpinternal_APContextSwift) public class STPApplePayContext : ObjectiveC.NSObject, PassKit.PKPaymentAuthorizationControllerDelegate { + required public init?(paymentRequest: PassKit.PKPaymentRequest, delegate: StripeApplePay._stpinternal_STPApplePayContextDelegateBase?) + required public init?(paymentRequest: PassKit.PKPaymentRequest, delegate: StripeApplePay.ApplePayContextDelegate) + @available(iOSApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + @available(macCatalystApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + public func presentApplePay(completion: StripeApplePay.STPVoidBlock? = nil) + public func presentApplePay(from window: UIKit.UIWindow?, completion: StripeApplePay.STPVoidBlock? = nil) + @available(*, deprecated, renamed: "presentApplePay(completion:)", message: "Use `presentApplePay(completion:)` instead.") + @objc(presentApplePayOnViewController:completion:) public func presentApplePay(on viewController: UIKit.UIViewController, completion: StripeApplePay.STPVoidBlock? = nil) + public var apiClient: StripeCore.STPAPIClient + @objc override dynamic public func responds(to aSelector: ObjectiveC.Selector!) -> Swift.Bool + @objc public func paymentAuthorizationController(_ controller: PassKit.PKPaymentAuthorizationController, didAuthorizePayment payment: PassKit.PKPayment, handler completion: @escaping (PassKit.PKPaymentAuthorizationResult) -> Swift.Void) + @objc public func paymentAuthorizationController(_ controller: PassKit.PKPaymentAuthorizationController, didSelectShippingMethod shippingMethod: PassKit.PKShippingMethod, handler completion: @escaping (PassKit.PKPaymentRequestShippingMethodUpdate) -> Swift.Void) + @objc public func paymentAuthorizationController(_ controller: PassKit.PKPaymentAuthorizationController, didSelectShippingContact contact: PassKit.PKContact, handler completion: @escaping (PassKit.PKPaymentRequestShippingContactUpdate) -> Swift.Void) + @objc public func paymentAuthorizationControllerDidFinish(_ controller: PassKit.PKPaymentAuthorizationController) + @objc public func presentationWindow(for controller: PassKit.PKPaymentAuthorizationController) -> UIKit.UIWindow? + @frozen public enum PaymentStatus { + case success + case error + case userCancellation + public static func == (a: StripeApplePay.STPApplePayContext.PaymentStatus, b: StripeApplePay.STPApplePayContext.PaymentStatus) -> Swift.Bool + public var hashValue: Swift.Int { + get + } + public func hash(into hasher: inout Swift.Hasher) + } + @objc deinit + @objc override dynamic public init() +} +public typealias STPVoidBlock = () -> Swift.Void +public typealias STPIntentClientSecretCompletionBlock = (Swift.String?, Swift.Error?) -> Swift.Void +extension StripeAPI { + public struct PaymentMethod : StripeCore.StripeDecodable { + public let id: Swift.String + public var created: Foundation.Date? + public var livemode: Swift.Bool + public var type: StripeCore.StripeAPI.PaymentMethod.PaymentMethodType? + @frozen public enum PaymentMethodType : Swift.String, StripeCore.StripeEnumCodable { + case card + case unknown + case unparsable + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + public init?(rawValue: Swift.String) + } + @StripeCore.IncludeUnknownFields public var billingDetails: StripeCore.StripeAPI.BillingDetails? { + get + set + _modify + } + public var customerId: Swift.String? + @StripeCore.IncludeUnknownFields public var card: StripeCore.StripeAPI.PaymentMethod.Card? { + get + set + _modify + } + public struct Card : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var brand: StripeCore.StripeAPI.PaymentMethod.Card.Brand { + get + } + @frozen public enum Brand : Swift.String, StripeCore.StripeEnumCodable { + case visa + case amex + case mastercard + case discover + case jcb + case diners + case unionpay + case unknown + case unparsable + public typealias RawValue = Swift.String + public init?(rawValue: Swift.String) + public var rawValue: Swift.String { + get + } + } + public var country: Swift.String? { + get + } + public var expMonth: Swift.Int { + get + } + public var expYear: Swift.Int { + get + } + public var funding: Swift.String? { + get + } + public var last4: Swift.String? { + get + } + public var fingerprint: Swift.String? { + get + } + @StripeCore.IncludeUnknownFields public var networks: StripeCore.StripeAPI.PaymentMethod.Card.Networks? { + get + } + @StripeCore.IncludeUnknownFields public var threeDSecureUsage: StripeCore.StripeAPI.PaymentMethod.Card.ThreeDSecureUsage? { + get + } + public var wallet: StripeCore.StripeAPI.PaymentMethod.Card.Wallet? { + get + } + public struct Networks : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var available: [Swift.String]? { + get + } + public var preferred: Swift.String? { + get + } + public init(from decoder: Swift.Decoder) throws + } + public struct ThreeDSecureUsage : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var supported: Swift.Bool { + get + } + public init(from decoder: Swift.Decoder) throws + } + public struct Wallet : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var type: StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType { + get + } + public var masterpass: StripeCore.StripeAPI.PaymentMethod.Card.Wallet.Masterpass? { + get + } + public var visaCheckout: StripeCore.StripeAPI.PaymentMethod.Card.Wallet.VisaCheckout? { + get + } + @frozen public enum WalletType : Swift.String, StripeCore.StripeEnumCodable { + case amexExpressCheckout + case applePay + case googlePay + case masterpass + case samsungPay + case visaCheckout + case unknown + case unparsable + public typealias RawValue = Swift.String + public init?(rawValue: Swift.String) + public var rawValue: Swift.String { + get + } + } + public struct Masterpass : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var email: Swift.String? { + get + } + public var name: Swift.String? { + get + } + public var billingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public var shippingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public init(from decoder: Swift.Decoder) throws + } + public struct VisaCheckout : StripeCore.StripeDecodable { + public var email: Swift.String? { + get + } + public var name: Swift.String? { + get + } + public var billingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public var shippingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + } + public init(from decoder: Swift.Decoder) throws + } + public init(from decoder: Swift.Decoder) throws + } + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + } +} +extension StripeApplePay.STPApplePayContext.PaymentStatus : Swift.Equatable {} +extension StripeApplePay.STPApplePayContext.PaymentStatus : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.PaymentMethodType : Swift.Equatable {} +extension StripeCore.StripeAPI.PaymentMethod.PaymentMethodType : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.PaymentMethodType : Swift.RawRepresentable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Brand : Swift.Equatable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Brand : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Brand : Swift.RawRepresentable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType : Swift.Equatable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType : Swift.RawRepresentable {} diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/Modules/module.modulemap b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/Modules/module.modulemap new file mode 100644 index 0000000..19789a9 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module StripeApplePay { + umbrella header "StripeApplePay.h" + + export * + module * { export * } +} + +module StripeApplePay.Swift { + header "StripeApplePay-Swift.h" + requires objc +} diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/Project-Debug.xcconfig b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/Project-Debug.xcconfig new file mode 100644 index 0000000..893a71f --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/Project-Debug.xcconfig @@ -0,0 +1,41 @@ +// +// Project-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Project-Shared.xcconfig" + + +// Strip Debug Symbols During Copy +// +// Activating this setting causes binary files which are copied during the build (e.g., +// in a Copy Bundle Resources or Copy Files build phase) to be stripped of debugging +// symbols. It does not cause the linked product of a target to be stripped (use Strip +// Linked Product for that). + +COPY_PHASE_STRIP = NO + + +GCC_DYNAMIC_NO_PIC = NO + + +GCC_OPTIMIZATION_LEVEL = 0 + + +STP_EXTRA_PREPROCESSOR_MACROS= +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 STRIPE_UNIT_TESTS_ENABLED $(inherited) $(STP_EXTRA_PREPROCESSOR_MACROS) + + +GCC_SYMBOLS_PRIVATE_EXTERN = NO + + +// Build Active Architecture Only +// +// When checked, only the active architecture is built for faster debugging turnaround + +ONLY_ACTIVE_ARCH = YES + + +ENABLE_TESTABILITY = YES diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/Project-Release.xcconfig b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/Project-Release.xcconfig new file mode 100644 index 0000000..7ee2591 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/Project-Release.xcconfig @@ -0,0 +1,33 @@ +// +// Project-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Project-Shared.xcconfig" + + +// Strip Debug Symbols During Copy +// +// Activating this setting causes binary files which are copied during the build (e.g., +// in a Copy Bundle Resources or Copy Files build phase) to be stripped of debugging +// symbols. It does not cause the linked product of a target to be stripped (use Strip +// Linked Product for that). + +COPY_PHASE_STRIP = YES + + +ENABLE_NS_ASSERTIONS = NO + +STP_EXTRA_PREPROCESSOR_MACROS= +GCC_PREPROCESSOR_DEFINITIONS = NDEBUG $(STP_EXTRA_PREPROCESSOR_MACROS) + + +// Validate Built Product +// +// Activating this setting will cause Xcode to perform validation checks on the product +// as part of the build process. + +VALIDATE_PRODUCT = YES + diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/Project-Shared.xcconfig b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/Project-Shared.xcconfig new file mode 100644 index 0000000..3c97646 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/Project-Shared.xcconfig @@ -0,0 +1,169 @@ +// +// Project-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +// Always Search User Paths +// +// If enabled both #include -style and #include "header.h"-style directives +// will search the paths in "User Header Search Paths" before "Header Search Paths", with +// the consequence that user headers (such as your own String.h header) would have +// precedence over system headers when using #include . This is done using the +// -iquote flag for the paths provided in "User Header Search Paths". If disabled and +// your compiler fully supports separate user paths, user headers will only be accessible +// with #include "header.h"-style preprocessor directives. +// +// For backwards compatibility reasons, this setting is enabled by default, but disabling +// it is strongly recommended. + +ALWAYS_SEARCH_USER_PATHS = NO + + +CLANG_ENABLE_CODE_COVERAGE = NO + + +CLANG_ENABLE_OBJC_ARC = YES + + +CLANG_WARN__DUPLICATE_METHOD_MATCH = YES + + +CLANG_WARN_BOOL_CONVERSION = YES + + +CLANG_WARN_CONSTANT_CONVERSION = YES + + +CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES + + +CLANG_WARN_EMPTY_BODY = YES + + +CLANG_WARN_ENUM_CONVERSION = YES + + +CLANG_WARN_INT_CONVERSION = YES + + +CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES + + +CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES + + +CLANG_WARN_UNREACHABLE_CODE = YES + + +CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + + +CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + +// Default value is YES_NONAGGRESSIVE. YES is "Yes, Aggressive" in Xcode 9 UI +CLANG_ANALYZER_NONNULL = YES; + + +CLANG_WARN_INFINITE_RECURSION = YES; + + +CLANG_WARN_SUSPICIOUS_MOVE = YES; + + +ENABLE_STRICT_OBJC_MSGSEND = YES + + +GCC_C_LANGUAGE_STANDARD = gnu99 + + +CLANG_WARN_STRICT_PROTOTYPES = YES + + +CLANG_WARN_RANGE_LOOP_ANALYSIS = YES + + +CLANG_WARN_COMMA = YES + + +CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES + + +// Compiler for C/C++/Objective-C +// +// The compiler to use for C, C++, and Objective-C. + +GCC_VERSION = com.apple.compilers.llvm.clang.1_0 + + +GCC_WARN_64_TO_32_BIT_CONVERSION = YES + + +GCC_WARN_ABOUT_MISSING_NEWLINE = YES + + +GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES + + +GCC_WARN_SIGN_COMPARE = YES + + +GCC_WARN_UNDECLARED_SELECTOR = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES + + +GCC_WARN_UNUSED_FUNCTION = YES + + +GCC_WARN_UNUSED_VARIABLE = YES + + +GCC_NO_COMMON_BLOCKS = YES; + +// Precompiled Header Uses Files From Build Directory +// +// This setting allows for better control of sharing precompiled prefix header files +// between projects. By default, Xcode assumes that the prefix header file may include +// header files from the build directory if the build directory is outside of the project +// directory. (Xcode cannot determine this ahead of time since other projects may not +// have been built into the shared build directory at the time the information is +// needed.) +// +// If your prefix file never includes files from the build directory you may set this to +// "NO" to improve sharing of precompiled headers. If the prefix does use files from a +// build directory which is inside your project directory, you may set this to "YES" to +// avoid unintended sharing that may result in build failures. + +PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = NO + + +// Base SDK +// +// The name or path of the base SDK being used during the build. The product will be +// built against the headers and libraries located inside the indicated SDK. This path +// will be prepended to all search paths, and will be passed through the environment to +// the compiler and linker. Additional SDKs can be specified in the ADDITIONAL_SDKS +// setting. + +SDKROOT = iphoneos + + +WARNING_CFLAGS = -Wall -Wextra -Wundef -Wfloat-equal + +// iOS Deployment Target +// +// Code will load on this and later versions of iOS. Framework APIs that are unavailable +// in earlier versions will be weak-linked; your code should check for null function +// pointers or specific system versions before calling newer APIs. +// + +IPHONEOS_DEPLOYMENT_TARGET = 11.0 + +APPLICATION_EXTENSION_API_ONLY = NO diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/StripeApplePay b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/StripeApplePay new file mode 100755 index 0000000..ab3f5e2 Binary files /dev/null and b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/StripeApplePay differ diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/StripeiOS Tests-Debug.xcconfig b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/StripeiOS Tests-Debug.xcconfig new file mode 100644 index 0000000..d969b04 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/StripeiOS Tests-Debug.xcconfig @@ -0,0 +1,13 @@ +// +// StripeiOS Tests-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +#include "StripeiOS Tests-Shared.xcconfig" + +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited) +DEBUG_INFORMATION_FORMAT = dwarf +SWIFT_ACTIVE_COMPILATION_CONDITIONS[arch=*] = DEBUG $(inherited) diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/StripeiOS Tests-Release.xcconfig b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/StripeiOS Tests-Release.xcconfig new file mode 100644 index 0000000..3b92cfd --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/StripeiOS Tests-Release.xcconfig @@ -0,0 +1,12 @@ +// +// StripeiOS Tests-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS Tests-Shared.xcconfig" + +//********************************************// +//* Currently no build settings in this file *// +//********************************************// diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/StripeiOS Tests-Shared.xcconfig b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/StripeiOS Tests-Shared.xcconfig new file mode 100644 index 0000000..3078777 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/StripeiOS Tests-Shared.xcconfig @@ -0,0 +1,89 @@ +// +// StripeiOS Tests-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +CLANG_CXX_LANGUAGE_STANDARD = gnu++0x + + +CLANG_CXX_LIBRARY = libc++ + + +CLANG_ENABLE_MODULES = YES + + +CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR + + +CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR + + +// Code Signing Identity +// +// The name ("common name") of a valid code-signing certificate in a keychain within your +// keychain path. A missing or invalid certificate will cause a build error. + +CODE_SIGN_IDENTITY = iPhone Developer + + +// Framework Search Paths +// +// This is a list of paths to folders containing frameworks to be searched by the +// compiler for both included or imported header files when compiling C, Objective-C, +// C++, or Objective-C++, and by the linker for frameworks used by the product. Paths are +// delimited by whitespace, so any paths with spaces in them need to be properly quoted. +// [-F] + +FRAMEWORK_SEARCH_PATHS = $(inherited) $(PROJECT_DIR)/Carthage/Build/iOS + +GCC_TREAT_WARNINGS_AS_ERRORS = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR + + +GCC_WARN_SHADOW = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE + +CLANG_WARN_ASSIGN_ENUM = YES +//CLANG_WARN_DOCUMENTATION_COMMENTS = YES not enabled because of errors in FBSnapshotTestCase headers +CLANG_WARN_INFINITE_RECURSION = YES +CLANG_WARN_SUSPICIOUS_MOVE = YES +GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES +GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES +GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES +GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES +GCC_WARN_UNKNOWN_PRAGMAS = YES +GCC_WARN_UNUSED_LABEL = YES +GCC_WARN_UNUSED_PARAMETER = YES + + +// Header Search Paths +// +// This is a list of paths to folders to be searched by the compiler for included or +// imported header files when compiling C, Objective-C, C++, or Objective-C++. Paths are +// delimited by whitespace, so any paths with spaces in them need to be properly quoted. +// [-I] + +HEADER_SEARCH_PATHS = $(inherited) + + +// Runpath Search Paths +// +// This is a list of paths to be added to the runpath search path list for the image +// being created. At runtime, dyld uses the runpath when searching for dylibs whose load +// path begins with '@rpath/'. [-rpath] + +LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @loader_path/Frameworks + + +OTHER_CFLAGS = + +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES + +LIBRARY_SEARCH_PATHS = $(inherited) diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/StripeiOS-Debug.xcconfig b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/StripeiOS-Debug.xcconfig new file mode 100644 index 0000000..99304b4 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/StripeiOS-Debug.xcconfig @@ -0,0 +1,12 @@ +// +// StripeiOS-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS-Shared.xcconfig" + + +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited) +SWIFT_ACTIVE_COMPILATION_CONDITIONS[arch=*] = DEBUG $(inherited) diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/StripeiOS-Release.xcconfig b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/StripeiOS-Release.xcconfig new file mode 100644 index 0000000..3d79290 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/StripeiOS-Release.xcconfig @@ -0,0 +1,10 @@ +// +// StripeiOS-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS-Shared.xcconfig" + +APPLICATION_EXTENSION_API_ONLY = NO diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/StripeiOS-Shared.xcconfig b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/StripeiOS-Shared.xcconfig new file mode 100644 index 0000000..b274c8d --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/StripeiOS-Shared.xcconfig @@ -0,0 +1,159 @@ +// +// StripeiOS-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Version.xcconfig" + +APPLICATION_EXTENSION_API_ONLY = YES + +CLANG_CXX_LANGUAGE_STANDARD = gnu++0x + + +CLANG_CXX_LIBRARY = libc++ + + +CLANG_ENABLE_MODULES = YES + + +CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR + + +CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR + +CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES +CLANG_WARN_INFINITE_RECURSION = YES +CLANG_WARN_SUSPICIOUS_MOVE = YES +CLANG_WARN_ASSIGN_ENUM = YES +CLANG_WARN_DOCUMENTATION_COMMENTS = YES +CLANG_WARN_UNGUARDED_AVAILABILITY = YES + +// Code Signing Identity +// +// The name ("common name") of a valid code-signing certificate in a keychain within your +// keychain path. A missing or invalid certificate will cause a build error. + +CODE_SIGN_IDENTITY[sdk=iphoneos*] = + +// Defines Module +// +// If enabled, the product will be treated as defining its own module. This enables +// automatic production of LLVM module map files when appropriate, and allows the product +// to be imported as a module. + +DEFINES_MODULE = YES + + +// Compatibility Version +// +// Determines the compatibility version of the resulting library, bundle, or framework +// binary. + +DYLIB_COMPATIBILITY_VERSION = 1 + + +// Current Library Version +// +// This setting defines the the current version of any framework built by the project. +// Like "Current Project Version", the value must be an integer or floating point number +// like 57 or 365.8. By default it is set to $(CURRENT_PROJECT_VERSION). + +DYLIB_CURRENT_VERSION = 1 + + +// Dynamic Library Install Name Base +// +// Sets the base value for the internal "install path" (LC_ID_DYLIB) in a dynamic +// library. This will be combined with the EXECUTABLE_PATH to form the full install path. +// Setting LD_DYLIB_INSTALL_NAME directly will override this setting. This setting +// defaults to the target's INSTALL_PATH. It is ignored when building any product other +// than a dynamic library. [-install_name] + +DYLIB_INSTALL_NAME_BASE = @rpath + + +GCC_TREAT_WARNINGS_AS_ERRORS = YES +SWIFT_TREAT_WARNINGS_AS_ERRORS = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR + + +GCC_WARN_SHADOW = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE + +GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES +GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES +GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES +GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES +GCC_WARN_UNKNOWN_PRAGMAS = YES +GCC_WARN_UNUSED_LABEL = YES +GCC_WARN_UNUSED_PARAMETER = YES + + +// Installation Directory +// +// The directory to install the build products in. This path is prepended by the +// 'Installation Build Products Location' (i.e., $(DSTROOT)). + +INSTALL_PATH = $(LOCAL_LIBRARY_DIR)/Frameworks + + +// Runpath Search Paths +// +// This is a list of paths to be added to the runpath search path list for the image +// being created. At runtime, dyld uses the runpath when searching for dylibs whose load +// path begins with '@rpath/'. [-rpath] + +LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @loader_path/Frameworks + + +// Skip Install +// +// Activating this setting when deployment locations are used causes the product to be +// built into an alternative location instead of the install location. + +SKIP_INSTALL = YES + + +// Targeted Device Family +// +// The build system uses the selected device to set the correct value for the +// UIDeviceFamily key it adds to the target's Info.plist file. +// +// iPhone - Application is built for iPhone and iPod touch. +// iPad - Application is built for iPad. +// iPhone/iPad - Application is built Universal for iPhone, iPod touch, and iPad. + +TARGETED_DEVICE_FAMILY = 1,2 + + +// Versioning Name Prefix +// +// Used as a prefix for the name of the version info symbol in the generated versioning +// source file. If you prefix your exported symbols you will probably want to set this +// to the same prefix. + +VERSION_INFO_PREFIX = + + +// Versioning System +// +// Selects the process used for version-stamping generated files. +// +// None - Use no versioning system. [] +// Apple Generic - Use the current project version setting. [apple-generic] + +VERSIONING_SYSTEM = apple-generic + +FRAMEWORK_SEARCH_PATHS = $(inherited) +HEADER_SEARCH_PATHS = $(inherited) + +LIBRARY_SEARCH_PATHS = $(inherited) $(CONFIGURATION_BUILD_DIR) + +// Generate .swiftinterface files +BUILD_LIBRARY_FOR_DISTRIBUTION = YES diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/Version.xcconfig b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/Version.xcconfig new file mode 100644 index 0000000..385e5d1 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64/StripeApplePay.framework/Version.xcconfig @@ -0,0 +1,9 @@ +// +// Version.xcconfig +// +// This file was generated by update_version.sh +// Do not edit this file directly. +// Instead, edit the `VERSION` file and run `ci_scripts/update_version.sh` +// + +CURRENT_PROJECT_VERSION=21.12.0 diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Headers b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Headers new file mode 120000 index 0000000..a177d2a --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Modules b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Modules new file mode 120000 index 0000000..5736f31 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Resources b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Resources new file mode 120000 index 0000000..953ee36 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/StripeApplePay b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/StripeApplePay new file mode 120000 index 0000000..0f06265 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/StripeApplePay @@ -0,0 +1 @@ +Versions/Current/StripeApplePay \ No newline at end of file diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Headers/StripeApplePay-Swift.h b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Headers/StripeApplePay-Swift.h new file mode 100644 index 0000000..29c136f --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Headers/StripeApplePay-Swift.h @@ -0,0 +1,646 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +#ifndef STRIPEAPPLEPAY_SWIFT_H +#define STRIPEAPPLEPAY_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# 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 +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +@import PassKit; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="StripeApplePay",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + + + + + +@class UIViewController; +@class PKPaymentAuthorizationController; +@class PKPayment; +@class PKPaymentAuthorizationResult; +@class PKShippingMethod; +@class PKPaymentRequestShippingMethodUpdate; +@class PKContact; +@class PKPaymentRequestShippingContactUpdate; +@class UIWindow; + +/// A helper class that implements Apple Pay. +/// Usage looks like this: +///
    +///
  1. +/// Initialize this class with a PKPaymentRequest describing the payment request (amount, line items, required shipping info, etc) +///
  2. +///
  3. +/// Call presentApplePayOnViewController:completion: to present the Apple Pay sheet and begin the payment process +/// 3 (optional): If you need to respond to the user changing their shipping information/shipping method, implement the optional delegate methods +///
  4. +///
  5. +/// When the user taps ‘Buy’, this class uses the PaymentIntent that you supply in the applePayContext:didCreatePaymentMethod:completion: delegate method to complete the payment +///
  6. +///
  7. +/// After payment completes/errors and the sheet is dismissed, this class informs you in the applePayContext:didCompleteWithStatus: delegate method +///
  8. +///
+/// seealso: +/// https://stripe.com/docs/apple-pay#native for a full guide +/// seealso: +/// ApplePayExampleViewController for an example +SWIFT_CLASS_NAMED("STPApplePayContext") +@interface _stpinternal_APContextSwift : NSObject +/// Presents the Apple Pay sheet from the specified view controller, starting the payment process. +/// @note This method should only be called once; create a new instance of STPApplePayContext every time you present Apple Pay. +/// @deprecated A presenting UIViewController is no longer needed. Use presentApplePay(completion:) instead. +/// \param viewController The UIViewController instance to present the Apple Pay sheet on +/// +/// \param completion Called after the Apple Pay sheet is presented +/// +- (void)presentApplePayOnViewController:(UIViewController * _Nonnull)viewController completion:(void (^ _Nullable)(void))completion SWIFT_DEPRECATED_MSG("Use `presentApplePay(completion:)` instead.", "presentApplePay(completion:)"); +/// :nodoc: +- (BOOL)respondsToSelector:(SEL _Null_unspecified)aSelector SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)paymentAuthorizationController:(PKPaymentAuthorizationController * _Nonnull)controller didAuthorizePayment:(PKPayment * _Nonnull)payment handler:(void (^ _Nonnull)(PKPaymentAuthorizationResult * _Nonnull))completion; +/// :nodoc: +- (void)paymentAuthorizationController:(PKPaymentAuthorizationController * _Nonnull)controller didSelectShippingMethod:(PKShippingMethod * _Nonnull)shippingMethod handler:(void (^ _Nonnull)(PKPaymentRequestShippingMethodUpdate * _Nonnull))completion; +/// :nodoc: +- (void)paymentAuthorizationController:(PKPaymentAuthorizationController * _Nonnull)controller didSelectShippingContact:(PKContact * _Nonnull)contact handler:(void (^ _Nonnull)(PKPaymentRequestShippingContactUpdate * _Nonnull))completion; +/// :nodoc: +- (void)paymentAuthorizationControllerDidFinish:(PKPaymentAuthorizationController * _Nonnull)controller; +- (UIWindow * _Nullable)presentationWindowForPaymentAuthorizationController:(PKPaymentAuthorizationController * _Nonnull)controller SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +SWIFT_CLASS("_TtC14StripeApplePay18STPTelemetryClient") +@interface STPTelemetryClient : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +/// Internal Apple Pay class. Do not use. +/// :nodoc: +SWIFT_CLASS("_TtC14StripeApplePay46_stpinternal_ApplePayContextDidCompleteStorage") +@interface _stpinternal_ApplePayContextDidCompleteStorage : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// Internal Apple Pay class. Do not use. +/// :nodoc: +SWIFT_CLASS("_TtC14StripeApplePay57_stpinternal_ApplePayContextDidCreatePaymentMethodStorage") +@interface _stpinternal_ApplePayContextDidCreatePaymentMethodStorage : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// :nodoc: +SWIFT_PROTOCOL("_TtP14StripeApplePay43_stpinternal_STPApplePayContextDelegateBase_") +@protocol _stpinternal_STPApplePayContextDelegateBase +@optional +/// Called when the user selects a new shipping method. The delegate should determine +/// shipping costs based on the shipping method and either the shipping address supplied in the original +/// PKPaymentRequest or the address fragment provided by the last call to paymentAuthorizationController: +/// didSelectShippingContact:completion:. +/// You must invoke the completion block with an updated array of PKPaymentSummaryItem objects. +- (void)applePayContext:(_stpinternal_APContextSwift * _Nonnull)context didSelectShippingMethod:(PKShippingMethod * _Nonnull)shippingMethod handler:(void (^ _Nonnull)(PKPaymentRequestShippingMethodUpdate * _Nonnull))handler; +/// Called when the user has selected a new shipping address. You should inspect the +/// address and must invoke the completion block with an updated array of PKPaymentSummaryItem objects. +/// @note To maintain privacy, the shipping information is anonymized. For example, in the United States it only includes the city, state, and zip code. This provides enough information to calculate shipping costs, without revealing sensitive information until the user actually approves the purchase. +/// Receive full shipping information in the paymentInformation passed to applePayContext:didCreatePaymentMethod:paymentInformation:completion: +- (void)applePayContext:(_stpinternal_APContextSwift * _Nonnull)context didSelectShippingContact:(PKContact * _Nonnull)contact handler:(void (^ _Nonnull)(PKPaymentRequestShippingContactUpdate * _Nonnull))handler; +@end + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +#ifndef STRIPEAPPLEPAY_SWIFT_H +#define STRIPEAPPLEPAY_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# 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 +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +@import PassKit; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="StripeApplePay",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + + + + + +@class UIViewController; +@class PKPaymentAuthorizationController; +@class PKPayment; +@class PKPaymentAuthorizationResult; +@class PKShippingMethod; +@class PKPaymentRequestShippingMethodUpdate; +@class PKContact; +@class PKPaymentRequestShippingContactUpdate; +@class UIWindow; + +/// A helper class that implements Apple Pay. +/// Usage looks like this: +///
    +///
  1. +/// Initialize this class with a PKPaymentRequest describing the payment request (amount, line items, required shipping info, etc) +///
  2. +///
  3. +/// Call presentApplePayOnViewController:completion: to present the Apple Pay sheet and begin the payment process +/// 3 (optional): If you need to respond to the user changing their shipping information/shipping method, implement the optional delegate methods +///
  4. +///
  5. +/// When the user taps ‘Buy’, this class uses the PaymentIntent that you supply in the applePayContext:didCreatePaymentMethod:completion: delegate method to complete the payment +///
  6. +///
  7. +/// After payment completes/errors and the sheet is dismissed, this class informs you in the applePayContext:didCompleteWithStatus: delegate method +///
  8. +///
+/// seealso: +/// https://stripe.com/docs/apple-pay#native for a full guide +/// seealso: +/// ApplePayExampleViewController for an example +SWIFT_CLASS_NAMED("STPApplePayContext") +@interface _stpinternal_APContextSwift : NSObject +/// Presents the Apple Pay sheet from the specified view controller, starting the payment process. +/// @note This method should only be called once; create a new instance of STPApplePayContext every time you present Apple Pay. +/// @deprecated A presenting UIViewController is no longer needed. Use presentApplePay(completion:) instead. +/// \param viewController The UIViewController instance to present the Apple Pay sheet on +/// +/// \param completion Called after the Apple Pay sheet is presented +/// +- (void)presentApplePayOnViewController:(UIViewController * _Nonnull)viewController completion:(void (^ _Nullable)(void))completion SWIFT_DEPRECATED_MSG("Use `presentApplePay(completion:)` instead.", "presentApplePay(completion:)"); +/// :nodoc: +- (BOOL)respondsToSelector:(SEL _Null_unspecified)aSelector SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)paymentAuthorizationController:(PKPaymentAuthorizationController * _Nonnull)controller didAuthorizePayment:(PKPayment * _Nonnull)payment handler:(void (^ _Nonnull)(PKPaymentAuthorizationResult * _Nonnull))completion; +/// :nodoc: +- (void)paymentAuthorizationController:(PKPaymentAuthorizationController * _Nonnull)controller didSelectShippingMethod:(PKShippingMethod * _Nonnull)shippingMethod handler:(void (^ _Nonnull)(PKPaymentRequestShippingMethodUpdate * _Nonnull))completion; +/// :nodoc: +- (void)paymentAuthorizationController:(PKPaymentAuthorizationController * _Nonnull)controller didSelectShippingContact:(PKContact * _Nonnull)contact handler:(void (^ _Nonnull)(PKPaymentRequestShippingContactUpdate * _Nonnull))completion; +/// :nodoc: +- (void)paymentAuthorizationControllerDidFinish:(PKPaymentAuthorizationController * _Nonnull)controller; +- (UIWindow * _Nullable)presentationWindowForPaymentAuthorizationController:(PKPaymentAuthorizationController * _Nonnull)controller SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +SWIFT_CLASS("_TtC14StripeApplePay18STPTelemetryClient") +@interface STPTelemetryClient : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +/// Internal Apple Pay class. Do not use. +/// :nodoc: +SWIFT_CLASS("_TtC14StripeApplePay46_stpinternal_ApplePayContextDidCompleteStorage") +@interface _stpinternal_ApplePayContextDidCompleteStorage : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// Internal Apple Pay class. Do not use. +/// :nodoc: +SWIFT_CLASS("_TtC14StripeApplePay57_stpinternal_ApplePayContextDidCreatePaymentMethodStorage") +@interface _stpinternal_ApplePayContextDidCreatePaymentMethodStorage : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// :nodoc: +SWIFT_PROTOCOL("_TtP14StripeApplePay43_stpinternal_STPApplePayContextDelegateBase_") +@protocol _stpinternal_STPApplePayContextDelegateBase +@optional +/// Called when the user selects a new shipping method. The delegate should determine +/// shipping costs based on the shipping method and either the shipping address supplied in the original +/// PKPaymentRequest or the address fragment provided by the last call to paymentAuthorizationController: +/// didSelectShippingContact:completion:. +/// You must invoke the completion block with an updated array of PKPaymentSummaryItem objects. +- (void)applePayContext:(_stpinternal_APContextSwift * _Nonnull)context didSelectShippingMethod:(PKShippingMethod * _Nonnull)shippingMethod handler:(void (^ _Nonnull)(PKPaymentRequestShippingMethodUpdate * _Nonnull))handler; +/// Called when the user has selected a new shipping address. You should inspect the +/// address and must invoke the completion block with an updated array of PKPaymentSummaryItem objects. +/// @note To maintain privacy, the shipping information is anonymized. For example, in the United States it only includes the city, state, and zip code. This provides enough information to calculate shipping costs, without revealing sensitive information until the user actually approves the purchase. +/// Receive full shipping information in the paymentInformation passed to applePayContext:didCreatePaymentMethod:paymentInformation:completion: +- (void)applePayContext:(_stpinternal_APContextSwift * _Nonnull)context didSelectShippingContact:(PKContact * _Nonnull)contact handler:(void (^ _Nonnull)(PKPaymentRequestShippingContactUpdate * _Nonnull))handler; +@end + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Headers/StripeApplePay.h b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Headers/StripeApplePay.h new file mode 100644 index 0000000..e6b9e0f --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Headers/StripeApplePay.h @@ -0,0 +1,18 @@ +// +// StripeApplePay.h +// StripeApplePay +// +// Created by David Estes on 11/8/21. +// + +#import + +//! Project version number for StripeApplePay. +FOUNDATION_EXPORT double StripeApplePayVersionNumber; + +//! Project version string for StripeApplePay. +FOUNDATION_EXPORT const unsigned char StripeApplePayVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Modules/StripeApplePay.swiftmodule/arm64-apple-ios-macabi.swiftdoc b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Modules/StripeApplePay.swiftmodule/arm64-apple-ios-macabi.swiftdoc new file mode 100644 index 0000000..0807206 Binary files /dev/null and b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Modules/StripeApplePay.swiftmodule/arm64-apple-ios-macabi.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Modules/StripeApplePay.swiftmodule/arm64-apple-ios-macabi.swiftinterface b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Modules/StripeApplePay.swiftmodule/arm64-apple-ios-macabi.swiftinterface new file mode 100644 index 0000000..f45ff05 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Modules/StripeApplePay.swiftmodule/arm64-apple-ios-macabi.swiftinterface @@ -0,0 +1,249 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeApplePay +import Foundation +import ObjectiveC +import PassKit +@_exported import StripeApplePay +@_exported import StripeCore +import Swift +import UIKit +extension STPAPIClient { + public class func pkPaymentError(forStripeError stripeError: Swift.Error?) -> Swift.Error? +} +extension StripeAPI { + public struct BillingDetails : StripeCore.StripeCodable { + @StripeCore.IncludeUnknownFields public var address: StripeCore.StripeAPI.BillingDetails.Address? { + get + set + _modify + } + public struct Address : StripeCore.StripeCodable { + public var line1: Swift.String? + public var line2: Swift.String? + public var city: Swift.String? + public var state: Swift.String? + public var postalCode: Swift.String? + public var country: Swift.String? + public var _additionalParametersStorage: StripeCore.NonEncodableParameters? + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws + } + public var email: Swift.String? + public var name: Swift.String? + public var phone: Swift.String? + public var _additionalParametersStorage: StripeCore.NonEncodableParameters? + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws + } +} +@objc public protocol _stpinternal_STPApplePayContextDelegateBase : ObjectiveC.NSObjectProtocol { + @objc(applePayContext:didSelectShippingMethod:handler:) optional func applePayContext(_ context: StripeApplePay.STPApplePayContext, didSelect shippingMethod: PassKit.PKShippingMethod, handler: @escaping (PassKit.PKPaymentRequestShippingMethodUpdate) -> Swift.Void) + @objc optional func applePayContext(_ context: StripeApplePay.STPApplePayContext, didSelectShippingContact contact: PassKit.PKContact, handler: @escaping (PassKit.PKPaymentRequestShippingContactUpdate) -> Swift.Void) +} +public protocol ApplePayContextDelegate : StripeApplePay._stpinternal_STPApplePayContextDelegateBase { + func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCreatePaymentMethod paymentMethod: StripeCore.StripeAPI.PaymentMethod, paymentInformation: PassKit.PKPayment, completion: @escaping StripeApplePay.STPIntentClientSecretCompletionBlock) + func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCompleteWith status: StripeApplePay.STPApplePayContext.PaymentStatus, error: Swift.Error?) +} +@objc(_stpinternal_APContextSwift) public class STPApplePayContext : ObjectiveC.NSObject, PassKit.PKPaymentAuthorizationControllerDelegate { + required public init?(paymentRequest: PassKit.PKPaymentRequest, delegate: StripeApplePay._stpinternal_STPApplePayContextDelegateBase?) + required public init?(paymentRequest: PassKit.PKPaymentRequest, delegate: StripeApplePay.ApplePayContextDelegate) + @available(iOSApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + @available(macCatalystApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + public func presentApplePay(completion: StripeApplePay.STPVoidBlock? = nil) + public func presentApplePay(from window: UIKit.UIWindow?, completion: StripeApplePay.STPVoidBlock? = nil) + @available(*, deprecated, renamed: "presentApplePay(completion:)", message: "Use `presentApplePay(completion:)` instead.") + @objc(presentApplePayOnViewController:completion:) public func presentApplePay(on viewController: UIKit.UIViewController, completion: StripeApplePay.STPVoidBlock? = nil) + public var apiClient: StripeCore.STPAPIClient + @objc override dynamic public func responds(to aSelector: ObjectiveC.Selector!) -> Swift.Bool + @objc public func paymentAuthorizationController(_ controller: PassKit.PKPaymentAuthorizationController, didAuthorizePayment payment: PassKit.PKPayment, handler completion: @escaping (PassKit.PKPaymentAuthorizationResult) -> Swift.Void) + @objc public func paymentAuthorizationController(_ controller: PassKit.PKPaymentAuthorizationController, didSelectShippingMethod shippingMethod: PassKit.PKShippingMethod, handler completion: @escaping (PassKit.PKPaymentRequestShippingMethodUpdate) -> Swift.Void) + @objc public func paymentAuthorizationController(_ controller: PassKit.PKPaymentAuthorizationController, didSelectShippingContact contact: PassKit.PKContact, handler completion: @escaping (PassKit.PKPaymentRequestShippingContactUpdate) -> Swift.Void) + @objc public func paymentAuthorizationControllerDidFinish(_ controller: PassKit.PKPaymentAuthorizationController) + @objc public func presentationWindow(for controller: PassKit.PKPaymentAuthorizationController) -> UIKit.UIWindow? + @frozen public enum PaymentStatus { + case success + case error + case userCancellation + public static func == (a: StripeApplePay.STPApplePayContext.PaymentStatus, b: StripeApplePay.STPApplePayContext.PaymentStatus) -> Swift.Bool + public var hashValue: Swift.Int { + get + } + public func hash(into hasher: inout Swift.Hasher) + } + @objc deinit + @objc override dynamic public init() +} +public typealias STPVoidBlock = () -> Swift.Void +public typealias STPIntentClientSecretCompletionBlock = (Swift.String?, Swift.Error?) -> Swift.Void +extension StripeAPI { + public struct PaymentMethod : StripeCore.StripeDecodable { + public let id: Swift.String + public var created: Foundation.Date? + public var livemode: Swift.Bool + public var type: StripeCore.StripeAPI.PaymentMethod.PaymentMethodType? + @frozen public enum PaymentMethodType : Swift.String, StripeCore.StripeEnumCodable { + case card + case unknown + case unparsable + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + public init?(rawValue: Swift.String) + } + @StripeCore.IncludeUnknownFields public var billingDetails: StripeCore.StripeAPI.BillingDetails? { + get + set + _modify + } + public var customerId: Swift.String? + @StripeCore.IncludeUnknownFields public var card: StripeCore.StripeAPI.PaymentMethod.Card? { + get + set + _modify + } + public struct Card : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var brand: StripeCore.StripeAPI.PaymentMethod.Card.Brand { + get + } + @frozen public enum Brand : Swift.String, StripeCore.StripeEnumCodable { + case visa + case amex + case mastercard + case discover + case jcb + case diners + case unionpay + case unknown + case unparsable + public typealias RawValue = Swift.String + public init?(rawValue: Swift.String) + public var rawValue: Swift.String { + get + } + } + public var country: Swift.String? { + get + } + public var expMonth: Swift.Int { + get + } + public var expYear: Swift.Int { + get + } + public var funding: Swift.String? { + get + } + public var last4: Swift.String? { + get + } + public var fingerprint: Swift.String? { + get + } + @StripeCore.IncludeUnknownFields public var networks: StripeCore.StripeAPI.PaymentMethod.Card.Networks? { + get + } + @StripeCore.IncludeUnknownFields public var threeDSecureUsage: StripeCore.StripeAPI.PaymentMethod.Card.ThreeDSecureUsage? { + get + } + public var wallet: StripeCore.StripeAPI.PaymentMethod.Card.Wallet? { + get + } + public struct Networks : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var available: [Swift.String]? { + get + } + public var preferred: Swift.String? { + get + } + public init(from decoder: Swift.Decoder) throws + } + public struct ThreeDSecureUsage : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var supported: Swift.Bool { + get + } + public init(from decoder: Swift.Decoder) throws + } + public struct Wallet : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var type: StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType { + get + } + public var masterpass: StripeCore.StripeAPI.PaymentMethod.Card.Wallet.Masterpass? { + get + } + public var visaCheckout: StripeCore.StripeAPI.PaymentMethod.Card.Wallet.VisaCheckout? { + get + } + @frozen public enum WalletType : Swift.String, StripeCore.StripeEnumCodable { + case amexExpressCheckout + case applePay + case googlePay + case masterpass + case samsungPay + case visaCheckout + case unknown + case unparsable + public typealias RawValue = Swift.String + public init?(rawValue: Swift.String) + public var rawValue: Swift.String { + get + } + } + public struct Masterpass : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var email: Swift.String? { + get + } + public var name: Swift.String? { + get + } + public var billingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public var shippingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public init(from decoder: Swift.Decoder) throws + } + public struct VisaCheckout : StripeCore.StripeDecodable { + public var email: Swift.String? { + get + } + public var name: Swift.String? { + get + } + public var billingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public var shippingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + } + public init(from decoder: Swift.Decoder) throws + } + public init(from decoder: Swift.Decoder) throws + } + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + } +} +extension StripeApplePay.STPApplePayContext.PaymentStatus : Swift.Equatable {} +extension StripeApplePay.STPApplePayContext.PaymentStatus : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.PaymentMethodType : Swift.Equatable {} +extension StripeCore.StripeAPI.PaymentMethod.PaymentMethodType : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.PaymentMethodType : Swift.RawRepresentable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Brand : Swift.Equatable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Brand : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Brand : Swift.RawRepresentable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType : Swift.Equatable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType : Swift.RawRepresentable {} diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Modules/StripeApplePay.swiftmodule/arm64.swiftdoc b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Modules/StripeApplePay.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..0807206 Binary files /dev/null and b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Modules/StripeApplePay.swiftmodule/arm64.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Modules/StripeApplePay.swiftmodule/arm64.swiftinterface b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Modules/StripeApplePay.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..f45ff05 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Modules/StripeApplePay.swiftmodule/arm64.swiftinterface @@ -0,0 +1,249 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeApplePay +import Foundation +import ObjectiveC +import PassKit +@_exported import StripeApplePay +@_exported import StripeCore +import Swift +import UIKit +extension STPAPIClient { + public class func pkPaymentError(forStripeError stripeError: Swift.Error?) -> Swift.Error? +} +extension StripeAPI { + public struct BillingDetails : StripeCore.StripeCodable { + @StripeCore.IncludeUnknownFields public var address: StripeCore.StripeAPI.BillingDetails.Address? { + get + set + _modify + } + public struct Address : StripeCore.StripeCodable { + public var line1: Swift.String? + public var line2: Swift.String? + public var city: Swift.String? + public var state: Swift.String? + public var postalCode: Swift.String? + public var country: Swift.String? + public var _additionalParametersStorage: StripeCore.NonEncodableParameters? + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws + } + public var email: Swift.String? + public var name: Swift.String? + public var phone: Swift.String? + public var _additionalParametersStorage: StripeCore.NonEncodableParameters? + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws + } +} +@objc public protocol _stpinternal_STPApplePayContextDelegateBase : ObjectiveC.NSObjectProtocol { + @objc(applePayContext:didSelectShippingMethod:handler:) optional func applePayContext(_ context: StripeApplePay.STPApplePayContext, didSelect shippingMethod: PassKit.PKShippingMethod, handler: @escaping (PassKit.PKPaymentRequestShippingMethodUpdate) -> Swift.Void) + @objc optional func applePayContext(_ context: StripeApplePay.STPApplePayContext, didSelectShippingContact contact: PassKit.PKContact, handler: @escaping (PassKit.PKPaymentRequestShippingContactUpdate) -> Swift.Void) +} +public protocol ApplePayContextDelegate : StripeApplePay._stpinternal_STPApplePayContextDelegateBase { + func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCreatePaymentMethod paymentMethod: StripeCore.StripeAPI.PaymentMethod, paymentInformation: PassKit.PKPayment, completion: @escaping StripeApplePay.STPIntentClientSecretCompletionBlock) + func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCompleteWith status: StripeApplePay.STPApplePayContext.PaymentStatus, error: Swift.Error?) +} +@objc(_stpinternal_APContextSwift) public class STPApplePayContext : ObjectiveC.NSObject, PassKit.PKPaymentAuthorizationControllerDelegate { + required public init?(paymentRequest: PassKit.PKPaymentRequest, delegate: StripeApplePay._stpinternal_STPApplePayContextDelegateBase?) + required public init?(paymentRequest: PassKit.PKPaymentRequest, delegate: StripeApplePay.ApplePayContextDelegate) + @available(iOSApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + @available(macCatalystApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + public func presentApplePay(completion: StripeApplePay.STPVoidBlock? = nil) + public func presentApplePay(from window: UIKit.UIWindow?, completion: StripeApplePay.STPVoidBlock? = nil) + @available(*, deprecated, renamed: "presentApplePay(completion:)", message: "Use `presentApplePay(completion:)` instead.") + @objc(presentApplePayOnViewController:completion:) public func presentApplePay(on viewController: UIKit.UIViewController, completion: StripeApplePay.STPVoidBlock? = nil) + public var apiClient: StripeCore.STPAPIClient + @objc override dynamic public func responds(to aSelector: ObjectiveC.Selector!) -> Swift.Bool + @objc public func paymentAuthorizationController(_ controller: PassKit.PKPaymentAuthorizationController, didAuthorizePayment payment: PassKit.PKPayment, handler completion: @escaping (PassKit.PKPaymentAuthorizationResult) -> Swift.Void) + @objc public func paymentAuthorizationController(_ controller: PassKit.PKPaymentAuthorizationController, didSelectShippingMethod shippingMethod: PassKit.PKShippingMethod, handler completion: @escaping (PassKit.PKPaymentRequestShippingMethodUpdate) -> Swift.Void) + @objc public func paymentAuthorizationController(_ controller: PassKit.PKPaymentAuthorizationController, didSelectShippingContact contact: PassKit.PKContact, handler completion: @escaping (PassKit.PKPaymentRequestShippingContactUpdate) -> Swift.Void) + @objc public func paymentAuthorizationControllerDidFinish(_ controller: PassKit.PKPaymentAuthorizationController) + @objc public func presentationWindow(for controller: PassKit.PKPaymentAuthorizationController) -> UIKit.UIWindow? + @frozen public enum PaymentStatus { + case success + case error + case userCancellation + public static func == (a: StripeApplePay.STPApplePayContext.PaymentStatus, b: StripeApplePay.STPApplePayContext.PaymentStatus) -> Swift.Bool + public var hashValue: Swift.Int { + get + } + public func hash(into hasher: inout Swift.Hasher) + } + @objc deinit + @objc override dynamic public init() +} +public typealias STPVoidBlock = () -> Swift.Void +public typealias STPIntentClientSecretCompletionBlock = (Swift.String?, Swift.Error?) -> Swift.Void +extension StripeAPI { + public struct PaymentMethod : StripeCore.StripeDecodable { + public let id: Swift.String + public var created: Foundation.Date? + public var livemode: Swift.Bool + public var type: StripeCore.StripeAPI.PaymentMethod.PaymentMethodType? + @frozen public enum PaymentMethodType : Swift.String, StripeCore.StripeEnumCodable { + case card + case unknown + case unparsable + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + public init?(rawValue: Swift.String) + } + @StripeCore.IncludeUnknownFields public var billingDetails: StripeCore.StripeAPI.BillingDetails? { + get + set + _modify + } + public var customerId: Swift.String? + @StripeCore.IncludeUnknownFields public var card: StripeCore.StripeAPI.PaymentMethod.Card? { + get + set + _modify + } + public struct Card : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var brand: StripeCore.StripeAPI.PaymentMethod.Card.Brand { + get + } + @frozen public enum Brand : Swift.String, StripeCore.StripeEnumCodable { + case visa + case amex + case mastercard + case discover + case jcb + case diners + case unionpay + case unknown + case unparsable + public typealias RawValue = Swift.String + public init?(rawValue: Swift.String) + public var rawValue: Swift.String { + get + } + } + public var country: Swift.String? { + get + } + public var expMonth: Swift.Int { + get + } + public var expYear: Swift.Int { + get + } + public var funding: Swift.String? { + get + } + public var last4: Swift.String? { + get + } + public var fingerprint: Swift.String? { + get + } + @StripeCore.IncludeUnknownFields public var networks: StripeCore.StripeAPI.PaymentMethod.Card.Networks? { + get + } + @StripeCore.IncludeUnknownFields public var threeDSecureUsage: StripeCore.StripeAPI.PaymentMethod.Card.ThreeDSecureUsage? { + get + } + public var wallet: StripeCore.StripeAPI.PaymentMethod.Card.Wallet? { + get + } + public struct Networks : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var available: [Swift.String]? { + get + } + public var preferred: Swift.String? { + get + } + public init(from decoder: Swift.Decoder) throws + } + public struct ThreeDSecureUsage : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var supported: Swift.Bool { + get + } + public init(from decoder: Swift.Decoder) throws + } + public struct Wallet : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var type: StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType { + get + } + public var masterpass: StripeCore.StripeAPI.PaymentMethod.Card.Wallet.Masterpass? { + get + } + public var visaCheckout: StripeCore.StripeAPI.PaymentMethod.Card.Wallet.VisaCheckout? { + get + } + @frozen public enum WalletType : Swift.String, StripeCore.StripeEnumCodable { + case amexExpressCheckout + case applePay + case googlePay + case masterpass + case samsungPay + case visaCheckout + case unknown + case unparsable + public typealias RawValue = Swift.String + public init?(rawValue: Swift.String) + public var rawValue: Swift.String { + get + } + } + public struct Masterpass : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var email: Swift.String? { + get + } + public var name: Swift.String? { + get + } + public var billingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public var shippingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public init(from decoder: Swift.Decoder) throws + } + public struct VisaCheckout : StripeCore.StripeDecodable { + public var email: Swift.String? { + get + } + public var name: Swift.String? { + get + } + public var billingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public var shippingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + } + public init(from decoder: Swift.Decoder) throws + } + public init(from decoder: Swift.Decoder) throws + } + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + } +} +extension StripeApplePay.STPApplePayContext.PaymentStatus : Swift.Equatable {} +extension StripeApplePay.STPApplePayContext.PaymentStatus : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.PaymentMethodType : Swift.Equatable {} +extension StripeCore.StripeAPI.PaymentMethod.PaymentMethodType : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.PaymentMethodType : Swift.RawRepresentable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Brand : Swift.Equatable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Brand : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Brand : Swift.RawRepresentable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType : Swift.Equatable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType : Swift.RawRepresentable {} diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Modules/StripeApplePay.swiftmodule/x86_64-apple-ios-macabi.swiftdoc b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Modules/StripeApplePay.swiftmodule/x86_64-apple-ios-macabi.swiftdoc new file mode 100644 index 0000000..a38e2fa Binary files /dev/null and b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Modules/StripeApplePay.swiftmodule/x86_64-apple-ios-macabi.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Modules/StripeApplePay.swiftmodule/x86_64-apple-ios-macabi.swiftinterface b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Modules/StripeApplePay.swiftmodule/x86_64-apple-ios-macabi.swiftinterface new file mode 100644 index 0000000..213ea36 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Modules/StripeApplePay.swiftmodule/x86_64-apple-ios-macabi.swiftinterface @@ -0,0 +1,249 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target x86_64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeApplePay +import Foundation +import ObjectiveC +import PassKit +@_exported import StripeApplePay +@_exported import StripeCore +import Swift +import UIKit +extension STPAPIClient { + public class func pkPaymentError(forStripeError stripeError: Swift.Error?) -> Swift.Error? +} +extension StripeAPI { + public struct BillingDetails : StripeCore.StripeCodable { + @StripeCore.IncludeUnknownFields public var address: StripeCore.StripeAPI.BillingDetails.Address? { + get + set + _modify + } + public struct Address : StripeCore.StripeCodable { + public var line1: Swift.String? + public var line2: Swift.String? + public var city: Swift.String? + public var state: Swift.String? + public var postalCode: Swift.String? + public var country: Swift.String? + public var _additionalParametersStorage: StripeCore.NonEncodableParameters? + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws + } + public var email: Swift.String? + public var name: Swift.String? + public var phone: Swift.String? + public var _additionalParametersStorage: StripeCore.NonEncodableParameters? + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws + } +} +@objc public protocol _stpinternal_STPApplePayContextDelegateBase : ObjectiveC.NSObjectProtocol { + @objc(applePayContext:didSelectShippingMethod:handler:) optional func applePayContext(_ context: StripeApplePay.STPApplePayContext, didSelect shippingMethod: PassKit.PKShippingMethod, handler: @escaping (PassKit.PKPaymentRequestShippingMethodUpdate) -> Swift.Void) + @objc optional func applePayContext(_ context: StripeApplePay.STPApplePayContext, didSelectShippingContact contact: PassKit.PKContact, handler: @escaping (PassKit.PKPaymentRequestShippingContactUpdate) -> Swift.Void) +} +public protocol ApplePayContextDelegate : StripeApplePay._stpinternal_STPApplePayContextDelegateBase { + func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCreatePaymentMethod paymentMethod: StripeCore.StripeAPI.PaymentMethod, paymentInformation: PassKit.PKPayment, completion: @escaping StripeApplePay.STPIntentClientSecretCompletionBlock) + func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCompleteWith status: StripeApplePay.STPApplePayContext.PaymentStatus, error: Swift.Error?) +} +@objc(_stpinternal_APContextSwift) public class STPApplePayContext : ObjectiveC.NSObject, PassKit.PKPaymentAuthorizationControllerDelegate { + required public init?(paymentRequest: PassKit.PKPaymentRequest, delegate: StripeApplePay._stpinternal_STPApplePayContextDelegateBase?) + required public init?(paymentRequest: PassKit.PKPaymentRequest, delegate: StripeApplePay.ApplePayContextDelegate) + @available(iOSApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + @available(macCatalystApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + public func presentApplePay(completion: StripeApplePay.STPVoidBlock? = nil) + public func presentApplePay(from window: UIKit.UIWindow?, completion: StripeApplePay.STPVoidBlock? = nil) + @available(*, deprecated, renamed: "presentApplePay(completion:)", message: "Use `presentApplePay(completion:)` instead.") + @objc(presentApplePayOnViewController:completion:) public func presentApplePay(on viewController: UIKit.UIViewController, completion: StripeApplePay.STPVoidBlock? = nil) + public var apiClient: StripeCore.STPAPIClient + @objc override dynamic public func responds(to aSelector: ObjectiveC.Selector!) -> Swift.Bool + @objc public func paymentAuthorizationController(_ controller: PassKit.PKPaymentAuthorizationController, didAuthorizePayment payment: PassKit.PKPayment, handler completion: @escaping (PassKit.PKPaymentAuthorizationResult) -> Swift.Void) + @objc public func paymentAuthorizationController(_ controller: PassKit.PKPaymentAuthorizationController, didSelectShippingMethod shippingMethod: PassKit.PKShippingMethod, handler completion: @escaping (PassKit.PKPaymentRequestShippingMethodUpdate) -> Swift.Void) + @objc public func paymentAuthorizationController(_ controller: PassKit.PKPaymentAuthorizationController, didSelectShippingContact contact: PassKit.PKContact, handler completion: @escaping (PassKit.PKPaymentRequestShippingContactUpdate) -> Swift.Void) + @objc public func paymentAuthorizationControllerDidFinish(_ controller: PassKit.PKPaymentAuthorizationController) + @objc public func presentationWindow(for controller: PassKit.PKPaymentAuthorizationController) -> UIKit.UIWindow? + @frozen public enum PaymentStatus { + case success + case error + case userCancellation + public static func == (a: StripeApplePay.STPApplePayContext.PaymentStatus, b: StripeApplePay.STPApplePayContext.PaymentStatus) -> Swift.Bool + public var hashValue: Swift.Int { + get + } + public func hash(into hasher: inout Swift.Hasher) + } + @objc deinit + @objc override dynamic public init() +} +public typealias STPVoidBlock = () -> Swift.Void +public typealias STPIntentClientSecretCompletionBlock = (Swift.String?, Swift.Error?) -> Swift.Void +extension StripeAPI { + public struct PaymentMethod : StripeCore.StripeDecodable { + public let id: Swift.String + public var created: Foundation.Date? + public var livemode: Swift.Bool + public var type: StripeCore.StripeAPI.PaymentMethod.PaymentMethodType? + @frozen public enum PaymentMethodType : Swift.String, StripeCore.StripeEnumCodable { + case card + case unknown + case unparsable + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + public init?(rawValue: Swift.String) + } + @StripeCore.IncludeUnknownFields public var billingDetails: StripeCore.StripeAPI.BillingDetails? { + get + set + _modify + } + public var customerId: Swift.String? + @StripeCore.IncludeUnknownFields public var card: StripeCore.StripeAPI.PaymentMethod.Card? { + get + set + _modify + } + public struct Card : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var brand: StripeCore.StripeAPI.PaymentMethod.Card.Brand { + get + } + @frozen public enum Brand : Swift.String, StripeCore.StripeEnumCodable { + case visa + case amex + case mastercard + case discover + case jcb + case diners + case unionpay + case unknown + case unparsable + public typealias RawValue = Swift.String + public init?(rawValue: Swift.String) + public var rawValue: Swift.String { + get + } + } + public var country: Swift.String? { + get + } + public var expMonth: Swift.Int { + get + } + public var expYear: Swift.Int { + get + } + public var funding: Swift.String? { + get + } + public var last4: Swift.String? { + get + } + public var fingerprint: Swift.String? { + get + } + @StripeCore.IncludeUnknownFields public var networks: StripeCore.StripeAPI.PaymentMethod.Card.Networks? { + get + } + @StripeCore.IncludeUnknownFields public var threeDSecureUsage: StripeCore.StripeAPI.PaymentMethod.Card.ThreeDSecureUsage? { + get + } + public var wallet: StripeCore.StripeAPI.PaymentMethod.Card.Wallet? { + get + } + public struct Networks : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var available: [Swift.String]? { + get + } + public var preferred: Swift.String? { + get + } + public init(from decoder: Swift.Decoder) throws + } + public struct ThreeDSecureUsage : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var supported: Swift.Bool { + get + } + public init(from decoder: Swift.Decoder) throws + } + public struct Wallet : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var type: StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType { + get + } + public var masterpass: StripeCore.StripeAPI.PaymentMethod.Card.Wallet.Masterpass? { + get + } + public var visaCheckout: StripeCore.StripeAPI.PaymentMethod.Card.Wallet.VisaCheckout? { + get + } + @frozen public enum WalletType : Swift.String, StripeCore.StripeEnumCodable { + case amexExpressCheckout + case applePay + case googlePay + case masterpass + case samsungPay + case visaCheckout + case unknown + case unparsable + public typealias RawValue = Swift.String + public init?(rawValue: Swift.String) + public var rawValue: Swift.String { + get + } + } + public struct Masterpass : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var email: Swift.String? { + get + } + public var name: Swift.String? { + get + } + public var billingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public var shippingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public init(from decoder: Swift.Decoder) throws + } + public struct VisaCheckout : StripeCore.StripeDecodable { + public var email: Swift.String? { + get + } + public var name: Swift.String? { + get + } + public var billingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public var shippingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + } + public init(from decoder: Swift.Decoder) throws + } + public init(from decoder: Swift.Decoder) throws + } + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + } +} +extension StripeApplePay.STPApplePayContext.PaymentStatus : Swift.Equatable {} +extension StripeApplePay.STPApplePayContext.PaymentStatus : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.PaymentMethodType : Swift.Equatable {} +extension StripeCore.StripeAPI.PaymentMethod.PaymentMethodType : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.PaymentMethodType : Swift.RawRepresentable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Brand : Swift.Equatable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Brand : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Brand : Swift.RawRepresentable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType : Swift.Equatable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType : Swift.RawRepresentable {} diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Modules/StripeApplePay.swiftmodule/x86_64.swiftdoc b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Modules/StripeApplePay.swiftmodule/x86_64.swiftdoc new file mode 100644 index 0000000..a38e2fa Binary files /dev/null and b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Modules/StripeApplePay.swiftmodule/x86_64.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Modules/StripeApplePay.swiftmodule/x86_64.swiftinterface b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Modules/StripeApplePay.swiftmodule/x86_64.swiftinterface new file mode 100644 index 0000000..213ea36 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Modules/StripeApplePay.swiftmodule/x86_64.swiftinterface @@ -0,0 +1,249 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target x86_64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeApplePay +import Foundation +import ObjectiveC +import PassKit +@_exported import StripeApplePay +@_exported import StripeCore +import Swift +import UIKit +extension STPAPIClient { + public class func pkPaymentError(forStripeError stripeError: Swift.Error?) -> Swift.Error? +} +extension StripeAPI { + public struct BillingDetails : StripeCore.StripeCodable { + @StripeCore.IncludeUnknownFields public var address: StripeCore.StripeAPI.BillingDetails.Address? { + get + set + _modify + } + public struct Address : StripeCore.StripeCodable { + public var line1: Swift.String? + public var line2: Swift.String? + public var city: Swift.String? + public var state: Swift.String? + public var postalCode: Swift.String? + public var country: Swift.String? + public var _additionalParametersStorage: StripeCore.NonEncodableParameters? + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws + } + public var email: Swift.String? + public var name: Swift.String? + public var phone: Swift.String? + public var _additionalParametersStorage: StripeCore.NonEncodableParameters? + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws + } +} +@objc public protocol _stpinternal_STPApplePayContextDelegateBase : ObjectiveC.NSObjectProtocol { + @objc(applePayContext:didSelectShippingMethod:handler:) optional func applePayContext(_ context: StripeApplePay.STPApplePayContext, didSelect shippingMethod: PassKit.PKShippingMethod, handler: @escaping (PassKit.PKPaymentRequestShippingMethodUpdate) -> Swift.Void) + @objc optional func applePayContext(_ context: StripeApplePay.STPApplePayContext, didSelectShippingContact contact: PassKit.PKContact, handler: @escaping (PassKit.PKPaymentRequestShippingContactUpdate) -> Swift.Void) +} +public protocol ApplePayContextDelegate : StripeApplePay._stpinternal_STPApplePayContextDelegateBase { + func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCreatePaymentMethod paymentMethod: StripeCore.StripeAPI.PaymentMethod, paymentInformation: PassKit.PKPayment, completion: @escaping StripeApplePay.STPIntentClientSecretCompletionBlock) + func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCompleteWith status: StripeApplePay.STPApplePayContext.PaymentStatus, error: Swift.Error?) +} +@objc(_stpinternal_APContextSwift) public class STPApplePayContext : ObjectiveC.NSObject, PassKit.PKPaymentAuthorizationControllerDelegate { + required public init?(paymentRequest: PassKit.PKPaymentRequest, delegate: StripeApplePay._stpinternal_STPApplePayContextDelegateBase?) + required public init?(paymentRequest: PassKit.PKPaymentRequest, delegate: StripeApplePay.ApplePayContextDelegate) + @available(iOSApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + @available(macCatalystApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + public func presentApplePay(completion: StripeApplePay.STPVoidBlock? = nil) + public func presentApplePay(from window: UIKit.UIWindow?, completion: StripeApplePay.STPVoidBlock? = nil) + @available(*, deprecated, renamed: "presentApplePay(completion:)", message: "Use `presentApplePay(completion:)` instead.") + @objc(presentApplePayOnViewController:completion:) public func presentApplePay(on viewController: UIKit.UIViewController, completion: StripeApplePay.STPVoidBlock? = nil) + public var apiClient: StripeCore.STPAPIClient + @objc override dynamic public func responds(to aSelector: ObjectiveC.Selector!) -> Swift.Bool + @objc public func paymentAuthorizationController(_ controller: PassKit.PKPaymentAuthorizationController, didAuthorizePayment payment: PassKit.PKPayment, handler completion: @escaping (PassKit.PKPaymentAuthorizationResult) -> Swift.Void) + @objc public func paymentAuthorizationController(_ controller: PassKit.PKPaymentAuthorizationController, didSelectShippingMethod shippingMethod: PassKit.PKShippingMethod, handler completion: @escaping (PassKit.PKPaymentRequestShippingMethodUpdate) -> Swift.Void) + @objc public func paymentAuthorizationController(_ controller: PassKit.PKPaymentAuthorizationController, didSelectShippingContact contact: PassKit.PKContact, handler completion: @escaping (PassKit.PKPaymentRequestShippingContactUpdate) -> Swift.Void) + @objc public func paymentAuthorizationControllerDidFinish(_ controller: PassKit.PKPaymentAuthorizationController) + @objc public func presentationWindow(for controller: PassKit.PKPaymentAuthorizationController) -> UIKit.UIWindow? + @frozen public enum PaymentStatus { + case success + case error + case userCancellation + public static func == (a: StripeApplePay.STPApplePayContext.PaymentStatus, b: StripeApplePay.STPApplePayContext.PaymentStatus) -> Swift.Bool + public var hashValue: Swift.Int { + get + } + public func hash(into hasher: inout Swift.Hasher) + } + @objc deinit + @objc override dynamic public init() +} +public typealias STPVoidBlock = () -> Swift.Void +public typealias STPIntentClientSecretCompletionBlock = (Swift.String?, Swift.Error?) -> Swift.Void +extension StripeAPI { + public struct PaymentMethod : StripeCore.StripeDecodable { + public let id: Swift.String + public var created: Foundation.Date? + public var livemode: Swift.Bool + public var type: StripeCore.StripeAPI.PaymentMethod.PaymentMethodType? + @frozen public enum PaymentMethodType : Swift.String, StripeCore.StripeEnumCodable { + case card + case unknown + case unparsable + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + public init?(rawValue: Swift.String) + } + @StripeCore.IncludeUnknownFields public var billingDetails: StripeCore.StripeAPI.BillingDetails? { + get + set + _modify + } + public var customerId: Swift.String? + @StripeCore.IncludeUnknownFields public var card: StripeCore.StripeAPI.PaymentMethod.Card? { + get + set + _modify + } + public struct Card : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var brand: StripeCore.StripeAPI.PaymentMethod.Card.Brand { + get + } + @frozen public enum Brand : Swift.String, StripeCore.StripeEnumCodable { + case visa + case amex + case mastercard + case discover + case jcb + case diners + case unionpay + case unknown + case unparsable + public typealias RawValue = Swift.String + public init?(rawValue: Swift.String) + public var rawValue: Swift.String { + get + } + } + public var country: Swift.String? { + get + } + public var expMonth: Swift.Int { + get + } + public var expYear: Swift.Int { + get + } + public var funding: Swift.String? { + get + } + public var last4: Swift.String? { + get + } + public var fingerprint: Swift.String? { + get + } + @StripeCore.IncludeUnknownFields public var networks: StripeCore.StripeAPI.PaymentMethod.Card.Networks? { + get + } + @StripeCore.IncludeUnknownFields public var threeDSecureUsage: StripeCore.StripeAPI.PaymentMethod.Card.ThreeDSecureUsage? { + get + } + public var wallet: StripeCore.StripeAPI.PaymentMethod.Card.Wallet? { + get + } + public struct Networks : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var available: [Swift.String]? { + get + } + public var preferred: Swift.String? { + get + } + public init(from decoder: Swift.Decoder) throws + } + public struct ThreeDSecureUsage : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var supported: Swift.Bool { + get + } + public init(from decoder: Swift.Decoder) throws + } + public struct Wallet : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var type: StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType { + get + } + public var masterpass: StripeCore.StripeAPI.PaymentMethod.Card.Wallet.Masterpass? { + get + } + public var visaCheckout: StripeCore.StripeAPI.PaymentMethod.Card.Wallet.VisaCheckout? { + get + } + @frozen public enum WalletType : Swift.String, StripeCore.StripeEnumCodable { + case amexExpressCheckout + case applePay + case googlePay + case masterpass + case samsungPay + case visaCheckout + case unknown + case unparsable + public typealias RawValue = Swift.String + public init?(rawValue: Swift.String) + public var rawValue: Swift.String { + get + } + } + public struct Masterpass : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var email: Swift.String? { + get + } + public var name: Swift.String? { + get + } + public var billingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public var shippingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public init(from decoder: Swift.Decoder) throws + } + public struct VisaCheckout : StripeCore.StripeDecodable { + public var email: Swift.String? { + get + } + public var name: Swift.String? { + get + } + public var billingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public var shippingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + } + public init(from decoder: Swift.Decoder) throws + } + public init(from decoder: Swift.Decoder) throws + } + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + } +} +extension StripeApplePay.STPApplePayContext.PaymentStatus : Swift.Equatable {} +extension StripeApplePay.STPApplePayContext.PaymentStatus : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.PaymentMethodType : Swift.Equatable {} +extension StripeCore.StripeAPI.PaymentMethod.PaymentMethodType : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.PaymentMethodType : Swift.RawRepresentable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Brand : Swift.Equatable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Brand : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Brand : Swift.RawRepresentable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType : Swift.Equatable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType : Swift.RawRepresentable {} diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Modules/module.modulemap b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 0000000..19789a9 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module StripeApplePay { + umbrella header "StripeApplePay.h" + + export * + module * { export * } +} + +module StripeApplePay.Swift { + header "StripeApplePay-Swift.h" + requires objc +} diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Resources/Info.plist b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Resources/Info.plist new file mode 100644 index 0000000..d23107e --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,50 @@ + + + + + BuildMachineOSBuild + 20G165 + CFBundleDevelopmentRegion + en + CFBundleExecutable + StripeApplePay + CFBundleIdentifier + com.stripe.stripe-apple-pay + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + StripeApplePay + CFBundlePackageType + FMWK + CFBundleShortVersionString + 21.12.0 + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 21.12.0 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 12B45b + DTPlatformName + macosx + DTPlatformVersion + 11.0 + DTSDKBuild + 20A2408 + DTSDKName + macosx11.0 + DTXcode + 1220 + DTXcodeBuild + 12B45b + LSMinimumSystemVersion + 10.15 + UIDeviceFamily + + 2 + + + diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Resources/Project-Debug.xcconfig b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Resources/Project-Debug.xcconfig new file mode 100644 index 0000000..893a71f --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Resources/Project-Debug.xcconfig @@ -0,0 +1,41 @@ +// +// Project-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Project-Shared.xcconfig" + + +// Strip Debug Symbols During Copy +// +// Activating this setting causes binary files which are copied during the build (e.g., +// in a Copy Bundle Resources or Copy Files build phase) to be stripped of debugging +// symbols. It does not cause the linked product of a target to be stripped (use Strip +// Linked Product for that). + +COPY_PHASE_STRIP = NO + + +GCC_DYNAMIC_NO_PIC = NO + + +GCC_OPTIMIZATION_LEVEL = 0 + + +STP_EXTRA_PREPROCESSOR_MACROS= +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 STRIPE_UNIT_TESTS_ENABLED $(inherited) $(STP_EXTRA_PREPROCESSOR_MACROS) + + +GCC_SYMBOLS_PRIVATE_EXTERN = NO + + +// Build Active Architecture Only +// +// When checked, only the active architecture is built for faster debugging turnaround + +ONLY_ACTIVE_ARCH = YES + + +ENABLE_TESTABILITY = YES diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Resources/Project-Release.xcconfig b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Resources/Project-Release.xcconfig new file mode 100644 index 0000000..7ee2591 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Resources/Project-Release.xcconfig @@ -0,0 +1,33 @@ +// +// Project-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Project-Shared.xcconfig" + + +// Strip Debug Symbols During Copy +// +// Activating this setting causes binary files which are copied during the build (e.g., +// in a Copy Bundle Resources or Copy Files build phase) to be stripped of debugging +// symbols. It does not cause the linked product of a target to be stripped (use Strip +// Linked Product for that). + +COPY_PHASE_STRIP = YES + + +ENABLE_NS_ASSERTIONS = NO + +STP_EXTRA_PREPROCESSOR_MACROS= +GCC_PREPROCESSOR_DEFINITIONS = NDEBUG $(STP_EXTRA_PREPROCESSOR_MACROS) + + +// Validate Built Product +// +// Activating this setting will cause Xcode to perform validation checks on the product +// as part of the build process. + +VALIDATE_PRODUCT = YES + diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Resources/Project-Shared.xcconfig b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Resources/Project-Shared.xcconfig new file mode 100644 index 0000000..3c97646 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Resources/Project-Shared.xcconfig @@ -0,0 +1,169 @@ +// +// Project-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +// Always Search User Paths +// +// If enabled both #include -style and #include "header.h"-style directives +// will search the paths in "User Header Search Paths" before "Header Search Paths", with +// the consequence that user headers (such as your own String.h header) would have +// precedence over system headers when using #include . This is done using the +// -iquote flag for the paths provided in "User Header Search Paths". If disabled and +// your compiler fully supports separate user paths, user headers will only be accessible +// with #include "header.h"-style preprocessor directives. +// +// For backwards compatibility reasons, this setting is enabled by default, but disabling +// it is strongly recommended. + +ALWAYS_SEARCH_USER_PATHS = NO + + +CLANG_ENABLE_CODE_COVERAGE = NO + + +CLANG_ENABLE_OBJC_ARC = YES + + +CLANG_WARN__DUPLICATE_METHOD_MATCH = YES + + +CLANG_WARN_BOOL_CONVERSION = YES + + +CLANG_WARN_CONSTANT_CONVERSION = YES + + +CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES + + +CLANG_WARN_EMPTY_BODY = YES + + +CLANG_WARN_ENUM_CONVERSION = YES + + +CLANG_WARN_INT_CONVERSION = YES + + +CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES + + +CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES + + +CLANG_WARN_UNREACHABLE_CODE = YES + + +CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + + +CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + +// Default value is YES_NONAGGRESSIVE. YES is "Yes, Aggressive" in Xcode 9 UI +CLANG_ANALYZER_NONNULL = YES; + + +CLANG_WARN_INFINITE_RECURSION = YES; + + +CLANG_WARN_SUSPICIOUS_MOVE = YES; + + +ENABLE_STRICT_OBJC_MSGSEND = YES + + +GCC_C_LANGUAGE_STANDARD = gnu99 + + +CLANG_WARN_STRICT_PROTOTYPES = YES + + +CLANG_WARN_RANGE_LOOP_ANALYSIS = YES + + +CLANG_WARN_COMMA = YES + + +CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES + + +// Compiler for C/C++/Objective-C +// +// The compiler to use for C, C++, and Objective-C. + +GCC_VERSION = com.apple.compilers.llvm.clang.1_0 + + +GCC_WARN_64_TO_32_BIT_CONVERSION = YES + + +GCC_WARN_ABOUT_MISSING_NEWLINE = YES + + +GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES + + +GCC_WARN_SIGN_COMPARE = YES + + +GCC_WARN_UNDECLARED_SELECTOR = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES + + +GCC_WARN_UNUSED_FUNCTION = YES + + +GCC_WARN_UNUSED_VARIABLE = YES + + +GCC_NO_COMMON_BLOCKS = YES; + +// Precompiled Header Uses Files From Build Directory +// +// This setting allows for better control of sharing precompiled prefix header files +// between projects. By default, Xcode assumes that the prefix header file may include +// header files from the build directory if the build directory is outside of the project +// directory. (Xcode cannot determine this ahead of time since other projects may not +// have been built into the shared build directory at the time the information is +// needed.) +// +// If your prefix file never includes files from the build directory you may set this to +// "NO" to improve sharing of precompiled headers. If the prefix does use files from a +// build directory which is inside your project directory, you may set this to "YES" to +// avoid unintended sharing that may result in build failures. + +PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = NO + + +// Base SDK +// +// The name or path of the base SDK being used during the build. The product will be +// built against the headers and libraries located inside the indicated SDK. This path +// will be prepended to all search paths, and will be passed through the environment to +// the compiler and linker. Additional SDKs can be specified in the ADDITIONAL_SDKS +// setting. + +SDKROOT = iphoneos + + +WARNING_CFLAGS = -Wall -Wextra -Wundef -Wfloat-equal + +// iOS Deployment Target +// +// Code will load on this and later versions of iOS. Framework APIs that are unavailable +// in earlier versions will be weak-linked; your code should check for null function +// pointers or specific system versions before calling newer APIs. +// + +IPHONEOS_DEPLOYMENT_TARGET = 11.0 + +APPLICATION_EXTENSION_API_ONLY = NO diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Resources/StripeiOS Tests-Debug.xcconfig b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Resources/StripeiOS Tests-Debug.xcconfig new file mode 100644 index 0000000..d969b04 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Resources/StripeiOS Tests-Debug.xcconfig @@ -0,0 +1,13 @@ +// +// StripeiOS Tests-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +#include "StripeiOS Tests-Shared.xcconfig" + +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited) +DEBUG_INFORMATION_FORMAT = dwarf +SWIFT_ACTIVE_COMPILATION_CONDITIONS[arch=*] = DEBUG $(inherited) diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Resources/StripeiOS Tests-Release.xcconfig b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Resources/StripeiOS Tests-Release.xcconfig new file mode 100644 index 0000000..3b92cfd --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Resources/StripeiOS Tests-Release.xcconfig @@ -0,0 +1,12 @@ +// +// StripeiOS Tests-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS Tests-Shared.xcconfig" + +//********************************************// +//* Currently no build settings in this file *// +//********************************************// diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Resources/StripeiOS Tests-Shared.xcconfig b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Resources/StripeiOS Tests-Shared.xcconfig new file mode 100644 index 0000000..3078777 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Resources/StripeiOS Tests-Shared.xcconfig @@ -0,0 +1,89 @@ +// +// StripeiOS Tests-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +CLANG_CXX_LANGUAGE_STANDARD = gnu++0x + + +CLANG_CXX_LIBRARY = libc++ + + +CLANG_ENABLE_MODULES = YES + + +CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR + + +CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR + + +// Code Signing Identity +// +// The name ("common name") of a valid code-signing certificate in a keychain within your +// keychain path. A missing or invalid certificate will cause a build error. + +CODE_SIGN_IDENTITY = iPhone Developer + + +// Framework Search Paths +// +// This is a list of paths to folders containing frameworks to be searched by the +// compiler for both included or imported header files when compiling C, Objective-C, +// C++, or Objective-C++, and by the linker for frameworks used by the product. Paths are +// delimited by whitespace, so any paths with spaces in them need to be properly quoted. +// [-F] + +FRAMEWORK_SEARCH_PATHS = $(inherited) $(PROJECT_DIR)/Carthage/Build/iOS + +GCC_TREAT_WARNINGS_AS_ERRORS = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR + + +GCC_WARN_SHADOW = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE + +CLANG_WARN_ASSIGN_ENUM = YES +//CLANG_WARN_DOCUMENTATION_COMMENTS = YES not enabled because of errors in FBSnapshotTestCase headers +CLANG_WARN_INFINITE_RECURSION = YES +CLANG_WARN_SUSPICIOUS_MOVE = YES +GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES +GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES +GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES +GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES +GCC_WARN_UNKNOWN_PRAGMAS = YES +GCC_WARN_UNUSED_LABEL = YES +GCC_WARN_UNUSED_PARAMETER = YES + + +// Header Search Paths +// +// This is a list of paths to folders to be searched by the compiler for included or +// imported header files when compiling C, Objective-C, C++, or Objective-C++. Paths are +// delimited by whitespace, so any paths with spaces in them need to be properly quoted. +// [-I] + +HEADER_SEARCH_PATHS = $(inherited) + + +// Runpath Search Paths +// +// This is a list of paths to be added to the runpath search path list for the image +// being created. At runtime, dyld uses the runpath when searching for dylibs whose load +// path begins with '@rpath/'. [-rpath] + +LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @loader_path/Frameworks + + +OTHER_CFLAGS = + +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES + +LIBRARY_SEARCH_PATHS = $(inherited) diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Resources/StripeiOS-Debug.xcconfig b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Resources/StripeiOS-Debug.xcconfig new file mode 100644 index 0000000..99304b4 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Resources/StripeiOS-Debug.xcconfig @@ -0,0 +1,12 @@ +// +// StripeiOS-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS-Shared.xcconfig" + + +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited) +SWIFT_ACTIVE_COMPILATION_CONDITIONS[arch=*] = DEBUG $(inherited) diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Resources/StripeiOS-Release.xcconfig b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Resources/StripeiOS-Release.xcconfig new file mode 100644 index 0000000..3d79290 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Resources/StripeiOS-Release.xcconfig @@ -0,0 +1,10 @@ +// +// StripeiOS-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS-Shared.xcconfig" + +APPLICATION_EXTENSION_API_ONLY = NO diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Resources/StripeiOS-Shared.xcconfig b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Resources/StripeiOS-Shared.xcconfig new file mode 100644 index 0000000..b274c8d --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Resources/StripeiOS-Shared.xcconfig @@ -0,0 +1,159 @@ +// +// StripeiOS-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Version.xcconfig" + +APPLICATION_EXTENSION_API_ONLY = YES + +CLANG_CXX_LANGUAGE_STANDARD = gnu++0x + + +CLANG_CXX_LIBRARY = libc++ + + +CLANG_ENABLE_MODULES = YES + + +CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR + + +CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR + +CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES +CLANG_WARN_INFINITE_RECURSION = YES +CLANG_WARN_SUSPICIOUS_MOVE = YES +CLANG_WARN_ASSIGN_ENUM = YES +CLANG_WARN_DOCUMENTATION_COMMENTS = YES +CLANG_WARN_UNGUARDED_AVAILABILITY = YES + +// Code Signing Identity +// +// The name ("common name") of a valid code-signing certificate in a keychain within your +// keychain path. A missing or invalid certificate will cause a build error. + +CODE_SIGN_IDENTITY[sdk=iphoneos*] = + +// Defines Module +// +// If enabled, the product will be treated as defining its own module. This enables +// automatic production of LLVM module map files when appropriate, and allows the product +// to be imported as a module. + +DEFINES_MODULE = YES + + +// Compatibility Version +// +// Determines the compatibility version of the resulting library, bundle, or framework +// binary. + +DYLIB_COMPATIBILITY_VERSION = 1 + + +// Current Library Version +// +// This setting defines the the current version of any framework built by the project. +// Like "Current Project Version", the value must be an integer or floating point number +// like 57 or 365.8. By default it is set to $(CURRENT_PROJECT_VERSION). + +DYLIB_CURRENT_VERSION = 1 + + +// Dynamic Library Install Name Base +// +// Sets the base value for the internal "install path" (LC_ID_DYLIB) in a dynamic +// library. This will be combined with the EXECUTABLE_PATH to form the full install path. +// Setting LD_DYLIB_INSTALL_NAME directly will override this setting. This setting +// defaults to the target's INSTALL_PATH. It is ignored when building any product other +// than a dynamic library. [-install_name] + +DYLIB_INSTALL_NAME_BASE = @rpath + + +GCC_TREAT_WARNINGS_AS_ERRORS = YES +SWIFT_TREAT_WARNINGS_AS_ERRORS = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR + + +GCC_WARN_SHADOW = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE + +GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES +GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES +GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES +GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES +GCC_WARN_UNKNOWN_PRAGMAS = YES +GCC_WARN_UNUSED_LABEL = YES +GCC_WARN_UNUSED_PARAMETER = YES + + +// Installation Directory +// +// The directory to install the build products in. This path is prepended by the +// 'Installation Build Products Location' (i.e., $(DSTROOT)). + +INSTALL_PATH = $(LOCAL_LIBRARY_DIR)/Frameworks + + +// Runpath Search Paths +// +// This is a list of paths to be added to the runpath search path list for the image +// being created. At runtime, dyld uses the runpath when searching for dylibs whose load +// path begins with '@rpath/'. [-rpath] + +LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @loader_path/Frameworks + + +// Skip Install +// +// Activating this setting when deployment locations are used causes the product to be +// built into an alternative location instead of the install location. + +SKIP_INSTALL = YES + + +// Targeted Device Family +// +// The build system uses the selected device to set the correct value for the +// UIDeviceFamily key it adds to the target's Info.plist file. +// +// iPhone - Application is built for iPhone and iPod touch. +// iPad - Application is built for iPad. +// iPhone/iPad - Application is built Universal for iPhone, iPod touch, and iPad. + +TARGETED_DEVICE_FAMILY = 1,2 + + +// Versioning Name Prefix +// +// Used as a prefix for the name of the version info symbol in the generated versioning +// source file. If you prefix your exported symbols you will probably want to set this +// to the same prefix. + +VERSION_INFO_PREFIX = + + +// Versioning System +// +// Selects the process used for version-stamping generated files. +// +// None - Use no versioning system. [] +// Apple Generic - Use the current project version setting. [apple-generic] + +VERSIONING_SYSTEM = apple-generic + +FRAMEWORK_SEARCH_PATHS = $(inherited) +HEADER_SEARCH_PATHS = $(inherited) + +LIBRARY_SEARCH_PATHS = $(inherited) $(CONFIGURATION_BUILD_DIR) + +// Generate .swiftinterface files +BUILD_LIBRARY_FOR_DISTRIBUTION = YES diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Resources/Version.xcconfig b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Resources/Version.xcconfig new file mode 100644 index 0000000..385e5d1 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/Resources/Version.xcconfig @@ -0,0 +1,9 @@ +// +// Version.xcconfig +// +// This file was generated by update_version.sh +// Do not edit this file directly. +// Instead, edit the `VERSION` file and run `ci_scripts/update_version.sh` +// + +CURRENT_PROJECT_VERSION=21.12.0 diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/StripeApplePay b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/StripeApplePay new file mode 100755 index 0000000..ebb2e5a Binary files /dev/null and b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/A/StripeApplePay differ diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/Current b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/Current new file mode 120000 index 0000000..8c7e5a6 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-maccatalyst/StripeApplePay.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Headers/StripeApplePay-Swift.h b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Headers/StripeApplePay-Swift.h new file mode 100644 index 0000000..29c136f --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Headers/StripeApplePay-Swift.h @@ -0,0 +1,646 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +#ifndef STRIPEAPPLEPAY_SWIFT_H +#define STRIPEAPPLEPAY_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# 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 +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +@import PassKit; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="StripeApplePay",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + + + + + +@class UIViewController; +@class PKPaymentAuthorizationController; +@class PKPayment; +@class PKPaymentAuthorizationResult; +@class PKShippingMethod; +@class PKPaymentRequestShippingMethodUpdate; +@class PKContact; +@class PKPaymentRequestShippingContactUpdate; +@class UIWindow; + +/// A helper class that implements Apple Pay. +/// Usage looks like this: +///
    +///
  1. +/// Initialize this class with a PKPaymentRequest describing the payment request (amount, line items, required shipping info, etc) +///
  2. +///
  3. +/// Call presentApplePayOnViewController:completion: to present the Apple Pay sheet and begin the payment process +/// 3 (optional): If you need to respond to the user changing their shipping information/shipping method, implement the optional delegate methods +///
  4. +///
  5. +/// When the user taps ‘Buy’, this class uses the PaymentIntent that you supply in the applePayContext:didCreatePaymentMethod:completion: delegate method to complete the payment +///
  6. +///
  7. +/// After payment completes/errors and the sheet is dismissed, this class informs you in the applePayContext:didCompleteWithStatus: delegate method +///
  8. +///
+/// seealso: +/// https://stripe.com/docs/apple-pay#native for a full guide +/// seealso: +/// ApplePayExampleViewController for an example +SWIFT_CLASS_NAMED("STPApplePayContext") +@interface _stpinternal_APContextSwift : NSObject +/// Presents the Apple Pay sheet from the specified view controller, starting the payment process. +/// @note This method should only be called once; create a new instance of STPApplePayContext every time you present Apple Pay. +/// @deprecated A presenting UIViewController is no longer needed. Use presentApplePay(completion:) instead. +/// \param viewController The UIViewController instance to present the Apple Pay sheet on +/// +/// \param completion Called after the Apple Pay sheet is presented +/// +- (void)presentApplePayOnViewController:(UIViewController * _Nonnull)viewController completion:(void (^ _Nullable)(void))completion SWIFT_DEPRECATED_MSG("Use `presentApplePay(completion:)` instead.", "presentApplePay(completion:)"); +/// :nodoc: +- (BOOL)respondsToSelector:(SEL _Null_unspecified)aSelector SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)paymentAuthorizationController:(PKPaymentAuthorizationController * _Nonnull)controller didAuthorizePayment:(PKPayment * _Nonnull)payment handler:(void (^ _Nonnull)(PKPaymentAuthorizationResult * _Nonnull))completion; +/// :nodoc: +- (void)paymentAuthorizationController:(PKPaymentAuthorizationController * _Nonnull)controller didSelectShippingMethod:(PKShippingMethod * _Nonnull)shippingMethod handler:(void (^ _Nonnull)(PKPaymentRequestShippingMethodUpdate * _Nonnull))completion; +/// :nodoc: +- (void)paymentAuthorizationController:(PKPaymentAuthorizationController * _Nonnull)controller didSelectShippingContact:(PKContact * _Nonnull)contact handler:(void (^ _Nonnull)(PKPaymentRequestShippingContactUpdate * _Nonnull))completion; +/// :nodoc: +- (void)paymentAuthorizationControllerDidFinish:(PKPaymentAuthorizationController * _Nonnull)controller; +- (UIWindow * _Nullable)presentationWindowForPaymentAuthorizationController:(PKPaymentAuthorizationController * _Nonnull)controller SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +SWIFT_CLASS("_TtC14StripeApplePay18STPTelemetryClient") +@interface STPTelemetryClient : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +/// Internal Apple Pay class. Do not use. +/// :nodoc: +SWIFT_CLASS("_TtC14StripeApplePay46_stpinternal_ApplePayContextDidCompleteStorage") +@interface _stpinternal_ApplePayContextDidCompleteStorage : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// Internal Apple Pay class. Do not use. +/// :nodoc: +SWIFT_CLASS("_TtC14StripeApplePay57_stpinternal_ApplePayContextDidCreatePaymentMethodStorage") +@interface _stpinternal_ApplePayContextDidCreatePaymentMethodStorage : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// :nodoc: +SWIFT_PROTOCOL("_TtP14StripeApplePay43_stpinternal_STPApplePayContextDelegateBase_") +@protocol _stpinternal_STPApplePayContextDelegateBase +@optional +/// Called when the user selects a new shipping method. The delegate should determine +/// shipping costs based on the shipping method and either the shipping address supplied in the original +/// PKPaymentRequest or the address fragment provided by the last call to paymentAuthorizationController: +/// didSelectShippingContact:completion:. +/// You must invoke the completion block with an updated array of PKPaymentSummaryItem objects. +- (void)applePayContext:(_stpinternal_APContextSwift * _Nonnull)context didSelectShippingMethod:(PKShippingMethod * _Nonnull)shippingMethod handler:(void (^ _Nonnull)(PKPaymentRequestShippingMethodUpdate * _Nonnull))handler; +/// Called when the user has selected a new shipping address. You should inspect the +/// address and must invoke the completion block with an updated array of PKPaymentSummaryItem objects. +/// @note To maintain privacy, the shipping information is anonymized. For example, in the United States it only includes the city, state, and zip code. This provides enough information to calculate shipping costs, without revealing sensitive information until the user actually approves the purchase. +/// Receive full shipping information in the paymentInformation passed to applePayContext:didCreatePaymentMethod:paymentInformation:completion: +- (void)applePayContext:(_stpinternal_APContextSwift * _Nonnull)context didSelectShippingContact:(PKContact * _Nonnull)contact handler:(void (^ _Nonnull)(PKPaymentRequestShippingContactUpdate * _Nonnull))handler; +@end + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +#ifndef STRIPEAPPLEPAY_SWIFT_H +#define STRIPEAPPLEPAY_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# 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 +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import ObjectiveC; +@import PassKit; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="StripeApplePay",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + + + + + +@class UIViewController; +@class PKPaymentAuthorizationController; +@class PKPayment; +@class PKPaymentAuthorizationResult; +@class PKShippingMethod; +@class PKPaymentRequestShippingMethodUpdate; +@class PKContact; +@class PKPaymentRequestShippingContactUpdate; +@class UIWindow; + +/// A helper class that implements Apple Pay. +/// Usage looks like this: +///
    +///
  1. +/// Initialize this class with a PKPaymentRequest describing the payment request (amount, line items, required shipping info, etc) +///
  2. +///
  3. +/// Call presentApplePayOnViewController:completion: to present the Apple Pay sheet and begin the payment process +/// 3 (optional): If you need to respond to the user changing their shipping information/shipping method, implement the optional delegate methods +///
  4. +///
  5. +/// When the user taps ‘Buy’, this class uses the PaymentIntent that you supply in the applePayContext:didCreatePaymentMethod:completion: delegate method to complete the payment +///
  6. +///
  7. +/// After payment completes/errors and the sheet is dismissed, this class informs you in the applePayContext:didCompleteWithStatus: delegate method +///
  8. +///
+/// seealso: +/// https://stripe.com/docs/apple-pay#native for a full guide +/// seealso: +/// ApplePayExampleViewController for an example +SWIFT_CLASS_NAMED("STPApplePayContext") +@interface _stpinternal_APContextSwift : NSObject +/// Presents the Apple Pay sheet from the specified view controller, starting the payment process. +/// @note This method should only be called once; create a new instance of STPApplePayContext every time you present Apple Pay. +/// @deprecated A presenting UIViewController is no longer needed. Use presentApplePay(completion:) instead. +/// \param viewController The UIViewController instance to present the Apple Pay sheet on +/// +/// \param completion Called after the Apple Pay sheet is presented +/// +- (void)presentApplePayOnViewController:(UIViewController * _Nonnull)viewController completion:(void (^ _Nullable)(void))completion SWIFT_DEPRECATED_MSG("Use `presentApplePay(completion:)` instead.", "presentApplePay(completion:)"); +/// :nodoc: +- (BOOL)respondsToSelector:(SEL _Null_unspecified)aSelector SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (void)paymentAuthorizationController:(PKPaymentAuthorizationController * _Nonnull)controller didAuthorizePayment:(PKPayment * _Nonnull)payment handler:(void (^ _Nonnull)(PKPaymentAuthorizationResult * _Nonnull))completion; +/// :nodoc: +- (void)paymentAuthorizationController:(PKPaymentAuthorizationController * _Nonnull)controller didSelectShippingMethod:(PKShippingMethod * _Nonnull)shippingMethod handler:(void (^ _Nonnull)(PKPaymentRequestShippingMethodUpdate * _Nonnull))completion; +/// :nodoc: +- (void)paymentAuthorizationController:(PKPaymentAuthorizationController * _Nonnull)controller didSelectShippingContact:(PKContact * _Nonnull)contact handler:(void (^ _Nonnull)(PKPaymentRequestShippingContactUpdate * _Nonnull))completion; +/// :nodoc: +- (void)paymentAuthorizationControllerDidFinish:(PKPaymentAuthorizationController * _Nonnull)controller; +- (UIWindow * _Nullable)presentationWindowForPaymentAuthorizationController:(PKPaymentAuthorizationController * _Nonnull)controller SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +SWIFT_CLASS("_TtC14StripeApplePay18STPTelemetryClient") +@interface STPTelemetryClient : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + + +/// Internal Apple Pay class. Do not use. +/// :nodoc: +SWIFT_CLASS("_TtC14StripeApplePay46_stpinternal_ApplePayContextDidCompleteStorage") +@interface _stpinternal_ApplePayContextDidCompleteStorage : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// Internal Apple Pay class. Do not use. +/// :nodoc: +SWIFT_CLASS("_TtC14StripeApplePay57_stpinternal_ApplePayContextDidCreatePaymentMethodStorage") +@interface _stpinternal_ApplePayContextDidCreatePaymentMethodStorage : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +/// :nodoc: +SWIFT_PROTOCOL("_TtP14StripeApplePay43_stpinternal_STPApplePayContextDelegateBase_") +@protocol _stpinternal_STPApplePayContextDelegateBase +@optional +/// Called when the user selects a new shipping method. The delegate should determine +/// shipping costs based on the shipping method and either the shipping address supplied in the original +/// PKPaymentRequest or the address fragment provided by the last call to paymentAuthorizationController: +/// didSelectShippingContact:completion:. +/// You must invoke the completion block with an updated array of PKPaymentSummaryItem objects. +- (void)applePayContext:(_stpinternal_APContextSwift * _Nonnull)context didSelectShippingMethod:(PKShippingMethod * _Nonnull)shippingMethod handler:(void (^ _Nonnull)(PKPaymentRequestShippingMethodUpdate * _Nonnull))handler; +/// Called when the user has selected a new shipping address. You should inspect the +/// address and must invoke the completion block with an updated array of PKPaymentSummaryItem objects. +/// @note To maintain privacy, the shipping information is anonymized. For example, in the United States it only includes the city, state, and zip code. This provides enough information to calculate shipping costs, without revealing sensitive information until the user actually approves the purchase. +/// Receive full shipping information in the paymentInformation passed to applePayContext:didCreatePaymentMethod:paymentInformation:completion: +- (void)applePayContext:(_stpinternal_APContextSwift * _Nonnull)context didSelectShippingContact:(PKContact * _Nonnull)contact handler:(void (^ _Nonnull)(PKPaymentRequestShippingContactUpdate * _Nonnull))handler; +@end + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Headers/StripeApplePay.h b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Headers/StripeApplePay.h new file mode 100644 index 0000000..e6b9e0f --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Headers/StripeApplePay.h @@ -0,0 +1,18 @@ +// +// StripeApplePay.h +// StripeApplePay +// +// Created by David Estes on 11/8/21. +// + +#import + +//! Project version number for StripeApplePay. +FOUNDATION_EXPORT double StripeApplePayVersionNumber; + +//! Project version string for StripeApplePay. +FOUNDATION_EXPORT const unsigned char StripeApplePayVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Info.plist b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Info.plist new file mode 100644 index 0000000..aad0d48 Binary files /dev/null and b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Info.plist differ diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Modules/StripeApplePay.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Modules/StripeApplePay.swiftmodule/arm64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..3fc15fa Binary files /dev/null and b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Modules/StripeApplePay.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Modules/StripeApplePay.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Modules/StripeApplePay.swiftmodule/arm64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..dbbd621 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Modules/StripeApplePay.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -0,0 +1,249 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeApplePay +import Foundation +import ObjectiveC +import PassKit +@_exported import StripeApplePay +@_exported import StripeCore +import Swift +import UIKit +extension STPAPIClient { + public class func pkPaymentError(forStripeError stripeError: Swift.Error?) -> Swift.Error? +} +extension StripeAPI { + public struct BillingDetails : StripeCore.StripeCodable { + @StripeCore.IncludeUnknownFields public var address: StripeCore.StripeAPI.BillingDetails.Address? { + get + set + _modify + } + public struct Address : StripeCore.StripeCodable { + public var line1: Swift.String? + public var line2: Swift.String? + public var city: Swift.String? + public var state: Swift.String? + public var postalCode: Swift.String? + public var country: Swift.String? + public var _additionalParametersStorage: StripeCore.NonEncodableParameters? + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws + } + public var email: Swift.String? + public var name: Swift.String? + public var phone: Swift.String? + public var _additionalParametersStorage: StripeCore.NonEncodableParameters? + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws + } +} +@objc public protocol _stpinternal_STPApplePayContextDelegateBase : ObjectiveC.NSObjectProtocol { + @objc(applePayContext:didSelectShippingMethod:handler:) optional func applePayContext(_ context: StripeApplePay.STPApplePayContext, didSelect shippingMethod: PassKit.PKShippingMethod, handler: @escaping (PassKit.PKPaymentRequestShippingMethodUpdate) -> Swift.Void) + @objc optional func applePayContext(_ context: StripeApplePay.STPApplePayContext, didSelectShippingContact contact: PassKit.PKContact, handler: @escaping (PassKit.PKPaymentRequestShippingContactUpdate) -> Swift.Void) +} +public protocol ApplePayContextDelegate : StripeApplePay._stpinternal_STPApplePayContextDelegateBase { + func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCreatePaymentMethod paymentMethod: StripeCore.StripeAPI.PaymentMethod, paymentInformation: PassKit.PKPayment, completion: @escaping StripeApplePay.STPIntentClientSecretCompletionBlock) + func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCompleteWith status: StripeApplePay.STPApplePayContext.PaymentStatus, error: Swift.Error?) +} +@objc(_stpinternal_APContextSwift) public class STPApplePayContext : ObjectiveC.NSObject, PassKit.PKPaymentAuthorizationControllerDelegate { + required public init?(paymentRequest: PassKit.PKPaymentRequest, delegate: StripeApplePay._stpinternal_STPApplePayContextDelegateBase?) + required public init?(paymentRequest: PassKit.PKPaymentRequest, delegate: StripeApplePay.ApplePayContextDelegate) + @available(iOSApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + @available(macCatalystApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + public func presentApplePay(completion: StripeApplePay.STPVoidBlock? = nil) + public func presentApplePay(from window: UIKit.UIWindow?, completion: StripeApplePay.STPVoidBlock? = nil) + @available(*, deprecated, renamed: "presentApplePay(completion:)", message: "Use `presentApplePay(completion:)` instead.") + @objc(presentApplePayOnViewController:completion:) public func presentApplePay(on viewController: UIKit.UIViewController, completion: StripeApplePay.STPVoidBlock? = nil) + public var apiClient: StripeCore.STPAPIClient + @objc override dynamic public func responds(to aSelector: ObjectiveC.Selector!) -> Swift.Bool + @objc public func paymentAuthorizationController(_ controller: PassKit.PKPaymentAuthorizationController, didAuthorizePayment payment: PassKit.PKPayment, handler completion: @escaping (PassKit.PKPaymentAuthorizationResult) -> Swift.Void) + @objc public func paymentAuthorizationController(_ controller: PassKit.PKPaymentAuthorizationController, didSelectShippingMethod shippingMethod: PassKit.PKShippingMethod, handler completion: @escaping (PassKit.PKPaymentRequestShippingMethodUpdate) -> Swift.Void) + @objc public func paymentAuthorizationController(_ controller: PassKit.PKPaymentAuthorizationController, didSelectShippingContact contact: PassKit.PKContact, handler completion: @escaping (PassKit.PKPaymentRequestShippingContactUpdate) -> Swift.Void) + @objc public func paymentAuthorizationControllerDidFinish(_ controller: PassKit.PKPaymentAuthorizationController) + @objc public func presentationWindow(for controller: PassKit.PKPaymentAuthorizationController) -> UIKit.UIWindow? + @frozen public enum PaymentStatus { + case success + case error + case userCancellation + public static func == (a: StripeApplePay.STPApplePayContext.PaymentStatus, b: StripeApplePay.STPApplePayContext.PaymentStatus) -> Swift.Bool + public var hashValue: Swift.Int { + get + } + public func hash(into hasher: inout Swift.Hasher) + } + @objc deinit + @objc override dynamic public init() +} +public typealias STPVoidBlock = () -> Swift.Void +public typealias STPIntentClientSecretCompletionBlock = (Swift.String?, Swift.Error?) -> Swift.Void +extension StripeAPI { + public struct PaymentMethod : StripeCore.StripeDecodable { + public let id: Swift.String + public var created: Foundation.Date? + public var livemode: Swift.Bool + public var type: StripeCore.StripeAPI.PaymentMethod.PaymentMethodType? + @frozen public enum PaymentMethodType : Swift.String, StripeCore.StripeEnumCodable { + case card + case unknown + case unparsable + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + public init?(rawValue: Swift.String) + } + @StripeCore.IncludeUnknownFields public var billingDetails: StripeCore.StripeAPI.BillingDetails? { + get + set + _modify + } + public var customerId: Swift.String? + @StripeCore.IncludeUnknownFields public var card: StripeCore.StripeAPI.PaymentMethod.Card? { + get + set + _modify + } + public struct Card : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var brand: StripeCore.StripeAPI.PaymentMethod.Card.Brand { + get + } + @frozen public enum Brand : Swift.String, StripeCore.StripeEnumCodable { + case visa + case amex + case mastercard + case discover + case jcb + case diners + case unionpay + case unknown + case unparsable + public typealias RawValue = Swift.String + public init?(rawValue: Swift.String) + public var rawValue: Swift.String { + get + } + } + public var country: Swift.String? { + get + } + public var expMonth: Swift.Int { + get + } + public var expYear: Swift.Int { + get + } + public var funding: Swift.String? { + get + } + public var last4: Swift.String? { + get + } + public var fingerprint: Swift.String? { + get + } + @StripeCore.IncludeUnknownFields public var networks: StripeCore.StripeAPI.PaymentMethod.Card.Networks? { + get + } + @StripeCore.IncludeUnknownFields public var threeDSecureUsage: StripeCore.StripeAPI.PaymentMethod.Card.ThreeDSecureUsage? { + get + } + public var wallet: StripeCore.StripeAPI.PaymentMethod.Card.Wallet? { + get + } + public struct Networks : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var available: [Swift.String]? { + get + } + public var preferred: Swift.String? { + get + } + public init(from decoder: Swift.Decoder) throws + } + public struct ThreeDSecureUsage : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var supported: Swift.Bool { + get + } + public init(from decoder: Swift.Decoder) throws + } + public struct Wallet : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var type: StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType { + get + } + public var masterpass: StripeCore.StripeAPI.PaymentMethod.Card.Wallet.Masterpass? { + get + } + public var visaCheckout: StripeCore.StripeAPI.PaymentMethod.Card.Wallet.VisaCheckout? { + get + } + @frozen public enum WalletType : Swift.String, StripeCore.StripeEnumCodable { + case amexExpressCheckout + case applePay + case googlePay + case masterpass + case samsungPay + case visaCheckout + case unknown + case unparsable + public typealias RawValue = Swift.String + public init?(rawValue: Swift.String) + public var rawValue: Swift.String { + get + } + } + public struct Masterpass : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var email: Swift.String? { + get + } + public var name: Swift.String? { + get + } + public var billingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public var shippingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public init(from decoder: Swift.Decoder) throws + } + public struct VisaCheckout : StripeCore.StripeDecodable { + public var email: Swift.String? { + get + } + public var name: Swift.String? { + get + } + public var billingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public var shippingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + } + public init(from decoder: Swift.Decoder) throws + } + public init(from decoder: Swift.Decoder) throws + } + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + } +} +extension StripeApplePay.STPApplePayContext.PaymentStatus : Swift.Equatable {} +extension StripeApplePay.STPApplePayContext.PaymentStatus : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.PaymentMethodType : Swift.Equatable {} +extension StripeCore.StripeAPI.PaymentMethod.PaymentMethodType : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.PaymentMethodType : Swift.RawRepresentable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Brand : Swift.Equatable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Brand : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Brand : Swift.RawRepresentable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType : Swift.Equatable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType : Swift.RawRepresentable {} diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Modules/StripeApplePay.swiftmodule/arm64.swiftdoc b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Modules/StripeApplePay.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..3fc15fa Binary files /dev/null and b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Modules/StripeApplePay.swiftmodule/arm64.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Modules/StripeApplePay.swiftmodule/arm64.swiftinterface b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Modules/StripeApplePay.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..dbbd621 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Modules/StripeApplePay.swiftmodule/arm64.swiftinterface @@ -0,0 +1,249 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeApplePay +import Foundation +import ObjectiveC +import PassKit +@_exported import StripeApplePay +@_exported import StripeCore +import Swift +import UIKit +extension STPAPIClient { + public class func pkPaymentError(forStripeError stripeError: Swift.Error?) -> Swift.Error? +} +extension StripeAPI { + public struct BillingDetails : StripeCore.StripeCodable { + @StripeCore.IncludeUnknownFields public var address: StripeCore.StripeAPI.BillingDetails.Address? { + get + set + _modify + } + public struct Address : StripeCore.StripeCodable { + public var line1: Swift.String? + public var line2: Swift.String? + public var city: Swift.String? + public var state: Swift.String? + public var postalCode: Swift.String? + public var country: Swift.String? + public var _additionalParametersStorage: StripeCore.NonEncodableParameters? + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws + } + public var email: Swift.String? + public var name: Swift.String? + public var phone: Swift.String? + public var _additionalParametersStorage: StripeCore.NonEncodableParameters? + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws + } +} +@objc public protocol _stpinternal_STPApplePayContextDelegateBase : ObjectiveC.NSObjectProtocol { + @objc(applePayContext:didSelectShippingMethod:handler:) optional func applePayContext(_ context: StripeApplePay.STPApplePayContext, didSelect shippingMethod: PassKit.PKShippingMethod, handler: @escaping (PassKit.PKPaymentRequestShippingMethodUpdate) -> Swift.Void) + @objc optional func applePayContext(_ context: StripeApplePay.STPApplePayContext, didSelectShippingContact contact: PassKit.PKContact, handler: @escaping (PassKit.PKPaymentRequestShippingContactUpdate) -> Swift.Void) +} +public protocol ApplePayContextDelegate : StripeApplePay._stpinternal_STPApplePayContextDelegateBase { + func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCreatePaymentMethod paymentMethod: StripeCore.StripeAPI.PaymentMethod, paymentInformation: PassKit.PKPayment, completion: @escaping StripeApplePay.STPIntentClientSecretCompletionBlock) + func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCompleteWith status: StripeApplePay.STPApplePayContext.PaymentStatus, error: Swift.Error?) +} +@objc(_stpinternal_APContextSwift) public class STPApplePayContext : ObjectiveC.NSObject, PassKit.PKPaymentAuthorizationControllerDelegate { + required public init?(paymentRequest: PassKit.PKPaymentRequest, delegate: StripeApplePay._stpinternal_STPApplePayContextDelegateBase?) + required public init?(paymentRequest: PassKit.PKPaymentRequest, delegate: StripeApplePay.ApplePayContextDelegate) + @available(iOSApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + @available(macCatalystApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + public func presentApplePay(completion: StripeApplePay.STPVoidBlock? = nil) + public func presentApplePay(from window: UIKit.UIWindow?, completion: StripeApplePay.STPVoidBlock? = nil) + @available(*, deprecated, renamed: "presentApplePay(completion:)", message: "Use `presentApplePay(completion:)` instead.") + @objc(presentApplePayOnViewController:completion:) public func presentApplePay(on viewController: UIKit.UIViewController, completion: StripeApplePay.STPVoidBlock? = nil) + public var apiClient: StripeCore.STPAPIClient + @objc override dynamic public func responds(to aSelector: ObjectiveC.Selector!) -> Swift.Bool + @objc public func paymentAuthorizationController(_ controller: PassKit.PKPaymentAuthorizationController, didAuthorizePayment payment: PassKit.PKPayment, handler completion: @escaping (PassKit.PKPaymentAuthorizationResult) -> Swift.Void) + @objc public func paymentAuthorizationController(_ controller: PassKit.PKPaymentAuthorizationController, didSelectShippingMethod shippingMethod: PassKit.PKShippingMethod, handler completion: @escaping (PassKit.PKPaymentRequestShippingMethodUpdate) -> Swift.Void) + @objc public func paymentAuthorizationController(_ controller: PassKit.PKPaymentAuthorizationController, didSelectShippingContact contact: PassKit.PKContact, handler completion: @escaping (PassKit.PKPaymentRequestShippingContactUpdate) -> Swift.Void) + @objc public func paymentAuthorizationControllerDidFinish(_ controller: PassKit.PKPaymentAuthorizationController) + @objc public func presentationWindow(for controller: PassKit.PKPaymentAuthorizationController) -> UIKit.UIWindow? + @frozen public enum PaymentStatus { + case success + case error + case userCancellation + public static func == (a: StripeApplePay.STPApplePayContext.PaymentStatus, b: StripeApplePay.STPApplePayContext.PaymentStatus) -> Swift.Bool + public var hashValue: Swift.Int { + get + } + public func hash(into hasher: inout Swift.Hasher) + } + @objc deinit + @objc override dynamic public init() +} +public typealias STPVoidBlock = () -> Swift.Void +public typealias STPIntentClientSecretCompletionBlock = (Swift.String?, Swift.Error?) -> Swift.Void +extension StripeAPI { + public struct PaymentMethod : StripeCore.StripeDecodable { + public let id: Swift.String + public var created: Foundation.Date? + public var livemode: Swift.Bool + public var type: StripeCore.StripeAPI.PaymentMethod.PaymentMethodType? + @frozen public enum PaymentMethodType : Swift.String, StripeCore.StripeEnumCodable { + case card + case unknown + case unparsable + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + public init?(rawValue: Swift.String) + } + @StripeCore.IncludeUnknownFields public var billingDetails: StripeCore.StripeAPI.BillingDetails? { + get + set + _modify + } + public var customerId: Swift.String? + @StripeCore.IncludeUnknownFields public var card: StripeCore.StripeAPI.PaymentMethod.Card? { + get + set + _modify + } + public struct Card : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var brand: StripeCore.StripeAPI.PaymentMethod.Card.Brand { + get + } + @frozen public enum Brand : Swift.String, StripeCore.StripeEnumCodable { + case visa + case amex + case mastercard + case discover + case jcb + case diners + case unionpay + case unknown + case unparsable + public typealias RawValue = Swift.String + public init?(rawValue: Swift.String) + public var rawValue: Swift.String { + get + } + } + public var country: Swift.String? { + get + } + public var expMonth: Swift.Int { + get + } + public var expYear: Swift.Int { + get + } + public var funding: Swift.String? { + get + } + public var last4: Swift.String? { + get + } + public var fingerprint: Swift.String? { + get + } + @StripeCore.IncludeUnknownFields public var networks: StripeCore.StripeAPI.PaymentMethod.Card.Networks? { + get + } + @StripeCore.IncludeUnknownFields public var threeDSecureUsage: StripeCore.StripeAPI.PaymentMethod.Card.ThreeDSecureUsage? { + get + } + public var wallet: StripeCore.StripeAPI.PaymentMethod.Card.Wallet? { + get + } + public struct Networks : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var available: [Swift.String]? { + get + } + public var preferred: Swift.String? { + get + } + public init(from decoder: Swift.Decoder) throws + } + public struct ThreeDSecureUsage : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var supported: Swift.Bool { + get + } + public init(from decoder: Swift.Decoder) throws + } + public struct Wallet : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var type: StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType { + get + } + public var masterpass: StripeCore.StripeAPI.PaymentMethod.Card.Wallet.Masterpass? { + get + } + public var visaCheckout: StripeCore.StripeAPI.PaymentMethod.Card.Wallet.VisaCheckout? { + get + } + @frozen public enum WalletType : Swift.String, StripeCore.StripeEnumCodable { + case amexExpressCheckout + case applePay + case googlePay + case masterpass + case samsungPay + case visaCheckout + case unknown + case unparsable + public typealias RawValue = Swift.String + public init?(rawValue: Swift.String) + public var rawValue: Swift.String { + get + } + } + public struct Masterpass : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var email: Swift.String? { + get + } + public var name: Swift.String? { + get + } + public var billingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public var shippingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public init(from decoder: Swift.Decoder) throws + } + public struct VisaCheckout : StripeCore.StripeDecodable { + public var email: Swift.String? { + get + } + public var name: Swift.String? { + get + } + public var billingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public var shippingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + } + public init(from decoder: Swift.Decoder) throws + } + public init(from decoder: Swift.Decoder) throws + } + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + } +} +extension StripeApplePay.STPApplePayContext.PaymentStatus : Swift.Equatable {} +extension StripeApplePay.STPApplePayContext.PaymentStatus : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.PaymentMethodType : Swift.Equatable {} +extension StripeCore.StripeAPI.PaymentMethod.PaymentMethodType : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.PaymentMethodType : Swift.RawRepresentable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Brand : Swift.Equatable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Brand : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Brand : Swift.RawRepresentable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType : Swift.Equatable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType : Swift.RawRepresentable {} diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Modules/StripeApplePay.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Modules/StripeApplePay.swiftmodule/x86_64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..58b334e Binary files /dev/null and b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Modules/StripeApplePay.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Modules/StripeApplePay.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Modules/StripeApplePay.swiftmodule/x86_64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..e98d016 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Modules/StripeApplePay.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -0,0 +1,249 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeApplePay +import Foundation +import ObjectiveC +import PassKit +@_exported import StripeApplePay +@_exported import StripeCore +import Swift +import UIKit +extension STPAPIClient { + public class func pkPaymentError(forStripeError stripeError: Swift.Error?) -> Swift.Error? +} +extension StripeAPI { + public struct BillingDetails : StripeCore.StripeCodable { + @StripeCore.IncludeUnknownFields public var address: StripeCore.StripeAPI.BillingDetails.Address? { + get + set + _modify + } + public struct Address : StripeCore.StripeCodable { + public var line1: Swift.String? + public var line2: Swift.String? + public var city: Swift.String? + public var state: Swift.String? + public var postalCode: Swift.String? + public var country: Swift.String? + public var _additionalParametersStorage: StripeCore.NonEncodableParameters? + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws + } + public var email: Swift.String? + public var name: Swift.String? + public var phone: Swift.String? + public var _additionalParametersStorage: StripeCore.NonEncodableParameters? + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws + } +} +@objc public protocol _stpinternal_STPApplePayContextDelegateBase : ObjectiveC.NSObjectProtocol { + @objc(applePayContext:didSelectShippingMethod:handler:) optional func applePayContext(_ context: StripeApplePay.STPApplePayContext, didSelect shippingMethod: PassKit.PKShippingMethod, handler: @escaping (PassKit.PKPaymentRequestShippingMethodUpdate) -> Swift.Void) + @objc optional func applePayContext(_ context: StripeApplePay.STPApplePayContext, didSelectShippingContact contact: PassKit.PKContact, handler: @escaping (PassKit.PKPaymentRequestShippingContactUpdate) -> Swift.Void) +} +public protocol ApplePayContextDelegate : StripeApplePay._stpinternal_STPApplePayContextDelegateBase { + func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCreatePaymentMethod paymentMethod: StripeCore.StripeAPI.PaymentMethod, paymentInformation: PassKit.PKPayment, completion: @escaping StripeApplePay.STPIntentClientSecretCompletionBlock) + func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCompleteWith status: StripeApplePay.STPApplePayContext.PaymentStatus, error: Swift.Error?) +} +@objc(_stpinternal_APContextSwift) public class STPApplePayContext : ObjectiveC.NSObject, PassKit.PKPaymentAuthorizationControllerDelegate { + required public init?(paymentRequest: PassKit.PKPaymentRequest, delegate: StripeApplePay._stpinternal_STPApplePayContextDelegateBase?) + required public init?(paymentRequest: PassKit.PKPaymentRequest, delegate: StripeApplePay.ApplePayContextDelegate) + @available(iOSApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + @available(macCatalystApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + public func presentApplePay(completion: StripeApplePay.STPVoidBlock? = nil) + public func presentApplePay(from window: UIKit.UIWindow?, completion: StripeApplePay.STPVoidBlock? = nil) + @available(*, deprecated, renamed: "presentApplePay(completion:)", message: "Use `presentApplePay(completion:)` instead.") + @objc(presentApplePayOnViewController:completion:) public func presentApplePay(on viewController: UIKit.UIViewController, completion: StripeApplePay.STPVoidBlock? = nil) + public var apiClient: StripeCore.STPAPIClient + @objc override dynamic public func responds(to aSelector: ObjectiveC.Selector!) -> Swift.Bool + @objc public func paymentAuthorizationController(_ controller: PassKit.PKPaymentAuthorizationController, didAuthorizePayment payment: PassKit.PKPayment, handler completion: @escaping (PassKit.PKPaymentAuthorizationResult) -> Swift.Void) + @objc public func paymentAuthorizationController(_ controller: PassKit.PKPaymentAuthorizationController, didSelectShippingMethod shippingMethod: PassKit.PKShippingMethod, handler completion: @escaping (PassKit.PKPaymentRequestShippingMethodUpdate) -> Swift.Void) + @objc public func paymentAuthorizationController(_ controller: PassKit.PKPaymentAuthorizationController, didSelectShippingContact contact: PassKit.PKContact, handler completion: @escaping (PassKit.PKPaymentRequestShippingContactUpdate) -> Swift.Void) + @objc public func paymentAuthorizationControllerDidFinish(_ controller: PassKit.PKPaymentAuthorizationController) + @objc public func presentationWindow(for controller: PassKit.PKPaymentAuthorizationController) -> UIKit.UIWindow? + @frozen public enum PaymentStatus { + case success + case error + case userCancellation + public static func == (a: StripeApplePay.STPApplePayContext.PaymentStatus, b: StripeApplePay.STPApplePayContext.PaymentStatus) -> Swift.Bool + public var hashValue: Swift.Int { + get + } + public func hash(into hasher: inout Swift.Hasher) + } + @objc deinit + @objc override dynamic public init() +} +public typealias STPVoidBlock = () -> Swift.Void +public typealias STPIntentClientSecretCompletionBlock = (Swift.String?, Swift.Error?) -> Swift.Void +extension StripeAPI { + public struct PaymentMethod : StripeCore.StripeDecodable { + public let id: Swift.String + public var created: Foundation.Date? + public var livemode: Swift.Bool + public var type: StripeCore.StripeAPI.PaymentMethod.PaymentMethodType? + @frozen public enum PaymentMethodType : Swift.String, StripeCore.StripeEnumCodable { + case card + case unknown + case unparsable + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + public init?(rawValue: Swift.String) + } + @StripeCore.IncludeUnknownFields public var billingDetails: StripeCore.StripeAPI.BillingDetails? { + get + set + _modify + } + public var customerId: Swift.String? + @StripeCore.IncludeUnknownFields public var card: StripeCore.StripeAPI.PaymentMethod.Card? { + get + set + _modify + } + public struct Card : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var brand: StripeCore.StripeAPI.PaymentMethod.Card.Brand { + get + } + @frozen public enum Brand : Swift.String, StripeCore.StripeEnumCodable { + case visa + case amex + case mastercard + case discover + case jcb + case diners + case unionpay + case unknown + case unparsable + public typealias RawValue = Swift.String + public init?(rawValue: Swift.String) + public var rawValue: Swift.String { + get + } + } + public var country: Swift.String? { + get + } + public var expMonth: Swift.Int { + get + } + public var expYear: Swift.Int { + get + } + public var funding: Swift.String? { + get + } + public var last4: Swift.String? { + get + } + public var fingerprint: Swift.String? { + get + } + @StripeCore.IncludeUnknownFields public var networks: StripeCore.StripeAPI.PaymentMethod.Card.Networks? { + get + } + @StripeCore.IncludeUnknownFields public var threeDSecureUsage: StripeCore.StripeAPI.PaymentMethod.Card.ThreeDSecureUsage? { + get + } + public var wallet: StripeCore.StripeAPI.PaymentMethod.Card.Wallet? { + get + } + public struct Networks : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var available: [Swift.String]? { + get + } + public var preferred: Swift.String? { + get + } + public init(from decoder: Swift.Decoder) throws + } + public struct ThreeDSecureUsage : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var supported: Swift.Bool { + get + } + public init(from decoder: Swift.Decoder) throws + } + public struct Wallet : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var type: StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType { + get + } + public var masterpass: StripeCore.StripeAPI.PaymentMethod.Card.Wallet.Masterpass? { + get + } + public var visaCheckout: StripeCore.StripeAPI.PaymentMethod.Card.Wallet.VisaCheckout? { + get + } + @frozen public enum WalletType : Swift.String, StripeCore.StripeEnumCodable { + case amexExpressCheckout + case applePay + case googlePay + case masterpass + case samsungPay + case visaCheckout + case unknown + case unparsable + public typealias RawValue = Swift.String + public init?(rawValue: Swift.String) + public var rawValue: Swift.String { + get + } + } + public struct Masterpass : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var email: Swift.String? { + get + } + public var name: Swift.String? { + get + } + public var billingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public var shippingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public init(from decoder: Swift.Decoder) throws + } + public struct VisaCheckout : StripeCore.StripeDecodable { + public var email: Swift.String? { + get + } + public var name: Swift.String? { + get + } + public var billingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public var shippingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + } + public init(from decoder: Swift.Decoder) throws + } + public init(from decoder: Swift.Decoder) throws + } + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + } +} +extension StripeApplePay.STPApplePayContext.PaymentStatus : Swift.Equatable {} +extension StripeApplePay.STPApplePayContext.PaymentStatus : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.PaymentMethodType : Swift.Equatable {} +extension StripeCore.StripeAPI.PaymentMethod.PaymentMethodType : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.PaymentMethodType : Swift.RawRepresentable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Brand : Swift.Equatable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Brand : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Brand : Swift.RawRepresentable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType : Swift.Equatable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType : Swift.RawRepresentable {} diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Modules/StripeApplePay.swiftmodule/x86_64.swiftdoc b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Modules/StripeApplePay.swiftmodule/x86_64.swiftdoc new file mode 100644 index 0000000..58b334e Binary files /dev/null and b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Modules/StripeApplePay.swiftmodule/x86_64.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Modules/StripeApplePay.swiftmodule/x86_64.swiftinterface b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Modules/StripeApplePay.swiftmodule/x86_64.swiftinterface new file mode 100644 index 0000000..e98d016 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Modules/StripeApplePay.swiftmodule/x86_64.swiftinterface @@ -0,0 +1,249 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeApplePay +import Foundation +import ObjectiveC +import PassKit +@_exported import StripeApplePay +@_exported import StripeCore +import Swift +import UIKit +extension STPAPIClient { + public class func pkPaymentError(forStripeError stripeError: Swift.Error?) -> Swift.Error? +} +extension StripeAPI { + public struct BillingDetails : StripeCore.StripeCodable { + @StripeCore.IncludeUnknownFields public var address: StripeCore.StripeAPI.BillingDetails.Address? { + get + set + _modify + } + public struct Address : StripeCore.StripeCodable { + public var line1: Swift.String? + public var line2: Swift.String? + public var city: Swift.String? + public var state: Swift.String? + public var postalCode: Swift.String? + public var country: Swift.String? + public var _additionalParametersStorage: StripeCore.NonEncodableParameters? + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws + } + public var email: Swift.String? + public var name: Swift.String? + public var phone: Swift.String? + public var _additionalParametersStorage: StripeCore.NonEncodableParameters? + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + public func encode(to encoder: Swift.Encoder) throws + } +} +@objc public protocol _stpinternal_STPApplePayContextDelegateBase : ObjectiveC.NSObjectProtocol { + @objc(applePayContext:didSelectShippingMethod:handler:) optional func applePayContext(_ context: StripeApplePay.STPApplePayContext, didSelect shippingMethod: PassKit.PKShippingMethod, handler: @escaping (PassKit.PKPaymentRequestShippingMethodUpdate) -> Swift.Void) + @objc optional func applePayContext(_ context: StripeApplePay.STPApplePayContext, didSelectShippingContact contact: PassKit.PKContact, handler: @escaping (PassKit.PKPaymentRequestShippingContactUpdate) -> Swift.Void) +} +public protocol ApplePayContextDelegate : StripeApplePay._stpinternal_STPApplePayContextDelegateBase { + func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCreatePaymentMethod paymentMethod: StripeCore.StripeAPI.PaymentMethod, paymentInformation: PassKit.PKPayment, completion: @escaping StripeApplePay.STPIntentClientSecretCompletionBlock) + func applePayContext(_ context: StripeApplePay.STPApplePayContext, didCompleteWith status: StripeApplePay.STPApplePayContext.PaymentStatus, error: Swift.Error?) +} +@objc(_stpinternal_APContextSwift) public class STPApplePayContext : ObjectiveC.NSObject, PassKit.PKPaymentAuthorizationControllerDelegate { + required public init?(paymentRequest: PassKit.PKPaymentRequest, delegate: StripeApplePay._stpinternal_STPApplePayContextDelegateBase?) + required public init?(paymentRequest: PassKit.PKPaymentRequest, delegate: StripeApplePay.ApplePayContextDelegate) + @available(iOSApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + @available(macCatalystApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:)` in App Extensions.") + public func presentApplePay(completion: StripeApplePay.STPVoidBlock? = nil) + public func presentApplePay(from window: UIKit.UIWindow?, completion: StripeApplePay.STPVoidBlock? = nil) + @available(*, deprecated, renamed: "presentApplePay(completion:)", message: "Use `presentApplePay(completion:)` instead.") + @objc(presentApplePayOnViewController:completion:) public func presentApplePay(on viewController: UIKit.UIViewController, completion: StripeApplePay.STPVoidBlock? = nil) + public var apiClient: StripeCore.STPAPIClient + @objc override dynamic public func responds(to aSelector: ObjectiveC.Selector!) -> Swift.Bool + @objc public func paymentAuthorizationController(_ controller: PassKit.PKPaymentAuthorizationController, didAuthorizePayment payment: PassKit.PKPayment, handler completion: @escaping (PassKit.PKPaymentAuthorizationResult) -> Swift.Void) + @objc public func paymentAuthorizationController(_ controller: PassKit.PKPaymentAuthorizationController, didSelectShippingMethod shippingMethod: PassKit.PKShippingMethod, handler completion: @escaping (PassKit.PKPaymentRequestShippingMethodUpdate) -> Swift.Void) + @objc public func paymentAuthorizationController(_ controller: PassKit.PKPaymentAuthorizationController, didSelectShippingContact contact: PassKit.PKContact, handler completion: @escaping (PassKit.PKPaymentRequestShippingContactUpdate) -> Swift.Void) + @objc public func paymentAuthorizationControllerDidFinish(_ controller: PassKit.PKPaymentAuthorizationController) + @objc public func presentationWindow(for controller: PassKit.PKPaymentAuthorizationController) -> UIKit.UIWindow? + @frozen public enum PaymentStatus { + case success + case error + case userCancellation + public static func == (a: StripeApplePay.STPApplePayContext.PaymentStatus, b: StripeApplePay.STPApplePayContext.PaymentStatus) -> Swift.Bool + public var hashValue: Swift.Int { + get + } + public func hash(into hasher: inout Swift.Hasher) + } + @objc deinit + @objc override dynamic public init() +} +public typealias STPVoidBlock = () -> Swift.Void +public typealias STPIntentClientSecretCompletionBlock = (Swift.String?, Swift.Error?) -> Swift.Void +extension StripeAPI { + public struct PaymentMethod : StripeCore.StripeDecodable { + public let id: Swift.String + public var created: Foundation.Date? + public var livemode: Swift.Bool + public var type: StripeCore.StripeAPI.PaymentMethod.PaymentMethodType? + @frozen public enum PaymentMethodType : Swift.String, StripeCore.StripeEnumCodable { + case card + case unknown + case unparsable + public typealias RawValue = Swift.String + public var rawValue: Swift.String { + get + } + public init?(rawValue: Swift.String) + } + @StripeCore.IncludeUnknownFields public var billingDetails: StripeCore.StripeAPI.BillingDetails? { + get + set + _modify + } + public var customerId: Swift.String? + @StripeCore.IncludeUnknownFields public var card: StripeCore.StripeAPI.PaymentMethod.Card? { + get + set + _modify + } + public struct Card : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var brand: StripeCore.StripeAPI.PaymentMethod.Card.Brand { + get + } + @frozen public enum Brand : Swift.String, StripeCore.StripeEnumCodable { + case visa + case amex + case mastercard + case discover + case jcb + case diners + case unionpay + case unknown + case unparsable + public typealias RawValue = Swift.String + public init?(rawValue: Swift.String) + public var rawValue: Swift.String { + get + } + } + public var country: Swift.String? { + get + } + public var expMonth: Swift.Int { + get + } + public var expYear: Swift.Int { + get + } + public var funding: Swift.String? { + get + } + public var last4: Swift.String? { + get + } + public var fingerprint: Swift.String? { + get + } + @StripeCore.IncludeUnknownFields public var networks: StripeCore.StripeAPI.PaymentMethod.Card.Networks? { + get + } + @StripeCore.IncludeUnknownFields public var threeDSecureUsage: StripeCore.StripeAPI.PaymentMethod.Card.ThreeDSecureUsage? { + get + } + public var wallet: StripeCore.StripeAPI.PaymentMethod.Card.Wallet? { + get + } + public struct Networks : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var available: [Swift.String]? { + get + } + public var preferred: Swift.String? { + get + } + public init(from decoder: Swift.Decoder) throws + } + public struct ThreeDSecureUsage : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var supported: Swift.Bool { + get + } + public init(from decoder: Swift.Decoder) throws + } + public struct Wallet : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var type: StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType { + get + } + public var masterpass: StripeCore.StripeAPI.PaymentMethod.Card.Wallet.Masterpass? { + get + } + public var visaCheckout: StripeCore.StripeAPI.PaymentMethod.Card.Wallet.VisaCheckout? { + get + } + @frozen public enum WalletType : Swift.String, StripeCore.StripeEnumCodable { + case amexExpressCheckout + case applePay + case googlePay + case masterpass + case samsungPay + case visaCheckout + case unknown + case unparsable + public typealias RawValue = Swift.String + public init?(rawValue: Swift.String) + public var rawValue: Swift.String { + get + } + } + public struct Masterpass : StripeCore.StripeDecodable { + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public var email: Swift.String? { + get + } + public var name: Swift.String? { + get + } + public var billingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public var shippingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public init(from decoder: Swift.Decoder) throws + } + public struct VisaCheckout : StripeCore.StripeDecodable { + public var email: Swift.String? { + get + } + public var name: Swift.String? { + get + } + public var billingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public var shippingAddress: StripeCore.StripeAPI.BillingDetails.Address? { + get + } + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + } + public init(from decoder: Swift.Decoder) throws + } + public init(from decoder: Swift.Decoder) throws + } + public var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? + public init(from decoder: Swift.Decoder) throws + } +} +extension StripeApplePay.STPApplePayContext.PaymentStatus : Swift.Equatable {} +extension StripeApplePay.STPApplePayContext.PaymentStatus : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.PaymentMethodType : Swift.Equatable {} +extension StripeCore.StripeAPI.PaymentMethod.PaymentMethodType : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.PaymentMethodType : Swift.RawRepresentable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Brand : Swift.Equatable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Brand : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Brand : Swift.RawRepresentable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType : Swift.Equatable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType : Swift.Hashable {} +extension StripeCore.StripeAPI.PaymentMethod.Card.Wallet.WalletType : Swift.RawRepresentable {} diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Modules/module.modulemap b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Modules/module.modulemap new file mode 100644 index 0000000..19789a9 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module StripeApplePay { + umbrella header "StripeApplePay.h" + + export * + module * { export * } +} + +module StripeApplePay.Swift { + header "StripeApplePay-Swift.h" + requires objc +} diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Project-Debug.xcconfig b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Project-Debug.xcconfig new file mode 100644 index 0000000..893a71f --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Project-Debug.xcconfig @@ -0,0 +1,41 @@ +// +// Project-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Project-Shared.xcconfig" + + +// Strip Debug Symbols During Copy +// +// Activating this setting causes binary files which are copied during the build (e.g., +// in a Copy Bundle Resources or Copy Files build phase) to be stripped of debugging +// symbols. It does not cause the linked product of a target to be stripped (use Strip +// Linked Product for that). + +COPY_PHASE_STRIP = NO + + +GCC_DYNAMIC_NO_PIC = NO + + +GCC_OPTIMIZATION_LEVEL = 0 + + +STP_EXTRA_PREPROCESSOR_MACROS= +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 STRIPE_UNIT_TESTS_ENABLED $(inherited) $(STP_EXTRA_PREPROCESSOR_MACROS) + + +GCC_SYMBOLS_PRIVATE_EXTERN = NO + + +// Build Active Architecture Only +// +// When checked, only the active architecture is built for faster debugging turnaround + +ONLY_ACTIVE_ARCH = YES + + +ENABLE_TESTABILITY = YES diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Project-Release.xcconfig b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Project-Release.xcconfig new file mode 100644 index 0000000..7ee2591 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Project-Release.xcconfig @@ -0,0 +1,33 @@ +// +// Project-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Project-Shared.xcconfig" + + +// Strip Debug Symbols During Copy +// +// Activating this setting causes binary files which are copied during the build (e.g., +// in a Copy Bundle Resources or Copy Files build phase) to be stripped of debugging +// symbols. It does not cause the linked product of a target to be stripped (use Strip +// Linked Product for that). + +COPY_PHASE_STRIP = YES + + +ENABLE_NS_ASSERTIONS = NO + +STP_EXTRA_PREPROCESSOR_MACROS= +GCC_PREPROCESSOR_DEFINITIONS = NDEBUG $(STP_EXTRA_PREPROCESSOR_MACROS) + + +// Validate Built Product +// +// Activating this setting will cause Xcode to perform validation checks on the product +// as part of the build process. + +VALIDATE_PRODUCT = YES + diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Project-Shared.xcconfig b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Project-Shared.xcconfig new file mode 100644 index 0000000..3c97646 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Project-Shared.xcconfig @@ -0,0 +1,169 @@ +// +// Project-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +// Always Search User Paths +// +// If enabled both #include -style and #include "header.h"-style directives +// will search the paths in "User Header Search Paths" before "Header Search Paths", with +// the consequence that user headers (such as your own String.h header) would have +// precedence over system headers when using #include . This is done using the +// -iquote flag for the paths provided in "User Header Search Paths". If disabled and +// your compiler fully supports separate user paths, user headers will only be accessible +// with #include "header.h"-style preprocessor directives. +// +// For backwards compatibility reasons, this setting is enabled by default, but disabling +// it is strongly recommended. + +ALWAYS_SEARCH_USER_PATHS = NO + + +CLANG_ENABLE_CODE_COVERAGE = NO + + +CLANG_ENABLE_OBJC_ARC = YES + + +CLANG_WARN__DUPLICATE_METHOD_MATCH = YES + + +CLANG_WARN_BOOL_CONVERSION = YES + + +CLANG_WARN_CONSTANT_CONVERSION = YES + + +CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES + + +CLANG_WARN_EMPTY_BODY = YES + + +CLANG_WARN_ENUM_CONVERSION = YES + + +CLANG_WARN_INT_CONVERSION = YES + + +CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES + + +CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES + + +CLANG_WARN_UNREACHABLE_CODE = YES + + +CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + + +CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + +// Default value is YES_NONAGGRESSIVE. YES is "Yes, Aggressive" in Xcode 9 UI +CLANG_ANALYZER_NONNULL = YES; + + +CLANG_WARN_INFINITE_RECURSION = YES; + + +CLANG_WARN_SUSPICIOUS_MOVE = YES; + + +ENABLE_STRICT_OBJC_MSGSEND = YES + + +GCC_C_LANGUAGE_STANDARD = gnu99 + + +CLANG_WARN_STRICT_PROTOTYPES = YES + + +CLANG_WARN_RANGE_LOOP_ANALYSIS = YES + + +CLANG_WARN_COMMA = YES + + +CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES + + +// Compiler for C/C++/Objective-C +// +// The compiler to use for C, C++, and Objective-C. + +GCC_VERSION = com.apple.compilers.llvm.clang.1_0 + + +GCC_WARN_64_TO_32_BIT_CONVERSION = YES + + +GCC_WARN_ABOUT_MISSING_NEWLINE = YES + + +GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES + + +GCC_WARN_SIGN_COMPARE = YES + + +GCC_WARN_UNDECLARED_SELECTOR = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES + + +GCC_WARN_UNUSED_FUNCTION = YES + + +GCC_WARN_UNUSED_VARIABLE = YES + + +GCC_NO_COMMON_BLOCKS = YES; + +// Precompiled Header Uses Files From Build Directory +// +// This setting allows for better control of sharing precompiled prefix header files +// between projects. By default, Xcode assumes that the prefix header file may include +// header files from the build directory if the build directory is outside of the project +// directory. (Xcode cannot determine this ahead of time since other projects may not +// have been built into the shared build directory at the time the information is +// needed.) +// +// If your prefix file never includes files from the build directory you may set this to +// "NO" to improve sharing of precompiled headers. If the prefix does use files from a +// build directory which is inside your project directory, you may set this to "YES" to +// avoid unintended sharing that may result in build failures. + +PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = NO + + +// Base SDK +// +// The name or path of the base SDK being used during the build. The product will be +// built against the headers and libraries located inside the indicated SDK. This path +// will be prepended to all search paths, and will be passed through the environment to +// the compiler and linker. Additional SDKs can be specified in the ADDITIONAL_SDKS +// setting. + +SDKROOT = iphoneos + + +WARNING_CFLAGS = -Wall -Wextra -Wundef -Wfloat-equal + +// iOS Deployment Target +// +// Code will load on this and later versions of iOS. Framework APIs that are unavailable +// in earlier versions will be weak-linked; your code should check for null function +// pointers or specific system versions before calling newer APIs. +// + +IPHONEOS_DEPLOYMENT_TARGET = 11.0 + +APPLICATION_EXTENSION_API_ONLY = NO diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/StripeApplePay b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/StripeApplePay new file mode 100755 index 0000000..dcb66f4 Binary files /dev/null and b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/StripeApplePay differ diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/StripeiOS Tests-Debug.xcconfig b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/StripeiOS Tests-Debug.xcconfig new file mode 100644 index 0000000..d969b04 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/StripeiOS Tests-Debug.xcconfig @@ -0,0 +1,13 @@ +// +// StripeiOS Tests-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +#include "StripeiOS Tests-Shared.xcconfig" + +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited) +DEBUG_INFORMATION_FORMAT = dwarf +SWIFT_ACTIVE_COMPILATION_CONDITIONS[arch=*] = DEBUG $(inherited) diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/StripeiOS Tests-Release.xcconfig b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/StripeiOS Tests-Release.xcconfig new file mode 100644 index 0000000..3b92cfd --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/StripeiOS Tests-Release.xcconfig @@ -0,0 +1,12 @@ +// +// StripeiOS Tests-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS Tests-Shared.xcconfig" + +//********************************************// +//* Currently no build settings in this file *// +//********************************************// diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/StripeiOS Tests-Shared.xcconfig b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/StripeiOS Tests-Shared.xcconfig new file mode 100644 index 0000000..3078777 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/StripeiOS Tests-Shared.xcconfig @@ -0,0 +1,89 @@ +// +// StripeiOS Tests-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +CLANG_CXX_LANGUAGE_STANDARD = gnu++0x + + +CLANG_CXX_LIBRARY = libc++ + + +CLANG_ENABLE_MODULES = YES + + +CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR + + +CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR + + +// Code Signing Identity +// +// The name ("common name") of a valid code-signing certificate in a keychain within your +// keychain path. A missing or invalid certificate will cause a build error. + +CODE_SIGN_IDENTITY = iPhone Developer + + +// Framework Search Paths +// +// This is a list of paths to folders containing frameworks to be searched by the +// compiler for both included or imported header files when compiling C, Objective-C, +// C++, or Objective-C++, and by the linker for frameworks used by the product. Paths are +// delimited by whitespace, so any paths with spaces in them need to be properly quoted. +// [-F] + +FRAMEWORK_SEARCH_PATHS = $(inherited) $(PROJECT_DIR)/Carthage/Build/iOS + +GCC_TREAT_WARNINGS_AS_ERRORS = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR + + +GCC_WARN_SHADOW = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE + +CLANG_WARN_ASSIGN_ENUM = YES +//CLANG_WARN_DOCUMENTATION_COMMENTS = YES not enabled because of errors in FBSnapshotTestCase headers +CLANG_WARN_INFINITE_RECURSION = YES +CLANG_WARN_SUSPICIOUS_MOVE = YES +GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES +GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES +GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES +GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES +GCC_WARN_UNKNOWN_PRAGMAS = YES +GCC_WARN_UNUSED_LABEL = YES +GCC_WARN_UNUSED_PARAMETER = YES + + +// Header Search Paths +// +// This is a list of paths to folders to be searched by the compiler for included or +// imported header files when compiling C, Objective-C, C++, or Objective-C++. Paths are +// delimited by whitespace, so any paths with spaces in them need to be properly quoted. +// [-I] + +HEADER_SEARCH_PATHS = $(inherited) + + +// Runpath Search Paths +// +// This is a list of paths to be added to the runpath search path list for the image +// being created. At runtime, dyld uses the runpath when searching for dylibs whose load +// path begins with '@rpath/'. [-rpath] + +LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @loader_path/Frameworks + + +OTHER_CFLAGS = + +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES + +LIBRARY_SEARCH_PATHS = $(inherited) diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/StripeiOS-Debug.xcconfig b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/StripeiOS-Debug.xcconfig new file mode 100644 index 0000000..99304b4 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/StripeiOS-Debug.xcconfig @@ -0,0 +1,12 @@ +// +// StripeiOS-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS-Shared.xcconfig" + + +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited) +SWIFT_ACTIVE_COMPILATION_CONDITIONS[arch=*] = DEBUG $(inherited) diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/StripeiOS-Release.xcconfig b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/StripeiOS-Release.xcconfig new file mode 100644 index 0000000..3d79290 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/StripeiOS-Release.xcconfig @@ -0,0 +1,10 @@ +// +// StripeiOS-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS-Shared.xcconfig" + +APPLICATION_EXTENSION_API_ONLY = NO diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/StripeiOS-Shared.xcconfig b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/StripeiOS-Shared.xcconfig new file mode 100644 index 0000000..b274c8d --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/StripeiOS-Shared.xcconfig @@ -0,0 +1,159 @@ +// +// StripeiOS-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Version.xcconfig" + +APPLICATION_EXTENSION_API_ONLY = YES + +CLANG_CXX_LANGUAGE_STANDARD = gnu++0x + + +CLANG_CXX_LIBRARY = libc++ + + +CLANG_ENABLE_MODULES = YES + + +CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR + + +CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR + +CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES +CLANG_WARN_INFINITE_RECURSION = YES +CLANG_WARN_SUSPICIOUS_MOVE = YES +CLANG_WARN_ASSIGN_ENUM = YES +CLANG_WARN_DOCUMENTATION_COMMENTS = YES +CLANG_WARN_UNGUARDED_AVAILABILITY = YES + +// Code Signing Identity +// +// The name ("common name") of a valid code-signing certificate in a keychain within your +// keychain path. A missing or invalid certificate will cause a build error. + +CODE_SIGN_IDENTITY[sdk=iphoneos*] = + +// Defines Module +// +// If enabled, the product will be treated as defining its own module. This enables +// automatic production of LLVM module map files when appropriate, and allows the product +// to be imported as a module. + +DEFINES_MODULE = YES + + +// Compatibility Version +// +// Determines the compatibility version of the resulting library, bundle, or framework +// binary. + +DYLIB_COMPATIBILITY_VERSION = 1 + + +// Current Library Version +// +// This setting defines the the current version of any framework built by the project. +// Like "Current Project Version", the value must be an integer or floating point number +// like 57 or 365.8. By default it is set to $(CURRENT_PROJECT_VERSION). + +DYLIB_CURRENT_VERSION = 1 + + +// Dynamic Library Install Name Base +// +// Sets the base value for the internal "install path" (LC_ID_DYLIB) in a dynamic +// library. This will be combined with the EXECUTABLE_PATH to form the full install path. +// Setting LD_DYLIB_INSTALL_NAME directly will override this setting. This setting +// defaults to the target's INSTALL_PATH. It is ignored when building any product other +// than a dynamic library. [-install_name] + +DYLIB_INSTALL_NAME_BASE = @rpath + + +GCC_TREAT_WARNINGS_AS_ERRORS = YES +SWIFT_TREAT_WARNINGS_AS_ERRORS = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR + + +GCC_WARN_SHADOW = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE + +GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES +GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES +GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES +GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES +GCC_WARN_UNKNOWN_PRAGMAS = YES +GCC_WARN_UNUSED_LABEL = YES +GCC_WARN_UNUSED_PARAMETER = YES + + +// Installation Directory +// +// The directory to install the build products in. This path is prepended by the +// 'Installation Build Products Location' (i.e., $(DSTROOT)). + +INSTALL_PATH = $(LOCAL_LIBRARY_DIR)/Frameworks + + +// Runpath Search Paths +// +// This is a list of paths to be added to the runpath search path list for the image +// being created. At runtime, dyld uses the runpath when searching for dylibs whose load +// path begins with '@rpath/'. [-rpath] + +LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @loader_path/Frameworks + + +// Skip Install +// +// Activating this setting when deployment locations are used causes the product to be +// built into an alternative location instead of the install location. + +SKIP_INSTALL = YES + + +// Targeted Device Family +// +// The build system uses the selected device to set the correct value for the +// UIDeviceFamily key it adds to the target's Info.plist file. +// +// iPhone - Application is built for iPhone and iPod touch. +// iPad - Application is built for iPad. +// iPhone/iPad - Application is built Universal for iPhone, iPod touch, and iPad. + +TARGETED_DEVICE_FAMILY = 1,2 + + +// Versioning Name Prefix +// +// Used as a prefix for the name of the version info symbol in the generated versioning +// source file. If you prefix your exported symbols you will probably want to set this +// to the same prefix. + +VERSION_INFO_PREFIX = + + +// Versioning System +// +// Selects the process used for version-stamping generated files. +// +// None - Use no versioning system. [] +// Apple Generic - Use the current project version setting. [apple-generic] + +VERSIONING_SYSTEM = apple-generic + +FRAMEWORK_SEARCH_PATHS = $(inherited) +HEADER_SEARCH_PATHS = $(inherited) + +LIBRARY_SEARCH_PATHS = $(inherited) $(CONFIGURATION_BUILD_DIR) + +// Generate .swiftinterface files +BUILD_LIBRARY_FOR_DISTRIBUTION = YES diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Version.xcconfig b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Version.xcconfig new file mode 100644 index 0000000..385e5d1 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/Version.xcconfig @@ -0,0 +1,9 @@ +// +// Version.xcconfig +// +// This file was generated by update_version.sh +// Do not edit this file directly. +// Instead, edit the `VERSION` file and run `ci_scripts/update_version.sh` +// + +CURRENT_PROJECT_VERSION=21.12.0 diff --git a/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/_CodeSignature/CodeResources b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000..9a04f14 --- /dev/null +++ b/stripe_ios/ios/platform/StripeApplePay.xcframework/ios-arm64_x86_64-simulator/StripeApplePay.framework/_CodeSignature/CodeResources @@ -0,0 +1,377 @@ + + + + + files + + Headers/StripeApplePay-Swift.h + + demHjUt4PbTk/6rU5C4WTh801T4= + + Headers/StripeApplePay.h + + INWzEaUlXArPezeYpPJX9F3qhgI= + + Info.plist + + JrvQAwA11JQePTkg9FI97hs5Qtk= + + Modules/StripeApplePay.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + k3wSZ0gDJUZ5ifn5U9KfZIRoTiA= + + Modules/StripeApplePay.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + sz19dSqaPAnovX7tNuSFy+o2FKs= + + Modules/StripeApplePay.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + CD+VPvdygHimZ0Z/9N8uZp3/UZQ= + + Modules/StripeApplePay.swiftmodule/arm64.swiftdoc + + k3wSZ0gDJUZ5ifn5U9KfZIRoTiA= + + Modules/StripeApplePay.swiftmodule/arm64.swiftinterface + + sz19dSqaPAnovX7tNuSFy+o2FKs= + + Modules/StripeApplePay.swiftmodule/arm64.swiftmodule + + CD+VPvdygHimZ0Z/9N8uZp3/UZQ= + + Modules/StripeApplePay.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + ta5Kx1S65tUT/Z9qsbKHITHxmps= + + Modules/StripeApplePay.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + CGsWfRgf0hGNuvZAbuq3a390GXM= + + Modules/StripeApplePay.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + MwICb/5+ogmVLjF9a43XvmU8Xgs= + + Modules/StripeApplePay.swiftmodule/x86_64.swiftdoc + + ta5Kx1S65tUT/Z9qsbKHITHxmps= + + Modules/StripeApplePay.swiftmodule/x86_64.swiftinterface + + CGsWfRgf0hGNuvZAbuq3a390GXM= + + Modules/StripeApplePay.swiftmodule/x86_64.swiftmodule + + MwICb/5+ogmVLjF9a43XvmU8Xgs= + + Modules/module.modulemap + + DDgkjAxrD0BO3CWkCxytZBh0jd8= + + Project-Debug.xcconfig + + n4N1KH/HDtAtM02FYLggVjQN/hA= + + Project-Release.xcconfig + + yoRzT4fJxZpKDrrYlW7GS/vPrX8= + + Project-Shared.xcconfig + + QpmL2mmJ8wleeTz4TJKCfn+VKb0= + + StripeiOS Tests-Debug.xcconfig + + 457iXHnhn1RB6CUwa4CK+jtCGkc= + + StripeiOS Tests-Release.xcconfig + + 0nTqLgIAKAMGub62qGXm1xhM1tU= + + StripeiOS Tests-Shared.xcconfig + + Dv2bE7zACQNBiNlKd+3VR0zJksY= + + StripeiOS-Debug.xcconfig + + 3PWe/ZA/fRAMhGidkHXLeW+HDfU= + + StripeiOS-Release.xcconfig + + ePihbKV1tMa/2TA7icckPYBl0DQ= + + StripeiOS-Shared.xcconfig + + sXIXJbd9sKiL8f3lhOaM0IYMlZE= + + Version.xcconfig + + 7h8EtEryCj8S1RVfu7tJcZkNF/k= + + + files2 + + Headers/StripeApplePay-Swift.h + + hash2 + + 5HZmoR7ZNjsdcTYn3WZwe3uzUEuxt4lsVS+UydrEE3A= + + + Headers/StripeApplePay.h + + hash2 + + AXXRI8UgkeAPBa7grdZ9kS96q+4+6oRia8Li04L3FAA= + + + Modules/StripeApplePay.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + hash2 + + 0SisejLRCqpox+KvErq+Nn9WaJp3m88bkxBU9Socxbk= + + + Modules/StripeApplePay.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + hash2 + + 7PlAN45gXD0D27fYAVy9Ou/PsIque4ag3bv3yMxGbJs= + + + Modules/StripeApplePay.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + hash2 + + IKyhVqnRBXOrO84+AK6UgF3IBuclaQuVRZnyZJi8FR0= + + + Modules/StripeApplePay.swiftmodule/arm64.swiftdoc + + hash2 + + 0SisejLRCqpox+KvErq+Nn9WaJp3m88bkxBU9Socxbk= + + + Modules/StripeApplePay.swiftmodule/arm64.swiftinterface + + hash2 + + 7PlAN45gXD0D27fYAVy9Ou/PsIque4ag3bv3yMxGbJs= + + + Modules/StripeApplePay.swiftmodule/arm64.swiftmodule + + hash2 + + IKyhVqnRBXOrO84+AK6UgF3IBuclaQuVRZnyZJi8FR0= + + + Modules/StripeApplePay.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + hash2 + + VJsXvibr68xi1agpwYEZVuegSm/GeHQHVeXoXzw9fyY= + + + Modules/StripeApplePay.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + hash2 + + KqO41euXNu031uocoUzMHLYA57TqdSmsAkKaUtNOAcE= + + + Modules/StripeApplePay.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + hash2 + + 8qmOMcqrD57Aa8pe0FRajOlh2DXUIwO9p/nMrHfufCk= + + + Modules/StripeApplePay.swiftmodule/x86_64.swiftdoc + + hash2 + + VJsXvibr68xi1agpwYEZVuegSm/GeHQHVeXoXzw9fyY= + + + Modules/StripeApplePay.swiftmodule/x86_64.swiftinterface + + hash2 + + KqO41euXNu031uocoUzMHLYA57TqdSmsAkKaUtNOAcE= + + + Modules/StripeApplePay.swiftmodule/x86_64.swiftmodule + + hash2 + + 8qmOMcqrD57Aa8pe0FRajOlh2DXUIwO9p/nMrHfufCk= + + + Modules/module.modulemap + + hash2 + + cOYgASgONTQZGfQclMSZyQujdyAch+UM3z+spzkOX2w= + + + Project-Debug.xcconfig + + hash2 + + kHoE/vfj0FcaEyk5a5O3K/XxflMeFXIC/a6yIIbNZdM= + + + Project-Release.xcconfig + + hash2 + + Ipf70x5Q5KKOWpMcAgr9EZLgQnXa1mn2I7GEN+JYF5w= + + + Project-Shared.xcconfig + + hash2 + + Twml4dKf2KXIbf21/+GmfDP3bi95I7/1540Qm+njxVE= + + + StripeiOS Tests-Debug.xcconfig + + hash2 + + uGVcgGik5SaJNbb2DOeEMtNQekkLmFTOMU208gSUpOg= + + + StripeiOS Tests-Release.xcconfig + + hash2 + + aei5qbaWUFeeU4+1EnWKiUYXju20d2DsZ8st6clNmjE= + + + StripeiOS Tests-Shared.xcconfig + + hash2 + + BPoQ19I+Jl8V6Og3rE0faUDimfMVIMcK7SpLegEzqHw= + + + StripeiOS-Debug.xcconfig + + hash2 + + pbwxxIUXIqn2E43DR+cv/cppQs18Xubm514KVZ7uNE8= + + + StripeiOS-Release.xcconfig + + hash2 + + TEIZY5oO6Uf7ZI8hO9d360gObHWb0BZEbbajcyx9sSI= + + + StripeiOS-Shared.xcconfig + + hash2 + + BboBmDBwEMCs6Bp4x/EbOHTaorFmBZz7lZNNO8HkKQE= + + + Version.xcconfig + + hash2 + + INjrVf3IWEihwmcp5YKB7z+/x09lU0xrzSwAIQV1FtE= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/Info.plist b/stripe_ios/ios/platform/StripeCameraCore.xcframework/Info.plist new file mode 100644 index 0000000..5cb6333 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCameraCore.xcframework/Info.plist @@ -0,0 +1,40 @@ + + + + + AvailableLibraries + + + LibraryIdentifier + ios-arm64 + LibraryPath + StripeCameraCore.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + StripeCameraCore.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/Headers/StripeCameraCore-Swift.h b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/Headers/StripeCameraCore-Swift.h new file mode 100644 index 0000000..646224b --- /dev/null +++ b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/Headers/StripeCameraCore-Swift.h @@ -0,0 +1,225 @@ +// Generated by Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +#ifndef STRIPECAMERACORE_SWIFT_H +#define STRIPECAMERACORE_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# 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 +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import CoreGraphics; +@import UIKit; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="StripeCameraCore",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +@class NSCoder; + +SWIFT_CLASS("_TtC16StripeCameraCore17CameraPreviewView") +@interface CameraPreviewView : UIView +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) Class _Nonnull layerClass;) ++ (Class _Nonnull)layerClass SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +@end + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/Headers/StripeCameraCore.h b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/Headers/StripeCameraCore.h new file mode 100644 index 0000000..6cb4561 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/Headers/StripeCameraCore.h @@ -0,0 +1,18 @@ +// +// StripeCameraCore.h +// StripeCameraCore +// +// Created by Mel Ludowise on 11/15/21. +// + +#import + +//! Project version number for StripeCameraCore. +FOUNDATION_EXPORT double StripeCameraCoreVersionNumber; + +//! Project version string for StripeCameraCore. +FOUNDATION_EXPORT const unsigned char StripeCameraCoreVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/Info.plist b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/Info.plist new file mode 100644 index 0000000..94b27fc Binary files /dev/null and b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/Info.plist differ diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/Modules/StripeCameraCore.swiftmodule/arm64-apple-ios.swiftdoc b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/Modules/StripeCameraCore.swiftmodule/arm64-apple-ios.swiftdoc new file mode 100644 index 0000000..a4a4a53 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/Modules/StripeCameraCore.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/Modules/StripeCameraCore.swiftmodule/arm64-apple-ios.swiftinterface b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/Modules/StripeCameraCore.swiftmodule/arm64-apple-ios.swiftinterface new file mode 100644 index 0000000..b5af43d --- /dev/null +++ b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/Modules/StripeCameraCore.swiftmodule/arm64-apple-ios.swiftinterface @@ -0,0 +1,15 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeCameraCore +import AVFoundation +import AVKit +import CoreGraphics +import Foundation +@_exported import StripeCameraCore +import StripeCore +import Swift +import UIKit +public protocol AppSettingsHelperProtocol { + var canOpenAppSettings: Swift.Bool { get } + func openAppSettings() +} diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/Modules/StripeCameraCore.swiftmodule/arm64.swiftdoc b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/Modules/StripeCameraCore.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..a4a4a53 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/Modules/StripeCameraCore.swiftmodule/arm64.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/Modules/StripeCameraCore.swiftmodule/arm64.swiftinterface b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/Modules/StripeCameraCore.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..b5af43d --- /dev/null +++ b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/Modules/StripeCameraCore.swiftmodule/arm64.swiftinterface @@ -0,0 +1,15 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeCameraCore +import AVFoundation +import AVKit +import CoreGraphics +import Foundation +@_exported import StripeCameraCore +import StripeCore +import Swift +import UIKit +public protocol AppSettingsHelperProtocol { + var canOpenAppSettings: Swift.Bool { get } + func openAppSettings() +} diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/Modules/module.modulemap b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/Modules/module.modulemap new file mode 100644 index 0000000..335a47c --- /dev/null +++ b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module StripeCameraCore { + umbrella header "StripeCameraCore.h" + + export * + module * { export * } +} + +module StripeCameraCore.Swift { + header "StripeCameraCore-Swift.h" + requires objc +} diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/Project-Debug.xcconfig b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/Project-Debug.xcconfig new file mode 100644 index 0000000..893a71f --- /dev/null +++ b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/Project-Debug.xcconfig @@ -0,0 +1,41 @@ +// +// Project-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Project-Shared.xcconfig" + + +// Strip Debug Symbols During Copy +// +// Activating this setting causes binary files which are copied during the build (e.g., +// in a Copy Bundle Resources or Copy Files build phase) to be stripped of debugging +// symbols. It does not cause the linked product of a target to be stripped (use Strip +// Linked Product for that). + +COPY_PHASE_STRIP = NO + + +GCC_DYNAMIC_NO_PIC = NO + + +GCC_OPTIMIZATION_LEVEL = 0 + + +STP_EXTRA_PREPROCESSOR_MACROS= +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 STRIPE_UNIT_TESTS_ENABLED $(inherited) $(STP_EXTRA_PREPROCESSOR_MACROS) + + +GCC_SYMBOLS_PRIVATE_EXTERN = NO + + +// Build Active Architecture Only +// +// When checked, only the active architecture is built for faster debugging turnaround + +ONLY_ACTIVE_ARCH = YES + + +ENABLE_TESTABILITY = YES diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/Project-Release.xcconfig b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/Project-Release.xcconfig new file mode 100644 index 0000000..7ee2591 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/Project-Release.xcconfig @@ -0,0 +1,33 @@ +// +// Project-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Project-Shared.xcconfig" + + +// Strip Debug Symbols During Copy +// +// Activating this setting causes binary files which are copied during the build (e.g., +// in a Copy Bundle Resources or Copy Files build phase) to be stripped of debugging +// symbols. It does not cause the linked product of a target to be stripped (use Strip +// Linked Product for that). + +COPY_PHASE_STRIP = YES + + +ENABLE_NS_ASSERTIONS = NO + +STP_EXTRA_PREPROCESSOR_MACROS= +GCC_PREPROCESSOR_DEFINITIONS = NDEBUG $(STP_EXTRA_PREPROCESSOR_MACROS) + + +// Validate Built Product +// +// Activating this setting will cause Xcode to perform validation checks on the product +// as part of the build process. + +VALIDATE_PRODUCT = YES + diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/Project-Shared.xcconfig b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/Project-Shared.xcconfig new file mode 100644 index 0000000..3c97646 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/Project-Shared.xcconfig @@ -0,0 +1,169 @@ +// +// Project-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +// Always Search User Paths +// +// If enabled both #include -style and #include "header.h"-style directives +// will search the paths in "User Header Search Paths" before "Header Search Paths", with +// the consequence that user headers (such as your own String.h header) would have +// precedence over system headers when using #include . This is done using the +// -iquote flag for the paths provided in "User Header Search Paths". If disabled and +// your compiler fully supports separate user paths, user headers will only be accessible +// with #include "header.h"-style preprocessor directives. +// +// For backwards compatibility reasons, this setting is enabled by default, but disabling +// it is strongly recommended. + +ALWAYS_SEARCH_USER_PATHS = NO + + +CLANG_ENABLE_CODE_COVERAGE = NO + + +CLANG_ENABLE_OBJC_ARC = YES + + +CLANG_WARN__DUPLICATE_METHOD_MATCH = YES + + +CLANG_WARN_BOOL_CONVERSION = YES + + +CLANG_WARN_CONSTANT_CONVERSION = YES + + +CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES + + +CLANG_WARN_EMPTY_BODY = YES + + +CLANG_WARN_ENUM_CONVERSION = YES + + +CLANG_WARN_INT_CONVERSION = YES + + +CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES + + +CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES + + +CLANG_WARN_UNREACHABLE_CODE = YES + + +CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + + +CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + +// Default value is YES_NONAGGRESSIVE. YES is "Yes, Aggressive" in Xcode 9 UI +CLANG_ANALYZER_NONNULL = YES; + + +CLANG_WARN_INFINITE_RECURSION = YES; + + +CLANG_WARN_SUSPICIOUS_MOVE = YES; + + +ENABLE_STRICT_OBJC_MSGSEND = YES + + +GCC_C_LANGUAGE_STANDARD = gnu99 + + +CLANG_WARN_STRICT_PROTOTYPES = YES + + +CLANG_WARN_RANGE_LOOP_ANALYSIS = YES + + +CLANG_WARN_COMMA = YES + + +CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES + + +// Compiler for C/C++/Objective-C +// +// The compiler to use for C, C++, and Objective-C. + +GCC_VERSION = com.apple.compilers.llvm.clang.1_0 + + +GCC_WARN_64_TO_32_BIT_CONVERSION = YES + + +GCC_WARN_ABOUT_MISSING_NEWLINE = YES + + +GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES + + +GCC_WARN_SIGN_COMPARE = YES + + +GCC_WARN_UNDECLARED_SELECTOR = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES + + +GCC_WARN_UNUSED_FUNCTION = YES + + +GCC_WARN_UNUSED_VARIABLE = YES + + +GCC_NO_COMMON_BLOCKS = YES; + +// Precompiled Header Uses Files From Build Directory +// +// This setting allows for better control of sharing precompiled prefix header files +// between projects. By default, Xcode assumes that the prefix header file may include +// header files from the build directory if the build directory is outside of the project +// directory. (Xcode cannot determine this ahead of time since other projects may not +// have been built into the shared build directory at the time the information is +// needed.) +// +// If your prefix file never includes files from the build directory you may set this to +// "NO" to improve sharing of precompiled headers. If the prefix does use files from a +// build directory which is inside your project directory, you may set this to "YES" to +// avoid unintended sharing that may result in build failures. + +PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = NO + + +// Base SDK +// +// The name or path of the base SDK being used during the build. The product will be +// built against the headers and libraries located inside the indicated SDK. This path +// will be prepended to all search paths, and will be passed through the environment to +// the compiler and linker. Additional SDKs can be specified in the ADDITIONAL_SDKS +// setting. + +SDKROOT = iphoneos + + +WARNING_CFLAGS = -Wall -Wextra -Wundef -Wfloat-equal + +// iOS Deployment Target +// +// Code will load on this and later versions of iOS. Framework APIs that are unavailable +// in earlier versions will be weak-linked; your code should check for null function +// pointers or specific system versions before calling newer APIs. +// + +IPHONEOS_DEPLOYMENT_TARGET = 11.0 + +APPLICATION_EXTENSION_API_ONLY = NO diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/StripeCameraCore b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/StripeCameraCore new file mode 100755 index 0000000..2379432 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/StripeCameraCore differ diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/StripeiOS Tests-Debug.xcconfig b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/StripeiOS Tests-Debug.xcconfig new file mode 100644 index 0000000..d969b04 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/StripeiOS Tests-Debug.xcconfig @@ -0,0 +1,13 @@ +// +// StripeiOS Tests-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +#include "StripeiOS Tests-Shared.xcconfig" + +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited) +DEBUG_INFORMATION_FORMAT = dwarf +SWIFT_ACTIVE_COMPILATION_CONDITIONS[arch=*] = DEBUG $(inherited) diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/StripeiOS Tests-Release.xcconfig b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/StripeiOS Tests-Release.xcconfig new file mode 100644 index 0000000..3b92cfd --- /dev/null +++ b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/StripeiOS Tests-Release.xcconfig @@ -0,0 +1,12 @@ +// +// StripeiOS Tests-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS Tests-Shared.xcconfig" + +//********************************************// +//* Currently no build settings in this file *// +//********************************************// diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/StripeiOS Tests-Shared.xcconfig b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/StripeiOS Tests-Shared.xcconfig new file mode 100644 index 0000000..3078777 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/StripeiOS Tests-Shared.xcconfig @@ -0,0 +1,89 @@ +// +// StripeiOS Tests-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +CLANG_CXX_LANGUAGE_STANDARD = gnu++0x + + +CLANG_CXX_LIBRARY = libc++ + + +CLANG_ENABLE_MODULES = YES + + +CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR + + +CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR + + +// Code Signing Identity +// +// The name ("common name") of a valid code-signing certificate in a keychain within your +// keychain path. A missing or invalid certificate will cause a build error. + +CODE_SIGN_IDENTITY = iPhone Developer + + +// Framework Search Paths +// +// This is a list of paths to folders containing frameworks to be searched by the +// compiler for both included or imported header files when compiling C, Objective-C, +// C++, or Objective-C++, and by the linker for frameworks used by the product. Paths are +// delimited by whitespace, so any paths with spaces in them need to be properly quoted. +// [-F] + +FRAMEWORK_SEARCH_PATHS = $(inherited) $(PROJECT_DIR)/Carthage/Build/iOS + +GCC_TREAT_WARNINGS_AS_ERRORS = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR + + +GCC_WARN_SHADOW = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE + +CLANG_WARN_ASSIGN_ENUM = YES +//CLANG_WARN_DOCUMENTATION_COMMENTS = YES not enabled because of errors in FBSnapshotTestCase headers +CLANG_WARN_INFINITE_RECURSION = YES +CLANG_WARN_SUSPICIOUS_MOVE = YES +GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES +GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES +GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES +GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES +GCC_WARN_UNKNOWN_PRAGMAS = YES +GCC_WARN_UNUSED_LABEL = YES +GCC_WARN_UNUSED_PARAMETER = YES + + +// Header Search Paths +// +// This is a list of paths to folders to be searched by the compiler for included or +// imported header files when compiling C, Objective-C, C++, or Objective-C++. Paths are +// delimited by whitespace, so any paths with spaces in them need to be properly quoted. +// [-I] + +HEADER_SEARCH_PATHS = $(inherited) + + +// Runpath Search Paths +// +// This is a list of paths to be added to the runpath search path list for the image +// being created. At runtime, dyld uses the runpath when searching for dylibs whose load +// path begins with '@rpath/'. [-rpath] + +LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @loader_path/Frameworks + + +OTHER_CFLAGS = + +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES + +LIBRARY_SEARCH_PATHS = $(inherited) diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/StripeiOS-Debug.xcconfig b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/StripeiOS-Debug.xcconfig new file mode 100644 index 0000000..99304b4 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/StripeiOS-Debug.xcconfig @@ -0,0 +1,12 @@ +// +// StripeiOS-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS-Shared.xcconfig" + + +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited) +SWIFT_ACTIVE_COMPILATION_CONDITIONS[arch=*] = DEBUG $(inherited) diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/StripeiOS-Release.xcconfig b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/StripeiOS-Release.xcconfig new file mode 100644 index 0000000..3d79290 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/StripeiOS-Release.xcconfig @@ -0,0 +1,10 @@ +// +// StripeiOS-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS-Shared.xcconfig" + +APPLICATION_EXTENSION_API_ONLY = NO diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/StripeiOS-Shared.xcconfig b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/StripeiOS-Shared.xcconfig new file mode 100644 index 0000000..b274c8d --- /dev/null +++ b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/StripeiOS-Shared.xcconfig @@ -0,0 +1,159 @@ +// +// StripeiOS-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Version.xcconfig" + +APPLICATION_EXTENSION_API_ONLY = YES + +CLANG_CXX_LANGUAGE_STANDARD = gnu++0x + + +CLANG_CXX_LIBRARY = libc++ + + +CLANG_ENABLE_MODULES = YES + + +CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR + + +CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR + +CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES +CLANG_WARN_INFINITE_RECURSION = YES +CLANG_WARN_SUSPICIOUS_MOVE = YES +CLANG_WARN_ASSIGN_ENUM = YES +CLANG_WARN_DOCUMENTATION_COMMENTS = YES +CLANG_WARN_UNGUARDED_AVAILABILITY = YES + +// Code Signing Identity +// +// The name ("common name") of a valid code-signing certificate in a keychain within your +// keychain path. A missing or invalid certificate will cause a build error. + +CODE_SIGN_IDENTITY[sdk=iphoneos*] = + +// Defines Module +// +// If enabled, the product will be treated as defining its own module. This enables +// automatic production of LLVM module map files when appropriate, and allows the product +// to be imported as a module. + +DEFINES_MODULE = YES + + +// Compatibility Version +// +// Determines the compatibility version of the resulting library, bundle, or framework +// binary. + +DYLIB_COMPATIBILITY_VERSION = 1 + + +// Current Library Version +// +// This setting defines the the current version of any framework built by the project. +// Like "Current Project Version", the value must be an integer or floating point number +// like 57 or 365.8. By default it is set to $(CURRENT_PROJECT_VERSION). + +DYLIB_CURRENT_VERSION = 1 + + +// Dynamic Library Install Name Base +// +// Sets the base value for the internal "install path" (LC_ID_DYLIB) in a dynamic +// library. This will be combined with the EXECUTABLE_PATH to form the full install path. +// Setting LD_DYLIB_INSTALL_NAME directly will override this setting. This setting +// defaults to the target's INSTALL_PATH. It is ignored when building any product other +// than a dynamic library. [-install_name] + +DYLIB_INSTALL_NAME_BASE = @rpath + + +GCC_TREAT_WARNINGS_AS_ERRORS = YES +SWIFT_TREAT_WARNINGS_AS_ERRORS = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR + + +GCC_WARN_SHADOW = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE + +GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES +GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES +GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES +GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES +GCC_WARN_UNKNOWN_PRAGMAS = YES +GCC_WARN_UNUSED_LABEL = YES +GCC_WARN_UNUSED_PARAMETER = YES + + +// Installation Directory +// +// The directory to install the build products in. This path is prepended by the +// 'Installation Build Products Location' (i.e., $(DSTROOT)). + +INSTALL_PATH = $(LOCAL_LIBRARY_DIR)/Frameworks + + +// Runpath Search Paths +// +// This is a list of paths to be added to the runpath search path list for the image +// being created. At runtime, dyld uses the runpath when searching for dylibs whose load +// path begins with '@rpath/'. [-rpath] + +LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @loader_path/Frameworks + + +// Skip Install +// +// Activating this setting when deployment locations are used causes the product to be +// built into an alternative location instead of the install location. + +SKIP_INSTALL = YES + + +// Targeted Device Family +// +// The build system uses the selected device to set the correct value for the +// UIDeviceFamily key it adds to the target's Info.plist file. +// +// iPhone - Application is built for iPhone and iPod touch. +// iPad - Application is built for iPad. +// iPhone/iPad - Application is built Universal for iPhone, iPod touch, and iPad. + +TARGETED_DEVICE_FAMILY = 1,2 + + +// Versioning Name Prefix +// +// Used as a prefix for the name of the version info symbol in the generated versioning +// source file. If you prefix your exported symbols you will probably want to set this +// to the same prefix. + +VERSION_INFO_PREFIX = + + +// Versioning System +// +// Selects the process used for version-stamping generated files. +// +// None - Use no versioning system. [] +// Apple Generic - Use the current project version setting. [apple-generic] + +VERSIONING_SYSTEM = apple-generic + +FRAMEWORK_SEARCH_PATHS = $(inherited) +HEADER_SEARCH_PATHS = $(inherited) + +LIBRARY_SEARCH_PATHS = $(inherited) $(CONFIGURATION_BUILD_DIR) + +// Generate .swiftinterface files +BUILD_LIBRARY_FOR_DISTRIBUTION = YES diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/Version.xcconfig b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/Version.xcconfig new file mode 100644 index 0000000..385e5d1 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64/StripeCameraCore.framework/Version.xcconfig @@ -0,0 +1,9 @@ +// +// Version.xcconfig +// +// This file was generated by update_version.sh +// Do not edit this file directly. +// Instead, edit the `VERSION` file and run `ci_scripts/update_version.sh` +// + +CURRENT_PROJECT_VERSION=21.12.0 diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Headers/StripeCameraCore-Swift.h b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Headers/StripeCameraCore-Swift.h new file mode 100644 index 0000000..a617257 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Headers/StripeCameraCore-Swift.h @@ -0,0 +1,458 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +#ifndef STRIPECAMERACORE_SWIFT_H +#define STRIPECAMERACORE_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# 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 +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import CoreGraphics; +@import UIKit; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="StripeCameraCore",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +@class NSCoder; + +SWIFT_CLASS("_TtC16StripeCameraCore17CameraPreviewView") +@interface CameraPreviewView : UIView +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) Class _Nonnull layerClass;) ++ (Class _Nonnull)layerClass SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +@end + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +#ifndef STRIPECAMERACORE_SWIFT_H +#define STRIPECAMERACORE_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# 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 +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import CoreGraphics; +@import UIKit; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="StripeCameraCore",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +@class NSCoder; + +SWIFT_CLASS("_TtC16StripeCameraCore17CameraPreviewView") +@interface CameraPreviewView : UIView +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE; +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) Class _Nonnull layerClass;) ++ (Class _Nonnull)layerClass SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +@end + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Headers/StripeCameraCore.h b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Headers/StripeCameraCore.h new file mode 100644 index 0000000..6cb4561 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Headers/StripeCameraCore.h @@ -0,0 +1,18 @@ +// +// StripeCameraCore.h +// StripeCameraCore +// +// Created by Mel Ludowise on 11/15/21. +// + +#import + +//! Project version number for StripeCameraCore. +FOUNDATION_EXPORT double StripeCameraCoreVersionNumber; + +//! Project version string for StripeCameraCore. +FOUNDATION_EXPORT const unsigned char StripeCameraCoreVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Info.plist b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Info.plist new file mode 100644 index 0000000..1138b73 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Info.plist differ diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Modules/StripeCameraCore.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Modules/StripeCameraCore.swiftmodule/arm64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..cef73fe Binary files /dev/null and b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Modules/StripeCameraCore.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Modules/StripeCameraCore.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Modules/StripeCameraCore.swiftmodule/arm64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..defaefd --- /dev/null +++ b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Modules/StripeCameraCore.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -0,0 +1,16 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeCameraCore +import AVFoundation +import AVKit +import CoreGraphics +import CoreMedia +import Foundation +@_exported import StripeCameraCore +import StripeCore +import Swift +import UIKit +public protocol AppSettingsHelperProtocol { + var canOpenAppSettings: Swift.Bool { get } + func openAppSettings() +} diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Modules/StripeCameraCore.swiftmodule/arm64.swiftdoc b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Modules/StripeCameraCore.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..cef73fe Binary files /dev/null and b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Modules/StripeCameraCore.swiftmodule/arm64.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Modules/StripeCameraCore.swiftmodule/arm64.swiftinterface b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Modules/StripeCameraCore.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..defaefd --- /dev/null +++ b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Modules/StripeCameraCore.swiftmodule/arm64.swiftinterface @@ -0,0 +1,16 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeCameraCore +import AVFoundation +import AVKit +import CoreGraphics +import CoreMedia +import Foundation +@_exported import StripeCameraCore +import StripeCore +import Swift +import UIKit +public protocol AppSettingsHelperProtocol { + var canOpenAppSettings: Swift.Bool { get } + func openAppSettings() +} diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Modules/StripeCameraCore.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Modules/StripeCameraCore.swiftmodule/x86_64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..6fe643a Binary files /dev/null and b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Modules/StripeCameraCore.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Modules/StripeCameraCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Modules/StripeCameraCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..9fa3e63 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Modules/StripeCameraCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -0,0 +1,16 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeCameraCore +import AVFoundation +import AVKit +import CoreGraphics +import CoreMedia +import Foundation +@_exported import StripeCameraCore +import StripeCore +import Swift +import UIKit +public protocol AppSettingsHelperProtocol { + var canOpenAppSettings: Swift.Bool { get } + func openAppSettings() +} diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Modules/StripeCameraCore.swiftmodule/x86_64.swiftdoc b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Modules/StripeCameraCore.swiftmodule/x86_64.swiftdoc new file mode 100644 index 0000000..6fe643a Binary files /dev/null and b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Modules/StripeCameraCore.swiftmodule/x86_64.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Modules/StripeCameraCore.swiftmodule/x86_64.swiftinterface b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Modules/StripeCameraCore.swiftmodule/x86_64.swiftinterface new file mode 100644 index 0000000..9fa3e63 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Modules/StripeCameraCore.swiftmodule/x86_64.swiftinterface @@ -0,0 +1,16 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeCameraCore +import AVFoundation +import AVKit +import CoreGraphics +import CoreMedia +import Foundation +@_exported import StripeCameraCore +import StripeCore +import Swift +import UIKit +public protocol AppSettingsHelperProtocol { + var canOpenAppSettings: Swift.Bool { get } + func openAppSettings() +} diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Modules/module.modulemap b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Modules/module.modulemap new file mode 100644 index 0000000..335a47c --- /dev/null +++ b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module StripeCameraCore { + umbrella header "StripeCameraCore.h" + + export * + module * { export * } +} + +module StripeCameraCore.Swift { + header "StripeCameraCore-Swift.h" + requires objc +} diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Project-Debug.xcconfig b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Project-Debug.xcconfig new file mode 100644 index 0000000..893a71f --- /dev/null +++ b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Project-Debug.xcconfig @@ -0,0 +1,41 @@ +// +// Project-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Project-Shared.xcconfig" + + +// Strip Debug Symbols During Copy +// +// Activating this setting causes binary files which are copied during the build (e.g., +// in a Copy Bundle Resources or Copy Files build phase) to be stripped of debugging +// symbols. It does not cause the linked product of a target to be stripped (use Strip +// Linked Product for that). + +COPY_PHASE_STRIP = NO + + +GCC_DYNAMIC_NO_PIC = NO + + +GCC_OPTIMIZATION_LEVEL = 0 + + +STP_EXTRA_PREPROCESSOR_MACROS= +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 STRIPE_UNIT_TESTS_ENABLED $(inherited) $(STP_EXTRA_PREPROCESSOR_MACROS) + + +GCC_SYMBOLS_PRIVATE_EXTERN = NO + + +// Build Active Architecture Only +// +// When checked, only the active architecture is built for faster debugging turnaround + +ONLY_ACTIVE_ARCH = YES + + +ENABLE_TESTABILITY = YES diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Project-Release.xcconfig b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Project-Release.xcconfig new file mode 100644 index 0000000..7ee2591 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Project-Release.xcconfig @@ -0,0 +1,33 @@ +// +// Project-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Project-Shared.xcconfig" + + +// Strip Debug Symbols During Copy +// +// Activating this setting causes binary files which are copied during the build (e.g., +// in a Copy Bundle Resources or Copy Files build phase) to be stripped of debugging +// symbols. It does not cause the linked product of a target to be stripped (use Strip +// Linked Product for that). + +COPY_PHASE_STRIP = YES + + +ENABLE_NS_ASSERTIONS = NO + +STP_EXTRA_PREPROCESSOR_MACROS= +GCC_PREPROCESSOR_DEFINITIONS = NDEBUG $(STP_EXTRA_PREPROCESSOR_MACROS) + + +// Validate Built Product +// +// Activating this setting will cause Xcode to perform validation checks on the product +// as part of the build process. + +VALIDATE_PRODUCT = YES + diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Project-Shared.xcconfig b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Project-Shared.xcconfig new file mode 100644 index 0000000..3c97646 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Project-Shared.xcconfig @@ -0,0 +1,169 @@ +// +// Project-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +// Always Search User Paths +// +// If enabled both #include -style and #include "header.h"-style directives +// will search the paths in "User Header Search Paths" before "Header Search Paths", with +// the consequence that user headers (such as your own String.h header) would have +// precedence over system headers when using #include . This is done using the +// -iquote flag for the paths provided in "User Header Search Paths". If disabled and +// your compiler fully supports separate user paths, user headers will only be accessible +// with #include "header.h"-style preprocessor directives. +// +// For backwards compatibility reasons, this setting is enabled by default, but disabling +// it is strongly recommended. + +ALWAYS_SEARCH_USER_PATHS = NO + + +CLANG_ENABLE_CODE_COVERAGE = NO + + +CLANG_ENABLE_OBJC_ARC = YES + + +CLANG_WARN__DUPLICATE_METHOD_MATCH = YES + + +CLANG_WARN_BOOL_CONVERSION = YES + + +CLANG_WARN_CONSTANT_CONVERSION = YES + + +CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES + + +CLANG_WARN_EMPTY_BODY = YES + + +CLANG_WARN_ENUM_CONVERSION = YES + + +CLANG_WARN_INT_CONVERSION = YES + + +CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES + + +CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES + + +CLANG_WARN_UNREACHABLE_CODE = YES + + +CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + + +CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + +// Default value is YES_NONAGGRESSIVE. YES is "Yes, Aggressive" in Xcode 9 UI +CLANG_ANALYZER_NONNULL = YES; + + +CLANG_WARN_INFINITE_RECURSION = YES; + + +CLANG_WARN_SUSPICIOUS_MOVE = YES; + + +ENABLE_STRICT_OBJC_MSGSEND = YES + + +GCC_C_LANGUAGE_STANDARD = gnu99 + + +CLANG_WARN_STRICT_PROTOTYPES = YES + + +CLANG_WARN_RANGE_LOOP_ANALYSIS = YES + + +CLANG_WARN_COMMA = YES + + +CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES + + +// Compiler for C/C++/Objective-C +// +// The compiler to use for C, C++, and Objective-C. + +GCC_VERSION = com.apple.compilers.llvm.clang.1_0 + + +GCC_WARN_64_TO_32_BIT_CONVERSION = YES + + +GCC_WARN_ABOUT_MISSING_NEWLINE = YES + + +GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES + + +GCC_WARN_SIGN_COMPARE = YES + + +GCC_WARN_UNDECLARED_SELECTOR = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES + + +GCC_WARN_UNUSED_FUNCTION = YES + + +GCC_WARN_UNUSED_VARIABLE = YES + + +GCC_NO_COMMON_BLOCKS = YES; + +// Precompiled Header Uses Files From Build Directory +// +// This setting allows for better control of sharing precompiled prefix header files +// between projects. By default, Xcode assumes that the prefix header file may include +// header files from the build directory if the build directory is outside of the project +// directory. (Xcode cannot determine this ahead of time since other projects may not +// have been built into the shared build directory at the time the information is +// needed.) +// +// If your prefix file never includes files from the build directory you may set this to +// "NO" to improve sharing of precompiled headers. If the prefix does use files from a +// build directory which is inside your project directory, you may set this to "YES" to +// avoid unintended sharing that may result in build failures. + +PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = NO + + +// Base SDK +// +// The name or path of the base SDK being used during the build. The product will be +// built against the headers and libraries located inside the indicated SDK. This path +// will be prepended to all search paths, and will be passed through the environment to +// the compiler and linker. Additional SDKs can be specified in the ADDITIONAL_SDKS +// setting. + +SDKROOT = iphoneos + + +WARNING_CFLAGS = -Wall -Wextra -Wundef -Wfloat-equal + +// iOS Deployment Target +// +// Code will load on this and later versions of iOS. Framework APIs that are unavailable +// in earlier versions will be weak-linked; your code should check for null function +// pointers or specific system versions before calling newer APIs. +// + +IPHONEOS_DEPLOYMENT_TARGET = 11.0 + +APPLICATION_EXTENSION_API_ONLY = NO diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/StripeCameraCore b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/StripeCameraCore new file mode 100755 index 0000000..c27676a Binary files /dev/null and b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/StripeCameraCore differ diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/StripeiOS Tests-Debug.xcconfig b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/StripeiOS Tests-Debug.xcconfig new file mode 100644 index 0000000..d969b04 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/StripeiOS Tests-Debug.xcconfig @@ -0,0 +1,13 @@ +// +// StripeiOS Tests-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +#include "StripeiOS Tests-Shared.xcconfig" + +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited) +DEBUG_INFORMATION_FORMAT = dwarf +SWIFT_ACTIVE_COMPILATION_CONDITIONS[arch=*] = DEBUG $(inherited) diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/StripeiOS Tests-Release.xcconfig b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/StripeiOS Tests-Release.xcconfig new file mode 100644 index 0000000..3b92cfd --- /dev/null +++ b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/StripeiOS Tests-Release.xcconfig @@ -0,0 +1,12 @@ +// +// StripeiOS Tests-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS Tests-Shared.xcconfig" + +//********************************************// +//* Currently no build settings in this file *// +//********************************************// diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/StripeiOS Tests-Shared.xcconfig b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/StripeiOS Tests-Shared.xcconfig new file mode 100644 index 0000000..3078777 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/StripeiOS Tests-Shared.xcconfig @@ -0,0 +1,89 @@ +// +// StripeiOS Tests-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +CLANG_CXX_LANGUAGE_STANDARD = gnu++0x + + +CLANG_CXX_LIBRARY = libc++ + + +CLANG_ENABLE_MODULES = YES + + +CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR + + +CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR + + +// Code Signing Identity +// +// The name ("common name") of a valid code-signing certificate in a keychain within your +// keychain path. A missing or invalid certificate will cause a build error. + +CODE_SIGN_IDENTITY = iPhone Developer + + +// Framework Search Paths +// +// This is a list of paths to folders containing frameworks to be searched by the +// compiler for both included or imported header files when compiling C, Objective-C, +// C++, or Objective-C++, and by the linker for frameworks used by the product. Paths are +// delimited by whitespace, so any paths with spaces in them need to be properly quoted. +// [-F] + +FRAMEWORK_SEARCH_PATHS = $(inherited) $(PROJECT_DIR)/Carthage/Build/iOS + +GCC_TREAT_WARNINGS_AS_ERRORS = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR + + +GCC_WARN_SHADOW = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE + +CLANG_WARN_ASSIGN_ENUM = YES +//CLANG_WARN_DOCUMENTATION_COMMENTS = YES not enabled because of errors in FBSnapshotTestCase headers +CLANG_WARN_INFINITE_RECURSION = YES +CLANG_WARN_SUSPICIOUS_MOVE = YES +GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES +GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES +GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES +GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES +GCC_WARN_UNKNOWN_PRAGMAS = YES +GCC_WARN_UNUSED_LABEL = YES +GCC_WARN_UNUSED_PARAMETER = YES + + +// Header Search Paths +// +// This is a list of paths to folders to be searched by the compiler for included or +// imported header files when compiling C, Objective-C, C++, or Objective-C++. Paths are +// delimited by whitespace, so any paths with spaces in them need to be properly quoted. +// [-I] + +HEADER_SEARCH_PATHS = $(inherited) + + +// Runpath Search Paths +// +// This is a list of paths to be added to the runpath search path list for the image +// being created. At runtime, dyld uses the runpath when searching for dylibs whose load +// path begins with '@rpath/'. [-rpath] + +LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @loader_path/Frameworks + + +OTHER_CFLAGS = + +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES + +LIBRARY_SEARCH_PATHS = $(inherited) diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/StripeiOS-Debug.xcconfig b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/StripeiOS-Debug.xcconfig new file mode 100644 index 0000000..99304b4 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/StripeiOS-Debug.xcconfig @@ -0,0 +1,12 @@ +// +// StripeiOS-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS-Shared.xcconfig" + + +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited) +SWIFT_ACTIVE_COMPILATION_CONDITIONS[arch=*] = DEBUG $(inherited) diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/StripeiOS-Release.xcconfig b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/StripeiOS-Release.xcconfig new file mode 100644 index 0000000..3d79290 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/StripeiOS-Release.xcconfig @@ -0,0 +1,10 @@ +// +// StripeiOS-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS-Shared.xcconfig" + +APPLICATION_EXTENSION_API_ONLY = NO diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/StripeiOS-Shared.xcconfig b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/StripeiOS-Shared.xcconfig new file mode 100644 index 0000000..b274c8d --- /dev/null +++ b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/StripeiOS-Shared.xcconfig @@ -0,0 +1,159 @@ +// +// StripeiOS-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Version.xcconfig" + +APPLICATION_EXTENSION_API_ONLY = YES + +CLANG_CXX_LANGUAGE_STANDARD = gnu++0x + + +CLANG_CXX_LIBRARY = libc++ + + +CLANG_ENABLE_MODULES = YES + + +CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR + + +CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR + +CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES +CLANG_WARN_INFINITE_RECURSION = YES +CLANG_WARN_SUSPICIOUS_MOVE = YES +CLANG_WARN_ASSIGN_ENUM = YES +CLANG_WARN_DOCUMENTATION_COMMENTS = YES +CLANG_WARN_UNGUARDED_AVAILABILITY = YES + +// Code Signing Identity +// +// The name ("common name") of a valid code-signing certificate in a keychain within your +// keychain path. A missing or invalid certificate will cause a build error. + +CODE_SIGN_IDENTITY[sdk=iphoneos*] = + +// Defines Module +// +// If enabled, the product will be treated as defining its own module. This enables +// automatic production of LLVM module map files when appropriate, and allows the product +// to be imported as a module. + +DEFINES_MODULE = YES + + +// Compatibility Version +// +// Determines the compatibility version of the resulting library, bundle, or framework +// binary. + +DYLIB_COMPATIBILITY_VERSION = 1 + + +// Current Library Version +// +// This setting defines the the current version of any framework built by the project. +// Like "Current Project Version", the value must be an integer or floating point number +// like 57 or 365.8. By default it is set to $(CURRENT_PROJECT_VERSION). + +DYLIB_CURRENT_VERSION = 1 + + +// Dynamic Library Install Name Base +// +// Sets the base value for the internal "install path" (LC_ID_DYLIB) in a dynamic +// library. This will be combined with the EXECUTABLE_PATH to form the full install path. +// Setting LD_DYLIB_INSTALL_NAME directly will override this setting. This setting +// defaults to the target's INSTALL_PATH. It is ignored when building any product other +// than a dynamic library. [-install_name] + +DYLIB_INSTALL_NAME_BASE = @rpath + + +GCC_TREAT_WARNINGS_AS_ERRORS = YES +SWIFT_TREAT_WARNINGS_AS_ERRORS = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR + + +GCC_WARN_SHADOW = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE + +GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES +GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES +GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES +GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES +GCC_WARN_UNKNOWN_PRAGMAS = YES +GCC_WARN_UNUSED_LABEL = YES +GCC_WARN_UNUSED_PARAMETER = YES + + +// Installation Directory +// +// The directory to install the build products in. This path is prepended by the +// 'Installation Build Products Location' (i.e., $(DSTROOT)). + +INSTALL_PATH = $(LOCAL_LIBRARY_DIR)/Frameworks + + +// Runpath Search Paths +// +// This is a list of paths to be added to the runpath search path list for the image +// being created. At runtime, dyld uses the runpath when searching for dylibs whose load +// path begins with '@rpath/'. [-rpath] + +LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @loader_path/Frameworks + + +// Skip Install +// +// Activating this setting when deployment locations are used causes the product to be +// built into an alternative location instead of the install location. + +SKIP_INSTALL = YES + + +// Targeted Device Family +// +// The build system uses the selected device to set the correct value for the +// UIDeviceFamily key it adds to the target's Info.plist file. +// +// iPhone - Application is built for iPhone and iPod touch. +// iPad - Application is built for iPad. +// iPhone/iPad - Application is built Universal for iPhone, iPod touch, and iPad. + +TARGETED_DEVICE_FAMILY = 1,2 + + +// Versioning Name Prefix +// +// Used as a prefix for the name of the version info symbol in the generated versioning +// source file. If you prefix your exported symbols you will probably want to set this +// to the same prefix. + +VERSION_INFO_PREFIX = + + +// Versioning System +// +// Selects the process used for version-stamping generated files. +// +// None - Use no versioning system. [] +// Apple Generic - Use the current project version setting. [apple-generic] + +VERSIONING_SYSTEM = apple-generic + +FRAMEWORK_SEARCH_PATHS = $(inherited) +HEADER_SEARCH_PATHS = $(inherited) + +LIBRARY_SEARCH_PATHS = $(inherited) $(CONFIGURATION_BUILD_DIR) + +// Generate .swiftinterface files +BUILD_LIBRARY_FOR_DISTRIBUTION = YES diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Version.xcconfig b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Version.xcconfig new file mode 100644 index 0000000..385e5d1 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/Version.xcconfig @@ -0,0 +1,9 @@ +// +// Version.xcconfig +// +// This file was generated by update_version.sh +// Do not edit this file directly. +// Instead, edit the `VERSION` file and run `ci_scripts/update_version.sh` +// + +CURRENT_PROJECT_VERSION=21.12.0 diff --git a/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/_CodeSignature/CodeResources b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000..262c03c --- /dev/null +++ b/stripe_ios/ios/platform/StripeCameraCore.xcframework/ios-arm64_x86_64-simulator/StripeCameraCore.framework/_CodeSignature/CodeResources @@ -0,0 +1,377 @@ + + + + + files + + Headers/StripeCameraCore-Swift.h + + 3G0DQvKgcDqSaurxkYrmEPmQXRs= + + Headers/StripeCameraCore.h + + 7rIR7Qrvc6h/Pe3JmNy8CbVP3hA= + + Info.plist + + oUi/Z11WPVURxQ55x0bRNa0sjRA= + + Modules/StripeCameraCore.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + 5wFdLDiSY7biMiHkxeg/ZWRVY/Y= + + Modules/StripeCameraCore.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + 0PL2fTy7jdLeG3GKEYD/Y3uzUXA= + + Modules/StripeCameraCore.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + AM9bWbsKgHZKniBZVwZshJ8RGps= + + Modules/StripeCameraCore.swiftmodule/arm64.swiftdoc + + 5wFdLDiSY7biMiHkxeg/ZWRVY/Y= + + Modules/StripeCameraCore.swiftmodule/arm64.swiftinterface + + 0PL2fTy7jdLeG3GKEYD/Y3uzUXA= + + Modules/StripeCameraCore.swiftmodule/arm64.swiftmodule + + AM9bWbsKgHZKniBZVwZshJ8RGps= + + Modules/StripeCameraCore.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + rIHfDnaGjwr8skeWnHF08rFo4rQ= + + Modules/StripeCameraCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + pfFFoMmpTZPtuxCXuTd42L09fo0= + + Modules/StripeCameraCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + ncmgqyHd8EfM9hcWdXHf1MDHMwg= + + Modules/StripeCameraCore.swiftmodule/x86_64.swiftdoc + + rIHfDnaGjwr8skeWnHF08rFo4rQ= + + Modules/StripeCameraCore.swiftmodule/x86_64.swiftinterface + + pfFFoMmpTZPtuxCXuTd42L09fo0= + + Modules/StripeCameraCore.swiftmodule/x86_64.swiftmodule + + ncmgqyHd8EfM9hcWdXHf1MDHMwg= + + Modules/module.modulemap + + B7rFUBc6aCNVQOMPPdmuSTVayrA= + + Project-Debug.xcconfig + + n4N1KH/HDtAtM02FYLggVjQN/hA= + + Project-Release.xcconfig + + yoRzT4fJxZpKDrrYlW7GS/vPrX8= + + Project-Shared.xcconfig + + QpmL2mmJ8wleeTz4TJKCfn+VKb0= + + StripeiOS Tests-Debug.xcconfig + + 457iXHnhn1RB6CUwa4CK+jtCGkc= + + StripeiOS Tests-Release.xcconfig + + 0nTqLgIAKAMGub62qGXm1xhM1tU= + + StripeiOS Tests-Shared.xcconfig + + Dv2bE7zACQNBiNlKd+3VR0zJksY= + + StripeiOS-Debug.xcconfig + + 3PWe/ZA/fRAMhGidkHXLeW+HDfU= + + StripeiOS-Release.xcconfig + + ePihbKV1tMa/2TA7icckPYBl0DQ= + + StripeiOS-Shared.xcconfig + + sXIXJbd9sKiL8f3lhOaM0IYMlZE= + + Version.xcconfig + + 7h8EtEryCj8S1RVfu7tJcZkNF/k= + + + files2 + + Headers/StripeCameraCore-Swift.h + + hash2 + + dG/J8ePN6R0/AcWVs/axgsMoHVFDgKn5AYjUBLXNuik= + + + Headers/StripeCameraCore.h + + hash2 + + lwC6L0JhdBCxfSZaZDtGhm4HwucEkG3r40o0gKDDMDI= + + + Modules/StripeCameraCore.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + hash2 + + YKL+Fc0IvwbAmi/Vmu4wrt5uKEfpkynZ+BjcNRfkwrA= + + + Modules/StripeCameraCore.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + hash2 + + wQuSy20xWA4T76tejn5uQwUokwVBHn9x3yi3BZgQ3BY= + + + Modules/StripeCameraCore.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + hash2 + + S+rSxSj070qU4QeKSBFPVy69EjUJB4pdrPlaFJ65FYk= + + + Modules/StripeCameraCore.swiftmodule/arm64.swiftdoc + + hash2 + + YKL+Fc0IvwbAmi/Vmu4wrt5uKEfpkynZ+BjcNRfkwrA= + + + Modules/StripeCameraCore.swiftmodule/arm64.swiftinterface + + hash2 + + wQuSy20xWA4T76tejn5uQwUokwVBHn9x3yi3BZgQ3BY= + + + Modules/StripeCameraCore.swiftmodule/arm64.swiftmodule + + hash2 + + S+rSxSj070qU4QeKSBFPVy69EjUJB4pdrPlaFJ65FYk= + + + Modules/StripeCameraCore.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + hash2 + + EVIiX9sg1Bycx7+3scvAEKYZ9BjpdHgdwWF/O5DN3LA= + + + Modules/StripeCameraCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + hash2 + + d5IDceHb5/Z72DmOoABGbPzY/jh6JERj8OUUpY9BNeE= + + + Modules/StripeCameraCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + hash2 + + iIK+qzE1sfKruvRFQ6rREoEhgf1qc0oWHSXjgGlnQMg= + + + Modules/StripeCameraCore.swiftmodule/x86_64.swiftdoc + + hash2 + + EVIiX9sg1Bycx7+3scvAEKYZ9BjpdHgdwWF/O5DN3LA= + + + Modules/StripeCameraCore.swiftmodule/x86_64.swiftinterface + + hash2 + + d5IDceHb5/Z72DmOoABGbPzY/jh6JERj8OUUpY9BNeE= + + + Modules/StripeCameraCore.swiftmodule/x86_64.swiftmodule + + hash2 + + iIK+qzE1sfKruvRFQ6rREoEhgf1qc0oWHSXjgGlnQMg= + + + Modules/module.modulemap + + hash2 + + K4MEWMp0QQTTy5aoEiqnqOq1qu7gR0U5hMaJJc13Jfw= + + + Project-Debug.xcconfig + + hash2 + + kHoE/vfj0FcaEyk5a5O3K/XxflMeFXIC/a6yIIbNZdM= + + + Project-Release.xcconfig + + hash2 + + Ipf70x5Q5KKOWpMcAgr9EZLgQnXa1mn2I7GEN+JYF5w= + + + Project-Shared.xcconfig + + hash2 + + Twml4dKf2KXIbf21/+GmfDP3bi95I7/1540Qm+njxVE= + + + StripeiOS Tests-Debug.xcconfig + + hash2 + + uGVcgGik5SaJNbb2DOeEMtNQekkLmFTOMU208gSUpOg= + + + StripeiOS Tests-Release.xcconfig + + hash2 + + aei5qbaWUFeeU4+1EnWKiUYXju20d2DsZ8st6clNmjE= + + + StripeiOS Tests-Shared.xcconfig + + hash2 + + BPoQ19I+Jl8V6Og3rE0faUDimfMVIMcK7SpLegEzqHw= + + + StripeiOS-Debug.xcconfig + + hash2 + + pbwxxIUXIqn2E43DR+cv/cppQs18Xubm514KVZ7uNE8= + + + StripeiOS-Release.xcconfig + + hash2 + + TEIZY5oO6Uf7ZI8hO9d360gObHWb0BZEbbajcyx9sSI= + + + StripeiOS-Shared.xcconfig + + hash2 + + BboBmDBwEMCs6Bp4x/EbOHTaorFmBZz7lZNNO8HkKQE= + + + Version.xcconfig + + hash2 + + INjrVf3IWEihwmcp5YKB7z+/x09lU0xrzSwAIQV1FtE= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/Info.plist b/stripe_ios/ios/platform/StripeCardScan.xcframework/Info.plist new file mode 100644 index 0000000..651718e --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/Info.plist @@ -0,0 +1,40 @@ + + + + + AvailableLibraries + + + LibraryIdentifier + ios-arm64 + LibraryPath + StripeCardScan.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + StripeCardScan.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/Headers/StripeCardScan-Swift.h b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/Headers/StripeCardScan-Swift.h new file mode 100644 index 0000000..78f8ea9 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/Headers/StripeCardScan-Swift.h @@ -0,0 +1,221 @@ +// Generated by Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +#ifndef STRIPECARDSCAN_SWIFT_H +#define STRIPECARDSCAN_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# 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 +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="StripeCardScan",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + + + + + + + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/Headers/StripeCardScan.h b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/Headers/StripeCardScan.h new file mode 100644 index 0000000..ab708ca --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/Headers/StripeCardScan.h @@ -0,0 +1,18 @@ +// +// StripeCardScan.h +// StripeCardScan +// +// Created by Sam King on 11/8/21. +// + +#import + +//! Project version number for StripeCardScan. +FOUNDATION_EXPORT double StripeCardScanVersionNumber; + +//! Project version string for StripeCardScan. +FOUNDATION_EXPORT const unsigned char StripeCardScanVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/Info.plist b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/Info.plist new file mode 100644 index 0000000..a21d614 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/Info.plist differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/Modules/StripeCardScan.swiftmodule/arm64-apple-ios.swiftdoc b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/Modules/StripeCardScan.swiftmodule/arm64-apple-ios.swiftdoc new file mode 100644 index 0000000..ff2d2e9 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/Modules/StripeCardScan.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/Modules/StripeCardScan.swiftmodule/arm64-apple-ios.swiftinterface b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/Modules/StripeCardScan.swiftmodule/arm64-apple-ios.swiftinterface new file mode 100644 index 0000000..2d16edf --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/Modules/StripeCardScan.swiftmodule/arm64-apple-ios.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeCardScan +import AVFoundation +import AVKit +import Accelerate +import CoreGraphics +import CoreML +import CoreTelephony +import Foundation +@_exported import StripeCardScan +@_exported import StripeCore +import Swift +import UIKit +import VideoToolbox +import Vision +import os.log +import os +@frozen public enum CardImageVerificationSheetResult { + case completed(scannedCard: StripeCardScan.ScannedCard) + case canceled(reason: StripeCardScan.CancellationReason) + case failed(error: Swift.Error) +} +@available(iOS 11.2, *) +final public class CardImageVerificationSheet { + public init(cardImageVerificationIntentId: Swift.String, cardImageVerificationIntentSecret: Swift.String, apiClient: StripeCore.STPAPIClient = STPAPIClient.shared) + final public func present(from presentingViewController: UIKit.UIViewController, completion: @escaping (StripeCardScan.CardImageVerificationSheetResult) -> Swift.Void) + @objc deinit +} +public enum CancellationReason : Swift.String, Swift.Equatable { + case back + case closed + case userCannotScan + public typealias RawValue = Swift.String + public init?(rawValue: Swift.String) + public var rawValue: Swift.String { + get + } +} +public struct ScannedCard : Swift.Equatable { + public let pan: Swift.String + public static func == (a: StripeCardScan.ScannedCard, b: StripeCardScan.ScannedCard) -> Swift.Bool +} +public enum CardImageVerificationSheetError : Swift.Error { + case invalidClientSecret + case unknown(debugDescription: Swift.String) +} +extension CardImageVerificationSheetError : Foundation.LocalizedError { + public var localizedDescription: Swift.String { + get + } +} +extension CardImageVerificationSheetError : Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + get + } +} +extension StripeCardScan.CancellationReason : Swift.Hashable {} +extension StripeCardScan.CancellationReason : Swift.RawRepresentable {} diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/Modules/StripeCardScan.swiftmodule/arm64.swiftdoc b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/Modules/StripeCardScan.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..ff2d2e9 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/Modules/StripeCardScan.swiftmodule/arm64.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/Modules/StripeCardScan.swiftmodule/arm64.swiftinterface b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/Modules/StripeCardScan.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..2d16edf --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/Modules/StripeCardScan.swiftmodule/arm64.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeCardScan +import AVFoundation +import AVKit +import Accelerate +import CoreGraphics +import CoreML +import CoreTelephony +import Foundation +@_exported import StripeCardScan +@_exported import StripeCore +import Swift +import UIKit +import VideoToolbox +import Vision +import os.log +import os +@frozen public enum CardImageVerificationSheetResult { + case completed(scannedCard: StripeCardScan.ScannedCard) + case canceled(reason: StripeCardScan.CancellationReason) + case failed(error: Swift.Error) +} +@available(iOS 11.2, *) +final public class CardImageVerificationSheet { + public init(cardImageVerificationIntentId: Swift.String, cardImageVerificationIntentSecret: Swift.String, apiClient: StripeCore.STPAPIClient = STPAPIClient.shared) + final public func present(from presentingViewController: UIKit.UIViewController, completion: @escaping (StripeCardScan.CardImageVerificationSheetResult) -> Swift.Void) + @objc deinit +} +public enum CancellationReason : Swift.String, Swift.Equatable { + case back + case closed + case userCannotScan + public typealias RawValue = Swift.String + public init?(rawValue: Swift.String) + public var rawValue: Swift.String { + get + } +} +public struct ScannedCard : Swift.Equatable { + public let pan: Swift.String + public static func == (a: StripeCardScan.ScannedCard, b: StripeCardScan.ScannedCard) -> Swift.Bool +} +public enum CardImageVerificationSheetError : Swift.Error { + case invalidClientSecret + case unknown(debugDescription: Swift.String) +} +extension CardImageVerificationSheetError : Foundation.LocalizedError { + public var localizedDescription: Swift.String { + get + } +} +extension CardImageVerificationSheetError : Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + get + } +} +extension StripeCardScan.CancellationReason : Swift.Hashable {} +extension StripeCardScan.CancellationReason : Swift.RawRepresentable {} diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/Modules/module.modulemap b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/Modules/module.modulemap new file mode 100644 index 0000000..54f3d3a --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module StripeCardScan { + umbrella header "StripeCardScan.h" + + export * + module * { export * } +} + +module StripeCardScan.Swift { + header "StripeCardScan-Swift.h" + requires objc +} diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/Project-Debug.xcconfig b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/Project-Debug.xcconfig new file mode 100644 index 0000000..893a71f --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/Project-Debug.xcconfig @@ -0,0 +1,41 @@ +// +// Project-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Project-Shared.xcconfig" + + +// Strip Debug Symbols During Copy +// +// Activating this setting causes binary files which are copied during the build (e.g., +// in a Copy Bundle Resources or Copy Files build phase) to be stripped of debugging +// symbols. It does not cause the linked product of a target to be stripped (use Strip +// Linked Product for that). + +COPY_PHASE_STRIP = NO + + +GCC_DYNAMIC_NO_PIC = NO + + +GCC_OPTIMIZATION_LEVEL = 0 + + +STP_EXTRA_PREPROCESSOR_MACROS= +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 STRIPE_UNIT_TESTS_ENABLED $(inherited) $(STP_EXTRA_PREPROCESSOR_MACROS) + + +GCC_SYMBOLS_PRIVATE_EXTERN = NO + + +// Build Active Architecture Only +// +// When checked, only the active architecture is built for faster debugging turnaround + +ONLY_ACTIVE_ARCH = YES + + +ENABLE_TESTABILITY = YES diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/Project-Release.xcconfig b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/Project-Release.xcconfig new file mode 100644 index 0000000..7ee2591 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/Project-Release.xcconfig @@ -0,0 +1,33 @@ +// +// Project-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Project-Shared.xcconfig" + + +// Strip Debug Symbols During Copy +// +// Activating this setting causes binary files which are copied during the build (e.g., +// in a Copy Bundle Resources or Copy Files build phase) to be stripped of debugging +// symbols. It does not cause the linked product of a target to be stripped (use Strip +// Linked Product for that). + +COPY_PHASE_STRIP = YES + + +ENABLE_NS_ASSERTIONS = NO + +STP_EXTRA_PREPROCESSOR_MACROS= +GCC_PREPROCESSOR_DEFINITIONS = NDEBUG $(STP_EXTRA_PREPROCESSOR_MACROS) + + +// Validate Built Product +// +// Activating this setting will cause Xcode to perform validation checks on the product +// as part of the build process. + +VALIDATE_PRODUCT = YES + diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/Project-Shared.xcconfig b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/Project-Shared.xcconfig new file mode 100644 index 0000000..3c97646 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/Project-Shared.xcconfig @@ -0,0 +1,169 @@ +// +// Project-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +// Always Search User Paths +// +// If enabled both #include -style and #include "header.h"-style directives +// will search the paths in "User Header Search Paths" before "Header Search Paths", with +// the consequence that user headers (such as your own String.h header) would have +// precedence over system headers when using #include . This is done using the +// -iquote flag for the paths provided in "User Header Search Paths". If disabled and +// your compiler fully supports separate user paths, user headers will only be accessible +// with #include "header.h"-style preprocessor directives. +// +// For backwards compatibility reasons, this setting is enabled by default, but disabling +// it is strongly recommended. + +ALWAYS_SEARCH_USER_PATHS = NO + + +CLANG_ENABLE_CODE_COVERAGE = NO + + +CLANG_ENABLE_OBJC_ARC = YES + + +CLANG_WARN__DUPLICATE_METHOD_MATCH = YES + + +CLANG_WARN_BOOL_CONVERSION = YES + + +CLANG_WARN_CONSTANT_CONVERSION = YES + + +CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES + + +CLANG_WARN_EMPTY_BODY = YES + + +CLANG_WARN_ENUM_CONVERSION = YES + + +CLANG_WARN_INT_CONVERSION = YES + + +CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES + + +CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES + + +CLANG_WARN_UNREACHABLE_CODE = YES + + +CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + + +CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + +// Default value is YES_NONAGGRESSIVE. YES is "Yes, Aggressive" in Xcode 9 UI +CLANG_ANALYZER_NONNULL = YES; + + +CLANG_WARN_INFINITE_RECURSION = YES; + + +CLANG_WARN_SUSPICIOUS_MOVE = YES; + + +ENABLE_STRICT_OBJC_MSGSEND = YES + + +GCC_C_LANGUAGE_STANDARD = gnu99 + + +CLANG_WARN_STRICT_PROTOTYPES = YES + + +CLANG_WARN_RANGE_LOOP_ANALYSIS = YES + + +CLANG_WARN_COMMA = YES + + +CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES + + +// Compiler for C/C++/Objective-C +// +// The compiler to use for C, C++, and Objective-C. + +GCC_VERSION = com.apple.compilers.llvm.clang.1_0 + + +GCC_WARN_64_TO_32_BIT_CONVERSION = YES + + +GCC_WARN_ABOUT_MISSING_NEWLINE = YES + + +GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES + + +GCC_WARN_SIGN_COMPARE = YES + + +GCC_WARN_UNDECLARED_SELECTOR = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES + + +GCC_WARN_UNUSED_FUNCTION = YES + + +GCC_WARN_UNUSED_VARIABLE = YES + + +GCC_NO_COMMON_BLOCKS = YES; + +// Precompiled Header Uses Files From Build Directory +// +// This setting allows for better control of sharing precompiled prefix header files +// between projects. By default, Xcode assumes that the prefix header file may include +// header files from the build directory if the build directory is outside of the project +// directory. (Xcode cannot determine this ahead of time since other projects may not +// have been built into the shared build directory at the time the information is +// needed.) +// +// If your prefix file never includes files from the build directory you may set this to +// "NO" to improve sharing of precompiled headers. If the prefix does use files from a +// build directory which is inside your project directory, you may set this to "YES" to +// avoid unintended sharing that may result in build failures. + +PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = NO + + +// Base SDK +// +// The name or path of the base SDK being used during the build. The product will be +// built against the headers and libraries located inside the indicated SDK. This path +// will be prepended to all search paths, and will be passed through the environment to +// the compiler and linker. Additional SDKs can be specified in the ADDITIONAL_SDKS +// setting. + +SDKROOT = iphoneos + + +WARNING_CFLAGS = -Wall -Wextra -Wundef -Wfloat-equal + +// iOS Deployment Target +// +// Code will load on this and later versions of iOS. Framework APIs that are unavailable +// in earlier versions will be weak-linked; your code should check for null function +// pointers or specific system versions before calling newer APIs. +// + +IPHONEOS_DEPLOYMENT_TARGET = 11.0 + +APPLICATION_EXTENSION_API_ONLY = NO diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/SSDOcr.mlmodelc/analytics/coremldata.bin b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/SSDOcr.mlmodelc/analytics/coremldata.bin new file mode 100644 index 0000000..77dbb91 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/SSDOcr.mlmodelc/analytics/coremldata.bin differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/SSDOcr.mlmodelc/coremldata.bin b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/SSDOcr.mlmodelc/coremldata.bin new file mode 100644 index 0000000..b689336 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/SSDOcr.mlmodelc/coremldata.bin differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/SSDOcr.mlmodelc/metadata.json b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/SSDOcr.mlmodelc/metadata.json new file mode 100644 index 0000000..1673fa5 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/SSDOcr.mlmodelc/metadata.json @@ -0,0 +1,92 @@ +[ + { + "shortDescription" : "", + "metadataOutputVersion" : "3.0", + "outputSchema" : [ + { + "hasShapeFlexibility" : "0", + "isOptional" : "0", + "dataType" : "Float32", + "formattedType" : "MultiArray (Float32)", + "shortDescription" : "MultiArray of shape (1, 1, 1, 3420, 10). The first and second dimensions correspond to sequence and batch size, respectively", + "shape" : "[]", + "name" : "scores", + "type" : "MultiArray" + }, + { + "hasShapeFlexibility" : "0", + "isOptional" : "0", + "dataType" : "Float32", + "formattedType" : "MultiArray (Float32)", + "shortDescription" : "MultiArray of shape (1, 1, 1, 3420, 4). The first and second dimensions correspond to sequence and batch size, respectively", + "shape" : "[]", + "name" : "boxes", + "type" : "MultiArray" + }, + { + "hasShapeFlexibility" : "0", + "isOptional" : "0", + "dataType" : "Float32", + "formattedType" : "MultiArray (Float32)", + "shortDescription" : "MultiArray of shape (1, 1, 1, 3420, 1). The first and second dimensions correspond to sequence and batch size, respectively", + "shape" : "[]", + "name" : "filter", + "type" : "MultiArray" + } + ], + "version" : "", + "modelParameters" : [ + + ], + "author" : "", + "specificationVersion" : 2, + "license" : "", + "isUpdatable" : "0", + "availability" : { + "macOS" : "10.13.2", + "tvOS" : "11.2", + "watchOS" : "4.2", + "iOS" : "11.2", + "macCatalyst" : "11.2" + }, + "modelType" : { + "name" : "MLModelType_neuralNetwork" + }, + "inputSchema" : [ + { + "height" : "375", + "colorspace" : "RGB", + "isOptional" : "0", + "width" : "600", + "isColor" : "1", + "formattedType" : "Image (Color 600 × 375)", + "hasSizeFlexibility" : "0", + "type" : "Image", + "shortDescription" : "", + "name" : "0" + } + ], + "userDefinedMetadata" : { + + }, + "generatedClassName" : "SSDOcr", + "neuralNetworkLayerTypeHistogram" : { + "UnaryExp" : 1, + "Concat" : 2, + "ActivationSigmoidHard" : 2, + "Convolution" : 64, + "UnaryInverse" : 1, + "Flatten" : 2, + "ReduceSum" : 2, + "Reshape" : 5, + "Permute" : 7, + "Add" : 10, + "BatchNorm" : 60, + "Multiply" : 1, + "ActivationLinear" : 8, + "ActivationReLU" : 41, + "Slice" : 1 + }, + "method" : "predict" + } +] \ No newline at end of file diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/SSDOcr.mlmodelc/model.espresso.net b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/SSDOcr.mlmodelc/model.espresso.net new file mode 100644 index 0000000..c673fef --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/SSDOcr.mlmodelc/model.espresso.net @@ -0,0 +1,2489 @@ +{ + "transform_params" : { + "0" : { + "bias_a" : 0, + "bias_g" : -0.99221789836883545, + "bias_r" : -0.99221789836883545, + "bias_b" : -0.99221789836883545, + "center_mean" : 0, + "is_network_bgr" : 0, + "scale" : 0.0077821011655032635 + } + }, + "properties" : { + + }, + "analyses" : { + + }, + "format_version" : 200, + "storage" : "model.espresso.weights", + "layers" : [ + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "377", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "379", + "K" : 3, + "blob_biases" : 1, + "stride_x" : 2, + "name" : "377", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 1, + "stride_y" : 2, + "has_biases" : 1, + "C" : 16, + "bottom" : "0", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 3 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "380", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "382", + "K" : 16, + "blob_biases" : 5, + "name" : "380", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 16, + "pad_t" : 1, + "has_biases" : 1, + "C" : 16, + "bottom" : "379", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 7 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "383", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "384", + "K" : 16, + "blob_biases" : 9, + "name" : "383", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 8, + "bottom" : "382", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 11 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "385", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "387", + "K" : 8, + "blob_biases" : 13, + "name" : "385", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 48, + "bottom" : "384", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 15 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "388", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "390", + "K" : 48, + "blob_biases" : 17, + "stride_x" : 2, + "name" : "388", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 48, + "pad_t" : 1, + "stride_y" : 2, + "has_biases" : 1, + "C" : 48, + "bottom" : "387", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 19 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "391", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "392", + "K" : 48, + "blob_biases" : 21, + "name" : "391", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 12, + "bottom" : "390", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 23 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "393", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "395", + "K" : 12, + "blob_biases" : 25, + "name" : "393", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 72, + "bottom" : "392", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 27 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "396", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "398", + "K" : 72, + "blob_biases" : 29, + "name" : "396", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 72, + "pad_t" : 1, + "has_biases" : 1, + "C" : 72, + "bottom" : "395", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 31 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "399", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "400", + "K" : 72, + "blob_biases" : 33, + "name" : "399", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 12, + "bottom" : "398", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 35 + }, + { + "bottom" : "392,400", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "401", + "top" : "401", + "type" : "elementwise", + "name" : "401", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "402", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "404", + "K" : 12, + "blob_biases" : 37, + "name" : "402", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 72, + "bottom" : "401", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 39 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "405", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "407", + "K" : 72, + "blob_biases" : 41, + "stride_x" : 2, + "name" : "405", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 72, + "pad_t" : 1, + "stride_y" : 2, + "has_biases" : 1, + "C" : 72, + "bottom" : "404", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 43 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "408", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "409", + "K" : 72, + "blob_biases" : 45, + "name" : "408", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 16, + "bottom" : "407", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 47 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "410", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "412", + "K" : 16, + "blob_biases" : 49, + "name" : "410", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 96, + "bottom" : "409", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 51 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "413", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "415", + "K" : 96, + "blob_biases" : 53, + "name" : "413", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 96, + "pad_t" : 1, + "has_biases" : 1, + "C" : 96, + "bottom" : "412", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 55 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "416", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "417", + "K" : 96, + "blob_biases" : 57, + "name" : "416", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 16, + "bottom" : "415", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 59 + }, + { + "bottom" : "409,417", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "418", + "top" : "418", + "type" : "elementwise", + "name" : "418", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "419", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "421", + "K" : 16, + "blob_biases" : 61, + "name" : "419", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 96, + "bottom" : "418", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 63 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "422", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "424", + "K" : 96, + "blob_biases" : 65, + "name" : "422", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 96, + "pad_t" : 1, + "has_biases" : 1, + "C" : 96, + "bottom" : "421", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 67 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "425", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "426", + "K" : 96, + "blob_biases" : 69, + "name" : "425", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 16, + "bottom" : "424", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 71 + }, + { + "bottom" : "418,426", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "427", + "top" : "427", + "type" : "elementwise", + "name" : "427", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "428", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "430", + "K" : 16, + "blob_biases" : 73, + "name" : "428", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 96, + "bottom" : "427", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 75 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "431", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "433", + "K" : 96, + "blob_biases" : 77, + "stride_x" : 2, + "name" : "431", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 96, + "pad_t" : 1, + "stride_y" : 2, + "has_biases" : 1, + "C" : 96, + "bottom" : "430", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 79 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "434", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "435", + "K" : 96, + "blob_biases" : 81, + "name" : "434", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 32, + "bottom" : "433", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 83 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "436", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "438", + "K" : 32, + "blob_biases" : 85, + "name" : "436", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 192, + "bottom" : "435", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 87 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "439", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "441", + "K" : 192, + "blob_biases" : 89, + "name" : "439", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 192, + "pad_t" : 1, + "has_biases" : 1, + "C" : 192, + "bottom" : "438", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 91 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "442", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "443", + "K" : 192, + "blob_biases" : 93, + "name" : "442", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 32, + "bottom" : "441", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 95 + }, + { + "bottom" : "435,443", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "444", + "top" : "444", + "type" : "elementwise", + "name" : "444", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "445", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "447", + "K" : 32, + "blob_biases" : 97, + "name" : "445", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 192, + "bottom" : "444", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 99 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "448", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "450", + "K" : 192, + "blob_biases" : 101, + "name" : "448", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 192, + "pad_t" : 1, + "has_biases" : 1, + "C" : 192, + "bottom" : "447", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 103 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "451", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "452", + "K" : 192, + "blob_biases" : 105, + "name" : "451", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 32, + "bottom" : "450", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 107 + }, + { + "bottom" : "444,452", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "453", + "top" : "453", + "type" : "elementwise", + "name" : "453", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "454", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "456", + "K" : 32, + "blob_biases" : 109, + "name" : "454", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 192, + "bottom" : "453", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 111 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "457", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "459", + "K" : 192, + "blob_biases" : 113, + "name" : "457", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 192, + "pad_t" : 1, + "has_biases" : 1, + "C" : 192, + "bottom" : "456", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 115 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "460", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "461", + "K" : 192, + "blob_biases" : 117, + "name" : "460", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 32, + "bottom" : "459", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 119 + }, + { + "bottom" : "453,461", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "462", + "top" : "462", + "type" : "elementwise", + "name" : "462", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "463", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "465", + "K" : 32, + "blob_biases" : 121, + "name" : "463", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 192, + "bottom" : "462", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 123 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "466", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "468", + "K" : 192, + "blob_biases" : 125, + "name" : "466", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 192, + "pad_t" : 1, + "has_biases" : 1, + "C" : 192, + "bottom" : "465", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 127 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "469", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "470", + "K" : 192, + "blob_biases" : 129, + "name" : "469", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 48, + "bottom" : "468", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 131 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "471", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "473", + "K" : 48, + "blob_biases" : 133, + "name" : "471", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 288, + "bottom" : "470", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 135 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "474", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "476", + "K" : 288, + "blob_biases" : 137, + "name" : "474", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 288, + "pad_t" : 1, + "has_biases" : 1, + "C" : 288, + "bottom" : "473", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 139 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "477", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "478", + "K" : 288, + "blob_biases" : 141, + "name" : "477", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 48, + "bottom" : "476", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 143 + }, + { + "bottom" : "470,478", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "479", + "top" : "479", + "type" : "elementwise", + "name" : "479", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "480", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "482", + "K" : 48, + "blob_biases" : 145, + "name" : "480", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 288, + "bottom" : "479", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 147 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "483", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "485", + "K" : 288, + "blob_biases" : 149, + "name" : "483", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 288, + "pad_t" : 1, + "has_biases" : 1, + "C" : 288, + "bottom" : "482", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 151 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "486", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "487", + "K" : 288, + "blob_biases" : 153, + "name" : "486", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 48, + "bottom" : "485", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 155 + }, + { + "bottom" : "479,487", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "488", + "top" : "488", + "type" : "elementwise", + "name" : "488", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "489", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "491", + "K" : 48, + "blob_biases" : 157, + "name" : "489", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 288, + "bottom" : "488", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 159 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "492", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "494", + "K" : 288, + "blob_biases" : 161, + "stride_x" : 2, + "name" : "492", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 288, + "pad_t" : 1, + "stride_y" : 2, + "has_biases" : 1, + "C" : 288, + "bottom" : "491", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 163 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "495", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "496", + "K" : 288, + "blob_biases" : 165, + "name" : "495", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 80, + "bottom" : "494", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 167 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "497", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "499", + "K" : 288, + "blob_biases" : 169, + "name" : "497", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 288, + "pad_t" : 1, + "has_biases" : 1, + "C" : 288, + "bottom" : "491", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 171 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "500", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "502", + "K" : 288, + "blob_biases" : 173, + "name" : "500", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 288, + "pad_t" : 1, + "has_biases" : 1, + "C" : 288, + "bottom" : "499", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 175 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "503", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "505", + "K" : 288, + "blob_biases" : 177, + "name" : "503", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 288, + "pad_t" : 1, + "has_biases" : 1, + "C" : 288, + "bottom" : "502", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 179 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "506", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "506", + "K" : 288, + "blob_biases" : 181, + "name" : "506", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 33, + "bottom" : "505", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 183 + }, + { + "axis_h" : 0, + "axis_w" : 2, + "bottom" : "506", + "axis_k" : 1, + "axis_n" : 3, + "axis_seq" : 4, + "weights" : { + + }, + "debug_info" : "507", + "top" : "507", + "type" : "transpose", + "name" : "507" + }, + { + "name" : "509", + "weights" : { + + }, + "dst_w" : 1, + "version" : 1, + "dst_n" : 0, + "type" : "reshape", + "dst_h" : 1, + "mode" : 0, + "bottom" : "507", + "debug_info" : "509", + "hint_fallback_from_metal" : 1, + "dst_seq" : -1, + "dst_k" : 11, + "top" : "509" + }, + { + "pad_r" : 1, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "510", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "511", + "K" : 288, + "blob_biases" : 185, + "name" : "510", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 288, + "pad_t" : 1, + "has_biases" : 1, + "C" : 288, + "bottom" : "491", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 187 + }, + { + "alpha" : 0.1666666716337204, + "bottom" : "511", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "512_scale_0_1", + "top" : "511_scale_0_1", + "type" : "activation", + "name" : "512_scale_0_1", + "beta" : 0 + }, + { + "bottom" : "511_scale_0_1", + "weights" : { + + }, + "mode" : 7, + "debug_info" : "512_clip_0_1", + "top" : "511_clip_0_1", + "type" : "activation", + "name" : "512_clip_0_1", + "beta" : 0 + }, + { + "alpha" : 6, + "bottom" : "511_clip_0_1", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "512", + "top" : "512", + "type" : "activation", + "name" : "512", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "513", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "513", + "K" : 288, + "blob_biases" : 189, + "name" : "513", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 12, + "bottom" : "512", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 191 + }, + { + "axis_h" : 0, + "axis_w" : 2, + "bottom" : "513", + "axis_k" : 1, + "axis_n" : 3, + "axis_seq" : 4, + "weights" : { + + }, + "debug_info" : "514", + "top" : "514", + "type" : "transpose", + "name" : "514" + }, + { + "name" : "524", + "weights" : { + + }, + "dst_w" : 4, + "version" : 1, + "dst_n" : 0, + "type" : "reshape", + "dst_h" : -1, + "mode" : 0, + "bottom" : "514", + "debug_info" : "524", + "dst_seq" : 1, + "dst_k" : 1, + "top" : "524" + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "525", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "527", + "K" : 80, + "blob_biases" : 193, + "name" : "525", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 480, + "bottom" : "496", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 195 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "528", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "530", + "K" : 480, + "blob_biases" : 197, + "name" : "528", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 480, + "pad_t" : 1, + "has_biases" : 1, + "C" : 480, + "bottom" : "527", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 199 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "531", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "532", + "K" : 480, + "blob_biases" : 201, + "name" : "531", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 80, + "bottom" : "530", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 203 + }, + { + "bottom" : "496,532", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "533", + "top" : "533", + "type" : "elementwise", + "name" : "533", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "534", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "536", + "K" : 80, + "blob_biases" : 205, + "name" : "534", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 480, + "bottom" : "533", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 207 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "537", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "539", + "K" : 480, + "blob_biases" : 209, + "name" : "537", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 480, + "pad_t" : 1, + "has_biases" : 1, + "C" : 480, + "bottom" : "536", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 211 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "540", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "541", + "K" : 480, + "blob_biases" : 213, + "name" : "540", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 80, + "bottom" : "539", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 215 + }, + { + "bottom" : "533,541", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "542", + "top" : "542", + "type" : "elementwise", + "name" : "542", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "543", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "545", + "K" : 80, + "blob_biases" : 217, + "name" : "543", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 480, + "bottom" : "542", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 219 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "546", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "548", + "K" : 480, + "blob_biases" : 221, + "name" : "546", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 480, + "pad_t" : 1, + "has_biases" : 1, + "C" : 480, + "bottom" : "545", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 223 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "549", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "550", + "K" : 480, + "blob_biases" : 225, + "name" : "549", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 160, + "bottom" : "548", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 227 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "551", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "553", + "K" : 160, + "blob_biases" : 229, + "name" : "551", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 1280, + "bottom" : "550", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 231 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "554", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "556", + "K" : 1280, + "blob_biases" : 233, + "name" : "554", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1280, + "pad_t" : 1, + "has_biases" : 1, + "C" : 1280, + "bottom" : "553", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 235 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "557", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "559", + "K" : 1280, + "blob_biases" : 237, + "name" : "557", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1280, + "pad_t" : 1, + "has_biases" : 1, + "C" : 1280, + "bottom" : "556", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 239 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "560", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "562", + "K" : 1280, + "blob_biases" : 241, + "name" : "560", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1280, + "pad_t" : 1, + "has_biases" : 1, + "C" : 1280, + "bottom" : "559", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 243 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "563", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "563", + "K" : 1280, + "blob_biases" : 245, + "name" : "563", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 33, + "bottom" : "562", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 247 + }, + { + "axis_h" : 0, + "axis_w" : 2, + "bottom" : "563", + "axis_k" : 1, + "axis_n" : 3, + "axis_seq" : 4, + "weights" : { + + }, + "debug_info" : "564", + "top" : "564", + "type" : "transpose", + "name" : "564" + }, + { + "name" : "566", + "weights" : { + + }, + "dst_w" : 1, + "version" : 1, + "dst_n" : 0, + "type" : "reshape", + "dst_h" : 1, + "mode" : 0, + "bottom" : "564", + "debug_info" : "566", + "dst_seq" : -1, + "dst_k" : 11, + "top" : "566" + }, + { + "pad_r" : 1, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "567", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "568", + "K" : 1280, + "blob_biases" : 249, + "name" : "567", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1280, + "pad_t" : 1, + "has_biases" : 1, + "C" : 1280, + "bottom" : "553", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 251 + }, + { + "alpha" : 0.1666666716337204, + "bottom" : "568", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "569_scale_0_1", + "top" : "568_scale_0_1", + "type" : "activation", + "name" : "569_scale_0_1", + "beta" : 0 + }, + { + "bottom" : "568_scale_0_1", + "weights" : { + + }, + "mode" : 7, + "debug_info" : "569_clip_0_1", + "top" : "568_clip_0_1", + "type" : "activation", + "name" : "569_clip_0_1", + "beta" : 0 + }, + { + "alpha" : 6, + "bottom" : "568_clip_0_1", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "569", + "top" : "569", + "type" : "activation", + "name" : "569", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "570", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "570", + "K" : 1280, + "blob_biases" : 253, + "name" : "570", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 12, + "bottom" : "569", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 255 + }, + { + "axis_h" : 0, + "axis_w" : 2, + "bottom" : "570", + "axis_k" : 1, + "axis_n" : 3, + "axis_seq" : 4, + "weights" : { + + }, + "debug_info" : "571", + "top" : "571", + "type" : "transpose", + "name" : "571" + }, + { + "name" : "581", + "weights" : { + + }, + "dst_w" : 4, + "version" : 1, + "dst_n" : 0, + "type" : "reshape", + "dst_h" : -1, + "mode" : 0, + "bottom" : "571", + "debug_info" : "581", + "dst_seq" : 1, + "dst_k" : 1, + "top" : "581" + }, + { + "bottom" : "509,566", + "weights" : { + + }, + "simple_concat" : 1, + "hint_fallback_from_metal" : 1, + "debug_info" : "582", + "top" : "582", + "type" : "sequence_concat", + "name" : "582" + }, + { + "axis_h" : 2, + "axis_w" : 0, + "bottom" : "524", + "axis_k" : 1, + "axis_n" : 3, + "axis_seq" : 4, + "weights" : { + + }, + "debug_info" : "boxes_input_transpose0", + "top" : "boxes_524_transpose", + "type" : "transpose", + "name" : "boxes_input_transpose0" + }, + { + "axis_h" : 2, + "axis_w" : 0, + "bottom" : "581", + "axis_k" : 1, + "axis_n" : 3, + "axis_seq" : 4, + "weights" : { + + }, + "debug_info" : "boxes_input_transpose1", + "top" : "boxes_581_transpose", + "type" : "transpose", + "name" : "boxes_input_transpose1" + }, + { + "weights" : { + + }, + "debug_info" : "boxes", + "top" : "boxes_transpose", + "type" : "concat", + "name" : "boxes", + "bottom" : "boxes_524_transpose,boxes_581_transpose" + }, + { + "axis_seq" : 4, + "name" : "boxes_output_transpose0", + "axis_n" : 3, + "axis_h" : 2, + "type" : "transpose", + "attributes" : { + "is_output" : 1 + }, + "bottom" : "boxes_transpose", + "axis_w" : 0, + "axis_k" : 1, + "debug_info" : "boxes_output_transpose0", + "weights" : { + + }, + "top" : "boxes" + }, + { + "bottom" : "582", + "alpha" : 1, + "operation" : 27, + "weights" : { + + }, + "hint_fallback_from_metal" : 1, + "fused_relu" : 0, + "debug_info" : "584", + "top" : "584", + "type" : "elementwise", + "name" : "584", + "beta" : 0 + }, + { + "bottom" : "584", + "axis_mode" : 4, + "weights" : { + + }, + "mode" : 0, + "hint_fallback_from_metal" : 1, + "debug_info" : "585", + "use_version" : 1, + "top" : "585", + "type" : "reduce", + "name" : "585" + }, + { + "bottom" : "585", + "weights" : { + + }, + "mode" : 0, + "nd_axis" : 0, + "debug_info" : "587", + "top" : "587", + "type" : "flatten", + "name" : "587" + }, + { + "bottom" : "584", + "weights" : { + + }, + "mode" : 6, + "hint_fallback_from_metal" : 1, + "debug_info" : "588", + "top" : "588", + "type" : "activation", + "name" : "588", + "beta" : 0 + }, + { + "bottom" : "588", + "weights" : { + + }, + "mode" : 6, + "hint_fallback_from_metal" : 1, + "debug_info" : "589", + "top" : "589", + "type" : "activation", + "name" : "589", + "beta" : 0 + }, + { + "bottom" : "587", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "590", + "top" : "590", + "type" : "activation", + "name" : "590", + "beta" : 0 + }, + { + "bottom" : "590", + "alpha" : 1, + "operation" : 10, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "591_inverse", + "top" : "590_inverse", + "type" : "elementwise", + "name" : "591_inverse", + "beta" : 0 + }, + { + "bottom" : "589,590_inverse", + "alpha" : 1, + "operation" : 1, + "weights" : { + + }, + "hint_fallback_from_metal" : 1, + "fused_relu" : 0, + "debug_info" : "591", + "top" : "591", + "type" : "elementwise", + "name" : "591", + "beta" : 0 + }, + { + "bottom" : "591", + "weights" : { + + }, + "mode" : 6, + "hint_fallback_from_metal" : 1, + "debug_info" : "592", + "top" : "592", + "type" : "activation", + "name" : "592", + "beta" : 0 + }, + { + "bottom" : "592", + "end" : 11, + "start" : 1, + "weights" : { + + }, + "hint_fallback_from_metal" : 1, + "debug_info" : "593", + "axis" : 2, + "top" : "593", + "type" : "slice", + "name" : "593" + }, + { + "bottom" : "593", + "axis_mode" : 4, + "weights" : { + + }, + "mode" : 0, + "hint_fallback_from_metal" : 1, + "debug_info" : "594", + "use_version" : 1, + "top" : "594", + "type" : "reduce", + "name" : "594" + }, + { + "dst_seq" : 1, + "weights" : { + + }, + "dst_w" : 10, + "version" : 1, + "dst_n" : 0, + "type" : "reshape", + "dst_h" : -1, + "mode" : 0, + "attributes" : { + "is_output" : 1 + }, + "bottom" : "593", + "debug_info" : "scores", + "hint_fallback_from_metal" : 1, + "dst_k" : 1, + "name" : "scores", + "top" : "scores" + }, + { + "bottom" : "594", + "weights" : { + + }, + "mode" : 0, + "nd_axis" : 0, + "debug_info" : "filter", + "top" : "filter", + "type" : "flatten", + "name" : "filter", + "attributes" : { + "is_output" : 1 + } + } + ] +} \ No newline at end of file diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/SSDOcr.mlmodelc/model.espresso.shape b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/SSDOcr.mlmodelc/model.espresso.shape new file mode 100644 index 0000000..9e6d92c --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/SSDOcr.mlmodelc/model.espresso.shape @@ -0,0 +1,661 @@ +{ + "layer_shapes" : { + "584" : { + "k" : 11, + "w" : 1, + "n" : 1, + "seq" : 3420, + "h" : 1 + }, + "407" : { + "k" : 72, + "w" : 75, + "n" : 1, + "h" : 47 + }, + "430" : { + "k" : 96, + "w" : 75, + "n" : 1, + "h" : 47 + }, + "569" : { + "k" : 1280, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "415" : { + "k" : 96, + "w" : 75, + "n" : 1, + "h" : 47 + }, + "502" : { + "k" : 288, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "592" : { + "k" : 11, + "w" : 1, + "n" : 1, + "seq" : 3420, + "h" : 1 + }, + "511_scale_0_1" : { + "k" : 288, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "585" : { + "k" : 1, + "w" : 1, + "n" : 1, + "seq" : 3420, + "h" : 1 + }, + "593" : { + "k" : 10, + "w" : 1, + "n" : 1, + "seq" : 3420, + "h" : 1 + }, + "424" : { + "k" : 96, + "w" : 75, + "n" : 1, + "h" : 47 + }, + "499" : { + "k" : 288, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "511" : { + "k" : 288, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "409" : { + "k" : 16, + "w" : 75, + "n" : 1, + "h" : 47 + }, + "594" : { + "k" : 1, + "w" : 1, + "n" : 1, + "seq" : 3420, + "h" : 1 + }, + "417" : { + "k" : 16, + "w" : 75, + "n" : 1, + "h" : 47 + }, + "filter" : { + "k" : 1, + "w" : 1, + "n" : 1, + "seq" : 3420, + "h" : 1 + }, + "512" : { + "k" : 288, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "587" : { + "k" : 1, + "w" : 1, + "n" : 1, + "seq" : 3420, + "h" : 1 + }, + "433" : { + "k" : 96, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "418" : { + "k" : 16, + "w" : 75, + "n" : 1, + "h" : 47 + }, + "441" : { + "k" : 192, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "505" : { + "k" : 288, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "426" : { + "k" : 16, + "w" : 75, + "n" : 1, + "h" : 47 + }, + "513" : { + "k" : 12, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "588" : { + "k" : 11, + "w" : 1, + "n" : 1, + "seq" : 3420, + "h" : 1 + }, + "568_scale_0_1" : { + "k" : 1280, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "506" : { + "k" : 33, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "427" : { + "k" : 16, + "w" : 75, + "n" : 1, + "h" : 47 + }, + "450" : { + "k" : 192, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "514" : { + "k" : 24, + "w" : 12, + "n" : 1, + "h" : 38 + }, + "435" : { + "k" : 32, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "568_clip_0_1" : { + "k" : 1280, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "589" : { + "k" : 11, + "w" : 1, + "n" : 1, + "seq" : 3420, + "h" : 1 + }, + "443" : { + "k" : 32, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "507" : { + "k" : 24, + "w" : 33, + "n" : 1, + "h" : 38 + }, + "530" : { + "k" : 480, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "590_inverse" : { + "k" : 1, + "w" : 1, + "n" : 1, + "seq" : 3420, + "h" : 1 + }, + "444" : { + "k" : 32, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "452" : { + "k" : 32, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "524" : { + "k" : 1, + "w" : 4, + "n" : 1, + "h" : 2736 + }, + "509" : { + "k" : 11, + "w" : 1, + "n" : 1, + "seq" : 2736, + "h" : 1 + }, + "532" : { + "k" : 80, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "453" : { + "k" : 32, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "438" : { + "k" : 192, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "461" : { + "k" : 32, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "382" : { + "k" : 16, + "w" : 300, + "n" : 1, + "h" : 188 + }, + "533" : { + "k" : 80, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "390" : { + "k" : 48, + "w" : 150, + "n" : 1, + "h" : 94 + }, + "541" : { + "k" : 80, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "462" : { + "k" : 32, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "470" : { + "k" : 48, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "447" : { + "k" : 192, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "542" : { + "k" : 80, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "527" : { + "k" : 480, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "550" : { + "k" : 160, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "384" : { + "k" : 8, + "w" : 300, + "n" : 1, + "h" : 188 + }, + "392" : { + "k" : 12, + "w" : 150, + "n" : 1, + "h" : 94 + }, + "456" : { + "k" : 192, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "511_clip_0_1" : { + "k" : 288, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "536" : { + "k" : 480, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "465" : { + "k" : 192, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "473" : { + "k" : 288, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "545" : { + "k" : 480, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "379" : { + "k" : 16, + "w" : 300, + "n" : 1, + "h" : 188 + }, + "553" : { + "k" : 1280, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "387" : { + "k" : 48, + "w" : 300, + "n" : 1, + "h" : 188 + }, + "395" : { + "k" : 72, + "w" : 150, + "n" : 1, + "h" : 94 + }, + "459" : { + "k" : 192, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "482" : { + "k" : 288, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "400" : { + "k" : 12, + "w" : 150, + "n" : 1, + "h" : 94 + }, + "539" : { + "k" : 480, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "562" : { + "k" : 1280, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "570" : { + "k" : 12, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "boxes_transpose" : { + "k" : 3420, + "w" : 4, + "n" : 1, + "h" : 1 + }, + "468" : { + "k" : 192, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "491" : { + "k" : 288, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "401" : { + "k" : 12, + "w" : 150, + "n" : 1, + "h" : 94 + }, + "476" : { + "k" : 288, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "563" : { + "k" : 33, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "548" : { + "k" : 480, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "571" : { + "k" : 12, + "w" : 12, + "n" : 1, + "h" : 19 + }, + "556" : { + "k" : 1280, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "564" : { + "k" : 12, + "w" : 33, + "n" : 1, + "h" : 19 + }, + "398" : { + "k" : 72, + "w" : 150, + "n" : 1, + "h" : 94 + }, + "0" : { + "k" : 3, + "w" : 600, + "n" : 1, + "h" : 375 + }, + "485" : { + "k" : 288, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "boxes" : { + "k" : 1, + "w" : 4, + "n" : 1, + "h" : 3420 + }, + "boxes_524_transpose" : { + "k" : 2736, + "w" : 4, + "n" : 1, + "h" : 1 + }, + "478" : { + "k" : 48, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "scores" : { + "k" : 1, + "w" : 10, + "n" : 1, + "h" : 3420 + }, + "boxes_581_transpose" : { + "k" : 684, + "w" : 4, + "n" : 1, + "h" : 1 + }, + "494" : { + "k" : 288, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "581" : { + "k" : 1, + "w" : 4, + "n" : 1, + "h" : 684 + }, + "404" : { + "k" : 72, + "w" : 150, + "n" : 1, + "h" : 94 + }, + "479" : { + "k" : 48, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "566" : { + "k" : 11, + "w" : 1, + "n" : 1, + "seq" : 684, + "h" : 1 + }, + "412" : { + "k" : 96, + "w" : 75, + "n" : 1, + "h" : 47 + }, + "487" : { + "k" : 48, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "559" : { + "k" : 1280, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "582" : { + "k" : 11, + "w" : 1, + "n" : 1, + "seq" : 3420, + "h" : 1 + }, + "590" : { + "k" : 1, + "w" : 1, + "n" : 1, + "seq" : 3420, + "h" : 1 + }, + "488" : { + "k" : 48, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "421" : { + "k" : 96, + "w" : 75, + "n" : 1, + "h" : 47 + }, + "496" : { + "k" : 80, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "568" : { + "k" : 1280, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "591" : { + "k" : 11, + "w" : 1, + "n" : 1, + "seq" : 3420, + "h" : 1 + } + } +} \ No newline at end of file diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/SSDOcr.mlmodelc/model.espresso.weights b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/SSDOcr.mlmodelc/model.espresso.weights new file mode 100644 index 0000000..727f6b6 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/SSDOcr.mlmodelc/model.espresso.weights differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/SSDOcr.mlmodelc/model/coremldata.bin b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/SSDOcr.mlmodelc/model/coremldata.bin new file mode 100644 index 0000000..ce9aa8b Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/SSDOcr.mlmodelc/model/coremldata.bin differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/SSDOcr.mlmodelc/neural_network_optionals/coremldata.bin b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/SSDOcr.mlmodelc/neural_network_optionals/coremldata.bin new file mode 100644 index 0000000..6459c29 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/SSDOcr.mlmodelc/neural_network_optionals/coremldata.bin differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/StripeCardScan b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/StripeCardScan new file mode 100755 index 0000000..b49c524 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/StripeCardScan differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/StripeiOS Tests-Debug.xcconfig b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/StripeiOS Tests-Debug.xcconfig new file mode 100644 index 0000000..d969b04 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/StripeiOS Tests-Debug.xcconfig @@ -0,0 +1,13 @@ +// +// StripeiOS Tests-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +#include "StripeiOS Tests-Shared.xcconfig" + +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited) +DEBUG_INFORMATION_FORMAT = dwarf +SWIFT_ACTIVE_COMPILATION_CONDITIONS[arch=*] = DEBUG $(inherited) diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/StripeiOS Tests-Release.xcconfig b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/StripeiOS Tests-Release.xcconfig new file mode 100644 index 0000000..3b92cfd --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/StripeiOS Tests-Release.xcconfig @@ -0,0 +1,12 @@ +// +// StripeiOS Tests-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS Tests-Shared.xcconfig" + +//********************************************// +//* Currently no build settings in this file *// +//********************************************// diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/StripeiOS Tests-Shared.xcconfig b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/StripeiOS Tests-Shared.xcconfig new file mode 100644 index 0000000..3078777 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/StripeiOS Tests-Shared.xcconfig @@ -0,0 +1,89 @@ +// +// StripeiOS Tests-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +CLANG_CXX_LANGUAGE_STANDARD = gnu++0x + + +CLANG_CXX_LIBRARY = libc++ + + +CLANG_ENABLE_MODULES = YES + + +CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR + + +CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR + + +// Code Signing Identity +// +// The name ("common name") of a valid code-signing certificate in a keychain within your +// keychain path. A missing or invalid certificate will cause a build error. + +CODE_SIGN_IDENTITY = iPhone Developer + + +// Framework Search Paths +// +// This is a list of paths to folders containing frameworks to be searched by the +// compiler for both included or imported header files when compiling C, Objective-C, +// C++, or Objective-C++, and by the linker for frameworks used by the product. Paths are +// delimited by whitespace, so any paths with spaces in them need to be properly quoted. +// [-F] + +FRAMEWORK_SEARCH_PATHS = $(inherited) $(PROJECT_DIR)/Carthage/Build/iOS + +GCC_TREAT_WARNINGS_AS_ERRORS = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR + + +GCC_WARN_SHADOW = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE + +CLANG_WARN_ASSIGN_ENUM = YES +//CLANG_WARN_DOCUMENTATION_COMMENTS = YES not enabled because of errors in FBSnapshotTestCase headers +CLANG_WARN_INFINITE_RECURSION = YES +CLANG_WARN_SUSPICIOUS_MOVE = YES +GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES +GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES +GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES +GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES +GCC_WARN_UNKNOWN_PRAGMAS = YES +GCC_WARN_UNUSED_LABEL = YES +GCC_WARN_UNUSED_PARAMETER = YES + + +// Header Search Paths +// +// This is a list of paths to folders to be searched by the compiler for included or +// imported header files when compiling C, Objective-C, C++, or Objective-C++. Paths are +// delimited by whitespace, so any paths with spaces in them need to be properly quoted. +// [-I] + +HEADER_SEARCH_PATHS = $(inherited) + + +// Runpath Search Paths +// +// This is a list of paths to be added to the runpath search path list for the image +// being created. At runtime, dyld uses the runpath when searching for dylibs whose load +// path begins with '@rpath/'. [-rpath] + +LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @loader_path/Frameworks + + +OTHER_CFLAGS = + +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES + +LIBRARY_SEARCH_PATHS = $(inherited) diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/StripeiOS-Debug.xcconfig b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/StripeiOS-Debug.xcconfig new file mode 100644 index 0000000..99304b4 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/StripeiOS-Debug.xcconfig @@ -0,0 +1,12 @@ +// +// StripeiOS-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS-Shared.xcconfig" + + +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited) +SWIFT_ACTIVE_COMPILATION_CONDITIONS[arch=*] = DEBUG $(inherited) diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/StripeiOS-Release.xcconfig b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/StripeiOS-Release.xcconfig new file mode 100644 index 0000000..3d79290 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/StripeiOS-Release.xcconfig @@ -0,0 +1,10 @@ +// +// StripeiOS-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS-Shared.xcconfig" + +APPLICATION_EXTENSION_API_ONLY = NO diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/StripeiOS-Shared.xcconfig b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/StripeiOS-Shared.xcconfig new file mode 100644 index 0000000..b274c8d --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/StripeiOS-Shared.xcconfig @@ -0,0 +1,159 @@ +// +// StripeiOS-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Version.xcconfig" + +APPLICATION_EXTENSION_API_ONLY = YES + +CLANG_CXX_LANGUAGE_STANDARD = gnu++0x + + +CLANG_CXX_LIBRARY = libc++ + + +CLANG_ENABLE_MODULES = YES + + +CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR + + +CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR + +CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES +CLANG_WARN_INFINITE_RECURSION = YES +CLANG_WARN_SUSPICIOUS_MOVE = YES +CLANG_WARN_ASSIGN_ENUM = YES +CLANG_WARN_DOCUMENTATION_COMMENTS = YES +CLANG_WARN_UNGUARDED_AVAILABILITY = YES + +// Code Signing Identity +// +// The name ("common name") of a valid code-signing certificate in a keychain within your +// keychain path. A missing or invalid certificate will cause a build error. + +CODE_SIGN_IDENTITY[sdk=iphoneos*] = + +// Defines Module +// +// If enabled, the product will be treated as defining its own module. This enables +// automatic production of LLVM module map files when appropriate, and allows the product +// to be imported as a module. + +DEFINES_MODULE = YES + + +// Compatibility Version +// +// Determines the compatibility version of the resulting library, bundle, or framework +// binary. + +DYLIB_COMPATIBILITY_VERSION = 1 + + +// Current Library Version +// +// This setting defines the the current version of any framework built by the project. +// Like "Current Project Version", the value must be an integer or floating point number +// like 57 or 365.8. By default it is set to $(CURRENT_PROJECT_VERSION). + +DYLIB_CURRENT_VERSION = 1 + + +// Dynamic Library Install Name Base +// +// Sets the base value for the internal "install path" (LC_ID_DYLIB) in a dynamic +// library. This will be combined with the EXECUTABLE_PATH to form the full install path. +// Setting LD_DYLIB_INSTALL_NAME directly will override this setting. This setting +// defaults to the target's INSTALL_PATH. It is ignored when building any product other +// than a dynamic library. [-install_name] + +DYLIB_INSTALL_NAME_BASE = @rpath + + +GCC_TREAT_WARNINGS_AS_ERRORS = YES +SWIFT_TREAT_WARNINGS_AS_ERRORS = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR + + +GCC_WARN_SHADOW = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE + +GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES +GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES +GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES +GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES +GCC_WARN_UNKNOWN_PRAGMAS = YES +GCC_WARN_UNUSED_LABEL = YES +GCC_WARN_UNUSED_PARAMETER = YES + + +// Installation Directory +// +// The directory to install the build products in. This path is prepended by the +// 'Installation Build Products Location' (i.e., $(DSTROOT)). + +INSTALL_PATH = $(LOCAL_LIBRARY_DIR)/Frameworks + + +// Runpath Search Paths +// +// This is a list of paths to be added to the runpath search path list for the image +// being created. At runtime, dyld uses the runpath when searching for dylibs whose load +// path begins with '@rpath/'. [-rpath] + +LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @loader_path/Frameworks + + +// Skip Install +// +// Activating this setting when deployment locations are used causes the product to be +// built into an alternative location instead of the install location. + +SKIP_INSTALL = YES + + +// Targeted Device Family +// +// The build system uses the selected device to set the correct value for the +// UIDeviceFamily key it adds to the target's Info.plist file. +// +// iPhone - Application is built for iPhone and iPod touch. +// iPad - Application is built for iPad. +// iPhone/iPad - Application is built Universal for iPhone, iPod touch, and iPad. + +TARGETED_DEVICE_FAMILY = 1,2 + + +// Versioning Name Prefix +// +// Used as a prefix for the name of the version info symbol in the generated versioning +// source file. If you prefix your exported symbols you will probably want to set this +// to the same prefix. + +VERSION_INFO_PREFIX = + + +// Versioning System +// +// Selects the process used for version-stamping generated files. +// +// None - Use no versioning system. [] +// Apple Generic - Use the current project version setting. [apple-generic] + +VERSIONING_SYSTEM = apple-generic + +FRAMEWORK_SEARCH_PATHS = $(inherited) +HEADER_SEARCH_PATHS = $(inherited) + +LIBRARY_SEARCH_PATHS = $(inherited) $(CONFIGURATION_BUILD_DIR) + +// Generate .swiftinterface files +BUILD_LIBRARY_FOR_DISTRIBUTION = YES diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/UxModel.mlmodelc/analytics/coremldata.bin b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/UxModel.mlmodelc/analytics/coremldata.bin new file mode 100644 index 0000000..a859710 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/UxModel.mlmodelc/analytics/coremldata.bin differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/UxModel.mlmodelc/coremldata.bin b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/UxModel.mlmodelc/coremldata.bin new file mode 100644 index 0000000..5f4878e Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/UxModel.mlmodelc/coremldata.bin differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/UxModel.mlmodelc/metadata.json b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/UxModel.mlmodelc/metadata.json new file mode 100644 index 0000000..9a994a9 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/UxModel.mlmodelc/metadata.json @@ -0,0 +1,66 @@ +[ + { + "shortDescription" : "", + "metadataOutputVersion" : "3.0", + "outputSchema" : [ + { + "hasShapeFlexibility" : "0", + "isOptional" : "0", + "dataType" : "Double", + "formattedType" : "MultiArray (Double 3)", + "shortDescription" : "", + "shape" : "[3]", + "name" : "output1", + "type" : "MultiArray" + } + ], + "version" : "", + "modelParameters" : [ + + ], + "author" : "", + "specificationVersion" : 2, + "license" : "", + "isUpdatable" : "0", + "availability" : { + "macOS" : "10.13.2", + "tvOS" : "11.2", + "watchOS" : "4.2", + "iOS" : "11.2", + "macCatalyst" : "11.2" + }, + "modelType" : { + "name" : "MLModelType_neuralNetwork" + }, + "inputSchema" : [ + { + "height" : "224", + "colorspace" : "RGB", + "isOptional" : "0", + "width" : "224", + "isColor" : "1", + "formattedType" : "Image (Color 224 × 224)", + "hasSizeFlexibility" : "0", + "type" : "Image", + "shortDescription" : "", + "name" : "input1" + } + ], + "userDefinedMetadata" : { + "coremltoolsVersion" : "3.3" + }, + "generatedClassName" : "UxModel", + "neuralNetworkLayerTypeHistogram" : { + "ActivationLinear" : 72, + "ActivationReLU" : 36, + "Softmax" : 1, + "Add" : 10, + "PoolingAverage" : 1, + "UnaryThreshold" : 36, + "BatchNorm" : 53, + "Convolution" : 54, + "Reshape" : 2 + }, + "method" : "predict" + } +] \ No newline at end of file diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/UxModel.mlmodelc/model.espresso.net b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/UxModel.mlmodelc/model.espresso.net new file mode 100644 index 0000000..c289e4f --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/UxModel.mlmodelc/model.espresso.net @@ -0,0 +1,3252 @@ +{ + "transform_params" : { + "input1" : { + "bias_a" : 0, + "bias_g" : 0, + "bias_r" : 0, + "bias_b" : 0, + "center_mean" : 0, + "is_network_bgr" : 0, + "scale" : 0.0039215688593685627 + } + }, + "properties" : { + + }, + "analyses" : { + + }, + "format_version" : 200, + "storage" : "model.espresso.weights", + "layers" : [ + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_1", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_1_output_relu", + "K" : 3, + "blob_biases" : 1, + "stride_x" : 2, + "name" : "conv2d_1", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "stride_y" : 2, + "has_biases" : 1, + "C" : 16, + "bottom" : "input1", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 3 + }, + { + "alpha" : -1, + "bottom" : "activation_1_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_1__neg__", + "top" : "activation_1_output_relu_neg", + "type" : "activation", + "name" : "activation_1__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_1_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_1__clip__", + "top" : "activation_1_output_relu_clip", + "type" : "elementwise", + "name" : "activation_1__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_1_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_1_neg2", + "top" : "activation_1_output", + "type" : "activation", + "name" : "activation_1_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_2", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_2_output_relu", + "K" : 16, + "blob_biases" : 5, + "name" : "conv2d_2", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 16, + "bottom" : "activation_1_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 7 + }, + { + "alpha" : -1, + "bottom" : "activation_2_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_2__neg__", + "top" : "activation_2_output_relu_neg", + "type" : "activation", + "name" : "activation_2__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_2_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_2__clip__", + "top" : "activation_2_output_relu_clip", + "type" : "elementwise", + "name" : "activation_2__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_2_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_2_neg2", + "top" : "activation_2_output", + "type" : "activation", + "name" : "activation_2_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "depthwise_conv2d_1", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_3_output_relu", + "K" : 16, + "blob_biases" : 9, + "name" : "depthwise_conv2d_1", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 16, + "pad_t" : 0, + "has_biases" : 1, + "C" : 16, + "bottom" : "activation_2_output", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 11 + }, + { + "alpha" : -1, + "bottom" : "activation_3_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_3__neg__", + "top" : "activation_3_output_relu_neg", + "type" : "activation", + "name" : "activation_3__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_3_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_3__clip__", + "top" : "activation_3_output_relu_clip", + "type" : "elementwise", + "name" : "activation_3__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_3_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_3_neg2", + "top" : "activation_3_output", + "type" : "activation", + "name" : "activation_3_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "conv2d_3", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "batch_normalization_4_output", + "K" : 16, + "blob_biases" : 13, + "name" : "conv2d_3", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 8, + "bottom" : "activation_3_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 15 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_4", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_4_output_relu", + "K" : 8, + "blob_biases" : 17, + "name" : "conv2d_4", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 48, + "bottom" : "batch_normalization_4_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 19 + }, + { + "alpha" : -1, + "bottom" : "activation_4_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_4__neg__", + "top" : "activation_4_output_relu_neg", + "type" : "activation", + "name" : "activation_4__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_4_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_4__clip__", + "top" : "activation_4_output_relu_clip", + "type" : "elementwise", + "name" : "activation_4__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_4_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_4_neg2", + "top" : "activation_4_output", + "type" : "activation", + "name" : "activation_4_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "depthwise_conv2d_2", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_5_output_relu", + "K" : 48, + "blob_biases" : 21, + "stride_x" : 2, + "name" : "depthwise_conv2d_2", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 48, + "pad_t" : 0, + "stride_y" : 2, + "has_biases" : 1, + "C" : 48, + "bottom" : "activation_4_output", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 23 + }, + { + "alpha" : -1, + "bottom" : "activation_5_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_5__neg__", + "top" : "activation_5_output_relu_neg", + "type" : "activation", + "name" : "activation_5__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_5_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_5__clip__", + "top" : "activation_5_output_relu_clip", + "type" : "elementwise", + "name" : "activation_5__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_5_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_5_neg2", + "top" : "activation_5_output", + "type" : "activation", + "name" : "activation_5_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "conv2d_5", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "batch_normalization_7_output", + "K" : 48, + "blob_biases" : 25, + "name" : "conv2d_5", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 12, + "bottom" : "activation_5_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 27 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_6", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_6_output_relu", + "K" : 12, + "blob_biases" : 29, + "name" : "conv2d_6", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 72, + "bottom" : "batch_normalization_7_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 31 + }, + { + "alpha" : -1, + "bottom" : "activation_6_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_6__neg__", + "top" : "activation_6_output_relu_neg", + "type" : "activation", + "name" : "activation_6__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_6_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_6__clip__", + "top" : "activation_6_output_relu_clip", + "type" : "elementwise", + "name" : "activation_6__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_6_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_6_neg2", + "top" : "activation_6_output", + "type" : "activation", + "name" : "activation_6_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "depthwise_conv2d_3", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_7_output_relu", + "K" : 72, + "blob_biases" : 33, + "name" : "depthwise_conv2d_3", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 72, + "pad_t" : 0, + "has_biases" : 1, + "C" : 72, + "bottom" : "activation_6_output", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 35 + }, + { + "alpha" : -1, + "bottom" : "activation_7_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_7__neg__", + "top" : "activation_7_output_relu_neg", + "type" : "activation", + "name" : "activation_7__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_7_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_7__clip__", + "top" : "activation_7_output_relu_clip", + "type" : "elementwise", + "name" : "activation_7__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_7_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_7_neg2", + "top" : "activation_7_output", + "type" : "activation", + "name" : "activation_7_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "conv2d_7", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "batch_normalization_10_output", + "K" : 72, + "blob_biases" : 37, + "name" : "conv2d_7", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 12, + "bottom" : "activation_7_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 39 + }, + { + "bottom" : "batch_normalization_10_output,batch_normalization_7_output", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "add_1", + "top" : "add_1_output", + "type" : "elementwise", + "name" : "add_1", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_8", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_8_output_relu", + "K" : 12, + "blob_biases" : 41, + "name" : "conv2d_8", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 72, + "bottom" : "add_1_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 43 + }, + { + "alpha" : -1, + "bottom" : "activation_8_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_8__neg__", + "top" : "activation_8_output_relu_neg", + "type" : "activation", + "name" : "activation_8__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_8_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_8__clip__", + "top" : "activation_8_output_relu_clip", + "type" : "elementwise", + "name" : "activation_8__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_8_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_8_neg2", + "top" : "activation_8_output", + "type" : "activation", + "name" : "activation_8_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "depthwise_conv2d_4", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_9_output_relu", + "K" : 72, + "blob_biases" : 45, + "stride_x" : 2, + "name" : "depthwise_conv2d_4", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 72, + "pad_t" : 0, + "stride_y" : 2, + "has_biases" : 1, + "C" : 72, + "bottom" : "activation_8_output", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 47 + }, + { + "alpha" : -1, + "bottom" : "activation_9_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_9__neg__", + "top" : "activation_9_output_relu_neg", + "type" : "activation", + "name" : "activation_9__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_9_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_9__clip__", + "top" : "activation_9_output_relu_clip", + "type" : "elementwise", + "name" : "activation_9__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_9_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_9_neg2", + "top" : "activation_9_output", + "type" : "activation", + "name" : "activation_9_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "conv2d_9", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "batch_normalization_13_output", + "K" : 72, + "blob_biases" : 49, + "name" : "conv2d_9", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 16, + "bottom" : "activation_9_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 51 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_10", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_10_output_relu", + "K" : 16, + "blob_biases" : 53, + "name" : "conv2d_10", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 96, + "bottom" : "batch_normalization_13_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 55 + }, + { + "alpha" : -1, + "bottom" : "activation_10_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_10__neg__", + "top" : "activation_10_output_relu_neg", + "type" : "activation", + "name" : "activation_10__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_10_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_10__clip__", + "top" : "activation_10_output_relu_clip", + "type" : "elementwise", + "name" : "activation_10__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_10_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_10_neg2", + "top" : "activation_10_output", + "type" : "activation", + "name" : "activation_10_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "depthwise_conv2d_5", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_11_output_relu", + "K" : 96, + "blob_biases" : 57, + "name" : "depthwise_conv2d_5", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 96, + "pad_t" : 0, + "has_biases" : 1, + "C" : 96, + "bottom" : "activation_10_output", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 59 + }, + { + "alpha" : -1, + "bottom" : "activation_11_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_11__neg__", + "top" : "activation_11_output_relu_neg", + "type" : "activation", + "name" : "activation_11__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_11_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_11__clip__", + "top" : "activation_11_output_relu_clip", + "type" : "elementwise", + "name" : "activation_11__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_11_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_11_neg2", + "top" : "activation_11_output", + "type" : "activation", + "name" : "activation_11_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "conv2d_11", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "batch_normalization_16_output", + "K" : 96, + "blob_biases" : 61, + "name" : "conv2d_11", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 16, + "bottom" : "activation_11_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 63 + }, + { + "bottom" : "batch_normalization_16_output,batch_normalization_13_output", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "add_2", + "top" : "add_2_output", + "type" : "elementwise", + "name" : "add_2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_12", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_12_output_relu", + "K" : 16, + "blob_biases" : 65, + "name" : "conv2d_12", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 96, + "bottom" : "add_2_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 67 + }, + { + "alpha" : -1, + "bottom" : "activation_12_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_12__neg__", + "top" : "activation_12_output_relu_neg", + "type" : "activation", + "name" : "activation_12__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_12_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_12__clip__", + "top" : "activation_12_output_relu_clip", + "type" : "elementwise", + "name" : "activation_12__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_12_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_12_neg2", + "top" : "activation_12_output", + "type" : "activation", + "name" : "activation_12_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "depthwise_conv2d_6", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_13_output_relu", + "K" : 96, + "blob_biases" : 69, + "name" : "depthwise_conv2d_6", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 96, + "pad_t" : 0, + "has_biases" : 1, + "C" : 96, + "bottom" : "activation_12_output", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 71 + }, + { + "alpha" : -1, + "bottom" : "activation_13_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_13__neg__", + "top" : "activation_13_output_relu_neg", + "type" : "activation", + "name" : "activation_13__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_13_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_13__clip__", + "top" : "activation_13_output_relu_clip", + "type" : "elementwise", + "name" : "activation_13__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_13_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_13_neg2", + "top" : "activation_13_output", + "type" : "activation", + "name" : "activation_13_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "conv2d_13", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "batch_normalization_19_output", + "K" : 96, + "blob_biases" : 73, + "name" : "conv2d_13", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 16, + "bottom" : "activation_13_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 75 + }, + { + "bottom" : "batch_normalization_19_output,add_2_output", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "add_3", + "top" : "add_3_output", + "type" : "elementwise", + "name" : "add_3", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_14", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_14_output_relu", + "K" : 16, + "blob_biases" : 77, + "name" : "conv2d_14", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 96, + "bottom" : "add_3_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 79 + }, + { + "alpha" : -1, + "bottom" : "activation_14_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_14__neg__", + "top" : "activation_14_output_relu_neg", + "type" : "activation", + "name" : "activation_14__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_14_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_14__clip__", + "top" : "activation_14_output_relu_clip", + "type" : "elementwise", + "name" : "activation_14__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_14_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_14_neg2", + "top" : "activation_14_output", + "type" : "activation", + "name" : "activation_14_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "depthwise_conv2d_7", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_15_output_relu", + "K" : 96, + "blob_biases" : 81, + "stride_x" : 2, + "name" : "depthwise_conv2d_7", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 96, + "pad_t" : 0, + "stride_y" : 2, + "has_biases" : 1, + "C" : 96, + "bottom" : "activation_14_output", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 83 + }, + { + "alpha" : -1, + "bottom" : "activation_15_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_15__neg__", + "top" : "activation_15_output_relu_neg", + "type" : "activation", + "name" : "activation_15__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_15_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_15__clip__", + "top" : "activation_15_output_relu_clip", + "type" : "elementwise", + "name" : "activation_15__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_15_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_15_neg2", + "top" : "activation_15_output", + "type" : "activation", + "name" : "activation_15_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "conv2d_15", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "batch_normalization_22_output", + "K" : 96, + "blob_biases" : 85, + "name" : "conv2d_15", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 32, + "bottom" : "activation_15_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 87 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_16", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_16_output_relu", + "K" : 32, + "blob_biases" : 89, + "name" : "conv2d_16", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 192, + "bottom" : "batch_normalization_22_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 91 + }, + { + "alpha" : -1, + "bottom" : "activation_16_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_16__neg__", + "top" : "activation_16_output_relu_neg", + "type" : "activation", + "name" : "activation_16__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_16_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_16__clip__", + "top" : "activation_16_output_relu_clip", + "type" : "elementwise", + "name" : "activation_16__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_16_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_16_neg2", + "top" : "activation_16_output", + "type" : "activation", + "name" : "activation_16_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "depthwise_conv2d_8", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_17_output_relu", + "K" : 192, + "blob_biases" : 93, + "name" : "depthwise_conv2d_8", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 192, + "pad_t" : 0, + "has_biases" : 1, + "C" : 192, + "bottom" : "activation_16_output", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 95 + }, + { + "alpha" : -1, + "bottom" : "activation_17_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_17__neg__", + "top" : "activation_17_output_relu_neg", + "type" : "activation", + "name" : "activation_17__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_17_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_17__clip__", + "top" : "activation_17_output_relu_clip", + "type" : "elementwise", + "name" : "activation_17__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_17_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_17_neg2", + "top" : "activation_17_output", + "type" : "activation", + "name" : "activation_17_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "conv2d_17", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "batch_normalization_25_output", + "K" : 192, + "blob_biases" : 97, + "name" : "conv2d_17", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 32, + "bottom" : "activation_17_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 99 + }, + { + "bottom" : "batch_normalization_25_output,batch_normalization_22_output", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "add_4", + "top" : "add_4_output", + "type" : "elementwise", + "name" : "add_4", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_18", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_18_output_relu", + "K" : 32, + "blob_biases" : 101, + "name" : "conv2d_18", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 192, + "bottom" : "add_4_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 103 + }, + { + "alpha" : -1, + "bottom" : "activation_18_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_18__neg__", + "top" : "activation_18_output_relu_neg", + "type" : "activation", + "name" : "activation_18__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_18_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_18__clip__", + "top" : "activation_18_output_relu_clip", + "type" : "elementwise", + "name" : "activation_18__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_18_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_18_neg2", + "top" : "activation_18_output", + "type" : "activation", + "name" : "activation_18_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "depthwise_conv2d_9", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_19_output_relu", + "K" : 192, + "blob_biases" : 105, + "name" : "depthwise_conv2d_9", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 192, + "pad_t" : 0, + "has_biases" : 1, + "C" : 192, + "bottom" : "activation_18_output", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 107 + }, + { + "alpha" : -1, + "bottom" : "activation_19_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_19__neg__", + "top" : "activation_19_output_relu_neg", + "type" : "activation", + "name" : "activation_19__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_19_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_19__clip__", + "top" : "activation_19_output_relu_clip", + "type" : "elementwise", + "name" : "activation_19__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_19_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_19_neg2", + "top" : "activation_19_output", + "type" : "activation", + "name" : "activation_19_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "conv2d_19", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "batch_normalization_28_output", + "K" : 192, + "blob_biases" : 109, + "name" : "conv2d_19", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 32, + "bottom" : "activation_19_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 111 + }, + { + "bottom" : "batch_normalization_28_output,add_4_output", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "add_5", + "top" : "add_5_output", + "type" : "elementwise", + "name" : "add_5", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_20", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_20_output_relu", + "K" : 32, + "blob_biases" : 113, + "name" : "conv2d_20", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 192, + "bottom" : "add_5_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 115 + }, + { + "alpha" : -1, + "bottom" : "activation_20_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_20__neg__", + "top" : "activation_20_output_relu_neg", + "type" : "activation", + "name" : "activation_20__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_20_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_20__clip__", + "top" : "activation_20_output_relu_clip", + "type" : "elementwise", + "name" : "activation_20__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_20_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_20_neg2", + "top" : "activation_20_output", + "type" : "activation", + "name" : "activation_20_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "depthwise_conv2d_10", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_21_output_relu", + "K" : 192, + "blob_biases" : 117, + "name" : "depthwise_conv2d_10", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 192, + "pad_t" : 0, + "has_biases" : 1, + "C" : 192, + "bottom" : "activation_20_output", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 119 + }, + { + "alpha" : -1, + "bottom" : "activation_21_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_21__neg__", + "top" : "activation_21_output_relu_neg", + "type" : "activation", + "name" : "activation_21__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_21_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_21__clip__", + "top" : "activation_21_output_relu_clip", + "type" : "elementwise", + "name" : "activation_21__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_21_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_21_neg2", + "top" : "activation_21_output", + "type" : "activation", + "name" : "activation_21_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "conv2d_21", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "batch_normalization_31_output", + "K" : 192, + "blob_biases" : 121, + "name" : "conv2d_21", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 32, + "bottom" : "activation_21_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 123 + }, + { + "bottom" : "batch_normalization_31_output,add_5_output", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "add_6", + "top" : "add_6_output", + "type" : "elementwise", + "name" : "add_6", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_22", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_22_output_relu", + "K" : 32, + "blob_biases" : 125, + "name" : "conv2d_22", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 192, + "bottom" : "add_6_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 127 + }, + { + "alpha" : -1, + "bottom" : "activation_22_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_22__neg__", + "top" : "activation_22_output_relu_neg", + "type" : "activation", + "name" : "activation_22__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_22_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_22__clip__", + "top" : "activation_22_output_relu_clip", + "type" : "elementwise", + "name" : "activation_22__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_22_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_22_neg2", + "top" : "activation_22_output", + "type" : "activation", + "name" : "activation_22_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "depthwise_conv2d_11", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_23_output_relu", + "K" : 192, + "blob_biases" : 129, + "name" : "depthwise_conv2d_11", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 192, + "pad_t" : 0, + "has_biases" : 1, + "C" : 192, + "bottom" : "activation_22_output", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 131 + }, + { + "alpha" : -1, + "bottom" : "activation_23_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_23__neg__", + "top" : "activation_23_output_relu_neg", + "type" : "activation", + "name" : "activation_23__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_23_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_23__clip__", + "top" : "activation_23_output_relu_clip", + "type" : "elementwise", + "name" : "activation_23__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_23_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_23_neg2", + "top" : "activation_23_output", + "type" : "activation", + "name" : "activation_23_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "conv2d_23", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "batch_normalization_34_output", + "K" : 192, + "blob_biases" : 133, + "name" : "conv2d_23", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 48, + "bottom" : "activation_23_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 135 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_24", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_24_output_relu", + "K" : 48, + "blob_biases" : 137, + "name" : "conv2d_24", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 288, + "bottom" : "batch_normalization_34_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 139 + }, + { + "alpha" : -1, + "bottom" : "activation_24_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_24__neg__", + "top" : "activation_24_output_relu_neg", + "type" : "activation", + "name" : "activation_24__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_24_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_24__clip__", + "top" : "activation_24_output_relu_clip", + "type" : "elementwise", + "name" : "activation_24__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_24_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_24_neg2", + "top" : "activation_24_output", + "type" : "activation", + "name" : "activation_24_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "depthwise_conv2d_12", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_25_output_relu", + "K" : 288, + "blob_biases" : 141, + "name" : "depthwise_conv2d_12", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 288, + "pad_t" : 0, + "has_biases" : 1, + "C" : 288, + "bottom" : "activation_24_output", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 143 + }, + { + "alpha" : -1, + "bottom" : "activation_25_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_25__neg__", + "top" : "activation_25_output_relu_neg", + "type" : "activation", + "name" : "activation_25__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_25_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_25__clip__", + "top" : "activation_25_output_relu_clip", + "type" : "elementwise", + "name" : "activation_25__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_25_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_25_neg2", + "top" : "activation_25_output", + "type" : "activation", + "name" : "activation_25_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "conv2d_25", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "batch_normalization_37_output", + "K" : 288, + "blob_biases" : 145, + "name" : "conv2d_25", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 48, + "bottom" : "activation_25_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 147 + }, + { + "bottom" : "batch_normalization_37_output,batch_normalization_34_output", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "add_7", + "top" : "add_7_output", + "type" : "elementwise", + "name" : "add_7", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_26", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_26_output_relu", + "K" : 48, + "blob_biases" : 149, + "name" : "conv2d_26", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 288, + "bottom" : "add_7_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 151 + }, + { + "alpha" : -1, + "bottom" : "activation_26_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_26__neg__", + "top" : "activation_26_output_relu_neg", + "type" : "activation", + "name" : "activation_26__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_26_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_26__clip__", + "top" : "activation_26_output_relu_clip", + "type" : "elementwise", + "name" : "activation_26__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_26_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_26_neg2", + "top" : "activation_26_output", + "type" : "activation", + "name" : "activation_26_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "depthwise_conv2d_13", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_27_output_relu", + "K" : 288, + "blob_biases" : 153, + "name" : "depthwise_conv2d_13", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 288, + "pad_t" : 0, + "has_biases" : 1, + "C" : 288, + "bottom" : "activation_26_output", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 155 + }, + { + "alpha" : -1, + "bottom" : "activation_27_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_27__neg__", + "top" : "activation_27_output_relu_neg", + "type" : "activation", + "name" : "activation_27__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_27_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_27__clip__", + "top" : "activation_27_output_relu_clip", + "type" : "elementwise", + "name" : "activation_27__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_27_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_27_neg2", + "top" : "activation_27_output", + "type" : "activation", + "name" : "activation_27_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "conv2d_27", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "batch_normalization_40_output", + "K" : 288, + "blob_biases" : 157, + "name" : "conv2d_27", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 48, + "bottom" : "activation_27_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 159 + }, + { + "bottom" : "batch_normalization_40_output,add_7_output", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "add_8", + "top" : "add_8_output", + "type" : "elementwise", + "name" : "add_8", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_28", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_28_output_relu", + "K" : 48, + "blob_biases" : 161, + "name" : "conv2d_28", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 288, + "bottom" : "add_8_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 163 + }, + { + "alpha" : -1, + "bottom" : "activation_28_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_28__neg__", + "top" : "activation_28_output_relu_neg", + "type" : "activation", + "name" : "activation_28__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_28_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_28__clip__", + "top" : "activation_28_output_relu_clip", + "type" : "elementwise", + "name" : "activation_28__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_28_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_28_neg2", + "top" : "activation_28_output", + "type" : "activation", + "name" : "activation_28_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "depthwise_conv2d_14", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_29_output_relu", + "K" : 288, + "blob_biases" : 165, + "stride_x" : 2, + "name" : "depthwise_conv2d_14", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 288, + "pad_t" : 0, + "stride_y" : 2, + "has_biases" : 1, + "C" : 288, + "bottom" : "activation_28_output", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 167 + }, + { + "alpha" : -1, + "bottom" : "activation_29_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_29__neg__", + "top" : "activation_29_output_relu_neg", + "type" : "activation", + "name" : "activation_29__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_29_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_29__clip__", + "top" : "activation_29_output_relu_clip", + "type" : "elementwise", + "name" : "activation_29__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_29_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_29_neg2", + "top" : "activation_29_output", + "type" : "activation", + "name" : "activation_29_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "conv2d_29", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "batch_normalization_43_output", + "K" : 288, + "blob_biases" : 169, + "name" : "conv2d_29", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 80, + "bottom" : "activation_29_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 171 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_30", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_30_output_relu", + "K" : 80, + "blob_biases" : 173, + "name" : "conv2d_30", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 480, + "bottom" : "batch_normalization_43_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 175 + }, + { + "alpha" : -1, + "bottom" : "activation_30_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_30__neg__", + "top" : "activation_30_output_relu_neg", + "type" : "activation", + "name" : "activation_30__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_30_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_30__clip__", + "top" : "activation_30_output_relu_clip", + "type" : "elementwise", + "name" : "activation_30__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_30_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_30_neg2", + "top" : "activation_30_output", + "type" : "activation", + "name" : "activation_30_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "depthwise_conv2d_15", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_31_output_relu", + "K" : 480, + "blob_biases" : 177, + "name" : "depthwise_conv2d_15", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 480, + "pad_t" : 0, + "has_biases" : 1, + "C" : 480, + "bottom" : "activation_30_output", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 179 + }, + { + "alpha" : -1, + "bottom" : "activation_31_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_31__neg__", + "top" : "activation_31_output_relu_neg", + "type" : "activation", + "name" : "activation_31__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_31_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_31__clip__", + "top" : "activation_31_output_relu_clip", + "type" : "elementwise", + "name" : "activation_31__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_31_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_31_neg2", + "top" : "activation_31_output", + "type" : "activation", + "name" : "activation_31_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "conv2d_31", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "batch_normalization_46_output", + "K" : 480, + "blob_biases" : 181, + "name" : "conv2d_31", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 80, + "bottom" : "activation_31_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 183 + }, + { + "bottom" : "batch_normalization_46_output,batch_normalization_43_output", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "add_9", + "top" : "add_9_output", + "type" : "elementwise", + "name" : "add_9", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_32", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_32_output_relu", + "K" : 80, + "blob_biases" : 185, + "name" : "conv2d_32", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 480, + "bottom" : "add_9_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 187 + }, + { + "alpha" : -1, + "bottom" : "activation_32_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_32__neg__", + "top" : "activation_32_output_relu_neg", + "type" : "activation", + "name" : "activation_32__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_32_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_32__clip__", + "top" : "activation_32_output_relu_clip", + "type" : "elementwise", + "name" : "activation_32__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_32_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_32_neg2", + "top" : "activation_32_output", + "type" : "activation", + "name" : "activation_32_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "depthwise_conv2d_16", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_33_output_relu", + "K" : 480, + "blob_biases" : 189, + "name" : "depthwise_conv2d_16", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 480, + "pad_t" : 0, + "has_biases" : 1, + "C" : 480, + "bottom" : "activation_32_output", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 191 + }, + { + "alpha" : -1, + "bottom" : "activation_33_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_33__neg__", + "top" : "activation_33_output_relu_neg", + "type" : "activation", + "name" : "activation_33__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_33_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_33__clip__", + "top" : "activation_33_output_relu_clip", + "type" : "elementwise", + "name" : "activation_33__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_33_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_33_neg2", + "top" : "activation_33_output", + "type" : "activation", + "name" : "activation_33_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "conv2d_33", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "batch_normalization_49_output", + "K" : 480, + "blob_biases" : 193, + "name" : "conv2d_33", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 80, + "bottom" : "activation_33_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 195 + }, + { + "bottom" : "batch_normalization_49_output,add_9_output", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "add_10", + "top" : "add_10_output", + "type" : "elementwise", + "name" : "add_10", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_34", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_34_output_relu", + "K" : 80, + "blob_biases" : 197, + "name" : "conv2d_34", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 480, + "bottom" : "add_10_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 199 + }, + { + "alpha" : -1, + "bottom" : "activation_34_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_34__neg__", + "top" : "activation_34_output_relu_neg", + "type" : "activation", + "name" : "activation_34__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_34_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_34__clip__", + "top" : "activation_34_output_relu_clip", + "type" : "elementwise", + "name" : "activation_34__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_34_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_34_neg2", + "top" : "activation_34_output", + "type" : "activation", + "name" : "activation_34_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "depthwise_conv2d_17", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_35_output_relu", + "K" : 480, + "blob_biases" : 201, + "name" : "depthwise_conv2d_17", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 480, + "pad_t" : 0, + "has_biases" : 1, + "C" : 480, + "bottom" : "activation_34_output", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 203 + }, + { + "alpha" : -1, + "bottom" : "activation_35_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_35__neg__", + "top" : "activation_35_output_relu_neg", + "type" : "activation", + "name" : "activation_35__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_35_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_35__clip__", + "top" : "activation_35_output_relu_clip", + "type" : "elementwise", + "name" : "activation_35__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_35_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_35_neg2", + "top" : "activation_35_output", + "type" : "activation", + "name" : "activation_35_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "conv2d_35", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "batch_normalization_52_output", + "K" : 480, + "blob_biases" : 205, + "name" : "conv2d_35", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 160, + "bottom" : "activation_35_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 207 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_36", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_36_output_relu", + "K" : 160, + "blob_biases" : 209, + "name" : "conv2d_36", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 1280, + "bottom" : "batch_normalization_52_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 211 + }, + { + "alpha" : -1, + "bottom" : "activation_36_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_36__neg__", + "top" : "activation_36_output_relu_neg", + "type" : "activation", + "name" : "activation_36__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_36_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_36__clip__", + "top" : "activation_36_output_relu_clip", + "type" : "elementwise", + "name" : "activation_36__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_36_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_36_neg2", + "top" : "activation_36_output", + "type" : "activation", + "name" : "activation_36_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "debug_info" : "global_average_pooling2d_1", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "size_x" : 7, + "is_global" : 1, + "top" : "global_average_pooling2d_1_output", + "top_shape_style" : 0, + "stride_x" : 1, + "avg_or_max" : 0, + "average_count_exclude_padding" : 1, + "type" : "pool", + "name" : "global_average_pooling2d_1", + "pad_t" : 0, + "stride_y" : 1, + "bottom" : "activation_36_output", + "weights" : { + + }, + "pad_mode" : 2, + "size_y" : 7, + "pad_value" : 0 + }, + { + "name" : "reshape_1", + "weights" : { + + }, + "dst_w" : 1, + "version" : 1, + "dst_n" : 0, + "type" : "reshape", + "dst_h" : 1, + "mode" : 1, + "bottom" : "global_average_pooling2d_1_output", + "debug_info" : "reshape_1", + "dst_seq" : 1, + "dst_k" : 1280, + "top" : "reshape_1_output" + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "conv2d_38", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "conv2d_38_output", + "K" : 1280, + "blob_biases" : 213, + "name" : "conv2d_38", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 3, + "bottom" : "reshape_1_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 215 + }, + { + "bottom" : "conv2d_38_output", + "weights" : { + + }, + "debug_info" : "softmax", + "top" : "softmax_output", + "C" : 2, + "type" : "softmax", + "name" : "softmax" + }, + { + "name" : "reshape_3", + "weights" : { + + }, + "dst_w" : 1, + "version" : 1, + "dst_n" : 0, + "type" : "reshape", + "dst_h" : 1, + "mode" : 1, + "attributes" : { + "is_output" : 1 + }, + "bottom" : "softmax_output", + "debug_info" : "reshape_3", + "dst_k" : 3, + "dst_seq" : 1, + "top" : "output1" + } + ] +} \ No newline at end of file diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/UxModel.mlmodelc/model.espresso.shape b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/UxModel.mlmodelc/model.espresso.shape new file mode 100644 index 0000000..ad7ffbb --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/UxModel.mlmodelc/model.espresso.shape @@ -0,0 +1,1066 @@ +{ + "layer_shapes" : { + "activation_32_output_relu_neg" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_3_output_relu_clip" : { + "k" : 16, + "w" : 112, + "n" : 1, + "h" : 112 + }, + "activation_24_output_relu" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_13_output_relu_neg" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_34_output" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_32_output_relu_clip" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_2_output_relu_neg" : { + "k" : 16, + "w" : 112, + "n" : 1, + "h" : 112 + }, + "activation_18_output_relu_neg" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "input1" : { + "k" : 3, + "w" : 224, + "n" : 1, + "h" : 224 + }, + "activation_27_output_relu_clip" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "reshape_1_output" : { + "k" : 1280, + "w" : 1, + "n" : 1, + "h" : 1 + }, + "batch_normalization_46_output" : { + "k" : 80, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_3_output" : { + "k" : 16, + "w" : 112, + "n" : 1, + "h" : 112 + }, + "activation_33_output" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_31_output_relu_neg" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_11_output_relu" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_27_output_relu" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_8_output_relu" : { + "k" : 72, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "activation_23_output_relu_clip" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_18_output_relu_clip" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_32_output" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_17_output_relu_neg" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "add_2_output" : { + "k" : 16, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_20_output_relu_neg" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_31_output" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_8_output_relu_neg" : { + "k" : 72, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "activation_14_output_relu_clip" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_6_output_relu" : { + "k" : 72, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "activation_14_output_relu" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "batch_normalization_4_output" : { + "k" : 8, + "w" : 112, + "n" : 1, + "h" : 112 + }, + "activation_35_output_relu_neg" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "batch_normalization_43_output" : { + "k" : 80, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_16_output_relu_neg" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_30_output" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_26_output_relu" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "batch_normalization_34_output" : { + "k" : 48, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "batch_normalization_52_output" : { + "k" : 160, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_34_output_relu_clip" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_10_output_relu_clip" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_29_output_relu_clip" : { + "k" : 288, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_9_output" : { + "k" : 72, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_4_output_relu" : { + "k" : 48, + "w" : 112, + "n" : 1, + "h" : 112 + }, + "activation_24_output" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_8_output_relu_clip" : { + "k" : 72, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "activation_3_output_relu_neg" : { + "k" : 16, + "w" : 112, + "n" : 1, + "h" : 112 + }, + "activation_34_output_relu_neg" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_30_output_relu_clip" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_25_output_relu_clip" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_13_output_relu" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_23_output" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_29_output_relu" : { + "k" : 288, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "add_6_output" : { + "k" : 32, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "output1" : { + "k" : 3, + "w" : 1, + "n" : 1, + "h" : 1 + }, + "activation_23_output_relu_neg" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_5_output_relu_clip" : { + "k" : 48, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "activation_22_output" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "batch_normalization_40_output" : { + "k" : 48, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "batch_normalization_31_output" : { + "k" : 32, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_21_output_relu_clip" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_16_output_relu_clip" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_9_output_relu_neg" : { + "k" : 72, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_16_output_relu" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_8_output" : { + "k" : 72, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "activation_19_output_relu_neg" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_21_output" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_22_output_relu_neg" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_28_output_relu" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_2_output_relu_clip" : { + "k" : 16, + "w" : 112, + "n" : 1, + "h" : 112 + }, + "activation_12_output_relu_clip" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "add_4_output" : { + "k" : 32, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_15_output" : { + "k" : 96, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_20_output" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "global_average_pooling2d_1_output" : { + "k" : 1280, + "w" : 1, + "n" : 1, + "h" : 1 + }, + "activation_4_output_relu_neg" : { + "k" : 48, + "w" : 112, + "n" : 1, + "h" : 112 + }, + "activation_19_output_relu" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_31_output_relu" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_14_output" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "batch_normalization_7_output" : { + "k" : 12, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "batch_normalization_37_output" : { + "k" : 48, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_21_output_relu_neg" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "batch_normalization_28_output" : { + "k" : 32, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "batch_normalization_19_output" : { + "k" : 16, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_15_output_relu" : { + "k" : 96, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_5_output" : { + "k" : 48, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "activation_13_output" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_36_output_relu_neg" : { + "k" : 1280, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_10_output_relu_neg" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_34_output_relu" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_12_output" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_5_output_relu" : { + "k" : 48, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "activation_18_output_relu" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_30_output_relu" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_25_output_relu_neg" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "add_8_output" : { + "k" : 48, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_11_output" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_20_output_relu_clip" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "batch_normalization_25_output" : { + "k" : 32, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "batch_normalization_16_output" : { + "k" : 16, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_2_output" : { + "k" : 16, + "w" : 112, + "n" : 1, + "h" : 112 + }, + "activation_21_output_relu" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_4_output" : { + "k" : 48, + "w" : 112, + "n" : 1, + "h" : 112 + }, + "activation_3_output_relu" : { + "k" : 16, + "w" : 112, + "n" : 1, + "h" : 112 + }, + "activation_10_output" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_36_output" : { + "k" : 1280, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_7_output_relu_clip" : { + "k" : 72, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "activation_33_output_relu" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_24_output_relu_neg" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_5_output_relu_neg" : { + "k" : 48, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "activation_35_output_relu_clip" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_11_output_relu_clip" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_17_output_relu" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_35_output" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "add_5_output" : { + "k" : 32, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_1_output_relu" : { + "k" : 16, + "w" : 112, + "n" : 1, + "h" : 112 + }, + "activation_31_output_relu_clip" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_4_output_relu_clip" : { + "k" : 48, + "w" : 112, + "n" : 1, + "h" : 112 + }, + "activation_26_output_relu_clip" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_29_output" : { + "k" : 288, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_20_output_relu" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_36_output_relu" : { + "k" : 1280, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "batch_normalization_22_output" : { + "k" : 32, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_1_output" : { + "k" : 16, + "w" : 112, + "n" : 1, + "h" : 112 + }, + "batch_normalization_13_output" : { + "k" : 16, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_28_output_relu_neg" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "conv2d_38_output" : { + "k" : 3, + "w" : 1, + "n" : 1, + "h" : 1 + }, + "activation_32_output_relu" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_28_output" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_22_output_relu_clip" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_17_output_relu_clip" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_12_output_relu_neg" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_1_output_relu_clip" : { + "k" : 16, + "w" : 112, + "n" : 1, + "h" : 112 + }, + "activation_27_output" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "add_3_output" : { + "k" : 16, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_9_output_relu" : { + "k" : 72, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_23_output_relu" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "softmax_output" : { + "k" : 3, + "w" : 1, + "n" : 1, + "h" : 1 + }, + "activation_27_output_relu_neg" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_13_output_relu_clip" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_35_output_relu" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_30_output_relu_neg" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_26_output" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_6_output_relu_neg" : { + "k" : 72, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "add_9_output" : { + "k" : 80, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_11_output_relu_neg" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "batch_normalization_10_output" : { + "k" : 12, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "activation_33_output_relu_clip" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_7_output_relu" : { + "k" : 72, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "activation_10_output_relu" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_28_output_relu_clip" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_25_output" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_26_output_relu_neg" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_7_output" : { + "k" : 72, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "activation_22_output_relu" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_19_output" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "add_1_output" : { + "k" : 12, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "activation_1_output_relu_neg" : { + "k" : 16, + "w" : 112, + "n" : 1, + "h" : 112 + }, + "activation_9_output_relu_clip" : { + "k" : 72, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_24_output_relu_clip" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_19_output_relu_clip" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_15_output_relu_neg" : { + "k" : 96, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_18_output" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "add_7_output" : { + "k" : 48, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_25_output_relu" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_2_output_relu" : { + "k" : 16, + "w" : 112, + "n" : 1, + "h" : 112 + }, + "activation_17_output" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_15_output_relu_clip" : { + "k" : 96, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_33_output_relu_neg" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "batch_normalization_49_output" : { + "k" : 80, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_6_output_relu_clip" : { + "k" : 72, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "activation_14_output_relu_neg" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_6_output" : { + "k" : 72, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "activation_16_output" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_7_output_relu_neg" : { + "k" : 72, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "add_10_output" : { + "k" : 80, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_12_output_relu" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_29_output_relu_neg" : { + "k" : 288, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_36_output_relu_clip" : { + "k" : 1280, + "w" : 7, + "n" : 1, + "h" : 7 + } + } +} \ No newline at end of file diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/UxModel.mlmodelc/model.espresso.weights b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/UxModel.mlmodelc/model.espresso.weights new file mode 100644 index 0000000..d58a125 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/UxModel.mlmodelc/model.espresso.weights differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/UxModel.mlmodelc/model/coremldata.bin b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/UxModel.mlmodelc/model/coremldata.bin new file mode 100644 index 0000000..ee515f7 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/UxModel.mlmodelc/model/coremldata.bin differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/UxModel.mlmodelc/neural_network_optionals/coremldata.bin b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/UxModel.mlmodelc/neural_network_optionals/coremldata.bin new file mode 100644 index 0000000..6459c29 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/UxModel.mlmodelc/neural_network_optionals/coremldata.bin differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/Version.xcconfig b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/Version.xcconfig new file mode 100644 index 0000000..385e5d1 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/Version.xcconfig @@ -0,0 +1,9 @@ +// +// Version.xcconfig +// +// This file was generated by update_version.sh +// Do not edit this file directly. +// Instead, edit the `VERSION` file and run `ci_scripts/update_version.sh` +// + +CURRENT_PROJECT_VERSION=21.12.0 diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/bg-BG.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/bg-BG.lproj/Localizable.strings new file mode 100644 index 0000000..aca94a4 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/bg-BG.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/ca-ES.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/ca-ES.lproj/Localizable.strings new file mode 100644 index 0000000..3967e06 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/ca-ES.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/cs-CZ.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/cs-CZ.lproj/Localizable.strings new file mode 100644 index 0000000..56b06c6 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/cs-CZ.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/da.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/da.lproj/Localizable.strings new file mode 100644 index 0000000..08603da Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/da.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/de.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/de.lproj/Localizable.strings new file mode 100644 index 0000000..a4bf888 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/de.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/el-GR.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/el-GR.lproj/Localizable.strings new file mode 100644 index 0000000..abfc143 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/el-GR.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/en-GB.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/en-GB.lproj/Localizable.strings new file mode 100644 index 0000000..08edd9c Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/en-GB.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/en.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/en.lproj/Localizable.strings new file mode 100644 index 0000000..1171196 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/en.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/es-419.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/es-419.lproj/Localizable.strings new file mode 100644 index 0000000..d71a60c Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/es-419.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/es.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/es.lproj/Localizable.strings new file mode 100644 index 0000000..a47f0b1 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/es.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/et-EE.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/et-EE.lproj/Localizable.strings new file mode 100644 index 0000000..97e371b Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/et-EE.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/fi.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/fi.lproj/Localizable.strings new file mode 100644 index 0000000..e1f3faf Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/fi.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/fil.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/fil.lproj/Localizable.strings new file mode 100644 index 0000000..3967e06 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/fil.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/fr-CA.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/fr-CA.lproj/Localizable.strings new file mode 100644 index 0000000..3b0a151 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/fr-CA.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/fr.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/fr.lproj/Localizable.strings new file mode 100644 index 0000000..8517bac Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/fr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/hr.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/hr.lproj/Localizable.strings new file mode 100644 index 0000000..3967e06 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/hr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/hu.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/hu.lproj/Localizable.strings new file mode 100644 index 0000000..8ca6e04 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/hu.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/id.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/id.lproj/Localizable.strings new file mode 100644 index 0000000..3967e06 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/id.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/it.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/it.lproj/Localizable.strings new file mode 100644 index 0000000..21226b7 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/it.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/ja.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/ja.lproj/Localizable.strings new file mode 100644 index 0000000..0d5b3ca Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/ja.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/ko.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/ko.lproj/Localizable.strings new file mode 100644 index 0000000..6ae7419 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/ko.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/lt-LT.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/lt-LT.lproj/Localizable.strings new file mode 100644 index 0000000..cab01ca Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/lt-LT.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/lv-LV.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/lv-LV.lproj/Localizable.strings new file mode 100644 index 0000000..2674837 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/lv-LV.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/ms-MY.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/ms-MY.lproj/Localizable.strings new file mode 100644 index 0000000..3967e06 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/ms-MY.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/mt.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/mt.lproj/Localizable.strings new file mode 100644 index 0000000..1b4c221 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/mt.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/nb.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/nb.lproj/Localizable.strings new file mode 100644 index 0000000..c5ba360 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/nb.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/nl.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/nl.lproj/Localizable.strings new file mode 100644 index 0000000..37b30f3 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/nl.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/nn-NO.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/nn-NO.lproj/Localizable.strings new file mode 100644 index 0000000..4df03a0 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/nn-NO.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/pl-PL.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/pl-PL.lproj/Localizable.strings new file mode 100644 index 0000000..0748486 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/pl-PL.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/pt-BR.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/pt-BR.lproj/Localizable.strings new file mode 100644 index 0000000..fed73e4 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/pt-BR.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/pt-PT.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/pt-PT.lproj/Localizable.strings new file mode 100644 index 0000000..8c81c22 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/pt-PT.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/ro-RO.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/ro-RO.lproj/Localizable.strings new file mode 100644 index 0000000..5c31424 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/ro-RO.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/ru.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/ru.lproj/Localizable.strings new file mode 100644 index 0000000..10900b6 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/ru.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/sk-SK.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/sk-SK.lproj/Localizable.strings new file mode 100644 index 0000000..bfb8029 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/sk-SK.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/sl-SI.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/sl-SI.lproj/Localizable.strings new file mode 100644 index 0000000..9f2215d Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/sl-SI.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/sv.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/sv.lproj/Localizable.strings new file mode 100644 index 0000000..0b800c4 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/sv.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/tk.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/tk.lproj/Localizable.strings new file mode 100644 index 0000000..3967e06 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/tk.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/tr.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/tr.lproj/Localizable.strings new file mode 100644 index 0000000..6cd9f05 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/tr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/vi.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/vi.lproj/Localizable.strings new file mode 100644 index 0000000..3967e06 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/vi.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/zh-HK.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/zh-HK.lproj/Localizable.strings new file mode 100644 index 0000000..1da39ee Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/zh-HK.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/zh-Hans.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/zh-Hans.lproj/Localizable.strings new file mode 100644 index 0000000..f7796d7 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/zh-Hans.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/zh-Hant.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/zh-Hant.lproj/Localizable.strings new file mode 100644 index 0000000..3131db7 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64/StripeCardScan.framework/zh-Hant.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Headers/StripeCardScan-Swift.h b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Headers/StripeCardScan-Swift.h new file mode 100644 index 0000000..9314038 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Headers/StripeCardScan-Swift.h @@ -0,0 +1,448 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +#ifndef STRIPECARDSCAN_SWIFT_H +#define STRIPECARDSCAN_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# 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 +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="StripeCardScan",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + + + + + + + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +#ifndef STRIPECARDSCAN_SWIFT_H +#define STRIPECARDSCAN_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# 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 +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="StripeCardScan",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + + + + + + + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Headers/StripeCardScan.h b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Headers/StripeCardScan.h new file mode 100644 index 0000000..ab708ca --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Headers/StripeCardScan.h @@ -0,0 +1,18 @@ +// +// StripeCardScan.h +// StripeCardScan +// +// Created by Sam King on 11/8/21. +// + +#import + +//! Project version number for StripeCardScan. +FOUNDATION_EXPORT double StripeCardScanVersionNumber; + +//! Project version string for StripeCardScan. +FOUNDATION_EXPORT const unsigned char StripeCardScanVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Info.plist b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Info.plist new file mode 100644 index 0000000..2a9fac1 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Info.plist differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Modules/StripeCardScan.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Modules/StripeCardScan.swiftmodule/arm64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..245c239 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Modules/StripeCardScan.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Modules/StripeCardScan.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Modules/StripeCardScan.swiftmodule/arm64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..a06fc50 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Modules/StripeCardScan.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeCardScan +import AVFoundation +import AVKit +import Accelerate +import CoreGraphics +import CoreML +import CoreTelephony +import Foundation +@_exported import StripeCardScan +@_exported import StripeCore +import Swift +import UIKit +import VideoToolbox +import Vision +import os.log +import os +@frozen public enum CardImageVerificationSheetResult { + case completed(scannedCard: StripeCardScan.ScannedCard) + case canceled(reason: StripeCardScan.CancellationReason) + case failed(error: Swift.Error) +} +@available(iOS 11.2, *) +final public class CardImageVerificationSheet { + public init(cardImageVerificationIntentId: Swift.String, cardImageVerificationIntentSecret: Swift.String, apiClient: StripeCore.STPAPIClient = STPAPIClient.shared) + final public func present(from presentingViewController: UIKit.UIViewController, completion: @escaping (StripeCardScan.CardImageVerificationSheetResult) -> Swift.Void) + @objc deinit +} +public enum CancellationReason : Swift.String, Swift.Equatable { + case back + case closed + case userCannotScan + public typealias RawValue = Swift.String + public init?(rawValue: Swift.String) + public var rawValue: Swift.String { + get + } +} +public struct ScannedCard : Swift.Equatable { + public let pan: Swift.String + public static func == (a: StripeCardScan.ScannedCard, b: StripeCardScan.ScannedCard) -> Swift.Bool +} +public enum CardImageVerificationSheetError : Swift.Error { + case invalidClientSecret + case unknown(debugDescription: Swift.String) +} +extension CardImageVerificationSheetError : Foundation.LocalizedError { + public var localizedDescription: Swift.String { + get + } +} +extension CardImageVerificationSheetError : Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + get + } +} +extension StripeCardScan.CancellationReason : Swift.Hashable {} +extension StripeCardScan.CancellationReason : Swift.RawRepresentable {} diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Modules/StripeCardScan.swiftmodule/arm64.swiftdoc b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Modules/StripeCardScan.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..245c239 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Modules/StripeCardScan.swiftmodule/arm64.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Modules/StripeCardScan.swiftmodule/arm64.swiftinterface b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Modules/StripeCardScan.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..a06fc50 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Modules/StripeCardScan.swiftmodule/arm64.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeCardScan +import AVFoundation +import AVKit +import Accelerate +import CoreGraphics +import CoreML +import CoreTelephony +import Foundation +@_exported import StripeCardScan +@_exported import StripeCore +import Swift +import UIKit +import VideoToolbox +import Vision +import os.log +import os +@frozen public enum CardImageVerificationSheetResult { + case completed(scannedCard: StripeCardScan.ScannedCard) + case canceled(reason: StripeCardScan.CancellationReason) + case failed(error: Swift.Error) +} +@available(iOS 11.2, *) +final public class CardImageVerificationSheet { + public init(cardImageVerificationIntentId: Swift.String, cardImageVerificationIntentSecret: Swift.String, apiClient: StripeCore.STPAPIClient = STPAPIClient.shared) + final public func present(from presentingViewController: UIKit.UIViewController, completion: @escaping (StripeCardScan.CardImageVerificationSheetResult) -> Swift.Void) + @objc deinit +} +public enum CancellationReason : Swift.String, Swift.Equatable { + case back + case closed + case userCannotScan + public typealias RawValue = Swift.String + public init?(rawValue: Swift.String) + public var rawValue: Swift.String { + get + } +} +public struct ScannedCard : Swift.Equatable { + public let pan: Swift.String + public static func == (a: StripeCardScan.ScannedCard, b: StripeCardScan.ScannedCard) -> Swift.Bool +} +public enum CardImageVerificationSheetError : Swift.Error { + case invalidClientSecret + case unknown(debugDescription: Swift.String) +} +extension CardImageVerificationSheetError : Foundation.LocalizedError { + public var localizedDescription: Swift.String { + get + } +} +extension CardImageVerificationSheetError : Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + get + } +} +extension StripeCardScan.CancellationReason : Swift.Hashable {} +extension StripeCardScan.CancellationReason : Swift.RawRepresentable {} diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Modules/StripeCardScan.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Modules/StripeCardScan.swiftmodule/x86_64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..9545822 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Modules/StripeCardScan.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Modules/StripeCardScan.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Modules/StripeCardScan.swiftmodule/x86_64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..6d7a40d --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Modules/StripeCardScan.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeCardScan +import AVFoundation +import AVKit +import Accelerate +import CoreGraphics +import CoreML +import CoreTelephony +import Foundation +@_exported import StripeCardScan +@_exported import StripeCore +import Swift +import UIKit +import VideoToolbox +import Vision +import os.log +import os +@frozen public enum CardImageVerificationSheetResult { + case completed(scannedCard: StripeCardScan.ScannedCard) + case canceled(reason: StripeCardScan.CancellationReason) + case failed(error: Swift.Error) +} +@available(iOS 11.2, *) +final public class CardImageVerificationSheet { + public init(cardImageVerificationIntentId: Swift.String, cardImageVerificationIntentSecret: Swift.String, apiClient: StripeCore.STPAPIClient = STPAPIClient.shared) + final public func present(from presentingViewController: UIKit.UIViewController, completion: @escaping (StripeCardScan.CardImageVerificationSheetResult) -> Swift.Void) + @objc deinit +} +public enum CancellationReason : Swift.String, Swift.Equatable { + case back + case closed + case userCannotScan + public typealias RawValue = Swift.String + public init?(rawValue: Swift.String) + public var rawValue: Swift.String { + get + } +} +public struct ScannedCard : Swift.Equatable { + public let pan: Swift.String + public static func == (a: StripeCardScan.ScannedCard, b: StripeCardScan.ScannedCard) -> Swift.Bool +} +public enum CardImageVerificationSheetError : Swift.Error { + case invalidClientSecret + case unknown(debugDescription: Swift.String) +} +extension CardImageVerificationSheetError : Foundation.LocalizedError { + public var localizedDescription: Swift.String { + get + } +} +extension CardImageVerificationSheetError : Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + get + } +} +extension StripeCardScan.CancellationReason : Swift.Hashable {} +extension StripeCardScan.CancellationReason : Swift.RawRepresentable {} diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Modules/StripeCardScan.swiftmodule/x86_64.swiftdoc b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Modules/StripeCardScan.swiftmodule/x86_64.swiftdoc new file mode 100644 index 0000000..9545822 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Modules/StripeCardScan.swiftmodule/x86_64.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Modules/StripeCardScan.swiftmodule/x86_64.swiftinterface b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Modules/StripeCardScan.swiftmodule/x86_64.swiftinterface new file mode 100644 index 0000000..6d7a40d --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Modules/StripeCardScan.swiftmodule/x86_64.swiftinterface @@ -0,0 +1,59 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeCardScan +import AVFoundation +import AVKit +import Accelerate +import CoreGraphics +import CoreML +import CoreTelephony +import Foundation +@_exported import StripeCardScan +@_exported import StripeCore +import Swift +import UIKit +import VideoToolbox +import Vision +import os.log +import os +@frozen public enum CardImageVerificationSheetResult { + case completed(scannedCard: StripeCardScan.ScannedCard) + case canceled(reason: StripeCardScan.CancellationReason) + case failed(error: Swift.Error) +} +@available(iOS 11.2, *) +final public class CardImageVerificationSheet { + public init(cardImageVerificationIntentId: Swift.String, cardImageVerificationIntentSecret: Swift.String, apiClient: StripeCore.STPAPIClient = STPAPIClient.shared) + final public func present(from presentingViewController: UIKit.UIViewController, completion: @escaping (StripeCardScan.CardImageVerificationSheetResult) -> Swift.Void) + @objc deinit +} +public enum CancellationReason : Swift.String, Swift.Equatable { + case back + case closed + case userCannotScan + public typealias RawValue = Swift.String + public init?(rawValue: Swift.String) + public var rawValue: Swift.String { + get + } +} +public struct ScannedCard : Swift.Equatable { + public let pan: Swift.String + public static func == (a: StripeCardScan.ScannedCard, b: StripeCardScan.ScannedCard) -> Swift.Bool +} +public enum CardImageVerificationSheetError : Swift.Error { + case invalidClientSecret + case unknown(debugDescription: Swift.String) +} +extension CardImageVerificationSheetError : Foundation.LocalizedError { + public var localizedDescription: Swift.String { + get + } +} +extension CardImageVerificationSheetError : Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + get + } +} +extension StripeCardScan.CancellationReason : Swift.Hashable {} +extension StripeCardScan.CancellationReason : Swift.RawRepresentable {} diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Modules/module.modulemap b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Modules/module.modulemap new file mode 100644 index 0000000..54f3d3a --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module StripeCardScan { + umbrella header "StripeCardScan.h" + + export * + module * { export * } +} + +module StripeCardScan.Swift { + header "StripeCardScan-Swift.h" + requires objc +} diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Project-Debug.xcconfig b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Project-Debug.xcconfig new file mode 100644 index 0000000..893a71f --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Project-Debug.xcconfig @@ -0,0 +1,41 @@ +// +// Project-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Project-Shared.xcconfig" + + +// Strip Debug Symbols During Copy +// +// Activating this setting causes binary files which are copied during the build (e.g., +// in a Copy Bundle Resources or Copy Files build phase) to be stripped of debugging +// symbols. It does not cause the linked product of a target to be stripped (use Strip +// Linked Product for that). + +COPY_PHASE_STRIP = NO + + +GCC_DYNAMIC_NO_PIC = NO + + +GCC_OPTIMIZATION_LEVEL = 0 + + +STP_EXTRA_PREPROCESSOR_MACROS= +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 STRIPE_UNIT_TESTS_ENABLED $(inherited) $(STP_EXTRA_PREPROCESSOR_MACROS) + + +GCC_SYMBOLS_PRIVATE_EXTERN = NO + + +// Build Active Architecture Only +// +// When checked, only the active architecture is built for faster debugging turnaround + +ONLY_ACTIVE_ARCH = YES + + +ENABLE_TESTABILITY = YES diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Project-Release.xcconfig b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Project-Release.xcconfig new file mode 100644 index 0000000..7ee2591 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Project-Release.xcconfig @@ -0,0 +1,33 @@ +// +// Project-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Project-Shared.xcconfig" + + +// Strip Debug Symbols During Copy +// +// Activating this setting causes binary files which are copied during the build (e.g., +// in a Copy Bundle Resources or Copy Files build phase) to be stripped of debugging +// symbols. It does not cause the linked product of a target to be stripped (use Strip +// Linked Product for that). + +COPY_PHASE_STRIP = YES + + +ENABLE_NS_ASSERTIONS = NO + +STP_EXTRA_PREPROCESSOR_MACROS= +GCC_PREPROCESSOR_DEFINITIONS = NDEBUG $(STP_EXTRA_PREPROCESSOR_MACROS) + + +// Validate Built Product +// +// Activating this setting will cause Xcode to perform validation checks on the product +// as part of the build process. + +VALIDATE_PRODUCT = YES + diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Project-Shared.xcconfig b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Project-Shared.xcconfig new file mode 100644 index 0000000..3c97646 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Project-Shared.xcconfig @@ -0,0 +1,169 @@ +// +// Project-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +// Always Search User Paths +// +// If enabled both #include -style and #include "header.h"-style directives +// will search the paths in "User Header Search Paths" before "Header Search Paths", with +// the consequence that user headers (such as your own String.h header) would have +// precedence over system headers when using #include . This is done using the +// -iquote flag for the paths provided in "User Header Search Paths". If disabled and +// your compiler fully supports separate user paths, user headers will only be accessible +// with #include "header.h"-style preprocessor directives. +// +// For backwards compatibility reasons, this setting is enabled by default, but disabling +// it is strongly recommended. + +ALWAYS_SEARCH_USER_PATHS = NO + + +CLANG_ENABLE_CODE_COVERAGE = NO + + +CLANG_ENABLE_OBJC_ARC = YES + + +CLANG_WARN__DUPLICATE_METHOD_MATCH = YES + + +CLANG_WARN_BOOL_CONVERSION = YES + + +CLANG_WARN_CONSTANT_CONVERSION = YES + + +CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES + + +CLANG_WARN_EMPTY_BODY = YES + + +CLANG_WARN_ENUM_CONVERSION = YES + + +CLANG_WARN_INT_CONVERSION = YES + + +CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES + + +CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES + + +CLANG_WARN_UNREACHABLE_CODE = YES + + +CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + + +CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + +// Default value is YES_NONAGGRESSIVE. YES is "Yes, Aggressive" in Xcode 9 UI +CLANG_ANALYZER_NONNULL = YES; + + +CLANG_WARN_INFINITE_RECURSION = YES; + + +CLANG_WARN_SUSPICIOUS_MOVE = YES; + + +ENABLE_STRICT_OBJC_MSGSEND = YES + + +GCC_C_LANGUAGE_STANDARD = gnu99 + + +CLANG_WARN_STRICT_PROTOTYPES = YES + + +CLANG_WARN_RANGE_LOOP_ANALYSIS = YES + + +CLANG_WARN_COMMA = YES + + +CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES + + +// Compiler for C/C++/Objective-C +// +// The compiler to use for C, C++, and Objective-C. + +GCC_VERSION = com.apple.compilers.llvm.clang.1_0 + + +GCC_WARN_64_TO_32_BIT_CONVERSION = YES + + +GCC_WARN_ABOUT_MISSING_NEWLINE = YES + + +GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES + + +GCC_WARN_SIGN_COMPARE = YES + + +GCC_WARN_UNDECLARED_SELECTOR = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES + + +GCC_WARN_UNUSED_FUNCTION = YES + + +GCC_WARN_UNUSED_VARIABLE = YES + + +GCC_NO_COMMON_BLOCKS = YES; + +// Precompiled Header Uses Files From Build Directory +// +// This setting allows for better control of sharing precompiled prefix header files +// between projects. By default, Xcode assumes that the prefix header file may include +// header files from the build directory if the build directory is outside of the project +// directory. (Xcode cannot determine this ahead of time since other projects may not +// have been built into the shared build directory at the time the information is +// needed.) +// +// If your prefix file never includes files from the build directory you may set this to +// "NO" to improve sharing of precompiled headers. If the prefix does use files from a +// build directory which is inside your project directory, you may set this to "YES" to +// avoid unintended sharing that may result in build failures. + +PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = NO + + +// Base SDK +// +// The name or path of the base SDK being used during the build. The product will be +// built against the headers and libraries located inside the indicated SDK. This path +// will be prepended to all search paths, and will be passed through the environment to +// the compiler and linker. Additional SDKs can be specified in the ADDITIONAL_SDKS +// setting. + +SDKROOT = iphoneos + + +WARNING_CFLAGS = -Wall -Wextra -Wundef -Wfloat-equal + +// iOS Deployment Target +// +// Code will load on this and later versions of iOS. Framework APIs that are unavailable +// in earlier versions will be weak-linked; your code should check for null function +// pointers or specific system versions before calling newer APIs. +// + +IPHONEOS_DEPLOYMENT_TARGET = 11.0 + +APPLICATION_EXTENSION_API_ONLY = NO diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/SSDOcr.mlmodelc/analytics/coremldata.bin b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/SSDOcr.mlmodelc/analytics/coremldata.bin new file mode 100644 index 0000000..77dbb91 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/SSDOcr.mlmodelc/analytics/coremldata.bin differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/SSDOcr.mlmodelc/coremldata.bin b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/SSDOcr.mlmodelc/coremldata.bin new file mode 100644 index 0000000..b689336 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/SSDOcr.mlmodelc/coremldata.bin differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/SSDOcr.mlmodelc/metadata.json b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/SSDOcr.mlmodelc/metadata.json new file mode 100644 index 0000000..1673fa5 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/SSDOcr.mlmodelc/metadata.json @@ -0,0 +1,92 @@ +[ + { + "shortDescription" : "", + "metadataOutputVersion" : "3.0", + "outputSchema" : [ + { + "hasShapeFlexibility" : "0", + "isOptional" : "0", + "dataType" : "Float32", + "formattedType" : "MultiArray (Float32)", + "shortDescription" : "MultiArray of shape (1, 1, 1, 3420, 10). The first and second dimensions correspond to sequence and batch size, respectively", + "shape" : "[]", + "name" : "scores", + "type" : "MultiArray" + }, + { + "hasShapeFlexibility" : "0", + "isOptional" : "0", + "dataType" : "Float32", + "formattedType" : "MultiArray (Float32)", + "shortDescription" : "MultiArray of shape (1, 1, 1, 3420, 4). The first and second dimensions correspond to sequence and batch size, respectively", + "shape" : "[]", + "name" : "boxes", + "type" : "MultiArray" + }, + { + "hasShapeFlexibility" : "0", + "isOptional" : "0", + "dataType" : "Float32", + "formattedType" : "MultiArray (Float32)", + "shortDescription" : "MultiArray of shape (1, 1, 1, 3420, 1). The first and second dimensions correspond to sequence and batch size, respectively", + "shape" : "[]", + "name" : "filter", + "type" : "MultiArray" + } + ], + "version" : "", + "modelParameters" : [ + + ], + "author" : "", + "specificationVersion" : 2, + "license" : "", + "isUpdatable" : "0", + "availability" : { + "macOS" : "10.13.2", + "tvOS" : "11.2", + "watchOS" : "4.2", + "iOS" : "11.2", + "macCatalyst" : "11.2" + }, + "modelType" : { + "name" : "MLModelType_neuralNetwork" + }, + "inputSchema" : [ + { + "height" : "375", + "colorspace" : "RGB", + "isOptional" : "0", + "width" : "600", + "isColor" : "1", + "formattedType" : "Image (Color 600 × 375)", + "hasSizeFlexibility" : "0", + "type" : "Image", + "shortDescription" : "", + "name" : "0" + } + ], + "userDefinedMetadata" : { + + }, + "generatedClassName" : "SSDOcr", + "neuralNetworkLayerTypeHistogram" : { + "UnaryExp" : 1, + "Concat" : 2, + "ActivationSigmoidHard" : 2, + "Convolution" : 64, + "UnaryInverse" : 1, + "Flatten" : 2, + "ReduceSum" : 2, + "Reshape" : 5, + "Permute" : 7, + "Add" : 10, + "BatchNorm" : 60, + "Multiply" : 1, + "ActivationLinear" : 8, + "ActivationReLU" : 41, + "Slice" : 1 + }, + "method" : "predict" + } +] \ No newline at end of file diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/SSDOcr.mlmodelc/model.espresso.net b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/SSDOcr.mlmodelc/model.espresso.net new file mode 100644 index 0000000..c673fef --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/SSDOcr.mlmodelc/model.espresso.net @@ -0,0 +1,2489 @@ +{ + "transform_params" : { + "0" : { + "bias_a" : 0, + "bias_g" : -0.99221789836883545, + "bias_r" : -0.99221789836883545, + "bias_b" : -0.99221789836883545, + "center_mean" : 0, + "is_network_bgr" : 0, + "scale" : 0.0077821011655032635 + } + }, + "properties" : { + + }, + "analyses" : { + + }, + "format_version" : 200, + "storage" : "model.espresso.weights", + "layers" : [ + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "377", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "379", + "K" : 3, + "blob_biases" : 1, + "stride_x" : 2, + "name" : "377", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 1, + "stride_y" : 2, + "has_biases" : 1, + "C" : 16, + "bottom" : "0", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 3 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "380", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "382", + "K" : 16, + "blob_biases" : 5, + "name" : "380", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 16, + "pad_t" : 1, + "has_biases" : 1, + "C" : 16, + "bottom" : "379", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 7 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "383", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "384", + "K" : 16, + "blob_biases" : 9, + "name" : "383", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 8, + "bottom" : "382", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 11 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "385", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "387", + "K" : 8, + "blob_biases" : 13, + "name" : "385", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 48, + "bottom" : "384", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 15 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "388", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "390", + "K" : 48, + "blob_biases" : 17, + "stride_x" : 2, + "name" : "388", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 48, + "pad_t" : 1, + "stride_y" : 2, + "has_biases" : 1, + "C" : 48, + "bottom" : "387", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 19 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "391", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "392", + "K" : 48, + "blob_biases" : 21, + "name" : "391", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 12, + "bottom" : "390", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 23 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "393", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "395", + "K" : 12, + "blob_biases" : 25, + "name" : "393", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 72, + "bottom" : "392", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 27 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "396", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "398", + "K" : 72, + "blob_biases" : 29, + "name" : "396", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 72, + "pad_t" : 1, + "has_biases" : 1, + "C" : 72, + "bottom" : "395", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 31 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "399", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "400", + "K" : 72, + "blob_biases" : 33, + "name" : "399", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 12, + "bottom" : "398", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 35 + }, + { + "bottom" : "392,400", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "401", + "top" : "401", + "type" : "elementwise", + "name" : "401", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "402", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "404", + "K" : 12, + "blob_biases" : 37, + "name" : "402", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 72, + "bottom" : "401", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 39 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "405", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "407", + "K" : 72, + "blob_biases" : 41, + "stride_x" : 2, + "name" : "405", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 72, + "pad_t" : 1, + "stride_y" : 2, + "has_biases" : 1, + "C" : 72, + "bottom" : "404", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 43 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "408", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "409", + "K" : 72, + "blob_biases" : 45, + "name" : "408", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 16, + "bottom" : "407", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 47 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "410", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "412", + "K" : 16, + "blob_biases" : 49, + "name" : "410", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 96, + "bottom" : "409", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 51 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "413", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "415", + "K" : 96, + "blob_biases" : 53, + "name" : "413", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 96, + "pad_t" : 1, + "has_biases" : 1, + "C" : 96, + "bottom" : "412", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 55 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "416", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "417", + "K" : 96, + "blob_biases" : 57, + "name" : "416", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 16, + "bottom" : "415", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 59 + }, + { + "bottom" : "409,417", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "418", + "top" : "418", + "type" : "elementwise", + "name" : "418", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "419", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "421", + "K" : 16, + "blob_biases" : 61, + "name" : "419", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 96, + "bottom" : "418", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 63 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "422", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "424", + "K" : 96, + "blob_biases" : 65, + "name" : "422", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 96, + "pad_t" : 1, + "has_biases" : 1, + "C" : 96, + "bottom" : "421", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 67 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "425", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "426", + "K" : 96, + "blob_biases" : 69, + "name" : "425", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 16, + "bottom" : "424", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 71 + }, + { + "bottom" : "418,426", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "427", + "top" : "427", + "type" : "elementwise", + "name" : "427", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "428", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "430", + "K" : 16, + "blob_biases" : 73, + "name" : "428", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 96, + "bottom" : "427", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 75 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "431", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "433", + "K" : 96, + "blob_biases" : 77, + "stride_x" : 2, + "name" : "431", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 96, + "pad_t" : 1, + "stride_y" : 2, + "has_biases" : 1, + "C" : 96, + "bottom" : "430", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 79 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "434", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "435", + "K" : 96, + "blob_biases" : 81, + "name" : "434", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 32, + "bottom" : "433", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 83 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "436", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "438", + "K" : 32, + "blob_biases" : 85, + "name" : "436", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 192, + "bottom" : "435", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 87 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "439", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "441", + "K" : 192, + "blob_biases" : 89, + "name" : "439", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 192, + "pad_t" : 1, + "has_biases" : 1, + "C" : 192, + "bottom" : "438", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 91 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "442", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "443", + "K" : 192, + "blob_biases" : 93, + "name" : "442", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 32, + "bottom" : "441", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 95 + }, + { + "bottom" : "435,443", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "444", + "top" : "444", + "type" : "elementwise", + "name" : "444", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "445", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "447", + "K" : 32, + "blob_biases" : 97, + "name" : "445", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 192, + "bottom" : "444", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 99 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "448", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "450", + "K" : 192, + "blob_biases" : 101, + "name" : "448", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 192, + "pad_t" : 1, + "has_biases" : 1, + "C" : 192, + "bottom" : "447", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 103 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "451", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "452", + "K" : 192, + "blob_biases" : 105, + "name" : "451", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 32, + "bottom" : "450", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 107 + }, + { + "bottom" : "444,452", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "453", + "top" : "453", + "type" : "elementwise", + "name" : "453", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "454", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "456", + "K" : 32, + "blob_biases" : 109, + "name" : "454", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 192, + "bottom" : "453", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 111 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "457", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "459", + "K" : 192, + "blob_biases" : 113, + "name" : "457", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 192, + "pad_t" : 1, + "has_biases" : 1, + "C" : 192, + "bottom" : "456", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 115 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "460", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "461", + "K" : 192, + "blob_biases" : 117, + "name" : "460", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 32, + "bottom" : "459", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 119 + }, + { + "bottom" : "453,461", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "462", + "top" : "462", + "type" : "elementwise", + "name" : "462", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "463", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "465", + "K" : 32, + "blob_biases" : 121, + "name" : "463", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 192, + "bottom" : "462", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 123 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "466", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "468", + "K" : 192, + "blob_biases" : 125, + "name" : "466", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 192, + "pad_t" : 1, + "has_biases" : 1, + "C" : 192, + "bottom" : "465", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 127 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "469", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "470", + "K" : 192, + "blob_biases" : 129, + "name" : "469", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 48, + "bottom" : "468", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 131 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "471", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "473", + "K" : 48, + "blob_biases" : 133, + "name" : "471", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 288, + "bottom" : "470", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 135 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "474", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "476", + "K" : 288, + "blob_biases" : 137, + "name" : "474", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 288, + "pad_t" : 1, + "has_biases" : 1, + "C" : 288, + "bottom" : "473", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 139 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "477", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "478", + "K" : 288, + "blob_biases" : 141, + "name" : "477", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 48, + "bottom" : "476", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 143 + }, + { + "bottom" : "470,478", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "479", + "top" : "479", + "type" : "elementwise", + "name" : "479", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "480", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "482", + "K" : 48, + "blob_biases" : 145, + "name" : "480", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 288, + "bottom" : "479", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 147 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "483", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "485", + "K" : 288, + "blob_biases" : 149, + "name" : "483", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 288, + "pad_t" : 1, + "has_biases" : 1, + "C" : 288, + "bottom" : "482", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 151 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "486", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "487", + "K" : 288, + "blob_biases" : 153, + "name" : "486", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 48, + "bottom" : "485", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 155 + }, + { + "bottom" : "479,487", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "488", + "top" : "488", + "type" : "elementwise", + "name" : "488", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "489", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "491", + "K" : 48, + "blob_biases" : 157, + "name" : "489", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 288, + "bottom" : "488", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 159 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "492", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "494", + "K" : 288, + "blob_biases" : 161, + "stride_x" : 2, + "name" : "492", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 288, + "pad_t" : 1, + "stride_y" : 2, + "has_biases" : 1, + "C" : 288, + "bottom" : "491", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 163 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "495", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "496", + "K" : 288, + "blob_biases" : 165, + "name" : "495", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 80, + "bottom" : "494", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 167 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "497", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "499", + "K" : 288, + "blob_biases" : 169, + "name" : "497", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 288, + "pad_t" : 1, + "has_biases" : 1, + "C" : 288, + "bottom" : "491", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 171 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "500", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "502", + "K" : 288, + "blob_biases" : 173, + "name" : "500", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 288, + "pad_t" : 1, + "has_biases" : 1, + "C" : 288, + "bottom" : "499", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 175 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "503", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "505", + "K" : 288, + "blob_biases" : 177, + "name" : "503", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 288, + "pad_t" : 1, + "has_biases" : 1, + "C" : 288, + "bottom" : "502", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 179 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "506", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "506", + "K" : 288, + "blob_biases" : 181, + "name" : "506", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 33, + "bottom" : "505", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 183 + }, + { + "axis_h" : 0, + "axis_w" : 2, + "bottom" : "506", + "axis_k" : 1, + "axis_n" : 3, + "axis_seq" : 4, + "weights" : { + + }, + "debug_info" : "507", + "top" : "507", + "type" : "transpose", + "name" : "507" + }, + { + "name" : "509", + "weights" : { + + }, + "dst_w" : 1, + "version" : 1, + "dst_n" : 0, + "type" : "reshape", + "dst_h" : 1, + "mode" : 0, + "bottom" : "507", + "debug_info" : "509", + "hint_fallback_from_metal" : 1, + "dst_seq" : -1, + "dst_k" : 11, + "top" : "509" + }, + { + "pad_r" : 1, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "510", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "511", + "K" : 288, + "blob_biases" : 185, + "name" : "510", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 288, + "pad_t" : 1, + "has_biases" : 1, + "C" : 288, + "bottom" : "491", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 187 + }, + { + "alpha" : 0.1666666716337204, + "bottom" : "511", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "512_scale_0_1", + "top" : "511_scale_0_1", + "type" : "activation", + "name" : "512_scale_0_1", + "beta" : 0 + }, + { + "bottom" : "511_scale_0_1", + "weights" : { + + }, + "mode" : 7, + "debug_info" : "512_clip_0_1", + "top" : "511_clip_0_1", + "type" : "activation", + "name" : "512_clip_0_1", + "beta" : 0 + }, + { + "alpha" : 6, + "bottom" : "511_clip_0_1", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "512", + "top" : "512", + "type" : "activation", + "name" : "512", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "513", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "513", + "K" : 288, + "blob_biases" : 189, + "name" : "513", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 12, + "bottom" : "512", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 191 + }, + { + "axis_h" : 0, + "axis_w" : 2, + "bottom" : "513", + "axis_k" : 1, + "axis_n" : 3, + "axis_seq" : 4, + "weights" : { + + }, + "debug_info" : "514", + "top" : "514", + "type" : "transpose", + "name" : "514" + }, + { + "name" : "524", + "weights" : { + + }, + "dst_w" : 4, + "version" : 1, + "dst_n" : 0, + "type" : "reshape", + "dst_h" : -1, + "mode" : 0, + "bottom" : "514", + "debug_info" : "524", + "dst_seq" : 1, + "dst_k" : 1, + "top" : "524" + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "525", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "527", + "K" : 80, + "blob_biases" : 193, + "name" : "525", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 480, + "bottom" : "496", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 195 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "528", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "530", + "K" : 480, + "blob_biases" : 197, + "name" : "528", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 480, + "pad_t" : 1, + "has_biases" : 1, + "C" : 480, + "bottom" : "527", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 199 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "531", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "532", + "K" : 480, + "blob_biases" : 201, + "name" : "531", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 80, + "bottom" : "530", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 203 + }, + { + "bottom" : "496,532", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "533", + "top" : "533", + "type" : "elementwise", + "name" : "533", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "534", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "536", + "K" : 80, + "blob_biases" : 205, + "name" : "534", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 480, + "bottom" : "533", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 207 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "537", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "539", + "K" : 480, + "blob_biases" : 209, + "name" : "537", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 480, + "pad_t" : 1, + "has_biases" : 1, + "C" : 480, + "bottom" : "536", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 211 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "540", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "541", + "K" : 480, + "blob_biases" : 213, + "name" : "540", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 80, + "bottom" : "539", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 215 + }, + { + "bottom" : "533,541", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "542", + "top" : "542", + "type" : "elementwise", + "name" : "542", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "543", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "545", + "K" : 80, + "blob_biases" : 217, + "name" : "543", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 480, + "bottom" : "542", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 219 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "546", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "548", + "K" : 480, + "blob_biases" : 221, + "name" : "546", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 480, + "pad_t" : 1, + "has_biases" : 1, + "C" : 480, + "bottom" : "545", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 223 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "549", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "550", + "K" : 480, + "blob_biases" : 225, + "name" : "549", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 160, + "bottom" : "548", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 227 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "551", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "553", + "K" : 160, + "blob_biases" : 229, + "name" : "551", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 1280, + "bottom" : "550", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 231 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "554", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "556", + "K" : 1280, + "blob_biases" : 233, + "name" : "554", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1280, + "pad_t" : 1, + "has_biases" : 1, + "C" : 1280, + "bottom" : "553", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 235 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "557", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "559", + "K" : 1280, + "blob_biases" : 237, + "name" : "557", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1280, + "pad_t" : 1, + "has_biases" : 1, + "C" : 1280, + "bottom" : "556", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 239 + }, + { + "pad_r" : 1, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "560", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "562", + "K" : 1280, + "blob_biases" : 241, + "name" : "560", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1280, + "pad_t" : 1, + "has_biases" : 1, + "C" : 1280, + "bottom" : "559", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 243 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "563", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "563", + "K" : 1280, + "blob_biases" : 245, + "name" : "563", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 33, + "bottom" : "562", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 247 + }, + { + "axis_h" : 0, + "axis_w" : 2, + "bottom" : "563", + "axis_k" : 1, + "axis_n" : 3, + "axis_seq" : 4, + "weights" : { + + }, + "debug_info" : "564", + "top" : "564", + "type" : "transpose", + "name" : "564" + }, + { + "name" : "566", + "weights" : { + + }, + "dst_w" : 1, + "version" : 1, + "dst_n" : 0, + "type" : "reshape", + "dst_h" : 1, + "mode" : 0, + "bottom" : "564", + "debug_info" : "566", + "dst_seq" : -1, + "dst_k" : 11, + "top" : "566" + }, + { + "pad_r" : 1, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "567", + "pad_fill_mode" : 0, + "pad_b" : 1, + "pad_l" : 1, + "top" : "568", + "K" : 1280, + "blob_biases" : 249, + "name" : "567", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1280, + "pad_t" : 1, + "has_biases" : 1, + "C" : 1280, + "bottom" : "553", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 251 + }, + { + "alpha" : 0.1666666716337204, + "bottom" : "568", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "569_scale_0_1", + "top" : "568_scale_0_1", + "type" : "activation", + "name" : "569_scale_0_1", + "beta" : 0 + }, + { + "bottom" : "568_scale_0_1", + "weights" : { + + }, + "mode" : 7, + "debug_info" : "569_clip_0_1", + "top" : "568_clip_0_1", + "type" : "activation", + "name" : "569_clip_0_1", + "beta" : 0 + }, + { + "alpha" : 6, + "bottom" : "568_clip_0_1", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "569", + "top" : "569", + "type" : "activation", + "name" : "569", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "570", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "570", + "K" : 1280, + "blob_biases" : 253, + "name" : "570", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 12, + "bottom" : "569", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 0, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 255 + }, + { + "axis_h" : 0, + "axis_w" : 2, + "bottom" : "570", + "axis_k" : 1, + "axis_n" : 3, + "axis_seq" : 4, + "weights" : { + + }, + "debug_info" : "571", + "top" : "571", + "type" : "transpose", + "name" : "571" + }, + { + "name" : "581", + "weights" : { + + }, + "dst_w" : 4, + "version" : 1, + "dst_n" : 0, + "type" : "reshape", + "dst_h" : -1, + "mode" : 0, + "bottom" : "571", + "debug_info" : "581", + "dst_seq" : 1, + "dst_k" : 1, + "top" : "581" + }, + { + "bottom" : "509,566", + "weights" : { + + }, + "simple_concat" : 1, + "hint_fallback_from_metal" : 1, + "debug_info" : "582", + "top" : "582", + "type" : "sequence_concat", + "name" : "582" + }, + { + "axis_h" : 2, + "axis_w" : 0, + "bottom" : "524", + "axis_k" : 1, + "axis_n" : 3, + "axis_seq" : 4, + "weights" : { + + }, + "debug_info" : "boxes_input_transpose0", + "top" : "boxes_524_transpose", + "type" : "transpose", + "name" : "boxes_input_transpose0" + }, + { + "axis_h" : 2, + "axis_w" : 0, + "bottom" : "581", + "axis_k" : 1, + "axis_n" : 3, + "axis_seq" : 4, + "weights" : { + + }, + "debug_info" : "boxes_input_transpose1", + "top" : "boxes_581_transpose", + "type" : "transpose", + "name" : "boxes_input_transpose1" + }, + { + "weights" : { + + }, + "debug_info" : "boxes", + "top" : "boxes_transpose", + "type" : "concat", + "name" : "boxes", + "bottom" : "boxes_524_transpose,boxes_581_transpose" + }, + { + "axis_seq" : 4, + "name" : "boxes_output_transpose0", + "axis_n" : 3, + "axis_h" : 2, + "type" : "transpose", + "attributes" : { + "is_output" : 1 + }, + "bottom" : "boxes_transpose", + "axis_w" : 0, + "axis_k" : 1, + "debug_info" : "boxes_output_transpose0", + "weights" : { + + }, + "top" : "boxes" + }, + { + "bottom" : "582", + "alpha" : 1, + "operation" : 27, + "weights" : { + + }, + "hint_fallback_from_metal" : 1, + "fused_relu" : 0, + "debug_info" : "584", + "top" : "584", + "type" : "elementwise", + "name" : "584", + "beta" : 0 + }, + { + "bottom" : "584", + "axis_mode" : 4, + "weights" : { + + }, + "mode" : 0, + "hint_fallback_from_metal" : 1, + "debug_info" : "585", + "use_version" : 1, + "top" : "585", + "type" : "reduce", + "name" : "585" + }, + { + "bottom" : "585", + "weights" : { + + }, + "mode" : 0, + "nd_axis" : 0, + "debug_info" : "587", + "top" : "587", + "type" : "flatten", + "name" : "587" + }, + { + "bottom" : "584", + "weights" : { + + }, + "mode" : 6, + "hint_fallback_from_metal" : 1, + "debug_info" : "588", + "top" : "588", + "type" : "activation", + "name" : "588", + "beta" : 0 + }, + { + "bottom" : "588", + "weights" : { + + }, + "mode" : 6, + "hint_fallback_from_metal" : 1, + "debug_info" : "589", + "top" : "589", + "type" : "activation", + "name" : "589", + "beta" : 0 + }, + { + "bottom" : "587", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "590", + "top" : "590", + "type" : "activation", + "name" : "590", + "beta" : 0 + }, + { + "bottom" : "590", + "alpha" : 1, + "operation" : 10, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "591_inverse", + "top" : "590_inverse", + "type" : "elementwise", + "name" : "591_inverse", + "beta" : 0 + }, + { + "bottom" : "589,590_inverse", + "alpha" : 1, + "operation" : 1, + "weights" : { + + }, + "hint_fallback_from_metal" : 1, + "fused_relu" : 0, + "debug_info" : "591", + "top" : "591", + "type" : "elementwise", + "name" : "591", + "beta" : 0 + }, + { + "bottom" : "591", + "weights" : { + + }, + "mode" : 6, + "hint_fallback_from_metal" : 1, + "debug_info" : "592", + "top" : "592", + "type" : "activation", + "name" : "592", + "beta" : 0 + }, + { + "bottom" : "592", + "end" : 11, + "start" : 1, + "weights" : { + + }, + "hint_fallback_from_metal" : 1, + "debug_info" : "593", + "axis" : 2, + "top" : "593", + "type" : "slice", + "name" : "593" + }, + { + "bottom" : "593", + "axis_mode" : 4, + "weights" : { + + }, + "mode" : 0, + "hint_fallback_from_metal" : 1, + "debug_info" : "594", + "use_version" : 1, + "top" : "594", + "type" : "reduce", + "name" : "594" + }, + { + "dst_seq" : 1, + "weights" : { + + }, + "dst_w" : 10, + "version" : 1, + "dst_n" : 0, + "type" : "reshape", + "dst_h" : -1, + "mode" : 0, + "attributes" : { + "is_output" : 1 + }, + "bottom" : "593", + "debug_info" : "scores", + "hint_fallback_from_metal" : 1, + "dst_k" : 1, + "name" : "scores", + "top" : "scores" + }, + { + "bottom" : "594", + "weights" : { + + }, + "mode" : 0, + "nd_axis" : 0, + "debug_info" : "filter", + "top" : "filter", + "type" : "flatten", + "name" : "filter", + "attributes" : { + "is_output" : 1 + } + } + ] +} \ No newline at end of file diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/SSDOcr.mlmodelc/model.espresso.shape b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/SSDOcr.mlmodelc/model.espresso.shape new file mode 100644 index 0000000..9e6d92c --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/SSDOcr.mlmodelc/model.espresso.shape @@ -0,0 +1,661 @@ +{ + "layer_shapes" : { + "584" : { + "k" : 11, + "w" : 1, + "n" : 1, + "seq" : 3420, + "h" : 1 + }, + "407" : { + "k" : 72, + "w" : 75, + "n" : 1, + "h" : 47 + }, + "430" : { + "k" : 96, + "w" : 75, + "n" : 1, + "h" : 47 + }, + "569" : { + "k" : 1280, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "415" : { + "k" : 96, + "w" : 75, + "n" : 1, + "h" : 47 + }, + "502" : { + "k" : 288, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "592" : { + "k" : 11, + "w" : 1, + "n" : 1, + "seq" : 3420, + "h" : 1 + }, + "511_scale_0_1" : { + "k" : 288, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "585" : { + "k" : 1, + "w" : 1, + "n" : 1, + "seq" : 3420, + "h" : 1 + }, + "593" : { + "k" : 10, + "w" : 1, + "n" : 1, + "seq" : 3420, + "h" : 1 + }, + "424" : { + "k" : 96, + "w" : 75, + "n" : 1, + "h" : 47 + }, + "499" : { + "k" : 288, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "511" : { + "k" : 288, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "409" : { + "k" : 16, + "w" : 75, + "n" : 1, + "h" : 47 + }, + "594" : { + "k" : 1, + "w" : 1, + "n" : 1, + "seq" : 3420, + "h" : 1 + }, + "417" : { + "k" : 16, + "w" : 75, + "n" : 1, + "h" : 47 + }, + "filter" : { + "k" : 1, + "w" : 1, + "n" : 1, + "seq" : 3420, + "h" : 1 + }, + "512" : { + "k" : 288, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "587" : { + "k" : 1, + "w" : 1, + "n" : 1, + "seq" : 3420, + "h" : 1 + }, + "433" : { + "k" : 96, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "418" : { + "k" : 16, + "w" : 75, + "n" : 1, + "h" : 47 + }, + "441" : { + "k" : 192, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "505" : { + "k" : 288, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "426" : { + "k" : 16, + "w" : 75, + "n" : 1, + "h" : 47 + }, + "513" : { + "k" : 12, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "588" : { + "k" : 11, + "w" : 1, + "n" : 1, + "seq" : 3420, + "h" : 1 + }, + "568_scale_0_1" : { + "k" : 1280, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "506" : { + "k" : 33, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "427" : { + "k" : 16, + "w" : 75, + "n" : 1, + "h" : 47 + }, + "450" : { + "k" : 192, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "514" : { + "k" : 24, + "w" : 12, + "n" : 1, + "h" : 38 + }, + "435" : { + "k" : 32, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "568_clip_0_1" : { + "k" : 1280, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "589" : { + "k" : 11, + "w" : 1, + "n" : 1, + "seq" : 3420, + "h" : 1 + }, + "443" : { + "k" : 32, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "507" : { + "k" : 24, + "w" : 33, + "n" : 1, + "h" : 38 + }, + "530" : { + "k" : 480, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "590_inverse" : { + "k" : 1, + "w" : 1, + "n" : 1, + "seq" : 3420, + "h" : 1 + }, + "444" : { + "k" : 32, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "452" : { + "k" : 32, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "524" : { + "k" : 1, + "w" : 4, + "n" : 1, + "h" : 2736 + }, + "509" : { + "k" : 11, + "w" : 1, + "n" : 1, + "seq" : 2736, + "h" : 1 + }, + "532" : { + "k" : 80, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "453" : { + "k" : 32, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "438" : { + "k" : 192, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "461" : { + "k" : 32, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "382" : { + "k" : 16, + "w" : 300, + "n" : 1, + "h" : 188 + }, + "533" : { + "k" : 80, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "390" : { + "k" : 48, + "w" : 150, + "n" : 1, + "h" : 94 + }, + "541" : { + "k" : 80, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "462" : { + "k" : 32, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "470" : { + "k" : 48, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "447" : { + "k" : 192, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "542" : { + "k" : 80, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "527" : { + "k" : 480, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "550" : { + "k" : 160, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "384" : { + "k" : 8, + "w" : 300, + "n" : 1, + "h" : 188 + }, + "392" : { + "k" : 12, + "w" : 150, + "n" : 1, + "h" : 94 + }, + "456" : { + "k" : 192, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "511_clip_0_1" : { + "k" : 288, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "536" : { + "k" : 480, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "465" : { + "k" : 192, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "473" : { + "k" : 288, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "545" : { + "k" : 480, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "379" : { + "k" : 16, + "w" : 300, + "n" : 1, + "h" : 188 + }, + "553" : { + "k" : 1280, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "387" : { + "k" : 48, + "w" : 300, + "n" : 1, + "h" : 188 + }, + "395" : { + "k" : 72, + "w" : 150, + "n" : 1, + "h" : 94 + }, + "459" : { + "k" : 192, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "482" : { + "k" : 288, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "400" : { + "k" : 12, + "w" : 150, + "n" : 1, + "h" : 94 + }, + "539" : { + "k" : 480, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "562" : { + "k" : 1280, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "570" : { + "k" : 12, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "boxes_transpose" : { + "k" : 3420, + "w" : 4, + "n" : 1, + "h" : 1 + }, + "468" : { + "k" : 192, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "491" : { + "k" : 288, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "401" : { + "k" : 12, + "w" : 150, + "n" : 1, + "h" : 94 + }, + "476" : { + "k" : 288, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "563" : { + "k" : 33, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "548" : { + "k" : 480, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "571" : { + "k" : 12, + "w" : 12, + "n" : 1, + "h" : 19 + }, + "556" : { + "k" : 1280, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "564" : { + "k" : 12, + "w" : 33, + "n" : 1, + "h" : 19 + }, + "398" : { + "k" : 72, + "w" : 150, + "n" : 1, + "h" : 94 + }, + "0" : { + "k" : 3, + "w" : 600, + "n" : 1, + "h" : 375 + }, + "485" : { + "k" : 288, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "boxes" : { + "k" : 1, + "w" : 4, + "n" : 1, + "h" : 3420 + }, + "boxes_524_transpose" : { + "k" : 2736, + "w" : 4, + "n" : 1, + "h" : 1 + }, + "478" : { + "k" : 48, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "scores" : { + "k" : 1, + "w" : 10, + "n" : 1, + "h" : 3420 + }, + "boxes_581_transpose" : { + "k" : 684, + "w" : 4, + "n" : 1, + "h" : 1 + }, + "494" : { + "k" : 288, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "581" : { + "k" : 1, + "w" : 4, + "n" : 1, + "h" : 684 + }, + "404" : { + "k" : 72, + "w" : 150, + "n" : 1, + "h" : 94 + }, + "479" : { + "k" : 48, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "566" : { + "k" : 11, + "w" : 1, + "n" : 1, + "seq" : 684, + "h" : 1 + }, + "412" : { + "k" : 96, + "w" : 75, + "n" : 1, + "h" : 47 + }, + "487" : { + "k" : 48, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "559" : { + "k" : 1280, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "582" : { + "k" : 11, + "w" : 1, + "n" : 1, + "seq" : 3420, + "h" : 1 + }, + "590" : { + "k" : 1, + "w" : 1, + "n" : 1, + "seq" : 3420, + "h" : 1 + }, + "488" : { + "k" : 48, + "w" : 38, + "n" : 1, + "h" : 24 + }, + "421" : { + "k" : 96, + "w" : 75, + "n" : 1, + "h" : 47 + }, + "496" : { + "k" : 80, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "568" : { + "k" : 1280, + "w" : 19, + "n" : 1, + "h" : 12 + }, + "591" : { + "k" : 11, + "w" : 1, + "n" : 1, + "seq" : 3420, + "h" : 1 + } + } +} \ No newline at end of file diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/SSDOcr.mlmodelc/model.espresso.weights b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/SSDOcr.mlmodelc/model.espresso.weights new file mode 100644 index 0000000..727f6b6 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/SSDOcr.mlmodelc/model.espresso.weights differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/SSDOcr.mlmodelc/model/coremldata.bin b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/SSDOcr.mlmodelc/model/coremldata.bin new file mode 100644 index 0000000..ce9aa8b Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/SSDOcr.mlmodelc/model/coremldata.bin differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/SSDOcr.mlmodelc/neural_network_optionals/coremldata.bin b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/SSDOcr.mlmodelc/neural_network_optionals/coremldata.bin new file mode 100644 index 0000000..6459c29 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/SSDOcr.mlmodelc/neural_network_optionals/coremldata.bin differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/StripeCardScan b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/StripeCardScan new file mode 100755 index 0000000..f57e226 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/StripeCardScan differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/StripeiOS Tests-Debug.xcconfig b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/StripeiOS Tests-Debug.xcconfig new file mode 100644 index 0000000..d969b04 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/StripeiOS Tests-Debug.xcconfig @@ -0,0 +1,13 @@ +// +// StripeiOS Tests-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +#include "StripeiOS Tests-Shared.xcconfig" + +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited) +DEBUG_INFORMATION_FORMAT = dwarf +SWIFT_ACTIVE_COMPILATION_CONDITIONS[arch=*] = DEBUG $(inherited) diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/StripeiOS Tests-Release.xcconfig b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/StripeiOS Tests-Release.xcconfig new file mode 100644 index 0000000..3b92cfd --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/StripeiOS Tests-Release.xcconfig @@ -0,0 +1,12 @@ +// +// StripeiOS Tests-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS Tests-Shared.xcconfig" + +//********************************************// +//* Currently no build settings in this file *// +//********************************************// diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/StripeiOS Tests-Shared.xcconfig b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/StripeiOS Tests-Shared.xcconfig new file mode 100644 index 0000000..3078777 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/StripeiOS Tests-Shared.xcconfig @@ -0,0 +1,89 @@ +// +// StripeiOS Tests-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +CLANG_CXX_LANGUAGE_STANDARD = gnu++0x + + +CLANG_CXX_LIBRARY = libc++ + + +CLANG_ENABLE_MODULES = YES + + +CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR + + +CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR + + +// Code Signing Identity +// +// The name ("common name") of a valid code-signing certificate in a keychain within your +// keychain path. A missing or invalid certificate will cause a build error. + +CODE_SIGN_IDENTITY = iPhone Developer + + +// Framework Search Paths +// +// This is a list of paths to folders containing frameworks to be searched by the +// compiler for both included or imported header files when compiling C, Objective-C, +// C++, or Objective-C++, and by the linker for frameworks used by the product. Paths are +// delimited by whitespace, so any paths with spaces in them need to be properly quoted. +// [-F] + +FRAMEWORK_SEARCH_PATHS = $(inherited) $(PROJECT_DIR)/Carthage/Build/iOS + +GCC_TREAT_WARNINGS_AS_ERRORS = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR + + +GCC_WARN_SHADOW = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE + +CLANG_WARN_ASSIGN_ENUM = YES +//CLANG_WARN_DOCUMENTATION_COMMENTS = YES not enabled because of errors in FBSnapshotTestCase headers +CLANG_WARN_INFINITE_RECURSION = YES +CLANG_WARN_SUSPICIOUS_MOVE = YES +GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES +GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES +GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES +GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES +GCC_WARN_UNKNOWN_PRAGMAS = YES +GCC_WARN_UNUSED_LABEL = YES +GCC_WARN_UNUSED_PARAMETER = YES + + +// Header Search Paths +// +// This is a list of paths to folders to be searched by the compiler for included or +// imported header files when compiling C, Objective-C, C++, or Objective-C++. Paths are +// delimited by whitespace, so any paths with spaces in them need to be properly quoted. +// [-I] + +HEADER_SEARCH_PATHS = $(inherited) + + +// Runpath Search Paths +// +// This is a list of paths to be added to the runpath search path list for the image +// being created. At runtime, dyld uses the runpath when searching for dylibs whose load +// path begins with '@rpath/'. [-rpath] + +LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @loader_path/Frameworks + + +OTHER_CFLAGS = + +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES + +LIBRARY_SEARCH_PATHS = $(inherited) diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/StripeiOS-Debug.xcconfig b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/StripeiOS-Debug.xcconfig new file mode 100644 index 0000000..99304b4 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/StripeiOS-Debug.xcconfig @@ -0,0 +1,12 @@ +// +// StripeiOS-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS-Shared.xcconfig" + + +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited) +SWIFT_ACTIVE_COMPILATION_CONDITIONS[arch=*] = DEBUG $(inherited) diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/StripeiOS-Release.xcconfig b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/StripeiOS-Release.xcconfig new file mode 100644 index 0000000..3d79290 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/StripeiOS-Release.xcconfig @@ -0,0 +1,10 @@ +// +// StripeiOS-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS-Shared.xcconfig" + +APPLICATION_EXTENSION_API_ONLY = NO diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/StripeiOS-Shared.xcconfig b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/StripeiOS-Shared.xcconfig new file mode 100644 index 0000000..b274c8d --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/StripeiOS-Shared.xcconfig @@ -0,0 +1,159 @@ +// +// StripeiOS-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Version.xcconfig" + +APPLICATION_EXTENSION_API_ONLY = YES + +CLANG_CXX_LANGUAGE_STANDARD = gnu++0x + + +CLANG_CXX_LIBRARY = libc++ + + +CLANG_ENABLE_MODULES = YES + + +CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR + + +CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR + +CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES +CLANG_WARN_INFINITE_RECURSION = YES +CLANG_WARN_SUSPICIOUS_MOVE = YES +CLANG_WARN_ASSIGN_ENUM = YES +CLANG_WARN_DOCUMENTATION_COMMENTS = YES +CLANG_WARN_UNGUARDED_AVAILABILITY = YES + +// Code Signing Identity +// +// The name ("common name") of a valid code-signing certificate in a keychain within your +// keychain path. A missing or invalid certificate will cause a build error. + +CODE_SIGN_IDENTITY[sdk=iphoneos*] = + +// Defines Module +// +// If enabled, the product will be treated as defining its own module. This enables +// automatic production of LLVM module map files when appropriate, and allows the product +// to be imported as a module. + +DEFINES_MODULE = YES + + +// Compatibility Version +// +// Determines the compatibility version of the resulting library, bundle, or framework +// binary. + +DYLIB_COMPATIBILITY_VERSION = 1 + + +// Current Library Version +// +// This setting defines the the current version of any framework built by the project. +// Like "Current Project Version", the value must be an integer or floating point number +// like 57 or 365.8. By default it is set to $(CURRENT_PROJECT_VERSION). + +DYLIB_CURRENT_VERSION = 1 + + +// Dynamic Library Install Name Base +// +// Sets the base value for the internal "install path" (LC_ID_DYLIB) in a dynamic +// library. This will be combined with the EXECUTABLE_PATH to form the full install path. +// Setting LD_DYLIB_INSTALL_NAME directly will override this setting. This setting +// defaults to the target's INSTALL_PATH. It is ignored when building any product other +// than a dynamic library. [-install_name] + +DYLIB_INSTALL_NAME_BASE = @rpath + + +GCC_TREAT_WARNINGS_AS_ERRORS = YES +SWIFT_TREAT_WARNINGS_AS_ERRORS = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR + + +GCC_WARN_SHADOW = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE + +GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES +GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES +GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES +GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES +GCC_WARN_UNKNOWN_PRAGMAS = YES +GCC_WARN_UNUSED_LABEL = YES +GCC_WARN_UNUSED_PARAMETER = YES + + +// Installation Directory +// +// The directory to install the build products in. This path is prepended by the +// 'Installation Build Products Location' (i.e., $(DSTROOT)). + +INSTALL_PATH = $(LOCAL_LIBRARY_DIR)/Frameworks + + +// Runpath Search Paths +// +// This is a list of paths to be added to the runpath search path list for the image +// being created. At runtime, dyld uses the runpath when searching for dylibs whose load +// path begins with '@rpath/'. [-rpath] + +LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @loader_path/Frameworks + + +// Skip Install +// +// Activating this setting when deployment locations are used causes the product to be +// built into an alternative location instead of the install location. + +SKIP_INSTALL = YES + + +// Targeted Device Family +// +// The build system uses the selected device to set the correct value for the +// UIDeviceFamily key it adds to the target's Info.plist file. +// +// iPhone - Application is built for iPhone and iPod touch. +// iPad - Application is built for iPad. +// iPhone/iPad - Application is built Universal for iPhone, iPod touch, and iPad. + +TARGETED_DEVICE_FAMILY = 1,2 + + +// Versioning Name Prefix +// +// Used as a prefix for the name of the version info symbol in the generated versioning +// source file. If you prefix your exported symbols you will probably want to set this +// to the same prefix. + +VERSION_INFO_PREFIX = + + +// Versioning System +// +// Selects the process used for version-stamping generated files. +// +// None - Use no versioning system. [] +// Apple Generic - Use the current project version setting. [apple-generic] + +VERSIONING_SYSTEM = apple-generic + +FRAMEWORK_SEARCH_PATHS = $(inherited) +HEADER_SEARCH_PATHS = $(inherited) + +LIBRARY_SEARCH_PATHS = $(inherited) $(CONFIGURATION_BUILD_DIR) + +// Generate .swiftinterface files +BUILD_LIBRARY_FOR_DISTRIBUTION = YES diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/UxModel.mlmodelc/analytics/coremldata.bin b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/UxModel.mlmodelc/analytics/coremldata.bin new file mode 100644 index 0000000..a859710 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/UxModel.mlmodelc/analytics/coremldata.bin differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/UxModel.mlmodelc/coremldata.bin b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/UxModel.mlmodelc/coremldata.bin new file mode 100644 index 0000000..5f4878e Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/UxModel.mlmodelc/coremldata.bin differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/UxModel.mlmodelc/metadata.json b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/UxModel.mlmodelc/metadata.json new file mode 100644 index 0000000..9a994a9 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/UxModel.mlmodelc/metadata.json @@ -0,0 +1,66 @@ +[ + { + "shortDescription" : "", + "metadataOutputVersion" : "3.0", + "outputSchema" : [ + { + "hasShapeFlexibility" : "0", + "isOptional" : "0", + "dataType" : "Double", + "formattedType" : "MultiArray (Double 3)", + "shortDescription" : "", + "shape" : "[3]", + "name" : "output1", + "type" : "MultiArray" + } + ], + "version" : "", + "modelParameters" : [ + + ], + "author" : "", + "specificationVersion" : 2, + "license" : "", + "isUpdatable" : "0", + "availability" : { + "macOS" : "10.13.2", + "tvOS" : "11.2", + "watchOS" : "4.2", + "iOS" : "11.2", + "macCatalyst" : "11.2" + }, + "modelType" : { + "name" : "MLModelType_neuralNetwork" + }, + "inputSchema" : [ + { + "height" : "224", + "colorspace" : "RGB", + "isOptional" : "0", + "width" : "224", + "isColor" : "1", + "formattedType" : "Image (Color 224 × 224)", + "hasSizeFlexibility" : "0", + "type" : "Image", + "shortDescription" : "", + "name" : "input1" + } + ], + "userDefinedMetadata" : { + "coremltoolsVersion" : "3.3" + }, + "generatedClassName" : "UxModel", + "neuralNetworkLayerTypeHistogram" : { + "ActivationLinear" : 72, + "ActivationReLU" : 36, + "Softmax" : 1, + "Add" : 10, + "PoolingAverage" : 1, + "UnaryThreshold" : 36, + "BatchNorm" : 53, + "Convolution" : 54, + "Reshape" : 2 + }, + "method" : "predict" + } +] \ No newline at end of file diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/UxModel.mlmodelc/model.espresso.net b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/UxModel.mlmodelc/model.espresso.net new file mode 100644 index 0000000..c289e4f --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/UxModel.mlmodelc/model.espresso.net @@ -0,0 +1,3252 @@ +{ + "transform_params" : { + "input1" : { + "bias_a" : 0, + "bias_g" : 0, + "bias_r" : 0, + "bias_b" : 0, + "center_mean" : 0, + "is_network_bgr" : 0, + "scale" : 0.0039215688593685627 + } + }, + "properties" : { + + }, + "analyses" : { + + }, + "format_version" : 200, + "storage" : "model.espresso.weights", + "layers" : [ + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_1", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_1_output_relu", + "K" : 3, + "blob_biases" : 1, + "stride_x" : 2, + "name" : "conv2d_1", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "stride_y" : 2, + "has_biases" : 1, + "C" : 16, + "bottom" : "input1", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 3 + }, + { + "alpha" : -1, + "bottom" : "activation_1_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_1__neg__", + "top" : "activation_1_output_relu_neg", + "type" : "activation", + "name" : "activation_1__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_1_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_1__clip__", + "top" : "activation_1_output_relu_clip", + "type" : "elementwise", + "name" : "activation_1__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_1_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_1_neg2", + "top" : "activation_1_output", + "type" : "activation", + "name" : "activation_1_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_2", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_2_output_relu", + "K" : 16, + "blob_biases" : 5, + "name" : "conv2d_2", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 16, + "bottom" : "activation_1_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 7 + }, + { + "alpha" : -1, + "bottom" : "activation_2_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_2__neg__", + "top" : "activation_2_output_relu_neg", + "type" : "activation", + "name" : "activation_2__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_2_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_2__clip__", + "top" : "activation_2_output_relu_clip", + "type" : "elementwise", + "name" : "activation_2__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_2_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_2_neg2", + "top" : "activation_2_output", + "type" : "activation", + "name" : "activation_2_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "depthwise_conv2d_1", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_3_output_relu", + "K" : 16, + "blob_biases" : 9, + "name" : "depthwise_conv2d_1", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 16, + "pad_t" : 0, + "has_biases" : 1, + "C" : 16, + "bottom" : "activation_2_output", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 11 + }, + { + "alpha" : -1, + "bottom" : "activation_3_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_3__neg__", + "top" : "activation_3_output_relu_neg", + "type" : "activation", + "name" : "activation_3__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_3_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_3__clip__", + "top" : "activation_3_output_relu_clip", + "type" : "elementwise", + "name" : "activation_3__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_3_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_3_neg2", + "top" : "activation_3_output", + "type" : "activation", + "name" : "activation_3_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "conv2d_3", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "batch_normalization_4_output", + "K" : 16, + "blob_biases" : 13, + "name" : "conv2d_3", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 8, + "bottom" : "activation_3_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 15 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_4", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_4_output_relu", + "K" : 8, + "blob_biases" : 17, + "name" : "conv2d_4", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 48, + "bottom" : "batch_normalization_4_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 19 + }, + { + "alpha" : -1, + "bottom" : "activation_4_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_4__neg__", + "top" : "activation_4_output_relu_neg", + "type" : "activation", + "name" : "activation_4__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_4_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_4__clip__", + "top" : "activation_4_output_relu_clip", + "type" : "elementwise", + "name" : "activation_4__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_4_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_4_neg2", + "top" : "activation_4_output", + "type" : "activation", + "name" : "activation_4_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "depthwise_conv2d_2", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_5_output_relu", + "K" : 48, + "blob_biases" : 21, + "stride_x" : 2, + "name" : "depthwise_conv2d_2", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 48, + "pad_t" : 0, + "stride_y" : 2, + "has_biases" : 1, + "C" : 48, + "bottom" : "activation_4_output", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 23 + }, + { + "alpha" : -1, + "bottom" : "activation_5_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_5__neg__", + "top" : "activation_5_output_relu_neg", + "type" : "activation", + "name" : "activation_5__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_5_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_5__clip__", + "top" : "activation_5_output_relu_clip", + "type" : "elementwise", + "name" : "activation_5__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_5_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_5_neg2", + "top" : "activation_5_output", + "type" : "activation", + "name" : "activation_5_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "conv2d_5", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "batch_normalization_7_output", + "K" : 48, + "blob_biases" : 25, + "name" : "conv2d_5", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 12, + "bottom" : "activation_5_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 27 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_6", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_6_output_relu", + "K" : 12, + "blob_biases" : 29, + "name" : "conv2d_6", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 72, + "bottom" : "batch_normalization_7_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 31 + }, + { + "alpha" : -1, + "bottom" : "activation_6_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_6__neg__", + "top" : "activation_6_output_relu_neg", + "type" : "activation", + "name" : "activation_6__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_6_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_6__clip__", + "top" : "activation_6_output_relu_clip", + "type" : "elementwise", + "name" : "activation_6__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_6_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_6_neg2", + "top" : "activation_6_output", + "type" : "activation", + "name" : "activation_6_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "depthwise_conv2d_3", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_7_output_relu", + "K" : 72, + "blob_biases" : 33, + "name" : "depthwise_conv2d_3", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 72, + "pad_t" : 0, + "has_biases" : 1, + "C" : 72, + "bottom" : "activation_6_output", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 35 + }, + { + "alpha" : -1, + "bottom" : "activation_7_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_7__neg__", + "top" : "activation_7_output_relu_neg", + "type" : "activation", + "name" : "activation_7__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_7_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_7__clip__", + "top" : "activation_7_output_relu_clip", + "type" : "elementwise", + "name" : "activation_7__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_7_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_7_neg2", + "top" : "activation_7_output", + "type" : "activation", + "name" : "activation_7_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "conv2d_7", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "batch_normalization_10_output", + "K" : 72, + "blob_biases" : 37, + "name" : "conv2d_7", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 12, + "bottom" : "activation_7_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 39 + }, + { + "bottom" : "batch_normalization_10_output,batch_normalization_7_output", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "add_1", + "top" : "add_1_output", + "type" : "elementwise", + "name" : "add_1", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_8", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_8_output_relu", + "K" : 12, + "blob_biases" : 41, + "name" : "conv2d_8", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 72, + "bottom" : "add_1_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 43 + }, + { + "alpha" : -1, + "bottom" : "activation_8_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_8__neg__", + "top" : "activation_8_output_relu_neg", + "type" : "activation", + "name" : "activation_8__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_8_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_8__clip__", + "top" : "activation_8_output_relu_clip", + "type" : "elementwise", + "name" : "activation_8__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_8_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_8_neg2", + "top" : "activation_8_output", + "type" : "activation", + "name" : "activation_8_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "depthwise_conv2d_4", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_9_output_relu", + "K" : 72, + "blob_biases" : 45, + "stride_x" : 2, + "name" : "depthwise_conv2d_4", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 72, + "pad_t" : 0, + "stride_y" : 2, + "has_biases" : 1, + "C" : 72, + "bottom" : "activation_8_output", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 47 + }, + { + "alpha" : -1, + "bottom" : "activation_9_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_9__neg__", + "top" : "activation_9_output_relu_neg", + "type" : "activation", + "name" : "activation_9__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_9_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_9__clip__", + "top" : "activation_9_output_relu_clip", + "type" : "elementwise", + "name" : "activation_9__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_9_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_9_neg2", + "top" : "activation_9_output", + "type" : "activation", + "name" : "activation_9_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "conv2d_9", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "batch_normalization_13_output", + "K" : 72, + "blob_biases" : 49, + "name" : "conv2d_9", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 16, + "bottom" : "activation_9_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 51 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_10", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_10_output_relu", + "K" : 16, + "blob_biases" : 53, + "name" : "conv2d_10", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 96, + "bottom" : "batch_normalization_13_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 55 + }, + { + "alpha" : -1, + "bottom" : "activation_10_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_10__neg__", + "top" : "activation_10_output_relu_neg", + "type" : "activation", + "name" : "activation_10__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_10_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_10__clip__", + "top" : "activation_10_output_relu_clip", + "type" : "elementwise", + "name" : "activation_10__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_10_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_10_neg2", + "top" : "activation_10_output", + "type" : "activation", + "name" : "activation_10_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "depthwise_conv2d_5", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_11_output_relu", + "K" : 96, + "blob_biases" : 57, + "name" : "depthwise_conv2d_5", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 96, + "pad_t" : 0, + "has_biases" : 1, + "C" : 96, + "bottom" : "activation_10_output", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 59 + }, + { + "alpha" : -1, + "bottom" : "activation_11_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_11__neg__", + "top" : "activation_11_output_relu_neg", + "type" : "activation", + "name" : "activation_11__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_11_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_11__clip__", + "top" : "activation_11_output_relu_clip", + "type" : "elementwise", + "name" : "activation_11__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_11_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_11_neg2", + "top" : "activation_11_output", + "type" : "activation", + "name" : "activation_11_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "conv2d_11", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "batch_normalization_16_output", + "K" : 96, + "blob_biases" : 61, + "name" : "conv2d_11", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 16, + "bottom" : "activation_11_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 63 + }, + { + "bottom" : "batch_normalization_16_output,batch_normalization_13_output", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "add_2", + "top" : "add_2_output", + "type" : "elementwise", + "name" : "add_2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_12", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_12_output_relu", + "K" : 16, + "blob_biases" : 65, + "name" : "conv2d_12", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 96, + "bottom" : "add_2_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 67 + }, + { + "alpha" : -1, + "bottom" : "activation_12_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_12__neg__", + "top" : "activation_12_output_relu_neg", + "type" : "activation", + "name" : "activation_12__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_12_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_12__clip__", + "top" : "activation_12_output_relu_clip", + "type" : "elementwise", + "name" : "activation_12__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_12_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_12_neg2", + "top" : "activation_12_output", + "type" : "activation", + "name" : "activation_12_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "depthwise_conv2d_6", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_13_output_relu", + "K" : 96, + "blob_biases" : 69, + "name" : "depthwise_conv2d_6", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 96, + "pad_t" : 0, + "has_biases" : 1, + "C" : 96, + "bottom" : "activation_12_output", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 71 + }, + { + "alpha" : -1, + "bottom" : "activation_13_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_13__neg__", + "top" : "activation_13_output_relu_neg", + "type" : "activation", + "name" : "activation_13__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_13_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_13__clip__", + "top" : "activation_13_output_relu_clip", + "type" : "elementwise", + "name" : "activation_13__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_13_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_13_neg2", + "top" : "activation_13_output", + "type" : "activation", + "name" : "activation_13_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "conv2d_13", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "batch_normalization_19_output", + "K" : 96, + "blob_biases" : 73, + "name" : "conv2d_13", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 16, + "bottom" : "activation_13_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 75 + }, + { + "bottom" : "batch_normalization_19_output,add_2_output", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "add_3", + "top" : "add_3_output", + "type" : "elementwise", + "name" : "add_3", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_14", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_14_output_relu", + "K" : 16, + "blob_biases" : 77, + "name" : "conv2d_14", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 96, + "bottom" : "add_3_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 79 + }, + { + "alpha" : -1, + "bottom" : "activation_14_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_14__neg__", + "top" : "activation_14_output_relu_neg", + "type" : "activation", + "name" : "activation_14__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_14_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_14__clip__", + "top" : "activation_14_output_relu_clip", + "type" : "elementwise", + "name" : "activation_14__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_14_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_14_neg2", + "top" : "activation_14_output", + "type" : "activation", + "name" : "activation_14_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "depthwise_conv2d_7", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_15_output_relu", + "K" : 96, + "blob_biases" : 81, + "stride_x" : 2, + "name" : "depthwise_conv2d_7", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 96, + "pad_t" : 0, + "stride_y" : 2, + "has_biases" : 1, + "C" : 96, + "bottom" : "activation_14_output", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 83 + }, + { + "alpha" : -1, + "bottom" : "activation_15_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_15__neg__", + "top" : "activation_15_output_relu_neg", + "type" : "activation", + "name" : "activation_15__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_15_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_15__clip__", + "top" : "activation_15_output_relu_clip", + "type" : "elementwise", + "name" : "activation_15__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_15_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_15_neg2", + "top" : "activation_15_output", + "type" : "activation", + "name" : "activation_15_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "conv2d_15", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "batch_normalization_22_output", + "K" : 96, + "blob_biases" : 85, + "name" : "conv2d_15", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 32, + "bottom" : "activation_15_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 87 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_16", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_16_output_relu", + "K" : 32, + "blob_biases" : 89, + "name" : "conv2d_16", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 192, + "bottom" : "batch_normalization_22_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 91 + }, + { + "alpha" : -1, + "bottom" : "activation_16_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_16__neg__", + "top" : "activation_16_output_relu_neg", + "type" : "activation", + "name" : "activation_16__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_16_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_16__clip__", + "top" : "activation_16_output_relu_clip", + "type" : "elementwise", + "name" : "activation_16__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_16_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_16_neg2", + "top" : "activation_16_output", + "type" : "activation", + "name" : "activation_16_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "depthwise_conv2d_8", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_17_output_relu", + "K" : 192, + "blob_biases" : 93, + "name" : "depthwise_conv2d_8", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 192, + "pad_t" : 0, + "has_biases" : 1, + "C" : 192, + "bottom" : "activation_16_output", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 95 + }, + { + "alpha" : -1, + "bottom" : "activation_17_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_17__neg__", + "top" : "activation_17_output_relu_neg", + "type" : "activation", + "name" : "activation_17__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_17_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_17__clip__", + "top" : "activation_17_output_relu_clip", + "type" : "elementwise", + "name" : "activation_17__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_17_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_17_neg2", + "top" : "activation_17_output", + "type" : "activation", + "name" : "activation_17_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "conv2d_17", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "batch_normalization_25_output", + "K" : 192, + "blob_biases" : 97, + "name" : "conv2d_17", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 32, + "bottom" : "activation_17_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 99 + }, + { + "bottom" : "batch_normalization_25_output,batch_normalization_22_output", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "add_4", + "top" : "add_4_output", + "type" : "elementwise", + "name" : "add_4", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_18", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_18_output_relu", + "K" : 32, + "blob_biases" : 101, + "name" : "conv2d_18", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 192, + "bottom" : "add_4_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 103 + }, + { + "alpha" : -1, + "bottom" : "activation_18_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_18__neg__", + "top" : "activation_18_output_relu_neg", + "type" : "activation", + "name" : "activation_18__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_18_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_18__clip__", + "top" : "activation_18_output_relu_clip", + "type" : "elementwise", + "name" : "activation_18__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_18_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_18_neg2", + "top" : "activation_18_output", + "type" : "activation", + "name" : "activation_18_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "depthwise_conv2d_9", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_19_output_relu", + "K" : 192, + "blob_biases" : 105, + "name" : "depthwise_conv2d_9", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 192, + "pad_t" : 0, + "has_biases" : 1, + "C" : 192, + "bottom" : "activation_18_output", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 107 + }, + { + "alpha" : -1, + "bottom" : "activation_19_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_19__neg__", + "top" : "activation_19_output_relu_neg", + "type" : "activation", + "name" : "activation_19__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_19_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_19__clip__", + "top" : "activation_19_output_relu_clip", + "type" : "elementwise", + "name" : "activation_19__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_19_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_19_neg2", + "top" : "activation_19_output", + "type" : "activation", + "name" : "activation_19_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "conv2d_19", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "batch_normalization_28_output", + "K" : 192, + "blob_biases" : 109, + "name" : "conv2d_19", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 32, + "bottom" : "activation_19_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 111 + }, + { + "bottom" : "batch_normalization_28_output,add_4_output", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "add_5", + "top" : "add_5_output", + "type" : "elementwise", + "name" : "add_5", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_20", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_20_output_relu", + "K" : 32, + "blob_biases" : 113, + "name" : "conv2d_20", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 192, + "bottom" : "add_5_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 115 + }, + { + "alpha" : -1, + "bottom" : "activation_20_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_20__neg__", + "top" : "activation_20_output_relu_neg", + "type" : "activation", + "name" : "activation_20__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_20_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_20__clip__", + "top" : "activation_20_output_relu_clip", + "type" : "elementwise", + "name" : "activation_20__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_20_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_20_neg2", + "top" : "activation_20_output", + "type" : "activation", + "name" : "activation_20_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "depthwise_conv2d_10", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_21_output_relu", + "K" : 192, + "blob_biases" : 117, + "name" : "depthwise_conv2d_10", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 192, + "pad_t" : 0, + "has_biases" : 1, + "C" : 192, + "bottom" : "activation_20_output", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 119 + }, + { + "alpha" : -1, + "bottom" : "activation_21_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_21__neg__", + "top" : "activation_21_output_relu_neg", + "type" : "activation", + "name" : "activation_21__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_21_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_21__clip__", + "top" : "activation_21_output_relu_clip", + "type" : "elementwise", + "name" : "activation_21__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_21_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_21_neg2", + "top" : "activation_21_output", + "type" : "activation", + "name" : "activation_21_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "conv2d_21", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "batch_normalization_31_output", + "K" : 192, + "blob_biases" : 121, + "name" : "conv2d_21", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 32, + "bottom" : "activation_21_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 123 + }, + { + "bottom" : "batch_normalization_31_output,add_5_output", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "add_6", + "top" : "add_6_output", + "type" : "elementwise", + "name" : "add_6", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_22", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_22_output_relu", + "K" : 32, + "blob_biases" : 125, + "name" : "conv2d_22", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 192, + "bottom" : "add_6_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 127 + }, + { + "alpha" : -1, + "bottom" : "activation_22_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_22__neg__", + "top" : "activation_22_output_relu_neg", + "type" : "activation", + "name" : "activation_22__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_22_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_22__clip__", + "top" : "activation_22_output_relu_clip", + "type" : "elementwise", + "name" : "activation_22__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_22_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_22_neg2", + "top" : "activation_22_output", + "type" : "activation", + "name" : "activation_22_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "depthwise_conv2d_11", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_23_output_relu", + "K" : 192, + "blob_biases" : 129, + "name" : "depthwise_conv2d_11", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 192, + "pad_t" : 0, + "has_biases" : 1, + "C" : 192, + "bottom" : "activation_22_output", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 131 + }, + { + "alpha" : -1, + "bottom" : "activation_23_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_23__neg__", + "top" : "activation_23_output_relu_neg", + "type" : "activation", + "name" : "activation_23__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_23_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_23__clip__", + "top" : "activation_23_output_relu_clip", + "type" : "elementwise", + "name" : "activation_23__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_23_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_23_neg2", + "top" : "activation_23_output", + "type" : "activation", + "name" : "activation_23_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "conv2d_23", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "batch_normalization_34_output", + "K" : 192, + "blob_biases" : 133, + "name" : "conv2d_23", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 48, + "bottom" : "activation_23_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 135 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_24", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_24_output_relu", + "K" : 48, + "blob_biases" : 137, + "name" : "conv2d_24", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 288, + "bottom" : "batch_normalization_34_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 139 + }, + { + "alpha" : -1, + "bottom" : "activation_24_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_24__neg__", + "top" : "activation_24_output_relu_neg", + "type" : "activation", + "name" : "activation_24__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_24_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_24__clip__", + "top" : "activation_24_output_relu_clip", + "type" : "elementwise", + "name" : "activation_24__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_24_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_24_neg2", + "top" : "activation_24_output", + "type" : "activation", + "name" : "activation_24_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "depthwise_conv2d_12", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_25_output_relu", + "K" : 288, + "blob_biases" : 141, + "name" : "depthwise_conv2d_12", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 288, + "pad_t" : 0, + "has_biases" : 1, + "C" : 288, + "bottom" : "activation_24_output", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 143 + }, + { + "alpha" : -1, + "bottom" : "activation_25_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_25__neg__", + "top" : "activation_25_output_relu_neg", + "type" : "activation", + "name" : "activation_25__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_25_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_25__clip__", + "top" : "activation_25_output_relu_clip", + "type" : "elementwise", + "name" : "activation_25__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_25_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_25_neg2", + "top" : "activation_25_output", + "type" : "activation", + "name" : "activation_25_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "conv2d_25", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "batch_normalization_37_output", + "K" : 288, + "blob_biases" : 145, + "name" : "conv2d_25", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 48, + "bottom" : "activation_25_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 147 + }, + { + "bottom" : "batch_normalization_37_output,batch_normalization_34_output", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "add_7", + "top" : "add_7_output", + "type" : "elementwise", + "name" : "add_7", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_26", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_26_output_relu", + "K" : 48, + "blob_biases" : 149, + "name" : "conv2d_26", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 288, + "bottom" : "add_7_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 151 + }, + { + "alpha" : -1, + "bottom" : "activation_26_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_26__neg__", + "top" : "activation_26_output_relu_neg", + "type" : "activation", + "name" : "activation_26__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_26_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_26__clip__", + "top" : "activation_26_output_relu_clip", + "type" : "elementwise", + "name" : "activation_26__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_26_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_26_neg2", + "top" : "activation_26_output", + "type" : "activation", + "name" : "activation_26_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "depthwise_conv2d_13", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_27_output_relu", + "K" : 288, + "blob_biases" : 153, + "name" : "depthwise_conv2d_13", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 288, + "pad_t" : 0, + "has_biases" : 1, + "C" : 288, + "bottom" : "activation_26_output", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 155 + }, + { + "alpha" : -1, + "bottom" : "activation_27_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_27__neg__", + "top" : "activation_27_output_relu_neg", + "type" : "activation", + "name" : "activation_27__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_27_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_27__clip__", + "top" : "activation_27_output_relu_clip", + "type" : "elementwise", + "name" : "activation_27__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_27_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_27_neg2", + "top" : "activation_27_output", + "type" : "activation", + "name" : "activation_27_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "conv2d_27", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "batch_normalization_40_output", + "K" : 288, + "blob_biases" : 157, + "name" : "conv2d_27", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 48, + "bottom" : "activation_27_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 159 + }, + { + "bottom" : "batch_normalization_40_output,add_7_output", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "add_8", + "top" : "add_8_output", + "type" : "elementwise", + "name" : "add_8", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_28", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_28_output_relu", + "K" : 48, + "blob_biases" : 161, + "name" : "conv2d_28", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 288, + "bottom" : "add_8_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 163 + }, + { + "alpha" : -1, + "bottom" : "activation_28_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_28__neg__", + "top" : "activation_28_output_relu_neg", + "type" : "activation", + "name" : "activation_28__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_28_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_28__clip__", + "top" : "activation_28_output_relu_clip", + "type" : "elementwise", + "name" : "activation_28__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_28_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_28_neg2", + "top" : "activation_28_output", + "type" : "activation", + "name" : "activation_28_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "depthwise_conv2d_14", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_29_output_relu", + "K" : 288, + "blob_biases" : 165, + "stride_x" : 2, + "name" : "depthwise_conv2d_14", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 288, + "pad_t" : 0, + "stride_y" : 2, + "has_biases" : 1, + "C" : 288, + "bottom" : "activation_28_output", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 167 + }, + { + "alpha" : -1, + "bottom" : "activation_29_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_29__neg__", + "top" : "activation_29_output_relu_neg", + "type" : "activation", + "name" : "activation_29__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_29_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_29__clip__", + "top" : "activation_29_output_relu_clip", + "type" : "elementwise", + "name" : "activation_29__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_29_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_29_neg2", + "top" : "activation_29_output", + "type" : "activation", + "name" : "activation_29_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "conv2d_29", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "batch_normalization_43_output", + "K" : 288, + "blob_biases" : 169, + "name" : "conv2d_29", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 80, + "bottom" : "activation_29_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 171 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_30", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_30_output_relu", + "K" : 80, + "blob_biases" : 173, + "name" : "conv2d_30", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 480, + "bottom" : "batch_normalization_43_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 175 + }, + { + "alpha" : -1, + "bottom" : "activation_30_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_30__neg__", + "top" : "activation_30_output_relu_neg", + "type" : "activation", + "name" : "activation_30__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_30_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_30__clip__", + "top" : "activation_30_output_relu_clip", + "type" : "elementwise", + "name" : "activation_30__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_30_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_30_neg2", + "top" : "activation_30_output", + "type" : "activation", + "name" : "activation_30_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "depthwise_conv2d_15", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_31_output_relu", + "K" : 480, + "blob_biases" : 177, + "name" : "depthwise_conv2d_15", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 480, + "pad_t" : 0, + "has_biases" : 1, + "C" : 480, + "bottom" : "activation_30_output", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 179 + }, + { + "alpha" : -1, + "bottom" : "activation_31_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_31__neg__", + "top" : "activation_31_output_relu_neg", + "type" : "activation", + "name" : "activation_31__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_31_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_31__clip__", + "top" : "activation_31_output_relu_clip", + "type" : "elementwise", + "name" : "activation_31__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_31_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_31_neg2", + "top" : "activation_31_output", + "type" : "activation", + "name" : "activation_31_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "conv2d_31", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "batch_normalization_46_output", + "K" : 480, + "blob_biases" : 181, + "name" : "conv2d_31", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 80, + "bottom" : "activation_31_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 183 + }, + { + "bottom" : "batch_normalization_46_output,batch_normalization_43_output", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "add_9", + "top" : "add_9_output", + "type" : "elementwise", + "name" : "add_9", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_32", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_32_output_relu", + "K" : 80, + "blob_biases" : 185, + "name" : "conv2d_32", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 480, + "bottom" : "add_9_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 187 + }, + { + "alpha" : -1, + "bottom" : "activation_32_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_32__neg__", + "top" : "activation_32_output_relu_neg", + "type" : "activation", + "name" : "activation_32__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_32_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_32__clip__", + "top" : "activation_32_output_relu_clip", + "type" : "elementwise", + "name" : "activation_32__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_32_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_32_neg2", + "top" : "activation_32_output", + "type" : "activation", + "name" : "activation_32_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "depthwise_conv2d_16", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_33_output_relu", + "K" : 480, + "blob_biases" : 189, + "name" : "depthwise_conv2d_16", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 480, + "pad_t" : 0, + "has_biases" : 1, + "C" : 480, + "bottom" : "activation_32_output", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 191 + }, + { + "alpha" : -1, + "bottom" : "activation_33_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_33__neg__", + "top" : "activation_33_output_relu_neg", + "type" : "activation", + "name" : "activation_33__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_33_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_33__clip__", + "top" : "activation_33_output_relu_clip", + "type" : "elementwise", + "name" : "activation_33__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_33_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_33_neg2", + "top" : "activation_33_output", + "type" : "activation", + "name" : "activation_33_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "conv2d_33", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "batch_normalization_49_output", + "K" : 480, + "blob_biases" : 193, + "name" : "conv2d_33", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 80, + "bottom" : "activation_33_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 195 + }, + { + "bottom" : "batch_normalization_49_output,add_9_output", + "alpha" : 1, + "operation" : 0, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "add_10", + "top" : "add_10_output", + "type" : "elementwise", + "name" : "add_10", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_34", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_34_output_relu", + "K" : 80, + "blob_biases" : 197, + "name" : "conv2d_34", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 480, + "bottom" : "add_10_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 199 + }, + { + "alpha" : -1, + "bottom" : "activation_34_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_34__neg__", + "top" : "activation_34_output_relu_neg", + "type" : "activation", + "name" : "activation_34__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_34_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_34__clip__", + "top" : "activation_34_output_relu_clip", + "type" : "elementwise", + "name" : "activation_34__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_34_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_34_neg2", + "top" : "activation_34_output", + "type" : "activation", + "name" : "activation_34_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "depthwise_conv2d_17", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_35_output_relu", + "K" : 480, + "blob_biases" : 201, + "name" : "depthwise_conv2d_17", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 480, + "pad_t" : 0, + "has_biases" : 1, + "C" : 480, + "bottom" : "activation_34_output", + "weights" : { + + }, + "Nx" : 3, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 3, + "n_parallel" : 1, + "blob_weights_f16" : 203 + }, + { + "alpha" : -1, + "bottom" : "activation_35_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_35__neg__", + "top" : "activation_35_output_relu_neg", + "type" : "activation", + "name" : "activation_35__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_35_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_35__clip__", + "top" : "activation_35_output_relu_clip", + "type" : "elementwise", + "name" : "activation_35__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_35_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_35_neg2", + "top" : "activation_35_output", + "type" : "activation", + "name" : "activation_35_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "conv2d_35", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "batch_normalization_52_output", + "K" : 480, + "blob_biases" : 205, + "name" : "conv2d_35", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 160, + "bottom" : "activation_35_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 207 + }, + { + "pad_r" : 0, + "fused_relu" : 1, + "fused_tanh" : 0, + "debug_info" : "conv2d_36", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "activation_36_output_relu", + "K" : 160, + "blob_biases" : 209, + "name" : "conv2d_36", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 1280, + "bottom" : "batch_normalization_52_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 211 + }, + { + "alpha" : -1, + "bottom" : "activation_36_output_relu", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_36__neg__", + "top" : "activation_36_output_relu_neg", + "type" : "activation", + "name" : "activation_36__neg__", + "beta" : 0 + }, + { + "bottom" : "activation_36_output_relu_neg", + "alpha" : -6, + "operation" : 25, + "weights" : { + + }, + "fused_relu" : 0, + "debug_info" : "activation_36__clip__", + "top" : "activation_36_output_relu_clip", + "type" : "elementwise", + "name" : "activation_36__clip__", + "beta" : 0 + }, + { + "alpha" : -1, + "bottom" : "activation_36_output_relu_clip", + "weights" : { + + }, + "mode" : 6, + "debug_info" : "activation_36_neg2", + "top" : "activation_36_output", + "type" : "activation", + "name" : "activation_36_neg2", + "beta" : 0 + }, + { + "pad_r" : 0, + "debug_info" : "global_average_pooling2d_1", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "size_x" : 7, + "is_global" : 1, + "top" : "global_average_pooling2d_1_output", + "top_shape_style" : 0, + "stride_x" : 1, + "avg_or_max" : 0, + "average_count_exclude_padding" : 1, + "type" : "pool", + "name" : "global_average_pooling2d_1", + "pad_t" : 0, + "stride_y" : 1, + "bottom" : "activation_36_output", + "weights" : { + + }, + "pad_mode" : 2, + "size_y" : 7, + "pad_value" : 0 + }, + { + "name" : "reshape_1", + "weights" : { + + }, + "dst_w" : 1, + "version" : 1, + "dst_n" : 0, + "type" : "reshape", + "dst_h" : 1, + "mode" : 1, + "bottom" : "global_average_pooling2d_1_output", + "debug_info" : "reshape_1", + "dst_seq" : 1, + "dst_k" : 1280, + "top" : "reshape_1_output" + }, + { + "pad_r" : 0, + "fused_relu" : 0, + "fused_tanh" : 0, + "debug_info" : "conv2d_38", + "pad_fill_mode" : 0, + "pad_b" : 0, + "pad_l" : 0, + "top" : "conv2d_38_output", + "K" : 1280, + "blob_biases" : 213, + "name" : "conv2d_38", + "has_batch_norm" : 0, + "type" : "convolution", + "n_groups" : 1, + "pad_t" : 0, + "has_biases" : 1, + "C" : 3, + "bottom" : "reshape_1_output", + "weights" : { + + }, + "Nx" : 1, + "pad_mode" : 1, + "pad_value" : 0, + "Ny" : 1, + "n_parallel" : 1, + "blob_weights_f16" : 215 + }, + { + "bottom" : "conv2d_38_output", + "weights" : { + + }, + "debug_info" : "softmax", + "top" : "softmax_output", + "C" : 2, + "type" : "softmax", + "name" : "softmax" + }, + { + "name" : "reshape_3", + "weights" : { + + }, + "dst_w" : 1, + "version" : 1, + "dst_n" : 0, + "type" : "reshape", + "dst_h" : 1, + "mode" : 1, + "attributes" : { + "is_output" : 1 + }, + "bottom" : "softmax_output", + "debug_info" : "reshape_3", + "dst_k" : 3, + "dst_seq" : 1, + "top" : "output1" + } + ] +} \ No newline at end of file diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/UxModel.mlmodelc/model.espresso.shape b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/UxModel.mlmodelc/model.espresso.shape new file mode 100644 index 0000000..ad7ffbb --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/UxModel.mlmodelc/model.espresso.shape @@ -0,0 +1,1066 @@ +{ + "layer_shapes" : { + "activation_32_output_relu_neg" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_3_output_relu_clip" : { + "k" : 16, + "w" : 112, + "n" : 1, + "h" : 112 + }, + "activation_24_output_relu" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_13_output_relu_neg" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_34_output" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_32_output_relu_clip" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_2_output_relu_neg" : { + "k" : 16, + "w" : 112, + "n" : 1, + "h" : 112 + }, + "activation_18_output_relu_neg" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "input1" : { + "k" : 3, + "w" : 224, + "n" : 1, + "h" : 224 + }, + "activation_27_output_relu_clip" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "reshape_1_output" : { + "k" : 1280, + "w" : 1, + "n" : 1, + "h" : 1 + }, + "batch_normalization_46_output" : { + "k" : 80, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_3_output" : { + "k" : 16, + "w" : 112, + "n" : 1, + "h" : 112 + }, + "activation_33_output" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_31_output_relu_neg" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_11_output_relu" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_27_output_relu" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_8_output_relu" : { + "k" : 72, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "activation_23_output_relu_clip" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_18_output_relu_clip" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_32_output" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_17_output_relu_neg" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "add_2_output" : { + "k" : 16, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_20_output_relu_neg" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_31_output" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_8_output_relu_neg" : { + "k" : 72, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "activation_14_output_relu_clip" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_6_output_relu" : { + "k" : 72, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "activation_14_output_relu" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "batch_normalization_4_output" : { + "k" : 8, + "w" : 112, + "n" : 1, + "h" : 112 + }, + "activation_35_output_relu_neg" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "batch_normalization_43_output" : { + "k" : 80, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_16_output_relu_neg" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_30_output" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_26_output_relu" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "batch_normalization_34_output" : { + "k" : 48, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "batch_normalization_52_output" : { + "k" : 160, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_34_output_relu_clip" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_10_output_relu_clip" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_29_output_relu_clip" : { + "k" : 288, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_9_output" : { + "k" : 72, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_4_output_relu" : { + "k" : 48, + "w" : 112, + "n" : 1, + "h" : 112 + }, + "activation_24_output" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_8_output_relu_clip" : { + "k" : 72, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "activation_3_output_relu_neg" : { + "k" : 16, + "w" : 112, + "n" : 1, + "h" : 112 + }, + "activation_34_output_relu_neg" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_30_output_relu_clip" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_25_output_relu_clip" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_13_output_relu" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_23_output" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_29_output_relu" : { + "k" : 288, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "add_6_output" : { + "k" : 32, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "output1" : { + "k" : 3, + "w" : 1, + "n" : 1, + "h" : 1 + }, + "activation_23_output_relu_neg" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_5_output_relu_clip" : { + "k" : 48, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "activation_22_output" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "batch_normalization_40_output" : { + "k" : 48, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "batch_normalization_31_output" : { + "k" : 32, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_21_output_relu_clip" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_16_output_relu_clip" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_9_output_relu_neg" : { + "k" : 72, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_16_output_relu" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_8_output" : { + "k" : 72, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "activation_19_output_relu_neg" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_21_output" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_22_output_relu_neg" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_28_output_relu" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_2_output_relu_clip" : { + "k" : 16, + "w" : 112, + "n" : 1, + "h" : 112 + }, + "activation_12_output_relu_clip" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "add_4_output" : { + "k" : 32, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_15_output" : { + "k" : 96, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_20_output" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "global_average_pooling2d_1_output" : { + "k" : 1280, + "w" : 1, + "n" : 1, + "h" : 1 + }, + "activation_4_output_relu_neg" : { + "k" : 48, + "w" : 112, + "n" : 1, + "h" : 112 + }, + "activation_19_output_relu" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_31_output_relu" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_14_output" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "batch_normalization_7_output" : { + "k" : 12, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "batch_normalization_37_output" : { + "k" : 48, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_21_output_relu_neg" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "batch_normalization_28_output" : { + "k" : 32, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "batch_normalization_19_output" : { + "k" : 16, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_15_output_relu" : { + "k" : 96, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_5_output" : { + "k" : 48, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "activation_13_output" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_36_output_relu_neg" : { + "k" : 1280, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_10_output_relu_neg" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_34_output_relu" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_12_output" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_5_output_relu" : { + "k" : 48, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "activation_18_output_relu" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_30_output_relu" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_25_output_relu_neg" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "add_8_output" : { + "k" : 48, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_11_output" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_20_output_relu_clip" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "batch_normalization_25_output" : { + "k" : 32, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "batch_normalization_16_output" : { + "k" : 16, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_2_output" : { + "k" : 16, + "w" : 112, + "n" : 1, + "h" : 112 + }, + "activation_21_output_relu" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_4_output" : { + "k" : 48, + "w" : 112, + "n" : 1, + "h" : 112 + }, + "activation_3_output_relu" : { + "k" : 16, + "w" : 112, + "n" : 1, + "h" : 112 + }, + "activation_10_output" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_36_output" : { + "k" : 1280, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_7_output_relu_clip" : { + "k" : 72, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "activation_33_output_relu" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_24_output_relu_neg" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_5_output_relu_neg" : { + "k" : 48, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "activation_35_output_relu_clip" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_11_output_relu_clip" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_17_output_relu" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_35_output" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "add_5_output" : { + "k" : 32, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_1_output_relu" : { + "k" : 16, + "w" : 112, + "n" : 1, + "h" : 112 + }, + "activation_31_output_relu_clip" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_4_output_relu_clip" : { + "k" : 48, + "w" : 112, + "n" : 1, + "h" : 112 + }, + "activation_26_output_relu_clip" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_29_output" : { + "k" : 288, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_20_output_relu" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_36_output_relu" : { + "k" : 1280, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "batch_normalization_22_output" : { + "k" : 32, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_1_output" : { + "k" : 16, + "w" : 112, + "n" : 1, + "h" : 112 + }, + "batch_normalization_13_output" : { + "k" : 16, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_28_output_relu_neg" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "conv2d_38_output" : { + "k" : 3, + "w" : 1, + "n" : 1, + "h" : 1 + }, + "activation_32_output_relu" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_28_output" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_22_output_relu_clip" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_17_output_relu_clip" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_12_output_relu_neg" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_1_output_relu_clip" : { + "k" : 16, + "w" : 112, + "n" : 1, + "h" : 112 + }, + "activation_27_output" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "add_3_output" : { + "k" : 16, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_9_output_relu" : { + "k" : 72, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_23_output_relu" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "softmax_output" : { + "k" : 3, + "w" : 1, + "n" : 1, + "h" : 1 + }, + "activation_27_output_relu_neg" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_13_output_relu_clip" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_35_output_relu" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_30_output_relu_neg" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_26_output" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_6_output_relu_neg" : { + "k" : 72, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "add_9_output" : { + "k" : 80, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_11_output_relu_neg" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "batch_normalization_10_output" : { + "k" : 12, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "activation_33_output_relu_clip" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_7_output_relu" : { + "k" : 72, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "activation_10_output_relu" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_28_output_relu_clip" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_25_output" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_26_output_relu_neg" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_7_output" : { + "k" : 72, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "activation_22_output_relu" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_19_output" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "add_1_output" : { + "k" : 12, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "activation_1_output_relu_neg" : { + "k" : 16, + "w" : 112, + "n" : 1, + "h" : 112 + }, + "activation_9_output_relu_clip" : { + "k" : 72, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_24_output_relu_clip" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_19_output_relu_clip" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_15_output_relu_neg" : { + "k" : 96, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_18_output" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "add_7_output" : { + "k" : 48, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_25_output_relu" : { + "k" : 288, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_2_output_relu" : { + "k" : 16, + "w" : 112, + "n" : 1, + "h" : 112 + }, + "activation_17_output" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_15_output_relu_clip" : { + "k" : 96, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_33_output_relu_neg" : { + "k" : 480, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "batch_normalization_49_output" : { + "k" : 80, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_6_output_relu_clip" : { + "k" : 72, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "activation_14_output_relu_neg" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_6_output" : { + "k" : 72, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "activation_16_output" : { + "k" : 192, + "w" : 14, + "n" : 1, + "h" : 14 + }, + "activation_7_output_relu_neg" : { + "k" : 72, + "w" : 56, + "n" : 1, + "h" : 56 + }, + "add_10_output" : { + "k" : 80, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_12_output_relu" : { + "k" : 96, + "w" : 28, + "n" : 1, + "h" : 28 + }, + "activation_29_output_relu_neg" : { + "k" : 288, + "w" : 7, + "n" : 1, + "h" : 7 + }, + "activation_36_output_relu_clip" : { + "k" : 1280, + "w" : 7, + "n" : 1, + "h" : 7 + } + } +} \ No newline at end of file diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/UxModel.mlmodelc/model.espresso.weights b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/UxModel.mlmodelc/model.espresso.weights new file mode 100644 index 0000000..d58a125 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/UxModel.mlmodelc/model.espresso.weights differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/UxModel.mlmodelc/model/coremldata.bin b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/UxModel.mlmodelc/model/coremldata.bin new file mode 100644 index 0000000..ee515f7 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/UxModel.mlmodelc/model/coremldata.bin differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/UxModel.mlmodelc/neural_network_optionals/coremldata.bin b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/UxModel.mlmodelc/neural_network_optionals/coremldata.bin new file mode 100644 index 0000000..6459c29 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/UxModel.mlmodelc/neural_network_optionals/coremldata.bin differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Version.xcconfig b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Version.xcconfig new file mode 100644 index 0000000..385e5d1 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/Version.xcconfig @@ -0,0 +1,9 @@ +// +// Version.xcconfig +// +// This file was generated by update_version.sh +// Do not edit this file directly. +// Instead, edit the `VERSION` file and run `ci_scripts/update_version.sh` +// + +CURRENT_PROJECT_VERSION=21.12.0 diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/_CodeSignature/CodeResources b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000..666d146 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/_CodeSignature/CodeResources @@ -0,0 +1,1309 @@ + + + + + files + + Headers/StripeCardScan-Swift.h + + BKTvZR7Jp5VJ5UzbE+z5AiyDpP8= + + Headers/StripeCardScan.h + + mMgoBYw0Oh87u0YHW8wjatnRRLQ= + + Info.plist + + nDPrYqAtDmnvVktZSLU7EAEL2Nw= + + Modules/StripeCardScan.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + 4ydwUo9w+dNPQVE8etCgOKmRdbQ= + + Modules/StripeCardScan.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + vcQ0ofmWEFEYTmONn3fecnut3ss= + + Modules/StripeCardScan.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + pBMD7LzDyP2zB7KZqs/XL/x4ipc= + + Modules/StripeCardScan.swiftmodule/arm64.swiftdoc + + 4ydwUo9w+dNPQVE8etCgOKmRdbQ= + + Modules/StripeCardScan.swiftmodule/arm64.swiftinterface + + vcQ0ofmWEFEYTmONn3fecnut3ss= + + Modules/StripeCardScan.swiftmodule/arm64.swiftmodule + + pBMD7LzDyP2zB7KZqs/XL/x4ipc= + + Modules/StripeCardScan.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + OTTmnEeO4y+npLtdVlnVFyzxyCU= + + Modules/StripeCardScan.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + /kNCEBlxPkeSm5uVW3a98QOdoqo= + + Modules/StripeCardScan.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + kAd/mCaEAqakytAB38z4WAPTnNo= + + Modules/StripeCardScan.swiftmodule/x86_64.swiftdoc + + OTTmnEeO4y+npLtdVlnVFyzxyCU= + + Modules/StripeCardScan.swiftmodule/x86_64.swiftinterface + + /kNCEBlxPkeSm5uVW3a98QOdoqo= + + Modules/StripeCardScan.swiftmodule/x86_64.swiftmodule + + kAd/mCaEAqakytAB38z4WAPTnNo= + + Modules/module.modulemap + + Pjz5Fiuh7BbzYootfXKOFshbJkE= + + Project-Debug.xcconfig + + n4N1KH/HDtAtM02FYLggVjQN/hA= + + Project-Release.xcconfig + + yoRzT4fJxZpKDrrYlW7GS/vPrX8= + + Project-Shared.xcconfig + + QpmL2mmJ8wleeTz4TJKCfn+VKb0= + + SSDOcr.mlmodelc/analytics/coremldata.bin + + UiqLFTJsqxBORHoSroDEfIZPDx8= + + SSDOcr.mlmodelc/coremldata.bin + + zfDnP344UgORYJpxG1y11LTydN0= + + SSDOcr.mlmodelc/metadata.json + + 8i7/JUTm8cdk0GIi3aoshxX0SqI= + + SSDOcr.mlmodelc/model.espresso.net + + N+nYGES7fZ/QQ8Ot9dQEtLbk1nU= + + SSDOcr.mlmodelc/model.espresso.shape + + W3/9JheWzzwl118npp97v5UaPc8= + + SSDOcr.mlmodelc/model.espresso.weights + + PObM/mvTxhseG0ZBN7HvnJW2afc= + + SSDOcr.mlmodelc/model/coremldata.bin + + wBHrQmNGaE7FAYdc8Q7gD5xbSrQ= + + SSDOcr.mlmodelc/neural_network_optionals/coremldata.bin + + uA3l0Th1hUHF8FJlrRRKufqG0ds= + + StripeiOS Tests-Debug.xcconfig + + 457iXHnhn1RB6CUwa4CK+jtCGkc= + + StripeiOS Tests-Release.xcconfig + + 0nTqLgIAKAMGub62qGXm1xhM1tU= + + StripeiOS Tests-Shared.xcconfig + + Dv2bE7zACQNBiNlKd+3VR0zJksY= + + StripeiOS-Debug.xcconfig + + 3PWe/ZA/fRAMhGidkHXLeW+HDfU= + + StripeiOS-Release.xcconfig + + ePihbKV1tMa/2TA7icckPYBl0DQ= + + StripeiOS-Shared.xcconfig + + sXIXJbd9sKiL8f3lhOaM0IYMlZE= + + UxModel.mlmodelc/analytics/coremldata.bin + + RURDr5W+w8sdEATQUqd+da/Ulj0= + + UxModel.mlmodelc/coremldata.bin + + Me34Ozz5BX24cnpM1Jd3IDDOjLg= + + UxModel.mlmodelc/metadata.json + + Q5y+BdbZK2G6bB6Iny47mGTN8LY= + + UxModel.mlmodelc/model.espresso.net + + VZFLQCDCiALVnNXFFuXMRuri+Hk= + + UxModel.mlmodelc/model.espresso.shape + + h0Y+MRwL1RYMwzhqcpAVbcKOnX0= + + UxModel.mlmodelc/model.espresso.weights + + CNlpz0LI5CDinWs3l2XzFinjp5U= + + UxModel.mlmodelc/model/coremldata.bin + + SyCFBfZQLeAXbmzAjbhRoiI96qY= + + UxModel.mlmodelc/neural_network_optionals/coremldata.bin + + uA3l0Th1hUHF8FJlrRRKufqG0ds= + + Version.xcconfig + + 7h8EtEryCj8S1RVfu7tJcZkNF/k= + + bg-BG.lproj/Localizable.strings + + hash + + qRgzThPuUQ106XYQnfmm1+yUX+8= + + optional + + + ca-ES.lproj/Localizable.strings + + hash + + zmV6UqBSo6r1NOz798vd5O4zTBA= + + optional + + + cs-CZ.lproj/Localizable.strings + + hash + + WW5Grn4LZR9wih6gVlrVdKiI92w= + + optional + + + da.lproj/Localizable.strings + + hash + + XAwCi+DAmo/0yAbpRNPpGue2qiA= + + optional + + + de.lproj/Localizable.strings + + hash + + LUsZR51YQh3zD2KAFN3P9+ZSo/I= + + optional + + + el-GR.lproj/Localizable.strings + + hash + + x3K0Ryu4cwTFlQp1Iltm5qZ3Xn4= + + optional + + + en-GB.lproj/Localizable.strings + + hash + + U2uOnS39TrLKP0SEXuMlIBe+k14= + + optional + + + en.lproj/Localizable.strings + + hash + + viJreGX49PaV8XZVDD+qNkohf4g= + + optional + + + es-419.lproj/Localizable.strings + + hash + + 60C5yHx/pJiEVxJI2vlUrIVNbvA= + + optional + + + es.lproj/Localizable.strings + + hash + + CpEcFQNJZ0p2QGWY+EtpcOuqN0w= + + optional + + + et-EE.lproj/Localizable.strings + + hash + + qWClSv744+vEDiqQy2zM69bIqwg= + + optional + + + fi.lproj/Localizable.strings + + hash + + dyZJ5B+QYgB6mRDWIZOtBy5A85I= + + optional + + + fil.lproj/Localizable.strings + + hash + + zmV6UqBSo6r1NOz798vd5O4zTBA= + + optional + + + fr-CA.lproj/Localizable.strings + + hash + + JeJ4QoydE+r0AMQFozNYRXsjwRQ= + + optional + + + fr.lproj/Localizable.strings + + hash + + m6zZzcqip7H1rajYSBaKKZQbAQY= + + optional + + + hr.lproj/Localizable.strings + + hash + + zmV6UqBSo6r1NOz798vd5O4zTBA= + + optional + + + hu.lproj/Localizable.strings + + hash + + chK9qdKj9YnPw9L419IguJTx+9E= + + optional + + + id.lproj/Localizable.strings + + hash + + zmV6UqBSo6r1NOz798vd5O4zTBA= + + optional + + + it.lproj/Localizable.strings + + hash + + S8HDLsDoqiKnjcM4T53lLV9q5xk= + + optional + + + ja.lproj/Localizable.strings + + hash + + yjBLnfWuopZHJEjdkSakxh53LYo= + + optional + + + ko.lproj/Localizable.strings + + hash + + z18yILOGnTBYpL1hsL+ZPb2SDPg= + + optional + + + lt-LT.lproj/Localizable.strings + + hash + + drbFn2FXdcMmaHW6/v1rx6s6GVc= + + optional + + + lv-LV.lproj/Localizable.strings + + hash + + JZ5aSPenRHTqyiFO0FAG0nOwLyI= + + optional + + + ms-MY.lproj/Localizable.strings + + hash + + zmV6UqBSo6r1NOz798vd5O4zTBA= + + optional + + + mt.lproj/Localizable.strings + + hash + + eG2teiyHnqwGvXCLufdwzc+L3QE= + + optional + + + nb.lproj/Localizable.strings + + hash + + YeErAnO9UuATJkB2/10akBo5k9w= + + optional + + + nl.lproj/Localizable.strings + + hash + + xmHXBd6/H6m7gKRpKVFKMhiEZ0g= + + optional + + + nn-NO.lproj/Localizable.strings + + hash + + ImILxo9yyry44He5vq4aNz4JA8s= + + optional + + + pl-PL.lproj/Localizable.strings + + hash + + ITmuxelBB65pygSLTHvJnepomc8= + + optional + + + pt-BR.lproj/Localizable.strings + + hash + + wGUelNLyly5sGSnnmcPIk3Znrmw= + + optional + + + pt-PT.lproj/Localizable.strings + + hash + + 50mn658pql960a/5OA8PCZsqPPc= + + optional + + + ro-RO.lproj/Localizable.strings + + hash + + IlCQn6H8/+OXFsw4YuWrJkcoXEY= + + optional + + + ru.lproj/Localizable.strings + + hash + + ziE89o96J9+isVdciSDghivqRqc= + + optional + + + sk-SK.lproj/Localizable.strings + + hash + + wSeivQn/tFMOeFbO11nkkwRqKug= + + optional + + + sl-SI.lproj/Localizable.strings + + hash + + lV+SzeZ9HH0tuKPWOQ5+heDnC34= + + optional + + + sv.lproj/Localizable.strings + + hash + + Czh1QAVUDr4WgcahjyaER9NDvRU= + + optional + + + tk.lproj/Localizable.strings + + hash + + zmV6UqBSo6r1NOz798vd5O4zTBA= + + optional + + + tr.lproj/Localizable.strings + + hash + + dzU7Rn5eR26Qrm9GVkj77etohEU= + + optional + + + vi.lproj/Localizable.strings + + hash + + zmV6UqBSo6r1NOz798vd5O4zTBA= + + optional + + + zh-HK.lproj/Localizable.strings + + hash + + f0WXFfXl727olzKHPZX93mr2HLw= + + optional + + + zh-Hans.lproj/Localizable.strings + + hash + + X8t5PJl/+j5sY9zVqkK76mmPqVI= + + optional + + + zh-Hant.lproj/Localizable.strings + + hash + + O3zTTAF4+scGH0p2FR7mbqXl/Co= + + optional + + + + files2 + + Headers/StripeCardScan-Swift.h + + hash2 + + 5b+GYKz5Dq+ygaXy8Orlw8G3tpNRPLxZWId88Kz/33k= + + + Headers/StripeCardScan.h + + hash2 + + 1z7gbUZ7J7LTXFBxstgidCX01isIhNQc7eiMcvpWMXg= + + + Modules/StripeCardScan.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + hash2 + + wRYRBPhz2bpPrPoTsig1ad5fC2hbbVhkxbVEsFdqeGs= + + + Modules/StripeCardScan.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + hash2 + + z8JCMyuev1JpWH+2xNjcmtNn/G5iItxeTpS1V5Boen8= + + + Modules/StripeCardScan.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + hash2 + + ejytUbBqkbVmaIo+tmHCgNphdRCKdOnvpyZkMFw15OU= + + + Modules/StripeCardScan.swiftmodule/arm64.swiftdoc + + hash2 + + wRYRBPhz2bpPrPoTsig1ad5fC2hbbVhkxbVEsFdqeGs= + + + Modules/StripeCardScan.swiftmodule/arm64.swiftinterface + + hash2 + + z8JCMyuev1JpWH+2xNjcmtNn/G5iItxeTpS1V5Boen8= + + + Modules/StripeCardScan.swiftmodule/arm64.swiftmodule + + hash2 + + ejytUbBqkbVmaIo+tmHCgNphdRCKdOnvpyZkMFw15OU= + + + Modules/StripeCardScan.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + hash2 + + nWT+K5AtTU2vbmZ86ws96J9m6xEetQMBPblb4ONtcKs= + + + Modules/StripeCardScan.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + hash2 + + MXfS245CjDG04xBNmmutjXLKPfp75nwQaOSJ4ZCbSVo= + + + Modules/StripeCardScan.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + hash2 + + HxD8RkfEas96Lc6kJ1RS4OcQsgWlCnmED8likpApFPc= + + + Modules/StripeCardScan.swiftmodule/x86_64.swiftdoc + + hash2 + + nWT+K5AtTU2vbmZ86ws96J9m6xEetQMBPblb4ONtcKs= + + + Modules/StripeCardScan.swiftmodule/x86_64.swiftinterface + + hash2 + + MXfS245CjDG04xBNmmutjXLKPfp75nwQaOSJ4ZCbSVo= + + + Modules/StripeCardScan.swiftmodule/x86_64.swiftmodule + + hash2 + + HxD8RkfEas96Lc6kJ1RS4OcQsgWlCnmED8likpApFPc= + + + Modules/module.modulemap + + hash2 + + GFRcMGvEnVKmTXFRFqDsFw+YNHk7jOYlKjmMheTuLeY= + + + Project-Debug.xcconfig + + hash2 + + kHoE/vfj0FcaEyk5a5O3K/XxflMeFXIC/a6yIIbNZdM= + + + Project-Release.xcconfig + + hash2 + + Ipf70x5Q5KKOWpMcAgr9EZLgQnXa1mn2I7GEN+JYF5w= + + + Project-Shared.xcconfig + + hash2 + + Twml4dKf2KXIbf21/+GmfDP3bi95I7/1540Qm+njxVE= + + + SSDOcr.mlmodelc/analytics/coremldata.bin + + hash2 + + uEWWgepKCIZa2CqzXumqoztbLmlRPow8FGNIXwdF+xY= + + + SSDOcr.mlmodelc/coremldata.bin + + hash2 + + mgoFQxyQNHJ5v9R+M7D3NJxcTLaOIBVUk5tlBoYS+bw= + + + SSDOcr.mlmodelc/metadata.json + + hash2 + + dPzl1GwkbX0YeBlZ/+MV7jF4U32gaYNQ4QTI2r7djfk= + + + SSDOcr.mlmodelc/model.espresso.net + + hash2 + + 7F//E23pS9+M6WX5N53EkHrVdCX22oEjnohHmc7N0VU= + + + SSDOcr.mlmodelc/model.espresso.shape + + hash2 + + zZ5wv2sH3eRzn2pBwbDonQtWV3SkS4N/XPn0WD8F1AA= + + + SSDOcr.mlmodelc/model.espresso.weights + + hash2 + + oT/Gghig43PrZvEbK4QLjX/4EbDWh/pmTNSBHakJ8vA= + + + SSDOcr.mlmodelc/model/coremldata.bin + + hash2 + + hbCZFIrZAF+IjdmBIFJ3wbNm1hBnaN4fctkyWK6u12w= + + + SSDOcr.mlmodelc/neural_network_optionals/coremldata.bin + + hash2 + + LDTOHfI7g4xavyp/ZDfMo9MGftUJ/yXxHfaxG1grUes= + + + StripeiOS Tests-Debug.xcconfig + + hash2 + + uGVcgGik5SaJNbb2DOeEMtNQekkLmFTOMU208gSUpOg= + + + StripeiOS Tests-Release.xcconfig + + hash2 + + aei5qbaWUFeeU4+1EnWKiUYXju20d2DsZ8st6clNmjE= + + + StripeiOS Tests-Shared.xcconfig + + hash2 + + BPoQ19I+Jl8V6Og3rE0faUDimfMVIMcK7SpLegEzqHw= + + + StripeiOS-Debug.xcconfig + + hash2 + + pbwxxIUXIqn2E43DR+cv/cppQs18Xubm514KVZ7uNE8= + + + StripeiOS-Release.xcconfig + + hash2 + + TEIZY5oO6Uf7ZI8hO9d360gObHWb0BZEbbajcyx9sSI= + + + StripeiOS-Shared.xcconfig + + hash2 + + BboBmDBwEMCs6Bp4x/EbOHTaorFmBZz7lZNNO8HkKQE= + + + UxModel.mlmodelc/analytics/coremldata.bin + + hash2 + + hPM0R0NWgPHuel0rNTj0Cl6nCQ2E5LIR0fjHsJ3J0z8= + + + UxModel.mlmodelc/coremldata.bin + + hash2 + + nV/4SK2K5dSUnQWwB0Ce6xLPoUqMIZQTEAlQrgJa1cM= + + + UxModel.mlmodelc/metadata.json + + hash2 + + n0DS86FsPnCtXg5FWGaQMzIEtblQBCAt3zc18372xXY= + + + UxModel.mlmodelc/model.espresso.net + + hash2 + + FF8B0CjiuV3I8OnLIVXnxlR3wqpUkSeXC30PYrz2cqc= + + + UxModel.mlmodelc/model.espresso.shape + + hash2 + + 4FQwIp4DsJmKA+E29QUFFq4gWCZ85TcYNjSx8MUyO/s= + + + UxModel.mlmodelc/model.espresso.weights + + hash2 + + bygjly368CqInQ7249HsNIlnPLwpfe0qV2VxM4USwkw= + + + UxModel.mlmodelc/model/coremldata.bin + + hash2 + + tNBxRdA4U0U6IV6ghnhq4ATiAi+acP3hdOsKP3Yfptg= + + + UxModel.mlmodelc/neural_network_optionals/coremldata.bin + + hash2 + + LDTOHfI7g4xavyp/ZDfMo9MGftUJ/yXxHfaxG1grUes= + + + Version.xcconfig + + hash2 + + INjrVf3IWEihwmcp5YKB7z+/x09lU0xrzSwAIQV1FtE= + + + bg-BG.lproj/Localizable.strings + + hash2 + + fSEJIt6plo3ipXKwIcxhGV2dMc7Cz5u3Y53QiTgAkz0= + + optional + + + ca-ES.lproj/Localizable.strings + + hash2 + + kmHsztpgjvF0JW5f3HdMHm49z1M0CcG8OT1JDQHHE/E= + + optional + + + cs-CZ.lproj/Localizable.strings + + hash2 + + /3bLVXWfdK8xu7SS+EMkZETW/LI9MNimJCDuHy5ZJ84= + + optional + + + da.lproj/Localizable.strings + + hash2 + + 2ZJEC4OsLzBXo0A5kIWvXGVtsTt1c1K/9v8MbPWsS1E= + + optional + + + de.lproj/Localizable.strings + + hash2 + + DDY/o8mAU9mADopCk8RGd/Gl0rr9OEXpXB+BZ2q8SsA= + + optional + + + el-GR.lproj/Localizable.strings + + hash2 + + M/ybWNVCtr+EvjeDYasiPFWO5cVO9c5WXM0HSVhMy64= + + optional + + + en-GB.lproj/Localizable.strings + + hash2 + + gHPtyA8PCwvuZcxZGh8XwD31qEKQIkEQ67AFm9YPK4Y= + + optional + + + en.lproj/Localizable.strings + + hash2 + + xDu8nd6znUYkECv1XkMvRs8uDPd+MYuS9fHJcE5g0Q4= + + optional + + + es-419.lproj/Localizable.strings + + hash2 + + 0gM2gRntMTKVZzg4Y2N+rIMr3GkDMgph9p9XgcBOEBI= + + optional + + + es.lproj/Localizable.strings + + hash2 + + ucKoZPUjAeeQWIQySuoMUe+imhRJREtwqGp6957i5zY= + + optional + + + et-EE.lproj/Localizable.strings + + hash2 + + LQgA/M0FOkoQDDIJVwBoN8ndfvqljRlbuI2lce90jU0= + + optional + + + fi.lproj/Localizable.strings + + hash2 + + cjG72mZGfMXIA8gtPh7AhW/ntSwQHbjueGHVNlRvbQY= + + optional + + + fil.lproj/Localizable.strings + + hash2 + + kmHsztpgjvF0JW5f3HdMHm49z1M0CcG8OT1JDQHHE/E= + + optional + + + fr-CA.lproj/Localizable.strings + + hash2 + + T06250MXJFoEndXwe7YJY8/VTsN1VS4Y8O/3h8LpHUI= + + optional + + + fr.lproj/Localizable.strings + + hash2 + + BW8TP+l5ybQhD0HnRI55RnxTXAEAQuAyxx8IfoBDgtk= + + optional + + + hr.lproj/Localizable.strings + + hash2 + + kmHsztpgjvF0JW5f3HdMHm49z1M0CcG8OT1JDQHHE/E= + + optional + + + hu.lproj/Localizable.strings + + hash2 + + ouYxjxJjVjwhbth7bA8YjZhQ8Xz1yHTKvApxe7oIoGY= + + optional + + + id.lproj/Localizable.strings + + hash2 + + kmHsztpgjvF0JW5f3HdMHm49z1M0CcG8OT1JDQHHE/E= + + optional + + + it.lproj/Localizable.strings + + hash2 + + c5anb9m3XGh9hXfFyPGOtBhwZ9Y5OnvBCC/bInYXl+A= + + optional + + + ja.lproj/Localizable.strings + + hash2 + + CBTkY73va/NomXIy54UjYE+k+cFaaLKa+gn5VI+EAus= + + optional + + + ko.lproj/Localizable.strings + + hash2 + + +5jWHymLHC2NQVLDMJkyvqGzKtQzyIdWu0xm/Jyp0gk= + + optional + + + lt-LT.lproj/Localizable.strings + + hash2 + + jMGpOVCVy7s8QwuFGUlpm8YS1T6zu6+FsvaXvGJrS5M= + + optional + + + lv-LV.lproj/Localizable.strings + + hash2 + + IeMZ7bPD3UP1p7c94rC786tUFJBCGTzMsZZEvE8u/FY= + + optional + + + ms-MY.lproj/Localizable.strings + + hash2 + + kmHsztpgjvF0JW5f3HdMHm49z1M0CcG8OT1JDQHHE/E= + + optional + + + mt.lproj/Localizable.strings + + hash2 + + zDe4/JIcw9g+g6zef4GMCXppIjHEeynBdtiz85E/cZg= + + optional + + + nb.lproj/Localizable.strings + + hash2 + + 95034BfJL1pPCnx5XO1JoDtSB4beAi6an/NVrL6i+dY= + + optional + + + nl.lproj/Localizable.strings + + hash2 + + 2Gu7AMGThj58bAiG9PVsVO6nfqzt/JcqXbpdrzAh42A= + + optional + + + nn-NO.lproj/Localizable.strings + + hash2 + + uWUhDwxDvgCT6WcI+Q9BFH0BwrjF4NrhW1D1Legl/gk= + + optional + + + pl-PL.lproj/Localizable.strings + + hash2 + + LEedfcaYpwhTvNbgo9zLzsPE1PboyaO+ONDJmpcdxGU= + + optional + + + pt-BR.lproj/Localizable.strings + + hash2 + + sSyFaxpKo2AJZb9gK8B/yc4dCTW4KDjBeeN6Xd90q/I= + + optional + + + pt-PT.lproj/Localizable.strings + + hash2 + + uLmpYbn5bvXhtRRlnuD8n9OKL6rxbLs28UwgD6cmUFA= + + optional + + + ro-RO.lproj/Localizable.strings + + hash2 + + V5+Y5bpK6cs0vUEe7MTIkHejcRvVG34I5dNiioo8VIw= + + optional + + + ru.lproj/Localizable.strings + + hash2 + + 6UdTG2AoNieCOta/wScYQNbQsSSuDDkgX+T4XbwxPqs= + + optional + + + sk-SK.lproj/Localizable.strings + + hash2 + + Tazi2mouxnBzLGI1/xOlaP1GY4WzBqMRMvW79NJkiqk= + + optional + + + sl-SI.lproj/Localizable.strings + + hash2 + + lXZnpdRxHf2FjeHE/u5qrFgJynyiT+0wjMltftBv+II= + + optional + + + sv.lproj/Localizable.strings + + hash2 + + DBm81oRitkUHPS/STsuCH3uVE1VM3eK5io8yynP2Ci8= + + optional + + + tk.lproj/Localizable.strings + + hash2 + + kmHsztpgjvF0JW5f3HdMHm49z1M0CcG8OT1JDQHHE/E= + + optional + + + tr.lproj/Localizable.strings + + hash2 + + +aqL6R5J2K8yQZ7eRcnTVe6m0QLaS0Lu0SpBZ8uPA+4= + + optional + + + vi.lproj/Localizable.strings + + hash2 + + kmHsztpgjvF0JW5f3HdMHm49z1M0CcG8OT1JDQHHE/E= + + optional + + + zh-HK.lproj/Localizable.strings + + hash2 + + 1di/TrY9d43WozOHqgEaCm7ECwTg54GsKB1UxnFjb2I= + + optional + + + zh-Hans.lproj/Localizable.strings + + hash2 + + hbbzOCMFsDU2qmtguSpxqCfG701Z/a91Qfgo2vzFEK8= + + optional + + + zh-Hant.lproj/Localizable.strings + + hash2 + + e2qpDTaa0pZn2bfwbVL11XLzJx04REyHa1xAJE6+xfw= + + optional + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/bg-BG.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/bg-BG.lproj/Localizable.strings new file mode 100644 index 0000000..aca94a4 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/bg-BG.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/ca-ES.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/ca-ES.lproj/Localizable.strings new file mode 100644 index 0000000..3967e06 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/ca-ES.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/cs-CZ.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/cs-CZ.lproj/Localizable.strings new file mode 100644 index 0000000..56b06c6 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/cs-CZ.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/da.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/da.lproj/Localizable.strings new file mode 100644 index 0000000..08603da Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/da.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/de.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/de.lproj/Localizable.strings new file mode 100644 index 0000000..a4bf888 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/de.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/el-GR.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/el-GR.lproj/Localizable.strings new file mode 100644 index 0000000..abfc143 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/el-GR.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/en-GB.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/en-GB.lproj/Localizable.strings new file mode 100644 index 0000000..08edd9c Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/en-GB.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/en.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/en.lproj/Localizable.strings new file mode 100644 index 0000000..1171196 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/en.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/es-419.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/es-419.lproj/Localizable.strings new file mode 100644 index 0000000..d71a60c Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/es-419.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/es.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/es.lproj/Localizable.strings new file mode 100644 index 0000000..a47f0b1 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/es.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/et-EE.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/et-EE.lproj/Localizable.strings new file mode 100644 index 0000000..97e371b Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/et-EE.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/fi.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/fi.lproj/Localizable.strings new file mode 100644 index 0000000..e1f3faf Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/fi.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/fil.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/fil.lproj/Localizable.strings new file mode 100644 index 0000000..3967e06 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/fil.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/fr-CA.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/fr-CA.lproj/Localizable.strings new file mode 100644 index 0000000..3b0a151 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/fr-CA.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/fr.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/fr.lproj/Localizable.strings new file mode 100644 index 0000000..8517bac Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/fr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/hr.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/hr.lproj/Localizable.strings new file mode 100644 index 0000000..3967e06 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/hr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/hu.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/hu.lproj/Localizable.strings new file mode 100644 index 0000000..8ca6e04 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/hu.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/id.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/id.lproj/Localizable.strings new file mode 100644 index 0000000..3967e06 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/id.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/it.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/it.lproj/Localizable.strings new file mode 100644 index 0000000..21226b7 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/it.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/ja.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/ja.lproj/Localizable.strings new file mode 100644 index 0000000..0d5b3ca Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/ja.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/ko.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/ko.lproj/Localizable.strings new file mode 100644 index 0000000..6ae7419 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/ko.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/lt-LT.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/lt-LT.lproj/Localizable.strings new file mode 100644 index 0000000..cab01ca Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/lt-LT.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/lv-LV.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/lv-LV.lproj/Localizable.strings new file mode 100644 index 0000000..2674837 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/lv-LV.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/ms-MY.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/ms-MY.lproj/Localizable.strings new file mode 100644 index 0000000..3967e06 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/ms-MY.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/mt.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/mt.lproj/Localizable.strings new file mode 100644 index 0000000..1b4c221 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/mt.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/nb.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/nb.lproj/Localizable.strings new file mode 100644 index 0000000..c5ba360 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/nb.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/nl.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/nl.lproj/Localizable.strings new file mode 100644 index 0000000..37b30f3 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/nl.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/nn-NO.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/nn-NO.lproj/Localizable.strings new file mode 100644 index 0000000..4df03a0 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/nn-NO.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/pl-PL.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/pl-PL.lproj/Localizable.strings new file mode 100644 index 0000000..0748486 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/pl-PL.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/pt-BR.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/pt-BR.lproj/Localizable.strings new file mode 100644 index 0000000..fed73e4 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/pt-BR.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/pt-PT.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/pt-PT.lproj/Localizable.strings new file mode 100644 index 0000000..8c81c22 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/pt-PT.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/ro-RO.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/ro-RO.lproj/Localizable.strings new file mode 100644 index 0000000..5c31424 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/ro-RO.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/ru.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/ru.lproj/Localizable.strings new file mode 100644 index 0000000..10900b6 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/ru.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/sk-SK.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/sk-SK.lproj/Localizable.strings new file mode 100644 index 0000000..bfb8029 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/sk-SK.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/sl-SI.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/sl-SI.lproj/Localizable.strings new file mode 100644 index 0000000..9f2215d Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/sl-SI.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/sv.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/sv.lproj/Localizable.strings new file mode 100644 index 0000000..0b800c4 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/sv.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/tk.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/tk.lproj/Localizable.strings new file mode 100644 index 0000000..3967e06 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/tk.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/tr.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/tr.lproj/Localizable.strings new file mode 100644 index 0000000..6cd9f05 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/tr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/vi.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/vi.lproj/Localizable.strings new file mode 100644 index 0000000..3967e06 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/vi.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/zh-HK.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/zh-HK.lproj/Localizable.strings new file mode 100644 index 0000000..1da39ee Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/zh-HK.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/zh-Hans.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/zh-Hans.lproj/Localizable.strings new file mode 100644 index 0000000..f7796d7 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/zh-Hans.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/zh-Hant.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/zh-Hant.lproj/Localizable.strings new file mode 100644 index 0000000..3131db7 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCardScan.xcframework/ios-arm64_x86_64-simulator/StripeCardScan.framework/zh-Hant.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/Info.plist b/stripe_ios/ios/platform/StripeCore.xcframework/Info.plist new file mode 100644 index 0000000..001d4b4 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/Info.plist @@ -0,0 +1,55 @@ + + + + + AvailableLibraries + + + LibraryIdentifier + ios-arm64 + LibraryPath + StripeCore.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + StripeCore.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + LibraryIdentifier + ios-arm64_x86_64-maccatalyst + LibraryPath + StripeCore.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/Headers/StripeCore-Swift.h b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/Headers/StripeCore-Swift.h new file mode 100644 index 0000000..c2b0f35 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/Headers/StripeCore-Swift.h @@ -0,0 +1,281 @@ +// Generated by Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +#ifndef STRIPECORE_SWIFT_H +#define STRIPECORE_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# 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 +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import Foundation; +@import ObjectiveC; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="StripeCore",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + + + + + + +@interface NSError (SWIFT_EXTENSION(StripeCore)) ++ (NSError * _Nonnull)stp_genericConnectionError SWIFT_WARN_UNUSED_RESULT; ++ (NSError * _Nonnull)stp_genericFailedToParseResponseError SWIFT_WARN_UNUSED_RESULT; ++ (NSError * _Nonnull)stp_ephemeralKeyDecodingError SWIFT_WARN_UNUSED_RESULT; ++ (NSError * _Nonnull)stp_clientSecretError SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nonnull)stp_cardErrorInvalidNumberUserMessage SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nonnull)stp_cardInvalidCVCUserMessage SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nonnull)stp_cardErrorInvalidExpMonthUserMessage SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nonnull)stp_cardErrorInvalidExpYearUserMessage SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nonnull)stp_cardErrorExpiredCardUserMessage SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nonnull)stp_cardErrorDeclinedUserMessage SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nonnull)stp_cardErrorProcessingErrorUserMessage SWIFT_WARN_UNUSED_RESULT; +@end + + + + +SWIFT_CLASS("_TtC10StripeCore18STPAnalyticsClient") +@interface STPAnalyticsClient : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPAnalyticsClient * _Nonnull sharedClient;) ++ (STPAnalyticsClient * _Nonnull)sharedClient SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, copy) NSSet * _Nonnull productUsage; ++ (NSString * _Nullable)tokenTypeFromParameters:(NSDictionary * _Nonnull)parameters SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + +SWIFT_CLASS("_TtC10StripeCore25STPNumericStringValidator") +@interface STPNumericStringValidator : NSObject +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@protocol STPURLCallbackListener; + +/// :nodoc: +SWIFT_CLASS("_TtC10StripeCore21STPURLCallbackHandler") +@interface STPURLCallbackHandler : NSObject +/// :nodoc: ++ (STPURLCallbackHandler * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (BOOL)handleURLCallback:(NSURL * _Nonnull)url; +/// :nodoc: +- (void)registerListener:(id _Nonnull)listener forURL:(NSURL * _Nonnull)url; +/// :nodoc: +- (void)unregisterListener:(id _Nonnull)listener; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// :nodoc: +SWIFT_PROTOCOL("_TtP10StripeCore22STPURLCallbackListener_") +@protocol STPURLCallbackListener +/// :nodoc: +- (BOOL)handleURLCallback:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; +@end + + + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/Headers/StripeCore.h b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/Headers/StripeCore.h new file mode 100644 index 0000000..55d5d20 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/Headers/StripeCore.h @@ -0,0 +1,18 @@ +// +// StripeCore.h +// StripeCore +// +// Created by Mel Ludowise on 6/24/21. +// + +#import + +//! Project version number for StripeCore. +FOUNDATION_EXPORT double StripeCoreVersionNumber; + +//! Project version string for StripeCore. +FOUNDATION_EXPORT const unsigned char StripeCoreVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/Info.plist b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/Info.plist new file mode 100644 index 0000000..85cb49a Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/Info.plist differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/Modules/StripeCore.swiftmodule/arm64-apple-ios.swiftdoc b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/Modules/StripeCore.swiftmodule/arm64-apple-ios.swiftdoc new file mode 100644 index 0000000..8375f05 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/Modules/StripeCore.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/Modules/StripeCore.swiftmodule/arm64-apple-ios.swiftinterface b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/Modules/StripeCore.swiftmodule/arm64-apple-ios.swiftinterface new file mode 100644 index 0000000..d7c0b7f --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/Modules/StripeCore.swiftmodule/arm64-apple-ios.swiftinterface @@ -0,0 +1,173 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeCore +import Foundation +import PassKit +@_exported import StripeCore +import Swift +import UIKit +@_hasMissingDesignatedInitializers public class StripeAPI { + public static var defaultPublishableKey: Swift.String? + public func setDefaultPublishableKey(_ publishableKey: Swift.String) + public static var advancedFraudSignalsEnabled: Swift.Bool + public static var maxRetries: Swift.Int + public class var jcbPaymentNetworkSupported: Swift.Bool { + get + set(JCBPaymentNetworkSupported) + } + public static var additionalEnabledApplePayNetworks: [PassKit.PKPaymentNetwork] + public class func canSubmitPaymentRequest(_ paymentRequest: PassKit.PKPaymentRequest) -> Swift.Bool + public class func deviceSupportsApplePay() -> Swift.Bool + public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String, country countryCode: Swift.String, currency currencyCode: Swift.String) -> PassKit.PKPaymentRequest + @discardableResult + public static func handleURLCallback(with url: Foundation.URL) -> Swift.Bool + @objc deinit +} +public protocol StripeDecodable : Swift.Decodable { + var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? { get set } +} +public protocol StripeEncodable : Swift.Encodable { + var _additionalParametersStorage: StripeCore.NonEncodableParameters? { get set } +} +public protocol StripeEnumCodable : Swift.Decodable, Swift.Encodable { + static var unparsable: Self { get } +} +extension StripeDecodable { + public var allResponseFields: [Swift.String : Any] { + get + } +} +extension StripeEncodable { + public var additionalParameters: [Swift.String : Any] { + get + set + } +} +public protocol StripeCodable : StripeCore.StripeDecodable, StripeCore.StripeEncodable { +} +@propertyWrapper public struct IncludeUnknownFields { + public var wrappedValue: T? + public init(wrappedValue: T?) +} +extension IncludeUnknownFields : Swift.Encodable where T : StripeCore.StripeEncodable { + public func encode(to encoder: Swift.Encoder) throws +} +extension IncludeUnknownFields : Swift.Decodable where T : StripeCore.StripeDecodable { + public init(from decoder: Swift.Decoder) throws +} +public struct NonEncodableParameters { +} +extension NonEncodableParameters : Swift.Decodable { + public init(from decoder: Swift.Decoder) throws +} +extension NonEncodableParameters : Swift.Encodable { + public func encode(to encoder: Swift.Encoder) throws +} +extension NonEncodableParameters : Swift.Equatable { + public static func == (lhs: StripeCore.NonEncodableParameters, rhs: StripeCore.NonEncodableParameters) -> Swift.Bool +} +extension NonEncodableParameters : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible, Swift.CustomLeafReflectable { + public var customMirror: Swift.Mirror { + get + } + public var debugDescription: Swift.String { + get + } + public var description: Swift.String { + get + } +} +public enum STPErrorCode : Swift.Int { + case connectionError + case invalidRequestError + case authenticationError + case apiError + case cardError + case cancellationError + case ephemeralKeyDecodingError + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers public class STPError { + public static let stripeDomain: Swift.String + @objc public static let STPPaymentHandlerErrorDomain: Swift.String + public static let errorMessageKey: Swift.String + public static let hintKey: Swift.String + public static let cardErrorCodeKey: Swift.String + public static let errorParameterKey: Swift.String + public static let stripeErrorCodeKey: Swift.String + public static let stripeErrorTypeKey: Swift.String + public static let stripeDeclineCodeKey: Swift.String + @objc deinit +} +extension NSError { + public static func stp_error(fromStripeResponse jsonDictionary: [Swift.AnyHashable : Any]?) -> Foundation.NSError? +} +public enum STPCardErrorCode : Swift.String { + case invalidNumber + case invalidExpMonth + case invalidExpYear + case invalidCVC + case incorrectNumber + case expiredCard + case cardDeclined + case incorrectCVC + case processingError + case incorrectZip + public typealias RawValue = Swift.String + public init?(rawValue: Swift.String) + public var rawValue: Swift.String { + get + } +} +@objc extension STPError { + @objc public static let invalidNumber: Swift.String + @objc public static let invalidExpMonth: Swift.String + @objc public static let invalidExpYear: Swift.String + @objc public static let invalidCVC: Swift.String + @objc public static let incorrectNumber: Swift.String + @objc public static let expiredCard: Swift.String + @objc public static let cardDeclined: Swift.String + @objc public static let processingError: Swift.String + @objc public static let incorrectCVC: Swift.String + @objc public static let incorrectZip: Swift.String +} +public class STPAppInfo { + public init(name: Swift.String, partnerId: Swift.String?, version: Swift.String?, url: Swift.String?) + public var name: Swift.String { + get + } + public var partnerId: Swift.String? { + get + } + public var version: Swift.String? { + get + } + public var url: Swift.String? { + get + } + @objc deinit +} +public class STPAPIClient { + public static let STPSDKVersion: Swift.String + public static let shared: StripeCore.STPAPIClient + public var publishableKey: Swift.String? { + get + set + } + public var stripeAccount: Swift.String? + public var appInfo: StripeCore.STPAppInfo? + public static let apiVersion: Swift.String + public init() + convenience public init(publishableKey: Swift.String) + @objc deinit +} +extension StripeCore.STPErrorCode : Swift.Equatable {} +extension StripeCore.STPErrorCode : Swift.Hashable {} +extension StripeCore.STPErrorCode : Swift.RawRepresentable {} +extension StripeCore.STPCardErrorCode : Swift.Equatable {} +extension StripeCore.STPCardErrorCode : Swift.Hashable {} +extension StripeCore.STPCardErrorCode : Swift.RawRepresentable {} diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/Modules/StripeCore.swiftmodule/arm64.swiftdoc b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/Modules/StripeCore.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..8375f05 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/Modules/StripeCore.swiftmodule/arm64.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/Modules/StripeCore.swiftmodule/arm64.swiftinterface b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/Modules/StripeCore.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..d7c0b7f --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/Modules/StripeCore.swiftmodule/arm64.swiftinterface @@ -0,0 +1,173 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeCore +import Foundation +import PassKit +@_exported import StripeCore +import Swift +import UIKit +@_hasMissingDesignatedInitializers public class StripeAPI { + public static var defaultPublishableKey: Swift.String? + public func setDefaultPublishableKey(_ publishableKey: Swift.String) + public static var advancedFraudSignalsEnabled: Swift.Bool + public static var maxRetries: Swift.Int + public class var jcbPaymentNetworkSupported: Swift.Bool { + get + set(JCBPaymentNetworkSupported) + } + public static var additionalEnabledApplePayNetworks: [PassKit.PKPaymentNetwork] + public class func canSubmitPaymentRequest(_ paymentRequest: PassKit.PKPaymentRequest) -> Swift.Bool + public class func deviceSupportsApplePay() -> Swift.Bool + public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String, country countryCode: Swift.String, currency currencyCode: Swift.String) -> PassKit.PKPaymentRequest + @discardableResult + public static func handleURLCallback(with url: Foundation.URL) -> Swift.Bool + @objc deinit +} +public protocol StripeDecodable : Swift.Decodable { + var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? { get set } +} +public protocol StripeEncodable : Swift.Encodable { + var _additionalParametersStorage: StripeCore.NonEncodableParameters? { get set } +} +public protocol StripeEnumCodable : Swift.Decodable, Swift.Encodable { + static var unparsable: Self { get } +} +extension StripeDecodable { + public var allResponseFields: [Swift.String : Any] { + get + } +} +extension StripeEncodable { + public var additionalParameters: [Swift.String : Any] { + get + set + } +} +public protocol StripeCodable : StripeCore.StripeDecodable, StripeCore.StripeEncodable { +} +@propertyWrapper public struct IncludeUnknownFields { + public var wrappedValue: T? + public init(wrappedValue: T?) +} +extension IncludeUnknownFields : Swift.Encodable where T : StripeCore.StripeEncodable { + public func encode(to encoder: Swift.Encoder) throws +} +extension IncludeUnknownFields : Swift.Decodable where T : StripeCore.StripeDecodable { + public init(from decoder: Swift.Decoder) throws +} +public struct NonEncodableParameters { +} +extension NonEncodableParameters : Swift.Decodable { + public init(from decoder: Swift.Decoder) throws +} +extension NonEncodableParameters : Swift.Encodable { + public func encode(to encoder: Swift.Encoder) throws +} +extension NonEncodableParameters : Swift.Equatable { + public static func == (lhs: StripeCore.NonEncodableParameters, rhs: StripeCore.NonEncodableParameters) -> Swift.Bool +} +extension NonEncodableParameters : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible, Swift.CustomLeafReflectable { + public var customMirror: Swift.Mirror { + get + } + public var debugDescription: Swift.String { + get + } + public var description: Swift.String { + get + } +} +public enum STPErrorCode : Swift.Int { + case connectionError + case invalidRequestError + case authenticationError + case apiError + case cardError + case cancellationError + case ephemeralKeyDecodingError + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers public class STPError { + public static let stripeDomain: Swift.String + @objc public static let STPPaymentHandlerErrorDomain: Swift.String + public static let errorMessageKey: Swift.String + public static let hintKey: Swift.String + public static let cardErrorCodeKey: Swift.String + public static let errorParameterKey: Swift.String + public static let stripeErrorCodeKey: Swift.String + public static let stripeErrorTypeKey: Swift.String + public static let stripeDeclineCodeKey: Swift.String + @objc deinit +} +extension NSError { + public static func stp_error(fromStripeResponse jsonDictionary: [Swift.AnyHashable : Any]?) -> Foundation.NSError? +} +public enum STPCardErrorCode : Swift.String { + case invalidNumber + case invalidExpMonth + case invalidExpYear + case invalidCVC + case incorrectNumber + case expiredCard + case cardDeclined + case incorrectCVC + case processingError + case incorrectZip + public typealias RawValue = Swift.String + public init?(rawValue: Swift.String) + public var rawValue: Swift.String { + get + } +} +@objc extension STPError { + @objc public static let invalidNumber: Swift.String + @objc public static let invalidExpMonth: Swift.String + @objc public static let invalidExpYear: Swift.String + @objc public static let invalidCVC: Swift.String + @objc public static let incorrectNumber: Swift.String + @objc public static let expiredCard: Swift.String + @objc public static let cardDeclined: Swift.String + @objc public static let processingError: Swift.String + @objc public static let incorrectCVC: Swift.String + @objc public static let incorrectZip: Swift.String +} +public class STPAppInfo { + public init(name: Swift.String, partnerId: Swift.String?, version: Swift.String?, url: Swift.String?) + public var name: Swift.String { + get + } + public var partnerId: Swift.String? { + get + } + public var version: Swift.String? { + get + } + public var url: Swift.String? { + get + } + @objc deinit +} +public class STPAPIClient { + public static let STPSDKVersion: Swift.String + public static let shared: StripeCore.STPAPIClient + public var publishableKey: Swift.String? { + get + set + } + public var stripeAccount: Swift.String? + public var appInfo: StripeCore.STPAppInfo? + public static let apiVersion: Swift.String + public init() + convenience public init(publishableKey: Swift.String) + @objc deinit +} +extension StripeCore.STPErrorCode : Swift.Equatable {} +extension StripeCore.STPErrorCode : Swift.Hashable {} +extension StripeCore.STPErrorCode : Swift.RawRepresentable {} +extension StripeCore.STPCardErrorCode : Swift.Equatable {} +extension StripeCore.STPCardErrorCode : Swift.Hashable {} +extension StripeCore.STPCardErrorCode : Swift.RawRepresentable {} diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/Modules/module.modulemap b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/Modules/module.modulemap new file mode 100644 index 0000000..70fbf1f --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module StripeCore { + umbrella header "StripeCore.h" + + export * + module * { export * } +} + +module StripeCore.Swift { + header "StripeCore-Swift.h" + requires objc +} diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/Project-Debug.xcconfig b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/Project-Debug.xcconfig new file mode 100644 index 0000000..893a71f --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/Project-Debug.xcconfig @@ -0,0 +1,41 @@ +// +// Project-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Project-Shared.xcconfig" + + +// Strip Debug Symbols During Copy +// +// Activating this setting causes binary files which are copied during the build (e.g., +// in a Copy Bundle Resources or Copy Files build phase) to be stripped of debugging +// symbols. It does not cause the linked product of a target to be stripped (use Strip +// Linked Product for that). + +COPY_PHASE_STRIP = NO + + +GCC_DYNAMIC_NO_PIC = NO + + +GCC_OPTIMIZATION_LEVEL = 0 + + +STP_EXTRA_PREPROCESSOR_MACROS= +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 STRIPE_UNIT_TESTS_ENABLED $(inherited) $(STP_EXTRA_PREPROCESSOR_MACROS) + + +GCC_SYMBOLS_PRIVATE_EXTERN = NO + + +// Build Active Architecture Only +// +// When checked, only the active architecture is built for faster debugging turnaround + +ONLY_ACTIVE_ARCH = YES + + +ENABLE_TESTABILITY = YES diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/Project-Release.xcconfig b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/Project-Release.xcconfig new file mode 100644 index 0000000..7ee2591 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/Project-Release.xcconfig @@ -0,0 +1,33 @@ +// +// Project-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Project-Shared.xcconfig" + + +// Strip Debug Symbols During Copy +// +// Activating this setting causes binary files which are copied during the build (e.g., +// in a Copy Bundle Resources or Copy Files build phase) to be stripped of debugging +// symbols. It does not cause the linked product of a target to be stripped (use Strip +// Linked Product for that). + +COPY_PHASE_STRIP = YES + + +ENABLE_NS_ASSERTIONS = NO + +STP_EXTRA_PREPROCESSOR_MACROS= +GCC_PREPROCESSOR_DEFINITIONS = NDEBUG $(STP_EXTRA_PREPROCESSOR_MACROS) + + +// Validate Built Product +// +// Activating this setting will cause Xcode to perform validation checks on the product +// as part of the build process. + +VALIDATE_PRODUCT = YES + diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/Project-Shared.xcconfig b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/Project-Shared.xcconfig new file mode 100644 index 0000000..3c97646 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/Project-Shared.xcconfig @@ -0,0 +1,169 @@ +// +// Project-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +// Always Search User Paths +// +// If enabled both #include -style and #include "header.h"-style directives +// will search the paths in "User Header Search Paths" before "Header Search Paths", with +// the consequence that user headers (such as your own String.h header) would have +// precedence over system headers when using #include . This is done using the +// -iquote flag for the paths provided in "User Header Search Paths". If disabled and +// your compiler fully supports separate user paths, user headers will only be accessible +// with #include "header.h"-style preprocessor directives. +// +// For backwards compatibility reasons, this setting is enabled by default, but disabling +// it is strongly recommended. + +ALWAYS_SEARCH_USER_PATHS = NO + + +CLANG_ENABLE_CODE_COVERAGE = NO + + +CLANG_ENABLE_OBJC_ARC = YES + + +CLANG_WARN__DUPLICATE_METHOD_MATCH = YES + + +CLANG_WARN_BOOL_CONVERSION = YES + + +CLANG_WARN_CONSTANT_CONVERSION = YES + + +CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES + + +CLANG_WARN_EMPTY_BODY = YES + + +CLANG_WARN_ENUM_CONVERSION = YES + + +CLANG_WARN_INT_CONVERSION = YES + + +CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES + + +CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES + + +CLANG_WARN_UNREACHABLE_CODE = YES + + +CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + + +CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + +// Default value is YES_NONAGGRESSIVE. YES is "Yes, Aggressive" in Xcode 9 UI +CLANG_ANALYZER_NONNULL = YES; + + +CLANG_WARN_INFINITE_RECURSION = YES; + + +CLANG_WARN_SUSPICIOUS_MOVE = YES; + + +ENABLE_STRICT_OBJC_MSGSEND = YES + + +GCC_C_LANGUAGE_STANDARD = gnu99 + + +CLANG_WARN_STRICT_PROTOTYPES = YES + + +CLANG_WARN_RANGE_LOOP_ANALYSIS = YES + + +CLANG_WARN_COMMA = YES + + +CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES + + +// Compiler for C/C++/Objective-C +// +// The compiler to use for C, C++, and Objective-C. + +GCC_VERSION = com.apple.compilers.llvm.clang.1_0 + + +GCC_WARN_64_TO_32_BIT_CONVERSION = YES + + +GCC_WARN_ABOUT_MISSING_NEWLINE = YES + + +GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES + + +GCC_WARN_SIGN_COMPARE = YES + + +GCC_WARN_UNDECLARED_SELECTOR = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES + + +GCC_WARN_UNUSED_FUNCTION = YES + + +GCC_WARN_UNUSED_VARIABLE = YES + + +GCC_NO_COMMON_BLOCKS = YES; + +// Precompiled Header Uses Files From Build Directory +// +// This setting allows for better control of sharing precompiled prefix header files +// between projects. By default, Xcode assumes that the prefix header file may include +// header files from the build directory if the build directory is outside of the project +// directory. (Xcode cannot determine this ahead of time since other projects may not +// have been built into the shared build directory at the time the information is +// needed.) +// +// If your prefix file never includes files from the build directory you may set this to +// "NO" to improve sharing of precompiled headers. If the prefix does use files from a +// build directory which is inside your project directory, you may set this to "YES" to +// avoid unintended sharing that may result in build failures. + +PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = NO + + +// Base SDK +// +// The name or path of the base SDK being used during the build. The product will be +// built against the headers and libraries located inside the indicated SDK. This path +// will be prepended to all search paths, and will be passed through the environment to +// the compiler and linker. Additional SDKs can be specified in the ADDITIONAL_SDKS +// setting. + +SDKROOT = iphoneos + + +WARNING_CFLAGS = -Wall -Wextra -Wundef -Wfloat-equal + +// iOS Deployment Target +// +// Code will load on this and later versions of iOS. Framework APIs that are unavailable +// in earlier versions will be weak-linked; your code should check for null function +// pointers or specific system versions before calling newer APIs. +// + +IPHONEOS_DEPLOYMENT_TARGET = 11.0 + +APPLICATION_EXTENSION_API_ONLY = NO diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/StripeCore b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/StripeCore new file mode 100755 index 0000000..13ee6a5 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/StripeCore differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/StripeiOS Tests-Debug.xcconfig b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/StripeiOS Tests-Debug.xcconfig new file mode 100644 index 0000000..d969b04 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/StripeiOS Tests-Debug.xcconfig @@ -0,0 +1,13 @@ +// +// StripeiOS Tests-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +#include "StripeiOS Tests-Shared.xcconfig" + +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited) +DEBUG_INFORMATION_FORMAT = dwarf +SWIFT_ACTIVE_COMPILATION_CONDITIONS[arch=*] = DEBUG $(inherited) diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/StripeiOS Tests-Release.xcconfig b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/StripeiOS Tests-Release.xcconfig new file mode 100644 index 0000000..3b92cfd --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/StripeiOS Tests-Release.xcconfig @@ -0,0 +1,12 @@ +// +// StripeiOS Tests-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS Tests-Shared.xcconfig" + +//********************************************// +//* Currently no build settings in this file *// +//********************************************// diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/StripeiOS Tests-Shared.xcconfig b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/StripeiOS Tests-Shared.xcconfig new file mode 100644 index 0000000..3078777 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/StripeiOS Tests-Shared.xcconfig @@ -0,0 +1,89 @@ +// +// StripeiOS Tests-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +CLANG_CXX_LANGUAGE_STANDARD = gnu++0x + + +CLANG_CXX_LIBRARY = libc++ + + +CLANG_ENABLE_MODULES = YES + + +CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR + + +CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR + + +// Code Signing Identity +// +// The name ("common name") of a valid code-signing certificate in a keychain within your +// keychain path. A missing or invalid certificate will cause a build error. + +CODE_SIGN_IDENTITY = iPhone Developer + + +// Framework Search Paths +// +// This is a list of paths to folders containing frameworks to be searched by the +// compiler for both included or imported header files when compiling C, Objective-C, +// C++, or Objective-C++, and by the linker for frameworks used by the product. Paths are +// delimited by whitespace, so any paths with spaces in them need to be properly quoted. +// [-F] + +FRAMEWORK_SEARCH_PATHS = $(inherited) $(PROJECT_DIR)/Carthage/Build/iOS + +GCC_TREAT_WARNINGS_AS_ERRORS = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR + + +GCC_WARN_SHADOW = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE + +CLANG_WARN_ASSIGN_ENUM = YES +//CLANG_WARN_DOCUMENTATION_COMMENTS = YES not enabled because of errors in FBSnapshotTestCase headers +CLANG_WARN_INFINITE_RECURSION = YES +CLANG_WARN_SUSPICIOUS_MOVE = YES +GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES +GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES +GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES +GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES +GCC_WARN_UNKNOWN_PRAGMAS = YES +GCC_WARN_UNUSED_LABEL = YES +GCC_WARN_UNUSED_PARAMETER = YES + + +// Header Search Paths +// +// This is a list of paths to folders to be searched by the compiler for included or +// imported header files when compiling C, Objective-C, C++, or Objective-C++. Paths are +// delimited by whitespace, so any paths with spaces in them need to be properly quoted. +// [-I] + +HEADER_SEARCH_PATHS = $(inherited) + + +// Runpath Search Paths +// +// This is a list of paths to be added to the runpath search path list for the image +// being created. At runtime, dyld uses the runpath when searching for dylibs whose load +// path begins with '@rpath/'. [-rpath] + +LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @loader_path/Frameworks + + +OTHER_CFLAGS = + +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES + +LIBRARY_SEARCH_PATHS = $(inherited) diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/StripeiOS-Debug.xcconfig b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/StripeiOS-Debug.xcconfig new file mode 100644 index 0000000..99304b4 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/StripeiOS-Debug.xcconfig @@ -0,0 +1,12 @@ +// +// StripeiOS-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS-Shared.xcconfig" + + +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited) +SWIFT_ACTIVE_COMPILATION_CONDITIONS[arch=*] = DEBUG $(inherited) diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/StripeiOS-Release.xcconfig b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/StripeiOS-Release.xcconfig new file mode 100644 index 0000000..3d79290 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/StripeiOS-Release.xcconfig @@ -0,0 +1,10 @@ +// +// StripeiOS-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS-Shared.xcconfig" + +APPLICATION_EXTENSION_API_ONLY = NO diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/StripeiOS-Shared.xcconfig b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/StripeiOS-Shared.xcconfig new file mode 100644 index 0000000..b274c8d --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/StripeiOS-Shared.xcconfig @@ -0,0 +1,159 @@ +// +// StripeiOS-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Version.xcconfig" + +APPLICATION_EXTENSION_API_ONLY = YES + +CLANG_CXX_LANGUAGE_STANDARD = gnu++0x + + +CLANG_CXX_LIBRARY = libc++ + + +CLANG_ENABLE_MODULES = YES + + +CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR + + +CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR + +CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES +CLANG_WARN_INFINITE_RECURSION = YES +CLANG_WARN_SUSPICIOUS_MOVE = YES +CLANG_WARN_ASSIGN_ENUM = YES +CLANG_WARN_DOCUMENTATION_COMMENTS = YES +CLANG_WARN_UNGUARDED_AVAILABILITY = YES + +// Code Signing Identity +// +// The name ("common name") of a valid code-signing certificate in a keychain within your +// keychain path. A missing or invalid certificate will cause a build error. + +CODE_SIGN_IDENTITY[sdk=iphoneos*] = + +// Defines Module +// +// If enabled, the product will be treated as defining its own module. This enables +// automatic production of LLVM module map files when appropriate, and allows the product +// to be imported as a module. + +DEFINES_MODULE = YES + + +// Compatibility Version +// +// Determines the compatibility version of the resulting library, bundle, or framework +// binary. + +DYLIB_COMPATIBILITY_VERSION = 1 + + +// Current Library Version +// +// This setting defines the the current version of any framework built by the project. +// Like "Current Project Version", the value must be an integer or floating point number +// like 57 or 365.8. By default it is set to $(CURRENT_PROJECT_VERSION). + +DYLIB_CURRENT_VERSION = 1 + + +// Dynamic Library Install Name Base +// +// Sets the base value for the internal "install path" (LC_ID_DYLIB) in a dynamic +// library. This will be combined with the EXECUTABLE_PATH to form the full install path. +// Setting LD_DYLIB_INSTALL_NAME directly will override this setting. This setting +// defaults to the target's INSTALL_PATH. It is ignored when building any product other +// than a dynamic library. [-install_name] + +DYLIB_INSTALL_NAME_BASE = @rpath + + +GCC_TREAT_WARNINGS_AS_ERRORS = YES +SWIFT_TREAT_WARNINGS_AS_ERRORS = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR + + +GCC_WARN_SHADOW = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE + +GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES +GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES +GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES +GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES +GCC_WARN_UNKNOWN_PRAGMAS = YES +GCC_WARN_UNUSED_LABEL = YES +GCC_WARN_UNUSED_PARAMETER = YES + + +// Installation Directory +// +// The directory to install the build products in. This path is prepended by the +// 'Installation Build Products Location' (i.e., $(DSTROOT)). + +INSTALL_PATH = $(LOCAL_LIBRARY_DIR)/Frameworks + + +// Runpath Search Paths +// +// This is a list of paths to be added to the runpath search path list for the image +// being created. At runtime, dyld uses the runpath when searching for dylibs whose load +// path begins with '@rpath/'. [-rpath] + +LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @loader_path/Frameworks + + +// Skip Install +// +// Activating this setting when deployment locations are used causes the product to be +// built into an alternative location instead of the install location. + +SKIP_INSTALL = YES + + +// Targeted Device Family +// +// The build system uses the selected device to set the correct value for the +// UIDeviceFamily key it adds to the target's Info.plist file. +// +// iPhone - Application is built for iPhone and iPod touch. +// iPad - Application is built for iPad. +// iPhone/iPad - Application is built Universal for iPhone, iPod touch, and iPad. + +TARGETED_DEVICE_FAMILY = 1,2 + + +// Versioning Name Prefix +// +// Used as a prefix for the name of the version info symbol in the generated versioning +// source file. If you prefix your exported symbols you will probably want to set this +// to the same prefix. + +VERSION_INFO_PREFIX = + + +// Versioning System +// +// Selects the process used for version-stamping generated files. +// +// None - Use no versioning system. [] +// Apple Generic - Use the current project version setting. [apple-generic] + +VERSIONING_SYSTEM = apple-generic + +FRAMEWORK_SEARCH_PATHS = $(inherited) +HEADER_SEARCH_PATHS = $(inherited) + +LIBRARY_SEARCH_PATHS = $(inherited) $(CONFIGURATION_BUILD_DIR) + +// Generate .swiftinterface files +BUILD_LIBRARY_FOR_DISTRIBUTION = YES diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/Version.xcconfig b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/Version.xcconfig new file mode 100644 index 0000000..385e5d1 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/Version.xcconfig @@ -0,0 +1,9 @@ +// +// Version.xcconfig +// +// This file was generated by update_version.sh +// Do not edit this file directly. +// Instead, edit the `VERSION` file and run `ci_scripts/update_version.sh` +// + +CURRENT_PROJECT_VERSION=21.12.0 diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/bg-BG.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/bg-BG.lproj/Localizable.strings new file mode 100644 index 0000000..31e1c2b Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/bg-BG.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/ca-ES.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/ca-ES.lproj/Localizable.strings new file mode 100644 index 0000000..4cb5f2b Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/ca-ES.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/cs-CZ.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/cs-CZ.lproj/Localizable.strings new file mode 100644 index 0000000..dc415f9 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/cs-CZ.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/da.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/da.lproj/Localizable.strings new file mode 100644 index 0000000..bafff5f Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/da.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/de.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/de.lproj/Localizable.strings new file mode 100644 index 0000000..fb51537 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/de.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/el-GR.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/el-GR.lproj/Localizable.strings new file mode 100644 index 0000000..254404a Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/el-GR.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/en-GB.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/en-GB.lproj/Localizable.strings new file mode 100644 index 0000000..f0d1627 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/en-GB.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/en.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/en.lproj/Localizable.strings new file mode 100644 index 0000000..e1fcc11 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/en.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/es-419.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/es-419.lproj/Localizable.strings new file mode 100644 index 0000000..a94e775 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/es-419.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/es.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/es.lproj/Localizable.strings new file mode 100644 index 0000000..a934231 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/es.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/et-EE.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/et-EE.lproj/Localizable.strings new file mode 100644 index 0000000..7fedf37 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/et-EE.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/fi.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/fi.lproj/Localizable.strings new file mode 100644 index 0000000..b07a445 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/fi.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/fil.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/fil.lproj/Localizable.strings new file mode 100644 index 0000000..61d8201 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/fil.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/fr-CA.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/fr-CA.lproj/Localizable.strings new file mode 100644 index 0000000..68b5506 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/fr-CA.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/fr.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/fr.lproj/Localizable.strings new file mode 100644 index 0000000..e18c627 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/fr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/hr.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/hr.lproj/Localizable.strings new file mode 100644 index 0000000..fb69c87 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/hr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/hu.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/hu.lproj/Localizable.strings new file mode 100644 index 0000000..da4f072 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/hu.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/id.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/id.lproj/Localizable.strings new file mode 100644 index 0000000..01f7bc7 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/id.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/it.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/it.lproj/Localizable.strings new file mode 100644 index 0000000..755fdfb Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/it.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/ja.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/ja.lproj/Localizable.strings new file mode 100644 index 0000000..e1ec960 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/ja.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/ko.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/ko.lproj/Localizable.strings new file mode 100644 index 0000000..d3af490 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/ko.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/lt-LT.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/lt-LT.lproj/Localizable.strings new file mode 100644 index 0000000..9c784c1 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/lt-LT.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/lv-LV.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/lv-LV.lproj/Localizable.strings new file mode 100644 index 0000000..0dedf92 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/lv-LV.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/ms-MY.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/ms-MY.lproj/Localizable.strings new file mode 100644 index 0000000..b3bfac2 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/ms-MY.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/mt.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/mt.lproj/Localizable.strings new file mode 100644 index 0000000..d7ba8ce Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/mt.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/nb.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/nb.lproj/Localizable.strings new file mode 100644 index 0000000..095f618 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/nb.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/nl.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/nl.lproj/Localizable.strings new file mode 100644 index 0000000..051e6fb Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/nl.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/nn-NO.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/nn-NO.lproj/Localizable.strings new file mode 100644 index 0000000..4b828d3 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/nn-NO.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/pl-PL.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/pl-PL.lproj/Localizable.strings new file mode 100644 index 0000000..685be9c Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/pl-PL.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/pt-BR.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/pt-BR.lproj/Localizable.strings new file mode 100644 index 0000000..511c39a Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/pt-BR.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/pt-PT.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/pt-PT.lproj/Localizable.strings new file mode 100644 index 0000000..1699d80 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/pt-PT.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/ro-RO.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/ro-RO.lproj/Localizable.strings new file mode 100644 index 0000000..58b6865 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/ro-RO.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/ru.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/ru.lproj/Localizable.strings new file mode 100644 index 0000000..dee34b0 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/ru.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/sk-SK.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/sk-SK.lproj/Localizable.strings new file mode 100644 index 0000000..e90afab Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/sk-SK.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/sl-SI.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/sl-SI.lproj/Localizable.strings new file mode 100644 index 0000000..b0ab2f2 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/sl-SI.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/sv.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/sv.lproj/Localizable.strings new file mode 100644 index 0000000..4fefda8 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/sv.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/tk.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/tk.lproj/Localizable.strings new file mode 100644 index 0000000..c41aa8d Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/tk.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/tr.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/tr.lproj/Localizable.strings new file mode 100644 index 0000000..8b7808c Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/tr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/vi.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/vi.lproj/Localizable.strings new file mode 100644 index 0000000..f1bc1b2 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/vi.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/zh-HK.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/zh-HK.lproj/Localizable.strings new file mode 100644 index 0000000..83727de Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/zh-HK.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/zh-Hans.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/zh-Hans.lproj/Localizable.strings new file mode 100644 index 0000000..275e41d Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/zh-Hans.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/zh-Hant.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/zh-Hant.lproj/Localizable.strings new file mode 100644 index 0000000..8252bf0 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64/StripeCore.framework/zh-Hant.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Headers b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Headers new file mode 120000 index 0000000..a177d2a --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Modules b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Modules new file mode 120000 index 0000000..5736f31 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Resources b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Resources new file mode 120000 index 0000000..953ee36 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/StripeCore b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/StripeCore new file mode 120000 index 0000000..5c07288 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/StripeCore @@ -0,0 +1 @@ +Versions/Current/StripeCore \ No newline at end of file diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Headers/StripeCore-Swift.h b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Headers/StripeCore-Swift.h new file mode 100644 index 0000000..9925548 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Headers/StripeCore-Swift.h @@ -0,0 +1,568 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +#ifndef STRIPECORE_SWIFT_H +#define STRIPECORE_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# 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 +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import Foundation; +@import ObjectiveC; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="StripeCore",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + + + + + + +@interface NSError (SWIFT_EXTENSION(StripeCore)) ++ (NSError * _Nonnull)stp_genericConnectionError SWIFT_WARN_UNUSED_RESULT; ++ (NSError * _Nonnull)stp_genericFailedToParseResponseError SWIFT_WARN_UNUSED_RESULT; ++ (NSError * _Nonnull)stp_ephemeralKeyDecodingError SWIFT_WARN_UNUSED_RESULT; ++ (NSError * _Nonnull)stp_clientSecretError SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nonnull)stp_cardErrorInvalidNumberUserMessage SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nonnull)stp_cardInvalidCVCUserMessage SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nonnull)stp_cardErrorInvalidExpMonthUserMessage SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nonnull)stp_cardErrorInvalidExpYearUserMessage SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nonnull)stp_cardErrorExpiredCardUserMessage SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nonnull)stp_cardErrorDeclinedUserMessage SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nonnull)stp_cardErrorProcessingErrorUserMessage SWIFT_WARN_UNUSED_RESULT; +@end + + + + +SWIFT_CLASS("_TtC10StripeCore18STPAnalyticsClient") +@interface STPAnalyticsClient : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPAnalyticsClient * _Nonnull sharedClient;) ++ (STPAnalyticsClient * _Nonnull)sharedClient SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, copy) NSSet * _Nonnull productUsage; ++ (NSString * _Nullable)tokenTypeFromParameters:(NSDictionary * _Nonnull)parameters SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + +SWIFT_CLASS("_TtC10StripeCore25STPNumericStringValidator") +@interface STPNumericStringValidator : NSObject +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@protocol STPURLCallbackListener; + +/// :nodoc: +SWIFT_CLASS("_TtC10StripeCore21STPURLCallbackHandler") +@interface STPURLCallbackHandler : NSObject +/// :nodoc: ++ (STPURLCallbackHandler * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (BOOL)handleURLCallback:(NSURL * _Nonnull)url; +/// :nodoc: +- (void)registerListener:(id _Nonnull)listener forURL:(NSURL * _Nonnull)url; +/// :nodoc: +- (void)unregisterListener:(id _Nonnull)listener; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// :nodoc: +SWIFT_PROTOCOL("_TtP10StripeCore22STPURLCallbackListener_") +@protocol STPURLCallbackListener +/// :nodoc: +- (BOOL)handleURLCallback:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; +@end + + + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +#ifndef STRIPECORE_SWIFT_H +#define STRIPECORE_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# 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 +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import Foundation; +@import ObjectiveC; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="StripeCore",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + + + + + + +@interface NSError (SWIFT_EXTENSION(StripeCore)) ++ (NSError * _Nonnull)stp_genericConnectionError SWIFT_WARN_UNUSED_RESULT; ++ (NSError * _Nonnull)stp_genericFailedToParseResponseError SWIFT_WARN_UNUSED_RESULT; ++ (NSError * _Nonnull)stp_ephemeralKeyDecodingError SWIFT_WARN_UNUSED_RESULT; ++ (NSError * _Nonnull)stp_clientSecretError SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nonnull)stp_cardErrorInvalidNumberUserMessage SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nonnull)stp_cardInvalidCVCUserMessage SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nonnull)stp_cardErrorInvalidExpMonthUserMessage SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nonnull)stp_cardErrorInvalidExpYearUserMessage SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nonnull)stp_cardErrorExpiredCardUserMessage SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nonnull)stp_cardErrorDeclinedUserMessage SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nonnull)stp_cardErrorProcessingErrorUserMessage SWIFT_WARN_UNUSED_RESULT; +@end + + + + +SWIFT_CLASS("_TtC10StripeCore18STPAnalyticsClient") +@interface STPAnalyticsClient : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPAnalyticsClient * _Nonnull sharedClient;) ++ (STPAnalyticsClient * _Nonnull)sharedClient SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, copy) NSSet * _Nonnull productUsage; ++ (NSString * _Nullable)tokenTypeFromParameters:(NSDictionary * _Nonnull)parameters SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + +SWIFT_CLASS("_TtC10StripeCore25STPNumericStringValidator") +@interface STPNumericStringValidator : NSObject +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@protocol STPURLCallbackListener; + +/// :nodoc: +SWIFT_CLASS("_TtC10StripeCore21STPURLCallbackHandler") +@interface STPURLCallbackHandler : NSObject +/// :nodoc: ++ (STPURLCallbackHandler * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (BOOL)handleURLCallback:(NSURL * _Nonnull)url; +/// :nodoc: +- (void)registerListener:(id _Nonnull)listener forURL:(NSURL * _Nonnull)url; +/// :nodoc: +- (void)unregisterListener:(id _Nonnull)listener; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// :nodoc: +SWIFT_PROTOCOL("_TtP10StripeCore22STPURLCallbackListener_") +@protocol STPURLCallbackListener +/// :nodoc: +- (BOOL)handleURLCallback:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; +@end + + + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Headers/StripeCore.h b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Headers/StripeCore.h new file mode 100644 index 0000000..55d5d20 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Headers/StripeCore.h @@ -0,0 +1,18 @@ +// +// StripeCore.h +// StripeCore +// +// Created by Mel Ludowise on 6/24/21. +// + +#import + +//! Project version number for StripeCore. +FOUNDATION_EXPORT double StripeCoreVersionNumber; + +//! Project version string for StripeCore. +FOUNDATION_EXPORT const unsigned char StripeCoreVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Modules/StripeCore.swiftmodule/arm64-apple-ios-macabi.swiftdoc b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Modules/StripeCore.swiftmodule/arm64-apple-ios-macabi.swiftdoc new file mode 100644 index 0000000..6fa5566 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Modules/StripeCore.swiftmodule/arm64-apple-ios-macabi.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Modules/StripeCore.swiftmodule/arm64-apple-ios-macabi.swiftinterface b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Modules/StripeCore.swiftmodule/arm64-apple-ios-macabi.swiftinterface new file mode 100644 index 0000000..93ce083 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Modules/StripeCore.swiftmodule/arm64-apple-ios-macabi.swiftinterface @@ -0,0 +1,173 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeCore +import Foundation +import PassKit +@_exported import StripeCore +import Swift +import UIKit +@_hasMissingDesignatedInitializers public class StripeAPI { + public static var defaultPublishableKey: Swift.String? + public func setDefaultPublishableKey(_ publishableKey: Swift.String) + public static var advancedFraudSignalsEnabled: Swift.Bool + public static var maxRetries: Swift.Int + public class var jcbPaymentNetworkSupported: Swift.Bool { + get + set(JCBPaymentNetworkSupported) + } + public static var additionalEnabledApplePayNetworks: [PassKit.PKPaymentNetwork] + public class func canSubmitPaymentRequest(_ paymentRequest: PassKit.PKPaymentRequest) -> Swift.Bool + public class func deviceSupportsApplePay() -> Swift.Bool + public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String, country countryCode: Swift.String, currency currencyCode: Swift.String) -> PassKit.PKPaymentRequest + @discardableResult + public static func handleURLCallback(with url: Foundation.URL) -> Swift.Bool + @objc deinit +} +public protocol StripeDecodable : Swift.Decodable { + var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? { get set } +} +public protocol StripeEncodable : Swift.Encodable { + var _additionalParametersStorage: StripeCore.NonEncodableParameters? { get set } +} +public protocol StripeEnumCodable : Swift.Decodable, Swift.Encodable { + static var unparsable: Self { get } +} +extension StripeDecodable { + public var allResponseFields: [Swift.String : Any] { + get + } +} +extension StripeEncodable { + public var additionalParameters: [Swift.String : Any] { + get + set + } +} +public protocol StripeCodable : StripeCore.StripeDecodable, StripeCore.StripeEncodable { +} +@propertyWrapper public struct IncludeUnknownFields { + public var wrappedValue: T? + public init(wrappedValue: T?) +} +extension IncludeUnknownFields : Swift.Encodable where T : StripeCore.StripeEncodable { + public func encode(to encoder: Swift.Encoder) throws +} +extension IncludeUnknownFields : Swift.Decodable where T : StripeCore.StripeDecodable { + public init(from decoder: Swift.Decoder) throws +} +public struct NonEncodableParameters { +} +extension NonEncodableParameters : Swift.Decodable { + public init(from decoder: Swift.Decoder) throws +} +extension NonEncodableParameters : Swift.Encodable { + public func encode(to encoder: Swift.Encoder) throws +} +extension NonEncodableParameters : Swift.Equatable { + public static func == (lhs: StripeCore.NonEncodableParameters, rhs: StripeCore.NonEncodableParameters) -> Swift.Bool +} +extension NonEncodableParameters : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible, Swift.CustomLeafReflectable { + public var customMirror: Swift.Mirror { + get + } + public var debugDescription: Swift.String { + get + } + public var description: Swift.String { + get + } +} +public enum STPErrorCode : Swift.Int { + case connectionError + case invalidRequestError + case authenticationError + case apiError + case cardError + case cancellationError + case ephemeralKeyDecodingError + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers public class STPError { + public static let stripeDomain: Swift.String + @objc public static let STPPaymentHandlerErrorDomain: Swift.String + public static let errorMessageKey: Swift.String + public static let hintKey: Swift.String + public static let cardErrorCodeKey: Swift.String + public static let errorParameterKey: Swift.String + public static let stripeErrorCodeKey: Swift.String + public static let stripeErrorTypeKey: Swift.String + public static let stripeDeclineCodeKey: Swift.String + @objc deinit +} +extension NSError { + public static func stp_error(fromStripeResponse jsonDictionary: [Swift.AnyHashable : Any]?) -> Foundation.NSError? +} +public enum STPCardErrorCode : Swift.String { + case invalidNumber + case invalidExpMonth + case invalidExpYear + case invalidCVC + case incorrectNumber + case expiredCard + case cardDeclined + case incorrectCVC + case processingError + case incorrectZip + public typealias RawValue = Swift.String + public init?(rawValue: Swift.String) + public var rawValue: Swift.String { + get + } +} +@objc extension STPError { + @objc public static let invalidNumber: Swift.String + @objc public static let invalidExpMonth: Swift.String + @objc public static let invalidExpYear: Swift.String + @objc public static let invalidCVC: Swift.String + @objc public static let incorrectNumber: Swift.String + @objc public static let expiredCard: Swift.String + @objc public static let cardDeclined: Swift.String + @objc public static let processingError: Swift.String + @objc public static let incorrectCVC: Swift.String + @objc public static let incorrectZip: Swift.String +} +public class STPAppInfo { + public init(name: Swift.String, partnerId: Swift.String?, version: Swift.String?, url: Swift.String?) + public var name: Swift.String { + get + } + public var partnerId: Swift.String? { + get + } + public var version: Swift.String? { + get + } + public var url: Swift.String? { + get + } + @objc deinit +} +public class STPAPIClient { + public static let STPSDKVersion: Swift.String + public static let shared: StripeCore.STPAPIClient + public var publishableKey: Swift.String? { + get + set + } + public var stripeAccount: Swift.String? + public var appInfo: StripeCore.STPAppInfo? + public static let apiVersion: Swift.String + public init() + convenience public init(publishableKey: Swift.String) + @objc deinit +} +extension StripeCore.STPErrorCode : Swift.Equatable {} +extension StripeCore.STPErrorCode : Swift.Hashable {} +extension StripeCore.STPErrorCode : Swift.RawRepresentable {} +extension StripeCore.STPCardErrorCode : Swift.Equatable {} +extension StripeCore.STPCardErrorCode : Swift.Hashable {} +extension StripeCore.STPCardErrorCode : Swift.RawRepresentable {} diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Modules/StripeCore.swiftmodule/arm64.swiftdoc b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Modules/StripeCore.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..6fa5566 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Modules/StripeCore.swiftmodule/arm64.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Modules/StripeCore.swiftmodule/arm64.swiftinterface b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Modules/StripeCore.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..93ce083 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Modules/StripeCore.swiftmodule/arm64.swiftinterface @@ -0,0 +1,173 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeCore +import Foundation +import PassKit +@_exported import StripeCore +import Swift +import UIKit +@_hasMissingDesignatedInitializers public class StripeAPI { + public static var defaultPublishableKey: Swift.String? + public func setDefaultPublishableKey(_ publishableKey: Swift.String) + public static var advancedFraudSignalsEnabled: Swift.Bool + public static var maxRetries: Swift.Int + public class var jcbPaymentNetworkSupported: Swift.Bool { + get + set(JCBPaymentNetworkSupported) + } + public static var additionalEnabledApplePayNetworks: [PassKit.PKPaymentNetwork] + public class func canSubmitPaymentRequest(_ paymentRequest: PassKit.PKPaymentRequest) -> Swift.Bool + public class func deviceSupportsApplePay() -> Swift.Bool + public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String, country countryCode: Swift.String, currency currencyCode: Swift.String) -> PassKit.PKPaymentRequest + @discardableResult + public static func handleURLCallback(with url: Foundation.URL) -> Swift.Bool + @objc deinit +} +public protocol StripeDecodable : Swift.Decodable { + var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? { get set } +} +public protocol StripeEncodable : Swift.Encodable { + var _additionalParametersStorage: StripeCore.NonEncodableParameters? { get set } +} +public protocol StripeEnumCodable : Swift.Decodable, Swift.Encodable { + static var unparsable: Self { get } +} +extension StripeDecodable { + public var allResponseFields: [Swift.String : Any] { + get + } +} +extension StripeEncodable { + public var additionalParameters: [Swift.String : Any] { + get + set + } +} +public protocol StripeCodable : StripeCore.StripeDecodable, StripeCore.StripeEncodable { +} +@propertyWrapper public struct IncludeUnknownFields { + public var wrappedValue: T? + public init(wrappedValue: T?) +} +extension IncludeUnknownFields : Swift.Encodable where T : StripeCore.StripeEncodable { + public func encode(to encoder: Swift.Encoder) throws +} +extension IncludeUnknownFields : Swift.Decodable where T : StripeCore.StripeDecodable { + public init(from decoder: Swift.Decoder) throws +} +public struct NonEncodableParameters { +} +extension NonEncodableParameters : Swift.Decodable { + public init(from decoder: Swift.Decoder) throws +} +extension NonEncodableParameters : Swift.Encodable { + public func encode(to encoder: Swift.Encoder) throws +} +extension NonEncodableParameters : Swift.Equatable { + public static func == (lhs: StripeCore.NonEncodableParameters, rhs: StripeCore.NonEncodableParameters) -> Swift.Bool +} +extension NonEncodableParameters : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible, Swift.CustomLeafReflectable { + public var customMirror: Swift.Mirror { + get + } + public var debugDescription: Swift.String { + get + } + public var description: Swift.String { + get + } +} +public enum STPErrorCode : Swift.Int { + case connectionError + case invalidRequestError + case authenticationError + case apiError + case cardError + case cancellationError + case ephemeralKeyDecodingError + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers public class STPError { + public static let stripeDomain: Swift.String + @objc public static let STPPaymentHandlerErrorDomain: Swift.String + public static let errorMessageKey: Swift.String + public static let hintKey: Swift.String + public static let cardErrorCodeKey: Swift.String + public static let errorParameterKey: Swift.String + public static let stripeErrorCodeKey: Swift.String + public static let stripeErrorTypeKey: Swift.String + public static let stripeDeclineCodeKey: Swift.String + @objc deinit +} +extension NSError { + public static func stp_error(fromStripeResponse jsonDictionary: [Swift.AnyHashable : Any]?) -> Foundation.NSError? +} +public enum STPCardErrorCode : Swift.String { + case invalidNumber + case invalidExpMonth + case invalidExpYear + case invalidCVC + case incorrectNumber + case expiredCard + case cardDeclined + case incorrectCVC + case processingError + case incorrectZip + public typealias RawValue = Swift.String + public init?(rawValue: Swift.String) + public var rawValue: Swift.String { + get + } +} +@objc extension STPError { + @objc public static let invalidNumber: Swift.String + @objc public static let invalidExpMonth: Swift.String + @objc public static let invalidExpYear: Swift.String + @objc public static let invalidCVC: Swift.String + @objc public static let incorrectNumber: Swift.String + @objc public static let expiredCard: Swift.String + @objc public static let cardDeclined: Swift.String + @objc public static let processingError: Swift.String + @objc public static let incorrectCVC: Swift.String + @objc public static let incorrectZip: Swift.String +} +public class STPAppInfo { + public init(name: Swift.String, partnerId: Swift.String?, version: Swift.String?, url: Swift.String?) + public var name: Swift.String { + get + } + public var partnerId: Swift.String? { + get + } + public var version: Swift.String? { + get + } + public var url: Swift.String? { + get + } + @objc deinit +} +public class STPAPIClient { + public static let STPSDKVersion: Swift.String + public static let shared: StripeCore.STPAPIClient + public var publishableKey: Swift.String? { + get + set + } + public var stripeAccount: Swift.String? + public var appInfo: StripeCore.STPAppInfo? + public static let apiVersion: Swift.String + public init() + convenience public init(publishableKey: Swift.String) + @objc deinit +} +extension StripeCore.STPErrorCode : Swift.Equatable {} +extension StripeCore.STPErrorCode : Swift.Hashable {} +extension StripeCore.STPErrorCode : Swift.RawRepresentable {} +extension StripeCore.STPCardErrorCode : Swift.Equatable {} +extension StripeCore.STPCardErrorCode : Swift.Hashable {} +extension StripeCore.STPCardErrorCode : Swift.RawRepresentable {} diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Modules/StripeCore.swiftmodule/x86_64-apple-ios-macabi.swiftdoc b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Modules/StripeCore.swiftmodule/x86_64-apple-ios-macabi.swiftdoc new file mode 100644 index 0000000..7de9531 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Modules/StripeCore.swiftmodule/x86_64-apple-ios-macabi.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Modules/StripeCore.swiftmodule/x86_64-apple-ios-macabi.swiftinterface b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Modules/StripeCore.swiftmodule/x86_64-apple-ios-macabi.swiftinterface new file mode 100644 index 0000000..f402e00 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Modules/StripeCore.swiftmodule/x86_64-apple-ios-macabi.swiftinterface @@ -0,0 +1,173 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target x86_64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeCore +import Foundation +import PassKit +@_exported import StripeCore +import Swift +import UIKit +@_hasMissingDesignatedInitializers public class StripeAPI { + public static var defaultPublishableKey: Swift.String? + public func setDefaultPublishableKey(_ publishableKey: Swift.String) + public static var advancedFraudSignalsEnabled: Swift.Bool + public static var maxRetries: Swift.Int + public class var jcbPaymentNetworkSupported: Swift.Bool { + get + set(JCBPaymentNetworkSupported) + } + public static var additionalEnabledApplePayNetworks: [PassKit.PKPaymentNetwork] + public class func canSubmitPaymentRequest(_ paymentRequest: PassKit.PKPaymentRequest) -> Swift.Bool + public class func deviceSupportsApplePay() -> Swift.Bool + public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String, country countryCode: Swift.String, currency currencyCode: Swift.String) -> PassKit.PKPaymentRequest + @discardableResult + public static func handleURLCallback(with url: Foundation.URL) -> Swift.Bool + @objc deinit +} +public protocol StripeDecodable : Swift.Decodable { + var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? { get set } +} +public protocol StripeEncodable : Swift.Encodable { + var _additionalParametersStorage: StripeCore.NonEncodableParameters? { get set } +} +public protocol StripeEnumCodable : Swift.Decodable, Swift.Encodable { + static var unparsable: Self { get } +} +extension StripeDecodable { + public var allResponseFields: [Swift.String : Any] { + get + } +} +extension StripeEncodable { + public var additionalParameters: [Swift.String : Any] { + get + set + } +} +public protocol StripeCodable : StripeCore.StripeDecodable, StripeCore.StripeEncodable { +} +@propertyWrapper public struct IncludeUnknownFields { + public var wrappedValue: T? + public init(wrappedValue: T?) +} +extension IncludeUnknownFields : Swift.Encodable where T : StripeCore.StripeEncodable { + public func encode(to encoder: Swift.Encoder) throws +} +extension IncludeUnknownFields : Swift.Decodable where T : StripeCore.StripeDecodable { + public init(from decoder: Swift.Decoder) throws +} +public struct NonEncodableParameters { +} +extension NonEncodableParameters : Swift.Decodable { + public init(from decoder: Swift.Decoder) throws +} +extension NonEncodableParameters : Swift.Encodable { + public func encode(to encoder: Swift.Encoder) throws +} +extension NonEncodableParameters : Swift.Equatable { + public static func == (lhs: StripeCore.NonEncodableParameters, rhs: StripeCore.NonEncodableParameters) -> Swift.Bool +} +extension NonEncodableParameters : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible, Swift.CustomLeafReflectable { + public var customMirror: Swift.Mirror { + get + } + public var debugDescription: Swift.String { + get + } + public var description: Swift.String { + get + } +} +public enum STPErrorCode : Swift.Int { + case connectionError + case invalidRequestError + case authenticationError + case apiError + case cardError + case cancellationError + case ephemeralKeyDecodingError + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers public class STPError { + public static let stripeDomain: Swift.String + @objc public static let STPPaymentHandlerErrorDomain: Swift.String + public static let errorMessageKey: Swift.String + public static let hintKey: Swift.String + public static let cardErrorCodeKey: Swift.String + public static let errorParameterKey: Swift.String + public static let stripeErrorCodeKey: Swift.String + public static let stripeErrorTypeKey: Swift.String + public static let stripeDeclineCodeKey: Swift.String + @objc deinit +} +extension NSError { + public static func stp_error(fromStripeResponse jsonDictionary: [Swift.AnyHashable : Any]?) -> Foundation.NSError? +} +public enum STPCardErrorCode : Swift.String { + case invalidNumber + case invalidExpMonth + case invalidExpYear + case invalidCVC + case incorrectNumber + case expiredCard + case cardDeclined + case incorrectCVC + case processingError + case incorrectZip + public typealias RawValue = Swift.String + public init?(rawValue: Swift.String) + public var rawValue: Swift.String { + get + } +} +@objc extension STPError { + @objc public static let invalidNumber: Swift.String + @objc public static let invalidExpMonth: Swift.String + @objc public static let invalidExpYear: Swift.String + @objc public static let invalidCVC: Swift.String + @objc public static let incorrectNumber: Swift.String + @objc public static let expiredCard: Swift.String + @objc public static let cardDeclined: Swift.String + @objc public static let processingError: Swift.String + @objc public static let incorrectCVC: Swift.String + @objc public static let incorrectZip: Swift.String +} +public class STPAppInfo { + public init(name: Swift.String, partnerId: Swift.String?, version: Swift.String?, url: Swift.String?) + public var name: Swift.String { + get + } + public var partnerId: Swift.String? { + get + } + public var version: Swift.String? { + get + } + public var url: Swift.String? { + get + } + @objc deinit +} +public class STPAPIClient { + public static let STPSDKVersion: Swift.String + public static let shared: StripeCore.STPAPIClient + public var publishableKey: Swift.String? { + get + set + } + public var stripeAccount: Swift.String? + public var appInfo: StripeCore.STPAppInfo? + public static let apiVersion: Swift.String + public init() + convenience public init(publishableKey: Swift.String) + @objc deinit +} +extension StripeCore.STPErrorCode : Swift.Equatable {} +extension StripeCore.STPErrorCode : Swift.Hashable {} +extension StripeCore.STPErrorCode : Swift.RawRepresentable {} +extension StripeCore.STPCardErrorCode : Swift.Equatable {} +extension StripeCore.STPCardErrorCode : Swift.Hashable {} +extension StripeCore.STPCardErrorCode : Swift.RawRepresentable {} diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Modules/StripeCore.swiftmodule/x86_64.swiftdoc b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Modules/StripeCore.swiftmodule/x86_64.swiftdoc new file mode 100644 index 0000000..7de9531 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Modules/StripeCore.swiftmodule/x86_64.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Modules/StripeCore.swiftmodule/x86_64.swiftinterface b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Modules/StripeCore.swiftmodule/x86_64.swiftinterface new file mode 100644 index 0000000..f402e00 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Modules/StripeCore.swiftmodule/x86_64.swiftinterface @@ -0,0 +1,173 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target x86_64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeCore +import Foundation +import PassKit +@_exported import StripeCore +import Swift +import UIKit +@_hasMissingDesignatedInitializers public class StripeAPI { + public static var defaultPublishableKey: Swift.String? + public func setDefaultPublishableKey(_ publishableKey: Swift.String) + public static var advancedFraudSignalsEnabled: Swift.Bool + public static var maxRetries: Swift.Int + public class var jcbPaymentNetworkSupported: Swift.Bool { + get + set(JCBPaymentNetworkSupported) + } + public static var additionalEnabledApplePayNetworks: [PassKit.PKPaymentNetwork] + public class func canSubmitPaymentRequest(_ paymentRequest: PassKit.PKPaymentRequest) -> Swift.Bool + public class func deviceSupportsApplePay() -> Swift.Bool + public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String, country countryCode: Swift.String, currency currencyCode: Swift.String) -> PassKit.PKPaymentRequest + @discardableResult + public static func handleURLCallback(with url: Foundation.URL) -> Swift.Bool + @objc deinit +} +public protocol StripeDecodable : Swift.Decodable { + var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? { get set } +} +public protocol StripeEncodable : Swift.Encodable { + var _additionalParametersStorage: StripeCore.NonEncodableParameters? { get set } +} +public protocol StripeEnumCodable : Swift.Decodable, Swift.Encodable { + static var unparsable: Self { get } +} +extension StripeDecodable { + public var allResponseFields: [Swift.String : Any] { + get + } +} +extension StripeEncodable { + public var additionalParameters: [Swift.String : Any] { + get + set + } +} +public protocol StripeCodable : StripeCore.StripeDecodable, StripeCore.StripeEncodable { +} +@propertyWrapper public struct IncludeUnknownFields { + public var wrappedValue: T? + public init(wrappedValue: T?) +} +extension IncludeUnknownFields : Swift.Encodable where T : StripeCore.StripeEncodable { + public func encode(to encoder: Swift.Encoder) throws +} +extension IncludeUnknownFields : Swift.Decodable where T : StripeCore.StripeDecodable { + public init(from decoder: Swift.Decoder) throws +} +public struct NonEncodableParameters { +} +extension NonEncodableParameters : Swift.Decodable { + public init(from decoder: Swift.Decoder) throws +} +extension NonEncodableParameters : Swift.Encodable { + public func encode(to encoder: Swift.Encoder) throws +} +extension NonEncodableParameters : Swift.Equatable { + public static func == (lhs: StripeCore.NonEncodableParameters, rhs: StripeCore.NonEncodableParameters) -> Swift.Bool +} +extension NonEncodableParameters : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible, Swift.CustomLeafReflectable { + public var customMirror: Swift.Mirror { + get + } + public var debugDescription: Swift.String { + get + } + public var description: Swift.String { + get + } +} +public enum STPErrorCode : Swift.Int { + case connectionError + case invalidRequestError + case authenticationError + case apiError + case cardError + case cancellationError + case ephemeralKeyDecodingError + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers public class STPError { + public static let stripeDomain: Swift.String + @objc public static let STPPaymentHandlerErrorDomain: Swift.String + public static let errorMessageKey: Swift.String + public static let hintKey: Swift.String + public static let cardErrorCodeKey: Swift.String + public static let errorParameterKey: Swift.String + public static let stripeErrorCodeKey: Swift.String + public static let stripeErrorTypeKey: Swift.String + public static let stripeDeclineCodeKey: Swift.String + @objc deinit +} +extension NSError { + public static func stp_error(fromStripeResponse jsonDictionary: [Swift.AnyHashable : Any]?) -> Foundation.NSError? +} +public enum STPCardErrorCode : Swift.String { + case invalidNumber + case invalidExpMonth + case invalidExpYear + case invalidCVC + case incorrectNumber + case expiredCard + case cardDeclined + case incorrectCVC + case processingError + case incorrectZip + public typealias RawValue = Swift.String + public init?(rawValue: Swift.String) + public var rawValue: Swift.String { + get + } +} +@objc extension STPError { + @objc public static let invalidNumber: Swift.String + @objc public static let invalidExpMonth: Swift.String + @objc public static let invalidExpYear: Swift.String + @objc public static let invalidCVC: Swift.String + @objc public static let incorrectNumber: Swift.String + @objc public static let expiredCard: Swift.String + @objc public static let cardDeclined: Swift.String + @objc public static let processingError: Swift.String + @objc public static let incorrectCVC: Swift.String + @objc public static let incorrectZip: Swift.String +} +public class STPAppInfo { + public init(name: Swift.String, partnerId: Swift.String?, version: Swift.String?, url: Swift.String?) + public var name: Swift.String { + get + } + public var partnerId: Swift.String? { + get + } + public var version: Swift.String? { + get + } + public var url: Swift.String? { + get + } + @objc deinit +} +public class STPAPIClient { + public static let STPSDKVersion: Swift.String + public static let shared: StripeCore.STPAPIClient + public var publishableKey: Swift.String? { + get + set + } + public var stripeAccount: Swift.String? + public var appInfo: StripeCore.STPAppInfo? + public static let apiVersion: Swift.String + public init() + convenience public init(publishableKey: Swift.String) + @objc deinit +} +extension StripeCore.STPErrorCode : Swift.Equatable {} +extension StripeCore.STPErrorCode : Swift.Hashable {} +extension StripeCore.STPErrorCode : Swift.RawRepresentable {} +extension StripeCore.STPCardErrorCode : Swift.Equatable {} +extension StripeCore.STPCardErrorCode : Swift.Hashable {} +extension StripeCore.STPCardErrorCode : Swift.RawRepresentable {} diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Modules/module.modulemap b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 0000000..70fbf1f --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module StripeCore { + umbrella header "StripeCore.h" + + export * + module * { export * } +} + +module StripeCore.Swift { + header "StripeCore-Swift.h" + requires objc +} diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/Info.plist b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/Info.plist new file mode 100644 index 0000000..872a879 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,50 @@ + + + + + BuildMachineOSBuild + 20G165 + CFBundleDevelopmentRegion + en + CFBundleExecutable + StripeCore + CFBundleIdentifier + com.stripe.stripe-core + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + StripeCore + CFBundlePackageType + FMWK + CFBundleShortVersionString + 21.12.0 + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 21.12.0 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 12B45b + DTPlatformName + macosx + DTPlatformVersion + 11.0 + DTSDKBuild + 20A2408 + DTSDKName + macosx11.0 + DTXcode + 1220 + DTXcodeBuild + 12B45b + LSMinimumSystemVersion + 10.15 + UIDeviceFamily + + 2 + + + diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/Project-Debug.xcconfig b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/Project-Debug.xcconfig new file mode 100644 index 0000000..893a71f --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/Project-Debug.xcconfig @@ -0,0 +1,41 @@ +// +// Project-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Project-Shared.xcconfig" + + +// Strip Debug Symbols During Copy +// +// Activating this setting causes binary files which are copied during the build (e.g., +// in a Copy Bundle Resources or Copy Files build phase) to be stripped of debugging +// symbols. It does not cause the linked product of a target to be stripped (use Strip +// Linked Product for that). + +COPY_PHASE_STRIP = NO + + +GCC_DYNAMIC_NO_PIC = NO + + +GCC_OPTIMIZATION_LEVEL = 0 + + +STP_EXTRA_PREPROCESSOR_MACROS= +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 STRIPE_UNIT_TESTS_ENABLED $(inherited) $(STP_EXTRA_PREPROCESSOR_MACROS) + + +GCC_SYMBOLS_PRIVATE_EXTERN = NO + + +// Build Active Architecture Only +// +// When checked, only the active architecture is built for faster debugging turnaround + +ONLY_ACTIVE_ARCH = YES + + +ENABLE_TESTABILITY = YES diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/Project-Release.xcconfig b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/Project-Release.xcconfig new file mode 100644 index 0000000..7ee2591 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/Project-Release.xcconfig @@ -0,0 +1,33 @@ +// +// Project-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Project-Shared.xcconfig" + + +// Strip Debug Symbols During Copy +// +// Activating this setting causes binary files which are copied during the build (e.g., +// in a Copy Bundle Resources or Copy Files build phase) to be stripped of debugging +// symbols. It does not cause the linked product of a target to be stripped (use Strip +// Linked Product for that). + +COPY_PHASE_STRIP = YES + + +ENABLE_NS_ASSERTIONS = NO + +STP_EXTRA_PREPROCESSOR_MACROS= +GCC_PREPROCESSOR_DEFINITIONS = NDEBUG $(STP_EXTRA_PREPROCESSOR_MACROS) + + +// Validate Built Product +// +// Activating this setting will cause Xcode to perform validation checks on the product +// as part of the build process. + +VALIDATE_PRODUCT = YES + diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/Project-Shared.xcconfig b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/Project-Shared.xcconfig new file mode 100644 index 0000000..3c97646 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/Project-Shared.xcconfig @@ -0,0 +1,169 @@ +// +// Project-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +// Always Search User Paths +// +// If enabled both #include -style and #include "header.h"-style directives +// will search the paths in "User Header Search Paths" before "Header Search Paths", with +// the consequence that user headers (such as your own String.h header) would have +// precedence over system headers when using #include . This is done using the +// -iquote flag for the paths provided in "User Header Search Paths". If disabled and +// your compiler fully supports separate user paths, user headers will only be accessible +// with #include "header.h"-style preprocessor directives. +// +// For backwards compatibility reasons, this setting is enabled by default, but disabling +// it is strongly recommended. + +ALWAYS_SEARCH_USER_PATHS = NO + + +CLANG_ENABLE_CODE_COVERAGE = NO + + +CLANG_ENABLE_OBJC_ARC = YES + + +CLANG_WARN__DUPLICATE_METHOD_MATCH = YES + + +CLANG_WARN_BOOL_CONVERSION = YES + + +CLANG_WARN_CONSTANT_CONVERSION = YES + + +CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES + + +CLANG_WARN_EMPTY_BODY = YES + + +CLANG_WARN_ENUM_CONVERSION = YES + + +CLANG_WARN_INT_CONVERSION = YES + + +CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES + + +CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES + + +CLANG_WARN_UNREACHABLE_CODE = YES + + +CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + + +CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + +// Default value is YES_NONAGGRESSIVE. YES is "Yes, Aggressive" in Xcode 9 UI +CLANG_ANALYZER_NONNULL = YES; + + +CLANG_WARN_INFINITE_RECURSION = YES; + + +CLANG_WARN_SUSPICIOUS_MOVE = YES; + + +ENABLE_STRICT_OBJC_MSGSEND = YES + + +GCC_C_LANGUAGE_STANDARD = gnu99 + + +CLANG_WARN_STRICT_PROTOTYPES = YES + + +CLANG_WARN_RANGE_LOOP_ANALYSIS = YES + + +CLANG_WARN_COMMA = YES + + +CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES + + +// Compiler for C/C++/Objective-C +// +// The compiler to use for C, C++, and Objective-C. + +GCC_VERSION = com.apple.compilers.llvm.clang.1_0 + + +GCC_WARN_64_TO_32_BIT_CONVERSION = YES + + +GCC_WARN_ABOUT_MISSING_NEWLINE = YES + + +GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES + + +GCC_WARN_SIGN_COMPARE = YES + + +GCC_WARN_UNDECLARED_SELECTOR = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES + + +GCC_WARN_UNUSED_FUNCTION = YES + + +GCC_WARN_UNUSED_VARIABLE = YES + + +GCC_NO_COMMON_BLOCKS = YES; + +// Precompiled Header Uses Files From Build Directory +// +// This setting allows for better control of sharing precompiled prefix header files +// between projects. By default, Xcode assumes that the prefix header file may include +// header files from the build directory if the build directory is outside of the project +// directory. (Xcode cannot determine this ahead of time since other projects may not +// have been built into the shared build directory at the time the information is +// needed.) +// +// If your prefix file never includes files from the build directory you may set this to +// "NO" to improve sharing of precompiled headers. If the prefix does use files from a +// build directory which is inside your project directory, you may set this to "YES" to +// avoid unintended sharing that may result in build failures. + +PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = NO + + +// Base SDK +// +// The name or path of the base SDK being used during the build. The product will be +// built against the headers and libraries located inside the indicated SDK. This path +// will be prepended to all search paths, and will be passed through the environment to +// the compiler and linker. Additional SDKs can be specified in the ADDITIONAL_SDKS +// setting. + +SDKROOT = iphoneos + + +WARNING_CFLAGS = -Wall -Wextra -Wundef -Wfloat-equal + +// iOS Deployment Target +// +// Code will load on this and later versions of iOS. Framework APIs that are unavailable +// in earlier versions will be weak-linked; your code should check for null function +// pointers or specific system versions before calling newer APIs. +// + +IPHONEOS_DEPLOYMENT_TARGET = 11.0 + +APPLICATION_EXTENSION_API_ONLY = NO diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/StripeiOS Tests-Debug.xcconfig b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/StripeiOS Tests-Debug.xcconfig new file mode 100644 index 0000000..d969b04 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/StripeiOS Tests-Debug.xcconfig @@ -0,0 +1,13 @@ +// +// StripeiOS Tests-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +#include "StripeiOS Tests-Shared.xcconfig" + +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited) +DEBUG_INFORMATION_FORMAT = dwarf +SWIFT_ACTIVE_COMPILATION_CONDITIONS[arch=*] = DEBUG $(inherited) diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/StripeiOS Tests-Release.xcconfig b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/StripeiOS Tests-Release.xcconfig new file mode 100644 index 0000000..3b92cfd --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/StripeiOS Tests-Release.xcconfig @@ -0,0 +1,12 @@ +// +// StripeiOS Tests-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS Tests-Shared.xcconfig" + +//********************************************// +//* Currently no build settings in this file *// +//********************************************// diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/StripeiOS Tests-Shared.xcconfig b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/StripeiOS Tests-Shared.xcconfig new file mode 100644 index 0000000..3078777 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/StripeiOS Tests-Shared.xcconfig @@ -0,0 +1,89 @@ +// +// StripeiOS Tests-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +CLANG_CXX_LANGUAGE_STANDARD = gnu++0x + + +CLANG_CXX_LIBRARY = libc++ + + +CLANG_ENABLE_MODULES = YES + + +CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR + + +CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR + + +// Code Signing Identity +// +// The name ("common name") of a valid code-signing certificate in a keychain within your +// keychain path. A missing or invalid certificate will cause a build error. + +CODE_SIGN_IDENTITY = iPhone Developer + + +// Framework Search Paths +// +// This is a list of paths to folders containing frameworks to be searched by the +// compiler for both included or imported header files when compiling C, Objective-C, +// C++, or Objective-C++, and by the linker for frameworks used by the product. Paths are +// delimited by whitespace, so any paths with spaces in them need to be properly quoted. +// [-F] + +FRAMEWORK_SEARCH_PATHS = $(inherited) $(PROJECT_DIR)/Carthage/Build/iOS + +GCC_TREAT_WARNINGS_AS_ERRORS = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR + + +GCC_WARN_SHADOW = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE + +CLANG_WARN_ASSIGN_ENUM = YES +//CLANG_WARN_DOCUMENTATION_COMMENTS = YES not enabled because of errors in FBSnapshotTestCase headers +CLANG_WARN_INFINITE_RECURSION = YES +CLANG_WARN_SUSPICIOUS_MOVE = YES +GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES +GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES +GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES +GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES +GCC_WARN_UNKNOWN_PRAGMAS = YES +GCC_WARN_UNUSED_LABEL = YES +GCC_WARN_UNUSED_PARAMETER = YES + + +// Header Search Paths +// +// This is a list of paths to folders to be searched by the compiler for included or +// imported header files when compiling C, Objective-C, C++, or Objective-C++. Paths are +// delimited by whitespace, so any paths with spaces in them need to be properly quoted. +// [-I] + +HEADER_SEARCH_PATHS = $(inherited) + + +// Runpath Search Paths +// +// This is a list of paths to be added to the runpath search path list for the image +// being created. At runtime, dyld uses the runpath when searching for dylibs whose load +// path begins with '@rpath/'. [-rpath] + +LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @loader_path/Frameworks + + +OTHER_CFLAGS = + +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES + +LIBRARY_SEARCH_PATHS = $(inherited) diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/StripeiOS-Debug.xcconfig b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/StripeiOS-Debug.xcconfig new file mode 100644 index 0000000..99304b4 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/StripeiOS-Debug.xcconfig @@ -0,0 +1,12 @@ +// +// StripeiOS-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS-Shared.xcconfig" + + +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited) +SWIFT_ACTIVE_COMPILATION_CONDITIONS[arch=*] = DEBUG $(inherited) diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/StripeiOS-Release.xcconfig b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/StripeiOS-Release.xcconfig new file mode 100644 index 0000000..3d79290 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/StripeiOS-Release.xcconfig @@ -0,0 +1,10 @@ +// +// StripeiOS-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS-Shared.xcconfig" + +APPLICATION_EXTENSION_API_ONLY = NO diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/StripeiOS-Shared.xcconfig b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/StripeiOS-Shared.xcconfig new file mode 100644 index 0000000..b274c8d --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/StripeiOS-Shared.xcconfig @@ -0,0 +1,159 @@ +// +// StripeiOS-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Version.xcconfig" + +APPLICATION_EXTENSION_API_ONLY = YES + +CLANG_CXX_LANGUAGE_STANDARD = gnu++0x + + +CLANG_CXX_LIBRARY = libc++ + + +CLANG_ENABLE_MODULES = YES + + +CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR + + +CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR + +CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES +CLANG_WARN_INFINITE_RECURSION = YES +CLANG_WARN_SUSPICIOUS_MOVE = YES +CLANG_WARN_ASSIGN_ENUM = YES +CLANG_WARN_DOCUMENTATION_COMMENTS = YES +CLANG_WARN_UNGUARDED_AVAILABILITY = YES + +// Code Signing Identity +// +// The name ("common name") of a valid code-signing certificate in a keychain within your +// keychain path. A missing or invalid certificate will cause a build error. + +CODE_SIGN_IDENTITY[sdk=iphoneos*] = + +// Defines Module +// +// If enabled, the product will be treated as defining its own module. This enables +// automatic production of LLVM module map files when appropriate, and allows the product +// to be imported as a module. + +DEFINES_MODULE = YES + + +// Compatibility Version +// +// Determines the compatibility version of the resulting library, bundle, or framework +// binary. + +DYLIB_COMPATIBILITY_VERSION = 1 + + +// Current Library Version +// +// This setting defines the the current version of any framework built by the project. +// Like "Current Project Version", the value must be an integer or floating point number +// like 57 or 365.8. By default it is set to $(CURRENT_PROJECT_VERSION). + +DYLIB_CURRENT_VERSION = 1 + + +// Dynamic Library Install Name Base +// +// Sets the base value for the internal "install path" (LC_ID_DYLIB) in a dynamic +// library. This will be combined with the EXECUTABLE_PATH to form the full install path. +// Setting LD_DYLIB_INSTALL_NAME directly will override this setting. This setting +// defaults to the target's INSTALL_PATH. It is ignored when building any product other +// than a dynamic library. [-install_name] + +DYLIB_INSTALL_NAME_BASE = @rpath + + +GCC_TREAT_WARNINGS_AS_ERRORS = YES +SWIFT_TREAT_WARNINGS_AS_ERRORS = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR + + +GCC_WARN_SHADOW = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE + +GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES +GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES +GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES +GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES +GCC_WARN_UNKNOWN_PRAGMAS = YES +GCC_WARN_UNUSED_LABEL = YES +GCC_WARN_UNUSED_PARAMETER = YES + + +// Installation Directory +// +// The directory to install the build products in. This path is prepended by the +// 'Installation Build Products Location' (i.e., $(DSTROOT)). + +INSTALL_PATH = $(LOCAL_LIBRARY_DIR)/Frameworks + + +// Runpath Search Paths +// +// This is a list of paths to be added to the runpath search path list for the image +// being created. At runtime, dyld uses the runpath when searching for dylibs whose load +// path begins with '@rpath/'. [-rpath] + +LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @loader_path/Frameworks + + +// Skip Install +// +// Activating this setting when deployment locations are used causes the product to be +// built into an alternative location instead of the install location. + +SKIP_INSTALL = YES + + +// Targeted Device Family +// +// The build system uses the selected device to set the correct value for the +// UIDeviceFamily key it adds to the target's Info.plist file. +// +// iPhone - Application is built for iPhone and iPod touch. +// iPad - Application is built for iPad. +// iPhone/iPad - Application is built Universal for iPhone, iPod touch, and iPad. + +TARGETED_DEVICE_FAMILY = 1,2 + + +// Versioning Name Prefix +// +// Used as a prefix for the name of the version info symbol in the generated versioning +// source file. If you prefix your exported symbols you will probably want to set this +// to the same prefix. + +VERSION_INFO_PREFIX = + + +// Versioning System +// +// Selects the process used for version-stamping generated files. +// +// None - Use no versioning system. [] +// Apple Generic - Use the current project version setting. [apple-generic] + +VERSIONING_SYSTEM = apple-generic + +FRAMEWORK_SEARCH_PATHS = $(inherited) +HEADER_SEARCH_PATHS = $(inherited) + +LIBRARY_SEARCH_PATHS = $(inherited) $(CONFIGURATION_BUILD_DIR) + +// Generate .swiftinterface files +BUILD_LIBRARY_FOR_DISTRIBUTION = YES diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/Version.xcconfig b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/Version.xcconfig new file mode 100644 index 0000000..385e5d1 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/Version.xcconfig @@ -0,0 +1,9 @@ +// +// Version.xcconfig +// +// This file was generated by update_version.sh +// Do not edit this file directly. +// Instead, edit the `VERSION` file and run `ci_scripts/update_version.sh` +// + +CURRENT_PROJECT_VERSION=21.12.0 diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/bg-BG.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/bg-BG.lproj/Localizable.strings new file mode 100644 index 0000000..a5da595 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/bg-BG.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/ca-ES.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/ca-ES.lproj/Localizable.strings new file mode 100644 index 0000000..bdb84fb Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/ca-ES.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/cs-CZ.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/cs-CZ.lproj/Localizable.strings new file mode 100644 index 0000000..6ab1006 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/cs-CZ.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/da.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/da.lproj/Localizable.strings new file mode 100644 index 0000000..5992d55 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/da.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/de.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/de.lproj/Localizable.strings new file mode 100644 index 0000000..2ad2add Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/de.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/el-GR.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/el-GR.lproj/Localizable.strings new file mode 100644 index 0000000..1814620 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/el-GR.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/en-GB.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/en-GB.lproj/Localizable.strings new file mode 100644 index 0000000..b03f2f0 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/en-GB.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/en.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/en.lproj/Localizable.strings new file mode 100644 index 0000000..23b6112 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/en.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/es-419.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/es-419.lproj/Localizable.strings new file mode 100644 index 0000000..907d92d Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/es-419.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/es.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/es.lproj/Localizable.strings new file mode 100644 index 0000000..67ba248 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/es.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/et-EE.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/et-EE.lproj/Localizable.strings new file mode 100644 index 0000000..441b269 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/et-EE.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/fi.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/fi.lproj/Localizable.strings new file mode 100644 index 0000000..75ec7cb Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/fi.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/fil.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/fil.lproj/Localizable.strings new file mode 100644 index 0000000..d74122d Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/fil.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/fr-CA.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/fr-CA.lproj/Localizable.strings new file mode 100644 index 0000000..699bd8e Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/fr-CA.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/fr.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/fr.lproj/Localizable.strings new file mode 100644 index 0000000..5672fe7 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/fr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/hr.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/hr.lproj/Localizable.strings new file mode 100644 index 0000000..233e378 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/hr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/hu.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/hu.lproj/Localizable.strings new file mode 100644 index 0000000..c4ef51a Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/hu.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/id.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/id.lproj/Localizable.strings new file mode 100644 index 0000000..d63fd84 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/id.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/it.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/it.lproj/Localizable.strings new file mode 100644 index 0000000..4e05e4e Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/it.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/ja.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/ja.lproj/Localizable.strings new file mode 100644 index 0000000..8caba52 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/ja.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/ko.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/ko.lproj/Localizable.strings new file mode 100644 index 0000000..ae56235 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/ko.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/lt-LT.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/lt-LT.lproj/Localizable.strings new file mode 100644 index 0000000..73a1694 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/lt-LT.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/lv-LV.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/lv-LV.lproj/Localizable.strings new file mode 100644 index 0000000..227b319 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/lv-LV.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/ms-MY.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/ms-MY.lproj/Localizable.strings new file mode 100644 index 0000000..d8ae4d9 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/ms-MY.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/mt.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/mt.lproj/Localizable.strings new file mode 100644 index 0000000..402053c Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/mt.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/nb.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/nb.lproj/Localizable.strings new file mode 100644 index 0000000..1e03223 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/nb.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/nl.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/nl.lproj/Localizable.strings new file mode 100644 index 0000000..7b2ff5d Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/nl.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/nn-NO.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/nn-NO.lproj/Localizable.strings new file mode 100644 index 0000000..ad6bed6 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/nn-NO.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/pl-PL.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/pl-PL.lproj/Localizable.strings new file mode 100644 index 0000000..fd60087 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/pl-PL.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/pt-BR.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/pt-BR.lproj/Localizable.strings new file mode 100644 index 0000000..a7ac294 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/pt-BR.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/pt-PT.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/pt-PT.lproj/Localizable.strings new file mode 100644 index 0000000..6314e87 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/pt-PT.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/ro-RO.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/ro-RO.lproj/Localizable.strings new file mode 100644 index 0000000..b1e22fa Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/ro-RO.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/ru.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/ru.lproj/Localizable.strings new file mode 100644 index 0000000..b758097 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/ru.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/sk-SK.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/sk-SK.lproj/Localizable.strings new file mode 100644 index 0000000..c331f1d Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/sk-SK.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/sl-SI.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/sl-SI.lproj/Localizable.strings new file mode 100644 index 0000000..e1498e7 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/sl-SI.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/sv.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/sv.lproj/Localizable.strings new file mode 100644 index 0000000..1d1a4ad Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/sv.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/tk.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/tk.lproj/Localizable.strings new file mode 100644 index 0000000..8206839 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/tk.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/tr.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/tr.lproj/Localizable.strings new file mode 100644 index 0000000..1ae2a48 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/tr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/vi.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/vi.lproj/Localizable.strings new file mode 100644 index 0000000..335ebe9 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/vi.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/zh-HK.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/zh-HK.lproj/Localizable.strings new file mode 100644 index 0000000..e6a3245 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/zh-HK.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/zh-Hans.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/zh-Hans.lproj/Localizable.strings new file mode 100644 index 0000000..4e7c6c4 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/zh-Hans.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/zh-Hant.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/zh-Hant.lproj/Localizable.strings new file mode 100644 index 0000000..39355d4 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/Resources/zh-Hant.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/StripeCore b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/StripeCore new file mode 100755 index 0000000..beaccd4 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/A/StripeCore differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/Current b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/Current new file mode 120000 index 0000000..8c7e5a6 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-maccatalyst/StripeCore.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Headers/StripeCore-Swift.h b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Headers/StripeCore-Swift.h new file mode 100644 index 0000000..9925548 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Headers/StripeCore-Swift.h @@ -0,0 +1,568 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +#ifndef STRIPECORE_SWIFT_H +#define STRIPECORE_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# 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 +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import Foundation; +@import ObjectiveC; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="StripeCore",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + + + + + + +@interface NSError (SWIFT_EXTENSION(StripeCore)) ++ (NSError * _Nonnull)stp_genericConnectionError SWIFT_WARN_UNUSED_RESULT; ++ (NSError * _Nonnull)stp_genericFailedToParseResponseError SWIFT_WARN_UNUSED_RESULT; ++ (NSError * _Nonnull)stp_ephemeralKeyDecodingError SWIFT_WARN_UNUSED_RESULT; ++ (NSError * _Nonnull)stp_clientSecretError SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nonnull)stp_cardErrorInvalidNumberUserMessage SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nonnull)stp_cardInvalidCVCUserMessage SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nonnull)stp_cardErrorInvalidExpMonthUserMessage SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nonnull)stp_cardErrorInvalidExpYearUserMessage SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nonnull)stp_cardErrorExpiredCardUserMessage SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nonnull)stp_cardErrorDeclinedUserMessage SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nonnull)stp_cardErrorProcessingErrorUserMessage SWIFT_WARN_UNUSED_RESULT; +@end + + + + +SWIFT_CLASS("_TtC10StripeCore18STPAnalyticsClient") +@interface STPAnalyticsClient : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPAnalyticsClient * _Nonnull sharedClient;) ++ (STPAnalyticsClient * _Nonnull)sharedClient SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, copy) NSSet * _Nonnull productUsage; ++ (NSString * _Nullable)tokenTypeFromParameters:(NSDictionary * _Nonnull)parameters SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + +SWIFT_CLASS("_TtC10StripeCore25STPNumericStringValidator") +@interface STPNumericStringValidator : NSObject +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@protocol STPURLCallbackListener; + +/// :nodoc: +SWIFT_CLASS("_TtC10StripeCore21STPURLCallbackHandler") +@interface STPURLCallbackHandler : NSObject +/// :nodoc: ++ (STPURLCallbackHandler * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (BOOL)handleURLCallback:(NSURL * _Nonnull)url; +/// :nodoc: +- (void)registerListener:(id _Nonnull)listener forURL:(NSURL * _Nonnull)url; +/// :nodoc: +- (void)unregisterListener:(id _Nonnull)listener; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// :nodoc: +SWIFT_PROTOCOL("_TtP10StripeCore22STPURLCallbackListener_") +@protocol STPURLCallbackListener +/// :nodoc: +- (BOOL)handleURLCallback:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; +@end + + + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +#ifndef STRIPECORE_SWIFT_H +#define STRIPECORE_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# 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 +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import Foundation; +@import ObjectiveC; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="StripeCore",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + + + + + + +@interface NSError (SWIFT_EXTENSION(StripeCore)) ++ (NSError * _Nonnull)stp_genericConnectionError SWIFT_WARN_UNUSED_RESULT; ++ (NSError * _Nonnull)stp_genericFailedToParseResponseError SWIFT_WARN_UNUSED_RESULT; ++ (NSError * _Nonnull)stp_ephemeralKeyDecodingError SWIFT_WARN_UNUSED_RESULT; ++ (NSError * _Nonnull)stp_clientSecretError SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nonnull)stp_cardErrorInvalidNumberUserMessage SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nonnull)stp_cardInvalidCVCUserMessage SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nonnull)stp_cardErrorInvalidExpMonthUserMessage SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nonnull)stp_cardErrorInvalidExpYearUserMessage SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nonnull)stp_cardErrorExpiredCardUserMessage SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nonnull)stp_cardErrorDeclinedUserMessage SWIFT_WARN_UNUSED_RESULT; ++ (NSString * _Nonnull)stp_cardErrorProcessingErrorUserMessage SWIFT_WARN_UNUSED_RESULT; +@end + + + + +SWIFT_CLASS("_TtC10StripeCore18STPAnalyticsClient") +@interface STPAnalyticsClient : NSObject +SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) STPAnalyticsClient * _Nonnull sharedClient;) ++ (STPAnalyticsClient * _Nonnull)sharedClient SWIFT_WARN_UNUSED_RESULT; +@property (nonatomic, copy) NSSet * _Nonnull productUsage; ++ (NSString * _Nullable)tokenTypeFromParameters:(NSDictionary * _Nonnull)parameters SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + + +SWIFT_CLASS("_TtC10StripeCore25STPNumericStringValidator") +@interface STPNumericStringValidator : NSObject +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + +@protocol STPURLCallbackListener; + +/// :nodoc: +SWIFT_CLASS("_TtC10StripeCore21STPURLCallbackHandler") +@interface STPURLCallbackHandler : NSObject +/// :nodoc: ++ (STPURLCallbackHandler * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT; +/// :nodoc: +- (BOOL)handleURLCallback:(NSURL * _Nonnull)url; +/// :nodoc: +- (void)registerListener:(id _Nonnull)listener forURL:(NSURL * _Nonnull)url; +/// :nodoc: +- (void)unregisterListener:(id _Nonnull)listener; +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// :nodoc: +SWIFT_PROTOCOL("_TtP10StripeCore22STPURLCallbackListener_") +@protocol STPURLCallbackListener +/// :nodoc: +- (BOOL)handleURLCallback:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT; +@end + + + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Headers/StripeCore.h b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Headers/StripeCore.h new file mode 100644 index 0000000..55d5d20 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Headers/StripeCore.h @@ -0,0 +1,18 @@ +// +// StripeCore.h +// StripeCore +// +// Created by Mel Ludowise on 6/24/21. +// + +#import + +//! Project version number for StripeCore. +FOUNDATION_EXPORT double StripeCoreVersionNumber; + +//! Project version string for StripeCore. +FOUNDATION_EXPORT const unsigned char StripeCoreVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Info.plist b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Info.plist new file mode 100644 index 0000000..3fd56b5 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Info.plist differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Modules/StripeCore.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Modules/StripeCore.swiftmodule/arm64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..cb15d39 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Modules/StripeCore.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Modules/StripeCore.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Modules/StripeCore.swiftmodule/arm64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..9bcb526 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Modules/StripeCore.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -0,0 +1,173 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeCore +import Foundation +import PassKit +@_exported import StripeCore +import Swift +import UIKit +@_hasMissingDesignatedInitializers public class StripeAPI { + public static var defaultPublishableKey: Swift.String? + public func setDefaultPublishableKey(_ publishableKey: Swift.String) + public static var advancedFraudSignalsEnabled: Swift.Bool + public static var maxRetries: Swift.Int + public class var jcbPaymentNetworkSupported: Swift.Bool { + get + set(JCBPaymentNetworkSupported) + } + public static var additionalEnabledApplePayNetworks: [PassKit.PKPaymentNetwork] + public class func canSubmitPaymentRequest(_ paymentRequest: PassKit.PKPaymentRequest) -> Swift.Bool + public class func deviceSupportsApplePay() -> Swift.Bool + public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String, country countryCode: Swift.String, currency currencyCode: Swift.String) -> PassKit.PKPaymentRequest + @discardableResult + public static func handleURLCallback(with url: Foundation.URL) -> Swift.Bool + @objc deinit +} +public protocol StripeDecodable : Swift.Decodable { + var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? { get set } +} +public protocol StripeEncodable : Swift.Encodable { + var _additionalParametersStorage: StripeCore.NonEncodableParameters? { get set } +} +public protocol StripeEnumCodable : Swift.Decodable, Swift.Encodable { + static var unparsable: Self { get } +} +extension StripeDecodable { + public var allResponseFields: [Swift.String : Any] { + get + } +} +extension StripeEncodable { + public var additionalParameters: [Swift.String : Any] { + get + set + } +} +public protocol StripeCodable : StripeCore.StripeDecodable, StripeCore.StripeEncodable { +} +@propertyWrapper public struct IncludeUnknownFields { + public var wrappedValue: T? + public init(wrappedValue: T?) +} +extension IncludeUnknownFields : Swift.Encodable where T : StripeCore.StripeEncodable { + public func encode(to encoder: Swift.Encoder) throws +} +extension IncludeUnknownFields : Swift.Decodable where T : StripeCore.StripeDecodable { + public init(from decoder: Swift.Decoder) throws +} +public struct NonEncodableParameters { +} +extension NonEncodableParameters : Swift.Decodable { + public init(from decoder: Swift.Decoder) throws +} +extension NonEncodableParameters : Swift.Encodable { + public func encode(to encoder: Swift.Encoder) throws +} +extension NonEncodableParameters : Swift.Equatable { + public static func == (lhs: StripeCore.NonEncodableParameters, rhs: StripeCore.NonEncodableParameters) -> Swift.Bool +} +extension NonEncodableParameters : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible, Swift.CustomLeafReflectable { + public var customMirror: Swift.Mirror { + get + } + public var debugDescription: Swift.String { + get + } + public var description: Swift.String { + get + } +} +public enum STPErrorCode : Swift.Int { + case connectionError + case invalidRequestError + case authenticationError + case apiError + case cardError + case cancellationError + case ephemeralKeyDecodingError + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers public class STPError { + public static let stripeDomain: Swift.String + @objc public static let STPPaymentHandlerErrorDomain: Swift.String + public static let errorMessageKey: Swift.String + public static let hintKey: Swift.String + public static let cardErrorCodeKey: Swift.String + public static let errorParameterKey: Swift.String + public static let stripeErrorCodeKey: Swift.String + public static let stripeErrorTypeKey: Swift.String + public static let stripeDeclineCodeKey: Swift.String + @objc deinit +} +extension NSError { + public static func stp_error(fromStripeResponse jsonDictionary: [Swift.AnyHashable : Any]?) -> Foundation.NSError? +} +public enum STPCardErrorCode : Swift.String { + case invalidNumber + case invalidExpMonth + case invalidExpYear + case invalidCVC + case incorrectNumber + case expiredCard + case cardDeclined + case incorrectCVC + case processingError + case incorrectZip + public typealias RawValue = Swift.String + public init?(rawValue: Swift.String) + public var rawValue: Swift.String { + get + } +} +@objc extension STPError { + @objc public static let invalidNumber: Swift.String + @objc public static let invalidExpMonth: Swift.String + @objc public static let invalidExpYear: Swift.String + @objc public static let invalidCVC: Swift.String + @objc public static let incorrectNumber: Swift.String + @objc public static let expiredCard: Swift.String + @objc public static let cardDeclined: Swift.String + @objc public static let processingError: Swift.String + @objc public static let incorrectCVC: Swift.String + @objc public static let incorrectZip: Swift.String +} +public class STPAppInfo { + public init(name: Swift.String, partnerId: Swift.String?, version: Swift.String?, url: Swift.String?) + public var name: Swift.String { + get + } + public var partnerId: Swift.String? { + get + } + public var version: Swift.String? { + get + } + public var url: Swift.String? { + get + } + @objc deinit +} +public class STPAPIClient { + public static let STPSDKVersion: Swift.String + public static let shared: StripeCore.STPAPIClient + public var publishableKey: Swift.String? { + get + set + } + public var stripeAccount: Swift.String? + public var appInfo: StripeCore.STPAppInfo? + public static let apiVersion: Swift.String + public init() + convenience public init(publishableKey: Swift.String) + @objc deinit +} +extension StripeCore.STPErrorCode : Swift.Equatable {} +extension StripeCore.STPErrorCode : Swift.Hashable {} +extension StripeCore.STPErrorCode : Swift.RawRepresentable {} +extension StripeCore.STPCardErrorCode : Swift.Equatable {} +extension StripeCore.STPCardErrorCode : Swift.Hashable {} +extension StripeCore.STPCardErrorCode : Swift.RawRepresentable {} diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Modules/StripeCore.swiftmodule/arm64.swiftdoc b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Modules/StripeCore.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..cb15d39 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Modules/StripeCore.swiftmodule/arm64.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Modules/StripeCore.swiftmodule/arm64.swiftinterface b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Modules/StripeCore.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..9bcb526 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Modules/StripeCore.swiftmodule/arm64.swiftinterface @@ -0,0 +1,173 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeCore +import Foundation +import PassKit +@_exported import StripeCore +import Swift +import UIKit +@_hasMissingDesignatedInitializers public class StripeAPI { + public static var defaultPublishableKey: Swift.String? + public func setDefaultPublishableKey(_ publishableKey: Swift.String) + public static var advancedFraudSignalsEnabled: Swift.Bool + public static var maxRetries: Swift.Int + public class var jcbPaymentNetworkSupported: Swift.Bool { + get + set(JCBPaymentNetworkSupported) + } + public static var additionalEnabledApplePayNetworks: [PassKit.PKPaymentNetwork] + public class func canSubmitPaymentRequest(_ paymentRequest: PassKit.PKPaymentRequest) -> Swift.Bool + public class func deviceSupportsApplePay() -> Swift.Bool + public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String, country countryCode: Swift.String, currency currencyCode: Swift.String) -> PassKit.PKPaymentRequest + @discardableResult + public static func handleURLCallback(with url: Foundation.URL) -> Swift.Bool + @objc deinit +} +public protocol StripeDecodable : Swift.Decodable { + var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? { get set } +} +public protocol StripeEncodable : Swift.Encodable { + var _additionalParametersStorage: StripeCore.NonEncodableParameters? { get set } +} +public protocol StripeEnumCodable : Swift.Decodable, Swift.Encodable { + static var unparsable: Self { get } +} +extension StripeDecodable { + public var allResponseFields: [Swift.String : Any] { + get + } +} +extension StripeEncodable { + public var additionalParameters: [Swift.String : Any] { + get + set + } +} +public protocol StripeCodable : StripeCore.StripeDecodable, StripeCore.StripeEncodable { +} +@propertyWrapper public struct IncludeUnknownFields { + public var wrappedValue: T? + public init(wrappedValue: T?) +} +extension IncludeUnknownFields : Swift.Encodable where T : StripeCore.StripeEncodable { + public func encode(to encoder: Swift.Encoder) throws +} +extension IncludeUnknownFields : Swift.Decodable where T : StripeCore.StripeDecodable { + public init(from decoder: Swift.Decoder) throws +} +public struct NonEncodableParameters { +} +extension NonEncodableParameters : Swift.Decodable { + public init(from decoder: Swift.Decoder) throws +} +extension NonEncodableParameters : Swift.Encodable { + public func encode(to encoder: Swift.Encoder) throws +} +extension NonEncodableParameters : Swift.Equatable { + public static func == (lhs: StripeCore.NonEncodableParameters, rhs: StripeCore.NonEncodableParameters) -> Swift.Bool +} +extension NonEncodableParameters : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible, Swift.CustomLeafReflectable { + public var customMirror: Swift.Mirror { + get + } + public var debugDescription: Swift.String { + get + } + public var description: Swift.String { + get + } +} +public enum STPErrorCode : Swift.Int { + case connectionError + case invalidRequestError + case authenticationError + case apiError + case cardError + case cancellationError + case ephemeralKeyDecodingError + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers public class STPError { + public static let stripeDomain: Swift.String + @objc public static let STPPaymentHandlerErrorDomain: Swift.String + public static let errorMessageKey: Swift.String + public static let hintKey: Swift.String + public static let cardErrorCodeKey: Swift.String + public static let errorParameterKey: Swift.String + public static let stripeErrorCodeKey: Swift.String + public static let stripeErrorTypeKey: Swift.String + public static let stripeDeclineCodeKey: Swift.String + @objc deinit +} +extension NSError { + public static func stp_error(fromStripeResponse jsonDictionary: [Swift.AnyHashable : Any]?) -> Foundation.NSError? +} +public enum STPCardErrorCode : Swift.String { + case invalidNumber + case invalidExpMonth + case invalidExpYear + case invalidCVC + case incorrectNumber + case expiredCard + case cardDeclined + case incorrectCVC + case processingError + case incorrectZip + public typealias RawValue = Swift.String + public init?(rawValue: Swift.String) + public var rawValue: Swift.String { + get + } +} +@objc extension STPError { + @objc public static let invalidNumber: Swift.String + @objc public static let invalidExpMonth: Swift.String + @objc public static let invalidExpYear: Swift.String + @objc public static let invalidCVC: Swift.String + @objc public static let incorrectNumber: Swift.String + @objc public static let expiredCard: Swift.String + @objc public static let cardDeclined: Swift.String + @objc public static let processingError: Swift.String + @objc public static let incorrectCVC: Swift.String + @objc public static let incorrectZip: Swift.String +} +public class STPAppInfo { + public init(name: Swift.String, partnerId: Swift.String?, version: Swift.String?, url: Swift.String?) + public var name: Swift.String { + get + } + public var partnerId: Swift.String? { + get + } + public var version: Swift.String? { + get + } + public var url: Swift.String? { + get + } + @objc deinit +} +public class STPAPIClient { + public static let STPSDKVersion: Swift.String + public static let shared: StripeCore.STPAPIClient + public var publishableKey: Swift.String? { + get + set + } + public var stripeAccount: Swift.String? + public var appInfo: StripeCore.STPAppInfo? + public static let apiVersion: Swift.String + public init() + convenience public init(publishableKey: Swift.String) + @objc deinit +} +extension StripeCore.STPErrorCode : Swift.Equatable {} +extension StripeCore.STPErrorCode : Swift.Hashable {} +extension StripeCore.STPErrorCode : Swift.RawRepresentable {} +extension StripeCore.STPCardErrorCode : Swift.Equatable {} +extension StripeCore.STPCardErrorCode : Swift.Hashable {} +extension StripeCore.STPCardErrorCode : Swift.RawRepresentable {} diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Modules/StripeCore.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Modules/StripeCore.swiftmodule/x86_64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..cb7a6f5 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Modules/StripeCore.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Modules/StripeCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Modules/StripeCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..07a91c3 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Modules/StripeCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -0,0 +1,173 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeCore +import Foundation +import PassKit +@_exported import StripeCore +import Swift +import UIKit +@_hasMissingDesignatedInitializers public class StripeAPI { + public static var defaultPublishableKey: Swift.String? + public func setDefaultPublishableKey(_ publishableKey: Swift.String) + public static var advancedFraudSignalsEnabled: Swift.Bool + public static var maxRetries: Swift.Int + public class var jcbPaymentNetworkSupported: Swift.Bool { + get + set(JCBPaymentNetworkSupported) + } + public static var additionalEnabledApplePayNetworks: [PassKit.PKPaymentNetwork] + public class func canSubmitPaymentRequest(_ paymentRequest: PassKit.PKPaymentRequest) -> Swift.Bool + public class func deviceSupportsApplePay() -> Swift.Bool + public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String, country countryCode: Swift.String, currency currencyCode: Swift.String) -> PassKit.PKPaymentRequest + @discardableResult + public static func handleURLCallback(with url: Foundation.URL) -> Swift.Bool + @objc deinit +} +public protocol StripeDecodable : Swift.Decodable { + var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? { get set } +} +public protocol StripeEncodable : Swift.Encodable { + var _additionalParametersStorage: StripeCore.NonEncodableParameters? { get set } +} +public protocol StripeEnumCodable : Swift.Decodable, Swift.Encodable { + static var unparsable: Self { get } +} +extension StripeDecodable { + public var allResponseFields: [Swift.String : Any] { + get + } +} +extension StripeEncodable { + public var additionalParameters: [Swift.String : Any] { + get + set + } +} +public protocol StripeCodable : StripeCore.StripeDecodable, StripeCore.StripeEncodable { +} +@propertyWrapper public struct IncludeUnknownFields { + public var wrappedValue: T? + public init(wrappedValue: T?) +} +extension IncludeUnknownFields : Swift.Encodable where T : StripeCore.StripeEncodable { + public func encode(to encoder: Swift.Encoder) throws +} +extension IncludeUnknownFields : Swift.Decodable where T : StripeCore.StripeDecodable { + public init(from decoder: Swift.Decoder) throws +} +public struct NonEncodableParameters { +} +extension NonEncodableParameters : Swift.Decodable { + public init(from decoder: Swift.Decoder) throws +} +extension NonEncodableParameters : Swift.Encodable { + public func encode(to encoder: Swift.Encoder) throws +} +extension NonEncodableParameters : Swift.Equatable { + public static func == (lhs: StripeCore.NonEncodableParameters, rhs: StripeCore.NonEncodableParameters) -> Swift.Bool +} +extension NonEncodableParameters : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible, Swift.CustomLeafReflectable { + public var customMirror: Swift.Mirror { + get + } + public var debugDescription: Swift.String { + get + } + public var description: Swift.String { + get + } +} +public enum STPErrorCode : Swift.Int { + case connectionError + case invalidRequestError + case authenticationError + case apiError + case cardError + case cancellationError + case ephemeralKeyDecodingError + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers public class STPError { + public static let stripeDomain: Swift.String + @objc public static let STPPaymentHandlerErrorDomain: Swift.String + public static let errorMessageKey: Swift.String + public static let hintKey: Swift.String + public static let cardErrorCodeKey: Swift.String + public static let errorParameterKey: Swift.String + public static let stripeErrorCodeKey: Swift.String + public static let stripeErrorTypeKey: Swift.String + public static let stripeDeclineCodeKey: Swift.String + @objc deinit +} +extension NSError { + public static func stp_error(fromStripeResponse jsonDictionary: [Swift.AnyHashable : Any]?) -> Foundation.NSError? +} +public enum STPCardErrorCode : Swift.String { + case invalidNumber + case invalidExpMonth + case invalidExpYear + case invalidCVC + case incorrectNumber + case expiredCard + case cardDeclined + case incorrectCVC + case processingError + case incorrectZip + public typealias RawValue = Swift.String + public init?(rawValue: Swift.String) + public var rawValue: Swift.String { + get + } +} +@objc extension STPError { + @objc public static let invalidNumber: Swift.String + @objc public static let invalidExpMonth: Swift.String + @objc public static let invalidExpYear: Swift.String + @objc public static let invalidCVC: Swift.String + @objc public static let incorrectNumber: Swift.String + @objc public static let expiredCard: Swift.String + @objc public static let cardDeclined: Swift.String + @objc public static let processingError: Swift.String + @objc public static let incorrectCVC: Swift.String + @objc public static let incorrectZip: Swift.String +} +public class STPAppInfo { + public init(name: Swift.String, partnerId: Swift.String?, version: Swift.String?, url: Swift.String?) + public var name: Swift.String { + get + } + public var partnerId: Swift.String? { + get + } + public var version: Swift.String? { + get + } + public var url: Swift.String? { + get + } + @objc deinit +} +public class STPAPIClient { + public static let STPSDKVersion: Swift.String + public static let shared: StripeCore.STPAPIClient + public var publishableKey: Swift.String? { + get + set + } + public var stripeAccount: Swift.String? + public var appInfo: StripeCore.STPAppInfo? + public static let apiVersion: Swift.String + public init() + convenience public init(publishableKey: Swift.String) + @objc deinit +} +extension StripeCore.STPErrorCode : Swift.Equatable {} +extension StripeCore.STPErrorCode : Swift.Hashable {} +extension StripeCore.STPErrorCode : Swift.RawRepresentable {} +extension StripeCore.STPCardErrorCode : Swift.Equatable {} +extension StripeCore.STPCardErrorCode : Swift.Hashable {} +extension StripeCore.STPCardErrorCode : Swift.RawRepresentable {} diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Modules/StripeCore.swiftmodule/x86_64.swiftdoc b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Modules/StripeCore.swiftmodule/x86_64.swiftdoc new file mode 100644 index 0000000..cb7a6f5 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Modules/StripeCore.swiftmodule/x86_64.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Modules/StripeCore.swiftmodule/x86_64.swiftinterface b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Modules/StripeCore.swiftmodule/x86_64.swiftinterface new file mode 100644 index 0000000..07a91c3 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Modules/StripeCore.swiftmodule/x86_64.swiftinterface @@ -0,0 +1,173 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeCore +import Foundation +import PassKit +@_exported import StripeCore +import Swift +import UIKit +@_hasMissingDesignatedInitializers public class StripeAPI { + public static var defaultPublishableKey: Swift.String? + public func setDefaultPublishableKey(_ publishableKey: Swift.String) + public static var advancedFraudSignalsEnabled: Swift.Bool + public static var maxRetries: Swift.Int + public class var jcbPaymentNetworkSupported: Swift.Bool { + get + set(JCBPaymentNetworkSupported) + } + public static var additionalEnabledApplePayNetworks: [PassKit.PKPaymentNetwork] + public class func canSubmitPaymentRequest(_ paymentRequest: PassKit.PKPaymentRequest) -> Swift.Bool + public class func deviceSupportsApplePay() -> Swift.Bool + public class func paymentRequest(withMerchantIdentifier merchantIdentifier: Swift.String, country countryCode: Swift.String, currency currencyCode: Swift.String) -> PassKit.PKPaymentRequest + @discardableResult + public static func handleURLCallback(with url: Foundation.URL) -> Swift.Bool + @objc deinit +} +public protocol StripeDecodable : Swift.Decodable { + var _allResponseFieldsStorage: StripeCore.NonEncodableParameters? { get set } +} +public protocol StripeEncodable : Swift.Encodable { + var _additionalParametersStorage: StripeCore.NonEncodableParameters? { get set } +} +public protocol StripeEnumCodable : Swift.Decodable, Swift.Encodable { + static var unparsable: Self { get } +} +extension StripeDecodable { + public var allResponseFields: [Swift.String : Any] { + get + } +} +extension StripeEncodable { + public var additionalParameters: [Swift.String : Any] { + get + set + } +} +public protocol StripeCodable : StripeCore.StripeDecodable, StripeCore.StripeEncodable { +} +@propertyWrapper public struct IncludeUnknownFields { + public var wrappedValue: T? + public init(wrappedValue: T?) +} +extension IncludeUnknownFields : Swift.Encodable where T : StripeCore.StripeEncodable { + public func encode(to encoder: Swift.Encoder) throws +} +extension IncludeUnknownFields : Swift.Decodable where T : StripeCore.StripeDecodable { + public init(from decoder: Swift.Decoder) throws +} +public struct NonEncodableParameters { +} +extension NonEncodableParameters : Swift.Decodable { + public init(from decoder: Swift.Decoder) throws +} +extension NonEncodableParameters : Swift.Encodable { + public func encode(to encoder: Swift.Encoder) throws +} +extension NonEncodableParameters : Swift.Equatable { + public static func == (lhs: StripeCore.NonEncodableParameters, rhs: StripeCore.NonEncodableParameters) -> Swift.Bool +} +extension NonEncodableParameters : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible, Swift.CustomLeafReflectable { + public var customMirror: Swift.Mirror { + get + } + public var debugDescription: Swift.String { + get + } + public var description: Swift.String { + get + } +} +public enum STPErrorCode : Swift.Int { + case connectionError + case invalidRequestError + case authenticationError + case apiError + case cardError + case cancellationError + case ephemeralKeyDecodingError + public typealias RawValue = Swift.Int + public init?(rawValue: Swift.Int) + public var rawValue: Swift.Int { + get + } +} +@_hasMissingDesignatedInitializers public class STPError { + public static let stripeDomain: Swift.String + @objc public static let STPPaymentHandlerErrorDomain: Swift.String + public static let errorMessageKey: Swift.String + public static let hintKey: Swift.String + public static let cardErrorCodeKey: Swift.String + public static let errorParameterKey: Swift.String + public static let stripeErrorCodeKey: Swift.String + public static let stripeErrorTypeKey: Swift.String + public static let stripeDeclineCodeKey: Swift.String + @objc deinit +} +extension NSError { + public static func stp_error(fromStripeResponse jsonDictionary: [Swift.AnyHashable : Any]?) -> Foundation.NSError? +} +public enum STPCardErrorCode : Swift.String { + case invalidNumber + case invalidExpMonth + case invalidExpYear + case invalidCVC + case incorrectNumber + case expiredCard + case cardDeclined + case incorrectCVC + case processingError + case incorrectZip + public typealias RawValue = Swift.String + public init?(rawValue: Swift.String) + public var rawValue: Swift.String { + get + } +} +@objc extension STPError { + @objc public static let invalidNumber: Swift.String + @objc public static let invalidExpMonth: Swift.String + @objc public static let invalidExpYear: Swift.String + @objc public static let invalidCVC: Swift.String + @objc public static let incorrectNumber: Swift.String + @objc public static let expiredCard: Swift.String + @objc public static let cardDeclined: Swift.String + @objc public static let processingError: Swift.String + @objc public static let incorrectCVC: Swift.String + @objc public static let incorrectZip: Swift.String +} +public class STPAppInfo { + public init(name: Swift.String, partnerId: Swift.String?, version: Swift.String?, url: Swift.String?) + public var name: Swift.String { + get + } + public var partnerId: Swift.String? { + get + } + public var version: Swift.String? { + get + } + public var url: Swift.String? { + get + } + @objc deinit +} +public class STPAPIClient { + public static let STPSDKVersion: Swift.String + public static let shared: StripeCore.STPAPIClient + public var publishableKey: Swift.String? { + get + set + } + public var stripeAccount: Swift.String? + public var appInfo: StripeCore.STPAppInfo? + public static let apiVersion: Swift.String + public init() + convenience public init(publishableKey: Swift.String) + @objc deinit +} +extension StripeCore.STPErrorCode : Swift.Equatable {} +extension StripeCore.STPErrorCode : Swift.Hashable {} +extension StripeCore.STPErrorCode : Swift.RawRepresentable {} +extension StripeCore.STPCardErrorCode : Swift.Equatable {} +extension StripeCore.STPCardErrorCode : Swift.Hashable {} +extension StripeCore.STPCardErrorCode : Swift.RawRepresentable {} diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Modules/module.modulemap b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Modules/module.modulemap new file mode 100644 index 0000000..70fbf1f --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module StripeCore { + umbrella header "StripeCore.h" + + export * + module * { export * } +} + +module StripeCore.Swift { + header "StripeCore-Swift.h" + requires objc +} diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Project-Debug.xcconfig b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Project-Debug.xcconfig new file mode 100644 index 0000000..893a71f --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Project-Debug.xcconfig @@ -0,0 +1,41 @@ +// +// Project-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Project-Shared.xcconfig" + + +// Strip Debug Symbols During Copy +// +// Activating this setting causes binary files which are copied during the build (e.g., +// in a Copy Bundle Resources or Copy Files build phase) to be stripped of debugging +// symbols. It does not cause the linked product of a target to be stripped (use Strip +// Linked Product for that). + +COPY_PHASE_STRIP = NO + + +GCC_DYNAMIC_NO_PIC = NO + + +GCC_OPTIMIZATION_LEVEL = 0 + + +STP_EXTRA_PREPROCESSOR_MACROS= +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 STRIPE_UNIT_TESTS_ENABLED $(inherited) $(STP_EXTRA_PREPROCESSOR_MACROS) + + +GCC_SYMBOLS_PRIVATE_EXTERN = NO + + +// Build Active Architecture Only +// +// When checked, only the active architecture is built for faster debugging turnaround + +ONLY_ACTIVE_ARCH = YES + + +ENABLE_TESTABILITY = YES diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Project-Release.xcconfig b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Project-Release.xcconfig new file mode 100644 index 0000000..7ee2591 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Project-Release.xcconfig @@ -0,0 +1,33 @@ +// +// Project-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Project-Shared.xcconfig" + + +// Strip Debug Symbols During Copy +// +// Activating this setting causes binary files which are copied during the build (e.g., +// in a Copy Bundle Resources or Copy Files build phase) to be stripped of debugging +// symbols. It does not cause the linked product of a target to be stripped (use Strip +// Linked Product for that). + +COPY_PHASE_STRIP = YES + + +ENABLE_NS_ASSERTIONS = NO + +STP_EXTRA_PREPROCESSOR_MACROS= +GCC_PREPROCESSOR_DEFINITIONS = NDEBUG $(STP_EXTRA_PREPROCESSOR_MACROS) + + +// Validate Built Product +// +// Activating this setting will cause Xcode to perform validation checks on the product +// as part of the build process. + +VALIDATE_PRODUCT = YES + diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Project-Shared.xcconfig b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Project-Shared.xcconfig new file mode 100644 index 0000000..3c97646 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Project-Shared.xcconfig @@ -0,0 +1,169 @@ +// +// Project-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +// Always Search User Paths +// +// If enabled both #include -style and #include "header.h"-style directives +// will search the paths in "User Header Search Paths" before "Header Search Paths", with +// the consequence that user headers (such as your own String.h header) would have +// precedence over system headers when using #include . This is done using the +// -iquote flag for the paths provided in "User Header Search Paths". If disabled and +// your compiler fully supports separate user paths, user headers will only be accessible +// with #include "header.h"-style preprocessor directives. +// +// For backwards compatibility reasons, this setting is enabled by default, but disabling +// it is strongly recommended. + +ALWAYS_SEARCH_USER_PATHS = NO + + +CLANG_ENABLE_CODE_COVERAGE = NO + + +CLANG_ENABLE_OBJC_ARC = YES + + +CLANG_WARN__DUPLICATE_METHOD_MATCH = YES + + +CLANG_WARN_BOOL_CONVERSION = YES + + +CLANG_WARN_CONSTANT_CONVERSION = YES + + +CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES + + +CLANG_WARN_EMPTY_BODY = YES + + +CLANG_WARN_ENUM_CONVERSION = YES + + +CLANG_WARN_INT_CONVERSION = YES + + +CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES + + +CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES + + +CLANG_WARN_UNREACHABLE_CODE = YES + + +CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + + +CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + +// Default value is YES_NONAGGRESSIVE. YES is "Yes, Aggressive" in Xcode 9 UI +CLANG_ANALYZER_NONNULL = YES; + + +CLANG_WARN_INFINITE_RECURSION = YES; + + +CLANG_WARN_SUSPICIOUS_MOVE = YES; + + +ENABLE_STRICT_OBJC_MSGSEND = YES + + +GCC_C_LANGUAGE_STANDARD = gnu99 + + +CLANG_WARN_STRICT_PROTOTYPES = YES + + +CLANG_WARN_RANGE_LOOP_ANALYSIS = YES + + +CLANG_WARN_COMMA = YES + + +CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES + + +// Compiler for C/C++/Objective-C +// +// The compiler to use for C, C++, and Objective-C. + +GCC_VERSION = com.apple.compilers.llvm.clang.1_0 + + +GCC_WARN_64_TO_32_BIT_CONVERSION = YES + + +GCC_WARN_ABOUT_MISSING_NEWLINE = YES + + +GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES + + +GCC_WARN_SIGN_COMPARE = YES + + +GCC_WARN_UNDECLARED_SELECTOR = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES + + +GCC_WARN_UNUSED_FUNCTION = YES + + +GCC_WARN_UNUSED_VARIABLE = YES + + +GCC_NO_COMMON_BLOCKS = YES; + +// Precompiled Header Uses Files From Build Directory +// +// This setting allows for better control of sharing precompiled prefix header files +// between projects. By default, Xcode assumes that the prefix header file may include +// header files from the build directory if the build directory is outside of the project +// directory. (Xcode cannot determine this ahead of time since other projects may not +// have been built into the shared build directory at the time the information is +// needed.) +// +// If your prefix file never includes files from the build directory you may set this to +// "NO" to improve sharing of precompiled headers. If the prefix does use files from a +// build directory which is inside your project directory, you may set this to "YES" to +// avoid unintended sharing that may result in build failures. + +PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = NO + + +// Base SDK +// +// The name or path of the base SDK being used during the build. The product will be +// built against the headers and libraries located inside the indicated SDK. This path +// will be prepended to all search paths, and will be passed through the environment to +// the compiler and linker. Additional SDKs can be specified in the ADDITIONAL_SDKS +// setting. + +SDKROOT = iphoneos + + +WARNING_CFLAGS = -Wall -Wextra -Wundef -Wfloat-equal + +// iOS Deployment Target +// +// Code will load on this and later versions of iOS. Framework APIs that are unavailable +// in earlier versions will be weak-linked; your code should check for null function +// pointers or specific system versions before calling newer APIs. +// + +IPHONEOS_DEPLOYMENT_TARGET = 11.0 + +APPLICATION_EXTENSION_API_ONLY = NO diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/StripeCore b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/StripeCore new file mode 100755 index 0000000..d3fbaf4 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/StripeCore differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/StripeiOS Tests-Debug.xcconfig b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/StripeiOS Tests-Debug.xcconfig new file mode 100644 index 0000000..d969b04 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/StripeiOS Tests-Debug.xcconfig @@ -0,0 +1,13 @@ +// +// StripeiOS Tests-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +#include "StripeiOS Tests-Shared.xcconfig" + +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited) +DEBUG_INFORMATION_FORMAT = dwarf +SWIFT_ACTIVE_COMPILATION_CONDITIONS[arch=*] = DEBUG $(inherited) diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/StripeiOS Tests-Release.xcconfig b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/StripeiOS Tests-Release.xcconfig new file mode 100644 index 0000000..3b92cfd --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/StripeiOS Tests-Release.xcconfig @@ -0,0 +1,12 @@ +// +// StripeiOS Tests-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS Tests-Shared.xcconfig" + +//********************************************// +//* Currently no build settings in this file *// +//********************************************// diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/StripeiOS Tests-Shared.xcconfig b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/StripeiOS Tests-Shared.xcconfig new file mode 100644 index 0000000..3078777 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/StripeiOS Tests-Shared.xcconfig @@ -0,0 +1,89 @@ +// +// StripeiOS Tests-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +CLANG_CXX_LANGUAGE_STANDARD = gnu++0x + + +CLANG_CXX_LIBRARY = libc++ + + +CLANG_ENABLE_MODULES = YES + + +CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR + + +CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR + + +// Code Signing Identity +// +// The name ("common name") of a valid code-signing certificate in a keychain within your +// keychain path. A missing or invalid certificate will cause a build error. + +CODE_SIGN_IDENTITY = iPhone Developer + + +// Framework Search Paths +// +// This is a list of paths to folders containing frameworks to be searched by the +// compiler for both included or imported header files when compiling C, Objective-C, +// C++, or Objective-C++, and by the linker for frameworks used by the product. Paths are +// delimited by whitespace, so any paths with spaces in them need to be properly quoted. +// [-F] + +FRAMEWORK_SEARCH_PATHS = $(inherited) $(PROJECT_DIR)/Carthage/Build/iOS + +GCC_TREAT_WARNINGS_AS_ERRORS = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR + + +GCC_WARN_SHADOW = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE + +CLANG_WARN_ASSIGN_ENUM = YES +//CLANG_WARN_DOCUMENTATION_COMMENTS = YES not enabled because of errors in FBSnapshotTestCase headers +CLANG_WARN_INFINITE_RECURSION = YES +CLANG_WARN_SUSPICIOUS_MOVE = YES +GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES +GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES +GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES +GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES +GCC_WARN_UNKNOWN_PRAGMAS = YES +GCC_WARN_UNUSED_LABEL = YES +GCC_WARN_UNUSED_PARAMETER = YES + + +// Header Search Paths +// +// This is a list of paths to folders to be searched by the compiler for included or +// imported header files when compiling C, Objective-C, C++, or Objective-C++. Paths are +// delimited by whitespace, so any paths with spaces in them need to be properly quoted. +// [-I] + +HEADER_SEARCH_PATHS = $(inherited) + + +// Runpath Search Paths +// +// This is a list of paths to be added to the runpath search path list for the image +// being created. At runtime, dyld uses the runpath when searching for dylibs whose load +// path begins with '@rpath/'. [-rpath] + +LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @loader_path/Frameworks + + +OTHER_CFLAGS = + +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES + +LIBRARY_SEARCH_PATHS = $(inherited) diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/StripeiOS-Debug.xcconfig b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/StripeiOS-Debug.xcconfig new file mode 100644 index 0000000..99304b4 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/StripeiOS-Debug.xcconfig @@ -0,0 +1,12 @@ +// +// StripeiOS-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS-Shared.xcconfig" + + +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited) +SWIFT_ACTIVE_COMPILATION_CONDITIONS[arch=*] = DEBUG $(inherited) diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/StripeiOS-Release.xcconfig b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/StripeiOS-Release.xcconfig new file mode 100644 index 0000000..3d79290 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/StripeiOS-Release.xcconfig @@ -0,0 +1,10 @@ +// +// StripeiOS-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS-Shared.xcconfig" + +APPLICATION_EXTENSION_API_ONLY = NO diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/StripeiOS-Shared.xcconfig b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/StripeiOS-Shared.xcconfig new file mode 100644 index 0000000..b274c8d --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/StripeiOS-Shared.xcconfig @@ -0,0 +1,159 @@ +// +// StripeiOS-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Version.xcconfig" + +APPLICATION_EXTENSION_API_ONLY = YES + +CLANG_CXX_LANGUAGE_STANDARD = gnu++0x + + +CLANG_CXX_LIBRARY = libc++ + + +CLANG_ENABLE_MODULES = YES + + +CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR + + +CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR + +CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES +CLANG_WARN_INFINITE_RECURSION = YES +CLANG_WARN_SUSPICIOUS_MOVE = YES +CLANG_WARN_ASSIGN_ENUM = YES +CLANG_WARN_DOCUMENTATION_COMMENTS = YES +CLANG_WARN_UNGUARDED_AVAILABILITY = YES + +// Code Signing Identity +// +// The name ("common name") of a valid code-signing certificate in a keychain within your +// keychain path. A missing or invalid certificate will cause a build error. + +CODE_SIGN_IDENTITY[sdk=iphoneos*] = + +// Defines Module +// +// If enabled, the product will be treated as defining its own module. This enables +// automatic production of LLVM module map files when appropriate, and allows the product +// to be imported as a module. + +DEFINES_MODULE = YES + + +// Compatibility Version +// +// Determines the compatibility version of the resulting library, bundle, or framework +// binary. + +DYLIB_COMPATIBILITY_VERSION = 1 + + +// Current Library Version +// +// This setting defines the the current version of any framework built by the project. +// Like "Current Project Version", the value must be an integer or floating point number +// like 57 or 365.8. By default it is set to $(CURRENT_PROJECT_VERSION). + +DYLIB_CURRENT_VERSION = 1 + + +// Dynamic Library Install Name Base +// +// Sets the base value for the internal "install path" (LC_ID_DYLIB) in a dynamic +// library. This will be combined with the EXECUTABLE_PATH to form the full install path. +// Setting LD_DYLIB_INSTALL_NAME directly will override this setting. This setting +// defaults to the target's INSTALL_PATH. It is ignored when building any product other +// than a dynamic library. [-install_name] + +DYLIB_INSTALL_NAME_BASE = @rpath + + +GCC_TREAT_WARNINGS_AS_ERRORS = YES +SWIFT_TREAT_WARNINGS_AS_ERRORS = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR + + +GCC_WARN_SHADOW = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE + +GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES +GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES +GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES +GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES +GCC_WARN_UNKNOWN_PRAGMAS = YES +GCC_WARN_UNUSED_LABEL = YES +GCC_WARN_UNUSED_PARAMETER = YES + + +// Installation Directory +// +// The directory to install the build products in. This path is prepended by the +// 'Installation Build Products Location' (i.e., $(DSTROOT)). + +INSTALL_PATH = $(LOCAL_LIBRARY_DIR)/Frameworks + + +// Runpath Search Paths +// +// This is a list of paths to be added to the runpath search path list for the image +// being created. At runtime, dyld uses the runpath when searching for dylibs whose load +// path begins with '@rpath/'. [-rpath] + +LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @loader_path/Frameworks + + +// Skip Install +// +// Activating this setting when deployment locations are used causes the product to be +// built into an alternative location instead of the install location. + +SKIP_INSTALL = YES + + +// Targeted Device Family +// +// The build system uses the selected device to set the correct value for the +// UIDeviceFamily key it adds to the target's Info.plist file. +// +// iPhone - Application is built for iPhone and iPod touch. +// iPad - Application is built for iPad. +// iPhone/iPad - Application is built Universal for iPhone, iPod touch, and iPad. + +TARGETED_DEVICE_FAMILY = 1,2 + + +// Versioning Name Prefix +// +// Used as a prefix for the name of the version info symbol in the generated versioning +// source file. If you prefix your exported symbols you will probably want to set this +// to the same prefix. + +VERSION_INFO_PREFIX = + + +// Versioning System +// +// Selects the process used for version-stamping generated files. +// +// None - Use no versioning system. [] +// Apple Generic - Use the current project version setting. [apple-generic] + +VERSIONING_SYSTEM = apple-generic + +FRAMEWORK_SEARCH_PATHS = $(inherited) +HEADER_SEARCH_PATHS = $(inherited) + +LIBRARY_SEARCH_PATHS = $(inherited) $(CONFIGURATION_BUILD_DIR) + +// Generate .swiftinterface files +BUILD_LIBRARY_FOR_DISTRIBUTION = YES diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Version.xcconfig b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Version.xcconfig new file mode 100644 index 0000000..385e5d1 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/Version.xcconfig @@ -0,0 +1,9 @@ +// +// Version.xcconfig +// +// This file was generated by update_version.sh +// Do not edit this file directly. +// Instead, edit the `VERSION` file and run `ci_scripts/update_version.sh` +// + +CURRENT_PROJECT_VERSION=21.12.0 diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/_CodeSignature/CodeResources b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000..79efe36 --- /dev/null +++ b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/_CodeSignature/CodeResources @@ -0,0 +1,1133 @@ + + + + + files + + Headers/StripeCore-Swift.h + + QfwX2oNtJREZJw1j2UpoMhOxcOQ= + + Headers/StripeCore.h + + 6bbpm19UXt7oJhpraG6UCaL+dyE= + + Info.plist + + S5/7UDCLn2pCqWsivorWz7W5FMk= + + Modules/StripeCore.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + OA8izkMQguinPXHiuPxAkcjklUg= + + Modules/StripeCore.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + Ng41gV7Ml8R1MPfGLJAT4vHMGuA= + + Modules/StripeCore.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + Jo5OYxZnBiMIbFhzp1OOmDz/BWU= + + Modules/StripeCore.swiftmodule/arm64.swiftdoc + + OA8izkMQguinPXHiuPxAkcjklUg= + + Modules/StripeCore.swiftmodule/arm64.swiftinterface + + Ng41gV7Ml8R1MPfGLJAT4vHMGuA= + + Modules/StripeCore.swiftmodule/arm64.swiftmodule + + Jo5OYxZnBiMIbFhzp1OOmDz/BWU= + + Modules/StripeCore.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + cdv/SGWHcFxPkWAWGYEAgvFsceg= + + Modules/StripeCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + e2WjOxYZwD+EFH9shHD6qECtAyI= + + Modules/StripeCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + oEKHwxp3zal0gaQ0OV2nZ3fOi4E= + + Modules/StripeCore.swiftmodule/x86_64.swiftdoc + + cdv/SGWHcFxPkWAWGYEAgvFsceg= + + Modules/StripeCore.swiftmodule/x86_64.swiftinterface + + e2WjOxYZwD+EFH9shHD6qECtAyI= + + Modules/StripeCore.swiftmodule/x86_64.swiftmodule + + oEKHwxp3zal0gaQ0OV2nZ3fOi4E= + + Modules/module.modulemap + + w7mbDxr3qfQx+hcVC8hWslQE5Po= + + Project-Debug.xcconfig + + n4N1KH/HDtAtM02FYLggVjQN/hA= + + Project-Release.xcconfig + + yoRzT4fJxZpKDrrYlW7GS/vPrX8= + + Project-Shared.xcconfig + + QpmL2mmJ8wleeTz4TJKCfn+VKb0= + + StripeiOS Tests-Debug.xcconfig + + 457iXHnhn1RB6CUwa4CK+jtCGkc= + + StripeiOS Tests-Release.xcconfig + + 0nTqLgIAKAMGub62qGXm1xhM1tU= + + StripeiOS Tests-Shared.xcconfig + + Dv2bE7zACQNBiNlKd+3VR0zJksY= + + StripeiOS-Debug.xcconfig + + 3PWe/ZA/fRAMhGidkHXLeW+HDfU= + + StripeiOS-Release.xcconfig + + ePihbKV1tMa/2TA7icckPYBl0DQ= + + StripeiOS-Shared.xcconfig + + sXIXJbd9sKiL8f3lhOaM0IYMlZE= + + Version.xcconfig + + 7h8EtEryCj8S1RVfu7tJcZkNF/k= + + bg-BG.lproj/Localizable.strings + + hash + + HMRyGWMLb7ctG7g6hZrU0m9HINk= + + optional + + + ca-ES.lproj/Localizable.strings + + hash + + 4dgm3KfG9dB+RczUEKuUyxeIWbM= + + optional + + + cs-CZ.lproj/Localizable.strings + + hash + + SqIFdAlpVfBVbm/0GtzDy3DqyRg= + + optional + + + da.lproj/Localizable.strings + + hash + + WJ5cyAz5tWIHWUAVv4f/g/jXh7s= + + optional + + + de.lproj/Localizable.strings + + hash + + gKojn932WlmZg6m8l5uFhHMvc+c= + + optional + + + el-GR.lproj/Localizable.strings + + hash + + Vd4kLY7lvPj8xk38TfXd092ikkk= + + optional + + + en-GB.lproj/Localizable.strings + + hash + + Xz2eeIIjO+WXnT93rNe6p4l6SH8= + + optional + + + en.lproj/Localizable.strings + + hash + + UJPMocDEMe5J1cmFkHkCJk+3hVA= + + optional + + + es-419.lproj/Localizable.strings + + hash + + el9lx4+SbEeAOoW7ajTDB2TOucY= + + optional + + + es.lproj/Localizable.strings + + hash + + gukkUU64GQ90zaaKbIZUoYvNMfk= + + optional + + + et-EE.lproj/Localizable.strings + + hash + + bNU2lB/Vxgj3Q80RthOAfTott98= + + optional + + + fi.lproj/Localizable.strings + + hash + + RKnuk4uVtqH0ibCJwee9iVzY/R0= + + optional + + + fil.lproj/Localizable.strings + + hash + + 90QYd6a/rgVH325FS84iHr0GCew= + + optional + + + fr-CA.lproj/Localizable.strings + + hash + + gdrFRuaU8V9oKxONR2OllT585fA= + + optional + + + fr.lproj/Localizable.strings + + hash + + XsOY11fluQpbXZ3rpiBAQV+Ms1I= + + optional + + + hr.lproj/Localizable.strings + + hash + + ioEXMiay5Cwwh/iuZzEsiCvJZCE= + + optional + + + hu.lproj/Localizable.strings + + hash + + 2aE38mi2QaHvxF+YlKnzA00Eer8= + + optional + + + id.lproj/Localizable.strings + + hash + + 3FaesHdpQgJsRx3GauabT5KcLTo= + + optional + + + it.lproj/Localizable.strings + + hash + + Kvz8zwV3rKqdesI5p4HqehjcgFY= + + optional + + + ja.lproj/Localizable.strings + + hash + + ldcOBE+tjmCqmwIidVkiHMIzYp8= + + optional + + + ko.lproj/Localizable.strings + + hash + + a97lM1NZglo8e4Rriv/atsmEI+k= + + optional + + + lt-LT.lproj/Localizable.strings + + hash + + NKjjMDI+dqjLB1zBP7vfpXBkRG0= + + optional + + + lv-LV.lproj/Localizable.strings + + hash + + STCk8T8C5E+qlCxkqhP/3N0INZ8= + + optional + + + ms-MY.lproj/Localizable.strings + + hash + + kccQ241A/g5oM0KQ+lZVBfXyabs= + + optional + + + mt.lproj/Localizable.strings + + hash + + 9QbrccVSudJ0tDePucYITeghgo4= + + optional + + + nb.lproj/Localizable.strings + + hash + + 57l7xGov93yc41sWNF8qRgUAp54= + + optional + + + nl.lproj/Localizable.strings + + hash + + eRv/+ZTA1Cc+8ujZbIWQARm4AAE= + + optional + + + nn-NO.lproj/Localizable.strings + + hash + + kDNdy1N1OuRDTrPfYh74D2jb90A= + + optional + + + pl-PL.lproj/Localizable.strings + + hash + + ha8AW8yCdR32B5Y+UCAvkZ7jl3k= + + optional + + + pt-BR.lproj/Localizable.strings + + hash + + PeYyhmukQ6msXgHuM8jezahWT+o= + + optional + + + pt-PT.lproj/Localizable.strings + + hash + + N0ALKjISNLBbWBQqIQkdpVq/PSg= + + optional + + + ro-RO.lproj/Localizable.strings + + hash + + WQ1yXUo6hwEA1G9hSqAOWKZteiI= + + optional + + + ru.lproj/Localizable.strings + + hash + + CW//zgdNT22YM3nON/RcLmZPkvM= + + optional + + + sk-SK.lproj/Localizable.strings + + hash + + RCRf0HhcSYSBN0YW9kNxCuZtQJs= + + optional + + + sl-SI.lproj/Localizable.strings + + hash + + J0MrV3lWz2NZAarEWt803pgtmYU= + + optional + + + sv.lproj/Localizable.strings + + hash + + VTUjBgC51/h09eIehAxmubmFSSE= + + optional + + + tk.lproj/Localizable.strings + + hash + + fAazuAX+6m6GfVzbvl0fcX5ACKg= + + optional + + + tr.lproj/Localizable.strings + + hash + + WDKwLSWf+2Y52J9KOc5UiIMIq5Q= + + optional + + + vi.lproj/Localizable.strings + + hash + + 3NL7yKmvd17ZwP/AapH9tIqkcoA= + + optional + + + zh-HK.lproj/Localizable.strings + + hash + + Z0PFiWO+ZQUdw07NbmRE/xMU9gc= + + optional + + + zh-Hans.lproj/Localizable.strings + + hash + + LifF681J/cGCwIMSczmnsKCdikU= + + optional + + + zh-Hant.lproj/Localizable.strings + + hash + + WYGxNdwzJ7DBqKiFhx1qs7GLEzI= + + optional + + + + files2 + + Headers/StripeCore-Swift.h + + hash2 + + +uLhlBDgFAoeNH1N4bah2P8WIRuR7IsdsSDd6la6+nQ= + + + Headers/StripeCore.h + + hash2 + + RweM9y+wkqWZptH8h83sQ8yurZ7t4BXrr8UpqUQczFA= + + + Modules/StripeCore.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + hash2 + + 5kEpSEl7MsM94v94eY0DrMytAUYGjsAoZjJb5f1KLgM= + + + Modules/StripeCore.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + hash2 + + iLWcvOw+b30PN/XlEZUw248yVwbLCVCrLTWaZTDHN/k= + + + Modules/StripeCore.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + hash2 + + uxmyfKqCKKFUEPgZZVi1kPrFWrhPBZcsEkJCh62A/0c= + + + Modules/StripeCore.swiftmodule/arm64.swiftdoc + + hash2 + + 5kEpSEl7MsM94v94eY0DrMytAUYGjsAoZjJb5f1KLgM= + + + Modules/StripeCore.swiftmodule/arm64.swiftinterface + + hash2 + + iLWcvOw+b30PN/XlEZUw248yVwbLCVCrLTWaZTDHN/k= + + + Modules/StripeCore.swiftmodule/arm64.swiftmodule + + hash2 + + uxmyfKqCKKFUEPgZZVi1kPrFWrhPBZcsEkJCh62A/0c= + + + Modules/StripeCore.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + hash2 + + LzKtD3A3IVYmrB74pZDnacPVJSM0FpbLHj+x+9OvCVE= + + + Modules/StripeCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + hash2 + + 6At1Q4c1XyQQnKRhrJa7YkOklCUxHY5YbCNmixDDqSU= + + + Modules/StripeCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + hash2 + + D/tmw+OaWqy17hRrFStXAGW4aU7tts+/1bryD3KuoEI= + + + Modules/StripeCore.swiftmodule/x86_64.swiftdoc + + hash2 + + LzKtD3A3IVYmrB74pZDnacPVJSM0FpbLHj+x+9OvCVE= + + + Modules/StripeCore.swiftmodule/x86_64.swiftinterface + + hash2 + + 6At1Q4c1XyQQnKRhrJa7YkOklCUxHY5YbCNmixDDqSU= + + + Modules/StripeCore.swiftmodule/x86_64.swiftmodule + + hash2 + + D/tmw+OaWqy17hRrFStXAGW4aU7tts+/1bryD3KuoEI= + + + Modules/module.modulemap + + hash2 + + k+FItkeqcv8gh5BxVT5VYer4gTYPjQ1IABZl6JjOu8w= + + + Project-Debug.xcconfig + + hash2 + + kHoE/vfj0FcaEyk5a5O3K/XxflMeFXIC/a6yIIbNZdM= + + + Project-Release.xcconfig + + hash2 + + Ipf70x5Q5KKOWpMcAgr9EZLgQnXa1mn2I7GEN+JYF5w= + + + Project-Shared.xcconfig + + hash2 + + Twml4dKf2KXIbf21/+GmfDP3bi95I7/1540Qm+njxVE= + + + StripeiOS Tests-Debug.xcconfig + + hash2 + + uGVcgGik5SaJNbb2DOeEMtNQekkLmFTOMU208gSUpOg= + + + StripeiOS Tests-Release.xcconfig + + hash2 + + aei5qbaWUFeeU4+1EnWKiUYXju20d2DsZ8st6clNmjE= + + + StripeiOS Tests-Shared.xcconfig + + hash2 + + BPoQ19I+Jl8V6Og3rE0faUDimfMVIMcK7SpLegEzqHw= + + + StripeiOS-Debug.xcconfig + + hash2 + + pbwxxIUXIqn2E43DR+cv/cppQs18Xubm514KVZ7uNE8= + + + StripeiOS-Release.xcconfig + + hash2 + + TEIZY5oO6Uf7ZI8hO9d360gObHWb0BZEbbajcyx9sSI= + + + StripeiOS-Shared.xcconfig + + hash2 + + BboBmDBwEMCs6Bp4x/EbOHTaorFmBZz7lZNNO8HkKQE= + + + Version.xcconfig + + hash2 + + INjrVf3IWEihwmcp5YKB7z+/x09lU0xrzSwAIQV1FtE= + + + bg-BG.lproj/Localizable.strings + + hash2 + + yJGaqkNn9djUkBWmhguWMC/6+K1ubgFgYKxhYUiRrx4= + + optional + + + ca-ES.lproj/Localizable.strings + + hash2 + + pFTIV6UnYhUZxerjNa5iVQm/3nxnXOTCDWEfaggi9mE= + + optional + + + cs-CZ.lproj/Localizable.strings + + hash2 + + QF15VymcjeHfEIpyN39S6Pgls36RJ/qJS05T9fOmnqc= + + optional + + + da.lproj/Localizable.strings + + hash2 + + NA0Cg3lBWd5YKQJwSr9wO/l4J7x2zbIQQiwWfzxxTD4= + + optional + + + de.lproj/Localizable.strings + + hash2 + + nramBL/IFrbmpQm+ToL9sCdmBzVf8wJU+APHrI/sMaY= + + optional + + + el-GR.lproj/Localizable.strings + + hash2 + + QgtG0rIdvVVE4owQIIPHjSkR6jHGm+apyR4HfdGrnes= + + optional + + + en-GB.lproj/Localizable.strings + + hash2 + + 8WWHdgniVXk8idUGxovVF6bwR+X81tuD10ao/QvsRWw= + + optional + + + en.lproj/Localizable.strings + + hash2 + + rfb2s4lwmLyxbZu8kN83UQ68UYRcDoOp60mh29dVDlU= + + optional + + + es-419.lproj/Localizable.strings + + hash2 + + fcktLgo0IZZppTw4QZzIkrSijv5A4RWxREvc7klNI8Y= + + optional + + + es.lproj/Localizable.strings + + hash2 + + g/UmJeOwhSVxzzTtRNEe35slT/9zH0r4Wz+ZVTz0O+s= + + optional + + + et-EE.lproj/Localizable.strings + + hash2 + + +QdXj8RSWGgIipuVsRnYEfcLj9T1PCsmtDBXw/smr00= + + optional + + + fi.lproj/Localizable.strings + + hash2 + + sw7wCC6zHI+xFWm4neoNsX7ldquTzGbLCEPJpIre2rk= + + optional + + + fil.lproj/Localizable.strings + + hash2 + + oBuygXYadiAt4gAzdKWZfJTxRUcUijd1tEOMcp+ywDU= + + optional + + + fr-CA.lproj/Localizable.strings + + hash2 + + xQPKwCSwWIZvoF3J/cYtj2jfJZMGnAjLhct+kOUBhJ0= + + optional + + + fr.lproj/Localizable.strings + + hash2 + + WUXygg5exyng9vd52cw9ZJrejh45/HlkpMeY23t1PeI= + + optional + + + hr.lproj/Localizable.strings + + hash2 + + w2qa0/fAHNDg+wJqQ/OxarsEgmU5bmFcySiPiAflb0Q= + + optional + + + hu.lproj/Localizable.strings + + hash2 + + q15nfxF9u/2mBSwPKh2uaiFTnTehQnUZNamce9ZU3sU= + + optional + + + id.lproj/Localizable.strings + + hash2 + + 5JF+D7ZBmD3M80Cmw2yc46SsJrv7J+OUXIetCAWouXA= + + optional + + + it.lproj/Localizable.strings + + hash2 + + vIV1zx1qZL0Oy4mdVCJQWeD+wCV1qtPPXlHZrM1UKfA= + + optional + + + ja.lproj/Localizable.strings + + hash2 + + dXHqtlbiOjz3S2H+en3wRDRybg93lbdy8G4MMdzUMy8= + + optional + + + ko.lproj/Localizable.strings + + hash2 + + knJjfIorE7qJHCNuwWMAHdq1KBJWMy3fTW2ogxFmbEI= + + optional + + + lt-LT.lproj/Localizable.strings + + hash2 + + s0LheGmTDoch45xecokF0i8ClviERY7JvoR3AH2+wzo= + + optional + + + lv-LV.lproj/Localizable.strings + + hash2 + + Lg4LbVwv8Crg2gFfJ7S4baExZCNJ+zKFHKZXzGGBeXM= + + optional + + + ms-MY.lproj/Localizable.strings + + hash2 + + 5jCrlNstRAqtAkdacYOf/P7T6+8/k2gbf/AtXFoBaRk= + + optional + + + mt.lproj/Localizable.strings + + hash2 + + nPZDApqKWi9EQ6GjYkzh09magvZ8tdgKSr07ZiWyD3Q= + + optional + + + nb.lproj/Localizable.strings + + hash2 + + V5HXHDpmm8McxBCg3I1G0rQ+z8151KMY5nnUUFmKBJM= + + optional + + + nl.lproj/Localizable.strings + + hash2 + + HvcZmjSoCnqa/Qg9xNjFl7lUTVEfbsoUrgH85mQiaCA= + + optional + + + nn-NO.lproj/Localizable.strings + + hash2 + + XGlcL3TAa1FBfp+Ig8Gmsa5inDk+Fcf41CXRwNqejpI= + + optional + + + pl-PL.lproj/Localizable.strings + + hash2 + + S+gZ171WrchdMHTC+KMEl0anatWAOAGqdYMMszIxVc4= + + optional + + + pt-BR.lproj/Localizable.strings + + hash2 + + frHWcEne7jrwB2dgk6XpKaj/ypt7KpJ2dwTjdedcQ6I= + + optional + + + pt-PT.lproj/Localizable.strings + + hash2 + + SJxL1f5I3XgwkdcfNg4eFwkXwp8a4k50Msnn1mvThOM= + + optional + + + ro-RO.lproj/Localizable.strings + + hash2 + + 8sq9QXNfhyQV1BY2d2zDAfcsBiP7YvGrQKvuyUnWkZU= + + optional + + + ru.lproj/Localizable.strings + + hash2 + + damohiY6cgkeTR0MuUFwujfhw756MFIBL9T3+6lbglg= + + optional + + + sk-SK.lproj/Localizable.strings + + hash2 + + rohrRkQD0woEIQoM46jqoAQZoZP2xdJ4F9oFlIacZns= + + optional + + + sl-SI.lproj/Localizable.strings + + hash2 + + j3gGucFFxJE5arLHUJwnQKQHe/TPYT46KXxa7lac8x8= + + optional + + + sv.lproj/Localizable.strings + + hash2 + + dyBaJ7efCbkI3NrwT+au0ZBt4hgjDw7pNk7jMpJAL6Q= + + optional + + + tk.lproj/Localizable.strings + + hash2 + + TXTfxbJ5gvQqI9LrRv80+/V0NaAF9ePihCpst7jKt94= + + optional + + + tr.lproj/Localizable.strings + + hash2 + + NtBQk4nzQWLBJ2S+bcBaVWWz05r4q1hHKkjuB3nrpO8= + + optional + + + vi.lproj/Localizable.strings + + hash2 + + E0+HJEgPnsszBo2Cwb8wEJuHo6Jx7LdotePIhPFFoLk= + + optional + + + zh-HK.lproj/Localizable.strings + + hash2 + + ENBHMatkvXK6VEziKlBM8JVDpDXi/9zGDotf1qDTwF0= + + optional + + + zh-Hans.lproj/Localizable.strings + + hash2 + + +R+jkgAtKY477losZUgfqRJ0vtkO5nx7Nd/K1yH/eCM= + + optional + + + zh-Hant.lproj/Localizable.strings + + hash2 + + KEVpPAPiOAX3AGeJUX/9U/pF7t39QhJy+Fg8USGmRy4= + + optional + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/bg-BG.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/bg-BG.lproj/Localizable.strings new file mode 100644 index 0000000..31e1c2b Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/bg-BG.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/ca-ES.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/ca-ES.lproj/Localizable.strings new file mode 100644 index 0000000..4cb5f2b Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/ca-ES.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/cs-CZ.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/cs-CZ.lproj/Localizable.strings new file mode 100644 index 0000000..dc415f9 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/cs-CZ.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/da.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/da.lproj/Localizable.strings new file mode 100644 index 0000000..bafff5f Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/da.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/de.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/de.lproj/Localizable.strings new file mode 100644 index 0000000..fb51537 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/de.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/el-GR.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/el-GR.lproj/Localizable.strings new file mode 100644 index 0000000..254404a Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/el-GR.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/en-GB.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/en-GB.lproj/Localizable.strings new file mode 100644 index 0000000..f0d1627 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/en-GB.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/en.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/en.lproj/Localizable.strings new file mode 100644 index 0000000..e1fcc11 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/en.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/es-419.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/es-419.lproj/Localizable.strings new file mode 100644 index 0000000..a94e775 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/es-419.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/es.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/es.lproj/Localizable.strings new file mode 100644 index 0000000..a934231 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/es.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/et-EE.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/et-EE.lproj/Localizable.strings new file mode 100644 index 0000000..7fedf37 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/et-EE.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/fi.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/fi.lproj/Localizable.strings new file mode 100644 index 0000000..b07a445 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/fi.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/fil.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/fil.lproj/Localizable.strings new file mode 100644 index 0000000..61d8201 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/fil.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/fr-CA.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/fr-CA.lproj/Localizable.strings new file mode 100644 index 0000000..68b5506 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/fr-CA.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/fr.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/fr.lproj/Localizable.strings new file mode 100644 index 0000000..e18c627 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/fr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/hr.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/hr.lproj/Localizable.strings new file mode 100644 index 0000000..fb69c87 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/hr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/hu.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/hu.lproj/Localizable.strings new file mode 100644 index 0000000..da4f072 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/hu.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/id.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/id.lproj/Localizable.strings new file mode 100644 index 0000000..01f7bc7 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/id.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/it.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/it.lproj/Localizable.strings new file mode 100644 index 0000000..755fdfb Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/it.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/ja.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/ja.lproj/Localizable.strings new file mode 100644 index 0000000..e1ec960 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/ja.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/ko.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/ko.lproj/Localizable.strings new file mode 100644 index 0000000..d3af490 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/ko.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/lt-LT.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/lt-LT.lproj/Localizable.strings new file mode 100644 index 0000000..9c784c1 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/lt-LT.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/lv-LV.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/lv-LV.lproj/Localizable.strings new file mode 100644 index 0000000..0dedf92 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/lv-LV.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/ms-MY.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/ms-MY.lproj/Localizable.strings new file mode 100644 index 0000000..b3bfac2 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/ms-MY.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/mt.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/mt.lproj/Localizable.strings new file mode 100644 index 0000000..d7ba8ce Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/mt.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/nb.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/nb.lproj/Localizable.strings new file mode 100644 index 0000000..095f618 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/nb.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/nl.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/nl.lproj/Localizable.strings new file mode 100644 index 0000000..051e6fb Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/nl.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/nn-NO.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/nn-NO.lproj/Localizable.strings new file mode 100644 index 0000000..4b828d3 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/nn-NO.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/pl-PL.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/pl-PL.lproj/Localizable.strings new file mode 100644 index 0000000..685be9c Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/pl-PL.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/pt-BR.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/pt-BR.lproj/Localizable.strings new file mode 100644 index 0000000..511c39a Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/pt-BR.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/pt-PT.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/pt-PT.lproj/Localizable.strings new file mode 100644 index 0000000..1699d80 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/pt-PT.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/ro-RO.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/ro-RO.lproj/Localizable.strings new file mode 100644 index 0000000..58b6865 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/ro-RO.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/ru.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/ru.lproj/Localizable.strings new file mode 100644 index 0000000..dee34b0 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/ru.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/sk-SK.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/sk-SK.lproj/Localizable.strings new file mode 100644 index 0000000..e90afab Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/sk-SK.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/sl-SI.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/sl-SI.lproj/Localizable.strings new file mode 100644 index 0000000..b0ab2f2 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/sl-SI.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/sv.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/sv.lproj/Localizable.strings new file mode 100644 index 0000000..4fefda8 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/sv.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/tk.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/tk.lproj/Localizable.strings new file mode 100644 index 0000000..c41aa8d Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/tk.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/tr.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/tr.lproj/Localizable.strings new file mode 100644 index 0000000..8b7808c Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/tr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/vi.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/vi.lproj/Localizable.strings new file mode 100644 index 0000000..f1bc1b2 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/vi.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/zh-HK.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/zh-HK.lproj/Localizable.strings new file mode 100644 index 0000000..83727de Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/zh-HK.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/zh-Hans.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/zh-Hans.lproj/Localizable.strings new file mode 100644 index 0000000..275e41d Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/zh-Hans.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/zh-Hant.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/zh-Hant.lproj/Localizable.strings new file mode 100644 index 0000000..8252bf0 Binary files /dev/null and b/stripe_ios/ios/platform/StripeCore.xcframework/ios-arm64_x86_64-simulator/StripeCore.framework/zh-Hant.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/Info.plist b/stripe_ios/ios/platform/StripeIdentity.xcframework/Info.plist new file mode 100644 index 0000000..cd198db --- /dev/null +++ b/stripe_ios/ios/platform/StripeIdentity.xcframework/Info.plist @@ -0,0 +1,40 @@ + + + + + AvailableLibraries + + + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + StripeIdentity.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + LibraryIdentifier + ios-arm64 + LibraryPath + StripeIdentity.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/Headers/StripeIdentity-Swift.h b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/Headers/StripeIdentity-Swift.h new file mode 100644 index 0000000..c624bd7 --- /dev/null +++ b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/Headers/StripeIdentity-Swift.h @@ -0,0 +1,215 @@ +// Generated by Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +#ifndef STRIPEIDENTITY_SWIFT_H +#define STRIPEIDENTITY_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# 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 +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="StripeIdentity",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/Headers/StripeIdentity.h b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/Headers/StripeIdentity.h new file mode 100644 index 0000000..44aeedc --- /dev/null +++ b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/Headers/StripeIdentity.h @@ -0,0 +1,18 @@ +// +// StripeIdentity.h +// StripeIdentity +// +// Created by Mel Ludowise on 7/6/21. +// + +#import + +//! Project version number for StripeIdentity. +FOUNDATION_EXPORT double StripeIdentityVersionNumber; + +//! Project version string for StripeIdentity. +FOUNDATION_EXPORT const unsigned char StripeIdentityVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/Info.plist b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/Info.plist new file mode 100644 index 0000000..a23c028 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/Info.plist differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/Modules/StripeIdentity.swiftmodule/arm64-apple-ios.swiftdoc b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/Modules/StripeIdentity.swiftmodule/arm64-apple-ios.swiftdoc new file mode 100644 index 0000000..641b012 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/Modules/StripeIdentity.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/Modules/StripeIdentity.swiftmodule/arm64-apple-ios.swiftinterface b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/Modules/StripeIdentity.swiftmodule/arm64-apple-ios.swiftinterface new file mode 100644 index 0000000..24d2afa --- /dev/null +++ b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/Modules/StripeIdentity.swiftmodule/arm64-apple-ios.swiftinterface @@ -0,0 +1,45 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeIdentity +import AVKit +import Accelerate +import CoreGraphics +import CoreImage +import CoreML +import CoreVideo +import Foundation +import StripeCameraCore +@_exported import StripeCore +@_exported import StripeIdentity +import StripeUICore +import Swift +import UIKit +import Vision +import WebKit +@_hasMissingDesignatedInitializers final public class IdentityVerificationSheet { + @frozen public enum VerificationFlowResult { + case flowCompleted + case flowCanceled + case flowFailed(error: Swift.Error) + } + final public let verificationSessionClientSecret: Swift.String + convenience public init(verificationSessionClientSecret: Swift.String) + @available(iOS 14.3, *) + @available(iOSApplicationExtension, unavailable) + final public func present(from presentingViewController: UIKit.UIViewController, completion: @escaping (StripeIdentity.IdentityVerificationSheet.VerificationFlowResult) -> Swift.Void) + @objc deinit +} +public enum IdentityVerificationSheetError : Swift.Error { + case invalidClientSecret + case unknown(debugDescription: Swift.String) +} +extension IdentityVerificationSheetError : Foundation.LocalizedError { + public var localizedDescription: Swift.String { + get + } +} +extension IdentityVerificationSheetError : Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + get + } +} diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/Modules/StripeIdentity.swiftmodule/arm64.swiftdoc b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/Modules/StripeIdentity.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..641b012 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/Modules/StripeIdentity.swiftmodule/arm64.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/Modules/StripeIdentity.swiftmodule/arm64.swiftinterface b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/Modules/StripeIdentity.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..24d2afa --- /dev/null +++ b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/Modules/StripeIdentity.swiftmodule/arm64.swiftinterface @@ -0,0 +1,45 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeIdentity +import AVKit +import Accelerate +import CoreGraphics +import CoreImage +import CoreML +import CoreVideo +import Foundation +import StripeCameraCore +@_exported import StripeCore +@_exported import StripeIdentity +import StripeUICore +import Swift +import UIKit +import Vision +import WebKit +@_hasMissingDesignatedInitializers final public class IdentityVerificationSheet { + @frozen public enum VerificationFlowResult { + case flowCompleted + case flowCanceled + case flowFailed(error: Swift.Error) + } + final public let verificationSessionClientSecret: Swift.String + convenience public init(verificationSessionClientSecret: Swift.String) + @available(iOS 14.3, *) + @available(iOSApplicationExtension, unavailable) + final public func present(from presentingViewController: UIKit.UIViewController, completion: @escaping (StripeIdentity.IdentityVerificationSheet.VerificationFlowResult) -> Swift.Void) + @objc deinit +} +public enum IdentityVerificationSheetError : Swift.Error { + case invalidClientSecret + case unknown(debugDescription: Swift.String) +} +extension IdentityVerificationSheetError : Foundation.LocalizedError { + public var localizedDescription: Swift.String { + get + } +} +extension IdentityVerificationSheetError : Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + get + } +} diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/Modules/module.modulemap b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/Modules/module.modulemap new file mode 100644 index 0000000..7af4aa3 --- /dev/null +++ b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module StripeIdentity { + umbrella header "StripeIdentity.h" + + export * + module * { export * } +} + +module StripeIdentity.Swift { + header "StripeIdentity-Swift.h" + requires objc +} diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/Project-Debug.xcconfig b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/Project-Debug.xcconfig new file mode 100644 index 0000000..893a71f --- /dev/null +++ b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/Project-Debug.xcconfig @@ -0,0 +1,41 @@ +// +// Project-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Project-Shared.xcconfig" + + +// Strip Debug Symbols During Copy +// +// Activating this setting causes binary files which are copied during the build (e.g., +// in a Copy Bundle Resources or Copy Files build phase) to be stripped of debugging +// symbols. It does not cause the linked product of a target to be stripped (use Strip +// Linked Product for that). + +COPY_PHASE_STRIP = NO + + +GCC_DYNAMIC_NO_PIC = NO + + +GCC_OPTIMIZATION_LEVEL = 0 + + +STP_EXTRA_PREPROCESSOR_MACROS= +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 STRIPE_UNIT_TESTS_ENABLED $(inherited) $(STP_EXTRA_PREPROCESSOR_MACROS) + + +GCC_SYMBOLS_PRIVATE_EXTERN = NO + + +// Build Active Architecture Only +// +// When checked, only the active architecture is built for faster debugging turnaround + +ONLY_ACTIVE_ARCH = YES + + +ENABLE_TESTABILITY = YES diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/Project-Release.xcconfig b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/Project-Release.xcconfig new file mode 100644 index 0000000..7ee2591 --- /dev/null +++ b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/Project-Release.xcconfig @@ -0,0 +1,33 @@ +// +// Project-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Project-Shared.xcconfig" + + +// Strip Debug Symbols During Copy +// +// Activating this setting causes binary files which are copied during the build (e.g., +// in a Copy Bundle Resources or Copy Files build phase) to be stripped of debugging +// symbols. It does not cause the linked product of a target to be stripped (use Strip +// Linked Product for that). + +COPY_PHASE_STRIP = YES + + +ENABLE_NS_ASSERTIONS = NO + +STP_EXTRA_PREPROCESSOR_MACROS= +GCC_PREPROCESSOR_DEFINITIONS = NDEBUG $(STP_EXTRA_PREPROCESSOR_MACROS) + + +// Validate Built Product +// +// Activating this setting will cause Xcode to perform validation checks on the product +// as part of the build process. + +VALIDATE_PRODUCT = YES + diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/Project-Shared.xcconfig b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/Project-Shared.xcconfig new file mode 100644 index 0000000..3c97646 --- /dev/null +++ b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/Project-Shared.xcconfig @@ -0,0 +1,169 @@ +// +// Project-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +// Always Search User Paths +// +// If enabled both #include -style and #include "header.h"-style directives +// will search the paths in "User Header Search Paths" before "Header Search Paths", with +// the consequence that user headers (such as your own String.h header) would have +// precedence over system headers when using #include . This is done using the +// -iquote flag for the paths provided in "User Header Search Paths". If disabled and +// your compiler fully supports separate user paths, user headers will only be accessible +// with #include "header.h"-style preprocessor directives. +// +// For backwards compatibility reasons, this setting is enabled by default, but disabling +// it is strongly recommended. + +ALWAYS_SEARCH_USER_PATHS = NO + + +CLANG_ENABLE_CODE_COVERAGE = NO + + +CLANG_ENABLE_OBJC_ARC = YES + + +CLANG_WARN__DUPLICATE_METHOD_MATCH = YES + + +CLANG_WARN_BOOL_CONVERSION = YES + + +CLANG_WARN_CONSTANT_CONVERSION = YES + + +CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES + + +CLANG_WARN_EMPTY_BODY = YES + + +CLANG_WARN_ENUM_CONVERSION = YES + + +CLANG_WARN_INT_CONVERSION = YES + + +CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES + + +CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES + + +CLANG_WARN_UNREACHABLE_CODE = YES + + +CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + + +CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + +// Default value is YES_NONAGGRESSIVE. YES is "Yes, Aggressive" in Xcode 9 UI +CLANG_ANALYZER_NONNULL = YES; + + +CLANG_WARN_INFINITE_RECURSION = YES; + + +CLANG_WARN_SUSPICIOUS_MOVE = YES; + + +ENABLE_STRICT_OBJC_MSGSEND = YES + + +GCC_C_LANGUAGE_STANDARD = gnu99 + + +CLANG_WARN_STRICT_PROTOTYPES = YES + + +CLANG_WARN_RANGE_LOOP_ANALYSIS = YES + + +CLANG_WARN_COMMA = YES + + +CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES + + +// Compiler for C/C++/Objective-C +// +// The compiler to use for C, C++, and Objective-C. + +GCC_VERSION = com.apple.compilers.llvm.clang.1_0 + + +GCC_WARN_64_TO_32_BIT_CONVERSION = YES + + +GCC_WARN_ABOUT_MISSING_NEWLINE = YES + + +GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES + + +GCC_WARN_SIGN_COMPARE = YES + + +GCC_WARN_UNDECLARED_SELECTOR = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES + + +GCC_WARN_UNUSED_FUNCTION = YES + + +GCC_WARN_UNUSED_VARIABLE = YES + + +GCC_NO_COMMON_BLOCKS = YES; + +// Precompiled Header Uses Files From Build Directory +// +// This setting allows for better control of sharing precompiled prefix header files +// between projects. By default, Xcode assumes that the prefix header file may include +// header files from the build directory if the build directory is outside of the project +// directory. (Xcode cannot determine this ahead of time since other projects may not +// have been built into the shared build directory at the time the information is +// needed.) +// +// If your prefix file never includes files from the build directory you may set this to +// "NO" to improve sharing of precompiled headers. If the prefix does use files from a +// build directory which is inside your project directory, you may set this to "YES" to +// avoid unintended sharing that may result in build failures. + +PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = NO + + +// Base SDK +// +// The name or path of the base SDK being used during the build. The product will be +// built against the headers and libraries located inside the indicated SDK. This path +// will be prepended to all search paths, and will be passed through the environment to +// the compiler and linker. Additional SDKs can be specified in the ADDITIONAL_SDKS +// setting. + +SDKROOT = iphoneos + + +WARNING_CFLAGS = -Wall -Wextra -Wundef -Wfloat-equal + +// iOS Deployment Target +// +// Code will load on this and later versions of iOS. Framework APIs that are unavailable +// in earlier versions will be weak-linked; your code should check for null function +// pointers or specific system versions before calling newer APIs. +// + +IPHONEOS_DEPLOYMENT_TARGET = 11.0 + +APPLICATION_EXTENSION_API_ONLY = NO diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/StripeIdentity b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/StripeIdentity new file mode 100755 index 0000000..75cacc5 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/StripeIdentity differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/StripeiOS Tests-Debug.xcconfig b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/StripeiOS Tests-Debug.xcconfig new file mode 100644 index 0000000..d969b04 --- /dev/null +++ b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/StripeiOS Tests-Debug.xcconfig @@ -0,0 +1,13 @@ +// +// StripeiOS Tests-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +#include "StripeiOS Tests-Shared.xcconfig" + +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited) +DEBUG_INFORMATION_FORMAT = dwarf +SWIFT_ACTIVE_COMPILATION_CONDITIONS[arch=*] = DEBUG $(inherited) diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/StripeiOS Tests-Release.xcconfig b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/StripeiOS Tests-Release.xcconfig new file mode 100644 index 0000000..3b92cfd --- /dev/null +++ b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/StripeiOS Tests-Release.xcconfig @@ -0,0 +1,12 @@ +// +// StripeiOS Tests-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS Tests-Shared.xcconfig" + +//********************************************// +//* Currently no build settings in this file *// +//********************************************// diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/StripeiOS Tests-Shared.xcconfig b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/StripeiOS Tests-Shared.xcconfig new file mode 100644 index 0000000..3078777 --- /dev/null +++ b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/StripeiOS Tests-Shared.xcconfig @@ -0,0 +1,89 @@ +// +// StripeiOS Tests-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +CLANG_CXX_LANGUAGE_STANDARD = gnu++0x + + +CLANG_CXX_LIBRARY = libc++ + + +CLANG_ENABLE_MODULES = YES + + +CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR + + +CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR + + +// Code Signing Identity +// +// The name ("common name") of a valid code-signing certificate in a keychain within your +// keychain path. A missing or invalid certificate will cause a build error. + +CODE_SIGN_IDENTITY = iPhone Developer + + +// Framework Search Paths +// +// This is a list of paths to folders containing frameworks to be searched by the +// compiler for both included or imported header files when compiling C, Objective-C, +// C++, or Objective-C++, and by the linker for frameworks used by the product. Paths are +// delimited by whitespace, so any paths with spaces in them need to be properly quoted. +// [-F] + +FRAMEWORK_SEARCH_PATHS = $(inherited) $(PROJECT_DIR)/Carthage/Build/iOS + +GCC_TREAT_WARNINGS_AS_ERRORS = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR + + +GCC_WARN_SHADOW = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE + +CLANG_WARN_ASSIGN_ENUM = YES +//CLANG_WARN_DOCUMENTATION_COMMENTS = YES not enabled because of errors in FBSnapshotTestCase headers +CLANG_WARN_INFINITE_RECURSION = YES +CLANG_WARN_SUSPICIOUS_MOVE = YES +GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES +GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES +GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES +GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES +GCC_WARN_UNKNOWN_PRAGMAS = YES +GCC_WARN_UNUSED_LABEL = YES +GCC_WARN_UNUSED_PARAMETER = YES + + +// Header Search Paths +// +// This is a list of paths to folders to be searched by the compiler for included or +// imported header files when compiling C, Objective-C, C++, or Objective-C++. Paths are +// delimited by whitespace, so any paths with spaces in them need to be properly quoted. +// [-I] + +HEADER_SEARCH_PATHS = $(inherited) + + +// Runpath Search Paths +// +// This is a list of paths to be added to the runpath search path list for the image +// being created. At runtime, dyld uses the runpath when searching for dylibs whose load +// path begins with '@rpath/'. [-rpath] + +LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @loader_path/Frameworks + + +OTHER_CFLAGS = + +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES + +LIBRARY_SEARCH_PATHS = $(inherited) diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/StripeiOS-Debug.xcconfig b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/StripeiOS-Debug.xcconfig new file mode 100644 index 0000000..99304b4 --- /dev/null +++ b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/StripeiOS-Debug.xcconfig @@ -0,0 +1,12 @@ +// +// StripeiOS-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS-Shared.xcconfig" + + +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited) +SWIFT_ACTIVE_COMPILATION_CONDITIONS[arch=*] = DEBUG $(inherited) diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/StripeiOS-Release.xcconfig b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/StripeiOS-Release.xcconfig new file mode 100644 index 0000000..3d79290 --- /dev/null +++ b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/StripeiOS-Release.xcconfig @@ -0,0 +1,10 @@ +// +// StripeiOS-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS-Shared.xcconfig" + +APPLICATION_EXTENSION_API_ONLY = NO diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/StripeiOS-Shared.xcconfig b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/StripeiOS-Shared.xcconfig new file mode 100644 index 0000000..b274c8d --- /dev/null +++ b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/StripeiOS-Shared.xcconfig @@ -0,0 +1,159 @@ +// +// StripeiOS-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Version.xcconfig" + +APPLICATION_EXTENSION_API_ONLY = YES + +CLANG_CXX_LANGUAGE_STANDARD = gnu++0x + + +CLANG_CXX_LIBRARY = libc++ + + +CLANG_ENABLE_MODULES = YES + + +CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR + + +CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR + +CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES +CLANG_WARN_INFINITE_RECURSION = YES +CLANG_WARN_SUSPICIOUS_MOVE = YES +CLANG_WARN_ASSIGN_ENUM = YES +CLANG_WARN_DOCUMENTATION_COMMENTS = YES +CLANG_WARN_UNGUARDED_AVAILABILITY = YES + +// Code Signing Identity +// +// The name ("common name") of a valid code-signing certificate in a keychain within your +// keychain path. A missing or invalid certificate will cause a build error. + +CODE_SIGN_IDENTITY[sdk=iphoneos*] = + +// Defines Module +// +// If enabled, the product will be treated as defining its own module. This enables +// automatic production of LLVM module map files when appropriate, and allows the product +// to be imported as a module. + +DEFINES_MODULE = YES + + +// Compatibility Version +// +// Determines the compatibility version of the resulting library, bundle, or framework +// binary. + +DYLIB_COMPATIBILITY_VERSION = 1 + + +// Current Library Version +// +// This setting defines the the current version of any framework built by the project. +// Like "Current Project Version", the value must be an integer or floating point number +// like 57 or 365.8. By default it is set to $(CURRENT_PROJECT_VERSION). + +DYLIB_CURRENT_VERSION = 1 + + +// Dynamic Library Install Name Base +// +// Sets the base value for the internal "install path" (LC_ID_DYLIB) in a dynamic +// library. This will be combined with the EXECUTABLE_PATH to form the full install path. +// Setting LD_DYLIB_INSTALL_NAME directly will override this setting. This setting +// defaults to the target's INSTALL_PATH. It is ignored when building any product other +// than a dynamic library. [-install_name] + +DYLIB_INSTALL_NAME_BASE = @rpath + + +GCC_TREAT_WARNINGS_AS_ERRORS = YES +SWIFT_TREAT_WARNINGS_AS_ERRORS = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR + + +GCC_WARN_SHADOW = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE + +GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES +GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES +GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES +GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES +GCC_WARN_UNKNOWN_PRAGMAS = YES +GCC_WARN_UNUSED_LABEL = YES +GCC_WARN_UNUSED_PARAMETER = YES + + +// Installation Directory +// +// The directory to install the build products in. This path is prepended by the +// 'Installation Build Products Location' (i.e., $(DSTROOT)). + +INSTALL_PATH = $(LOCAL_LIBRARY_DIR)/Frameworks + + +// Runpath Search Paths +// +// This is a list of paths to be added to the runpath search path list for the image +// being created. At runtime, dyld uses the runpath when searching for dylibs whose load +// path begins with '@rpath/'. [-rpath] + +LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @loader_path/Frameworks + + +// Skip Install +// +// Activating this setting when deployment locations are used causes the product to be +// built into an alternative location instead of the install location. + +SKIP_INSTALL = YES + + +// Targeted Device Family +// +// The build system uses the selected device to set the correct value for the +// UIDeviceFamily key it adds to the target's Info.plist file. +// +// iPhone - Application is built for iPhone and iPod touch. +// iPad - Application is built for iPad. +// iPhone/iPad - Application is built Universal for iPhone, iPod touch, and iPad. + +TARGETED_DEVICE_FAMILY = 1,2 + + +// Versioning Name Prefix +// +// Used as a prefix for the name of the version info symbol in the generated versioning +// source file. If you prefix your exported symbols you will probably want to set this +// to the same prefix. + +VERSION_INFO_PREFIX = + + +// Versioning System +// +// Selects the process used for version-stamping generated files. +// +// None - Use no versioning system. [] +// Apple Generic - Use the current project version setting. [apple-generic] + +VERSIONING_SYSTEM = apple-generic + +FRAMEWORK_SEARCH_PATHS = $(inherited) +HEADER_SEARCH_PATHS = $(inherited) + +LIBRARY_SEARCH_PATHS = $(inherited) $(CONFIGURATION_BUILD_DIR) + +// Generate .swiftinterface files +BUILD_LIBRARY_FOR_DISTRIBUTION = YES diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/Version.xcconfig b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/Version.xcconfig new file mode 100644 index 0000000..385e5d1 --- /dev/null +++ b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/Version.xcconfig @@ -0,0 +1,9 @@ +// +// Version.xcconfig +// +// This file was generated by update_version.sh +// Do not edit this file directly. +// Instead, edit the `VERSION` file and run `ci_scripts/update_version.sh` +// + +CURRENT_PROJECT_VERSION=21.12.0 diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/bg-BG.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/bg-BG.lproj/Localizable.strings new file mode 100644 index 0000000..523e791 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/bg-BG.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/ca-ES.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/ca-ES.lproj/Localizable.strings new file mode 100644 index 0000000..af7c4ff Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/ca-ES.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/cs-CZ.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/cs-CZ.lproj/Localizable.strings new file mode 100644 index 0000000..65a002f Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/cs-CZ.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/da.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/da.lproj/Localizable.strings new file mode 100644 index 0000000..3f1f302 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/da.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/de.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/de.lproj/Localizable.strings new file mode 100644 index 0000000..7da73bc Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/de.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/el-GR.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/el-GR.lproj/Localizable.strings new file mode 100644 index 0000000..8be2a57 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/el-GR.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/en-GB.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/en-GB.lproj/Localizable.strings new file mode 100644 index 0000000..f97adbc Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/en-GB.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/en.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/en.lproj/Localizable.strings new file mode 100644 index 0000000..ad00259 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/en.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/es-419.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/es-419.lproj/Localizable.strings new file mode 100644 index 0000000..c22d80a Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/es-419.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/es.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/es.lproj/Localizable.strings new file mode 100644 index 0000000..b4b8d57 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/es.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/et-EE.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/et-EE.lproj/Localizable.strings new file mode 100644 index 0000000..1c8565e Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/et-EE.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/fi.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/fi.lproj/Localizable.strings new file mode 100644 index 0000000..0bc462f Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/fi.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/fil.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/fil.lproj/Localizable.strings new file mode 100644 index 0000000..ba51cf6 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/fil.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/fr-CA.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/fr-CA.lproj/Localizable.strings new file mode 100644 index 0000000..c8f3c42 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/fr-CA.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/fr.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/fr.lproj/Localizable.strings new file mode 100644 index 0000000..805164c Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/fr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/hr.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/hr.lproj/Localizable.strings new file mode 100644 index 0000000..771b1ad Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/hr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/hu.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/hu.lproj/Localizable.strings new file mode 100644 index 0000000..6ae236c Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/hu.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/icon_add@3x.png b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/icon_add@3x.png new file mode 100644 index 0000000..4fb1470 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/icon_add@3x.png differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/icon_checkmark@3x.png b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/icon_checkmark@3x.png new file mode 100644 index 0000000..f5ffadd Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/icon_checkmark@3x.png differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/id.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/id.lproj/Localizable.strings new file mode 100644 index 0000000..5ff68d6 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/id.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/it.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/it.lproj/Localizable.strings new file mode 100644 index 0000000..4f755e3 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/it.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/ja.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/ja.lproj/Localizable.strings new file mode 100644 index 0000000..8a89dde Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/ja.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/ko.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/ko.lproj/Localizable.strings new file mode 100644 index 0000000..b9c3426 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/ko.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/lt-LT.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/lt-LT.lproj/Localizable.strings new file mode 100644 index 0000000..c8cba7e Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/lt-LT.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/lv-LV.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/lv-LV.lproj/Localizable.strings new file mode 100644 index 0000000..2102518 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/lv-LV.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/ms-MY.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/ms-MY.lproj/Localizable.strings new file mode 100644 index 0000000..274806b Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/ms-MY.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/mt.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/mt.lproj/Localizable.strings new file mode 100644 index 0000000..ab4ac0e Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/mt.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/nb.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/nb.lproj/Localizable.strings new file mode 100644 index 0000000..73cdfa2 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/nb.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/nl.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/nl.lproj/Localizable.strings new file mode 100644 index 0000000..e9b950f Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/nl.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/nn-NO.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/nn-NO.lproj/Localizable.strings new file mode 100644 index 0000000..426757a Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/nn-NO.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/pl-PL.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/pl-PL.lproj/Localizable.strings new file mode 100644 index 0000000..68c3399 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/pl-PL.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/pt-BR.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/pt-BR.lproj/Localizable.strings new file mode 100644 index 0000000..accfcee Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/pt-BR.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/pt-PT.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/pt-PT.lproj/Localizable.strings new file mode 100644 index 0000000..b0965fc Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/pt-PT.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/ro-RO.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/ro-RO.lproj/Localizable.strings new file mode 100644 index 0000000..13fbba4 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/ro-RO.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/ru.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/ru.lproj/Localizable.strings new file mode 100644 index 0000000..22ad5fc Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/ru.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/sk-SK.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/sk-SK.lproj/Localizable.strings new file mode 100644 index 0000000..eac0996 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/sk-SK.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/sl-SI.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/sl-SI.lproj/Localizable.strings new file mode 100644 index 0000000..4e18912 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/sl-SI.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/sv.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/sv.lproj/Localizable.strings new file mode 100644 index 0000000..1b9448e Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/sv.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/tk.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/tk.lproj/Localizable.strings new file mode 100644 index 0000000..a15304b Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/tk.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/tr.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/tr.lproj/Localizable.strings new file mode 100644 index 0000000..6bc682a Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/tr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/vi.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/vi.lproj/Localizable.strings new file mode 100644 index 0000000..9b13b23 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/vi.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/zh-HK.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/zh-HK.lproj/Localizable.strings new file mode 100644 index 0000000..702d09e Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/zh-HK.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/zh-Hans.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/zh-Hans.lproj/Localizable.strings new file mode 100644 index 0000000..7db2d8b Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/zh-Hans.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/zh-Hant.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/zh-Hant.lproj/Localizable.strings new file mode 100644 index 0000000..b6adc83 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64/StripeIdentity.framework/zh-Hant.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Headers/StripeIdentity-Swift.h b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Headers/StripeIdentity-Swift.h new file mode 100644 index 0000000..69e0b9e --- /dev/null +++ b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Headers/StripeIdentity-Swift.h @@ -0,0 +1,436 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +#ifndef STRIPEIDENTITY_SWIFT_H +#define STRIPEIDENTITY_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# 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 +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="StripeIdentity",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +#ifndef STRIPEIDENTITY_SWIFT_H +#define STRIPEIDENTITY_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# 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 +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="StripeIdentity",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Headers/StripeIdentity.h b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Headers/StripeIdentity.h new file mode 100644 index 0000000..44aeedc --- /dev/null +++ b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Headers/StripeIdentity.h @@ -0,0 +1,18 @@ +// +// StripeIdentity.h +// StripeIdentity +// +// Created by Mel Ludowise on 7/6/21. +// + +#import + +//! Project version number for StripeIdentity. +FOUNDATION_EXPORT double StripeIdentityVersionNumber; + +//! Project version string for StripeIdentity. +FOUNDATION_EXPORT const unsigned char StripeIdentityVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Info.plist b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Info.plist new file mode 100644 index 0000000..d9f4b4e Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Info.plist differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Modules/StripeIdentity.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Modules/StripeIdentity.swiftmodule/arm64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..85a1ff2 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Modules/StripeIdentity.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Modules/StripeIdentity.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Modules/StripeIdentity.swiftmodule/arm64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..27030aa --- /dev/null +++ b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Modules/StripeIdentity.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -0,0 +1,45 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeIdentity +import AVKit +import Accelerate +import CoreGraphics +import CoreImage +import CoreML +import CoreVideo +import Foundation +import StripeCameraCore +@_exported import StripeCore +@_exported import StripeIdentity +import StripeUICore +import Swift +import UIKit +import Vision +import WebKit +@_hasMissingDesignatedInitializers final public class IdentityVerificationSheet { + @frozen public enum VerificationFlowResult { + case flowCompleted + case flowCanceled + case flowFailed(error: Swift.Error) + } + final public let verificationSessionClientSecret: Swift.String + convenience public init(verificationSessionClientSecret: Swift.String) + @available(iOS 14.3, *) + @available(iOSApplicationExtension, unavailable) + final public func present(from presentingViewController: UIKit.UIViewController, completion: @escaping (StripeIdentity.IdentityVerificationSheet.VerificationFlowResult) -> Swift.Void) + @objc deinit +} +public enum IdentityVerificationSheetError : Swift.Error { + case invalidClientSecret + case unknown(debugDescription: Swift.String) +} +extension IdentityVerificationSheetError : Foundation.LocalizedError { + public var localizedDescription: Swift.String { + get + } +} +extension IdentityVerificationSheetError : Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + get + } +} diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Modules/StripeIdentity.swiftmodule/arm64.swiftdoc b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Modules/StripeIdentity.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..85a1ff2 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Modules/StripeIdentity.swiftmodule/arm64.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Modules/StripeIdentity.swiftmodule/arm64.swiftinterface b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Modules/StripeIdentity.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..27030aa --- /dev/null +++ b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Modules/StripeIdentity.swiftmodule/arm64.swiftinterface @@ -0,0 +1,45 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeIdentity +import AVKit +import Accelerate +import CoreGraphics +import CoreImage +import CoreML +import CoreVideo +import Foundation +import StripeCameraCore +@_exported import StripeCore +@_exported import StripeIdentity +import StripeUICore +import Swift +import UIKit +import Vision +import WebKit +@_hasMissingDesignatedInitializers final public class IdentityVerificationSheet { + @frozen public enum VerificationFlowResult { + case flowCompleted + case flowCanceled + case flowFailed(error: Swift.Error) + } + final public let verificationSessionClientSecret: Swift.String + convenience public init(verificationSessionClientSecret: Swift.String) + @available(iOS 14.3, *) + @available(iOSApplicationExtension, unavailable) + final public func present(from presentingViewController: UIKit.UIViewController, completion: @escaping (StripeIdentity.IdentityVerificationSheet.VerificationFlowResult) -> Swift.Void) + @objc deinit +} +public enum IdentityVerificationSheetError : Swift.Error { + case invalidClientSecret + case unknown(debugDescription: Swift.String) +} +extension IdentityVerificationSheetError : Foundation.LocalizedError { + public var localizedDescription: Swift.String { + get + } +} +extension IdentityVerificationSheetError : Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + get + } +} diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Modules/StripeIdentity.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Modules/StripeIdentity.swiftmodule/x86_64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..5266794 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Modules/StripeIdentity.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Modules/StripeIdentity.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Modules/StripeIdentity.swiftmodule/x86_64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..4b350f8 --- /dev/null +++ b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Modules/StripeIdentity.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -0,0 +1,45 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeIdentity +import AVKit +import Accelerate +import CoreGraphics +import CoreImage +import CoreML +import CoreVideo +import Foundation +import StripeCameraCore +@_exported import StripeCore +@_exported import StripeIdentity +import StripeUICore +import Swift +import UIKit +import Vision +import WebKit +@_hasMissingDesignatedInitializers final public class IdentityVerificationSheet { + @frozen public enum VerificationFlowResult { + case flowCompleted + case flowCanceled + case flowFailed(error: Swift.Error) + } + final public let verificationSessionClientSecret: Swift.String + convenience public init(verificationSessionClientSecret: Swift.String) + @available(iOS 14.3, *) + @available(iOSApplicationExtension, unavailable) + final public func present(from presentingViewController: UIKit.UIViewController, completion: @escaping (StripeIdentity.IdentityVerificationSheet.VerificationFlowResult) -> Swift.Void) + @objc deinit +} +public enum IdentityVerificationSheetError : Swift.Error { + case invalidClientSecret + case unknown(debugDescription: Swift.String) +} +extension IdentityVerificationSheetError : Foundation.LocalizedError { + public var localizedDescription: Swift.String { + get + } +} +extension IdentityVerificationSheetError : Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + get + } +} diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Modules/StripeIdentity.swiftmodule/x86_64.swiftdoc b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Modules/StripeIdentity.swiftmodule/x86_64.swiftdoc new file mode 100644 index 0000000..5266794 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Modules/StripeIdentity.swiftmodule/x86_64.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Modules/StripeIdentity.swiftmodule/x86_64.swiftinterface b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Modules/StripeIdentity.swiftmodule/x86_64.swiftinterface new file mode 100644 index 0000000..4b350f8 --- /dev/null +++ b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Modules/StripeIdentity.swiftmodule/x86_64.swiftinterface @@ -0,0 +1,45 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeIdentity +import AVKit +import Accelerate +import CoreGraphics +import CoreImage +import CoreML +import CoreVideo +import Foundation +import StripeCameraCore +@_exported import StripeCore +@_exported import StripeIdentity +import StripeUICore +import Swift +import UIKit +import Vision +import WebKit +@_hasMissingDesignatedInitializers final public class IdentityVerificationSheet { + @frozen public enum VerificationFlowResult { + case flowCompleted + case flowCanceled + case flowFailed(error: Swift.Error) + } + final public let verificationSessionClientSecret: Swift.String + convenience public init(verificationSessionClientSecret: Swift.String) + @available(iOS 14.3, *) + @available(iOSApplicationExtension, unavailable) + final public func present(from presentingViewController: UIKit.UIViewController, completion: @escaping (StripeIdentity.IdentityVerificationSheet.VerificationFlowResult) -> Swift.Void) + @objc deinit +} +public enum IdentityVerificationSheetError : Swift.Error { + case invalidClientSecret + case unknown(debugDescription: Swift.String) +} +extension IdentityVerificationSheetError : Foundation.LocalizedError { + public var localizedDescription: Swift.String { + get + } +} +extension IdentityVerificationSheetError : Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + get + } +} diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Modules/module.modulemap b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Modules/module.modulemap new file mode 100644 index 0000000..7af4aa3 --- /dev/null +++ b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module StripeIdentity { + umbrella header "StripeIdentity.h" + + export * + module * { export * } +} + +module StripeIdentity.Swift { + header "StripeIdentity-Swift.h" + requires objc +} diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Project-Debug.xcconfig b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Project-Debug.xcconfig new file mode 100644 index 0000000..893a71f --- /dev/null +++ b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Project-Debug.xcconfig @@ -0,0 +1,41 @@ +// +// Project-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Project-Shared.xcconfig" + + +// Strip Debug Symbols During Copy +// +// Activating this setting causes binary files which are copied during the build (e.g., +// in a Copy Bundle Resources or Copy Files build phase) to be stripped of debugging +// symbols. It does not cause the linked product of a target to be stripped (use Strip +// Linked Product for that). + +COPY_PHASE_STRIP = NO + + +GCC_DYNAMIC_NO_PIC = NO + + +GCC_OPTIMIZATION_LEVEL = 0 + + +STP_EXTRA_PREPROCESSOR_MACROS= +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 STRIPE_UNIT_TESTS_ENABLED $(inherited) $(STP_EXTRA_PREPROCESSOR_MACROS) + + +GCC_SYMBOLS_PRIVATE_EXTERN = NO + + +// Build Active Architecture Only +// +// When checked, only the active architecture is built for faster debugging turnaround + +ONLY_ACTIVE_ARCH = YES + + +ENABLE_TESTABILITY = YES diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Project-Release.xcconfig b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Project-Release.xcconfig new file mode 100644 index 0000000..7ee2591 --- /dev/null +++ b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Project-Release.xcconfig @@ -0,0 +1,33 @@ +// +// Project-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Project-Shared.xcconfig" + + +// Strip Debug Symbols During Copy +// +// Activating this setting causes binary files which are copied during the build (e.g., +// in a Copy Bundle Resources or Copy Files build phase) to be stripped of debugging +// symbols. It does not cause the linked product of a target to be stripped (use Strip +// Linked Product for that). + +COPY_PHASE_STRIP = YES + + +ENABLE_NS_ASSERTIONS = NO + +STP_EXTRA_PREPROCESSOR_MACROS= +GCC_PREPROCESSOR_DEFINITIONS = NDEBUG $(STP_EXTRA_PREPROCESSOR_MACROS) + + +// Validate Built Product +// +// Activating this setting will cause Xcode to perform validation checks on the product +// as part of the build process. + +VALIDATE_PRODUCT = YES + diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Project-Shared.xcconfig b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Project-Shared.xcconfig new file mode 100644 index 0000000..3c97646 --- /dev/null +++ b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Project-Shared.xcconfig @@ -0,0 +1,169 @@ +// +// Project-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +// Always Search User Paths +// +// If enabled both #include -style and #include "header.h"-style directives +// will search the paths in "User Header Search Paths" before "Header Search Paths", with +// the consequence that user headers (such as your own String.h header) would have +// precedence over system headers when using #include . This is done using the +// -iquote flag for the paths provided in "User Header Search Paths". If disabled and +// your compiler fully supports separate user paths, user headers will only be accessible +// with #include "header.h"-style preprocessor directives. +// +// For backwards compatibility reasons, this setting is enabled by default, but disabling +// it is strongly recommended. + +ALWAYS_SEARCH_USER_PATHS = NO + + +CLANG_ENABLE_CODE_COVERAGE = NO + + +CLANG_ENABLE_OBJC_ARC = YES + + +CLANG_WARN__DUPLICATE_METHOD_MATCH = YES + + +CLANG_WARN_BOOL_CONVERSION = YES + + +CLANG_WARN_CONSTANT_CONVERSION = YES + + +CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES + + +CLANG_WARN_EMPTY_BODY = YES + + +CLANG_WARN_ENUM_CONVERSION = YES + + +CLANG_WARN_INT_CONVERSION = YES + + +CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES + + +CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES + + +CLANG_WARN_UNREACHABLE_CODE = YES + + +CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + + +CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + +// Default value is YES_NONAGGRESSIVE. YES is "Yes, Aggressive" in Xcode 9 UI +CLANG_ANALYZER_NONNULL = YES; + + +CLANG_WARN_INFINITE_RECURSION = YES; + + +CLANG_WARN_SUSPICIOUS_MOVE = YES; + + +ENABLE_STRICT_OBJC_MSGSEND = YES + + +GCC_C_LANGUAGE_STANDARD = gnu99 + + +CLANG_WARN_STRICT_PROTOTYPES = YES + + +CLANG_WARN_RANGE_LOOP_ANALYSIS = YES + + +CLANG_WARN_COMMA = YES + + +CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES + + +// Compiler for C/C++/Objective-C +// +// The compiler to use for C, C++, and Objective-C. + +GCC_VERSION = com.apple.compilers.llvm.clang.1_0 + + +GCC_WARN_64_TO_32_BIT_CONVERSION = YES + + +GCC_WARN_ABOUT_MISSING_NEWLINE = YES + + +GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES + + +GCC_WARN_SIGN_COMPARE = YES + + +GCC_WARN_UNDECLARED_SELECTOR = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES + + +GCC_WARN_UNUSED_FUNCTION = YES + + +GCC_WARN_UNUSED_VARIABLE = YES + + +GCC_NO_COMMON_BLOCKS = YES; + +// Precompiled Header Uses Files From Build Directory +// +// This setting allows for better control of sharing precompiled prefix header files +// between projects. By default, Xcode assumes that the prefix header file may include +// header files from the build directory if the build directory is outside of the project +// directory. (Xcode cannot determine this ahead of time since other projects may not +// have been built into the shared build directory at the time the information is +// needed.) +// +// If your prefix file never includes files from the build directory you may set this to +// "NO" to improve sharing of precompiled headers. If the prefix does use files from a +// build directory which is inside your project directory, you may set this to "YES" to +// avoid unintended sharing that may result in build failures. + +PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = NO + + +// Base SDK +// +// The name or path of the base SDK being used during the build. The product will be +// built against the headers and libraries located inside the indicated SDK. This path +// will be prepended to all search paths, and will be passed through the environment to +// the compiler and linker. Additional SDKs can be specified in the ADDITIONAL_SDKS +// setting. + +SDKROOT = iphoneos + + +WARNING_CFLAGS = -Wall -Wextra -Wundef -Wfloat-equal + +// iOS Deployment Target +// +// Code will load on this and later versions of iOS. Framework APIs that are unavailable +// in earlier versions will be weak-linked; your code should check for null function +// pointers or specific system versions before calling newer APIs. +// + +IPHONEOS_DEPLOYMENT_TARGET = 11.0 + +APPLICATION_EXTENSION_API_ONLY = NO diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/StripeIdentity b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/StripeIdentity new file mode 100755 index 0000000..cb7be33 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/StripeIdentity differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/StripeiOS Tests-Debug.xcconfig b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/StripeiOS Tests-Debug.xcconfig new file mode 100644 index 0000000..d969b04 --- /dev/null +++ b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/StripeiOS Tests-Debug.xcconfig @@ -0,0 +1,13 @@ +// +// StripeiOS Tests-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +#include "StripeiOS Tests-Shared.xcconfig" + +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited) +DEBUG_INFORMATION_FORMAT = dwarf +SWIFT_ACTIVE_COMPILATION_CONDITIONS[arch=*] = DEBUG $(inherited) diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/StripeiOS Tests-Release.xcconfig b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/StripeiOS Tests-Release.xcconfig new file mode 100644 index 0000000..3b92cfd --- /dev/null +++ b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/StripeiOS Tests-Release.xcconfig @@ -0,0 +1,12 @@ +// +// StripeiOS Tests-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS Tests-Shared.xcconfig" + +//********************************************// +//* Currently no build settings in this file *// +//********************************************// diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/StripeiOS Tests-Shared.xcconfig b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/StripeiOS Tests-Shared.xcconfig new file mode 100644 index 0000000..3078777 --- /dev/null +++ b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/StripeiOS Tests-Shared.xcconfig @@ -0,0 +1,89 @@ +// +// StripeiOS Tests-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +CLANG_CXX_LANGUAGE_STANDARD = gnu++0x + + +CLANG_CXX_LIBRARY = libc++ + + +CLANG_ENABLE_MODULES = YES + + +CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR + + +CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR + + +// Code Signing Identity +// +// The name ("common name") of a valid code-signing certificate in a keychain within your +// keychain path. A missing or invalid certificate will cause a build error. + +CODE_SIGN_IDENTITY = iPhone Developer + + +// Framework Search Paths +// +// This is a list of paths to folders containing frameworks to be searched by the +// compiler for both included or imported header files when compiling C, Objective-C, +// C++, or Objective-C++, and by the linker for frameworks used by the product. Paths are +// delimited by whitespace, so any paths with spaces in them need to be properly quoted. +// [-F] + +FRAMEWORK_SEARCH_PATHS = $(inherited) $(PROJECT_DIR)/Carthage/Build/iOS + +GCC_TREAT_WARNINGS_AS_ERRORS = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR + + +GCC_WARN_SHADOW = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE + +CLANG_WARN_ASSIGN_ENUM = YES +//CLANG_WARN_DOCUMENTATION_COMMENTS = YES not enabled because of errors in FBSnapshotTestCase headers +CLANG_WARN_INFINITE_RECURSION = YES +CLANG_WARN_SUSPICIOUS_MOVE = YES +GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES +GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES +GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES +GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES +GCC_WARN_UNKNOWN_PRAGMAS = YES +GCC_WARN_UNUSED_LABEL = YES +GCC_WARN_UNUSED_PARAMETER = YES + + +// Header Search Paths +// +// This is a list of paths to folders to be searched by the compiler for included or +// imported header files when compiling C, Objective-C, C++, or Objective-C++. Paths are +// delimited by whitespace, so any paths with spaces in them need to be properly quoted. +// [-I] + +HEADER_SEARCH_PATHS = $(inherited) + + +// Runpath Search Paths +// +// This is a list of paths to be added to the runpath search path list for the image +// being created. At runtime, dyld uses the runpath when searching for dylibs whose load +// path begins with '@rpath/'. [-rpath] + +LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @loader_path/Frameworks + + +OTHER_CFLAGS = + +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES + +LIBRARY_SEARCH_PATHS = $(inherited) diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/StripeiOS-Debug.xcconfig b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/StripeiOS-Debug.xcconfig new file mode 100644 index 0000000..99304b4 --- /dev/null +++ b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/StripeiOS-Debug.xcconfig @@ -0,0 +1,12 @@ +// +// StripeiOS-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS-Shared.xcconfig" + + +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited) +SWIFT_ACTIVE_COMPILATION_CONDITIONS[arch=*] = DEBUG $(inherited) diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/StripeiOS-Release.xcconfig b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/StripeiOS-Release.xcconfig new file mode 100644 index 0000000..3d79290 --- /dev/null +++ b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/StripeiOS-Release.xcconfig @@ -0,0 +1,10 @@ +// +// StripeiOS-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS-Shared.xcconfig" + +APPLICATION_EXTENSION_API_ONLY = NO diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/StripeiOS-Shared.xcconfig b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/StripeiOS-Shared.xcconfig new file mode 100644 index 0000000..b274c8d --- /dev/null +++ b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/StripeiOS-Shared.xcconfig @@ -0,0 +1,159 @@ +// +// StripeiOS-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Version.xcconfig" + +APPLICATION_EXTENSION_API_ONLY = YES + +CLANG_CXX_LANGUAGE_STANDARD = gnu++0x + + +CLANG_CXX_LIBRARY = libc++ + + +CLANG_ENABLE_MODULES = YES + + +CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR + + +CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR + +CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES +CLANG_WARN_INFINITE_RECURSION = YES +CLANG_WARN_SUSPICIOUS_MOVE = YES +CLANG_WARN_ASSIGN_ENUM = YES +CLANG_WARN_DOCUMENTATION_COMMENTS = YES +CLANG_WARN_UNGUARDED_AVAILABILITY = YES + +// Code Signing Identity +// +// The name ("common name") of a valid code-signing certificate in a keychain within your +// keychain path. A missing or invalid certificate will cause a build error. + +CODE_SIGN_IDENTITY[sdk=iphoneos*] = + +// Defines Module +// +// If enabled, the product will be treated as defining its own module. This enables +// automatic production of LLVM module map files when appropriate, and allows the product +// to be imported as a module. + +DEFINES_MODULE = YES + + +// Compatibility Version +// +// Determines the compatibility version of the resulting library, bundle, or framework +// binary. + +DYLIB_COMPATIBILITY_VERSION = 1 + + +// Current Library Version +// +// This setting defines the the current version of any framework built by the project. +// Like "Current Project Version", the value must be an integer or floating point number +// like 57 or 365.8. By default it is set to $(CURRENT_PROJECT_VERSION). + +DYLIB_CURRENT_VERSION = 1 + + +// Dynamic Library Install Name Base +// +// Sets the base value for the internal "install path" (LC_ID_DYLIB) in a dynamic +// library. This will be combined with the EXECUTABLE_PATH to form the full install path. +// Setting LD_DYLIB_INSTALL_NAME directly will override this setting. This setting +// defaults to the target's INSTALL_PATH. It is ignored when building any product other +// than a dynamic library. [-install_name] + +DYLIB_INSTALL_NAME_BASE = @rpath + + +GCC_TREAT_WARNINGS_AS_ERRORS = YES +SWIFT_TREAT_WARNINGS_AS_ERRORS = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR + + +GCC_WARN_SHADOW = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE + +GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES +GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES +GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES +GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES +GCC_WARN_UNKNOWN_PRAGMAS = YES +GCC_WARN_UNUSED_LABEL = YES +GCC_WARN_UNUSED_PARAMETER = YES + + +// Installation Directory +// +// The directory to install the build products in. This path is prepended by the +// 'Installation Build Products Location' (i.e., $(DSTROOT)). + +INSTALL_PATH = $(LOCAL_LIBRARY_DIR)/Frameworks + + +// Runpath Search Paths +// +// This is a list of paths to be added to the runpath search path list for the image +// being created. At runtime, dyld uses the runpath when searching for dylibs whose load +// path begins with '@rpath/'. [-rpath] + +LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @loader_path/Frameworks + + +// Skip Install +// +// Activating this setting when deployment locations are used causes the product to be +// built into an alternative location instead of the install location. + +SKIP_INSTALL = YES + + +// Targeted Device Family +// +// The build system uses the selected device to set the correct value for the +// UIDeviceFamily key it adds to the target's Info.plist file. +// +// iPhone - Application is built for iPhone and iPod touch. +// iPad - Application is built for iPad. +// iPhone/iPad - Application is built Universal for iPhone, iPod touch, and iPad. + +TARGETED_DEVICE_FAMILY = 1,2 + + +// Versioning Name Prefix +// +// Used as a prefix for the name of the version info symbol in the generated versioning +// source file. If you prefix your exported symbols you will probably want to set this +// to the same prefix. + +VERSION_INFO_PREFIX = + + +// Versioning System +// +// Selects the process used for version-stamping generated files. +// +// None - Use no versioning system. [] +// Apple Generic - Use the current project version setting. [apple-generic] + +VERSIONING_SYSTEM = apple-generic + +FRAMEWORK_SEARCH_PATHS = $(inherited) +HEADER_SEARCH_PATHS = $(inherited) + +LIBRARY_SEARCH_PATHS = $(inherited) $(CONFIGURATION_BUILD_DIR) + +// Generate .swiftinterface files +BUILD_LIBRARY_FOR_DISTRIBUTION = YES diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Version.xcconfig b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Version.xcconfig new file mode 100644 index 0000000..385e5d1 --- /dev/null +++ b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/Version.xcconfig @@ -0,0 +1,9 @@ +// +// Version.xcconfig +// +// This file was generated by update_version.sh +// Do not edit this file directly. +// Instead, edit the `VERSION` file and run `ci_scripts/update_version.sh` +// + +CURRENT_PROJECT_VERSION=21.12.0 diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/_CodeSignature/CodeResources b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000..f16ebd3 --- /dev/null +++ b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/_CodeSignature/CodeResources @@ -0,0 +1,1155 @@ + + + + + files + + Headers/StripeIdentity-Swift.h + + 11J+h+6M45UbdOaywWzFJTlULus= + + Headers/StripeIdentity.h + + 6ibSTDSKKRZ+8mBHDiaF1Mg1a1I= + + Info.plist + + MYU7CA2NEAI+RHi/+qryE0Oe0+Q= + + Modules/StripeIdentity.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + jGNetL4PMN+JETrvLAc34nV+cRA= + + Modules/StripeIdentity.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + Ut1S5KPdwFs5iKa8W7rouljqwQA= + + Modules/StripeIdentity.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + jROTTzHjKl29T3o+2fXPGAYQEjU= + + Modules/StripeIdentity.swiftmodule/arm64.swiftdoc + + jGNetL4PMN+JETrvLAc34nV+cRA= + + Modules/StripeIdentity.swiftmodule/arm64.swiftinterface + + Ut1S5KPdwFs5iKa8W7rouljqwQA= + + Modules/StripeIdentity.swiftmodule/arm64.swiftmodule + + jROTTzHjKl29T3o+2fXPGAYQEjU= + + Modules/StripeIdentity.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + gm0Ava78E0VrlGeaAGhetegbgu8= + + Modules/StripeIdentity.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + WTw/hHox5p6xEp/lfV3D92J9clo= + + Modules/StripeIdentity.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + PCZHj70vcv80cdE/D+I+J2nW4yU= + + Modules/StripeIdentity.swiftmodule/x86_64.swiftdoc + + gm0Ava78E0VrlGeaAGhetegbgu8= + + Modules/StripeIdentity.swiftmodule/x86_64.swiftinterface + + WTw/hHox5p6xEp/lfV3D92J9clo= + + Modules/StripeIdentity.swiftmodule/x86_64.swiftmodule + + PCZHj70vcv80cdE/D+I+J2nW4yU= + + Modules/module.modulemap + + 0IQgFKSwpdzaQ3MQ5OPp1T1cPLA= + + Project-Debug.xcconfig + + n4N1KH/HDtAtM02FYLggVjQN/hA= + + Project-Release.xcconfig + + yoRzT4fJxZpKDrrYlW7GS/vPrX8= + + Project-Shared.xcconfig + + QpmL2mmJ8wleeTz4TJKCfn+VKb0= + + StripeiOS Tests-Debug.xcconfig + + 457iXHnhn1RB6CUwa4CK+jtCGkc= + + StripeiOS Tests-Release.xcconfig + + 0nTqLgIAKAMGub62qGXm1xhM1tU= + + StripeiOS Tests-Shared.xcconfig + + Dv2bE7zACQNBiNlKd+3VR0zJksY= + + StripeiOS-Debug.xcconfig + + 3PWe/ZA/fRAMhGidkHXLeW+HDfU= + + StripeiOS-Release.xcconfig + + ePihbKV1tMa/2TA7icckPYBl0DQ= + + StripeiOS-Shared.xcconfig + + sXIXJbd9sKiL8f3lhOaM0IYMlZE= + + Version.xcconfig + + 7h8EtEryCj8S1RVfu7tJcZkNF/k= + + bg-BG.lproj/Localizable.strings + + hash + + St+EEtUuoAJve8vJS66MOPT1eUE= + + optional + + + ca-ES.lproj/Localizable.strings + + hash + + 7VG5dna7WFgj8BW8uHGieZ7Py8o= + + optional + + + cs-CZ.lproj/Localizable.strings + + hash + + zWej/1VfpFdEKEnE14g4fhobYgU= + + optional + + + da.lproj/Localizable.strings + + hash + + im7ZbEpPunH8CZDtTUa/TK3TpYI= + + optional + + + de.lproj/Localizable.strings + + hash + + 9F+PCVXRJ963ceUsGVNfXFTiquk= + + optional + + + el-GR.lproj/Localizable.strings + + hash + + 0sbGpt5AvkbfW5BIss0CO8uXYm8= + + optional + + + en-GB.lproj/Localizable.strings + + hash + + dEa6uRstxzYFsRn5v+9pRrXTqRA= + + optional + + + en.lproj/Localizable.strings + + hash + + m2cVgz6tPtH9sJf2n/+B1RIYwmw= + + optional + + + es-419.lproj/Localizable.strings + + hash + + HvnAWSdIVnza2LstS/4xY9R9IgI= + + optional + + + es.lproj/Localizable.strings + + hash + + u1t6LXlhxqzRDzM0GAjIw6TS3Ic= + + optional + + + et-EE.lproj/Localizable.strings + + hash + + +3C7tn0ry9BqXdo3YsCcIsQfyrA= + + optional + + + fi.lproj/Localizable.strings + + hash + + qAW8BLEnaS5aDpRTenU3DijfFyc= + + optional + + + fil.lproj/Localizable.strings + + hash + + FSML9Wc6wDB6nIRdBfbae6431F0= + + optional + + + fr-CA.lproj/Localizable.strings + + hash + + FW4u8iR3UndWP7NlsllXR+uT110= + + optional + + + fr.lproj/Localizable.strings + + hash + + QTpa9igdEdzDOU7HXEoI6/+6ecs= + + optional + + + hr.lproj/Localizable.strings + + hash + + XNZqVBtf/W3q+2HmOzai/+8n+Uw= + + optional + + + hu.lproj/Localizable.strings + + hash + + UQWa9BzgQxGHg25muSAkln1D04Y= + + optional + + + icon_add@3x.png + + ix42OrTuXbcYwCyGUxhXSTkgHJI= + + icon_checkmark@3x.png + + rk5HyzTyjjNfMG/pUqeEbhubvx4= + + id.lproj/Localizable.strings + + hash + + WtBiXhuxsfIpTls9hZ8U3LUhk70= + + optional + + + it.lproj/Localizable.strings + + hash + + IPFDIkeKVJU5AwSyygI5GBhO4oU= + + optional + + + ja.lproj/Localizable.strings + + hash + + L8KwbKpsL+EubWeIx2c64/GyOew= + + optional + + + ko.lproj/Localizable.strings + + hash + + 0hyI3Axv+iOm1yCG4ocgi8WS9zU= + + optional + + + lt-LT.lproj/Localizable.strings + + hash + + unibA6mVMXtT5FKSFscbpdFcdXk= + + optional + + + lv-LV.lproj/Localizable.strings + + hash + + L1EeCwsSGvG9qSwDLLMcXI5oGAk= + + optional + + + ms-MY.lproj/Localizable.strings + + hash + + 71E3edImR9xz1SO+JzdduqJAMj0= + + optional + + + mt.lproj/Localizable.strings + + hash + + 6BgNCldtza9LOjyC8B549TP0SN8= + + optional + + + nb.lproj/Localizable.strings + + hash + + Re8CnwnlDtLNAdpCzVVkt62bP24= + + optional + + + nl.lproj/Localizable.strings + + hash + + 7YvtoCaazmaAW8ZuQcaho0Kj0EM= + + optional + + + nn-NO.lproj/Localizable.strings + + hash + + uA8AvVj9CpCnxsjyg1ypmc8lo04= + + optional + + + pl-PL.lproj/Localizable.strings + + hash + + xk4Ph4GbNcPFVpw86fs+17quhto= + + optional + + + pt-BR.lproj/Localizable.strings + + hash + + T2UT0iQ4fo+dFSCIHRxzgG0d8OY= + + optional + + + pt-PT.lproj/Localizable.strings + + hash + + Tqh1sePdRpNgW4v4rK+gLVtBbOc= + + optional + + + ro-RO.lproj/Localizable.strings + + hash + + HmRD6nn/gh2QLn2/fOrVzqtNj5s= + + optional + + + ru.lproj/Localizable.strings + + hash + + Mvc3o0TrIqEOEDgkEzPI7OfUDzI= + + optional + + + sk-SK.lproj/Localizable.strings + + hash + + 58bpv8spWewvtw887NY+tWCUhjo= + + optional + + + sl-SI.lproj/Localizable.strings + + hash + + dMqDhyhQNXzOCIPuJ1A+aUzI2Bw= + + optional + + + sv.lproj/Localizable.strings + + hash + + UK6/dVvDz4MLsXxLlHU3n3gqtPk= + + optional + + + tk.lproj/Localizable.strings + + hash + + G8455lcapgIu5z5T/yoXdhYjp0g= + + optional + + + tr.lproj/Localizable.strings + + hash + + WZvvsI3HoclJbu12tg8jJ3RdPV0= + + optional + + + vi.lproj/Localizable.strings + + hash + + kbAHt8As5g4X9WIGNpvl3n5T/GM= + + optional + + + zh-HK.lproj/Localizable.strings + + hash + + L8vhoRDpoXH0avAAsC3JCYQiQME= + + optional + + + zh-Hans.lproj/Localizable.strings + + hash + + VhewiEfAi5zTTzZwIxhezaiGRQE= + + optional + + + zh-Hant.lproj/Localizable.strings + + hash + + A6DzA3f7n5IorVKe4bYD3A7nby8= + + optional + + + + files2 + + Headers/StripeIdentity-Swift.h + + hash2 + + v451WixiL2J+kO+1feYOeoqUSGzVSeiJ/KmX5HsRyFw= + + + Headers/StripeIdentity.h + + hash2 + + 3rUazaWkIkhqtsAGsr94kmw5Oh8MoTQjsCxP21d0z3Y= + + + Modules/StripeIdentity.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + hash2 + + RbZeI/mEoXxFTw0RlZ3RQ+oa+TpRmdqj5P2tSzx5t6o= + + + Modules/StripeIdentity.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + hash2 + + 2fnTiR4lQJgy7/D38C0oLaEnUse4N/8/sE2uX+u9F00= + + + Modules/StripeIdentity.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + hash2 + + l6sSb0BpsINJJGYE6sb4rZYDwHQhRL6w3yOe6I8eUOs= + + + Modules/StripeIdentity.swiftmodule/arm64.swiftdoc + + hash2 + + RbZeI/mEoXxFTw0RlZ3RQ+oa+TpRmdqj5P2tSzx5t6o= + + + Modules/StripeIdentity.swiftmodule/arm64.swiftinterface + + hash2 + + 2fnTiR4lQJgy7/D38C0oLaEnUse4N/8/sE2uX+u9F00= + + + Modules/StripeIdentity.swiftmodule/arm64.swiftmodule + + hash2 + + l6sSb0BpsINJJGYE6sb4rZYDwHQhRL6w3yOe6I8eUOs= + + + Modules/StripeIdentity.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + hash2 + + ZjxlMg5QWyWRalu9Ygdexfc+1N5GGrZ3h0rqUlja+IM= + + + Modules/StripeIdentity.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + hash2 + + Y3LS5Pky1lUyJubfzl0MJtOID4al9Ue6zs1XmzMeWSM= + + + Modules/StripeIdentity.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + hash2 + + KbvnOyeBTflRIX9KMkGBJe3JEgvg4/Yzh5ClllZCuqA= + + + Modules/StripeIdentity.swiftmodule/x86_64.swiftdoc + + hash2 + + ZjxlMg5QWyWRalu9Ygdexfc+1N5GGrZ3h0rqUlja+IM= + + + Modules/StripeIdentity.swiftmodule/x86_64.swiftinterface + + hash2 + + Y3LS5Pky1lUyJubfzl0MJtOID4al9Ue6zs1XmzMeWSM= + + + Modules/StripeIdentity.swiftmodule/x86_64.swiftmodule + + hash2 + + KbvnOyeBTflRIX9KMkGBJe3JEgvg4/Yzh5ClllZCuqA= + + + Modules/module.modulemap + + hash2 + + Nj8czblmUXFtqRZAFwB0RkY4WuA2930xRQW2xXGN3eI= + + + Project-Debug.xcconfig + + hash2 + + kHoE/vfj0FcaEyk5a5O3K/XxflMeFXIC/a6yIIbNZdM= + + + Project-Release.xcconfig + + hash2 + + Ipf70x5Q5KKOWpMcAgr9EZLgQnXa1mn2I7GEN+JYF5w= + + + Project-Shared.xcconfig + + hash2 + + Twml4dKf2KXIbf21/+GmfDP3bi95I7/1540Qm+njxVE= + + + StripeiOS Tests-Debug.xcconfig + + hash2 + + uGVcgGik5SaJNbb2DOeEMtNQekkLmFTOMU208gSUpOg= + + + StripeiOS Tests-Release.xcconfig + + hash2 + + aei5qbaWUFeeU4+1EnWKiUYXju20d2DsZ8st6clNmjE= + + + StripeiOS Tests-Shared.xcconfig + + hash2 + + BPoQ19I+Jl8V6Og3rE0faUDimfMVIMcK7SpLegEzqHw= + + + StripeiOS-Debug.xcconfig + + hash2 + + pbwxxIUXIqn2E43DR+cv/cppQs18Xubm514KVZ7uNE8= + + + StripeiOS-Release.xcconfig + + hash2 + + TEIZY5oO6Uf7ZI8hO9d360gObHWb0BZEbbajcyx9sSI= + + + StripeiOS-Shared.xcconfig + + hash2 + + BboBmDBwEMCs6Bp4x/EbOHTaorFmBZz7lZNNO8HkKQE= + + + Version.xcconfig + + hash2 + + INjrVf3IWEihwmcp5YKB7z+/x09lU0xrzSwAIQV1FtE= + + + bg-BG.lproj/Localizable.strings + + hash2 + + p1ZJpE6uFXfkPHNa9o3ttJzVm8nFF/HGwqV9J38MFFE= + + optional + + + ca-ES.lproj/Localizable.strings + + hash2 + + LNu4nsmbal/lhm1zCN5oVTNdIXm4o5EJvOheJt12jdM= + + optional + + + cs-CZ.lproj/Localizable.strings + + hash2 + + ZrLpCof+LWN7aWQ8O/2xYzpO81S7rhSFzQ/vRNnCc1k= + + optional + + + da.lproj/Localizable.strings + + hash2 + + 479aUuTqV7bhI7bRBb35jOW+3zLhy9Uz8ROl2EUMyKM= + + optional + + + de.lproj/Localizable.strings + + hash2 + + 1O7AXkKbyUqDRjAZx8G+woQpsDGwhshEAV+lVKq7hsU= + + optional + + + el-GR.lproj/Localizable.strings + + hash2 + + wza0/4LN/NXswYkl5oHfzFRO9NfEH5P2M8Twd2xQOOI= + + optional + + + en-GB.lproj/Localizable.strings + + hash2 + + FoQlke+tQ1QJKJz7+NV50eHFC+FY1eduMSkySsAYyAs= + + optional + + + en.lproj/Localizable.strings + + hash2 + + 8djQgfnvckP9EuwE4YNXt5NQCXVAV8vCOA/S1z4r1R4= + + optional + + + es-419.lproj/Localizable.strings + + hash2 + + cpR5xG/8Z4X0gccF4MKhtrvUBELg3yJDwhEsiGSkTWw= + + optional + + + es.lproj/Localizable.strings + + hash2 + + My//mGz4PF8h/pBIi5c+28wBtX3AfvUJInSp0bMadQo= + + optional + + + et-EE.lproj/Localizable.strings + + hash2 + + 5fBw31blhYpm9E0knW88G7SmZndVc1DZd6eX6ReR+1s= + + optional + + + fi.lproj/Localizable.strings + + hash2 + + MF+JaWziBzKlZwjaYHI6wpyKJfO94uIiIyCUGgESSBo= + + optional + + + fil.lproj/Localizable.strings + + hash2 + + +Mmct8JbEgiTZEBiynrUxvVgdveytGpeRF+liyJ9JXA= + + optional + + + fr-CA.lproj/Localizable.strings + + hash2 + + GgGuCCag5BoO7IYe9w3kfj/2BG2w7aC4EjRlDDxG5w0= + + optional + + + fr.lproj/Localizable.strings + + hash2 + + 4PaJKMkC+LtwxdTjf1DS/CP8A5a3CrYifNa6u+sIcDs= + + optional + + + hr.lproj/Localizable.strings + + hash2 + + 7a+ceSL8tXA8wCwlMD52p4w6TxC3VaNloy71gG12NbU= + + optional + + + hu.lproj/Localizable.strings + + hash2 + + AcsJZDFuF8u6txagVeC9X63QEw+7QKSZ7dWUCqkNyVE= + + optional + + + icon_add@3x.png + + hash2 + + cZ/QLIZYmKVcHEsMBkGfBxAsJMbOOBgNXKozaCWPI5w= + + + icon_checkmark@3x.png + + hash2 + + JDjvv0y/T9EHTCEskyTptimEgE4bWLM8ihhGUSIimRQ= + + + id.lproj/Localizable.strings + + hash2 + + YwLLNCMSVGZ/EWE2TeMUDpg4GrsyqIMDKTd8IJlKPpc= + + optional + + + it.lproj/Localizable.strings + + hash2 + + yqGxFKBcX9d/pIMQHWIa1t5yrZzyXw76nY36HBVuhOQ= + + optional + + + ja.lproj/Localizable.strings + + hash2 + + mmv4ZBDDWKvkUEo6YHu3MEHm/gVw84zJ09mrJk4d6X8= + + optional + + + ko.lproj/Localizable.strings + + hash2 + + PCcUP1w6Tf2SWoRF7F4NNUFieSecDVo85DncGhPiCvY= + + optional + + + lt-LT.lproj/Localizable.strings + + hash2 + + stvveRGsVHLTYeqHKn1dCkyzO2B1Fx1aRso/m7ki+jg= + + optional + + + lv-LV.lproj/Localizable.strings + + hash2 + + ERMqGf18FCdDH2fEMmiEnhoAf0ihPAA9OU1PTUiLupc= + + optional + + + ms-MY.lproj/Localizable.strings + + hash2 + + U7C8USmePKSeOvmMpz9Ga+uS0QJmCOLHiLz2Ga8O6Xo= + + optional + + + mt.lproj/Localizable.strings + + hash2 + + xcaAoDk0I1EOFpZdptKMscwelF9tuUn3xiLcf4Wy+PY= + + optional + + + nb.lproj/Localizable.strings + + hash2 + + 78z86ovbLq5ScwdtnMRxC77DEaNHNfvPnTU7uoRSMNA= + + optional + + + nl.lproj/Localizable.strings + + hash2 + + cssJ41Q0dwpFjY3p3Co/+0PuDL8iFFH4skNes7NiLVg= + + optional + + + nn-NO.lproj/Localizable.strings + + hash2 + + bfzubftrmXElgvTOC33XlKdn/OHBFBjO8QN61cpisZ4= + + optional + + + pl-PL.lproj/Localizable.strings + + hash2 + + qoFu8M8e5N6rp4Z5tYZCmsORJUOhVGKPdCmEqZpC89s= + + optional + + + pt-BR.lproj/Localizable.strings + + hash2 + + Qu+iwJ5cITmvtX+OIaRp0YdGeSpH6/99NlOQf5kKAnk= + + optional + + + pt-PT.lproj/Localizable.strings + + hash2 + + VDmzJPjcjRUp7xEy0HHLSHxUUdekhntrwawulPUxJzg= + + optional + + + ro-RO.lproj/Localizable.strings + + hash2 + + 1stLwf9FI9exqJ3RnQ+a16wTbXDlYAGXACTY6/aRpPM= + + optional + + + ru.lproj/Localizable.strings + + hash2 + + MmZz04zkm88v2eypt7EkV0FSQhQywdbjGEWA8QpQ8mI= + + optional + + + sk-SK.lproj/Localizable.strings + + hash2 + + dtYuxnFrDViQRip56X839lGIR/X/hy+8xL0guu6Bwg8= + + optional + + + sl-SI.lproj/Localizable.strings + + hash2 + + DVXSfJtUyZQWri8eai0YAN+vt7IJcpHG2KRaBEsiI0k= + + optional + + + sv.lproj/Localizable.strings + + hash2 + + DGoZcDREgl4qeDAuMc22AbMCqmUJ+oJnO6nKT4qq/ws= + + optional + + + tk.lproj/Localizable.strings + + hash2 + + qkta7aLHICazF1XKFG94fI3qLLqGrcuKTB21TrFWNlY= + + optional + + + tr.lproj/Localizable.strings + + hash2 + + p5k7QW30euSKpe0cEjGn9KIDzM5cggrQBTDFYw7QrVE= + + optional + + + vi.lproj/Localizable.strings + + hash2 + + Yf6KYAj9yguykePj+9R+JcLnQJH/uyhQvDV1TAXb7Mc= + + optional + + + zh-HK.lproj/Localizable.strings + + hash2 + + yuXK1DbHNd5Qe7maUkZqqbfAmKDl2RoyzMj0i7BEIGA= + + optional + + + zh-Hans.lproj/Localizable.strings + + hash2 + + Pb3bno27cELowJEcpqYwF1mw9tBo8ipTXhsoGHxhvZk= + + optional + + + zh-Hant.lproj/Localizable.strings + + hash2 + + 1hoExsdmAyye1gUpeZXqiVR5oX12GbujJjdjoaz54Sw= + + optional + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/bg-BG.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/bg-BG.lproj/Localizable.strings new file mode 100644 index 0000000..523e791 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/bg-BG.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/ca-ES.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/ca-ES.lproj/Localizable.strings new file mode 100644 index 0000000..af7c4ff Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/ca-ES.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/cs-CZ.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/cs-CZ.lproj/Localizable.strings new file mode 100644 index 0000000..65a002f Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/cs-CZ.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/da.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/da.lproj/Localizable.strings new file mode 100644 index 0000000..3f1f302 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/da.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/de.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/de.lproj/Localizable.strings new file mode 100644 index 0000000..7da73bc Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/de.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/el-GR.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/el-GR.lproj/Localizable.strings new file mode 100644 index 0000000..8be2a57 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/el-GR.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/en-GB.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/en-GB.lproj/Localizable.strings new file mode 100644 index 0000000..f97adbc Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/en-GB.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/en.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/en.lproj/Localizable.strings new file mode 100644 index 0000000..ad00259 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/en.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/es-419.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/es-419.lproj/Localizable.strings new file mode 100644 index 0000000..c22d80a Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/es-419.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/es.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/es.lproj/Localizable.strings new file mode 100644 index 0000000..b4b8d57 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/es.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/et-EE.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/et-EE.lproj/Localizable.strings new file mode 100644 index 0000000..1c8565e Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/et-EE.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/fi.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/fi.lproj/Localizable.strings new file mode 100644 index 0000000..0bc462f Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/fi.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/fil.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/fil.lproj/Localizable.strings new file mode 100644 index 0000000..ba51cf6 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/fil.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/fr-CA.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/fr-CA.lproj/Localizable.strings new file mode 100644 index 0000000..c8f3c42 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/fr-CA.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/fr.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/fr.lproj/Localizable.strings new file mode 100644 index 0000000..805164c Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/fr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/hr.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/hr.lproj/Localizable.strings new file mode 100644 index 0000000..771b1ad Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/hr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/hu.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/hu.lproj/Localizable.strings new file mode 100644 index 0000000..6ae236c Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/hu.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/icon_add@3x.png b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/icon_add@3x.png new file mode 100644 index 0000000..4fb1470 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/icon_add@3x.png differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/icon_checkmark@3x.png b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/icon_checkmark@3x.png new file mode 100644 index 0000000..f5ffadd Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/icon_checkmark@3x.png differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/id.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/id.lproj/Localizable.strings new file mode 100644 index 0000000..5ff68d6 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/id.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/it.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/it.lproj/Localizable.strings new file mode 100644 index 0000000..4f755e3 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/it.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/ja.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/ja.lproj/Localizable.strings new file mode 100644 index 0000000..8a89dde Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/ja.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/ko.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/ko.lproj/Localizable.strings new file mode 100644 index 0000000..b9c3426 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/ko.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/lt-LT.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/lt-LT.lproj/Localizable.strings new file mode 100644 index 0000000..c8cba7e Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/lt-LT.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/lv-LV.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/lv-LV.lproj/Localizable.strings new file mode 100644 index 0000000..2102518 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/lv-LV.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/ms-MY.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/ms-MY.lproj/Localizable.strings new file mode 100644 index 0000000..274806b Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/ms-MY.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/mt.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/mt.lproj/Localizable.strings new file mode 100644 index 0000000..ab4ac0e Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/mt.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/nb.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/nb.lproj/Localizable.strings new file mode 100644 index 0000000..73cdfa2 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/nb.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/nl.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/nl.lproj/Localizable.strings new file mode 100644 index 0000000..e9b950f Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/nl.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/nn-NO.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/nn-NO.lproj/Localizable.strings new file mode 100644 index 0000000..426757a Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/nn-NO.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/pl-PL.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/pl-PL.lproj/Localizable.strings new file mode 100644 index 0000000..68c3399 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/pl-PL.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/pt-BR.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/pt-BR.lproj/Localizable.strings new file mode 100644 index 0000000..accfcee Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/pt-BR.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/pt-PT.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/pt-PT.lproj/Localizable.strings new file mode 100644 index 0000000..b0965fc Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/pt-PT.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/ro-RO.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/ro-RO.lproj/Localizable.strings new file mode 100644 index 0000000..13fbba4 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/ro-RO.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/ru.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/ru.lproj/Localizable.strings new file mode 100644 index 0000000..22ad5fc Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/ru.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/sk-SK.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/sk-SK.lproj/Localizable.strings new file mode 100644 index 0000000..eac0996 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/sk-SK.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/sl-SI.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/sl-SI.lproj/Localizable.strings new file mode 100644 index 0000000..4e18912 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/sl-SI.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/sv.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/sv.lproj/Localizable.strings new file mode 100644 index 0000000..1b9448e Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/sv.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/tk.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/tk.lproj/Localizable.strings new file mode 100644 index 0000000..a15304b Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/tk.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/tr.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/tr.lproj/Localizable.strings new file mode 100644 index 0000000..6bc682a Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/tr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/vi.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/vi.lproj/Localizable.strings new file mode 100644 index 0000000..9b13b23 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/vi.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/zh-HK.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/zh-HK.lproj/Localizable.strings new file mode 100644 index 0000000..702d09e Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/zh-HK.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/zh-Hans.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/zh-Hans.lproj/Localizable.strings new file mode 100644 index 0000000..7db2d8b Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/zh-Hans.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/zh-Hant.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/zh-Hant.lproj/Localizable.strings new file mode 100644 index 0000000..b6adc83 Binary files /dev/null and b/stripe_ios/ios/platform/StripeIdentity.xcframework/ios-arm64_x86_64-simulator/StripeIdentity.framework/zh-Hant.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/Info.plist b/stripe_ios/ios/platform/StripeUICore.xcframework/Info.plist new file mode 100644 index 0000000..296c1ef --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/Info.plist @@ -0,0 +1,55 @@ + + + + + AvailableLibraries + + + LibraryIdentifier + ios-arm64_x86_64-maccatalyst + LibraryPath + StripeUICore.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + LibraryIdentifier + ios-arm64 + LibraryPath + StripeUICore.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + StripeUICore.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/Headers/StripeUICore-Swift.h b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/Headers/StripeUICore-Swift.h new file mode 100644 index 0000000..c43d10b --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/Headers/StripeUICore-Swift.h @@ -0,0 +1,329 @@ +// Generated by Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +#ifndef STRIPEUICORE_SWIFT_H +#define STRIPEUICORE_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# 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 +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import CoreGraphics; +@import ObjectiveC; +@import UIKit; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="StripeUICore",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +@class NSCoder; +@class UITraitCollection; +@class UIWindow; + +/// A custom replacement for UIActivityIndicatorView. +/// For internal SDK use only +SWIFT_CLASS_NAMED("ActivityIndicator") +@interface STP_Internal_ActivityIndicator : UIView +@property (nonatomic, readonly) CGSize intrinsicContentSize; +- (nonnull instancetype)init; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; +- (void)tintColorDidChange; +- (void)traitCollectionDidChange:(UITraitCollection * _Nullable)previousTraitCollection; +- (void)layoutSubviews; +- (void)willMoveToWindow:(UIWindow * _Nullable)newWindow; +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +@end + + + +@class UIEvent; + +/// The custom button used throughout the Stripe SDK. +/// For internal SDK use only +SWIFT_CLASS_NAMED("Button") +@interface STP_Internal_Button : UIControl +@property (nonatomic, readonly) UIControlState state; +@property (nonatomic, getter=isEnabled) BOOL enabled; +@property (nonatomic, getter=isHighlighted) BOOL highlighted; +/// Creates a button with the default configuration. +- (nonnull instancetype)init; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; +- (void)tintColorDidChange; +- (UIView * _Nullable)hitTest:(CGPoint)point withEvent:(UIEvent * _Nullable)event SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +@end + + + +/// For internal SDK use only +SWIFT_CLASS_NAMED("DoneButtonToolbar") +@interface STP_Internal_DoneButtonToolbar : UIToolbar +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +@end + + +/// A textfield whose input view is a UIPickerView with a list of the strings. +/// For internal SDK use only +SWIFT_CLASS_NAMED("DropdownFieldElement") +@interface STP_Internal_DropdownFieldElement : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@class UIPickerView; + +@interface STP_Internal_DropdownFieldElement (SWIFT_EXTENSION(StripeUICore)) +- (NSString * _Nullable)pickerView:(UIPickerView * _Nonnull)pickerView titleForRow:(NSInteger)row forComponent:(NSInteger)component SWIFT_WARN_UNUSED_RESULT; +- (void)pickerView:(UIPickerView * _Nonnull)pickerView didSelectRow:(NSInteger)row inComponent:(NSInteger)component; +@end + + + + +@interface STP_Internal_DropdownFieldElement (SWIFT_EXTENSION(StripeUICore)) +- (NSInteger)numberOfComponentsInPickerView:(UIPickerView * _Nonnull)pickerView SWIFT_WARN_UNUSED_RESULT; +- (NSInteger)pickerView:(UIPickerView * _Nonnull)pickerView numberOfRowsInComponent:(NSInteger)component SWIFT_WARN_UNUSED_RESULT; +@end + + +/// For internal SDK use only +SWIFT_CLASS_NAMED("DynamicHeightContainerView") +@interface STP_Internal_DynamicHeightContainerView : UIView +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +@end + + +/// A simple container view that displays its subviews in a vertical stack. +/// For internal SDK use only +SWIFT_CLASS_NAMED("FormView") +@interface STP_Internal_FormView : UIView +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +@end + + +SWIFT_CLASS("_TtC12StripeUICore24STPEmailAddressValidator") +@interface STPEmailAddressValidator : NSObject +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// For internal SDK use only +SWIFT_CLASS_NAMED("StackViewWithSeparator") +@interface STP_Internal_StackViewWithSeparator : UIStackView +@property (nonatomic) CGFloat spacing; +@property (nonatomic, getter=isUserInteractionEnabled) BOOL userInteractionEnabled; +- (void)layoutSubviews; +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; +@end + + + + + + + + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/Headers/StripeUICore.h b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/Headers/StripeUICore.h new file mode 100644 index 0000000..5f1f38a --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/Headers/StripeUICore.h @@ -0,0 +1,18 @@ +// +// StripeUICore.h +// StripeUICore +// +// Created by Mel Ludowise on 9/8/21. +// + +#import + +//! Project version number for StripeUICore. +FOUNDATION_EXPORT double StripeUICoreVersionNumber; + +//! Project version string for StripeUICore. +FOUNDATION_EXPORT const unsigned char StripeUICoreVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/Info.plist b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/Info.plist new file mode 100644 index 0000000..8a65984 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/Info.plist differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/Modules/StripeUICore.swiftmodule/arm64-apple-ios.swiftdoc b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/Modules/StripeUICore.swiftmodule/arm64-apple-ios.swiftdoc new file mode 100644 index 0000000..a3ece9f Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/Modules/StripeUICore.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/Modules/StripeUICore.swiftmodule/arm64-apple-ios.swiftinterface b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/Modules/StripeUICore.swiftmodule/arm64-apple-ios.swiftinterface new file mode 100644 index 0000000..f535dd4 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/Modules/StripeUICore.swiftmodule/arm64-apple-ios.swiftinterface @@ -0,0 +1,8 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeUICore +import Foundation +import StripeCore +@_exported import StripeUICore +import Swift +import UIKit diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/Modules/StripeUICore.swiftmodule/arm64.swiftdoc b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/Modules/StripeUICore.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..a3ece9f Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/Modules/StripeUICore.swiftmodule/arm64.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/Modules/StripeUICore.swiftmodule/arm64.swiftinterface b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/Modules/StripeUICore.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..f535dd4 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/Modules/StripeUICore.swiftmodule/arm64.swiftinterface @@ -0,0 +1,8 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeUICore +import Foundation +import StripeCore +@_exported import StripeUICore +import Swift +import UIKit diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/Modules/module.modulemap b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/Modules/module.modulemap new file mode 100644 index 0000000..9a14322 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module StripeUICore { + umbrella header "StripeUICore.h" + + export * + module * { export * } +} + +module StripeUICore.Swift { + header "StripeUICore-Swift.h" + requires objc +} diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/Project-Debug.xcconfig b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/Project-Debug.xcconfig new file mode 100644 index 0000000..893a71f --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/Project-Debug.xcconfig @@ -0,0 +1,41 @@ +// +// Project-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Project-Shared.xcconfig" + + +// Strip Debug Symbols During Copy +// +// Activating this setting causes binary files which are copied during the build (e.g., +// in a Copy Bundle Resources or Copy Files build phase) to be stripped of debugging +// symbols. It does not cause the linked product of a target to be stripped (use Strip +// Linked Product for that). + +COPY_PHASE_STRIP = NO + + +GCC_DYNAMIC_NO_PIC = NO + + +GCC_OPTIMIZATION_LEVEL = 0 + + +STP_EXTRA_PREPROCESSOR_MACROS= +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 STRIPE_UNIT_TESTS_ENABLED $(inherited) $(STP_EXTRA_PREPROCESSOR_MACROS) + + +GCC_SYMBOLS_PRIVATE_EXTERN = NO + + +// Build Active Architecture Only +// +// When checked, only the active architecture is built for faster debugging turnaround + +ONLY_ACTIVE_ARCH = YES + + +ENABLE_TESTABILITY = YES diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/Project-Release.xcconfig b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/Project-Release.xcconfig new file mode 100644 index 0000000..7ee2591 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/Project-Release.xcconfig @@ -0,0 +1,33 @@ +// +// Project-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Project-Shared.xcconfig" + + +// Strip Debug Symbols During Copy +// +// Activating this setting causes binary files which are copied during the build (e.g., +// in a Copy Bundle Resources or Copy Files build phase) to be stripped of debugging +// symbols. It does not cause the linked product of a target to be stripped (use Strip +// Linked Product for that). + +COPY_PHASE_STRIP = YES + + +ENABLE_NS_ASSERTIONS = NO + +STP_EXTRA_PREPROCESSOR_MACROS= +GCC_PREPROCESSOR_DEFINITIONS = NDEBUG $(STP_EXTRA_PREPROCESSOR_MACROS) + + +// Validate Built Product +// +// Activating this setting will cause Xcode to perform validation checks on the product +// as part of the build process. + +VALIDATE_PRODUCT = YES + diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/Project-Shared.xcconfig b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/Project-Shared.xcconfig new file mode 100644 index 0000000..3c97646 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/Project-Shared.xcconfig @@ -0,0 +1,169 @@ +// +// Project-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +// Always Search User Paths +// +// If enabled both #include -style and #include "header.h"-style directives +// will search the paths in "User Header Search Paths" before "Header Search Paths", with +// the consequence that user headers (such as your own String.h header) would have +// precedence over system headers when using #include . This is done using the +// -iquote flag for the paths provided in "User Header Search Paths". If disabled and +// your compiler fully supports separate user paths, user headers will only be accessible +// with #include "header.h"-style preprocessor directives. +// +// For backwards compatibility reasons, this setting is enabled by default, but disabling +// it is strongly recommended. + +ALWAYS_SEARCH_USER_PATHS = NO + + +CLANG_ENABLE_CODE_COVERAGE = NO + + +CLANG_ENABLE_OBJC_ARC = YES + + +CLANG_WARN__DUPLICATE_METHOD_MATCH = YES + + +CLANG_WARN_BOOL_CONVERSION = YES + + +CLANG_WARN_CONSTANT_CONVERSION = YES + + +CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES + + +CLANG_WARN_EMPTY_BODY = YES + + +CLANG_WARN_ENUM_CONVERSION = YES + + +CLANG_WARN_INT_CONVERSION = YES + + +CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES + + +CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES + + +CLANG_WARN_UNREACHABLE_CODE = YES + + +CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + + +CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + +// Default value is YES_NONAGGRESSIVE. YES is "Yes, Aggressive" in Xcode 9 UI +CLANG_ANALYZER_NONNULL = YES; + + +CLANG_WARN_INFINITE_RECURSION = YES; + + +CLANG_WARN_SUSPICIOUS_MOVE = YES; + + +ENABLE_STRICT_OBJC_MSGSEND = YES + + +GCC_C_LANGUAGE_STANDARD = gnu99 + + +CLANG_WARN_STRICT_PROTOTYPES = YES + + +CLANG_WARN_RANGE_LOOP_ANALYSIS = YES + + +CLANG_WARN_COMMA = YES + + +CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES + + +// Compiler for C/C++/Objective-C +// +// The compiler to use for C, C++, and Objective-C. + +GCC_VERSION = com.apple.compilers.llvm.clang.1_0 + + +GCC_WARN_64_TO_32_BIT_CONVERSION = YES + + +GCC_WARN_ABOUT_MISSING_NEWLINE = YES + + +GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES + + +GCC_WARN_SIGN_COMPARE = YES + + +GCC_WARN_UNDECLARED_SELECTOR = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES + + +GCC_WARN_UNUSED_FUNCTION = YES + + +GCC_WARN_UNUSED_VARIABLE = YES + + +GCC_NO_COMMON_BLOCKS = YES; + +// Precompiled Header Uses Files From Build Directory +// +// This setting allows for better control of sharing precompiled prefix header files +// between projects. By default, Xcode assumes that the prefix header file may include +// header files from the build directory if the build directory is outside of the project +// directory. (Xcode cannot determine this ahead of time since other projects may not +// have been built into the shared build directory at the time the information is +// needed.) +// +// If your prefix file never includes files from the build directory you may set this to +// "NO" to improve sharing of precompiled headers. If the prefix does use files from a +// build directory which is inside your project directory, you may set this to "YES" to +// avoid unintended sharing that may result in build failures. + +PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = NO + + +// Base SDK +// +// The name or path of the base SDK being used during the build. The product will be +// built against the headers and libraries located inside the indicated SDK. This path +// will be prepended to all search paths, and will be passed through the environment to +// the compiler and linker. Additional SDKs can be specified in the ADDITIONAL_SDKS +// setting. + +SDKROOT = iphoneos + + +WARNING_CFLAGS = -Wall -Wextra -Wundef -Wfloat-equal + +// iOS Deployment Target +// +// Code will load on this and later versions of iOS. Framework APIs that are unavailable +// in earlier versions will be weak-linked; your code should check for null function +// pointers or specific system versions before calling newer APIs. +// + +IPHONEOS_DEPLOYMENT_TARGET = 11.0 + +APPLICATION_EXTENSION_API_ONLY = NO diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/StripeUICore b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/StripeUICore new file mode 100755 index 0000000..d361342 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/StripeUICore differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/StripeiOS Tests-Debug.xcconfig b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/StripeiOS Tests-Debug.xcconfig new file mode 100644 index 0000000..d969b04 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/StripeiOS Tests-Debug.xcconfig @@ -0,0 +1,13 @@ +// +// StripeiOS Tests-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +#include "StripeiOS Tests-Shared.xcconfig" + +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited) +DEBUG_INFORMATION_FORMAT = dwarf +SWIFT_ACTIVE_COMPILATION_CONDITIONS[arch=*] = DEBUG $(inherited) diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/StripeiOS Tests-Release.xcconfig b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/StripeiOS Tests-Release.xcconfig new file mode 100644 index 0000000..3b92cfd --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/StripeiOS Tests-Release.xcconfig @@ -0,0 +1,12 @@ +// +// StripeiOS Tests-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS Tests-Shared.xcconfig" + +//********************************************// +//* Currently no build settings in this file *// +//********************************************// diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/StripeiOS Tests-Shared.xcconfig b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/StripeiOS Tests-Shared.xcconfig new file mode 100644 index 0000000..3078777 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/StripeiOS Tests-Shared.xcconfig @@ -0,0 +1,89 @@ +// +// StripeiOS Tests-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +CLANG_CXX_LANGUAGE_STANDARD = gnu++0x + + +CLANG_CXX_LIBRARY = libc++ + + +CLANG_ENABLE_MODULES = YES + + +CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR + + +CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR + + +// Code Signing Identity +// +// The name ("common name") of a valid code-signing certificate in a keychain within your +// keychain path. A missing or invalid certificate will cause a build error. + +CODE_SIGN_IDENTITY = iPhone Developer + + +// Framework Search Paths +// +// This is a list of paths to folders containing frameworks to be searched by the +// compiler for both included or imported header files when compiling C, Objective-C, +// C++, or Objective-C++, and by the linker for frameworks used by the product. Paths are +// delimited by whitespace, so any paths with spaces in them need to be properly quoted. +// [-F] + +FRAMEWORK_SEARCH_PATHS = $(inherited) $(PROJECT_DIR)/Carthage/Build/iOS + +GCC_TREAT_WARNINGS_AS_ERRORS = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR + + +GCC_WARN_SHADOW = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE + +CLANG_WARN_ASSIGN_ENUM = YES +//CLANG_WARN_DOCUMENTATION_COMMENTS = YES not enabled because of errors in FBSnapshotTestCase headers +CLANG_WARN_INFINITE_RECURSION = YES +CLANG_WARN_SUSPICIOUS_MOVE = YES +GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES +GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES +GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES +GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES +GCC_WARN_UNKNOWN_PRAGMAS = YES +GCC_WARN_UNUSED_LABEL = YES +GCC_WARN_UNUSED_PARAMETER = YES + + +// Header Search Paths +// +// This is a list of paths to folders to be searched by the compiler for included or +// imported header files when compiling C, Objective-C, C++, or Objective-C++. Paths are +// delimited by whitespace, so any paths with spaces in them need to be properly quoted. +// [-I] + +HEADER_SEARCH_PATHS = $(inherited) + + +// Runpath Search Paths +// +// This is a list of paths to be added to the runpath search path list for the image +// being created. At runtime, dyld uses the runpath when searching for dylibs whose load +// path begins with '@rpath/'. [-rpath] + +LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @loader_path/Frameworks + + +OTHER_CFLAGS = + +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES + +LIBRARY_SEARCH_PATHS = $(inherited) diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/StripeiOS-Debug.xcconfig b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/StripeiOS-Debug.xcconfig new file mode 100644 index 0000000..99304b4 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/StripeiOS-Debug.xcconfig @@ -0,0 +1,12 @@ +// +// StripeiOS-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS-Shared.xcconfig" + + +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited) +SWIFT_ACTIVE_COMPILATION_CONDITIONS[arch=*] = DEBUG $(inherited) diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/StripeiOS-Release.xcconfig b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/StripeiOS-Release.xcconfig new file mode 100644 index 0000000..3d79290 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/StripeiOS-Release.xcconfig @@ -0,0 +1,10 @@ +// +// StripeiOS-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS-Shared.xcconfig" + +APPLICATION_EXTENSION_API_ONLY = NO diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/StripeiOS-Shared.xcconfig b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/StripeiOS-Shared.xcconfig new file mode 100644 index 0000000..b274c8d --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/StripeiOS-Shared.xcconfig @@ -0,0 +1,159 @@ +// +// StripeiOS-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Version.xcconfig" + +APPLICATION_EXTENSION_API_ONLY = YES + +CLANG_CXX_LANGUAGE_STANDARD = gnu++0x + + +CLANG_CXX_LIBRARY = libc++ + + +CLANG_ENABLE_MODULES = YES + + +CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR + + +CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR + +CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES +CLANG_WARN_INFINITE_RECURSION = YES +CLANG_WARN_SUSPICIOUS_MOVE = YES +CLANG_WARN_ASSIGN_ENUM = YES +CLANG_WARN_DOCUMENTATION_COMMENTS = YES +CLANG_WARN_UNGUARDED_AVAILABILITY = YES + +// Code Signing Identity +// +// The name ("common name") of a valid code-signing certificate in a keychain within your +// keychain path. A missing or invalid certificate will cause a build error. + +CODE_SIGN_IDENTITY[sdk=iphoneos*] = + +// Defines Module +// +// If enabled, the product will be treated as defining its own module. This enables +// automatic production of LLVM module map files when appropriate, and allows the product +// to be imported as a module. + +DEFINES_MODULE = YES + + +// Compatibility Version +// +// Determines the compatibility version of the resulting library, bundle, or framework +// binary. + +DYLIB_COMPATIBILITY_VERSION = 1 + + +// Current Library Version +// +// This setting defines the the current version of any framework built by the project. +// Like "Current Project Version", the value must be an integer or floating point number +// like 57 or 365.8. By default it is set to $(CURRENT_PROJECT_VERSION). + +DYLIB_CURRENT_VERSION = 1 + + +// Dynamic Library Install Name Base +// +// Sets the base value for the internal "install path" (LC_ID_DYLIB) in a dynamic +// library. This will be combined with the EXECUTABLE_PATH to form the full install path. +// Setting LD_DYLIB_INSTALL_NAME directly will override this setting. This setting +// defaults to the target's INSTALL_PATH. It is ignored when building any product other +// than a dynamic library. [-install_name] + +DYLIB_INSTALL_NAME_BASE = @rpath + + +GCC_TREAT_WARNINGS_AS_ERRORS = YES +SWIFT_TREAT_WARNINGS_AS_ERRORS = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR + + +GCC_WARN_SHADOW = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE + +GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES +GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES +GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES +GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES +GCC_WARN_UNKNOWN_PRAGMAS = YES +GCC_WARN_UNUSED_LABEL = YES +GCC_WARN_UNUSED_PARAMETER = YES + + +// Installation Directory +// +// The directory to install the build products in. This path is prepended by the +// 'Installation Build Products Location' (i.e., $(DSTROOT)). + +INSTALL_PATH = $(LOCAL_LIBRARY_DIR)/Frameworks + + +// Runpath Search Paths +// +// This is a list of paths to be added to the runpath search path list for the image +// being created. At runtime, dyld uses the runpath when searching for dylibs whose load +// path begins with '@rpath/'. [-rpath] + +LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @loader_path/Frameworks + + +// Skip Install +// +// Activating this setting when deployment locations are used causes the product to be +// built into an alternative location instead of the install location. + +SKIP_INSTALL = YES + + +// Targeted Device Family +// +// The build system uses the selected device to set the correct value for the +// UIDeviceFamily key it adds to the target's Info.plist file. +// +// iPhone - Application is built for iPhone and iPod touch. +// iPad - Application is built for iPad. +// iPhone/iPad - Application is built Universal for iPhone, iPod touch, and iPad. + +TARGETED_DEVICE_FAMILY = 1,2 + + +// Versioning Name Prefix +// +// Used as a prefix for the name of the version info symbol in the generated versioning +// source file. If you prefix your exported symbols you will probably want to set this +// to the same prefix. + +VERSION_INFO_PREFIX = + + +// Versioning System +// +// Selects the process used for version-stamping generated files. +// +// None - Use no versioning system. [] +// Apple Generic - Use the current project version setting. [apple-generic] + +VERSIONING_SYSTEM = apple-generic + +FRAMEWORK_SEARCH_PATHS = $(inherited) +HEADER_SEARCH_PATHS = $(inherited) + +LIBRARY_SEARCH_PATHS = $(inherited) $(CONFIGURATION_BUILD_DIR) + +// Generate .swiftinterface files +BUILD_LIBRARY_FOR_DISTRIBUTION = YES diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/Version.xcconfig b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/Version.xcconfig new file mode 100644 index 0000000..385e5d1 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/Version.xcconfig @@ -0,0 +1,9 @@ +// +// Version.xcconfig +// +// This file was generated by update_version.sh +// Do not edit this file directly. +// Instead, edit the `VERSION` file and run `ci_scripts/update_version.sh` +// + +CURRENT_PROJECT_VERSION=21.12.0 diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/brand_stripe@3x.png b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/brand_stripe@3x.png new file mode 100644 index 0000000..235dd9a Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/brand_stripe@3x.png differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/da.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/da.lproj/Localizable.strings new file mode 100644 index 0000000..a5df659 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/da.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/de.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/de.lproj/Localizable.strings new file mode 100644 index 0000000..1df80e1 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/de.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/en-GB.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/en-GB.lproj/Localizable.strings new file mode 100644 index 0000000..ec2fe88 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/en-GB.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/en.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/en.lproj/Localizable.strings new file mode 100644 index 0000000..055479c Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/en.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/es-419.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/es-419.lproj/Localizable.strings new file mode 100644 index 0000000..759a2a2 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/es-419.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/es.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/es.lproj/Localizable.strings new file mode 100644 index 0000000..a1f3d0a Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/es.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/fi.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/fi.lproj/Localizable.strings new file mode 100644 index 0000000..391c0c2 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/fi.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/fr-CA.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/fr-CA.lproj/Localizable.strings new file mode 100644 index 0000000..9d9fd68 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/fr-CA.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/fr.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/fr.lproj/Localizable.strings new file mode 100644 index 0000000..150208a Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/fr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/hu.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/hu.lproj/Localizable.strings new file mode 100644 index 0000000..2feb240 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/hu.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/icon_chevron_down@3x.png b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/icon_chevron_down@3x.png new file mode 100644 index 0000000..d53a95c Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/icon_chevron_down@3x.png differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/it.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/it.lproj/Localizable.strings new file mode 100644 index 0000000..e969590 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/it.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/ja.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/ja.lproj/Localizable.strings new file mode 100644 index 0000000..a482828 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/ja.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/ko.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/ko.lproj/Localizable.strings new file mode 100644 index 0000000..60bac9b Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/ko.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/localized_address_data.json b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/localized_address_data.json new file mode 100644 index 0000000..8e3ddca --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/localized_address_data.json @@ -0,0 +1,878 @@ +{ + "AC": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "zip": "ASCN 1ZZ", + }, + "AD": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "AD[1-7]0\\d", + }, + "AE": { + "fmt": "%N%n%O%n%A%n%S", + "lfmt": "%N%n%O%n%A%n%S", + "require": "AS", + "state_name_type": "emirate", + }, + "AF": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "zip": "\\d{4}", + }, + "AI": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "zip": "(?:AI-)?2640", + }, + "AL": { + "fmt": "%N%n%O%n%A%n%Z%n%C", + "zip": "\\d{4}", + }, + "AM": { + "fmt": "%N%n%O%n%A%n%Z%n%C%n%S", + "lfmt": "%N%n%O%n%A%n%Z%n%C%n%S", + "zip": "(?:37)?\\d{4}", + }, + "AR": { + "fmt": "%N%n%O%n%A%n%Z %C%n%S", + "zip": "((?:[A-HJ-NP-Z])?\\d{4})([A-Z]{3})?", + }, + "AT": { + "fmt": "%O%n%N%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{4}", + }, + "AU": { + "fmt": "%O%n%N%n%A%n%C %S %Z", + "locality_name_type": "suburb", + "require": "ACSZ", + "state_name_type": "state", + "zip": "\\d{4}", + }, + "AX": { + "fmt": "%O%n%N%n%A%nAX-%Z %C%nÅLAND", + "postprefix": "AX-", + "require": "ACZ", + "zip": "22\\d{3}", + }, + "AZ": { + "fmt": "%N%n%O%n%A%nAZ %Z %C", + "postprefix": "AZ ", + "zip": "\\d{4}", + }, + "BA": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{5}", + }, + "BB": { + "fmt": "%N%n%O%n%A%n%C, %S %Z", + "state_name_type": "parish", + "zip": "BB\\d{5}", + }, + "BD": { + "fmt": "%N%n%O%n%A%n%C - %Z", + "zip": "\\d{4}", + }, + "BE": { + "fmt": "%O%n%N%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{4}", + }, + "BF": { + "fmt": "%N%n%O%n%A%n%C %X", + }, + "BG": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{4}", + }, + "BH": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "(?:\\d|1[0-2])\\d{2}", + }, + "BL": { + "fmt": "%O%n%N%n%A%n%Z %C %X", + "require": "ACZ", + "zip": "9[78][01]\\d{2}", + }, + "BM": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "[A-Z]{2} ?[A-Z0-9]{2}", + }, + "BN": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "[A-Z]{2} ?\\d{4}", + }, + "BR": { + "fmt": "%O%n%N%n%A%n%D%n%C-%S%n%Z", + "require": "ASCZ", + "state_name_type": "state", + "sublocality_name_type": "neighborhood", + "zip": "\\d{5}-?\\d{3}", + }, + "BS": { + "fmt": "%N%n%O%n%A%n%C, %S", + "state_name_type": "island", + }, + "BT": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "\\d{5}", + }, + "BY": { + "fmt": "%S%n%Z %C%n%A%n%O%n%N", + "zip": "\\d{6}", + }, + "CA": { + "fmt": "%N%n%O%n%A%n%C %S %Z", + "require": "ACSZ", + "zip": "[ABCEGHJKLMNPRSTVXY]\\d[ABCEGHJ-NPRSTV-Z] ?\\d[ABCEGHJ-NPRSTV-Z]\\d", + }, + "CH": { + "fmt": "%O%n%N%n%A%nCH-%Z %C", + "postprefix": "CH-", + "require": "ACZ", + "zip": "\\d{4}", + }, + "CI": { + "fmt": "%N%n%O%n%X %A %C %X", + }, + "CL": { + "fmt": "%N%n%O%n%A%n%Z %C%n%S", + "zip": "\\d{7}", + }, + "CN": { + "fmt": "%Z%n%S%C%D%n%A%n%O%n%N", + "lfmt": "%N%n%O%n%A%n%D%n%C%n%S, %Z", + "require": "ACSZ", + "sublocality_name_type": "district", + "zip": "\\d{6}", + }, + "CO": { + "fmt": "%N%n%O%n%A%n%C, %S, %Z", + "require": "AS", + "state_name_type": "department", + "zip": "\\d{6}", + }, + "CR": { + "fmt": "%N%n%O%n%A%n%S, %C%n%Z", + "require": "ACS", + "zip": "\\d{4,5}|\\d{3}-\\d{4}", + }, + "CV": { + "fmt": "%N%n%O%n%A%n%Z %C%n%S", + "state_name_type": "island", + "zip": "\\d{4}", + }, + "CY": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{4}", + }, + "CZ": { + "fmt": "%N%n%O%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{3} ?\\d{2}", + }, + "DE": { + "fmt": "%N%n%O%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{5}", + }, + "DK": { + "fmt": "%N%n%O%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{4}", + }, + "DO": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{5}", + }, + "DZ": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{5}", + }, + "EC": { + "fmt": "%N%n%O%n%A%n%Z%n%C", + "zip": "\\d{6}", + }, + "EE": { + "fmt": "%N%n%O%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{5}", + }, + "EG": { + "fmt": "%N%n%O%n%A%n%C%n%S%n%Z", + "lfmt": "%N%n%O%n%A%n%C%n%S%n%Z", + "zip": "\\d{5}", + }, + "EH": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{5}", + }, + "ES": { + "fmt": "%N%n%O%n%A%n%Z %C %S", + "require": "ACSZ", + "zip": "\\d{5}", + }, + "ET": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{4}", + }, + "FI": { + "fmt": "%O%n%N%n%A%nFI-%Z %C", + "postprefix": "FI-", + "require": "ACZ", + "zip": "\\d{5}", + }, + "FK": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "require": "ACZ", + "zip": "FIQQ 1ZZ", + }, + "FO": { + "fmt": "%N%n%O%n%A%nFO%Z %C", + "postprefix": "FO", + "zip": "\\d{3}", + }, + "FR": { + "fmt": "%O%n%N%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{2} ?\\d{3}", + }, + "GB": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "locality_name_type": "post_town", + "require": "ACZ", + "zip": + "GIR ?0AA|(?:(?:AB|AL|B|BA|BB|BD|BF|BH|BL|BN|BR|BS|BT|BX|CA|CB|CF|CH|CM|CO|CR|CT|CV|CW|DA|DD|DE|DG|DH|DL|DN|DT|DY|E|EC|EH|EN|EX|FK|FY|G|GL|GY|GU|HA|HD|HG|HP|HR|HS|HU|HX|IG|IM|IP|IV|JE|KA|KT|KW|KY|L|LA|LD|LE|LL|LN|LS|LU|M|ME|MK|ML|N|NE|NG|NN|NP|NR|NW|OL|OX|PA|PE|PH|PL|PO|PR|RG|RH|RM|S|SA|SE|SG|SK|SL|SM|SN|SO|SP|SR|SS|ST|SW|SY|TA|TD|TF|TN|TQ|TR|TS|TW|UB|W|WA|WC|WD|WF|WN|WR|WS|WV|YO|ZE)(?:\\d[\\dA-Z]? ?\\d[ABD-HJLN-UW-Z]{2}))|BFPO ?\\d{1,4}", + "zipex": + "EC1Y 8SY,GIR 0AA,M2 5BQ,M34 4AB,CR0 2YR,DN16 9AA,W1A 4ZZ,EC1A 1HQ,OX14 4PG,BS18 8HF,NR25 7HG,RH6 0NP,BH23 6AA,B6 5BA,SO23 9AP,PO1 3AX,BFPO 61" + }, + "GE": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{4}", + }, + "GF": { + "fmt": "%O%n%N%n%A%n%Z %C %X", + "require": "ACZ", + "zip": "9[78]3\\d{2}", + }, + "GG": { + "fmt": "%N%n%O%n%A%n%C%nGUERNSEY%n%Z", + "require": "ACZ", + "zip": "GY\\d[\\dA-Z]? ?\\d[ABD-HJLN-UW-Z]{2}", + }, + "GI": { + "fmt": "%N%n%O%n%A%nGIBRALTAR%n%Z", + "require": "A", + "zip": "GX11 1AA", + }, + "GL": { + "fmt": "%N%n%O%n%A%n%Z %C", + "require": "ACZ", + "zip": "39\\d{2}", + }, + "GN": { + "fmt": "%N%n%O%n%Z %A %C", + "zip": "\\d{3}", + }, + "GP": { + "fmt": "%O%n%N%n%A%n%Z %C %X", + "require": "ACZ", + "zip": "9[78][01]\\d{2}", + }, + "GR": { + "fmt": "%N%n%O%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{3} ?\\d{2}", + }, + "GS": { + "fmt": "%N%n%O%n%A%n%n%C%n%Z", + "require": "ACZ", + "zip": "SIQQ 1ZZ", + }, + "GT": { + "fmt": "%N%n%O%n%A%n%Z- %C", + "zip": "\\d{5}", + }, + "GU": { + "fmt": "%N%n%O%n%A%n%C %Z", + "require": "ACZ", + "zip": "(969(?:[12]\\d|3[12]))(?:[ \\-](\\d{4}))?", + "zip_name_type": "zip", + }, + "GW": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{4}", + }, + "HK": { + "fmt": "%S%n%C%n%A%n%O%n%N", + "lfmt": "%N%n%O%n%A%n%C%n%S", + "locality_name_type": "district", + "require": "AS", + "state_name_type": "area", + }, + "HN": { + "fmt": "%N%n%O%n%A%n%C, %S%n%Z", + "require": "ACS", + "state_name_type": "department", + "zip": "\\d{5}", + }, + "HR": { + "fmt": "%N%n%O%n%A%nHR-%Z %C", + "postprefix": "HR-", + "zip": "\\d{5}", + }, + "HT": { + "fmt": "%N%n%O%n%A%nHT%Z %C", + "postprefix": "HT", + "zip": "\\d{4}", + }, + "HU": { + "fmt": "%N%n%O%n%C%n%A%n%Z", + "require": "ACZ", + "zip": "\\d{4}", + }, + "ID": { + "fmt": "%N%n%O%n%A%n%C%n%S %Z", + "require": "AS", + "zip": "\\d{5}", + }, + "IE": { + "fmt": "%N%n%O%n%A%n%D%n%C%n%S %Z", + "state_name_type": "county", + "sublocality_name_type": "townland", + "zip": "[\\dA-Z]{3} ?[\\dA-Z]{4}", + "zip_name_type": "eircode", + }, + "IL": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "\\d{5}(?:\\d{2})?", + }, + "IM": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "require": "ACZ", + "zip": "IM\\d[\\dA-Z]? ?\\d[ABD-HJLN-UW-Z]{2}", + }, + "IN": { + "fmt": "%N%n%O%n%A%n%C %Z%n%S", + "require": "ACSZ", + "state_name_type": "state", + "zip": "\\d{6}", + "zip_name_type": "pin", + }, + "IO": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "require": "ACZ", + "zip": "BBND 1ZZ", + }, + "IQ": { + "fmt": "%O%n%N%n%A%n%C, %S%n%Z", + "require": "ACS", + "zip": "\\d{5}", + }, + "IS": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{3}", + }, + "IT": { + "fmt": "%N%n%O%n%A%n%Z %C %S", + "require": "ACSZ", + "zip": "\\d{5}", + }, + "JE": { + "fmt": "%N%n%O%n%A%n%C%nJERSEY%n%Z", + "require": "ACZ", + "zip": "JE\\d[\\dA-Z]? ?\\d[ABD-HJLN-UW-Z]{2}", + }, + "JM": { + "fmt": "%N%n%O%n%A%n%C%n%S %X", + "require": "ACS", + "state_name_type": "parish", + }, + "JO": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "\\d{5}", + }, + "JP": { + "fmt": "〒%Z%n%S%n%A%n%O%n%N", + "lfmt": "%N%n%O%n%A, %S%n%Z", + "require": "ASZ", + "state_name_type": "prefecture", + "zip": "\\d{3}-?\\d{4}", + }, + "KE": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "zip": "\\d{5}", + }, + "KG": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{6}", + }, + "KH": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "\\d{5}", + }, + "KI": { + "fmt": "%N%n%O%n%A%n%S%n%C", + "state_name_type": "island", + }, + "KN": { + "fmt": "%N%n%O%n%A%n%C, %S", + "require": "ACS", + "state_name_type": "island", + }, + "KR": { + "fmt": "%S %C%D%n%A%n%O%n%N%n%Z", + "lfmt": "%N%n%O%n%A%n%D%n%C%n%S%n%Z", + "require": "ACSZ", + "state_name_type": "do_si", + "sublocality_name_type": "district", + "zip": "\\d{5}", + }, + "KW": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{5}", + }, + "KY": { + "fmt": "%N%n%O%n%A%n%S %Z", + "require": "AS", + "state_name_type": "island", + "zip": "KY\\d-\\d{4}", + }, + "KZ": { + "fmt": "%Z%n%S%n%C%n%A%n%O%n%N", + "zip": "\\d{6}", + }, + "LA": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{5}", + }, + "LB": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "(?:\\d{4})(?: ?(?:\\d{4}))?", + }, + "LI": { + "fmt": "%O%n%N%n%A%nFL-%Z %C", + "postprefix": "FL-", + "require": "ACZ", + "zip": "948[5-9]|949[0-8]", + }, + "LK": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "zip": "\\d{5}", + }, + "LR": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{4}", + }, + "LS": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "\\d{3}", + }, + "LT": { + "fmt": "%O%n%N%n%A%nLT-%Z %C", + "postprefix": "LT-", + "require": "ACZ", + "zip": "\\d{5}", + }, + "LU": { + "fmt": "%O%n%N%n%A%nL-%Z %C", + "postprefix": "L-", + "require": "ACZ", + "zip": "\\d{4}", + }, + "LV": { + "fmt": "%N%n%O%n%A%n%C, %Z", + "require": "ACZ", + "zip": "LV-\\d{4}", + }, + "MA": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{5}", + }, + "MC": { + "fmt": "%N%n%O%n%A%nMC-%Z %C %X", + "postprefix": "MC-", + "zip": "980\\d{2}", + }, + "MD": { + "fmt": "%N%n%O%n%A%nMD-%Z %C", + "postprefix": "MD-", + "zip": "\\d{4}", + }, + "ME": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "8\\d{4}", + }, + "MF": { + "fmt": "%O%n%N%n%A%n%Z %C %X", + "require": "ACZ", + "zip": "9[78][01]\\d{2}", + }, + "MG": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{3}", + }, + "MK": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{4}", + }, + "MM": { + "fmt": "%N%n%O%n%A%n%C, %Z", + "zip": "\\d{5}", + }, + "MN": { + "fmt": "%N%n%O%n%A%n%C%n%S %Z", + "zip": "\\d{5}", + }, + "MO": { + "fmt": "%A%n%O%n%N", + "lfmt": "%N%n%O%n%A", + "require": "A" + }, + "MQ": { + "fmt": "%O%n%N%n%A%n%Z %C %X", + "require": "ACZ", + "zip": "9[78]2\\d{2}", + }, + "MT": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "[A-Z]{3} ?\\d{2,4}", + }, + "MU": { + "fmt": "%N%n%O%n%A%n%Z%n%C", + "zip": "\\d{3}(?:\\d{2}|[A-Z]{2}\\d{3})", + }, + "MV": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "\\d{5}", + }, + "MX": { + "fmt": "%N%n%O%n%A%n%D%n%Z %C, %S", + "require": "ACSZ", + "state_name_type": "state", + "sublocality_name_type": "neighborhood", + "zip": "\\d{5}", + }, + "MY": { + "fmt": "%N%n%O%n%A%n%D%n%Z %C%n%S", + "require": "ACZ", + "state_name_type": "state", + "sublocality_name_type": "village_township", + "zip": "\\d{5}", + }, + "MZ": { + "fmt": "%N%n%O%n%A%n%Z %C%S", + "zip": "\\d{4}", + }, + "NA": { + "fmt": "%N%n%O%n%A%n%Cn%Z", + "zip": "\\d{5}", + }, + "NC": { + "fmt": "%O%n%N%n%A%n%Z %C %X", + "require": "ACZ", + "zip": "988\\d{2}", + }, + "NE": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{4}", + }, + "NG": { + "fmt": "%N%n%O%n%A%n%D%n%C %Z%n%S", + "state_name_type": "state", + "zip": "\\d{6}", + }, + "NI": { + "fmt": "%N%n%O%n%A%n%Z%n%C, %S", + "state_name_type": "department", + "zip": "\\d{5}", + }, + "NL": { + "fmt": "%O%n%N%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{4} ?[A-Z]{2}", + }, + "NO": { + "fmt": "%N%n%O%n%A%n%Z %C", + "locality_name_type": "post_town", + "require": "ACZ", + "zip": "\\d{4}", + }, + "NP": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "\\d{5}", + }, + "NR": { + "fmt": "%N%n%O%n%A%n%S", + "require": "AS", + "state_name_type": "district", + }, + "NZ": { + "fmt": "%N%n%O%n%A%n%D%n%C %Z", + "require": "ACZ", + "zip": "\\d{4}", + }, + "OM": { + "fmt": "%N%n%O%n%A%n%Z%n%C", + "zip": "(?:PC )?\\d{3}", + }, + "PA": { + "fmt": "%N%n%O%n%A%n%C%n%S", + }, + "PE": { + "fmt": "%N%n%O%n%A%n%C %Z%n%S", + "locality_name_type": "district", + "zip": "(?:LIMA \\d{1,2}|CALLAO 0?\\d)|[0-2]\\d{4}", + }, + "PF": { + "fmt": "%N%n%O%n%A%n%Z %C %S", + "require": "ACSZ", + "state_name_type": "island", + "zip": "987\\d{2}", + }, + "PG": { + "fmt": "%N%n%O%n%A%n%C %Z %S", + "require": "ACS", + "zip": "\\d{3}", + }, + "PH": { + "fmt": "%N%n%O%n%A%n%D, %C%n%Z %S", + "zip": "\\d{4}", + }, + "PK": { + "fmt": "%N%n%O%n%A%n%C-%Z", + "zip": "\\d{5}", + }, + "PL": { + "fmt": "%N%n%O%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{2}-\\d{3}", + }, + "PM": { + "fmt": "%O%n%N%n%A%n%Z %C %X", + "require": "ACZ", + "zip": "9[78]5\\d{2}", + }, + "PN": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "require": "ACZ", + "zip": "PCRN 1ZZ", + }, + "PR": { + "fmt": "%N%n%O%n%A%n%C PR %Z", + "postprefix": "PR ", + "require": "ACZ", + "zip": "(00[679]\\d{2})(?:[ \\-](\\d{4}))?", + "zip_name_type": "zip", + }, + "PT": { + "fmt": "%N%n%O%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{4}-\\d{3}", + }, + "PY": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{4}", + }, + "RE": { + "fmt": "%O%n%N%n%A%n%Z %C %X", + "require": "ACZ", + "zip": "9[78]4\\d{2}", + }, + "RO": { + "fmt": "%N%n%O%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{6}", + }, + "RS": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{5,6}", + }, + "RU": { + "fmt": "%N%n%O%n%A%n%C%n%S%n%Z", + "lfmt": "%N%n%O%n%A%n%C%n%S%n%Z", + "require": "ACSZ", + "state_name_type": "oblast", + "zip": "\\d{6}", + }, + "SA": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "\\d{5}", + }, + "SC": { + "fmt": "%N%n%O%n%A%n%C%n%S", + "state_name_type": "island", + }, + "SE": { + "fmt": "%O%n%N%n%A%nSE-%Z %C", + "locality_name_type": "post_town", + "postprefix": "SE-", + "require": "ACZ", + "zip": "\\d{3} ?\\d{2}", + }, + "SG": { + "fmt": "%N%n%O%n%A%nSINGAPORE %Z", + "require": "AZ", + "zip": "\\d{6}", + }, + "SH": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "require": "ACZ", + "zip": "(?:ASCN|STHL) 1ZZ", + }, + "SI": { + "fmt": "%N%n%O%n%A%nSI-%Z %C", + "postprefix": "SI-", + "zip": "\\d{4}", + }, + "SJ": { + "fmt": "%N%n%O%n%A%n%Z %C", + "locality_name_type": "post_town", + "require": "ACZ", + "zip": "\\d{4}", + }, + "SK": { + "fmt": "%N%n%O%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{3} ?\\d{2}", + }, + "SM": { + "fmt": "%N%n%O%n%A%n%Z %C", + "require": "AZ", + "zip": "4789\\d", + }, + "SN": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{5}", + }, + "SO": { + "fmt": "%N%n%O%n%A%n%C, %S %Z", + "require": "ACS", + "zip": "[A-Z]{2} ?\\d{5}", + }, + "SR": { + "fmt": "%N%n%O%n%A%n%C%n%S", + }, + "SV": { + "fmt": "%N%n%O%n%A%n%Z-%C%n%S", + "require": "ACS", + "zip": "CP [1-3][1-7][0-2]\\d", + }, + "SZ": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "zip": "[HLMS]\\d{3}", + }, + "TA": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "zip": "TDCU 1ZZ", + }, + "TC": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "require": "ACZ", + "zip": "TKCA 1ZZ", + }, + "TH": { + "fmt": "%N%n%O%n%A%n%D %C%n%S %Z", + "lfmt": "%N%n%O%n%A%n%D, %C%n%S %Z", + "zip": "\\d{5}", + }, + "TJ": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{6}", + }, + "TM": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{6}", + }, + "TN": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{4}", + }, + "TR": { + "fmt": "%N%n%O%n%A%n%Z %C/%S", + "locality_name_type": "district", + "require": "ACZ", + "zip": "\\d{5}", + }, + "TV": { + "fmt": "%N%n%O%n%A%n%C%n%S", + "state_name_type": "island", + }, + "TW": { + "fmt": "%Z%n%S%C%n%A%n%O%n%N", + "lfmt": "%N%n%O%n%A%n%C, %S %Z", + "require": "ACSZ", + "state_name_type": "county", + "zip": "\\d{3}(?:\\d{2,3})?", + }, + "TZ": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{4,5}", + }, + "UA": { + "fmt": "%N%n%O%n%A%n%C%n%S%n%Z", + "lfmt": "%N%n%O%n%A%n%C%n%S%n%Z", + "require": "ACZ", + "state_name_type": "oblast", + "zip": "\\d{5}", + }, + "US": { + "fmt": "%N%n%O%n%A%n%C, %S %Z", + "require": "ACSZ", + "state_name_type": "state", + "zip": "(\\d{5})(?:[ \\-](\\d{4}))?", + "zip_name_type": "zip", + }, + "UY": { + "fmt": "%N%n%O%n%A%n%Z %C %S", + "zip": "\\d{5}", + }, + "UZ": { + "fmt": "%N%n%O%n%A%n%Z %C%n%S", + "zip": "\\d{6}", + }, + "VA": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "00120", + }, + "VC": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "VC\\d{4}", + }, + "VE": { + "fmt": "%N%n%O%n%A%n%C %Z, %S", + "require": "ACS", + "state_name_type": "state", + "zip": "\\d{4}", + }, + "VG": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "require": "A", + "zip": "VG\\d{4}", + }, + "VN": { + "fmt": "%N%n%O%n%A%n%C%n%S %Z", + "lfmt": "%N%n%O%n%A%n%C%n%S %Z", + "zip": "\\d{5}\\d?", + }, + "WF": { + "fmt": "%O%n%N%n%A%n%Z %C %X", + "require": "ACZ", + "zip": "986\\d{2}", + }, + "XK": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "[1-7]\\d{4}", + }, + "YT": { + "fmt": "%O%n%N%n%A%n%Z %C %X", + "require": "ACZ", + "zip": "976\\d{2}", + }, + "ZA": { + "fmt": "%N%n%O%n%A%n%D%n%C%n%Z", + "require": "ACZ", + "zip": "\\d{4}", + }, + "ZM": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{5}", + }, +} diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/mt.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/mt.lproj/Localizable.strings new file mode 100644 index 0000000..848ce1b Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/mt.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/nb.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/nb.lproj/Localizable.strings new file mode 100644 index 0000000..f486dcd Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/nb.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/nl.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/nl.lproj/Localizable.strings new file mode 100644 index 0000000..beb7698 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/nl.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/nn-NO.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/nn-NO.lproj/Localizable.strings new file mode 100644 index 0000000..d361c23 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/nn-NO.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/pt-BR.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/pt-BR.lproj/Localizable.strings new file mode 100644 index 0000000..e0120b4 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/pt-BR.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/pt-PT.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/pt-PT.lproj/Localizable.strings new file mode 100644 index 0000000..cea59de Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/pt-PT.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/ru.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/ru.lproj/Localizable.strings new file mode 100644 index 0000000..1d03d96 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/ru.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/sv.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/sv.lproj/Localizable.strings new file mode 100644 index 0000000..fd17931 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/sv.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/tr.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/tr.lproj/Localizable.strings new file mode 100644 index 0000000..0ae9897 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/tr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/zh-HK.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/zh-HK.lproj/Localizable.strings new file mode 100644 index 0000000..a8fc758 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/zh-HK.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/zh-Hans.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/zh-Hans.lproj/Localizable.strings new file mode 100644 index 0000000..e74fb70 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/zh-Hans.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/zh-Hant.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/zh-Hant.lproj/Localizable.strings new file mode 100644 index 0000000..8fe0efb Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64/StripeUICore.framework/zh-Hant.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Headers b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Headers new file mode 120000 index 0000000..a177d2a --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Modules b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Modules new file mode 120000 index 0000000..5736f31 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Modules @@ -0,0 +1 @@ +Versions/Current/Modules \ No newline at end of file diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Resources b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Resources new file mode 120000 index 0000000..953ee36 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/StripeUICore b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/StripeUICore new file mode 120000 index 0000000..c9f55c4 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/StripeUICore @@ -0,0 +1 @@ +Versions/Current/StripeUICore \ No newline at end of file diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Headers/StripeUICore-Swift.h b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Headers/StripeUICore-Swift.h new file mode 100644 index 0000000..3a31027 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Headers/StripeUICore-Swift.h @@ -0,0 +1,664 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +#ifndef STRIPEUICORE_SWIFT_H +#define STRIPEUICORE_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# 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 +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import CoreGraphics; +@import ObjectiveC; +@import UIKit; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="StripeUICore",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +@class NSCoder; +@class UITraitCollection; +@class UIWindow; + +/// A custom replacement for UIActivityIndicatorView. +/// For internal SDK use only +SWIFT_CLASS_NAMED("ActivityIndicator") +@interface STP_Internal_ActivityIndicator : UIView +@property (nonatomic, readonly) CGSize intrinsicContentSize; +- (nonnull instancetype)init; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; +- (void)tintColorDidChange; +- (void)traitCollectionDidChange:(UITraitCollection * _Nullable)previousTraitCollection; +- (void)layoutSubviews; +- (void)willMoveToWindow:(UIWindow * _Nullable)newWindow; +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +@end + + + +@class UIEvent; + +/// The custom button used throughout the Stripe SDK. +/// For internal SDK use only +SWIFT_CLASS_NAMED("Button") +@interface STP_Internal_Button : UIControl +@property (nonatomic, readonly) UIControlState state; +@property (nonatomic, getter=isEnabled) BOOL enabled; +@property (nonatomic, getter=isHighlighted) BOOL highlighted; +/// Creates a button with the default configuration. +- (nonnull instancetype)init; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; +- (void)tintColorDidChange; +- (UIView * _Nullable)hitTest:(CGPoint)point withEvent:(UIEvent * _Nullable)event SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +@end + + + +/// For internal SDK use only +SWIFT_CLASS_NAMED("DoneButtonToolbar") +@interface STP_Internal_DoneButtonToolbar : UIToolbar +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +@end + + +/// A textfield whose input view is a UIPickerView with a list of the strings. +/// For internal SDK use only +SWIFT_CLASS_NAMED("DropdownFieldElement") +@interface STP_Internal_DropdownFieldElement : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@class UIPickerView; + +@interface STP_Internal_DropdownFieldElement (SWIFT_EXTENSION(StripeUICore)) +- (NSString * _Nullable)pickerView:(UIPickerView * _Nonnull)pickerView titleForRow:(NSInteger)row forComponent:(NSInteger)component SWIFT_WARN_UNUSED_RESULT; +- (void)pickerView:(UIPickerView * _Nonnull)pickerView didSelectRow:(NSInteger)row inComponent:(NSInteger)component; +@end + + + + +@interface STP_Internal_DropdownFieldElement (SWIFT_EXTENSION(StripeUICore)) +- (NSInteger)numberOfComponentsInPickerView:(UIPickerView * _Nonnull)pickerView SWIFT_WARN_UNUSED_RESULT; +- (NSInteger)pickerView:(UIPickerView * _Nonnull)pickerView numberOfRowsInComponent:(NSInteger)component SWIFT_WARN_UNUSED_RESULT; +@end + + +/// For internal SDK use only +SWIFT_CLASS_NAMED("DynamicHeightContainerView") +@interface STP_Internal_DynamicHeightContainerView : UIView +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +@end + + +/// A simple container view that displays its subviews in a vertical stack. +/// For internal SDK use only +SWIFT_CLASS_NAMED("FormView") +@interface STP_Internal_FormView : UIView +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +@end + + +SWIFT_CLASS("_TtC12StripeUICore24STPEmailAddressValidator") +@interface STPEmailAddressValidator : NSObject +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// For internal SDK use only +SWIFT_CLASS_NAMED("StackViewWithSeparator") +@interface STP_Internal_StackViewWithSeparator : UIStackView +@property (nonatomic) CGFloat spacing; +@property (nonatomic, getter=isUserInteractionEnabled) BOOL userInteractionEnabled; +- (void)layoutSubviews; +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; +@end + + + + + + + + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +#ifndef STRIPEUICORE_SWIFT_H +#define STRIPEUICORE_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# 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 +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import CoreGraphics; +@import ObjectiveC; +@import UIKit; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="StripeUICore",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +@class NSCoder; +@class UITraitCollection; +@class UIWindow; + +/// A custom replacement for UIActivityIndicatorView. +/// For internal SDK use only +SWIFT_CLASS_NAMED("ActivityIndicator") +@interface STP_Internal_ActivityIndicator : UIView +@property (nonatomic, readonly) CGSize intrinsicContentSize; +- (nonnull instancetype)init; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; +- (void)tintColorDidChange; +- (void)traitCollectionDidChange:(UITraitCollection * _Nullable)previousTraitCollection; +- (void)layoutSubviews; +- (void)willMoveToWindow:(UIWindow * _Nullable)newWindow; +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +@end + + + +@class UIEvent; + +/// The custom button used throughout the Stripe SDK. +/// For internal SDK use only +SWIFT_CLASS_NAMED("Button") +@interface STP_Internal_Button : UIControl +@property (nonatomic, readonly) UIControlState state; +@property (nonatomic, getter=isEnabled) BOOL enabled; +@property (nonatomic, getter=isHighlighted) BOOL highlighted; +/// Creates a button with the default configuration. +- (nonnull instancetype)init; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; +- (void)tintColorDidChange; +- (UIView * _Nullable)hitTest:(CGPoint)point withEvent:(UIEvent * _Nullable)event SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +@end + + + +/// For internal SDK use only +SWIFT_CLASS_NAMED("DoneButtonToolbar") +@interface STP_Internal_DoneButtonToolbar : UIToolbar +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +@end + + +/// A textfield whose input view is a UIPickerView with a list of the strings. +/// For internal SDK use only +SWIFT_CLASS_NAMED("DropdownFieldElement") +@interface STP_Internal_DropdownFieldElement : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@class UIPickerView; + +@interface STP_Internal_DropdownFieldElement (SWIFT_EXTENSION(StripeUICore)) +- (NSString * _Nullable)pickerView:(UIPickerView * _Nonnull)pickerView titleForRow:(NSInteger)row forComponent:(NSInteger)component SWIFT_WARN_UNUSED_RESULT; +- (void)pickerView:(UIPickerView * _Nonnull)pickerView didSelectRow:(NSInteger)row inComponent:(NSInteger)component; +@end + + + + +@interface STP_Internal_DropdownFieldElement (SWIFT_EXTENSION(StripeUICore)) +- (NSInteger)numberOfComponentsInPickerView:(UIPickerView * _Nonnull)pickerView SWIFT_WARN_UNUSED_RESULT; +- (NSInteger)pickerView:(UIPickerView * _Nonnull)pickerView numberOfRowsInComponent:(NSInteger)component SWIFT_WARN_UNUSED_RESULT; +@end + + +/// For internal SDK use only +SWIFT_CLASS_NAMED("DynamicHeightContainerView") +@interface STP_Internal_DynamicHeightContainerView : UIView +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +@end + + +/// A simple container view that displays its subviews in a vertical stack. +/// For internal SDK use only +SWIFT_CLASS_NAMED("FormView") +@interface STP_Internal_FormView : UIView +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +@end + + +SWIFT_CLASS("_TtC12StripeUICore24STPEmailAddressValidator") +@interface STPEmailAddressValidator : NSObject +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// For internal SDK use only +SWIFT_CLASS_NAMED("StackViewWithSeparator") +@interface STP_Internal_StackViewWithSeparator : UIStackView +@property (nonatomic) CGFloat spacing; +@property (nonatomic, getter=isUserInteractionEnabled) BOOL userInteractionEnabled; +- (void)layoutSubviews; +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; +@end + + + + + + + + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Headers/StripeUICore.h b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Headers/StripeUICore.h new file mode 100644 index 0000000..5f1f38a --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Headers/StripeUICore.h @@ -0,0 +1,18 @@ +// +// StripeUICore.h +// StripeUICore +// +// Created by Mel Ludowise on 9/8/21. +// + +#import + +//! Project version number for StripeUICore. +FOUNDATION_EXPORT double StripeUICoreVersionNumber; + +//! Project version string for StripeUICore. +FOUNDATION_EXPORT const unsigned char StripeUICoreVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Modules/StripeUICore.swiftmodule/arm64-apple-ios-macabi.swiftdoc b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Modules/StripeUICore.swiftmodule/arm64-apple-ios-macabi.swiftdoc new file mode 100644 index 0000000..942b0c4 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Modules/StripeUICore.swiftmodule/arm64-apple-ios-macabi.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Modules/StripeUICore.swiftmodule/arm64-apple-ios-macabi.swiftinterface b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Modules/StripeUICore.swiftmodule/arm64-apple-ios-macabi.swiftinterface new file mode 100644 index 0000000..2702306 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Modules/StripeUICore.swiftmodule/arm64-apple-ios-macabi.swiftinterface @@ -0,0 +1,8 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeUICore +import Foundation +import StripeCore +@_exported import StripeUICore +import Swift +import UIKit diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Modules/StripeUICore.swiftmodule/arm64.swiftdoc b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Modules/StripeUICore.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..942b0c4 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Modules/StripeUICore.swiftmodule/arm64.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Modules/StripeUICore.swiftmodule/arm64.swiftinterface b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Modules/StripeUICore.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..2702306 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Modules/StripeUICore.swiftmodule/arm64.swiftinterface @@ -0,0 +1,8 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeUICore +import Foundation +import StripeCore +@_exported import StripeUICore +import Swift +import UIKit diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Modules/StripeUICore.swiftmodule/x86_64-apple-ios-macabi.swiftdoc b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Modules/StripeUICore.swiftmodule/x86_64-apple-ios-macabi.swiftdoc new file mode 100644 index 0000000..5df5c2c Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Modules/StripeUICore.swiftmodule/x86_64-apple-ios-macabi.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Modules/StripeUICore.swiftmodule/x86_64-apple-ios-macabi.swiftinterface b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Modules/StripeUICore.swiftmodule/x86_64-apple-ios-macabi.swiftinterface new file mode 100644 index 0000000..4f9d4a9 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Modules/StripeUICore.swiftmodule/x86_64-apple-ios-macabi.swiftinterface @@ -0,0 +1,8 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target x86_64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeUICore +import Foundation +import StripeCore +@_exported import StripeUICore +import Swift +import UIKit diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Modules/StripeUICore.swiftmodule/x86_64.swiftdoc b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Modules/StripeUICore.swiftmodule/x86_64.swiftdoc new file mode 100644 index 0000000..5df5c2c Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Modules/StripeUICore.swiftmodule/x86_64.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Modules/StripeUICore.swiftmodule/x86_64.swiftinterface b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Modules/StripeUICore.swiftmodule/x86_64.swiftinterface new file mode 100644 index 0000000..4f9d4a9 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Modules/StripeUICore.swiftmodule/x86_64.swiftinterface @@ -0,0 +1,8 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target x86_64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeUICore +import Foundation +import StripeCore +@_exported import StripeUICore +import Swift +import UIKit diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Modules/module.modulemap b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Modules/module.modulemap new file mode 100644 index 0000000..9a14322 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module StripeUICore { + umbrella header "StripeUICore.h" + + export * + module * { export * } +} + +module StripeUICore.Swift { + header "StripeUICore-Swift.h" + requires objc +} diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/Info.plist b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/Info.plist new file mode 100644 index 0000000..b95a34a --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,50 @@ + + + + + BuildMachineOSBuild + 20G165 + CFBundleDevelopmentRegion + en + CFBundleExecutable + StripeUICore + CFBundleIdentifier + com.stripe.stripe-ui-core + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + StripeUICore + CFBundlePackageType + FMWK + CFBundleShortVersionString + 21.12.0 + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 21.12.0 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 12B45b + DTPlatformName + macosx + DTPlatformVersion + 11.0 + DTSDKBuild + 20A2408 + DTSDKName + macosx11.0 + DTXcode + 1220 + DTXcodeBuild + 12B45b + LSMinimumSystemVersion + 10.15 + UIDeviceFamily + + 2 + + + diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/Project-Debug.xcconfig b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/Project-Debug.xcconfig new file mode 100644 index 0000000..893a71f --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/Project-Debug.xcconfig @@ -0,0 +1,41 @@ +// +// Project-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Project-Shared.xcconfig" + + +// Strip Debug Symbols During Copy +// +// Activating this setting causes binary files which are copied during the build (e.g., +// in a Copy Bundle Resources or Copy Files build phase) to be stripped of debugging +// symbols. It does not cause the linked product of a target to be stripped (use Strip +// Linked Product for that). + +COPY_PHASE_STRIP = NO + + +GCC_DYNAMIC_NO_PIC = NO + + +GCC_OPTIMIZATION_LEVEL = 0 + + +STP_EXTRA_PREPROCESSOR_MACROS= +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 STRIPE_UNIT_TESTS_ENABLED $(inherited) $(STP_EXTRA_PREPROCESSOR_MACROS) + + +GCC_SYMBOLS_PRIVATE_EXTERN = NO + + +// Build Active Architecture Only +// +// When checked, only the active architecture is built for faster debugging turnaround + +ONLY_ACTIVE_ARCH = YES + + +ENABLE_TESTABILITY = YES diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/Project-Release.xcconfig b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/Project-Release.xcconfig new file mode 100644 index 0000000..7ee2591 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/Project-Release.xcconfig @@ -0,0 +1,33 @@ +// +// Project-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Project-Shared.xcconfig" + + +// Strip Debug Symbols During Copy +// +// Activating this setting causes binary files which are copied during the build (e.g., +// in a Copy Bundle Resources or Copy Files build phase) to be stripped of debugging +// symbols. It does not cause the linked product of a target to be stripped (use Strip +// Linked Product for that). + +COPY_PHASE_STRIP = YES + + +ENABLE_NS_ASSERTIONS = NO + +STP_EXTRA_PREPROCESSOR_MACROS= +GCC_PREPROCESSOR_DEFINITIONS = NDEBUG $(STP_EXTRA_PREPROCESSOR_MACROS) + + +// Validate Built Product +// +// Activating this setting will cause Xcode to perform validation checks on the product +// as part of the build process. + +VALIDATE_PRODUCT = YES + diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/Project-Shared.xcconfig b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/Project-Shared.xcconfig new file mode 100644 index 0000000..3c97646 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/Project-Shared.xcconfig @@ -0,0 +1,169 @@ +// +// Project-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +// Always Search User Paths +// +// If enabled both #include -style and #include "header.h"-style directives +// will search the paths in "User Header Search Paths" before "Header Search Paths", with +// the consequence that user headers (such as your own String.h header) would have +// precedence over system headers when using #include . This is done using the +// -iquote flag for the paths provided in "User Header Search Paths". If disabled and +// your compiler fully supports separate user paths, user headers will only be accessible +// with #include "header.h"-style preprocessor directives. +// +// For backwards compatibility reasons, this setting is enabled by default, but disabling +// it is strongly recommended. + +ALWAYS_SEARCH_USER_PATHS = NO + + +CLANG_ENABLE_CODE_COVERAGE = NO + + +CLANG_ENABLE_OBJC_ARC = YES + + +CLANG_WARN__DUPLICATE_METHOD_MATCH = YES + + +CLANG_WARN_BOOL_CONVERSION = YES + + +CLANG_WARN_CONSTANT_CONVERSION = YES + + +CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES + + +CLANG_WARN_EMPTY_BODY = YES + + +CLANG_WARN_ENUM_CONVERSION = YES + + +CLANG_WARN_INT_CONVERSION = YES + + +CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES + + +CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES + + +CLANG_WARN_UNREACHABLE_CODE = YES + + +CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + + +CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + +// Default value is YES_NONAGGRESSIVE. YES is "Yes, Aggressive" in Xcode 9 UI +CLANG_ANALYZER_NONNULL = YES; + + +CLANG_WARN_INFINITE_RECURSION = YES; + + +CLANG_WARN_SUSPICIOUS_MOVE = YES; + + +ENABLE_STRICT_OBJC_MSGSEND = YES + + +GCC_C_LANGUAGE_STANDARD = gnu99 + + +CLANG_WARN_STRICT_PROTOTYPES = YES + + +CLANG_WARN_RANGE_LOOP_ANALYSIS = YES + + +CLANG_WARN_COMMA = YES + + +CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES + + +// Compiler for C/C++/Objective-C +// +// The compiler to use for C, C++, and Objective-C. + +GCC_VERSION = com.apple.compilers.llvm.clang.1_0 + + +GCC_WARN_64_TO_32_BIT_CONVERSION = YES + + +GCC_WARN_ABOUT_MISSING_NEWLINE = YES + + +GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES + + +GCC_WARN_SIGN_COMPARE = YES + + +GCC_WARN_UNDECLARED_SELECTOR = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES + + +GCC_WARN_UNUSED_FUNCTION = YES + + +GCC_WARN_UNUSED_VARIABLE = YES + + +GCC_NO_COMMON_BLOCKS = YES; + +// Precompiled Header Uses Files From Build Directory +// +// This setting allows for better control of sharing precompiled prefix header files +// between projects. By default, Xcode assumes that the prefix header file may include +// header files from the build directory if the build directory is outside of the project +// directory. (Xcode cannot determine this ahead of time since other projects may not +// have been built into the shared build directory at the time the information is +// needed.) +// +// If your prefix file never includes files from the build directory you may set this to +// "NO" to improve sharing of precompiled headers. If the prefix does use files from a +// build directory which is inside your project directory, you may set this to "YES" to +// avoid unintended sharing that may result in build failures. + +PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = NO + + +// Base SDK +// +// The name or path of the base SDK being used during the build. The product will be +// built against the headers and libraries located inside the indicated SDK. This path +// will be prepended to all search paths, and will be passed through the environment to +// the compiler and linker. Additional SDKs can be specified in the ADDITIONAL_SDKS +// setting. + +SDKROOT = iphoneos + + +WARNING_CFLAGS = -Wall -Wextra -Wundef -Wfloat-equal + +// iOS Deployment Target +// +// Code will load on this and later versions of iOS. Framework APIs that are unavailable +// in earlier versions will be weak-linked; your code should check for null function +// pointers or specific system versions before calling newer APIs. +// + +IPHONEOS_DEPLOYMENT_TARGET = 11.0 + +APPLICATION_EXTENSION_API_ONLY = NO diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/StripeiOS Tests-Debug.xcconfig b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/StripeiOS Tests-Debug.xcconfig new file mode 100644 index 0000000..d969b04 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/StripeiOS Tests-Debug.xcconfig @@ -0,0 +1,13 @@ +// +// StripeiOS Tests-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +#include "StripeiOS Tests-Shared.xcconfig" + +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited) +DEBUG_INFORMATION_FORMAT = dwarf +SWIFT_ACTIVE_COMPILATION_CONDITIONS[arch=*] = DEBUG $(inherited) diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/StripeiOS Tests-Release.xcconfig b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/StripeiOS Tests-Release.xcconfig new file mode 100644 index 0000000..3b92cfd --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/StripeiOS Tests-Release.xcconfig @@ -0,0 +1,12 @@ +// +// StripeiOS Tests-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS Tests-Shared.xcconfig" + +//********************************************// +//* Currently no build settings in this file *// +//********************************************// diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/StripeiOS Tests-Shared.xcconfig b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/StripeiOS Tests-Shared.xcconfig new file mode 100644 index 0000000..3078777 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/StripeiOS Tests-Shared.xcconfig @@ -0,0 +1,89 @@ +// +// StripeiOS Tests-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +CLANG_CXX_LANGUAGE_STANDARD = gnu++0x + + +CLANG_CXX_LIBRARY = libc++ + + +CLANG_ENABLE_MODULES = YES + + +CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR + + +CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR + + +// Code Signing Identity +// +// The name ("common name") of a valid code-signing certificate in a keychain within your +// keychain path. A missing or invalid certificate will cause a build error. + +CODE_SIGN_IDENTITY = iPhone Developer + + +// Framework Search Paths +// +// This is a list of paths to folders containing frameworks to be searched by the +// compiler for both included or imported header files when compiling C, Objective-C, +// C++, or Objective-C++, and by the linker for frameworks used by the product. Paths are +// delimited by whitespace, so any paths with spaces in them need to be properly quoted. +// [-F] + +FRAMEWORK_SEARCH_PATHS = $(inherited) $(PROJECT_DIR)/Carthage/Build/iOS + +GCC_TREAT_WARNINGS_AS_ERRORS = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR + + +GCC_WARN_SHADOW = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE + +CLANG_WARN_ASSIGN_ENUM = YES +//CLANG_WARN_DOCUMENTATION_COMMENTS = YES not enabled because of errors in FBSnapshotTestCase headers +CLANG_WARN_INFINITE_RECURSION = YES +CLANG_WARN_SUSPICIOUS_MOVE = YES +GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES +GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES +GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES +GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES +GCC_WARN_UNKNOWN_PRAGMAS = YES +GCC_WARN_UNUSED_LABEL = YES +GCC_WARN_UNUSED_PARAMETER = YES + + +// Header Search Paths +// +// This is a list of paths to folders to be searched by the compiler for included or +// imported header files when compiling C, Objective-C, C++, or Objective-C++. Paths are +// delimited by whitespace, so any paths with spaces in them need to be properly quoted. +// [-I] + +HEADER_SEARCH_PATHS = $(inherited) + + +// Runpath Search Paths +// +// This is a list of paths to be added to the runpath search path list for the image +// being created. At runtime, dyld uses the runpath when searching for dylibs whose load +// path begins with '@rpath/'. [-rpath] + +LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @loader_path/Frameworks + + +OTHER_CFLAGS = + +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES + +LIBRARY_SEARCH_PATHS = $(inherited) diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/StripeiOS-Debug.xcconfig b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/StripeiOS-Debug.xcconfig new file mode 100644 index 0000000..99304b4 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/StripeiOS-Debug.xcconfig @@ -0,0 +1,12 @@ +// +// StripeiOS-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS-Shared.xcconfig" + + +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited) +SWIFT_ACTIVE_COMPILATION_CONDITIONS[arch=*] = DEBUG $(inherited) diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/StripeiOS-Release.xcconfig b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/StripeiOS-Release.xcconfig new file mode 100644 index 0000000..3d79290 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/StripeiOS-Release.xcconfig @@ -0,0 +1,10 @@ +// +// StripeiOS-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS-Shared.xcconfig" + +APPLICATION_EXTENSION_API_ONLY = NO diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/StripeiOS-Shared.xcconfig b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/StripeiOS-Shared.xcconfig new file mode 100644 index 0000000..b274c8d --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/StripeiOS-Shared.xcconfig @@ -0,0 +1,159 @@ +// +// StripeiOS-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Version.xcconfig" + +APPLICATION_EXTENSION_API_ONLY = YES + +CLANG_CXX_LANGUAGE_STANDARD = gnu++0x + + +CLANG_CXX_LIBRARY = libc++ + + +CLANG_ENABLE_MODULES = YES + + +CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR + + +CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR + +CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES +CLANG_WARN_INFINITE_RECURSION = YES +CLANG_WARN_SUSPICIOUS_MOVE = YES +CLANG_WARN_ASSIGN_ENUM = YES +CLANG_WARN_DOCUMENTATION_COMMENTS = YES +CLANG_WARN_UNGUARDED_AVAILABILITY = YES + +// Code Signing Identity +// +// The name ("common name") of a valid code-signing certificate in a keychain within your +// keychain path. A missing or invalid certificate will cause a build error. + +CODE_SIGN_IDENTITY[sdk=iphoneos*] = + +// Defines Module +// +// If enabled, the product will be treated as defining its own module. This enables +// automatic production of LLVM module map files when appropriate, and allows the product +// to be imported as a module. + +DEFINES_MODULE = YES + + +// Compatibility Version +// +// Determines the compatibility version of the resulting library, bundle, or framework +// binary. + +DYLIB_COMPATIBILITY_VERSION = 1 + + +// Current Library Version +// +// This setting defines the the current version of any framework built by the project. +// Like "Current Project Version", the value must be an integer or floating point number +// like 57 or 365.8. By default it is set to $(CURRENT_PROJECT_VERSION). + +DYLIB_CURRENT_VERSION = 1 + + +// Dynamic Library Install Name Base +// +// Sets the base value for the internal "install path" (LC_ID_DYLIB) in a dynamic +// library. This will be combined with the EXECUTABLE_PATH to form the full install path. +// Setting LD_DYLIB_INSTALL_NAME directly will override this setting. This setting +// defaults to the target's INSTALL_PATH. It is ignored when building any product other +// than a dynamic library. [-install_name] + +DYLIB_INSTALL_NAME_BASE = @rpath + + +GCC_TREAT_WARNINGS_AS_ERRORS = YES +SWIFT_TREAT_WARNINGS_AS_ERRORS = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR + + +GCC_WARN_SHADOW = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE + +GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES +GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES +GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES +GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES +GCC_WARN_UNKNOWN_PRAGMAS = YES +GCC_WARN_UNUSED_LABEL = YES +GCC_WARN_UNUSED_PARAMETER = YES + + +// Installation Directory +// +// The directory to install the build products in. This path is prepended by the +// 'Installation Build Products Location' (i.e., $(DSTROOT)). + +INSTALL_PATH = $(LOCAL_LIBRARY_DIR)/Frameworks + + +// Runpath Search Paths +// +// This is a list of paths to be added to the runpath search path list for the image +// being created. At runtime, dyld uses the runpath when searching for dylibs whose load +// path begins with '@rpath/'. [-rpath] + +LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @loader_path/Frameworks + + +// Skip Install +// +// Activating this setting when deployment locations are used causes the product to be +// built into an alternative location instead of the install location. + +SKIP_INSTALL = YES + + +// Targeted Device Family +// +// The build system uses the selected device to set the correct value for the +// UIDeviceFamily key it adds to the target's Info.plist file. +// +// iPhone - Application is built for iPhone and iPod touch. +// iPad - Application is built for iPad. +// iPhone/iPad - Application is built Universal for iPhone, iPod touch, and iPad. + +TARGETED_DEVICE_FAMILY = 1,2 + + +// Versioning Name Prefix +// +// Used as a prefix for the name of the version info symbol in the generated versioning +// source file. If you prefix your exported symbols you will probably want to set this +// to the same prefix. + +VERSION_INFO_PREFIX = + + +// Versioning System +// +// Selects the process used for version-stamping generated files. +// +// None - Use no versioning system. [] +// Apple Generic - Use the current project version setting. [apple-generic] + +VERSIONING_SYSTEM = apple-generic + +FRAMEWORK_SEARCH_PATHS = $(inherited) +HEADER_SEARCH_PATHS = $(inherited) + +LIBRARY_SEARCH_PATHS = $(inherited) $(CONFIGURATION_BUILD_DIR) + +// Generate .swiftinterface files +BUILD_LIBRARY_FOR_DISTRIBUTION = YES diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/Version.xcconfig b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/Version.xcconfig new file mode 100644 index 0000000..385e5d1 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/Version.xcconfig @@ -0,0 +1,9 @@ +// +// Version.xcconfig +// +// This file was generated by update_version.sh +// Do not edit this file directly. +// Instead, edit the `VERSION` file and run `ci_scripts/update_version.sh` +// + +CURRENT_PROJECT_VERSION=21.12.0 diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/brand_stripe@3x.png b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/brand_stripe@3x.png new file mode 100644 index 0000000..d79ce56 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/brand_stripe@3x.png differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/da.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/da.lproj/Localizable.strings new file mode 100644 index 0000000..b8713ce Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/da.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/de.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/de.lproj/Localizable.strings new file mode 100644 index 0000000..223d751 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/de.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/en-GB.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/en-GB.lproj/Localizable.strings new file mode 100644 index 0000000..4ac2209 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/en-GB.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/en.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/en.lproj/Localizable.strings new file mode 100644 index 0000000..7a4c57d Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/en.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/es-419.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/es-419.lproj/Localizable.strings new file mode 100644 index 0000000..126b6a6 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/es-419.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/es.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/es.lproj/Localizable.strings new file mode 100644 index 0000000..88691d2 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/es.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/fi.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/fi.lproj/Localizable.strings new file mode 100644 index 0000000..217a0f2 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/fi.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/fr-CA.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/fr-CA.lproj/Localizable.strings new file mode 100644 index 0000000..71229c3 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/fr-CA.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/fr.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/fr.lproj/Localizable.strings new file mode 100644 index 0000000..53e26cd Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/fr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/hu.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/hu.lproj/Localizable.strings new file mode 100644 index 0000000..ac2f013 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/hu.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/icon_chevron_down@3x.png b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/icon_chevron_down@3x.png new file mode 100644 index 0000000..e80d716 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/icon_chevron_down@3x.png differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/it.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/it.lproj/Localizable.strings new file mode 100644 index 0000000..36405ca Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/it.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/ja.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/ja.lproj/Localizable.strings new file mode 100644 index 0000000..b64c7e4 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/ja.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/ko.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/ko.lproj/Localizable.strings new file mode 100644 index 0000000..1883810 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/ko.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/localized_address_data.json b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/localized_address_data.json new file mode 100644 index 0000000..8e3ddca --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/localized_address_data.json @@ -0,0 +1,878 @@ +{ + "AC": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "zip": "ASCN 1ZZ", + }, + "AD": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "AD[1-7]0\\d", + }, + "AE": { + "fmt": "%N%n%O%n%A%n%S", + "lfmt": "%N%n%O%n%A%n%S", + "require": "AS", + "state_name_type": "emirate", + }, + "AF": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "zip": "\\d{4}", + }, + "AI": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "zip": "(?:AI-)?2640", + }, + "AL": { + "fmt": "%N%n%O%n%A%n%Z%n%C", + "zip": "\\d{4}", + }, + "AM": { + "fmt": "%N%n%O%n%A%n%Z%n%C%n%S", + "lfmt": "%N%n%O%n%A%n%Z%n%C%n%S", + "zip": "(?:37)?\\d{4}", + }, + "AR": { + "fmt": "%N%n%O%n%A%n%Z %C%n%S", + "zip": "((?:[A-HJ-NP-Z])?\\d{4})([A-Z]{3})?", + }, + "AT": { + "fmt": "%O%n%N%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{4}", + }, + "AU": { + "fmt": "%O%n%N%n%A%n%C %S %Z", + "locality_name_type": "suburb", + "require": "ACSZ", + "state_name_type": "state", + "zip": "\\d{4}", + }, + "AX": { + "fmt": "%O%n%N%n%A%nAX-%Z %C%nÅLAND", + "postprefix": "AX-", + "require": "ACZ", + "zip": "22\\d{3}", + }, + "AZ": { + "fmt": "%N%n%O%n%A%nAZ %Z %C", + "postprefix": "AZ ", + "zip": "\\d{4}", + }, + "BA": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{5}", + }, + "BB": { + "fmt": "%N%n%O%n%A%n%C, %S %Z", + "state_name_type": "parish", + "zip": "BB\\d{5}", + }, + "BD": { + "fmt": "%N%n%O%n%A%n%C - %Z", + "zip": "\\d{4}", + }, + "BE": { + "fmt": "%O%n%N%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{4}", + }, + "BF": { + "fmt": "%N%n%O%n%A%n%C %X", + }, + "BG": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{4}", + }, + "BH": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "(?:\\d|1[0-2])\\d{2}", + }, + "BL": { + "fmt": "%O%n%N%n%A%n%Z %C %X", + "require": "ACZ", + "zip": "9[78][01]\\d{2}", + }, + "BM": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "[A-Z]{2} ?[A-Z0-9]{2}", + }, + "BN": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "[A-Z]{2} ?\\d{4}", + }, + "BR": { + "fmt": "%O%n%N%n%A%n%D%n%C-%S%n%Z", + "require": "ASCZ", + "state_name_type": "state", + "sublocality_name_type": "neighborhood", + "zip": "\\d{5}-?\\d{3}", + }, + "BS": { + "fmt": "%N%n%O%n%A%n%C, %S", + "state_name_type": "island", + }, + "BT": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "\\d{5}", + }, + "BY": { + "fmt": "%S%n%Z %C%n%A%n%O%n%N", + "zip": "\\d{6}", + }, + "CA": { + "fmt": "%N%n%O%n%A%n%C %S %Z", + "require": "ACSZ", + "zip": "[ABCEGHJKLMNPRSTVXY]\\d[ABCEGHJ-NPRSTV-Z] ?\\d[ABCEGHJ-NPRSTV-Z]\\d", + }, + "CH": { + "fmt": "%O%n%N%n%A%nCH-%Z %C", + "postprefix": "CH-", + "require": "ACZ", + "zip": "\\d{4}", + }, + "CI": { + "fmt": "%N%n%O%n%X %A %C %X", + }, + "CL": { + "fmt": "%N%n%O%n%A%n%Z %C%n%S", + "zip": "\\d{7}", + }, + "CN": { + "fmt": "%Z%n%S%C%D%n%A%n%O%n%N", + "lfmt": "%N%n%O%n%A%n%D%n%C%n%S, %Z", + "require": "ACSZ", + "sublocality_name_type": "district", + "zip": "\\d{6}", + }, + "CO": { + "fmt": "%N%n%O%n%A%n%C, %S, %Z", + "require": "AS", + "state_name_type": "department", + "zip": "\\d{6}", + }, + "CR": { + "fmt": "%N%n%O%n%A%n%S, %C%n%Z", + "require": "ACS", + "zip": "\\d{4,5}|\\d{3}-\\d{4}", + }, + "CV": { + "fmt": "%N%n%O%n%A%n%Z %C%n%S", + "state_name_type": "island", + "zip": "\\d{4}", + }, + "CY": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{4}", + }, + "CZ": { + "fmt": "%N%n%O%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{3} ?\\d{2}", + }, + "DE": { + "fmt": "%N%n%O%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{5}", + }, + "DK": { + "fmt": "%N%n%O%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{4}", + }, + "DO": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{5}", + }, + "DZ": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{5}", + }, + "EC": { + "fmt": "%N%n%O%n%A%n%Z%n%C", + "zip": "\\d{6}", + }, + "EE": { + "fmt": "%N%n%O%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{5}", + }, + "EG": { + "fmt": "%N%n%O%n%A%n%C%n%S%n%Z", + "lfmt": "%N%n%O%n%A%n%C%n%S%n%Z", + "zip": "\\d{5}", + }, + "EH": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{5}", + }, + "ES": { + "fmt": "%N%n%O%n%A%n%Z %C %S", + "require": "ACSZ", + "zip": "\\d{5}", + }, + "ET": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{4}", + }, + "FI": { + "fmt": "%O%n%N%n%A%nFI-%Z %C", + "postprefix": "FI-", + "require": "ACZ", + "zip": "\\d{5}", + }, + "FK": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "require": "ACZ", + "zip": "FIQQ 1ZZ", + }, + "FO": { + "fmt": "%N%n%O%n%A%nFO%Z %C", + "postprefix": "FO", + "zip": "\\d{3}", + }, + "FR": { + "fmt": "%O%n%N%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{2} ?\\d{3}", + }, + "GB": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "locality_name_type": "post_town", + "require": "ACZ", + "zip": + "GIR ?0AA|(?:(?:AB|AL|B|BA|BB|BD|BF|BH|BL|BN|BR|BS|BT|BX|CA|CB|CF|CH|CM|CO|CR|CT|CV|CW|DA|DD|DE|DG|DH|DL|DN|DT|DY|E|EC|EH|EN|EX|FK|FY|G|GL|GY|GU|HA|HD|HG|HP|HR|HS|HU|HX|IG|IM|IP|IV|JE|KA|KT|KW|KY|L|LA|LD|LE|LL|LN|LS|LU|M|ME|MK|ML|N|NE|NG|NN|NP|NR|NW|OL|OX|PA|PE|PH|PL|PO|PR|RG|RH|RM|S|SA|SE|SG|SK|SL|SM|SN|SO|SP|SR|SS|ST|SW|SY|TA|TD|TF|TN|TQ|TR|TS|TW|UB|W|WA|WC|WD|WF|WN|WR|WS|WV|YO|ZE)(?:\\d[\\dA-Z]? ?\\d[ABD-HJLN-UW-Z]{2}))|BFPO ?\\d{1,4}", + "zipex": + "EC1Y 8SY,GIR 0AA,M2 5BQ,M34 4AB,CR0 2YR,DN16 9AA,W1A 4ZZ,EC1A 1HQ,OX14 4PG,BS18 8HF,NR25 7HG,RH6 0NP,BH23 6AA,B6 5BA,SO23 9AP,PO1 3AX,BFPO 61" + }, + "GE": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{4}", + }, + "GF": { + "fmt": "%O%n%N%n%A%n%Z %C %X", + "require": "ACZ", + "zip": "9[78]3\\d{2}", + }, + "GG": { + "fmt": "%N%n%O%n%A%n%C%nGUERNSEY%n%Z", + "require": "ACZ", + "zip": "GY\\d[\\dA-Z]? ?\\d[ABD-HJLN-UW-Z]{2}", + }, + "GI": { + "fmt": "%N%n%O%n%A%nGIBRALTAR%n%Z", + "require": "A", + "zip": "GX11 1AA", + }, + "GL": { + "fmt": "%N%n%O%n%A%n%Z %C", + "require": "ACZ", + "zip": "39\\d{2}", + }, + "GN": { + "fmt": "%N%n%O%n%Z %A %C", + "zip": "\\d{3}", + }, + "GP": { + "fmt": "%O%n%N%n%A%n%Z %C %X", + "require": "ACZ", + "zip": "9[78][01]\\d{2}", + }, + "GR": { + "fmt": "%N%n%O%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{3} ?\\d{2}", + }, + "GS": { + "fmt": "%N%n%O%n%A%n%n%C%n%Z", + "require": "ACZ", + "zip": "SIQQ 1ZZ", + }, + "GT": { + "fmt": "%N%n%O%n%A%n%Z- %C", + "zip": "\\d{5}", + }, + "GU": { + "fmt": "%N%n%O%n%A%n%C %Z", + "require": "ACZ", + "zip": "(969(?:[12]\\d|3[12]))(?:[ \\-](\\d{4}))?", + "zip_name_type": "zip", + }, + "GW": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{4}", + }, + "HK": { + "fmt": "%S%n%C%n%A%n%O%n%N", + "lfmt": "%N%n%O%n%A%n%C%n%S", + "locality_name_type": "district", + "require": "AS", + "state_name_type": "area", + }, + "HN": { + "fmt": "%N%n%O%n%A%n%C, %S%n%Z", + "require": "ACS", + "state_name_type": "department", + "zip": "\\d{5}", + }, + "HR": { + "fmt": "%N%n%O%n%A%nHR-%Z %C", + "postprefix": "HR-", + "zip": "\\d{5}", + }, + "HT": { + "fmt": "%N%n%O%n%A%nHT%Z %C", + "postprefix": "HT", + "zip": "\\d{4}", + }, + "HU": { + "fmt": "%N%n%O%n%C%n%A%n%Z", + "require": "ACZ", + "zip": "\\d{4}", + }, + "ID": { + "fmt": "%N%n%O%n%A%n%C%n%S %Z", + "require": "AS", + "zip": "\\d{5}", + }, + "IE": { + "fmt": "%N%n%O%n%A%n%D%n%C%n%S %Z", + "state_name_type": "county", + "sublocality_name_type": "townland", + "zip": "[\\dA-Z]{3} ?[\\dA-Z]{4}", + "zip_name_type": "eircode", + }, + "IL": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "\\d{5}(?:\\d{2})?", + }, + "IM": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "require": "ACZ", + "zip": "IM\\d[\\dA-Z]? ?\\d[ABD-HJLN-UW-Z]{2}", + }, + "IN": { + "fmt": "%N%n%O%n%A%n%C %Z%n%S", + "require": "ACSZ", + "state_name_type": "state", + "zip": "\\d{6}", + "zip_name_type": "pin", + }, + "IO": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "require": "ACZ", + "zip": "BBND 1ZZ", + }, + "IQ": { + "fmt": "%O%n%N%n%A%n%C, %S%n%Z", + "require": "ACS", + "zip": "\\d{5}", + }, + "IS": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{3}", + }, + "IT": { + "fmt": "%N%n%O%n%A%n%Z %C %S", + "require": "ACSZ", + "zip": "\\d{5}", + }, + "JE": { + "fmt": "%N%n%O%n%A%n%C%nJERSEY%n%Z", + "require": "ACZ", + "zip": "JE\\d[\\dA-Z]? ?\\d[ABD-HJLN-UW-Z]{2}", + }, + "JM": { + "fmt": "%N%n%O%n%A%n%C%n%S %X", + "require": "ACS", + "state_name_type": "parish", + }, + "JO": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "\\d{5}", + }, + "JP": { + "fmt": "〒%Z%n%S%n%A%n%O%n%N", + "lfmt": "%N%n%O%n%A, %S%n%Z", + "require": "ASZ", + "state_name_type": "prefecture", + "zip": "\\d{3}-?\\d{4}", + }, + "KE": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "zip": "\\d{5}", + }, + "KG": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{6}", + }, + "KH": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "\\d{5}", + }, + "KI": { + "fmt": "%N%n%O%n%A%n%S%n%C", + "state_name_type": "island", + }, + "KN": { + "fmt": "%N%n%O%n%A%n%C, %S", + "require": "ACS", + "state_name_type": "island", + }, + "KR": { + "fmt": "%S %C%D%n%A%n%O%n%N%n%Z", + "lfmt": "%N%n%O%n%A%n%D%n%C%n%S%n%Z", + "require": "ACSZ", + "state_name_type": "do_si", + "sublocality_name_type": "district", + "zip": "\\d{5}", + }, + "KW": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{5}", + }, + "KY": { + "fmt": "%N%n%O%n%A%n%S %Z", + "require": "AS", + "state_name_type": "island", + "zip": "KY\\d-\\d{4}", + }, + "KZ": { + "fmt": "%Z%n%S%n%C%n%A%n%O%n%N", + "zip": "\\d{6}", + }, + "LA": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{5}", + }, + "LB": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "(?:\\d{4})(?: ?(?:\\d{4}))?", + }, + "LI": { + "fmt": "%O%n%N%n%A%nFL-%Z %C", + "postprefix": "FL-", + "require": "ACZ", + "zip": "948[5-9]|949[0-8]", + }, + "LK": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "zip": "\\d{5}", + }, + "LR": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{4}", + }, + "LS": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "\\d{3}", + }, + "LT": { + "fmt": "%O%n%N%n%A%nLT-%Z %C", + "postprefix": "LT-", + "require": "ACZ", + "zip": "\\d{5}", + }, + "LU": { + "fmt": "%O%n%N%n%A%nL-%Z %C", + "postprefix": "L-", + "require": "ACZ", + "zip": "\\d{4}", + }, + "LV": { + "fmt": "%N%n%O%n%A%n%C, %Z", + "require": "ACZ", + "zip": "LV-\\d{4}", + }, + "MA": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{5}", + }, + "MC": { + "fmt": "%N%n%O%n%A%nMC-%Z %C %X", + "postprefix": "MC-", + "zip": "980\\d{2}", + }, + "MD": { + "fmt": "%N%n%O%n%A%nMD-%Z %C", + "postprefix": "MD-", + "zip": "\\d{4}", + }, + "ME": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "8\\d{4}", + }, + "MF": { + "fmt": "%O%n%N%n%A%n%Z %C %X", + "require": "ACZ", + "zip": "9[78][01]\\d{2}", + }, + "MG": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{3}", + }, + "MK": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{4}", + }, + "MM": { + "fmt": "%N%n%O%n%A%n%C, %Z", + "zip": "\\d{5}", + }, + "MN": { + "fmt": "%N%n%O%n%A%n%C%n%S %Z", + "zip": "\\d{5}", + }, + "MO": { + "fmt": "%A%n%O%n%N", + "lfmt": "%N%n%O%n%A", + "require": "A" + }, + "MQ": { + "fmt": "%O%n%N%n%A%n%Z %C %X", + "require": "ACZ", + "zip": "9[78]2\\d{2}", + }, + "MT": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "[A-Z]{3} ?\\d{2,4}", + }, + "MU": { + "fmt": "%N%n%O%n%A%n%Z%n%C", + "zip": "\\d{3}(?:\\d{2}|[A-Z]{2}\\d{3})", + }, + "MV": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "\\d{5}", + }, + "MX": { + "fmt": "%N%n%O%n%A%n%D%n%Z %C, %S", + "require": "ACSZ", + "state_name_type": "state", + "sublocality_name_type": "neighborhood", + "zip": "\\d{5}", + }, + "MY": { + "fmt": "%N%n%O%n%A%n%D%n%Z %C%n%S", + "require": "ACZ", + "state_name_type": "state", + "sublocality_name_type": "village_township", + "zip": "\\d{5}", + }, + "MZ": { + "fmt": "%N%n%O%n%A%n%Z %C%S", + "zip": "\\d{4}", + }, + "NA": { + "fmt": "%N%n%O%n%A%n%Cn%Z", + "zip": "\\d{5}", + }, + "NC": { + "fmt": "%O%n%N%n%A%n%Z %C %X", + "require": "ACZ", + "zip": "988\\d{2}", + }, + "NE": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{4}", + }, + "NG": { + "fmt": "%N%n%O%n%A%n%D%n%C %Z%n%S", + "state_name_type": "state", + "zip": "\\d{6}", + }, + "NI": { + "fmt": "%N%n%O%n%A%n%Z%n%C, %S", + "state_name_type": "department", + "zip": "\\d{5}", + }, + "NL": { + "fmt": "%O%n%N%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{4} ?[A-Z]{2}", + }, + "NO": { + "fmt": "%N%n%O%n%A%n%Z %C", + "locality_name_type": "post_town", + "require": "ACZ", + "zip": "\\d{4}", + }, + "NP": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "\\d{5}", + }, + "NR": { + "fmt": "%N%n%O%n%A%n%S", + "require": "AS", + "state_name_type": "district", + }, + "NZ": { + "fmt": "%N%n%O%n%A%n%D%n%C %Z", + "require": "ACZ", + "zip": "\\d{4}", + }, + "OM": { + "fmt": "%N%n%O%n%A%n%Z%n%C", + "zip": "(?:PC )?\\d{3}", + }, + "PA": { + "fmt": "%N%n%O%n%A%n%C%n%S", + }, + "PE": { + "fmt": "%N%n%O%n%A%n%C %Z%n%S", + "locality_name_type": "district", + "zip": "(?:LIMA \\d{1,2}|CALLAO 0?\\d)|[0-2]\\d{4}", + }, + "PF": { + "fmt": "%N%n%O%n%A%n%Z %C %S", + "require": "ACSZ", + "state_name_type": "island", + "zip": "987\\d{2}", + }, + "PG": { + "fmt": "%N%n%O%n%A%n%C %Z %S", + "require": "ACS", + "zip": "\\d{3}", + }, + "PH": { + "fmt": "%N%n%O%n%A%n%D, %C%n%Z %S", + "zip": "\\d{4}", + }, + "PK": { + "fmt": "%N%n%O%n%A%n%C-%Z", + "zip": "\\d{5}", + }, + "PL": { + "fmt": "%N%n%O%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{2}-\\d{3}", + }, + "PM": { + "fmt": "%O%n%N%n%A%n%Z %C %X", + "require": "ACZ", + "zip": "9[78]5\\d{2}", + }, + "PN": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "require": "ACZ", + "zip": "PCRN 1ZZ", + }, + "PR": { + "fmt": "%N%n%O%n%A%n%C PR %Z", + "postprefix": "PR ", + "require": "ACZ", + "zip": "(00[679]\\d{2})(?:[ \\-](\\d{4}))?", + "zip_name_type": "zip", + }, + "PT": { + "fmt": "%N%n%O%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{4}-\\d{3}", + }, + "PY": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{4}", + }, + "RE": { + "fmt": "%O%n%N%n%A%n%Z %C %X", + "require": "ACZ", + "zip": "9[78]4\\d{2}", + }, + "RO": { + "fmt": "%N%n%O%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{6}", + }, + "RS": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{5,6}", + }, + "RU": { + "fmt": "%N%n%O%n%A%n%C%n%S%n%Z", + "lfmt": "%N%n%O%n%A%n%C%n%S%n%Z", + "require": "ACSZ", + "state_name_type": "oblast", + "zip": "\\d{6}", + }, + "SA": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "\\d{5}", + }, + "SC": { + "fmt": "%N%n%O%n%A%n%C%n%S", + "state_name_type": "island", + }, + "SE": { + "fmt": "%O%n%N%n%A%nSE-%Z %C", + "locality_name_type": "post_town", + "postprefix": "SE-", + "require": "ACZ", + "zip": "\\d{3} ?\\d{2}", + }, + "SG": { + "fmt": "%N%n%O%n%A%nSINGAPORE %Z", + "require": "AZ", + "zip": "\\d{6}", + }, + "SH": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "require": "ACZ", + "zip": "(?:ASCN|STHL) 1ZZ", + }, + "SI": { + "fmt": "%N%n%O%n%A%nSI-%Z %C", + "postprefix": "SI-", + "zip": "\\d{4}", + }, + "SJ": { + "fmt": "%N%n%O%n%A%n%Z %C", + "locality_name_type": "post_town", + "require": "ACZ", + "zip": "\\d{4}", + }, + "SK": { + "fmt": "%N%n%O%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{3} ?\\d{2}", + }, + "SM": { + "fmt": "%N%n%O%n%A%n%Z %C", + "require": "AZ", + "zip": "4789\\d", + }, + "SN": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{5}", + }, + "SO": { + "fmt": "%N%n%O%n%A%n%C, %S %Z", + "require": "ACS", + "zip": "[A-Z]{2} ?\\d{5}", + }, + "SR": { + "fmt": "%N%n%O%n%A%n%C%n%S", + }, + "SV": { + "fmt": "%N%n%O%n%A%n%Z-%C%n%S", + "require": "ACS", + "zip": "CP [1-3][1-7][0-2]\\d", + }, + "SZ": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "zip": "[HLMS]\\d{3}", + }, + "TA": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "zip": "TDCU 1ZZ", + }, + "TC": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "require": "ACZ", + "zip": "TKCA 1ZZ", + }, + "TH": { + "fmt": "%N%n%O%n%A%n%D %C%n%S %Z", + "lfmt": "%N%n%O%n%A%n%D, %C%n%S %Z", + "zip": "\\d{5}", + }, + "TJ": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{6}", + }, + "TM": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{6}", + }, + "TN": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{4}", + }, + "TR": { + "fmt": "%N%n%O%n%A%n%Z %C/%S", + "locality_name_type": "district", + "require": "ACZ", + "zip": "\\d{5}", + }, + "TV": { + "fmt": "%N%n%O%n%A%n%C%n%S", + "state_name_type": "island", + }, + "TW": { + "fmt": "%Z%n%S%C%n%A%n%O%n%N", + "lfmt": "%N%n%O%n%A%n%C, %S %Z", + "require": "ACSZ", + "state_name_type": "county", + "zip": "\\d{3}(?:\\d{2,3})?", + }, + "TZ": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{4,5}", + }, + "UA": { + "fmt": "%N%n%O%n%A%n%C%n%S%n%Z", + "lfmt": "%N%n%O%n%A%n%C%n%S%n%Z", + "require": "ACZ", + "state_name_type": "oblast", + "zip": "\\d{5}", + }, + "US": { + "fmt": "%N%n%O%n%A%n%C, %S %Z", + "require": "ACSZ", + "state_name_type": "state", + "zip": "(\\d{5})(?:[ \\-](\\d{4}))?", + "zip_name_type": "zip", + }, + "UY": { + "fmt": "%N%n%O%n%A%n%Z %C %S", + "zip": "\\d{5}", + }, + "UZ": { + "fmt": "%N%n%O%n%A%n%Z %C%n%S", + "zip": "\\d{6}", + }, + "VA": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "00120", + }, + "VC": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "VC\\d{4}", + }, + "VE": { + "fmt": "%N%n%O%n%A%n%C %Z, %S", + "require": "ACS", + "state_name_type": "state", + "zip": "\\d{4}", + }, + "VG": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "require": "A", + "zip": "VG\\d{4}", + }, + "VN": { + "fmt": "%N%n%O%n%A%n%C%n%S %Z", + "lfmt": "%N%n%O%n%A%n%C%n%S %Z", + "zip": "\\d{5}\\d?", + }, + "WF": { + "fmt": "%O%n%N%n%A%n%Z %C %X", + "require": "ACZ", + "zip": "986\\d{2}", + }, + "XK": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "[1-7]\\d{4}", + }, + "YT": { + "fmt": "%O%n%N%n%A%n%Z %C %X", + "require": "ACZ", + "zip": "976\\d{2}", + }, + "ZA": { + "fmt": "%N%n%O%n%A%n%D%n%C%n%Z", + "require": "ACZ", + "zip": "\\d{4}", + }, + "ZM": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{5}", + }, +} diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/mt.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/mt.lproj/Localizable.strings new file mode 100644 index 0000000..8ab57c4 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/mt.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/nb.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/nb.lproj/Localizable.strings new file mode 100644 index 0000000..6292c96 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/nb.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/nl.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/nl.lproj/Localizable.strings new file mode 100644 index 0000000..ef00e15 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/nl.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/nn-NO.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/nn-NO.lproj/Localizable.strings new file mode 100644 index 0000000..612eaaf Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/nn-NO.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/pt-BR.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/pt-BR.lproj/Localizable.strings new file mode 100644 index 0000000..8fe06fd Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/pt-BR.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/pt-PT.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/pt-PT.lproj/Localizable.strings new file mode 100644 index 0000000..13cf58f Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/pt-PT.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/ru.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/ru.lproj/Localizable.strings new file mode 100644 index 0000000..73d13c7 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/ru.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/sv.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/sv.lproj/Localizable.strings new file mode 100644 index 0000000..418c5e4 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/sv.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/tr.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/tr.lproj/Localizable.strings new file mode 100644 index 0000000..6b9bde8 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/tr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/zh-HK.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/zh-HK.lproj/Localizable.strings new file mode 100644 index 0000000..a190e19 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/zh-HK.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/zh-Hans.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/zh-Hans.lproj/Localizable.strings new file mode 100644 index 0000000..565fb82 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/zh-Hans.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/zh-Hant.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/zh-Hant.lproj/Localizable.strings new file mode 100644 index 0000000..2c5b0dc Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/Resources/zh-Hant.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/StripeUICore b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/StripeUICore new file mode 100755 index 0000000..f381472 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/A/StripeUICore differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/Current b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/Current new file mode 120000 index 0000000..8c7e5a6 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-maccatalyst/StripeUICore.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Headers/StripeUICore-Swift.h b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Headers/StripeUICore-Swift.h new file mode 100644 index 0000000..3a31027 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Headers/StripeUICore-Swift.h @@ -0,0 +1,664 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +#ifndef STRIPEUICORE_SWIFT_H +#define STRIPEUICORE_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# 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 +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import CoreGraphics; +@import ObjectiveC; +@import UIKit; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="StripeUICore",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +@class NSCoder; +@class UITraitCollection; +@class UIWindow; + +/// A custom replacement for UIActivityIndicatorView. +/// For internal SDK use only +SWIFT_CLASS_NAMED("ActivityIndicator") +@interface STP_Internal_ActivityIndicator : UIView +@property (nonatomic, readonly) CGSize intrinsicContentSize; +- (nonnull instancetype)init; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; +- (void)tintColorDidChange; +- (void)traitCollectionDidChange:(UITraitCollection * _Nullable)previousTraitCollection; +- (void)layoutSubviews; +- (void)willMoveToWindow:(UIWindow * _Nullable)newWindow; +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +@end + + + +@class UIEvent; + +/// The custom button used throughout the Stripe SDK. +/// For internal SDK use only +SWIFT_CLASS_NAMED("Button") +@interface STP_Internal_Button : UIControl +@property (nonatomic, readonly) UIControlState state; +@property (nonatomic, getter=isEnabled) BOOL enabled; +@property (nonatomic, getter=isHighlighted) BOOL highlighted; +/// Creates a button with the default configuration. +- (nonnull instancetype)init; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; +- (void)tintColorDidChange; +- (UIView * _Nullable)hitTest:(CGPoint)point withEvent:(UIEvent * _Nullable)event SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +@end + + + +/// For internal SDK use only +SWIFT_CLASS_NAMED("DoneButtonToolbar") +@interface STP_Internal_DoneButtonToolbar : UIToolbar +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +@end + + +/// A textfield whose input view is a UIPickerView with a list of the strings. +/// For internal SDK use only +SWIFT_CLASS_NAMED("DropdownFieldElement") +@interface STP_Internal_DropdownFieldElement : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@class UIPickerView; + +@interface STP_Internal_DropdownFieldElement (SWIFT_EXTENSION(StripeUICore)) +- (NSString * _Nullable)pickerView:(UIPickerView * _Nonnull)pickerView titleForRow:(NSInteger)row forComponent:(NSInteger)component SWIFT_WARN_UNUSED_RESULT; +- (void)pickerView:(UIPickerView * _Nonnull)pickerView didSelectRow:(NSInteger)row inComponent:(NSInteger)component; +@end + + + + +@interface STP_Internal_DropdownFieldElement (SWIFT_EXTENSION(StripeUICore)) +- (NSInteger)numberOfComponentsInPickerView:(UIPickerView * _Nonnull)pickerView SWIFT_WARN_UNUSED_RESULT; +- (NSInteger)pickerView:(UIPickerView * _Nonnull)pickerView numberOfRowsInComponent:(NSInteger)component SWIFT_WARN_UNUSED_RESULT; +@end + + +/// For internal SDK use only +SWIFT_CLASS_NAMED("DynamicHeightContainerView") +@interface STP_Internal_DynamicHeightContainerView : UIView +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +@end + + +/// A simple container view that displays its subviews in a vertical stack. +/// For internal SDK use only +SWIFT_CLASS_NAMED("FormView") +@interface STP_Internal_FormView : UIView +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +@end + + +SWIFT_CLASS("_TtC12StripeUICore24STPEmailAddressValidator") +@interface STPEmailAddressValidator : NSObject +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// For internal SDK use only +SWIFT_CLASS_NAMED("StackViewWithSeparator") +@interface STP_Internal_StackViewWithSeparator : UIStackView +@property (nonatomic) CGFloat spacing; +@property (nonatomic, getter=isUserInteractionEnabled) BOOL userInteractionEnabled; +- (void)layoutSubviews; +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; +@end + + + + + + + + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +#ifndef STRIPEUICORE_SWIFT_H +#define STRIPEUICORE_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +#else +# define SWIFT_RELEASES_ARGUMENT +#endif +#if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif +#if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +#else +# define SWIFT_NORETURN +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if defined(__has_attribute) && __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# 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 +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +#else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +#endif +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#if __has_feature(modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +@import CoreGraphics; +@import ObjectiveC; +@import UIKit; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="StripeUICore",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +@class NSCoder; +@class UITraitCollection; +@class UIWindow; + +/// A custom replacement for UIActivityIndicatorView. +/// For internal SDK use only +SWIFT_CLASS_NAMED("ActivityIndicator") +@interface STP_Internal_ActivityIndicator : UIView +@property (nonatomic, readonly) CGSize intrinsicContentSize; +- (nonnull instancetype)init; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; +- (void)tintColorDidChange; +- (void)traitCollectionDidChange:(UITraitCollection * _Nullable)previousTraitCollection; +- (void)layoutSubviews; +- (void)willMoveToWindow:(UIWindow * _Nullable)newWindow; +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +@end + + + +@class UIEvent; + +/// The custom button used throughout the Stripe SDK. +/// For internal SDK use only +SWIFT_CLASS_NAMED("Button") +@interface STP_Internal_Button : UIControl +@property (nonatomic, readonly) UIControlState state; +@property (nonatomic, getter=isEnabled) BOOL enabled; +@property (nonatomic, getter=isHighlighted) BOOL highlighted; +/// Creates a button with the default configuration. +- (nonnull instancetype)init; +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; +- (void)tintColorDidChange; +- (UIView * _Nullable)hitTest:(CGPoint)point withEvent:(UIEvent * _Nullable)event SWIFT_WARN_UNUSED_RESULT; +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +@end + + + +/// For internal SDK use only +SWIFT_CLASS_NAMED("DoneButtonToolbar") +@interface STP_Internal_DoneButtonToolbar : UIToolbar +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +@end + + +/// A textfield whose input view is a UIPickerView with a list of the strings. +/// For internal SDK use only +SWIFT_CLASS_NAMED("DropdownFieldElement") +@interface STP_Internal_DropdownFieldElement : NSObject +- (nonnull instancetype)init SWIFT_UNAVAILABLE; ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); +@end + + +@class UIPickerView; + +@interface STP_Internal_DropdownFieldElement (SWIFT_EXTENSION(StripeUICore)) +- (NSString * _Nullable)pickerView:(UIPickerView * _Nonnull)pickerView titleForRow:(NSInteger)row forComponent:(NSInteger)component SWIFT_WARN_UNUSED_RESULT; +- (void)pickerView:(UIPickerView * _Nonnull)pickerView didSelectRow:(NSInteger)row inComponent:(NSInteger)component; +@end + + + + +@interface STP_Internal_DropdownFieldElement (SWIFT_EXTENSION(StripeUICore)) +- (NSInteger)numberOfComponentsInPickerView:(UIPickerView * _Nonnull)pickerView SWIFT_WARN_UNUSED_RESULT; +- (NSInteger)pickerView:(UIPickerView * _Nonnull)pickerView numberOfRowsInComponent:(NSInteger)component SWIFT_WARN_UNUSED_RESULT; +@end + + +/// For internal SDK use only +SWIFT_CLASS_NAMED("DynamicHeightContainerView") +@interface STP_Internal_DynamicHeightContainerView : UIView +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +@end + + +/// A simple container view that displays its subviews in a vertical stack. +/// For internal SDK use only +SWIFT_CLASS_NAMED("FormView") +@interface STP_Internal_FormView : UIView +- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE; +- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE; +@end + + +SWIFT_CLASS("_TtC12StripeUICore24STPEmailAddressValidator") +@interface STPEmailAddressValidator : NSObject +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +@end + + +/// For internal SDK use only +SWIFT_CLASS_NAMED("StackViewWithSeparator") +@interface STP_Internal_StackViewWithSeparator : UIStackView +@property (nonatomic) CGFloat spacing; +@property (nonatomic, getter=isUserInteractionEnabled) BOOL userInteractionEnabled; +- (void)layoutSubviews; +- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER; +@end + + + + + + + + + + +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#pragma clang diagnostic pop +#endif + +#endif diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Headers/StripeUICore.h b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Headers/StripeUICore.h new file mode 100644 index 0000000..5f1f38a --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Headers/StripeUICore.h @@ -0,0 +1,18 @@ +// +// StripeUICore.h +// StripeUICore +// +// Created by Mel Ludowise on 9/8/21. +// + +#import + +//! Project version number for StripeUICore. +FOUNDATION_EXPORT double StripeUICoreVersionNumber; + +//! Project version string for StripeUICore. +FOUNDATION_EXPORT const unsigned char StripeUICoreVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Info.plist b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Info.plist new file mode 100644 index 0000000..b060adb Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Info.plist differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Modules/StripeUICore.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Modules/StripeUICore.swiftmodule/arm64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..6be184f Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Modules/StripeUICore.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Modules/StripeUICore.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Modules/StripeUICore.swiftmodule/arm64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..6b2ad64 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Modules/StripeUICore.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -0,0 +1,8 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeUICore +import Foundation +import StripeCore +@_exported import StripeUICore +import Swift +import UIKit diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Modules/StripeUICore.swiftmodule/arm64.swiftdoc b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Modules/StripeUICore.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000..6be184f Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Modules/StripeUICore.swiftmodule/arm64.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Modules/StripeUICore.swiftmodule/arm64.swiftinterface b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Modules/StripeUICore.swiftmodule/arm64.swiftinterface new file mode 100644 index 0000000..6b2ad64 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Modules/StripeUICore.swiftmodule/arm64.swiftinterface @@ -0,0 +1,8 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeUICore +import Foundation +import StripeCore +@_exported import StripeUICore +import Swift +import UIKit diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Modules/StripeUICore.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Modules/StripeUICore.swiftmodule/x86_64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..955b1a6 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Modules/StripeUICore.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Modules/StripeUICore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Modules/StripeUICore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..e186861 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Modules/StripeUICore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -0,0 +1,8 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeUICore +import Foundation +import StripeCore +@_exported import StripeUICore +import Swift +import UIKit diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Modules/StripeUICore.swiftmodule/x86_64.swiftdoc b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Modules/StripeUICore.swiftmodule/x86_64.swiftdoc new file mode 100644 index 0000000..955b1a6 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Modules/StripeUICore.swiftmodule/x86_64.swiftdoc differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Modules/StripeUICore.swiftmodule/x86_64.swiftinterface b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Modules/StripeUICore.swiftmodule/x86_64.swiftinterface new file mode 100644 index 0000000..e186861 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Modules/StripeUICore.swiftmodule/x86_64.swiftinterface @@ -0,0 +1,8 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name StripeUICore +import Foundation +import StripeCore +@_exported import StripeUICore +import Swift +import UIKit diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Modules/module.modulemap b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Modules/module.modulemap new file mode 100644 index 0000000..9a14322 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Modules/module.modulemap @@ -0,0 +1,11 @@ +framework module StripeUICore { + umbrella header "StripeUICore.h" + + export * + module * { export * } +} + +module StripeUICore.Swift { + header "StripeUICore-Swift.h" + requires objc +} diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Project-Debug.xcconfig b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Project-Debug.xcconfig new file mode 100644 index 0000000..893a71f --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Project-Debug.xcconfig @@ -0,0 +1,41 @@ +// +// Project-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Project-Shared.xcconfig" + + +// Strip Debug Symbols During Copy +// +// Activating this setting causes binary files which are copied during the build (e.g., +// in a Copy Bundle Resources or Copy Files build phase) to be stripped of debugging +// symbols. It does not cause the linked product of a target to be stripped (use Strip +// Linked Product for that). + +COPY_PHASE_STRIP = NO + + +GCC_DYNAMIC_NO_PIC = NO + + +GCC_OPTIMIZATION_LEVEL = 0 + + +STP_EXTRA_PREPROCESSOR_MACROS= +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 STRIPE_UNIT_TESTS_ENABLED $(inherited) $(STP_EXTRA_PREPROCESSOR_MACROS) + + +GCC_SYMBOLS_PRIVATE_EXTERN = NO + + +// Build Active Architecture Only +// +// When checked, only the active architecture is built for faster debugging turnaround + +ONLY_ACTIVE_ARCH = YES + + +ENABLE_TESTABILITY = YES diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Project-Release.xcconfig b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Project-Release.xcconfig new file mode 100644 index 0000000..7ee2591 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Project-Release.xcconfig @@ -0,0 +1,33 @@ +// +// Project-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Project-Shared.xcconfig" + + +// Strip Debug Symbols During Copy +// +// Activating this setting causes binary files which are copied during the build (e.g., +// in a Copy Bundle Resources or Copy Files build phase) to be stripped of debugging +// symbols. It does not cause the linked product of a target to be stripped (use Strip +// Linked Product for that). + +COPY_PHASE_STRIP = YES + + +ENABLE_NS_ASSERTIONS = NO + +STP_EXTRA_PREPROCESSOR_MACROS= +GCC_PREPROCESSOR_DEFINITIONS = NDEBUG $(STP_EXTRA_PREPROCESSOR_MACROS) + + +// Validate Built Product +// +// Activating this setting will cause Xcode to perform validation checks on the product +// as part of the build process. + +VALIDATE_PRODUCT = YES + diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Project-Shared.xcconfig b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Project-Shared.xcconfig new file mode 100644 index 0000000..3c97646 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Project-Shared.xcconfig @@ -0,0 +1,169 @@ +// +// Project-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +// Always Search User Paths +// +// If enabled both #include -style and #include "header.h"-style directives +// will search the paths in "User Header Search Paths" before "Header Search Paths", with +// the consequence that user headers (such as your own String.h header) would have +// precedence over system headers when using #include . This is done using the +// -iquote flag for the paths provided in "User Header Search Paths". If disabled and +// your compiler fully supports separate user paths, user headers will only be accessible +// with #include "header.h"-style preprocessor directives. +// +// For backwards compatibility reasons, this setting is enabled by default, but disabling +// it is strongly recommended. + +ALWAYS_SEARCH_USER_PATHS = NO + + +CLANG_ENABLE_CODE_COVERAGE = NO + + +CLANG_ENABLE_OBJC_ARC = YES + + +CLANG_WARN__DUPLICATE_METHOD_MATCH = YES + + +CLANG_WARN_BOOL_CONVERSION = YES + + +CLANG_WARN_CONSTANT_CONVERSION = YES + + +CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES + + +CLANG_WARN_EMPTY_BODY = YES + + +CLANG_WARN_ENUM_CONVERSION = YES + + +CLANG_WARN_INT_CONVERSION = YES + + +CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES + + +CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES + + +CLANG_WARN_UNREACHABLE_CODE = YES + + +CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + + +CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + +// Default value is YES_NONAGGRESSIVE. YES is "Yes, Aggressive" in Xcode 9 UI +CLANG_ANALYZER_NONNULL = YES; + + +CLANG_WARN_INFINITE_RECURSION = YES; + + +CLANG_WARN_SUSPICIOUS_MOVE = YES; + + +ENABLE_STRICT_OBJC_MSGSEND = YES + + +GCC_C_LANGUAGE_STANDARD = gnu99 + + +CLANG_WARN_STRICT_PROTOTYPES = YES + + +CLANG_WARN_RANGE_LOOP_ANALYSIS = YES + + +CLANG_WARN_COMMA = YES + + +CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES + + +// Compiler for C/C++/Objective-C +// +// The compiler to use for C, C++, and Objective-C. + +GCC_VERSION = com.apple.compilers.llvm.clang.1_0 + + +GCC_WARN_64_TO_32_BIT_CONVERSION = YES + + +GCC_WARN_ABOUT_MISSING_NEWLINE = YES + + +GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES + + +GCC_WARN_SIGN_COMPARE = YES + + +GCC_WARN_UNDECLARED_SELECTOR = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES + + +GCC_WARN_UNUSED_FUNCTION = YES + + +GCC_WARN_UNUSED_VARIABLE = YES + + +GCC_NO_COMMON_BLOCKS = YES; + +// Precompiled Header Uses Files From Build Directory +// +// This setting allows for better control of sharing precompiled prefix header files +// between projects. By default, Xcode assumes that the prefix header file may include +// header files from the build directory if the build directory is outside of the project +// directory. (Xcode cannot determine this ahead of time since other projects may not +// have been built into the shared build directory at the time the information is +// needed.) +// +// If your prefix file never includes files from the build directory you may set this to +// "NO" to improve sharing of precompiled headers. If the prefix does use files from a +// build directory which is inside your project directory, you may set this to "YES" to +// avoid unintended sharing that may result in build failures. + +PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = NO + + +// Base SDK +// +// The name or path of the base SDK being used during the build. The product will be +// built against the headers and libraries located inside the indicated SDK. This path +// will be prepended to all search paths, and will be passed through the environment to +// the compiler and linker. Additional SDKs can be specified in the ADDITIONAL_SDKS +// setting. + +SDKROOT = iphoneos + + +WARNING_CFLAGS = -Wall -Wextra -Wundef -Wfloat-equal + +// iOS Deployment Target +// +// Code will load on this and later versions of iOS. Framework APIs that are unavailable +// in earlier versions will be weak-linked; your code should check for null function +// pointers or specific system versions before calling newer APIs. +// + +IPHONEOS_DEPLOYMENT_TARGET = 11.0 + +APPLICATION_EXTENSION_API_ONLY = NO diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/StripeUICore b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/StripeUICore new file mode 100755 index 0000000..e6a46f3 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/StripeUICore differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/StripeiOS Tests-Debug.xcconfig b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/StripeiOS Tests-Debug.xcconfig new file mode 100644 index 0000000..d969b04 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/StripeiOS Tests-Debug.xcconfig @@ -0,0 +1,13 @@ +// +// StripeiOS Tests-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +#include "StripeiOS Tests-Shared.xcconfig" + +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited) +DEBUG_INFORMATION_FORMAT = dwarf +SWIFT_ACTIVE_COMPILATION_CONDITIONS[arch=*] = DEBUG $(inherited) diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/StripeiOS Tests-Release.xcconfig b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/StripeiOS Tests-Release.xcconfig new file mode 100644 index 0000000..3b92cfd --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/StripeiOS Tests-Release.xcconfig @@ -0,0 +1,12 @@ +// +// StripeiOS Tests-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS Tests-Shared.xcconfig" + +//********************************************// +//* Currently no build settings in this file *// +//********************************************// diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/StripeiOS Tests-Shared.xcconfig b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/StripeiOS Tests-Shared.xcconfig new file mode 100644 index 0000000..3078777 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/StripeiOS Tests-Shared.xcconfig @@ -0,0 +1,89 @@ +// +// StripeiOS Tests-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + + +CLANG_CXX_LANGUAGE_STANDARD = gnu++0x + + +CLANG_CXX_LIBRARY = libc++ + + +CLANG_ENABLE_MODULES = YES + + +CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR + + +CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR + + +// Code Signing Identity +// +// The name ("common name") of a valid code-signing certificate in a keychain within your +// keychain path. A missing or invalid certificate will cause a build error. + +CODE_SIGN_IDENTITY = iPhone Developer + + +// Framework Search Paths +// +// This is a list of paths to folders containing frameworks to be searched by the +// compiler for both included or imported header files when compiling C, Objective-C, +// C++, or Objective-C++, and by the linker for frameworks used by the product. Paths are +// delimited by whitespace, so any paths with spaces in them need to be properly quoted. +// [-F] + +FRAMEWORK_SEARCH_PATHS = $(inherited) $(PROJECT_DIR)/Carthage/Build/iOS + +GCC_TREAT_WARNINGS_AS_ERRORS = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR + + +GCC_WARN_SHADOW = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE + +CLANG_WARN_ASSIGN_ENUM = YES +//CLANG_WARN_DOCUMENTATION_COMMENTS = YES not enabled because of errors in FBSnapshotTestCase headers +CLANG_WARN_INFINITE_RECURSION = YES +CLANG_WARN_SUSPICIOUS_MOVE = YES +GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES +GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES +GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES +GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES +GCC_WARN_UNKNOWN_PRAGMAS = YES +GCC_WARN_UNUSED_LABEL = YES +GCC_WARN_UNUSED_PARAMETER = YES + + +// Header Search Paths +// +// This is a list of paths to folders to be searched by the compiler for included or +// imported header files when compiling C, Objective-C, C++, or Objective-C++. Paths are +// delimited by whitespace, so any paths with spaces in them need to be properly quoted. +// [-I] + +HEADER_SEARCH_PATHS = $(inherited) + + +// Runpath Search Paths +// +// This is a list of paths to be added to the runpath search path list for the image +// being created. At runtime, dyld uses the runpath when searching for dylibs whose load +// path begins with '@rpath/'. [-rpath] + +LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @loader_path/Frameworks + + +OTHER_CFLAGS = + +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES + +LIBRARY_SEARCH_PATHS = $(inherited) diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/StripeiOS-Debug.xcconfig b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/StripeiOS-Debug.xcconfig new file mode 100644 index 0000000..99304b4 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/StripeiOS-Debug.xcconfig @@ -0,0 +1,12 @@ +// +// StripeiOS-Debug.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS-Shared.xcconfig" + + +GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited) +SWIFT_ACTIVE_COMPILATION_CONDITIONS[arch=*] = DEBUG $(inherited) diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/StripeiOS-Release.xcconfig b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/StripeiOS-Release.xcconfig new file mode 100644 index 0000000..3d79290 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/StripeiOS-Release.xcconfig @@ -0,0 +1,10 @@ +// +// StripeiOS-Release.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "StripeiOS-Shared.xcconfig" + +APPLICATION_EXTENSION_API_ONLY = NO diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/StripeiOS-Shared.xcconfig b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/StripeiOS-Shared.xcconfig new file mode 100644 index 0000000..b274c8d --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/StripeiOS-Shared.xcconfig @@ -0,0 +1,159 @@ +// +// StripeiOS-Shared.xcconfig +// +// Generated by BuildSettingExtractor on 4/27/15 +// https://github.com/dempseyatgithub/BuildSettingExtractor +// + +#include "Version.xcconfig" + +APPLICATION_EXTENSION_API_ONLY = YES + +CLANG_CXX_LANGUAGE_STANDARD = gnu++0x + + +CLANG_CXX_LIBRARY = libc++ + + +CLANG_ENABLE_MODULES = YES + + +CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR + + +CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR + +CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES +CLANG_WARN_INFINITE_RECURSION = YES +CLANG_WARN_SUSPICIOUS_MOVE = YES +CLANG_WARN_ASSIGN_ENUM = YES +CLANG_WARN_DOCUMENTATION_COMMENTS = YES +CLANG_WARN_UNGUARDED_AVAILABILITY = YES + +// Code Signing Identity +// +// The name ("common name") of a valid code-signing certificate in a keychain within your +// keychain path. A missing or invalid certificate will cause a build error. + +CODE_SIGN_IDENTITY[sdk=iphoneos*] = + +// Defines Module +// +// If enabled, the product will be treated as defining its own module. This enables +// automatic production of LLVM module map files when appropriate, and allows the product +// to be imported as a module. + +DEFINES_MODULE = YES + + +// Compatibility Version +// +// Determines the compatibility version of the resulting library, bundle, or framework +// binary. + +DYLIB_COMPATIBILITY_VERSION = 1 + + +// Current Library Version +// +// This setting defines the the current version of any framework built by the project. +// Like "Current Project Version", the value must be an integer or floating point number +// like 57 or 365.8. By default it is set to $(CURRENT_PROJECT_VERSION). + +DYLIB_CURRENT_VERSION = 1 + + +// Dynamic Library Install Name Base +// +// Sets the base value for the internal "install path" (LC_ID_DYLIB) in a dynamic +// library. This will be combined with the EXECUTABLE_PATH to form the full install path. +// Setting LD_DYLIB_INSTALL_NAME directly will override this setting. This setting +// defaults to the target's INSTALL_PATH. It is ignored when building any product other +// than a dynamic library. [-install_name] + +DYLIB_INSTALL_NAME_BASE = @rpath + + +GCC_TREAT_WARNINGS_AS_ERRORS = YES +SWIFT_TREAT_WARNINGS_AS_ERRORS = YES + + +GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR + + +GCC_WARN_SHADOW = YES + + +GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE + +GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES +GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES +GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES +GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES +GCC_WARN_UNKNOWN_PRAGMAS = YES +GCC_WARN_UNUSED_LABEL = YES +GCC_WARN_UNUSED_PARAMETER = YES + + +// Installation Directory +// +// The directory to install the build products in. This path is prepended by the +// 'Installation Build Products Location' (i.e., $(DSTROOT)). + +INSTALL_PATH = $(LOCAL_LIBRARY_DIR)/Frameworks + + +// Runpath Search Paths +// +// This is a list of paths to be added to the runpath search path list for the image +// being created. At runtime, dyld uses the runpath when searching for dylibs whose load +// path begins with '@rpath/'. [-rpath] + +LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @loader_path/Frameworks + + +// Skip Install +// +// Activating this setting when deployment locations are used causes the product to be +// built into an alternative location instead of the install location. + +SKIP_INSTALL = YES + + +// Targeted Device Family +// +// The build system uses the selected device to set the correct value for the +// UIDeviceFamily key it adds to the target's Info.plist file. +// +// iPhone - Application is built for iPhone and iPod touch. +// iPad - Application is built for iPad. +// iPhone/iPad - Application is built Universal for iPhone, iPod touch, and iPad. + +TARGETED_DEVICE_FAMILY = 1,2 + + +// Versioning Name Prefix +// +// Used as a prefix for the name of the version info symbol in the generated versioning +// source file. If you prefix your exported symbols you will probably want to set this +// to the same prefix. + +VERSION_INFO_PREFIX = + + +// Versioning System +// +// Selects the process used for version-stamping generated files. +// +// None - Use no versioning system. [] +// Apple Generic - Use the current project version setting. [apple-generic] + +VERSIONING_SYSTEM = apple-generic + +FRAMEWORK_SEARCH_PATHS = $(inherited) +HEADER_SEARCH_PATHS = $(inherited) + +LIBRARY_SEARCH_PATHS = $(inherited) $(CONFIGURATION_BUILD_DIR) + +// Generate .swiftinterface files +BUILD_LIBRARY_FOR_DISTRIBUTION = YES diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Version.xcconfig b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Version.xcconfig new file mode 100644 index 0000000..385e5d1 --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/Version.xcconfig @@ -0,0 +1,9 @@ +// +// Version.xcconfig +// +// This file was generated by update_version.sh +// Do not edit this file directly. +// Instead, edit the `VERSION` file and run `ci_scripts/update_version.sh` +// + +CURRENT_PROJECT_VERSION=21.12.0 diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/_CodeSignature/CodeResources b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000..86f2f4f --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/_CodeSignature/CodeResources @@ -0,0 +1,860 @@ + + + + + files + + Headers/StripeUICore-Swift.h + + zliYM0pO+svNqVbSuysxOmIj/qA= + + Headers/StripeUICore.h + + TUQBun4eUj2OyDJmdxl19LkbClw= + + Info.plist + + GPFFupIEQxRfAdVIH6c+WGEFdW0= + + Modules/StripeUICore.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + /sgI3zCTCpr5YWtmOcwMWVLtW6c= + + Modules/StripeUICore.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + BZtWUfIo3VbU6N1PTxezRdrspSU= + + Modules/StripeUICore.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + vkexuGUjnLYObR4kgRhC2TG77bA= + + Modules/StripeUICore.swiftmodule/arm64.swiftdoc + + /sgI3zCTCpr5YWtmOcwMWVLtW6c= + + Modules/StripeUICore.swiftmodule/arm64.swiftinterface + + BZtWUfIo3VbU6N1PTxezRdrspSU= + + Modules/StripeUICore.swiftmodule/arm64.swiftmodule + + vkexuGUjnLYObR4kgRhC2TG77bA= + + Modules/StripeUICore.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + 5Ha0e2w/rjjzxteEU27GiVYej6g= + + Modules/StripeUICore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + 7AZkc3TZ5Ist7zNa37HCs0chnR4= + + Modules/StripeUICore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + Qb75ZBZ4JC9e9XDYGVnUt48/l+M= + + Modules/StripeUICore.swiftmodule/x86_64.swiftdoc + + 5Ha0e2w/rjjzxteEU27GiVYej6g= + + Modules/StripeUICore.swiftmodule/x86_64.swiftinterface + + 7AZkc3TZ5Ist7zNa37HCs0chnR4= + + Modules/StripeUICore.swiftmodule/x86_64.swiftmodule + + Qb75ZBZ4JC9e9XDYGVnUt48/l+M= + + Modules/module.modulemap + + 54hVBjIaoN+ol8EOifYoKuu7xgk= + + Project-Debug.xcconfig + + n4N1KH/HDtAtM02FYLggVjQN/hA= + + Project-Release.xcconfig + + yoRzT4fJxZpKDrrYlW7GS/vPrX8= + + Project-Shared.xcconfig + + QpmL2mmJ8wleeTz4TJKCfn+VKb0= + + StripeiOS Tests-Debug.xcconfig + + 457iXHnhn1RB6CUwa4CK+jtCGkc= + + StripeiOS Tests-Release.xcconfig + + 0nTqLgIAKAMGub62qGXm1xhM1tU= + + StripeiOS Tests-Shared.xcconfig + + Dv2bE7zACQNBiNlKd+3VR0zJksY= + + StripeiOS-Debug.xcconfig + + 3PWe/ZA/fRAMhGidkHXLeW+HDfU= + + StripeiOS-Release.xcconfig + + ePihbKV1tMa/2TA7icckPYBl0DQ= + + StripeiOS-Shared.xcconfig + + sXIXJbd9sKiL8f3lhOaM0IYMlZE= + + Version.xcconfig + + 7h8EtEryCj8S1RVfu7tJcZkNF/k= + + brand_stripe@3x.png + + fWyI/YqdqdgD4pNxeoeXicJ4JaI= + + da.lproj/Localizable.strings + + hash + + FF8rJqZK8+niVIXq5yQUOirXawY= + + optional + + + de.lproj/Localizable.strings + + hash + + XFhcui8TLJ6H/thzbwQqIkLoM4w= + + optional + + + en-GB.lproj/Localizable.strings + + hash + + 6Z/lQtvTNBhkP6m7ZM42CE9u7lU= + + optional + + + en.lproj/Localizable.strings + + hash + + Qgtxz1L9P35rk/ipIdGEebii0AQ= + + optional + + + es-419.lproj/Localizable.strings + + hash + + zrTicojYDnnkKN7oc/qse5fGsLU= + + optional + + + es.lproj/Localizable.strings + + hash + + uuFG1pqYmQlweOpCQfxW+MCeffk= + + optional + + + fi.lproj/Localizable.strings + + hash + + Nuatb3C9CwCwFz9sPSLViZZrO9E= + + optional + + + fr-CA.lproj/Localizable.strings + + hash + + vuBJhPrpTImiH7CYAunJOP52FDo= + + optional + + + fr.lproj/Localizable.strings + + hash + + bTUbAF04HIWkT6xtyB0xSpTOBEI= + + optional + + + hu.lproj/Localizable.strings + + hash + + XjPXN76YRQNnXVYnfE0ZHI1mcUY= + + optional + + + icon_chevron_down@3x.png + + TldtbErRjNDtpUX5lNf8ZzvD+wM= + + it.lproj/Localizable.strings + + hash + + WFQq1G0EjkEGqkcchAZE3+K3LeA= + + optional + + + ja.lproj/Localizable.strings + + hash + + 6KFyFo/XzDcDOqZWxFxA9HvgQTQ= + + optional + + + ko.lproj/Localizable.strings + + hash + + DEO/LNT1NZcAI0bocDfN7G06GZ4= + + optional + + + localized_address_data.json + + ZtkcSE8gRFd0gGcyCoU8JBC6cLc= + + mt.lproj/Localizable.strings + + hash + + zQ4ezPEDieuQRhVvK7lxfGHTgsQ= + + optional + + + nb.lproj/Localizable.strings + + hash + + CYk0aM+GCsnugncSAUnXrzPVvBo= + + optional + + + nl.lproj/Localizable.strings + + hash + + +LKFV18hYh5X7Kre/CXBrUgohsI= + + optional + + + nn-NO.lproj/Localizable.strings + + hash + + eVpT43+JX46FC2WXueHOMRcetrA= + + optional + + + pt-BR.lproj/Localizable.strings + + hash + + wILuxWcSfZgeBrajCfEzXtw9sX8= + + optional + + + pt-PT.lproj/Localizable.strings + + hash + + VgAn/QW0Yp49Hroc3WRrPnfjrCk= + + optional + + + ru.lproj/Localizable.strings + + hash + + YS7moG0JIYFHj/JNj8JY0nEGUZk= + + optional + + + sv.lproj/Localizable.strings + + hash + + m4+yNk4Nj1COye1utH5VpafzoPg= + + optional + + + tr.lproj/Localizable.strings + + hash + + sXRDPE1Jretl9eRL9aoVGZ48x54= + + optional + + + zh-HK.lproj/Localizable.strings + + hash + + ZRrfO/QVCUTrveShcg4kcs9XU6Q= + + optional + + + zh-Hans.lproj/Localizable.strings + + hash + + jFqc3rbKjGfgpCor/2PUW5gohHw= + + optional + + + zh-Hant.lproj/Localizable.strings + + hash + + 7FI+rbNxaJ3vFZ675l9jkOi2/hs= + + optional + + + + files2 + + Headers/StripeUICore-Swift.h + + hash2 + + y+K3nz92Qyfqp269HlxiIzdEVgP70ybRcA57bjc/lfc= + + + Headers/StripeUICore.h + + hash2 + + sNmEwFaRez+uX19OydWL+oPtVhH6RkOfid2nD++PFDM= + + + Modules/StripeUICore.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + hash2 + + yeVW7PxTiO6SrofZgjNb/H4fO1gFZUU8bCzdpZJ1WjU= + + + Modules/StripeUICore.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + hash2 + + 4Zo5OE4MTzv81oevKFEtARTouGFA3bI+uq20zUmA98g= + + + Modules/StripeUICore.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + hash2 + + HbK2w+mZVfAVE8SaqlBke9dyUfeLkLFuNR9egLL4RL4= + + + Modules/StripeUICore.swiftmodule/arm64.swiftdoc + + hash2 + + yeVW7PxTiO6SrofZgjNb/H4fO1gFZUU8bCzdpZJ1WjU= + + + Modules/StripeUICore.swiftmodule/arm64.swiftinterface + + hash2 + + 4Zo5OE4MTzv81oevKFEtARTouGFA3bI+uq20zUmA98g= + + + Modules/StripeUICore.swiftmodule/arm64.swiftmodule + + hash2 + + HbK2w+mZVfAVE8SaqlBke9dyUfeLkLFuNR9egLL4RL4= + + + Modules/StripeUICore.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + hash2 + + lwUn7huP79vj700yMaw68/5a4K4sKEAhGYyd/DeStKQ= + + + Modules/StripeUICore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + hash2 + + E9/x14VuTzOWGE6QC1Hg5HvzWessNXuuFXA0D5UVpJc= + + + Modules/StripeUICore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + hash2 + + XF4ZvjYpfp0ZZfbxkQIh7HNGQi7L+9aW7aK6tjdmr20= + + + Modules/StripeUICore.swiftmodule/x86_64.swiftdoc + + hash2 + + lwUn7huP79vj700yMaw68/5a4K4sKEAhGYyd/DeStKQ= + + + Modules/StripeUICore.swiftmodule/x86_64.swiftinterface + + hash2 + + E9/x14VuTzOWGE6QC1Hg5HvzWessNXuuFXA0D5UVpJc= + + + Modules/StripeUICore.swiftmodule/x86_64.swiftmodule + + hash2 + + XF4ZvjYpfp0ZZfbxkQIh7HNGQi7L+9aW7aK6tjdmr20= + + + Modules/module.modulemap + + hash2 + + lZZ2KWf/s8KP3q26xmjiLuWmOUbosZZY07mfg+g6kG0= + + + Project-Debug.xcconfig + + hash2 + + kHoE/vfj0FcaEyk5a5O3K/XxflMeFXIC/a6yIIbNZdM= + + + Project-Release.xcconfig + + hash2 + + Ipf70x5Q5KKOWpMcAgr9EZLgQnXa1mn2I7GEN+JYF5w= + + + Project-Shared.xcconfig + + hash2 + + Twml4dKf2KXIbf21/+GmfDP3bi95I7/1540Qm+njxVE= + + + StripeiOS Tests-Debug.xcconfig + + hash2 + + uGVcgGik5SaJNbb2DOeEMtNQekkLmFTOMU208gSUpOg= + + + StripeiOS Tests-Release.xcconfig + + hash2 + + aei5qbaWUFeeU4+1EnWKiUYXju20d2DsZ8st6clNmjE= + + + StripeiOS Tests-Shared.xcconfig + + hash2 + + BPoQ19I+Jl8V6Og3rE0faUDimfMVIMcK7SpLegEzqHw= + + + StripeiOS-Debug.xcconfig + + hash2 + + pbwxxIUXIqn2E43DR+cv/cppQs18Xubm514KVZ7uNE8= + + + StripeiOS-Release.xcconfig + + hash2 + + TEIZY5oO6Uf7ZI8hO9d360gObHWb0BZEbbajcyx9sSI= + + + StripeiOS-Shared.xcconfig + + hash2 + + BboBmDBwEMCs6Bp4x/EbOHTaorFmBZz7lZNNO8HkKQE= + + + Version.xcconfig + + hash2 + + INjrVf3IWEihwmcp5YKB7z+/x09lU0xrzSwAIQV1FtE= + + + brand_stripe@3x.png + + hash2 + + 0kEo4BFK6eVqt1YpWFKoJ0lpuECQIu0ZryVNuGPjdtA= + + + da.lproj/Localizable.strings + + hash2 + + bgH7wSOFS1IuEl/+VHsO+yCxrmystP9BOJRDHCe1OVE= + + optional + + + de.lproj/Localizable.strings + + hash2 + + Gse94PzJaJplrKhN+Ka84v3cxIw8QlMfeSbqCJaT7tk= + + optional + + + en-GB.lproj/Localizable.strings + + hash2 + + dc4gLSt3QTctIy2V/dYnyKXXeKPL7/mCY7SR10ivw6I= + + optional + + + en.lproj/Localizable.strings + + hash2 + + JPviiIOw7C0MJCGve6jyllyEz5FDT76/WCLR8w5u4hk= + + optional + + + es-419.lproj/Localizable.strings + + hash2 + + CEKy8r3pQGe+Ths8CLdixpZXxgBq8EHnHs4zBh/Fmtk= + + optional + + + es.lproj/Localizable.strings + + hash2 + + GhW/v49p+Vx3HEBnozqvudiMJH4ekGQKPeJoAfuLtvk= + + optional + + + fi.lproj/Localizable.strings + + hash2 + + CYEXNbabCeFpMsKP/yLBNlVoCW5k9sAD5b8VD0afIUo= + + optional + + + fr-CA.lproj/Localizable.strings + + hash2 + + Aa7AmDP+M61gxBUzKcRgDlShxg54RZLVh9CdM4Ho/Gs= + + optional + + + fr.lproj/Localizable.strings + + hash2 + + oZHtsHvXtgnqYzlYFvOEAOSmVIzIwCG8egHT7JDNOZU= + + optional + + + hu.lproj/Localizable.strings + + hash2 + + tkYGJTDLtIeoErKfRltv54nx722VdR9gsIcMwmUIBls= + + optional + + + icon_chevron_down@3x.png + + hash2 + + MG3zEmq5CqrUursuIhCoLNPMP26kxi8pRYuixTqHfkc= + + + it.lproj/Localizable.strings + + hash2 + + 9uL8cLwkliZAexmiticDbZYO/Y4R8WSn1yLCI1ppvVM= + + optional + + + ja.lproj/Localizable.strings + + hash2 + + vy0975prbmrvr7MaPTP9mjiWpjPCYGMAji0BCc8c9ng= + + optional + + + ko.lproj/Localizable.strings + + hash2 + + w0s1yxCNQm0Gjb3pQ3LwLaAV0DM8fzkQvuakdE4zji4= + + optional + + + localized_address_data.json + + hash2 + + 4eQprfRvTcEsIiYG6ZwwYQ8HlX5pJufbQkiPFq/+QSQ= + + + mt.lproj/Localizable.strings + + hash2 + + 4jK7fk1aMrqKxMIVGC95cLk4IptW6WWOnxOywP06AZY= + + optional + + + nb.lproj/Localizable.strings + + hash2 + + DcrR7UA3bQEeRBmf/4UKOHhTBMq+qIzQabpskiH+KtI= + + optional + + + nl.lproj/Localizable.strings + + hash2 + + Ehxh6WT/nmsZ0SyoEu6bBviuB3aL4iw+GuEJhPjJW2M= + + optional + + + nn-NO.lproj/Localizable.strings + + hash2 + + nRWWVeq9i0PcNDTB0Cr6qPNjyr1XwHsrpeH8gPUbhMc= + + optional + + + pt-BR.lproj/Localizable.strings + + hash2 + + oNPW1uIpkJWJxErkhKNt550zQxorxrYYbS9ej2+ahXs= + + optional + + + pt-PT.lproj/Localizable.strings + + hash2 + + kISigXZcRbieVgQYWJT6qJZPjOvA0IoDRlib4e1Yo64= + + optional + + + ru.lproj/Localizable.strings + + hash2 + + LuVUTbZ8JskWFiviO5eeYtnepGxY0EZs9Y90XhWrTek= + + optional + + + sv.lproj/Localizable.strings + + hash2 + + mjaToGBcQLJSoQoJlcR4bkvODmt8JQSOTXa0RNOr814= + + optional + + + tr.lproj/Localizable.strings + + hash2 + + c8BpQlwpnQj0B052LoK8p28Yia812rkoCLFVqH8ZlzU= + + optional + + + zh-HK.lproj/Localizable.strings + + hash2 + + hvEF/C1+tEvJ7t5IiyWc98ddKgl1in0I0GALuDrfBDQ= + + optional + + + zh-Hans.lproj/Localizable.strings + + hash2 + + 9W6cY8ZkS6DJ2vzRZwAiOhUsyNRbN8cUz512dleWuxs= + + optional + + + zh-Hant.lproj/Localizable.strings + + hash2 + + VBjciSJzmtyXOK5MdF54chfisl15+U+ISk0EjIZSdAI= + + optional + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/brand_stripe@3x.png b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/brand_stripe@3x.png new file mode 100644 index 0000000..235dd9a Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/brand_stripe@3x.png differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/da.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/da.lproj/Localizable.strings new file mode 100644 index 0000000..a5df659 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/da.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/de.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/de.lproj/Localizable.strings new file mode 100644 index 0000000..1df80e1 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/de.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/en-GB.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/en-GB.lproj/Localizable.strings new file mode 100644 index 0000000..ec2fe88 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/en-GB.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/en.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/en.lproj/Localizable.strings new file mode 100644 index 0000000..055479c Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/en.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/es-419.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/es-419.lproj/Localizable.strings new file mode 100644 index 0000000..759a2a2 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/es-419.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/es.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/es.lproj/Localizable.strings new file mode 100644 index 0000000..a1f3d0a Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/es.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/fi.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/fi.lproj/Localizable.strings new file mode 100644 index 0000000..391c0c2 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/fi.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/fr-CA.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/fr-CA.lproj/Localizable.strings new file mode 100644 index 0000000..9d9fd68 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/fr-CA.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/fr.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/fr.lproj/Localizable.strings new file mode 100644 index 0000000..150208a Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/fr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/hu.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/hu.lproj/Localizable.strings new file mode 100644 index 0000000..2feb240 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/hu.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/icon_chevron_down@3x.png b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/icon_chevron_down@3x.png new file mode 100644 index 0000000..d53a95c Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/icon_chevron_down@3x.png differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/it.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/it.lproj/Localizable.strings new file mode 100644 index 0000000..e969590 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/it.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/ja.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/ja.lproj/Localizable.strings new file mode 100644 index 0000000..a482828 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/ja.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/ko.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/ko.lproj/Localizable.strings new file mode 100644 index 0000000..60bac9b Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/ko.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/localized_address_data.json b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/localized_address_data.json new file mode 100644 index 0000000..8e3ddca --- /dev/null +++ b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/localized_address_data.json @@ -0,0 +1,878 @@ +{ + "AC": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "zip": "ASCN 1ZZ", + }, + "AD": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "AD[1-7]0\\d", + }, + "AE": { + "fmt": "%N%n%O%n%A%n%S", + "lfmt": "%N%n%O%n%A%n%S", + "require": "AS", + "state_name_type": "emirate", + }, + "AF": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "zip": "\\d{4}", + }, + "AI": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "zip": "(?:AI-)?2640", + }, + "AL": { + "fmt": "%N%n%O%n%A%n%Z%n%C", + "zip": "\\d{4}", + }, + "AM": { + "fmt": "%N%n%O%n%A%n%Z%n%C%n%S", + "lfmt": "%N%n%O%n%A%n%Z%n%C%n%S", + "zip": "(?:37)?\\d{4}", + }, + "AR": { + "fmt": "%N%n%O%n%A%n%Z %C%n%S", + "zip": "((?:[A-HJ-NP-Z])?\\d{4})([A-Z]{3})?", + }, + "AT": { + "fmt": "%O%n%N%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{4}", + }, + "AU": { + "fmt": "%O%n%N%n%A%n%C %S %Z", + "locality_name_type": "suburb", + "require": "ACSZ", + "state_name_type": "state", + "zip": "\\d{4}", + }, + "AX": { + "fmt": "%O%n%N%n%A%nAX-%Z %C%nÅLAND", + "postprefix": "AX-", + "require": "ACZ", + "zip": "22\\d{3}", + }, + "AZ": { + "fmt": "%N%n%O%n%A%nAZ %Z %C", + "postprefix": "AZ ", + "zip": "\\d{4}", + }, + "BA": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{5}", + }, + "BB": { + "fmt": "%N%n%O%n%A%n%C, %S %Z", + "state_name_type": "parish", + "zip": "BB\\d{5}", + }, + "BD": { + "fmt": "%N%n%O%n%A%n%C - %Z", + "zip": "\\d{4}", + }, + "BE": { + "fmt": "%O%n%N%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{4}", + }, + "BF": { + "fmt": "%N%n%O%n%A%n%C %X", + }, + "BG": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{4}", + }, + "BH": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "(?:\\d|1[0-2])\\d{2}", + }, + "BL": { + "fmt": "%O%n%N%n%A%n%Z %C %X", + "require": "ACZ", + "zip": "9[78][01]\\d{2}", + }, + "BM": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "[A-Z]{2} ?[A-Z0-9]{2}", + }, + "BN": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "[A-Z]{2} ?\\d{4}", + }, + "BR": { + "fmt": "%O%n%N%n%A%n%D%n%C-%S%n%Z", + "require": "ASCZ", + "state_name_type": "state", + "sublocality_name_type": "neighborhood", + "zip": "\\d{5}-?\\d{3}", + }, + "BS": { + "fmt": "%N%n%O%n%A%n%C, %S", + "state_name_type": "island", + }, + "BT": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "\\d{5}", + }, + "BY": { + "fmt": "%S%n%Z %C%n%A%n%O%n%N", + "zip": "\\d{6}", + }, + "CA": { + "fmt": "%N%n%O%n%A%n%C %S %Z", + "require": "ACSZ", + "zip": "[ABCEGHJKLMNPRSTVXY]\\d[ABCEGHJ-NPRSTV-Z] ?\\d[ABCEGHJ-NPRSTV-Z]\\d", + }, + "CH": { + "fmt": "%O%n%N%n%A%nCH-%Z %C", + "postprefix": "CH-", + "require": "ACZ", + "zip": "\\d{4}", + }, + "CI": { + "fmt": "%N%n%O%n%X %A %C %X", + }, + "CL": { + "fmt": "%N%n%O%n%A%n%Z %C%n%S", + "zip": "\\d{7}", + }, + "CN": { + "fmt": "%Z%n%S%C%D%n%A%n%O%n%N", + "lfmt": "%N%n%O%n%A%n%D%n%C%n%S, %Z", + "require": "ACSZ", + "sublocality_name_type": "district", + "zip": "\\d{6}", + }, + "CO": { + "fmt": "%N%n%O%n%A%n%C, %S, %Z", + "require": "AS", + "state_name_type": "department", + "zip": "\\d{6}", + }, + "CR": { + "fmt": "%N%n%O%n%A%n%S, %C%n%Z", + "require": "ACS", + "zip": "\\d{4,5}|\\d{3}-\\d{4}", + }, + "CV": { + "fmt": "%N%n%O%n%A%n%Z %C%n%S", + "state_name_type": "island", + "zip": "\\d{4}", + }, + "CY": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{4}", + }, + "CZ": { + "fmt": "%N%n%O%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{3} ?\\d{2}", + }, + "DE": { + "fmt": "%N%n%O%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{5}", + }, + "DK": { + "fmt": "%N%n%O%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{4}", + }, + "DO": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{5}", + }, + "DZ": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{5}", + }, + "EC": { + "fmt": "%N%n%O%n%A%n%Z%n%C", + "zip": "\\d{6}", + }, + "EE": { + "fmt": "%N%n%O%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{5}", + }, + "EG": { + "fmt": "%N%n%O%n%A%n%C%n%S%n%Z", + "lfmt": "%N%n%O%n%A%n%C%n%S%n%Z", + "zip": "\\d{5}", + }, + "EH": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{5}", + }, + "ES": { + "fmt": "%N%n%O%n%A%n%Z %C %S", + "require": "ACSZ", + "zip": "\\d{5}", + }, + "ET": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{4}", + }, + "FI": { + "fmt": "%O%n%N%n%A%nFI-%Z %C", + "postprefix": "FI-", + "require": "ACZ", + "zip": "\\d{5}", + }, + "FK": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "require": "ACZ", + "zip": "FIQQ 1ZZ", + }, + "FO": { + "fmt": "%N%n%O%n%A%nFO%Z %C", + "postprefix": "FO", + "zip": "\\d{3}", + }, + "FR": { + "fmt": "%O%n%N%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{2} ?\\d{3}", + }, + "GB": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "locality_name_type": "post_town", + "require": "ACZ", + "zip": + "GIR ?0AA|(?:(?:AB|AL|B|BA|BB|BD|BF|BH|BL|BN|BR|BS|BT|BX|CA|CB|CF|CH|CM|CO|CR|CT|CV|CW|DA|DD|DE|DG|DH|DL|DN|DT|DY|E|EC|EH|EN|EX|FK|FY|G|GL|GY|GU|HA|HD|HG|HP|HR|HS|HU|HX|IG|IM|IP|IV|JE|KA|KT|KW|KY|L|LA|LD|LE|LL|LN|LS|LU|M|ME|MK|ML|N|NE|NG|NN|NP|NR|NW|OL|OX|PA|PE|PH|PL|PO|PR|RG|RH|RM|S|SA|SE|SG|SK|SL|SM|SN|SO|SP|SR|SS|ST|SW|SY|TA|TD|TF|TN|TQ|TR|TS|TW|UB|W|WA|WC|WD|WF|WN|WR|WS|WV|YO|ZE)(?:\\d[\\dA-Z]? ?\\d[ABD-HJLN-UW-Z]{2}))|BFPO ?\\d{1,4}", + "zipex": + "EC1Y 8SY,GIR 0AA,M2 5BQ,M34 4AB,CR0 2YR,DN16 9AA,W1A 4ZZ,EC1A 1HQ,OX14 4PG,BS18 8HF,NR25 7HG,RH6 0NP,BH23 6AA,B6 5BA,SO23 9AP,PO1 3AX,BFPO 61" + }, + "GE": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{4}", + }, + "GF": { + "fmt": "%O%n%N%n%A%n%Z %C %X", + "require": "ACZ", + "zip": "9[78]3\\d{2}", + }, + "GG": { + "fmt": "%N%n%O%n%A%n%C%nGUERNSEY%n%Z", + "require": "ACZ", + "zip": "GY\\d[\\dA-Z]? ?\\d[ABD-HJLN-UW-Z]{2}", + }, + "GI": { + "fmt": "%N%n%O%n%A%nGIBRALTAR%n%Z", + "require": "A", + "zip": "GX11 1AA", + }, + "GL": { + "fmt": "%N%n%O%n%A%n%Z %C", + "require": "ACZ", + "zip": "39\\d{2}", + }, + "GN": { + "fmt": "%N%n%O%n%Z %A %C", + "zip": "\\d{3}", + }, + "GP": { + "fmt": "%O%n%N%n%A%n%Z %C %X", + "require": "ACZ", + "zip": "9[78][01]\\d{2}", + }, + "GR": { + "fmt": "%N%n%O%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{3} ?\\d{2}", + }, + "GS": { + "fmt": "%N%n%O%n%A%n%n%C%n%Z", + "require": "ACZ", + "zip": "SIQQ 1ZZ", + }, + "GT": { + "fmt": "%N%n%O%n%A%n%Z- %C", + "zip": "\\d{5}", + }, + "GU": { + "fmt": "%N%n%O%n%A%n%C %Z", + "require": "ACZ", + "zip": "(969(?:[12]\\d|3[12]))(?:[ \\-](\\d{4}))?", + "zip_name_type": "zip", + }, + "GW": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{4}", + }, + "HK": { + "fmt": "%S%n%C%n%A%n%O%n%N", + "lfmt": "%N%n%O%n%A%n%C%n%S", + "locality_name_type": "district", + "require": "AS", + "state_name_type": "area", + }, + "HN": { + "fmt": "%N%n%O%n%A%n%C, %S%n%Z", + "require": "ACS", + "state_name_type": "department", + "zip": "\\d{5}", + }, + "HR": { + "fmt": "%N%n%O%n%A%nHR-%Z %C", + "postprefix": "HR-", + "zip": "\\d{5}", + }, + "HT": { + "fmt": "%N%n%O%n%A%nHT%Z %C", + "postprefix": "HT", + "zip": "\\d{4}", + }, + "HU": { + "fmt": "%N%n%O%n%C%n%A%n%Z", + "require": "ACZ", + "zip": "\\d{4}", + }, + "ID": { + "fmt": "%N%n%O%n%A%n%C%n%S %Z", + "require": "AS", + "zip": "\\d{5}", + }, + "IE": { + "fmt": "%N%n%O%n%A%n%D%n%C%n%S %Z", + "state_name_type": "county", + "sublocality_name_type": "townland", + "zip": "[\\dA-Z]{3} ?[\\dA-Z]{4}", + "zip_name_type": "eircode", + }, + "IL": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "\\d{5}(?:\\d{2})?", + }, + "IM": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "require": "ACZ", + "zip": "IM\\d[\\dA-Z]? ?\\d[ABD-HJLN-UW-Z]{2}", + }, + "IN": { + "fmt": "%N%n%O%n%A%n%C %Z%n%S", + "require": "ACSZ", + "state_name_type": "state", + "zip": "\\d{6}", + "zip_name_type": "pin", + }, + "IO": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "require": "ACZ", + "zip": "BBND 1ZZ", + }, + "IQ": { + "fmt": "%O%n%N%n%A%n%C, %S%n%Z", + "require": "ACS", + "zip": "\\d{5}", + }, + "IS": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{3}", + }, + "IT": { + "fmt": "%N%n%O%n%A%n%Z %C %S", + "require": "ACSZ", + "zip": "\\d{5}", + }, + "JE": { + "fmt": "%N%n%O%n%A%n%C%nJERSEY%n%Z", + "require": "ACZ", + "zip": "JE\\d[\\dA-Z]? ?\\d[ABD-HJLN-UW-Z]{2}", + }, + "JM": { + "fmt": "%N%n%O%n%A%n%C%n%S %X", + "require": "ACS", + "state_name_type": "parish", + }, + "JO": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "\\d{5}", + }, + "JP": { + "fmt": "〒%Z%n%S%n%A%n%O%n%N", + "lfmt": "%N%n%O%n%A, %S%n%Z", + "require": "ASZ", + "state_name_type": "prefecture", + "zip": "\\d{3}-?\\d{4}", + }, + "KE": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "zip": "\\d{5}", + }, + "KG": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{6}", + }, + "KH": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "\\d{5}", + }, + "KI": { + "fmt": "%N%n%O%n%A%n%S%n%C", + "state_name_type": "island", + }, + "KN": { + "fmt": "%N%n%O%n%A%n%C, %S", + "require": "ACS", + "state_name_type": "island", + }, + "KR": { + "fmt": "%S %C%D%n%A%n%O%n%N%n%Z", + "lfmt": "%N%n%O%n%A%n%D%n%C%n%S%n%Z", + "require": "ACSZ", + "state_name_type": "do_si", + "sublocality_name_type": "district", + "zip": "\\d{5}", + }, + "KW": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{5}", + }, + "KY": { + "fmt": "%N%n%O%n%A%n%S %Z", + "require": "AS", + "state_name_type": "island", + "zip": "KY\\d-\\d{4}", + }, + "KZ": { + "fmt": "%Z%n%S%n%C%n%A%n%O%n%N", + "zip": "\\d{6}", + }, + "LA": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{5}", + }, + "LB": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "(?:\\d{4})(?: ?(?:\\d{4}))?", + }, + "LI": { + "fmt": "%O%n%N%n%A%nFL-%Z %C", + "postprefix": "FL-", + "require": "ACZ", + "zip": "948[5-9]|949[0-8]", + }, + "LK": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "zip": "\\d{5}", + }, + "LR": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{4}", + }, + "LS": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "\\d{3}", + }, + "LT": { + "fmt": "%O%n%N%n%A%nLT-%Z %C", + "postprefix": "LT-", + "require": "ACZ", + "zip": "\\d{5}", + }, + "LU": { + "fmt": "%O%n%N%n%A%nL-%Z %C", + "postprefix": "L-", + "require": "ACZ", + "zip": "\\d{4}", + }, + "LV": { + "fmt": "%N%n%O%n%A%n%C, %Z", + "require": "ACZ", + "zip": "LV-\\d{4}", + }, + "MA": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{5}", + }, + "MC": { + "fmt": "%N%n%O%n%A%nMC-%Z %C %X", + "postprefix": "MC-", + "zip": "980\\d{2}", + }, + "MD": { + "fmt": "%N%n%O%n%A%nMD-%Z %C", + "postprefix": "MD-", + "zip": "\\d{4}", + }, + "ME": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "8\\d{4}", + }, + "MF": { + "fmt": "%O%n%N%n%A%n%Z %C %X", + "require": "ACZ", + "zip": "9[78][01]\\d{2}", + }, + "MG": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{3}", + }, + "MK": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{4}", + }, + "MM": { + "fmt": "%N%n%O%n%A%n%C, %Z", + "zip": "\\d{5}", + }, + "MN": { + "fmt": "%N%n%O%n%A%n%C%n%S %Z", + "zip": "\\d{5}", + }, + "MO": { + "fmt": "%A%n%O%n%N", + "lfmt": "%N%n%O%n%A", + "require": "A" + }, + "MQ": { + "fmt": "%O%n%N%n%A%n%Z %C %X", + "require": "ACZ", + "zip": "9[78]2\\d{2}", + }, + "MT": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "[A-Z]{3} ?\\d{2,4}", + }, + "MU": { + "fmt": "%N%n%O%n%A%n%Z%n%C", + "zip": "\\d{3}(?:\\d{2}|[A-Z]{2}\\d{3})", + }, + "MV": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "\\d{5}", + }, + "MX": { + "fmt": "%N%n%O%n%A%n%D%n%Z %C, %S", + "require": "ACSZ", + "state_name_type": "state", + "sublocality_name_type": "neighborhood", + "zip": "\\d{5}", + }, + "MY": { + "fmt": "%N%n%O%n%A%n%D%n%Z %C%n%S", + "require": "ACZ", + "state_name_type": "state", + "sublocality_name_type": "village_township", + "zip": "\\d{5}", + }, + "MZ": { + "fmt": "%N%n%O%n%A%n%Z %C%S", + "zip": "\\d{4}", + }, + "NA": { + "fmt": "%N%n%O%n%A%n%Cn%Z", + "zip": "\\d{5}", + }, + "NC": { + "fmt": "%O%n%N%n%A%n%Z %C %X", + "require": "ACZ", + "zip": "988\\d{2}", + }, + "NE": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{4}", + }, + "NG": { + "fmt": "%N%n%O%n%A%n%D%n%C %Z%n%S", + "state_name_type": "state", + "zip": "\\d{6}", + }, + "NI": { + "fmt": "%N%n%O%n%A%n%Z%n%C, %S", + "state_name_type": "department", + "zip": "\\d{5}", + }, + "NL": { + "fmt": "%O%n%N%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{4} ?[A-Z]{2}", + }, + "NO": { + "fmt": "%N%n%O%n%A%n%Z %C", + "locality_name_type": "post_town", + "require": "ACZ", + "zip": "\\d{4}", + }, + "NP": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "\\d{5}", + }, + "NR": { + "fmt": "%N%n%O%n%A%n%S", + "require": "AS", + "state_name_type": "district", + }, + "NZ": { + "fmt": "%N%n%O%n%A%n%D%n%C %Z", + "require": "ACZ", + "zip": "\\d{4}", + }, + "OM": { + "fmt": "%N%n%O%n%A%n%Z%n%C", + "zip": "(?:PC )?\\d{3}", + }, + "PA": { + "fmt": "%N%n%O%n%A%n%C%n%S", + }, + "PE": { + "fmt": "%N%n%O%n%A%n%C %Z%n%S", + "locality_name_type": "district", + "zip": "(?:LIMA \\d{1,2}|CALLAO 0?\\d)|[0-2]\\d{4}", + }, + "PF": { + "fmt": "%N%n%O%n%A%n%Z %C %S", + "require": "ACSZ", + "state_name_type": "island", + "zip": "987\\d{2}", + }, + "PG": { + "fmt": "%N%n%O%n%A%n%C %Z %S", + "require": "ACS", + "zip": "\\d{3}", + }, + "PH": { + "fmt": "%N%n%O%n%A%n%D, %C%n%Z %S", + "zip": "\\d{4}", + }, + "PK": { + "fmt": "%N%n%O%n%A%n%C-%Z", + "zip": "\\d{5}", + }, + "PL": { + "fmt": "%N%n%O%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{2}-\\d{3}", + }, + "PM": { + "fmt": "%O%n%N%n%A%n%Z %C %X", + "require": "ACZ", + "zip": "9[78]5\\d{2}", + }, + "PN": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "require": "ACZ", + "zip": "PCRN 1ZZ", + }, + "PR": { + "fmt": "%N%n%O%n%A%n%C PR %Z", + "postprefix": "PR ", + "require": "ACZ", + "zip": "(00[679]\\d{2})(?:[ \\-](\\d{4}))?", + "zip_name_type": "zip", + }, + "PT": { + "fmt": "%N%n%O%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{4}-\\d{3}", + }, + "PY": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{4}", + }, + "RE": { + "fmt": "%O%n%N%n%A%n%Z %C %X", + "require": "ACZ", + "zip": "9[78]4\\d{2}", + }, + "RO": { + "fmt": "%N%n%O%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{6}", + }, + "RS": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{5,6}", + }, + "RU": { + "fmt": "%N%n%O%n%A%n%C%n%S%n%Z", + "lfmt": "%N%n%O%n%A%n%C%n%S%n%Z", + "require": "ACSZ", + "state_name_type": "oblast", + "zip": "\\d{6}", + }, + "SA": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "\\d{5}", + }, + "SC": { + "fmt": "%N%n%O%n%A%n%C%n%S", + "state_name_type": "island", + }, + "SE": { + "fmt": "%O%n%N%n%A%nSE-%Z %C", + "locality_name_type": "post_town", + "postprefix": "SE-", + "require": "ACZ", + "zip": "\\d{3} ?\\d{2}", + }, + "SG": { + "fmt": "%N%n%O%n%A%nSINGAPORE %Z", + "require": "AZ", + "zip": "\\d{6}", + }, + "SH": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "require": "ACZ", + "zip": "(?:ASCN|STHL) 1ZZ", + }, + "SI": { + "fmt": "%N%n%O%n%A%nSI-%Z %C", + "postprefix": "SI-", + "zip": "\\d{4}", + }, + "SJ": { + "fmt": "%N%n%O%n%A%n%Z %C", + "locality_name_type": "post_town", + "require": "ACZ", + "zip": "\\d{4}", + }, + "SK": { + "fmt": "%N%n%O%n%A%n%Z %C", + "require": "ACZ", + "zip": "\\d{3} ?\\d{2}", + }, + "SM": { + "fmt": "%N%n%O%n%A%n%Z %C", + "require": "AZ", + "zip": "4789\\d", + }, + "SN": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{5}", + }, + "SO": { + "fmt": "%N%n%O%n%A%n%C, %S %Z", + "require": "ACS", + "zip": "[A-Z]{2} ?\\d{5}", + }, + "SR": { + "fmt": "%N%n%O%n%A%n%C%n%S", + }, + "SV": { + "fmt": "%N%n%O%n%A%n%Z-%C%n%S", + "require": "ACS", + "zip": "CP [1-3][1-7][0-2]\\d", + }, + "SZ": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "zip": "[HLMS]\\d{3}", + }, + "TA": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "zip": "TDCU 1ZZ", + }, + "TC": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "require": "ACZ", + "zip": "TKCA 1ZZ", + }, + "TH": { + "fmt": "%N%n%O%n%A%n%D %C%n%S %Z", + "lfmt": "%N%n%O%n%A%n%D, %C%n%S %Z", + "zip": "\\d{5}", + }, + "TJ": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{6}", + }, + "TM": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{6}", + }, + "TN": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{4}", + }, + "TR": { + "fmt": "%N%n%O%n%A%n%Z %C/%S", + "locality_name_type": "district", + "require": "ACZ", + "zip": "\\d{5}", + }, + "TV": { + "fmt": "%N%n%O%n%A%n%C%n%S", + "state_name_type": "island", + }, + "TW": { + "fmt": "%Z%n%S%C%n%A%n%O%n%N", + "lfmt": "%N%n%O%n%A%n%C, %S %Z", + "require": "ACSZ", + "state_name_type": "county", + "zip": "\\d{3}(?:\\d{2,3})?", + }, + "TZ": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{4,5}", + }, + "UA": { + "fmt": "%N%n%O%n%A%n%C%n%S%n%Z", + "lfmt": "%N%n%O%n%A%n%C%n%S%n%Z", + "require": "ACZ", + "state_name_type": "oblast", + "zip": "\\d{5}", + }, + "US": { + "fmt": "%N%n%O%n%A%n%C, %S %Z", + "require": "ACSZ", + "state_name_type": "state", + "zip": "(\\d{5})(?:[ \\-](\\d{4}))?", + "zip_name_type": "zip", + }, + "UY": { + "fmt": "%N%n%O%n%A%n%Z %C %S", + "zip": "\\d{5}", + }, + "UZ": { + "fmt": "%N%n%O%n%A%n%Z %C%n%S", + "zip": "\\d{6}", + }, + "VA": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "00120", + }, + "VC": { + "fmt": "%N%n%O%n%A%n%C %Z", + "zip": "VC\\d{4}", + }, + "VE": { + "fmt": "%N%n%O%n%A%n%C %Z, %S", + "require": "ACS", + "state_name_type": "state", + "zip": "\\d{4}", + }, + "VG": { + "fmt": "%N%n%O%n%A%n%C%n%Z", + "require": "A", + "zip": "VG\\d{4}", + }, + "VN": { + "fmt": "%N%n%O%n%A%n%C%n%S %Z", + "lfmt": "%N%n%O%n%A%n%C%n%S %Z", + "zip": "\\d{5}\\d?", + }, + "WF": { + "fmt": "%O%n%N%n%A%n%Z %C %X", + "require": "ACZ", + "zip": "986\\d{2}", + }, + "XK": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "[1-7]\\d{4}", + }, + "YT": { + "fmt": "%O%n%N%n%A%n%Z %C %X", + "require": "ACZ", + "zip": "976\\d{2}", + }, + "ZA": { + "fmt": "%N%n%O%n%A%n%D%n%C%n%Z", + "require": "ACZ", + "zip": "\\d{4}", + }, + "ZM": { + "fmt": "%N%n%O%n%A%n%Z %C", + "zip": "\\d{5}", + }, +} diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/mt.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/mt.lproj/Localizable.strings new file mode 100644 index 0000000..848ce1b Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/mt.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/nb.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/nb.lproj/Localizable.strings new file mode 100644 index 0000000..f486dcd Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/nb.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/nl.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/nl.lproj/Localizable.strings new file mode 100644 index 0000000..beb7698 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/nl.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/nn-NO.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/nn-NO.lproj/Localizable.strings new file mode 100644 index 0000000..d361c23 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/nn-NO.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/pt-BR.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/pt-BR.lproj/Localizable.strings new file mode 100644 index 0000000..e0120b4 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/pt-BR.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/pt-PT.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/pt-PT.lproj/Localizable.strings new file mode 100644 index 0000000..cea59de Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/pt-PT.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/ru.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/ru.lproj/Localizable.strings new file mode 100644 index 0000000..1d03d96 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/ru.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/sv.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/sv.lproj/Localizable.strings new file mode 100644 index 0000000..fd17931 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/sv.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/tr.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/tr.lproj/Localizable.strings new file mode 100644 index 0000000..0ae9897 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/tr.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/zh-HK.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/zh-HK.lproj/Localizable.strings new file mode 100644 index 0000000..a8fc758 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/zh-HK.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/zh-Hans.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/zh-Hans.lproj/Localizable.strings new file mode 100644 index 0000000..e74fb70 Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/zh-Hans.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/zh-Hant.lproj/Localizable.strings b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/zh-Hant.lproj/Localizable.strings new file mode 100644 index 0000000..8fe0efb Binary files /dev/null and b/stripe_ios/ios/platform/StripeUICore.xcframework/ios-arm64_x86_64-simulator/StripeUICore.framework/zh-Hant.lproj/Localizable.strings differ diff --git a/stripe_ios/ios/stripe_ios.podspec b/stripe_ios/ios/stripe_ios.podspec deleted file mode 100644 index 6e25431..0000000 --- a/stripe_ios/ios/stripe_ios.podspec +++ /dev/null @@ -1,27 +0,0 @@ - -Pod::Spec.new do |s| - - s.name = "stripe_ios" - s.version = "1.0.0" - s.summary = "The stripe_ios Titanium module." - - s.description = <<-DESC - The stripe_ios Titanium module. - DESC - - s.homepage = "https://example.com" - s.license = { :type => "Apache 2", :file => "LICENSE" } - s.author = 'Author' - - s.platform = :ios - s.ios.deployment_target = '8.0' - - s.source = { :git => "https://github.com//.git" } - - s.ios.weak_frameworks = 'UIKit', 'Foundation' - - s.ios.dependency 'TitaniumKit' - - s.public_header_files = 'Classes/*.h' - s.source_files = 'Classes/*.{h,m}' - end \ No newline at end of file diff --git a/stripe_ios/ios/stripe_ios.xcodeproj/project.pbxproj b/stripe_ios/ios/stripe_ios.xcodeproj/project.pbxproj index 47782d0..9518858 100644 --- a/stripe_ios/ios/stripe_ios.xcodeproj/project.pbxproj +++ b/stripe_ios/ios/stripe_ios.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 52; objects = { /* Begin PBXAggregateTarget section */ @@ -26,9 +26,17 @@ 24DD6CFA1134B3F500162E58 /* ComRavindraStripeModule.m in Sources */ = {isa = PBXBuildFile; fileRef = 24DD6CF81134B3F500162E58 /* ComRavindraStripeModule.m */; }; 24DE9E1111C5FE74003F90F6 /* ComRavindraStripeModuleAssets.h in Headers */ = {isa = PBXBuildFile; fileRef = 24DE9E0F11C5FE74003F90F6 /* ComRavindraStripeModuleAssets.h */; }; 24DE9E1211C5FE74003F90F6 /* ComRavindraStripeModuleAssets.m in Sources */ = {isa = PBXBuildFile; fileRef = 24DE9E1011C5FE74003F90F6 /* ComRavindraStripeModuleAssets.m */; }; + 3A0DE18027DF56DB0069F2A2 /* Stripe3DS2.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A0DE17827DF56DB0069F2A2 /* Stripe3DS2.xcframework */; }; + 3A0DE18127DF56DB0069F2A2 /* StripeCore.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A0DE17927DF56DB0069F2A2 /* StripeCore.xcframework */; }; + 3A0DE18227DF56DB0069F2A2 /* StripeCardScan.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A0DE17A27DF56DB0069F2A2 /* StripeCardScan.xcframework */; }; + 3A0DE18327DF56DB0069F2A2 /* StripeApplePay.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A0DE17B27DF56DB0069F2A2 /* StripeApplePay.xcframework */; }; + 3A0DE18427DF56DB0069F2A2 /* Stripe.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A0DE17C27DF56DB0069F2A2 /* Stripe.xcframework */; }; + 3A0DE18527DF56DB0069F2A2 /* StripeIdentity.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A0DE17D27DF56DB0069F2A2 /* StripeIdentity.xcframework */; }; + 3A0DE18627DF56DB0069F2A2 /* StripeUICore.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A0DE17E27DF56DB0069F2A2 /* StripeUICore.xcframework */; }; + 3A0DE18727DF56DB0069F2A2 /* StripeCameraCore.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A0DE17F27DF56DB0069F2A2 /* StripeCameraCore.xcframework */; }; + 3A0DE18927DF57210069F2A2 /* TitaniumKit.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A0DE18827DF57210069F2A2 /* TitaniumKit.xcframework */; }; AA747D9F0F9514B9006C5449 /* ComRavindraStripe_Prefix.pch in Headers */ = {isa = PBXBuildFile; fileRef = AA747D9E0F9514B9006C5449 /* ComRavindraStripe_Prefix.pch */; }; AACBBE4A0F95108600F1A2B1 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AACBBE490F95108600F1A2B1 /* Foundation.framework */; }; - D3C026D42465661500188BFC /* Stripe.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D3C026D32465661500188BFC /* Stripe.framework */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -47,10 +55,18 @@ 24DD6D1B1134B66800162E58 /* titanium.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = titanium.xcconfig; sourceTree = ""; }; 24DE9E0F11C5FE74003F90F6 /* ComRavindraStripeModuleAssets.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ComRavindraStripeModuleAssets.h; path = Classes/ComRavindraStripeModuleAssets.h; sourceTree = ""; }; 24DE9E1011C5FE74003F90F6 /* ComRavindraStripeModuleAssets.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = ComRavindraStripeModuleAssets.m; path = Classes/ComRavindraStripeModuleAssets.m; sourceTree = ""; }; + 3A0DE17827DF56DB0069F2A2 /* Stripe3DS2.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = Stripe3DS2.xcframework; path = platform/Stripe3DS2.xcframework; sourceTree = ""; }; + 3A0DE17927DF56DB0069F2A2 /* StripeCore.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = StripeCore.xcframework; path = platform/StripeCore.xcframework; sourceTree = ""; }; + 3A0DE17A27DF56DB0069F2A2 /* StripeCardScan.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = StripeCardScan.xcframework; path = platform/StripeCardScan.xcframework; sourceTree = ""; }; + 3A0DE17B27DF56DB0069F2A2 /* StripeApplePay.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = StripeApplePay.xcframework; path = platform/StripeApplePay.xcframework; sourceTree = ""; }; + 3A0DE17C27DF56DB0069F2A2 /* Stripe.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = Stripe.xcframework; path = platform/Stripe.xcframework; sourceTree = ""; }; + 3A0DE17D27DF56DB0069F2A2 /* StripeIdentity.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = StripeIdentity.xcframework; path = platform/StripeIdentity.xcframework; sourceTree = ""; }; + 3A0DE17E27DF56DB0069F2A2 /* StripeUICore.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = StripeUICore.xcframework; path = platform/StripeUICore.xcframework; sourceTree = ""; }; + 3A0DE17F27DF56DB0069F2A2 /* StripeCameraCore.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = StripeCameraCore.xcframework; path = platform/StripeCameraCore.xcframework; sourceTree = ""; }; + 3A0DE18827DF57210069F2A2 /* TitaniumKit.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = TitaniumKit.xcframework; path = "../../../../../Library/Application Support/Titanium/mobilesdk/osx/10.1.1.GA/iphone/Frameworks/TitaniumKit.xcframework"; sourceTree = ""; }; AA747D9E0F9514B9006C5449 /* ComRavindraStripe_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ComRavindraStripe_Prefix.pch; sourceTree = SOURCE_ROOT; }; AACBBE490F95108600F1A2B1 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; D2AAC07E0554694100DB518D /* libcom.ravindra.stripe.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libcom.ravindra.stripe.a; sourceTree = BUILT_PRODUCTS_DIR; }; - D3C026D32465661500188BFC /* Stripe.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Stripe.framework; path = platform/Stripe.framework; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -58,8 +74,16 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 3A0DE18027DF56DB0069F2A2 /* Stripe3DS2.xcframework in Frameworks */, + 3A0DE18527DF56DB0069F2A2 /* StripeIdentity.xcframework in Frameworks */, + 3A0DE18727DF56DB0069F2A2 /* StripeCameraCore.xcframework in Frameworks */, + 3A0DE18127DF56DB0069F2A2 /* StripeCore.xcframework in Frameworks */, AACBBE4A0F95108600F1A2B1 /* Foundation.framework in Frameworks */, - D3C026D42465661500188BFC /* Stripe.framework in Frameworks */, + 3A0DE18327DF56DB0069F2A2 /* StripeApplePay.xcframework in Frameworks */, + 3A0DE18627DF56DB0069F2A2 /* StripeUICore.xcframework in Frameworks */, + 3A0DE18927DF57210069F2A2 /* TitaniumKit.xcframework in Frameworks */, + 3A0DE18427DF56DB0069F2A2 /* Stripe.xcframework in Frameworks */, + 3A0DE18227DF56DB0069F2A2 /* StripeCardScan.xcframework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -88,7 +112,15 @@ 0867D69AFE84028FC02AAC07 /* Frameworks */ = { isa = PBXGroup; children = ( - D3C026D32465661500188BFC /* Stripe.framework */, + 3A0DE18827DF57210069F2A2 /* TitaniumKit.xcframework */, + 3A0DE17C27DF56DB0069F2A2 /* Stripe.xcframework */, + 3A0DE17827DF56DB0069F2A2 /* Stripe3DS2.xcframework */, + 3A0DE17B27DF56DB0069F2A2 /* StripeApplePay.xcframework */, + 3A0DE17F27DF56DB0069F2A2 /* StripeCameraCore.xcframework */, + 3A0DE17A27DF56DB0069F2A2 /* StripeCardScan.xcframework */, + 3A0DE17927DF56DB0069F2A2 /* StripeCore.xcframework */, + 3A0DE17D27DF56DB0069F2A2 /* StripeIdentity.xcframework */, + 3A0DE17E27DF56DB0069F2A2 /* StripeUICore.xcframework */, AACBBE490F95108600F1A2B1 /* Foundation.framework */, ); name = Frameworks; @@ -153,17 +185,15 @@ 0867D690FE84028FC02AAC07 /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 0800; + LastUpgradeCheck = 1320; }; buildConfigurationList = 1DEB922208733DC00010E9CD /* Build configuration list for PBXProject "stripe_ios" */; compatibilityVersion = "Xcode 9.3"; - developmentRegion = English; + developmentRegion = en; hasScannedForEncodings = 1; knownRegions = ( - English, - Japanese, - French, - German, + Base, + en, ); mainGroup = 0867D691FE84028FC02AAC07 /* stripe_ios */; productRefGroup = 034768DFFF38A50411DB9C8B /* Products */; @@ -241,7 +271,7 @@ GCC_WARN_UNUSED_VALUE = NO; GCC_WARN_UNUSED_VARIABLE = NO; INSTALL_PATH = /usr/local/lib; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; LIBRARY_SEARCH_PATHS = ""; OTHER_CFLAGS = ( "-DDEBUG", @@ -289,7 +319,7 @@ GCC_WARN_UNUSED_VALUE = NO; GCC_WARN_UNUSED_VARIABLE = NO; INSTALL_PATH = /usr/local/lib; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; LIBRARY_SEARCH_PATHS = ""; OTHER_CFLAGS = "-DTI_POST_1_2"; OTHER_LDFLAGS = "-ObjC"; @@ -305,26 +335,52 @@ isa = XCBuildConfiguration; baseConfigurationReference = 24DD6D1B1134B66800162E58 /* titanium.xcconfig */; buildSettings = { - CLANG_CXX_LIBRARY = "libstdc++"; + CLANG_CXX_LIBRARY = "compiler-default"; + CLANG_ENABLE_MODULES = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; CODE_SIGN_IDENTITY = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; DSTROOT = /tmp/ComRavindraStripe.dst; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; GCC_C_LANGUAGE_STANDARD = c99; + GCC_NO_COMMON_BLOCKS = YES; GCC_OPTIMIZATION_LEVEL = 0; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = ComRavindraStripe_Prefix.pch; GCC_PREPROCESSOR_DEFINITIONS = "TI_VERSION=$(TI_VERSION)"; GCC_TREAT_WARNINGS_AS_ERRORS = NO; GCC_VERSION = ""; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = NO; GCC_WARN_MISSING_PARENTHESES = NO; GCC_WARN_SHADOW = NO; GCC_WARN_STRICT_SELECTOR_MATCH = NO; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_PARAMETER = NO; GCC_WARN_UNUSED_VALUE = NO; GCC_WARN_UNUSED_VARIABLE = NO; INSTALL_PATH = /usr/local/lib; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; ONLY_ACTIVE_ARCH = YES; OTHER_CFLAGS = ( "-DDEBUG", @@ -345,25 +401,49 @@ baseConfigurationReference = 24DD6D1B1134B66800162E58 /* titanium.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LIBRARY = "libstdc++"; + CLANG_CXX_LIBRARY = "compiler-default"; + CLANG_ENABLE_MODULES = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; DSTROOT = /tmp/ComRavindraStripe.dst; + ENABLE_STRICT_OBJC_MSGSEND = YES; GCC_C_LANGUAGE_STANDARD = c99; GCC_MODEL_TUNING = G5; + GCC_NO_COMMON_BLOCKS = YES; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = ComRavindraStripe_Prefix.pch; GCC_PREPROCESSOR_DEFINITIONS = "TI_VERSION=$(TI_VERSION)"; GCC_TREAT_WARNINGS_AS_ERRORS = NO; GCC_VERSION = ""; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = NO; GCC_WARN_MISSING_PARENTHESES = NO; GCC_WARN_SHADOW = NO; GCC_WARN_STRICT_SELECTOR_MATCH = NO; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_PARAMETER = NO; GCC_WARN_UNUSED_VALUE = NO; GCC_WARN_UNUSED_VARIABLE = NO; INSTALL_PATH = /usr/local/lib; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; OTHER_CFLAGS = "-DTI_POST_1_2"; OTHER_LDFLAGS = "-ObjC"; PRODUCT_NAME = com.ravindra.stripe; @@ -377,6 +457,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = 24DD6D1B1134B66800162E58 /* titanium.xcconfig */; buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; COPY_PHASE_STRIP = NO; GCC_DYNAMIC_NO_PIC = NO; GCC_OPTIMIZATION_LEVEL = 0; @@ -388,9 +469,9 @@ isa = XCBuildConfiguration; baseConfigurationReference = 24DD6D1B1134B66800162E58 /* titanium.xcconfig */; buildSettings = { + CLANG_ENABLE_OBJC_WEAK = YES; COPY_PHASE_STRIP = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - GCC_ENABLE_FIX_AND_CONTINUE = NO; PRODUCT_NAME = "Build & test"; ZERO_LINK = NO; }; diff --git a/stripe_ios/ios/stripe_ios.xcodeproj/project.xcworkspace/xcuserdata/hans.xcuserdatad/UserInterfaceState.xcuserstate b/stripe_ios/ios/stripe_ios.xcodeproj/project.xcworkspace/xcuserdata/hans.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..075bdf5 Binary files /dev/null and b/stripe_ios/ios/stripe_ios.xcodeproj/project.xcworkspace/xcuserdata/hans.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/stripe_ios/ios/stripe_ios.xcodeproj/xcuserdata/hans.xcuserdatad/xcschemes/xcschememanagement.plist b/stripe_ios/ios/stripe_ios.xcodeproj/xcuserdata/hans.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..44d8039 --- /dev/null +++ b/stripe_ios/ios/stripe_ios.xcodeproj/xcuserdata/hans.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,19 @@ + + + + + SchemeUserState + + Build & Test.xcscheme_^#shared#^_ + + orderHint + 1 + + stripe_ios.xcscheme_^#shared#^_ + + orderHint + 0 + + + + diff --git a/stripe_ios/ios/titanium.xcconfig b/stripe_ios/ios/titanium.xcconfig index fe26a4f..1f8e547 100644 --- a/stripe_ios/ios/titanium.xcconfig +++ b/stripe_ios/ios/titanium.xcconfig @@ -4,10 +4,11 @@ // OF YOUR TITANIUM SDK YOU'RE BUILDING FOR // // -TITANIUM_SDK_VERSION = 8.0.0.GA +TITANIUM_SDK_VERSION = 10.1.1.GA // // THESE SHOULD BE OK GENERALLY AS-IS // -TITANIUM_SDK = /Users/ravindra/Library/Application Support/Titanium/mobilesdk/osx/8.0.0.GA -HEADER_SEARCH_PATHS = $(inherited) "$(TITANIUM_SDK)/iphone/include" \ No newline at end of file +TITANIUM_SDK = /Users/$(USER)/Library/Application Support/Titanium/mobilesdk/osx/$(TITANIUM_SDK_VERSION) +HEADER_SEARCH_PATHS = $(inherited) "$(TITANIUM_SDK)" +FRAMEWORK_SEARCH_PATHS = $(inherited) "$(TITANIUM_SDK)/iphone/Frameworks/**"