Skip to content

Commit

Permalink
Bump to 3.0.0-alpha2
Browse files Browse the repository at this point in the history
  • Loading branch information
javiersuweijie committed Nov 19, 2020
1 parent cb666fe commit a60e8fc
Show file tree
Hide file tree
Showing 40 changed files with 208 additions and 218 deletions.
46 changes: 18 additions & 28 deletions Xendit.framework/Headers/Xendit-Swift.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#if 0
#elif defined(__arm64__) && __arm64__
// Generated by Apple Swift version 5.1.3 (swiftlang-1100.0.282.1 clang-1100.0.33.15)
// Generated by Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8)
#ifndef XENDIT_SWIFT_H
#define XENDIT_SWIFT_H
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wgcc-compat"

Expand Down Expand Up @@ -84,6 +86,11 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#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
Expand Down Expand Up @@ -183,7 +190,6 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#if __has_warning("-Watimport-in-framework-header")
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
#endif
@import Foundation;
@import ObjectiveC;
#endif

Expand Down Expand Up @@ -228,7 +234,6 @@ SWIFT_CLASS_NAMED("CardData")




SWIFT_CLASS("_TtC6Xendit16WebViewConstants")
@interface WebViewConstants : NSObject
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, copy) NSString * _Nonnull templateHTMLWithAuthenticateURL;)
Expand Down Expand Up @@ -268,8 +273,6 @@ SWIFT_CLASS_NAMED("Xendit3DSRecommendation")





@class XENCardMetadata;

SWIFT_CLASS_NAMED("XenditAuthenticatedToken")
Expand All @@ -288,7 +291,6 @@ SWIFT_CLASS_NAMED("XenditAuthenticatedToken")




SWIFT_CLASS_NAMED("XenditAuthentication")
@interface XENAuthentication : NSObject
@property (nonatomic, copy) NSString * _Null_unspecified authenticationID;
Expand All @@ -305,8 +307,6 @@ SWIFT_CLASS_NAMED("XenditAuthentication")





SWIFT_CLASS_NAMED("XenditCCToken")
@interface XENCCToken : NSObject
@property (nonatomic, copy) NSString * _Null_unspecified tokenID;
Expand All @@ -324,11 +324,6 @@ SWIFT_CLASS_NAMED("XenditCCToken")








SWIFT_CLASS_NAMED("XenditCardMetadata")
@interface XENCardMetadata : NSObject
@property (nonatomic, copy) NSString * _Nullable bank;
Expand All @@ -341,7 +336,6 @@ SWIFT_CLASS_NAMED("XenditCardMetadata")




SWIFT_CLASS_NAMED("XenditError")
@interface XENError : NSObject
@property (nonatomic, copy) NSString * _Null_unspecified errorCode;
Expand All @@ -366,9 +360,12 @@ typedef SWIFT_ENUM_NAMED(NSUInteger, XENLogLevel, "XenditLogLevel", open) {
# pragma clang attribute pop
#endif
#pragma clang diagnostic pop
#endif

#elif defined(__ARM_ARCH_7A__) && __ARM_ARCH_7A__
// Generated by Apple Swift version 5.1.3 (swiftlang-1100.0.282.1 clang-1100.0.33.15)
// Generated by Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8)
#ifndef XENDIT_SWIFT_H
#define XENDIT_SWIFT_H
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wgcc-compat"

Expand Down Expand Up @@ -452,6 +449,11 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#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
Expand Down Expand Up @@ -551,7 +553,6 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#if __has_warning("-Watimport-in-framework-header")
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
#endif
@import Foundation;
@import ObjectiveC;
#endif

Expand Down Expand Up @@ -596,7 +597,6 @@ SWIFT_CLASS_NAMED("CardData")




SWIFT_CLASS("_TtC6Xendit16WebViewConstants")
@interface WebViewConstants : NSObject
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, copy) NSString * _Nonnull templateHTMLWithAuthenticateURL;)
Expand Down Expand Up @@ -636,8 +636,6 @@ SWIFT_CLASS_NAMED("Xendit3DSRecommendation")





