SCPRedirectToUrl

Objective-C


@interface SCPRedirectToUrl : NSObject <NSCopying>

Swift

class RedirectToUrl : NSObject, NSCopying

Contains instructions for redirecting the customer to another URL.

  • url

    The URL you must redirect your customer to in order to authenticate the payment.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *url;

    Swift

    var url: String? { get }
  • If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *returnUrl;

    Swift

    var returnUrl: String? { get }
  • Unavailable

    You cannot directly instantiate SCPRedirectToUrl. You should only use one that has been returned by our SDK.

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • Unavailable

    You cannot directly instantiate SCPRedirectToUrl. You should only use one that has been returned by our SDK.

    Declaration

    Objective-C

    + (nonnull instancetype)new;