PPRetailBraintreeManager Class Reference

Inherits from PPRetailObject : NSObject
Declared in PPRetailBraintreeManager.h

Overview

BraintreeManager is responsible for exposing APIs regarding the BrainTree interfaces

– getBtLoginUrl

Returns the login URL for BrainTree account login

- (NSString *_Nullable)getBtLoginUrl

Discussion

Returns the login URL for BrainTree account login

Declared In

PPRetailBraintreeManager.h

– isBtReturnUrlValid:

Checks if the returned URL contains the auth code and matches the state value in getBTLoginURL()

- (BOOL)isBtReturnUrlValid:(NSString *_Nullable)returnUrl

Discussion

Checks if the returned URL contains the auth code and matches the state value in getBTLoginURL()

Declared In

PPRetailBraintreeManager.h