You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/StripeKit/Products/Products/ProductRoutes.swift
+23-7Lines changed: 23 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -40,13 +40,14 @@ public protocol ProductRoutes: StripeAPIRoute {
40
40
statementDescriptor:String?,
41
41
taxCode:String?,
42
42
unitLabel:String?,
43
-
url:String?)asyncthrows->Product
43
+
url:String?,
44
+
expand:[String]?)asyncthrows->Product
44
45
45
46
/// Retrieves the details of an existing product. Supply the unique product ID from either a product creation request or the product list, and Stripe will return the corresponding product information.
46
47
///
47
48
/// - Parameter id: The identifier of the product to be retrieved.
48
49
/// - Returns: Returns a product object if a valid identifier was provided.
0 commit comments