OPPBraintreeConfig
@objc
public class OPPBraintreeConfig : OPPBrandConfig
Class to encapsulate all necessary brand configurations required for PayPal PayFast and Venmo PayFast transaction.
-
Creates and returns Braintree configuration object for PayPal PayFast brand.
Declaration
Swift
@objc public static func paypalPayFastConfig(universalLink: String, URLScheme: String? = nil, enableAppSwitch: Bool = true) -> OPPBraintreeConfigParameters
universalLinkUniversal link URL to use in App switch flow
URLSchemeURL scheme of the application for redirection.
enableAppSwitchSet it true to enable App flow. By default its
true.Return Value
Returns an object representing OPPBraintreeConfig object for PayPal PayFast.
-
Creates and returns Braintree configuration object for Venmo PayFast brand.
Declaration
Swift
@objc public static func venmoPayFastConfig(universalLink: String) -> OPPBraintreeConfigParameters
universalLinkUniversal link URL to use in App switch flow
Return Value
Returns an object representing OPPBraintreeConfig object for Venmo PayFast.
OPPBraintreeConfig Class Reference