Skip to content

Commit

Permalink
Merge pull request #20 from xendit/feature/lib-distribution
Browse files Browse the repository at this point in the history
2.0.9 - Feature/lib distribution
  • Loading branch information
hakiemaul authored Nov 11, 2019
2 parents 106f57f + f8020ef commit eeda9d2
Show file tree
Hide file tree
Showing 34 changed files with 990 additions and 17 deletions.
8 changes: 4 additions & 4 deletions Xendit.framework/Headers/Xendit-Swift.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#if 0
#elif defined(__arm64__) && __arm64__
// Generated by Apple Swift version 5.1 (swiftlang-1100.0.270.13 clang-1100.0.33.7)
// Generated by Apple Swift version 5.1.2 (swiftlang-1100.0.278 clang-1100.0.33.9)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wgcc-compat"

Expand Down Expand Up @@ -299,7 +299,7 @@ SWIFT_CLASS_NAMED("XenditError")



typedef SWIFT_ENUM_NAMED(NSUInteger, XENLogLevel, "XenditLogLevel", closed) {
typedef SWIFT_ENUM_NAMED(NSUInteger, XENLogLevel, "XenditLogLevel", open) {
XENLogLevelVerbose = 0,
XENLogLevelInfo = 1,
XENLogLevelWarning = 2,
Expand All @@ -312,7 +312,7 @@ typedef SWIFT_ENUM_NAMED(NSUInteger, XENLogLevel, "XenditLogLevel", closed) {
#pragma clang diagnostic pop

#elif defined(__ARM_ARCH_7A__) && __ARM_ARCH_7A__
// Generated by Apple Swift version 5.1 (swiftlang-1100.0.270.13 clang-1100.0.33.7)
// Generated by Apple Swift version 5.1.2 (swiftlang-1100.0.278 clang-1100.0.33.9)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wgcc-compat"

Expand Down Expand Up @@ -611,7 +611,7 @@ SWIFT_CLASS_NAMED("XenditError")



typedef SWIFT_ENUM_NAMED(NSUInteger, XENLogLevel, "XenditLogLevel", closed) {
typedef SWIFT_ENUM_NAMED(NSUInteger, XENLogLevel, "XenditLogLevel", open) {
XENLogLevelVerbose = 0,
XENLogLevelInfo = 1,
XENLogLevelWarning = 2,
Expand Down
Binary file modified Xendit.framework/Info.plist
Binary file not shown.
Binary file modified Xendit.framework/Modules/Xendit.swiftmodule/arm.swiftdoc
Binary file not shown.
106 changes: 106 additions & 0 deletions Xendit.framework/Modules/Xendit.swiftmodule/arm.swiftinterface
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.1.2 (swiftlang-1100.0.278 clang-1100.0.33.9)
// swift-module-flags: -target armv7-apple-ios8.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -module-name Xendit
import SystemConfiguration.CaptiveNetwork
import CoreLocation
import Foundation
import Swift
import SystemConfiguration
import UIKit
import WebKit
@_exported import Xendit
@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 override dynamic public init()
@objc deinit
}
@objc(XENLogLevel) public enum XenditLogLevel : Swift.UInt {
case verbose
case info
case warning
case error
public typealias RawValue = Swift.UInt
public init?(rawValue: Swift.UInt)
public var rawValue: Swift.UInt {
get
}
}
@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 override dynamic public init()
@objc deinit
}
@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 override dynamic public init()
@objc deinit
}
@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?
@objc override dynamic public init()
@objc deinit
}
@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, 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)
@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, 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 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)
}
@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 @objcMembers open class WebViewConstants : ObjectiveC.NSObject {
@objc public static var templateHTMLWithAuthenticateURL: Swift.String
@objc override dynamic public init()
@objc deinit
}
Binary file modified Xendit.framework/Modules/Xendit.swiftmodule/arm.swiftmodule
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.1.2 (swiftlang-1100.0.278 clang-1100.0.33.9)
// swift-module-flags: -target arm64-apple-ios8.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -module-name Xendit
import SystemConfiguration.CaptiveNetwork
import CoreLocation
import Foundation
import Swift
import SystemConfiguration
import UIKit
import WebKit
@_exported import Xendit
@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 override dynamic public init()
@objc deinit
}
@objc(XENLogLevel) public enum XenditLogLevel : Swift.UInt {
case verbose
case info
case warning
case error
public typealias RawValue = Swift.UInt
public init?(rawValue: Swift.UInt)
public var rawValue: Swift.UInt {
get
}
}
@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 override dynamic public init()
@objc deinit
}
@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 override dynamic public init()
@objc deinit
}
@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?
@objc override dynamic public init()
@objc deinit
}
@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, 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)
@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, 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 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)
}
@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 @objcMembers open class WebViewConstants : ObjectiveC.NSObject {
@objc public static var templateHTMLWithAuthenticateURL: Swift.String
@objc override dynamic public init()
@objc deinit
}
Binary file not shown.
Binary file modified Xendit.framework/Modules/Xendit.swiftmodule/arm64.swiftdoc
Binary file not shown.
106 changes: 106 additions & 0 deletions Xendit.framework/Modules/Xendit.swiftmodule/arm64.swiftinterface
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.1.2 (swiftlang-1100.0.278 clang-1100.0.33.9)
// swift-module-flags: -target arm64-apple-ios8.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -module-name Xendit
import SystemConfiguration.CaptiveNetwork
import CoreLocation
import Foundation
import Swift
import SystemConfiguration
import UIKit
import WebKit
@_exported import Xendit
@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 override dynamic public init()
@objc deinit
}
@objc(XENLogLevel) public enum XenditLogLevel : Swift.UInt {
case verbose
case info
case warning
case error
public typealias RawValue = Swift.UInt
public init?(rawValue: Swift.UInt)
public var rawValue: Swift.UInt {
get
}
}
@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 override dynamic public init()
@objc deinit
}
@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 override dynamic public init()
@objc deinit
}
@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?
@objc override dynamic public init()
@objc deinit
}
@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, 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)
@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, 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 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)
}
@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 @objcMembers open class WebViewConstants : ObjectiveC.NSObject {
@objc public static var templateHTMLWithAuthenticateURL: Swift.String
@objc override dynamic public init()
@objc deinit
}
Binary file modified Xendit.framework/Modules/Xendit.swiftmodule/arm64.swiftmodule
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit eeda9d2

Please sign in to comment.