Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/v3'
Browse files Browse the repository at this point in the history
Conflicts:
	OpenpayExample.xcodeproj/project.pbxproj
	OpenpayExample.xcodeproj/project.xcworkspace/xcuserdata/qrsof.xcuserdatad/UserInterfaceState.xcuserstate
	OpenpayExample/OpenpayKit.framework/Info.plist
	OpenpayExample/OpenpayKit.framework/Modules/OpenpayKit.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo
	OpenpayExample/OpenpayKit.framework/Modules/OpenpayKit.swiftmodule/Project/arm64.swiftsourceinfo
	OpenpayExample/OpenpayKit.framework/Modules/OpenpayKit.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo
	OpenpayExample/OpenpayKit.framework/Modules/OpenpayKit.swiftmodule/Project/x86_64.swiftsourceinfo
	OpenpayExample/OpenpayKit.framework/Modules/OpenpayKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface
	OpenpayExample/OpenpayKit.framework/Modules/OpenpayKit.swiftmodule/arm64.swiftinterface
	OpenpayExample/OpenpayKit.framework/Modules/OpenpayKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface
	OpenpayExample/OpenpayKit.framework/Modules/OpenpayKit.swiftmodule/x86_64.swiftinterface
	OpenpayExample/OpenpayKit.framework/OpenpayKit
	OpenpayExample/OpenpayKit.framework/en.lproj/CardView.nib
	OpenpayExample/OpenpayKit.framework/es-MX.lproj/CardView.nib
	OpenpayExample/OpenpayKit.framework/es.lproj/CardView.nib
	OpenpayExample/OpenpayKit.xcframework/ios-arm64/OpenpayKit.framework/Info.plist
	OpenpayExample/OpenpayKit.xcframework/ios-arm64/OpenpayKit.framework/Modules/OpenpayKit.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo
	OpenpayExample/OpenpayKit.xcframework/ios-arm64/OpenpayKit.framework/Modules/OpenpayKit.swiftmodule/Project/arm64.swiftsourceinfo
	OpenpayExample/OpenpayKit.xcframework/ios-arm64/OpenpayKit.framework/Modules/OpenpayKit.swiftmodule/arm64.swiftdoc
	OpenpayExample/OpenpayKit.xcframework/ios-arm64/OpenpayKit.framework/Modules/OpenpayKit.swiftmodule/arm64.swiftinterface
	OpenpayExample/OpenpayKit.xcframework/ios-arm64/OpenpayKit.framework/OpenpayKit
	OpenpayExample/OpenpayKit.xcframework/ios-arm64/OpenpayKit.framework/en.lproj/CardView.nib
	OpenpayExample/OpenpayKit.xcframework/ios-arm64/OpenpayKit.framework/es-MX.lproj/CardView.nib
	OpenpayExample/OpenpayKit.xcframework/ios-arm64/OpenpayKit.framework/es.lproj/CardView.nib
	OpenpayExample/OpenpayKit.xcframework/ios-arm64_x86_64-simulator/OpenpayKit.framework/Headers/OpenpayKit-Swift.h
	OpenpayExample/OpenpayKit.xcframework/ios-arm64_x86_64-simulator/OpenpayKit.framework/Info.plist
	OpenpayExample/OpenpayKit.xcframework/ios-arm64_x86_64-simulator/OpenpayKit.framework/Modules/OpenpayKit.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo
	OpenpayExample/OpenpayKit.xcframework/ios-arm64_x86_64-simulator/OpenpayKit.framework/Modules/OpenpayKit.swiftmodule/Project/arm64.swiftsourceinfo
	OpenpayExample/OpenpayKit.xcframework/ios-arm64_x86_64-simulator/OpenpayKit.framework/Modules/OpenpayKit.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo
	OpenpayExample/OpenpayKit.xcframework/ios-arm64_x86_64-simulator/OpenpayKit.framework/Modules/OpenpayKit.swiftmodule/Project/x86_64.swiftsourceinfo
	OpenpayExample/OpenpayKit.xcframework/ios-arm64_x86_64-simulator/OpenpayKit.framework/Modules/OpenpayKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface
	OpenpayExample/OpenpayKit.xcframework/ios-arm64_x86_64-simulator/OpenpayKit.framework/Modules/OpenpayKit.swiftmodule/arm64.swiftinterface
	OpenpayExample/OpenpayKit.xcframework/ios-arm64_x86_64-simulator/OpenpayKit.framework/Modules/OpenpayKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface
	OpenpayExample/OpenpayKit.xcframework/ios-arm64_x86_64-simulator/OpenpayKit.framework/Modules/OpenpayKit.swiftmodule/x86_64.swiftinterface
	OpenpayExample/OpenpayKit.xcframework/ios-arm64_x86_64-simulator/OpenpayKit.framework/OpenpayKit
	OpenpayExample/OpenpayKit.xcframework/ios-arm64_x86_64-simulator/OpenpayKit.framework/_CodeSignature/CodeResources
	OpenpayExample/OpenpayKit.xcframework/ios-arm64_x86_64-simulator/OpenpayKit.framework/en.lproj/CardView.nib
	OpenpayExample/OpenpayKit.xcframework/ios-arm64_x86_64-simulator/OpenpayKit.framework/es-MX.lproj/CardView.nib
	OpenpayExample/OpenpayKit.xcframework/ios-arm64_x86_64-simulator/OpenpayKit.framework/es.lproj/CardView.nib
  • Loading branch information
