BTThreeDSecureRequest_Internal.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. #import "BTThreeDSecureRequest.h"
  2. NS_ASSUME_NONNULL_BEGIN
  3. @interface BTThreeDSecureRequest ()
  4. /**
  5. Set the BTPaymentFlowDriverDelegate for handling the driver events.
  6. */
  7. @property (nonatomic, weak) id<BTPaymentFlowDriverDelegate> paymentFlowDriverDelegate;
  8. /**
  9. The dfReferenceId for the session. Exposed for testing.
  10. */
  11. @property (nonatomic, strong) NSString *dfReferenceId;
  12. /**
  13. Prepare for a 3DS 2.0 flow.
  14. @param apiClient The API client.
  15. @param completionBlock This completion will be invoked exactly once. If the error is nil then the preparation was successful.
  16. */
  17. - (void)prepareLookup:(BTAPIClient *)apiClient completion:(void (^)(NSError * _Nullable))completionBlock;
  18. /**
  19. Process the BTThreeDSecureLookup by presenting a challenge or returning the payment information.
  20. @param lookupResult The BTThreeDSecureLookup from a lookup call.
  21. @param configuration A BTConfiguration used to process the lookup.
  22. */
  23. - (void)processLookupResult:(BTThreeDSecureLookup *)lookupResult configuration:(BTConfiguration *)configuration;
  24. @end
  25. NS_ASSUME_NONNULL_END