Skip to content

Commit

Permalink
PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
warmkesselj committed Jan 15, 2025
1 parent b3fa502 commit a89c638
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Sources/BraintreeShopperInsights/BTPresentmentDetails.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import Foundation

/// `BTPresentmentDetails` Configure detailed information about the presented button.
/// - Warning: This class is in beta.
public class BTPresentmentDetails {

var buttonOrder: BTButtonOrder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class BTShopperInsightsClient {
/// - Parameters:
/// - apiClient: A `BTAPIClient` instance.
/// - shopperSessionID: This value should be the shopper session ID returned from your server SDK request
/// - Warning: This features only works with a client token.
/// - Warning: This init is beta. And this feature only works with a client token.
public init(apiClient: BTAPIClient, shopperSessionID: String? = nil) {
self.apiClient = apiClient
self.shopperSessionID = shopperSessionID
Expand Down Expand Up @@ -110,6 +110,7 @@ public class BTShopperInsightsClient {
/// Call this method when a button has been selected/tapped by the buyer.
/// This method sends analytics to help improve the Shopper Insights feature experience.
/// - Parameter buttonType: Type of button presented - PayPal, Venmo, or Other
/// - Warning: This function is in beta.
public func sendSelectedEvent(for buttonType: BTButtonType) {
apiClient.sendAnalyticsEvent(
BTShopperInsightsAnalytics.buttonSelected,
Expand Down

0 comments on commit a89c638

Please sign in to comment.