-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from xendit/TPI-2662/fix-universal
Support real device and simulator
- Loading branch information
Showing
18 changed files
with
236 additions
and
2 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
Xendit.framework/Modules/Xendit.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
Xendit.framework/Modules/Xendit.swiftmodule/Project/arm64.swiftsourceinfo
Binary file not shown.
Binary file added
BIN
+9.7 KB
...t.framework/Modules/Xendit.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo
Binary file not shown.
Binary file added
BIN
+9.7 KB
Xendit.framework/Modules/Xendit.swiftmodule/Project/x86_64.swiftsourceinfo
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
Xendit.framework/Modules/Xendit.swiftmodule/arm64-apple-ios.swiftdoc
Binary file not shown.
2 changes: 1 addition & 1 deletion
2
Xendit.framework/Modules/Xendit.swiftmodule/arm64-apple-ios.swiftinterface
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
Xendit.framework/Modules/Xendit.swiftmodule/arm64-apple-ios.swiftmodule
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion
2
Xendit.framework/Modules/Xendit.swiftmodule/arm64.swiftinterface
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
Xendit.framework/Modules/Xendit.swiftmodule/arm64.swiftmodule
Binary file not shown.
Binary file added
BIN
+388 Bytes
Xendit.framework/Modules/Xendit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc
Binary file not shown.
117 changes: 117 additions & 0 deletions
117
Xendit.framework/Modules/Xendit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
// swift-interface-format-version: 1.0 | ||
// swift-compiler-version: Apple Swift version 5.3 (swiftlang-1200.0.29.2 clang-1200.0.30.1) | ||
// 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 Xendit | ||
import SystemConfiguration.CaptiveNetwork | ||
import CoreLocation | ||
import Foundation | ||
import Swift | ||
import SystemConfiguration | ||
import UIKit | ||
import WebKit | ||
@_exported import Xendit | ||
@_inheritsConvenienceInitializers @objcMembers @objc(XENAuthentication) open class XenditAuthentication : ObjectiveC.NSObject { | ||
@objc(authenticationID) open var id: Swift.String! | ||
@objc open var status: Swift.String! | ||
@objc open var authenticationURL: Swift.String? | ||
@objc deinit | ||
@objc override dynamic public init() | ||
} | ||
@objc(XENLogLevel) public enum XenditLogLevel : Swift.UInt { | ||
case verbose, info, warning, error | ||
public typealias RawValue = Swift.UInt | ||
public init?(rawValue: Swift.UInt) | ||
public var rawValue: Swift.UInt { | ||
get | ||
} | ||
} | ||
@_inheritsConvenienceInitializers @objcMembers @objc(XENError) open class XenditError : ObjectiveC.NSObject { | ||
@objc(errorCode) open var errorCode: Swift.String! | ||
@objc open var message: Swift.String! | ||
@objc override dynamic open var description: Swift.String { | ||
@objc get | ||
} | ||
@objc deinit | ||
@objc override dynamic public init() | ||
} | ||
@_inheritsConvenienceInitializers @objcMembers @objc(XENAuthenticationData) open class AuthenticationData : ObjectiveC.NSObject { | ||
@objc open var tokenId: Swift.String! | ||
@objc open var cardCvn: Swift.String! | ||
@objc open var amount: Foundation.NSNumber! | ||
@objc deinit | ||
@objc override dynamic public init() | ||
} | ||
@_inheritsConvenienceInitializers @objcMembers @objc(XENCCToken) open class XenditCCToken : ObjectiveC.NSObject { | ||
@objc(tokenID) open var id: Swift.String! | ||
@objc open var status: Swift.String! | ||
@objc open var authenticationId: Swift.String! | ||
@objc open var authenticationURL: Swift.String? | ||
@objc open var maskedCardNumber: Swift.String? | ||
open var should3DS: Swift.Bool? | ||
@objc override dynamic public init() | ||
@objc deinit | ||
} | ||
@_inheritsConvenienceInitializers @objcMembers @objc(Xendit) open class Xendit : ObjectiveC.NSObject { | ||
@objc public static var publishableKey: Swift.String? | ||
@objc public static func createToken(fromViewController: UIKit.UIViewController, cardData: Xendit.CardData!, shouldAuthenticate: Swift.Bool, onBehalfOf: Swift.String, completion: @escaping (Xendit.XenditCCToken?, Xendit.XenditError?) -> Swift.Void) | ||
@objc public static func createToken(fromViewController: UIKit.UIViewController, cardData: Xendit.CardData!, completion: @escaping (Xendit.XenditCCToken?, Xendit.XenditError?) -> Swift.Void) | ||
public static func createToken(fromViewController: UIKit.UIViewController, cardData: Xendit.CardData!, shouldAuthenticate: Swift.Bool!, completion: @escaping (Xendit.XenditCCToken?, Xendit.XenditError?) -> Swift.Void) | ||
@objc public static func createAuthentication(fromViewController: UIKit.UIViewController, tokenId: Swift.String, amount: Foundation.NSNumber, cardCVN: Swift.String, completion: @escaping (Xendit.XenditAuthentication?, Xendit.XenditError?) -> Swift.Void) | ||
@objc public static func createAuthentication(fromViewController: UIKit.UIViewController, tokenId: Swift.String, amount: Foundation.NSNumber, onBehalfOf: Swift.String, completion: @escaping (Xendit.XenditAuthentication?, Xendit.XenditError?) -> Swift.Void) | ||
@objc public static func createAuthentication(fromViewController: UIKit.UIViewController, tokenId: Swift.String, amount: Foundation.NSNumber, completion: @escaping (Xendit.XenditAuthentication?, Xendit.XenditError?) -> Swift.Void) | ||
@objc public static func isCardNumberValid(cardNumber: Swift.String) -> Swift.Bool | ||
@objc public static func isExpiryValid(cardExpirationMonth: Swift.String, cardExpirationYear: Swift.String) -> Swift.Bool | ||
@objc public static func isCvnValid(creditCardCVN: Swift.String) -> Swift.Bool | ||
@objc public static func isCvnValidForCardType(creditCardCVN: Swift.String, cardNumber: Swift.String) -> Swift.Bool | ||
public static func setLogLevel(_ level: Xendit.XenditLogLevel?) | ||
public static func setLogDNALevel(_ level: Xendit.ISHLogDNALevel?) | ||
@objc deinit | ||
@objc override dynamic public init() | ||
} | ||
@_inheritsConvenienceInitializers @objcMembers @objc(XEN3DSRecommendation) open class Xendit3DSRecommendation : ObjectiveC.NSObject { | ||
@objc(tokenID) open var tokenId: Swift.String! | ||
open var should3DS: Swift.Bool! | ||
@objc override dynamic public init() | ||
@objc deinit | ||
} | ||
public enum CYBCardTypes { | ||
case VISA | ||
case MASTERCARD | ||
case AMEX | ||
case DISCOVER | ||
case JCB | ||
case VISA_ELECTRON | ||
case DANKORT | ||
case MAESTRO | ||
case UNKNOWN | ||
public static func == (a: Xendit.CYBCardTypes, b: Xendit.CYBCardTypes) -> Swift.Bool | ||
public var hashValue: Swift.Int { | ||
get | ||
} | ||
public func hash(into hasher: inout Swift.Hasher) | ||
} | ||
@_inheritsConvenienceInitializers @objcMembers @objc(XENCardData) open class CardData : ObjectiveC.NSObject { | ||
@objc open var cardNumber: Swift.String! | ||
@objc open var cardExpMonth: Swift.String! | ||
@objc open var cardExpYear: Swift.String! | ||
@objc open var cardCvn: Swift.String? | ||
@objc open var amount: Foundation.NSNumber! | ||
@objc open var isMultipleUse: Swift.Bool | ||
@objc override dynamic public init() | ||
@objc open var maskedNumber: Swift.String { | ||
@objc get | ||
} | ||
@objc override dynamic open var description: Swift.String { | ||
@objc get | ||
} | ||
@objc deinit | ||
} | ||
@objc @_inheritsConvenienceInitializers @objcMembers open class WebViewConstants : ObjectiveC.NSObject { | ||
@objc public static var templateHTMLWithAuthenticateURL: Swift.String | ||
@objc deinit | ||
@objc override dynamic public init() | ||
} | ||
extension Xendit.XenditLogLevel : Swift.Equatable {} | ||
extension Xendit.XenditLogLevel : Swift.Hashable {} | ||
extension Xendit.XenditLogLevel : Swift.RawRepresentable {} | ||
extension Xendit.CYBCardTypes : Swift.Equatable {} | ||
extension Xendit.CYBCardTypes : Swift.Hashable {} |
Binary file added
BIN
+112 KB
Xendit.framework/Modules/Xendit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule
Binary file not shown.
Binary file not shown.
117 changes: 117 additions & 0 deletions
117
Xendit.framework/Modules/Xendit.swiftmodule/x86_64.swiftinterface
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
// swift-interface-format-version: 1.0 | ||
// swift-compiler-version: Apple Swift version 5.3 (swiftlang-1200.0.29.2 clang-1200.0.30.1) | ||
// 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 Xendit | ||
import SystemConfiguration.CaptiveNetwork | ||
import CoreLocation | ||
import Foundation | ||
import Swift | ||
import SystemConfiguration | ||
import UIKit | ||
import WebKit | ||
@_exported import Xendit | ||
@_inheritsConvenienceInitializers @objcMembers @objc(XENAuthentication) open class XenditAuthentication : ObjectiveC.NSObject { | ||
@objc(authenticationID) open var id: Swift.String! | ||
@objc open var status: Swift.String! | ||
@objc open var authenticationURL: Swift.String? | ||
@objc deinit | ||
@objc override dynamic public init() | ||
} | ||
@objc(XENLogLevel) public enum XenditLogLevel : Swift.UInt { | ||
case verbose, info, warning, error | ||
public typealias RawValue = Swift.UInt | ||
public init?(rawValue: Swift.UInt) | ||
public var rawValue: Swift.UInt { | ||
get | ||
} | ||
} | ||
@_inheritsConvenienceInitializers @objcMembers @objc(XENError) open class XenditError : ObjectiveC.NSObject { | ||
@objc(errorCode) open var errorCode: Swift.String! | ||
@objc open var message: Swift.String! | ||
@objc override dynamic open var description: Swift.String { | ||
@objc get | ||
} | ||
@objc deinit | ||
@objc override dynamic public init() | ||
} | ||
@_inheritsConvenienceInitializers @objcMembers @objc(XENAuthenticationData) open class AuthenticationData : ObjectiveC.NSObject { | ||
@objc open var tokenId: Swift.String! | ||
@objc open var cardCvn: Swift.String! | ||
@objc open var amount: Foundation.NSNumber! | ||
@objc deinit | ||
@objc override dynamic public init() | ||
} | ||
@_inheritsConvenienceInitializers @objcMembers @objc(XENCCToken) open class XenditCCToken : ObjectiveC.NSObject { | ||
@objc(tokenID) open var id: Swift.String! | ||
@objc open var status: Swift.String! | ||
@objc open var authenticationId: Swift.String! | ||
@objc open var authenticationURL: Swift.String? | ||
@objc open var maskedCardNumber: Swift.String? | ||
open var should3DS: Swift.Bool? | ||
@objc override dynamic public init() | ||
@objc deinit | ||
} | ||
@_inheritsConvenienceInitializers @objcMembers @objc(Xendit) open class Xendit : ObjectiveC.NSObject { | ||
@objc public static var publishableKey: Swift.String? | ||
@objc public static func createToken(fromViewController: UIKit.UIViewController, cardData: Xendit.CardData!, shouldAuthenticate: Swift.Bool, onBehalfOf: Swift.String, completion: @escaping (Xendit.XenditCCToken?, Xendit.XenditError?) -> Swift.Void) | ||
@objc public static func createToken(fromViewController: UIKit.UIViewController, cardData: Xendit.CardData!, completion: @escaping (Xendit.XenditCCToken?, Xendit.XenditError?) -> Swift.Void) | ||
public static func createToken(fromViewController: UIKit.UIViewController, cardData: Xendit.CardData!, shouldAuthenticate: Swift.Bool!, completion: @escaping (Xendit.XenditCCToken?, Xendit.XenditError?) -> Swift.Void) | ||
@objc public static func createAuthentication(fromViewController: UIKit.UIViewController, tokenId: Swift.String, amount: Foundation.NSNumber, cardCVN: Swift.String, completion: @escaping (Xendit.XenditAuthentication?, Xendit.XenditError?) -> Swift.Void) | ||
@objc public static func createAuthentication(fromViewController: UIKit.UIViewController, tokenId: Swift.String, amount: Foundation.NSNumber, onBehalfOf: Swift.String, completion: @escaping (Xendit.XenditAuthentication?, Xendit.XenditError?) -> Swift.Void) | ||
@objc public static func createAuthentication(fromViewController: UIKit.UIViewController, tokenId: Swift.String, amount: Foundation.NSNumber, completion: @escaping (Xendit.XenditAuthentication?, Xendit.XenditError?) -> Swift.Void) | ||
@objc public static func isCardNumberValid(cardNumber: Swift.String) -> Swift.Bool | ||
@objc public static func isExpiryValid(cardExpirationMonth: Swift.String, cardExpirationYear: Swift.String) -> Swift.Bool | ||
@objc public static func isCvnValid(creditCardCVN: Swift.String) -> Swift.Bool | ||
@objc public static func isCvnValidForCardType(creditCardCVN: Swift.String, cardNumber: Swift.String) -> Swift.Bool | ||
public static func setLogLevel(_ level: Xendit.XenditLogLevel?) | ||
public static func setLogDNALevel(_ level: Xendit.ISHLogDNALevel?) | ||
@objc deinit | ||
@objc override dynamic public init() | ||
} | ||
@_inheritsConvenienceInitializers @objcMembers @objc(XEN3DSRecommendation) open class Xendit3DSRecommendation : ObjectiveC.NSObject { | ||
@objc(tokenID) open var tokenId: Swift.String! | ||
open var should3DS: Swift.Bool! | ||
@objc override dynamic public init() | ||
@objc deinit | ||
} | ||
public enum CYBCardTypes { | ||
case VISA | ||
case MASTERCARD | ||
case AMEX | ||
case DISCOVER | ||
case JCB | ||
case VISA_ELECTRON | ||
case DANKORT | ||
case MAESTRO | ||
case UNKNOWN | ||
public static func == (a: Xendit.CYBCardTypes, b: Xendit.CYBCardTypes) -> Swift.Bool | ||
public var hashValue: Swift.Int { | ||
get | ||
} | ||
public func hash(into hasher: inout Swift.Hasher) | ||
} | ||
@_inheritsConvenienceInitializers @objcMembers @objc(XENCardData) open class CardData : ObjectiveC.NSObject { | ||
@objc open var cardNumber: Swift.String! | ||
@objc open var cardExpMonth: Swift.String! | ||
@objc open var cardExpYear: Swift.String! | ||
@objc open var cardCvn: Swift.String? | ||
@objc open var amount: Foundation.NSNumber! | ||
@objc open var isMultipleUse: Swift.Bool | ||
@objc override dynamic public init() | ||
@objc open var maskedNumber: Swift.String { | ||
@objc get | ||
} | ||
@objc override dynamic open var description: Swift.String { | ||
@objc get | ||
} | ||
@objc deinit | ||
} | ||
@objc @_inheritsConvenienceInitializers @objcMembers open class WebViewConstants : ObjectiveC.NSObject { | ||
@objc public static var templateHTMLWithAuthenticateURL: Swift.String | ||
@objc deinit | ||
@objc override dynamic public init() | ||
} | ||
extension Xendit.XenditLogLevel : Swift.Equatable {} | ||
extension Xendit.XenditLogLevel : Swift.Hashable {} | ||
extension Xendit.XenditLogLevel : Swift.RawRepresentable {} | ||
extension Xendit.CYBCardTypes : Swift.Equatable {} | ||
extension Xendit.CYBCardTypes : Swift.Hashable {} |
Binary file not shown.
Binary file not shown.