BTCardClient_Internal.h 804 B

1234567891011121314151617181920212223242526272829
  1. #import "BTCardClient.h"
  2. NS_ASSUME_NONNULL_BEGIN
  3. @interface BTCardClient ()
  4. /**
  5. Exposed for testing to get the instance of BTAPIClient
  6. */
  7. @property (nonatomic, strong, readwrite) BTAPIClient *apiClient;
  8. /**
  9. Convenience helper method for creating friendlier, more human-readable userInfo dictionaries for 422 HTTP errors
  10. */
  11. + (NSDictionary *)validationErrorUserInfo:(NSDictionary *)userInfo;
  12. /**
  13. The `PPDataCollector` class string, exposed internally for injecting test doubles for unit tests
  14. */
  15. + (void)setPayPalDataCollectorClassString:(nonnull NSString *)payPalDataCollectorClassString;
  16. /**
  17. The `PPDataCollector` class, exposed internally for injecting test doubles for unit tests
  18. */
  19. + (void)setPayPalDataCollectorClass:(nonnull Class)payPalDataCollectorClass;
  20. @end
  21. NS_ASSUME_NONNULL_END