carloshe-perez committed Jun 3, 2021
1 parent 604040f commit 4947dab
Show file tree
Hide file tree
Showing 27 changed files with 1,000 additions and 0 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55)
// swift-module-flags: -target arm64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OpenpayKit
import Foundation
import Swift
import UIKit
import WebKit
public struct TokenizeCardRequest {
public init(cardNumber: Swift.String, holderName: Swift.String, expirationYear: Swift.String, expirationMonth: Swift.String, cvv2: Swift.String, address: OpenpayKit.Address? = nil)
public let cardNumber: Swift.String
public let holderName: Swift.String
public let expirationYear: Swift.String
public let expirationMonth: Swift.String
public let cvv2: Swift.String
public var address: OpenpayKit.Address?
}
public struct Address : Swift.Codable {
public let line1: Swift.String?
public let line2: Swift.String?
public let line3: Swift.String?
public let state: Swift.String?
public let city: Swift.String?
public let postalCode: Swift.String?
public var countryCode: Swift.String?
public var dictionary: [Swift.String : Any] {
get
}
public func encode(to encoder: Swift.Encoder) throws
public init(from decoder: Swift.Decoder) throws
}
public class Openpay {
public init(withMerchantId merchantId: Swift.String, andApiKey apiKey: Swift.String, isProductionMode: Swift.Bool)
public init(withMerchantId merchantId: Swift.String, andApiKey apiKey: Swift.String, isProductionMode: Swift.Bool, isDebug: Swift.Bool)
public func createTokenWithCard(address: OpenpayKit.OPAddress!, successFunction: @escaping (OpenpayKit.OPToken) -> Swift.Void, failureFunction: @escaping (Foundation.NSError) -> Swift.Void)
public func getTokenWithId(tokenId: Swift.String, successFunction: @escaping (OpenpayKit.OPToken) -> Swift.Void, failureFunction: @escaping (Foundation.NSError) -> Swift.Void)
public func createDeviceSessionId(successFunction: @escaping (Swift.String) -> Swift.Void, failureFunction: @escaping (Foundation.NSError) -> Swift.Void)
public func tokenizeCard(card: OpenpayKit.TokenizeCardRequest, successFunction: @escaping (OpenpayKit.OPToken) -> (), failureFunction: @escaping (Foundation.NSError) -> ())
public func loadCardForm(in viewController: UIKit.UIViewController, successFunction: @escaping () -> Swift.Void, failureFunction: @escaping (Foundation.NSError) -> Swift.Void, formTitle: Swift.String)
@objc deinit
}
public class OPToken {
public var id: Swift.String
public var card: OpenpayKit.OPCard
public init()
public init(with dictionary: Swift.Dictionary<Swift.String, Any>)
@objc deinit
}
public class OPCard {
public enum OPCardType : Swift.Int {
case OPCardTypeUnknown, OPCardTypeVisa, OPCardTypeMastercard, OPCardTypeAmericanExpress
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
public enum OPCardSecurityCodeCheck : Swift.Int {
case OPCardSecurityCodeCheckUnknown, OPCardSecurityCodeCheckPassed, OPCardSecurityCodeCheckFailed
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
public var creationDate: Foundation.NSDate
public var id: Swift.String
public var bankName: Swift.String
public var allowPayouts: Swift.Bool
public var holderName: Swift.String
public var expirationMonth: Swift.String
public var expirationYear: Swift.String
public var address: OpenpayKit.OPAddress!
public var number: Swift.String {
get
set
}
public var brand: Swift.String
public var allowsCharges: Swift.Bool
public var bankCode: Swift.String
public var cvv2: Swift.String
public var errors: Foundation.NSMutableArray
public var expired: Swift.Bool {
get
}
public var type: OpenpayKit.OPCard.OPCardType {
get
}
public var numberValid: Swift.Bool {
get
}
public var valid: Swift.Bool {
get
}
public var securityCodeCheck: OpenpayKit.OPCard.OPCardSecurityCodeCheck {
get
}
public init()
public init(with dictionary: Swift.Dictionary<Swift.String, Any>)
public func asDictionary() -> Swift.Dictionary<Swift.String, Any>
@objc deinit
}
public class OPAddress {
public var postalCode: Swift.String
public var line1: Swift.String
public var line2: Swift.String
public var line3: Swift.String
public var city: Swift.String
public var state: Swift.String
public var countryCode: Swift.String
public init()
public init(with dictionary: Swift.Dictionary<Swift.String, Any>)
public func asDictionary() -> Swift.Dictionary<Swift.String, Any>
@objc deinit
}
@objc @_inheritsConvenienceInitializers public class CardView : UIKit.UIView, UIKit.UITextFieldDelegate {
@objc override dynamic public init(frame: CoreGraphics.CGRect)
@objc required dynamic public init?(coder: Foundation.NSCoder)
@objc deinit
}
extension OpenpayKit.OPCard.OPCardType : Swift.Equatable {}
extension OpenpayKit.OPCard.OPCardType : Swift.Hashable {}
extension OpenpayKit.OPCard.OPCardType : Swift.RawRepresentable {}
extension OpenpayKit.OPCard.OPCardSecurityCodeCheck : Swift.Equatable {}
extension OpenpayKit.OPCard.OPCardSecurityCodeCheck : Swift.Hashable {}
extension OpenpayKit.OPCard.OPCardSecurityCodeCheck : Swift.RawRepresentable {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)
// swift-module-flags: -target arm64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OpenpayKit
import Foundation
import Swift
import UIKit
import WebKit
public struct TokenizeCardRequest {
public init(cardNumber: Swift.String, holderName: Swift.String, expirationYear: Swift.String, expirationMonth: Swift.String, cvv2: Swift.String, address: OpenpayKit.Address? = nil)
public let cardNumber: Swift.String
public let holderName: Swift.String
public let expirationYear: Swift.String
public let expirationMonth: Swift.String
public let cvv2: Swift.String
public var address: OpenpayKit.Address?
}
public struct Address : Swift.Codable {
public let line1: Swift.String?
public let line2: Swift.String?
public let line3: Swift.String?
public let state: Swift.String?
public let city: Swift.String?
public let postalCode: Swift.String?
public var countryCode: Swift.String?
public var dictionary: [Swift.String : Any] {
get
}
public init(from decoder: Swift.Decoder) throws
public func encode(to encoder: Swift.Encoder) throws
}
public class Openpay {
public init(withMerchantId merchantId: Swift.String, andApiKey apiKey: Swift.String, isProductionMode: Swift.Bool)
public init(withMerchantId merchantId: Swift.String, andApiKey apiKey: Swift.String, isProductionMode: Swift.Bool, isDebug: Swift.Bool)
public func createTokenWithCard(address: OpenpayKit.OPAddress!, successFunction: @escaping (OpenpayKit.OPToken) -> Swift.Void, failureFunction: @escaping (Foundation.NSError) -> Swift.Void)
public func getTokenWithId(tokenId: Swift.String, successFunction: @escaping (OpenpayKit.OPToken) -> Swift.Void, failureFunction: @escaping (Foundation.NSError) -> Swift.Void)
public func createDeviceSessionId(successFunction: @escaping (Swift.String) -> Swift.Void, failureFunction: @escaping (Foundation.NSError) -> Swift.Void)
public func tokenizeCard(card: OpenpayKit.TokenizeCardRequest, successFunction: @escaping (OpenpayKit.OPToken) -> (), failureFunction: @escaping (Foundation.NSError) -> ())
public func loadCardForm(in viewController: UIKit.UIViewController, successFunction: @escaping () -> Swift.Void, failureFunction: @escaping (Foundation.NSError) -> Swift.Void, formTitle: Swift.String)
@objc deinit
}
public class OPToken {
public var id: Swift.String
public var card: OpenpayKit.OPCard
public init()
public init(with dictionary: Swift.Dictionary<Swift.String, Any>)
@objc deinit
}
public class OPCard {
public enum OPCardType : Swift.Int {
case OPCardTypeUnknown, OPCardTypeVisa, OPCardTypeMastercard, OPCardTypeAmericanExpress
public typealias RawValue = Swift.Int
public init?(rawValue: Swift.Int)
public var rawValue: Swift.Int {
get
}
}
public enum OPCardSecurityCodeCheck : Swift.Int {
case OPCardSecurityCodeCheckUnknown, OPCardSecurityCodeCheckPassed, OPCardSecurityCodeCheckFailed
public typealias RawValue = Swift.Int
public init?(rawValue: Swift.Int)
public var rawValue: Swift.Int {
get
}
}
public var creationDate: Foundation.NSDate
public var id: Swift.String
public var bankName: Swift.String
public var allowPayouts: Swift.Bool
public var holderName: Swift.String
public var expirationMonth: Swift.String
public var expirationYear: Swift.String
public var address: OpenpayKit.OPAddress!
public var number: Swift.String {
get
set
}
public var brand: Swift.String
public var allowsCharges: Swift.Bool
public var bankCode: Swift.String
public var cvv2: Swift.String
public var errors: Foundation.NSMutableArray
public var expired: Swift.Bool {
get
}
public var type: OpenpayKit.OPCard.OPCardType {
get
}
public var numberValid: Swift.Bool {
get
}
public var valid: Swift.Bool {
get
}
public var securityCodeCheck: OpenpayKit.OPCard.OPCardSecurityCodeCheck {
get
}
public init()
public init(with dictionary: Swift.Dictionary<Swift.String, Any>)
public func asDictionary() -> Swift.Dictionary<Swift.String, Any>
@objc deinit
}
public class OPAddress {
public var postalCode: Swift.String
public var line1: Swift.String
public var line2: Swift.String
public var line3: Swift.String
public var city: Swift.String
public var state: Swift.String
public var countryCode: Swift.String
public init()
public init(with dictionary: Swift.Dictionary<Swift.String, Any>)
public func asDictionary() -> Swift.Dictionary<Swift.String, Any>
@objc deinit
}
@objc @_inheritsConvenienceInitializers public class CardView : UIKit.UIView, UIKit.UITextFieldDelegate {
@objc deinit
@objc override dynamic public init(frame: CoreGraphics.CGRect)
@objc required dynamic public init?(coder: Foundation.NSCoder)
}
extension OpenpayKit.OPCard.OPCardType : Swift.Equatable {}
extension OpenpayKit.OPCard.OPCardType : Swift.Hashable {}
extension OpenpayKit.OPCard.OPCardType : Swift.RawRepresentable {}
extension OpenpayKit.OPCard.OPCardSecurityCodeCheck : Swift.Equatable {}
extension OpenpayKit.OPCard.OPCardSecurityCodeCheck : Swift.Hashable {}
extension OpenpayKit.OPCard.OPCardSecurityCodeCheck : Swift.RawRepresentable {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55)
// swift-module-flags: -target arm64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OpenpayKit
import Foundation
import Swift
import UIKit
import WebKit
public struct TokenizeCardRequest {
public init(cardNumber: Swift.String, holderName: Swift.String, expirationYear: Swift.String, expirationMonth: Swift.String, cvv2: Swift.String, address: OpenpayKit.Address? = nil)
public let cardNumber: Swift.String
public let holderName: Swift.String
public let expirationYear: Swift.String
public let expirationMonth: Swift.String
public let cvv2: Swift.String
public var address: OpenpayKit.Address?
}
public struct Address : Swift.Codable {
public let line1: Swift.String?
public let line2: Swift.String?
public let line3: Swift.String?
public let state: Swift.String?
public let city: Swift.String?
public let postalCode: Swift.String?
public var countryCode: Swift.String?
public var dictionary: [Swift.String : Any] {
get
}
public func encode(to encoder: Swift.Encoder) throws
public init(from decoder: Swift.Decoder) throws
}
public class Openpay {
public init(withMerchantId merchantId: Swift.String, andApiKey apiKey: Swift.String, isProductionMode: Swift.Bool)
public init(withMerchantId merchantId: Swift.String, andApiKey apiKey: Swift.String, isProductionMode: Swift.Bool, isDebug: Swift.Bool)
public func createTokenWithCard(address: OpenpayKit.OPAddress!, successFunction: @escaping (OpenpayKit.OPToken) -> Swift.Void, failureFunction: @escaping (Foundation.NSError) -> Swift.Void)
public func getTokenWithId(tokenId: Swift.String, successFunction: @escaping (OpenpayKit.OPToken) -> Swift.Void, failureFunction: @escaping (Foundation.NSError) -> Swift.Void)
public func createDeviceSessionId(successFunction: @escaping (Swift.String) -> Swift.Void, failureFunction: @escaping (Foundation.NSError) -> Swift.Void)
public func tokenizeCard(card: OpenpayKit.TokenizeCardRequest, successFunction: @escaping (OpenpayKit.OPToken) -> (), failureFunction: @escaping (Foundation.NSError) -> ())
public func loadCardForm(in viewController: UIKit.UIViewController, successFunction: @escaping () -> Swift.Void, failureFunction: @escaping (Foundation.NSError) -> Swift.Void, formTitle: Swift.String)
@objc deinit
}
public class OPToken {
public var id: Swift.String
public var card: OpenpayKit.OPCard
public init()
public init(with dictionary: Swift.Dictionary<Swift.String, Any>)
@objc deinit
}
public class OPCard {
public enum OPCardType : Swift.Int {
case OPCardTypeUnknown, OPCardTypeVisa, OPCardTypeMastercard, OPCardTypeAmericanExpress
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
public enum OPCardSecurityCodeCheck : Swift.Int {
case OPCardSecurityCodeCheckUnknown, OPCardSecurityCodeCheckPassed, OPCardSecurityCodeCheckFailed
public init?(rawValue: Swift.Int)
public typealias RawValue = Swift.Int
public var rawValue: Swift.Int {
get
}
}
public var creationDate: Foundation.NSDate
public var id: Swift.String
public var bankName: Swift.String
public var allowPayouts: Swift.Bool
public var holderName: Swift.String
public var expirationMonth: Swift.String
public var expirationYear: Swift.String
public var address: OpenpayKit.OPAddress!
public var number: Swift.String {
get
set
}
public var brand: Swift.String
public var allowsCharges: Swift.Bool
public var bankCode: Swift.String
public var cvv2: Swift.String
public var errors: Foundation.NSMutableArray
public var expired: Swift.Bool {
get
}
public var type: OpenpayKit.OPCard.OPCardType {
get
}
public var numberValid: Swift.Bool {
get
}
public var valid: Swift.Bool {
get
}
public var securityCodeCheck: OpenpayKit.OPCard.OPCardSecurityCodeCheck {
get
}
public init()
public init(with dictionary: Swift.Dictionary<Swift.String, Any>)
public func asDictionary() -> Swift.Dictionary<Swift.String, Any>
@objc deinit
}
public class OPAddress {
public var postalCode: Swift.String
public var line1: Swift.String
public var line2: Swift.String
public var line3: Swift.String
public var city: Swift.String
public var state: Swift.String
public var countryCode: Swift.String
public init()
public init(with dictionary: Swift.Dictionary<Swift.String, Any>)
public func asDictionary() -> Swift.Dictionary<Swift.String, Any>
@objc deinit
}
@objc @_inheritsConvenienceInitializers public class CardView : UIKit.UIView, UIKit.UITextFieldDelegate {
@objc override dynamic public init(frame: CoreGraphics.CGRect)
@objc required dynamic public init?(coder: Foundation.NSCoder)
@objc deinit
}
extension OpenpayKit.OPCard.OPCardType : Swift.Equatable {}
extension OpenpayKit.OPCard.OPCardType : Swift.Hashable {}
extension OpenpayKit.OPCard.OPCardType : Swift.RawRepresentable {}
extension OpenpayKit.OPCard.OPCardSecurityCodeCheck : Swift.Equatable {}
extension OpenpayKit.OPCard.OPCardSecurityCodeCheck : Swift.Hashable {}
extension OpenpayKit.OPCard.OPCardSecurityCodeCheck : Swift.RawRepresentable {}
Loading

0 comments on commit 4947dab

Please sign in to comment.