diff --git a/Example/goSellSDKExample/Controllers/ExampleViewController.swift b/Example/goSellSDKExample/Controllers/ExampleViewController.swift index ba0747b..b1456c4 100644 --- a/Example/goSellSDKExample/Controllers/ExampleViewController.swift +++ b/Example/goSellSDKExample/Controllers/ExampleViewController.swift @@ -573,6 +573,9 @@ extension ExampleViewController: SessionDelegate { internal func cardTokenized(_ token: Token, on session: SessionProtocol, customerRequestedToSaveTheCard saveCard: Bool) { print("Toknized with : \(saveCard)") + print(token.card.issuer?.bank) + print(token.card.issuer?.id) + print(token.card.issuer?.country) // card has successfully tokenized. } diff --git a/goSellSDK.podspec b/goSellSDK.podspec index fa56921..ef54214 100644 --- a/goSellSDK.podspec +++ b/goSellSDK.podspec @@ -6,7 +6,7 @@ Pod::Spec.new do |goSellSDK| goSellSDK.name = 'goSellSDK' goSellSDK.summary = 'goSell SDK for iOS' goSellSDK.requires_arc = true - goSellSDK.version = '2.3.24' + goSellSDK.version = '2.3.25' goSellSDK.license = { :type => 'MIT', :file => 'LICENSE' } goSellSDK.author = { 'Tap Payments' => 'hello@tap.company' } goSellSDK.homepage = 'https://github.com/Tap-Payments/goSellSDK-iOS' diff --git a/goSellSDK/Core/API/Public/Models/TokenizedCard.swift b/goSellSDK/Core/API/Public/Models/TokenizedCard.swift index 3362ca8..35a83e3 100644 --- a/goSellSDK/Core/API/Public/Models/TokenizedCard.swift +++ b/goSellSDK/Core/API/Public/Models/TokenizedCard.swift @@ -132,5 +132,5 @@ extension TokenizedCard: Decodable { // MARK: - Issuer @objcMembers public final class Issuer: NSObject, Codable { - let bank, country, id: String? + @objc public let bank, country, id: String? }