@class XENCardMetadata;

SWIFT_CLASS_NAMED("XenditAuthenticatedToken")
Expand All @@ -656,7 +654,6 @@ SWIFT_CLASS_NAMED("XenditAuthenticatedToken")




SWIFT_CLASS_NAMED("XenditAuthentication")
@interface XENAuthentication : NSObject
@property (nonatomic, copy) NSString * _Null_unspecified authenticationID;
Expand All @@ -673,8 +670,6 @@ SWIFT_CLASS_NAMED("XenditAuthentication")





SWIFT_CLASS_NAMED("XenditCCToken")
@interface XENCCToken : NSObject
@property (nonatomic, copy) NSString * _Null_unspecified tokenID;
Expand All @@ -692,11 +687,6 @@ SWIFT_CLASS_NAMED("XenditCCToken")








SWIFT_CLASS_NAMED("XenditCardMetadata")
@interface XENCardMetadata : NSObject
@property (nonatomic, copy) NSString * _Nullable bank;
Expand All @@ -709,7 +699,6 @@ SWIFT_CLASS_NAMED("XenditCardMetadata")




SWIFT_CLASS_NAMED("XenditError")
@interface XENError : NSObject
@property (nonatomic, copy) NSString * _Null_unspecified errorCode;
Expand All @@ -734,5 +723,6 @@ typedef SWIFT_ENUM_NAMED(NSUInteger, XENLogLevel, "XenditLogLevel", open) {
# pragma clang attribute pop
#endif
#pragma clang diagnostic pop
#endif

#endif
Binary file modified Xendit.framework/Info.plist
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 modified Xendit.framework/Modules/Xendit.swiftmodule/arm.swiftdoc
Binary file not shown.
42 changes: 21 additions & 21 deletions Xendit.framework/Modules/Xendit.swiftmodule/arm.swiftinterface
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.1.3 (swiftlang-1100.0.282.1 clang-1100.0.33.15)
// swift-compiler-version: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8)
// swift-module-flags: -target armv7-apple-ios9.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -Onone -module-name Xendit
import SystemConfiguration.CaptiveNetwork
import CardinalMobile
Expand All @@ -10,7 +10,7 @@ import SystemConfiguration
import UIKit
import WebKit
@_exported import Xendit
@objcMembers @objc(XENAuthentication) open class XenditAuthentication : ObjectiveC.NSObject {
@_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 tokenId: Swift.String?
Expand All @@ -19,8 +19,8 @@ import WebKit
@objc open var requestPayload: Swift.String?
@objc open var maskedCardNumber: Swift.String?
@objc open var metadata: Xendit.XenditCardMetadata?
@objc override dynamic public init()
@objc deinit
@objc override dynamic public init()
}
public class XenditAddress {
public var country: Swift.String?
Expand All @@ -33,14 +33,14 @@ public class XenditAddress {
public init()
@objc deinit
}
public class XDTCards {
@_hasMissingDesignatedInitializers public class XDTCards {
public static func setup(publishableKey: Swift.String)
public static func createToken(fromViewController: UIKit.UIViewController, tokenizationRequest: Xendit.XenditTokenizationRequest, onBehalfOf: Swift.String?, completion: @escaping (Xendit.XenditCCToken?, Xendit.XenditError?) -> Swift.Void)
public static func createAuthentication(fromViewController: UIKit.UIViewController, tokenId: Swift.String, amount: Foundation.NSNumber, onBehalfOf: Swift.String?, customer: Xendit.XenditCustomer?, completion: @escaping (Xendit.XenditAuthentication?, Xendit.XenditError?) -> Swift.Void)
public static func get3DSRecommendation(tokenId: Swift.String, completion: @escaping (Xendit.Xendit3DSRecommendation?, Xendit.XenditError?) -> Swift.Void)
@objc deinit
}
@objcMembers @objc(XENCardMetadata) open class XenditCardMetadata : ObjectiveC.NSObject {
@_inheritsConvenienceInitializers @objcMembers @objc(XENCardMetadata) open class XenditCardMetadata : ObjectiveC.NSObject {
@objc open var bank: Swift.String?
@objc open var countryCode: Swift.String?
@objc open var type: Swift.String?
Expand All @@ -60,14 +60,14 @@ public class XDTCards {
get
}
}
@objcMembers @objc(XENError) open class XenditError : ObjectiveC.NSObject {
@_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 override dynamic public init()
@objc deinit
@objc override dynamic public init()
}
@objc extension XenditError {
@objc public static func ServerError() -> Xendit.XenditError
Expand All @@ -84,30 +84,30 @@ public class XenditTokenizationRequest {
public init(cardData: Xendit.CardData, shouldAuthenticate: Swift.Bool)
@objc deinit
}
public class XenditJWTRequest {
@_hasMissingDesignatedInitializers public class XenditJWTRequest {
open var amount: Foundation.NSNumber
open var currency: Swift.String?
open var midLabel: Swift.String?
open var customer: Xendit.XenditCustomer?
@objc deinit
}
@objcMembers @objc(XENAuthenticationData) open class AuthenticationData : ObjectiveC.NSObject {
@_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 override dynamic public init()
@objc deinit
@objc override dynamic public init()
}
@objcMembers @objc(XENCCToken) open class XenditCCToken : ObjectiveC.NSObject {
@_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 open var metadata: Xendit.XenditCardMetadata?
@objc override dynamic public init()
@objc deinit
@objc override dynamic public init()
}
public class XenditBillingDetails {
public var givenNames: Swift.String?
Expand Down Expand Up @@ -136,7 +136,7 @@ public class XenditCustomer {
public init()
@objc deinit
}
@objcMembers @objc(Xendit) open class Xendit : ObjectiveC.NSObject {
@_inheritsConvenienceInitializers @objcMembers @objc(Xendit) open class Xendit : ObjectiveC.NSObject {
@objc public static var publishableKey: Swift.String?
public static func createToken(fromViewController: UIKit.UIViewController, tokenizationRequest: Xendit.XenditTokenizationRequest, onBehalfOf: Swift.String, completion: @escaping (Xendit.XenditCCToken?, Xendit.XenditError?) -> Swift.Void)
@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)
Expand All @@ -151,16 +151,16 @@ public class XenditCustomer {
@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
@objc override dynamic public init()
}
@objcMembers @objc(XEN3DSRecommendation) open class Xendit3DSRecommendation : ObjectiveC.NSObject {
@_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
@objc override dynamic public init()
}
@objcMembers @objc(XENAuthenticatedToken) open class XenditAuthenticatedToken : ObjectiveC.NSObject {
@_inheritsConvenienceInitializers @objcMembers @objc(XENAuthenticatedToken) open class XenditAuthenticatedToken : ObjectiveC.NSObject {
@objc(tokenID) open var id: Swift.String!
@objc open var status: Swift.String!
@objc open var authenticationId: Swift.String?
Expand All @@ -170,8 +170,8 @@ public class XenditCustomer {
@objc open var environment: Swift.String?
@objc open var threedsVersion: Swift.String?
@objc open var metadata: Xendit.XenditCardMetadata?
@objc override dynamic public init()
@objc deinit
@objc override dynamic public init()
}
public enum CYBCardTypes {
case VISA
Expand All @@ -189,7 +189,7 @@ public enum CYBCardTypes {
}
public func hash(into hasher: inout Swift.Hasher)
}
@objcMembers @objc(XENCardData) open class CardData : ObjectiveC.NSObject {
@_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!
Expand All @@ -205,8 +205,8 @@ public enum CYBCardTypes {
}
@objc deinit
}
@objc @objcMembers open class WebViewConstants : ObjectiveC.NSObject {
@objc @_inheritsConvenienceInitializers @objcMembers open class WebViewConstants : ObjectiveC.NSObject {
@objc public static var templateHTMLWithAuthenticateURL: Swift.String
@objc override dynamic public init()
@objc deinit
@objc override dynamic public init()
}
Binary file modified Xendit.framework/Modules/Xendit.swiftmodule/arm.swiftmodule
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit a60e8fc

Please sign in to comment.