Skip to content

Commit

Permalink
2.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
adyen-git-manager committed Jan 9, 2019
1 parent a68dfe3 commit b339037
Show file tree
Hide file tree
Showing 193 changed files with 1,236 additions and 335 deletions.
2 changes: 1 addition & 1 deletion Adyen.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Adyen'
s.version = '2.4.0'
s.version = '2.5.0'
s.summary = "Adyen SDK for iOS"
s.description = <<-DESC
With Adyen SDK you can dynamically list all relevant payment methods for a specific transaction, so your shoppers can always pay with the method of their choice. The methods are listed based on the shopper's country, the transaction currency and amount.
Expand Down
104 changes: 76 additions & 28 deletions Adyen.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Adyen/Core/Models/AdditionalPaymentDetails.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2018 Adyen B.V.
// Copyright (c) 2019 Adyen B.V.
//
// This file is open source and available under the MIT license. See the LICENSE file for more info.
//
Expand Down
2 changes: 1 addition & 1 deletion Adyen/Core/Models/PaymentDetail.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2018 Adyen B.V.
// Copyright (c) 2019 Adyen B.V.
//
// This file is open source and available under the MIT license. See the LICENSE file for more info.
//
Expand Down
2 changes: 1 addition & 1 deletion Adyen/Core/Models/PaymentMethod.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2018 Adyen B.V.
// Copyright (c) 2019 Adyen B.V.
//
// This file is open source and available under the MIT license. See the LICENSE file for more info.
//
Expand Down
2 changes: 1 addition & 1 deletion Adyen/Core/Models/PaymentResult.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2018 Adyen B.V.
// Copyright (c) 2019 Adyen B.V.
//
// This file is open source and available under the MIT license. See the LICENSE file for more info.
//
Expand Down
2 changes: 1 addition & 1 deletion Adyen/Core/Models/PaymentSession.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2018 Adyen B.V.
// Copyright (c) 2019 Adyen B.V.
//
// This file is open source and available under the MIT license. See the LICENSE file for more info.
//
Expand Down
2 changes: 1 addition & 1 deletion Adyen/Core/Models/PaymentSessionDecoding.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2018 Adyen B.V.
// Copyright (c) 2019 Adyen B.V.
//
// This file is open source and available under the MIT license. See the LICENSE file for more info.
//
Expand Down
2 changes: 1 addition & 1 deletion Adyen/Core/Models/PaymentSessionToken.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2018 Adyen B.V.
// Copyright (c) 2019 Adyen B.V.
//
// This file is open source and available under the MIT license. See the LICENSE file for more info.
//
Expand Down
2 changes: 1 addition & 1 deletion Adyen/Core/Models/SectionedPaymentMethods.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2018 Adyen B.V.
// Copyright (c) 2019 Adyen B.V.
//
// This file is open source and available under the MIT license. See the LICENSE file for more info.
//
Expand Down
2 changes: 1 addition & 1 deletion Adyen/Core/Models/StoredPaymentDetails.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2018 Adyen B.V.
// Copyright (c) 2019 Adyen B.V.
//
// This file is open source and available under the MIT license. See the LICENSE file for more info.
//
Expand Down
2 changes: 1 addition & 1 deletion Adyen/Core/Networking/APIClient.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2018 Adyen B.V.
// Copyright (c) 2019 Adyen B.V.
//
// This file is open source and available under the MIT license. See the LICENSE file for more info.
//
Expand Down
2 changes: 1 addition & 1 deletion Adyen/Core/Networking/PaymentInitiationRequest.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2018 Adyen B.V.
// Copyright (c) 2019 Adyen B.V.
//
// This file is open source and available under the MIT license. See the LICENSE file for more info.
//
Expand Down
2 changes: 1 addition & 1 deletion Adyen/Core/Networking/PaymentInitiationResponse.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2018 Adyen B.V.
// Copyright (c) 2019 Adyen B.V.
//
// This file is open source and available under the MIT license. See the LICENSE file for more info.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2018 Adyen B.V.
// Copyright (c) 2019 Adyen B.V.
//
// This file is open source and available under the MIT license. See the LICENSE file for more info.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2018 Adyen B.V.
// Copyright (c) 2019 Adyen B.V.
//
// This file is open source and available under the MIT license. See the LICENSE file for more info.
//
Expand Down
2 changes: 1 addition & 1 deletion Adyen/Core/Other/Completion.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2018 Adyen B.V.
// Copyright (c) 2019 Adyen B.V.
//
// This file is open source and available under the MIT license. See the LICENSE file for more info.
//
Expand Down
2 changes: 1 addition & 1 deletion Adyen/Core/Other/PaymentProcessingElement.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2018 Adyen B.V.
// Copyright (c) 2019 Adyen B.V.
//
// This file is open source and available under the MIT license. See the LICENSE file for more info.
//
Expand Down
2 changes: 1 addition & 1 deletion Adyen/Core/Other/RedirectListener.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2018 Adyen B.V.
// Copyright (c) 2019 Adyen B.V.
//
// This file is open source and available under the MIT license. See the LICENSE file for more info.
//
Expand Down
2 changes: 1 addition & 1 deletion Adyen/Core/Other/Result.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2018 Adyen B.V.
// Copyright (c) 2019 Adyen B.V.
//
// This file is open source and available under the MIT license. See the LICENSE file for more info.
//
Expand Down
2 changes: 1 addition & 1 deletion Adyen/Core/Other/URLExtensions.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2018 Adyen B.V.
// Copyright (c) 2019 Adyen B.V.
//
// This file is open source and available under the MIT license. See the LICENSE file for more info.
//
Expand Down
4 changes: 2 additions & 2 deletions Adyen/Core/Other/Version.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2018 Adyen B.V.
// Copyright (c) 2019 Adyen B.V.
//
// This file is open source and available under the MIT license. See the LICENSE file for more info.
//
Expand All @@ -8,5 +8,5 @@ import Foundation

