From 073e11308f472e0bf02515da1809cf029a0c9cb6 Mon Sep 17 00:00:00 2001 From: Maxim Anisimov Date: Sun, 29 Oct 2023 18:08:28 +0200 Subject: [PATCH] Revert "Add subscription_details to PaymentIntent" This reverts commit 745c48c356ef47887aa13a5c4463afef84d3a19b. --- .../Core Resources/PaymentIntents/PaymentIntent.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Sources/StripeKit/Core Resources/PaymentIntents/PaymentIntent.swift b/Sources/StripeKit/Core Resources/PaymentIntents/PaymentIntent.swift index e2eb94f8..8abeb31a 100644 --- a/Sources/StripeKit/Core Resources/PaymentIntents/PaymentIntent.swift +++ b/Sources/StripeKit/Core Resources/PaymentIntents/PaymentIntent.swift @@ -85,9 +85,7 @@ public struct PaymentIntent: Codable { public var transferData: PaymentIntentTransferData? /// A string that identifies the resulting payment as part of a group. See the PaymentIntents Connect usage guide for details. public var transferGroup: String? - /// Details about the subscription that created this invoice. - public var subscriptionDetails: SubscriptionDetails? - + public init(id: String, amount: Int? = nil, automaticPaymentMethods: PaymentIntentAutomaticMaymentMethods? = nil,