Skip to content

Commit

Permalink
Revert "Add subscription_details to PaymentIntent"
Browse files Browse the repository at this point in the history
This reverts commit 745c48c.
  • Loading branch information
Maxim-Inv committed Oct 29, 2023
1 parent 745c48c commit 073e113
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 073e113

Please sign in to comment.