Skip to content

Commit

Permalink
PR feedback: update docstrings for init
Browse files Browse the repository at this point in the history
  • Loading branch information
jaxdesmarais committed Mar 26, 2024
1 parent 1cd4a44 commit 631b3e3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Sources/BraintreePayPal/BTPayPalVaultRequest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,13 @@ import BraintreeCore

// MARK: - Initializers

/// Initializes a PayPal Vault request
/// - Note: This initializer should be used for merchants using the PayPal App Switch flow
/// Initializes a PayPal Vault request for the PayPal App Switch flow
/// - Parameters:
/// - userAuthenticationEmail: Required: User email to initiate a quicker authentication flow in cases where the user has a PayPal Account with the same email.
/// - enablePayPalAppSwitch: Required: Used to determine if the customer will use the PayPal app switch flow.
/// This property is currently in beta and may change or be removed in future releases.
/// - universalLink: Required: The URL to use for the PayPal app switch flow. Must be a valid HTTPS URL dedicated to Braintree app switch returns.
/// - offerCredit: Optional: Offers PayPal Credit if the customer qualifies. Defaults to `false`.
/// - Note: This initializer should be used for merchants using the PayPal App Switch flow. This feature is currently in beta and may change or be removed in future releases.
public convenience init(
userAuthenticationEmail: String,
enablePayPalAppSwitch: Bool,
Expand Down

0 comments on commit 631b3e3

Please sign in to comment.