/// The current version of the SDK.
internal let sdkVersion: String = {
return "2.4.0"
"2.5.0"
}()
2 changes: 1 addition & 1 deletion Adyen/Core/Payment Controller/PaymentController.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2018 Adyen B.V.
// Copyright (c) 2019 Adyen B.V.
//
// This file is open source and available under the MIT license. See the LICENSE file for more info.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2018 Adyen B.V.
// Copyright (c) 2019 Adyen B.V.
//
// This file is open source and available under the MIT license. See the LICENSE file for more info.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2018 Adyen B.V.
// Copyright (c) 2019 Adyen B.V.
//
// This file is open source and available under the MIT license. See the LICENSE file for more info.
//
Expand Down
2 changes: 1 addition & 1 deletion Adyen/Core/Payment Controller/PaymentControllerError.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2018 Adyen B.V.
// Copyright (c) 2019 Adyen B.V.
//
// This file is open source and available under the MIT license. See the LICENSE file for more info.
//
Expand Down
2 changes: 1 addition & 1 deletion Adyen/Core/Plugins/PaymentDetailKeyValues.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2018 Adyen B.V.
// Copyright (c) 2019 Adyen B.V.
//
// This file is open source and available under the MIT license. See the LICENSE file for more info.
//
Expand Down
2 changes: 1 addition & 1 deletion Adyen/Core/Plugins/Plugin.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2018 Adyen B.V.
// Copyright (c) 2019 Adyen B.V.
//
// This file is open source and available under the MIT license. See the LICENSE file for more info.
//
Expand Down
8 changes: 4 additions & 4 deletions Adyen/Core/Plugins/PluginManager.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2018 Adyen B.V.
// Copyright (c) 2019 Adyen B.V.
//
// This file is open source and available under the MIT license. See the LICENSE file for more info.
//
Expand Down Expand Up @@ -58,16 +58,16 @@ internal final class PluginManager {
switch type {
case "applepay":
classNames = ["AdyenApplePay.ApplePayPlugin", "Adyen.ApplePayPlugin"]
case "card":
case "card", "bcmc":
classNames = ["AdyenCard.CardPlugin", "Adyen.CardPlugin"]
case "klarna", "afterpay_default":
classNames = ["AdyenOpenInvoice.OpenInvoicePlugin", "Adyen.OpenInvoicePlugin"]
case "bcmc":
classNames = ["AdyenCard.CardPlugin", "Adyen.CardPlugin"]
case "sepadirectdebit":
classNames = ["AdyenSEPA.SEPADirectDebitPlugin", "Adyen.SEPADirectDebitPlugin"]
case "wechatpaySDK":
classNames = ["AdyenWeChatPay.WeChatPayPlugin", "Adyen.WeChatPayPlugin"]
case "giropay":
classNames = ["Adyen.GiroPayPlugin"]
default:
if paymentMethod.requiresIssuerSelection {
classNames = ["Adyen.IssuerSelectionPlugin"]
Expand Down
2 changes: 1 addition & 1 deletion Adyen/Core/Utilities/KeyedDecodingContainerHelpers.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2018 Adyen B.V.
// Copyright (c) 2019 Adyen B.V.
//
// This file is open source and available under the MIT license. See the LICENSE file for more info.
//
Expand Down
2 changes: 1 addition & 1 deletion Adyen/Core/Utilities/LogoURLProvider.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2018 Adyen B.V.
// Copyright (c) 2019 Adyen B.V.
//
// This file is open source and available under the MIT license. See the LICENSE file for more info.
//
Expand Down
2 changes: 1 addition & 1 deletion Adyen/Core/Utilities/UIDeviceHelpers.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2018 Adyen B.V.
// Copyright (c) 2019 Adyen B.V.
//
// This file is open source and available under the MIT license. See the LICENSE file for more info.
//
Expand Down
4 changes: 3 additions & 1 deletion Adyen/Core/Utilities/Validator.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
//
// Copyright (c) 2018 Adyen B.V.
// Copyright (c) 2019 Adyen B.V.
//
// This file is open source and available under the MIT license. See the LICENSE file for more info.
//

import Foundation

/// :nodoc:
public protocol Validator {
func isValid(_ string: String) -> Bool
Expand Down
Loading

0 comments on commit b339037

Please sign in to comment.