From 4cde28405081ccf8d4b182e1709966d7e3f1f337 Mon Sep 17 00:00:00 2001 From: Mat Schmid Date: Mon, 21 Oct 2024 18:52:24 -0400 Subject: [PATCH] Fix pod lint warning --- .../Source/Connections Bindings/ElementsSessionContext.swift | 2 +- .../Source/API Bindings/FinancialConnectionsAPIClient.swift | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/StripeCore/StripeCore/Source/Connections Bindings/ElementsSessionContext.swift b/StripeCore/StripeCore/Source/Connections Bindings/ElementsSessionContext.swift index c42d922afbd..adc5781dd4c 100644 --- a/StripeCore/StripeCore/Source/Connections Bindings/ElementsSessionContext.swift +++ b/StripeCore/StripeCore/Source/Connections Bindings/ElementsSessionContext.swift @@ -9,7 +9,7 @@ import Foundation /// Contains elements session context useful for the Financial Connections SDK. @_spi(STP) public struct ElementsSessionContext { - @_spi(STP) public enum IntentID { + @_spi(STP) @frozen public enum IntentID { case payment(String) case setup(String) } diff --git a/StripeFinancialConnections/StripeFinancialConnections/Source/API Bindings/FinancialConnectionsAPIClient.swift b/StripeFinancialConnections/StripeFinancialConnections/Source/API Bindings/FinancialConnectionsAPIClient.swift index 734a8f2bd4b..c47bcbd1dd7 100644 --- a/StripeFinancialConnections/StripeFinancialConnections/Source/API Bindings/FinancialConnectionsAPIClient.swift +++ b/StripeFinancialConnections/StripeFinancialConnections/Source/API Bindings/FinancialConnectionsAPIClient.swift @@ -937,8 +937,6 @@ extension FinancialConnectionsAPIClient: FinancialConnectionsAPI { parameters["financial_incentive"] = [ "setup_intent": setupIntentId, ] - @unknown default: - break } }