WalletRegistrationResponse

Objective-C

@interface WalletRegistrationResponse : RegistrationResponse
@property(nonatomic) WalletURL walletURL;

- (instancetype)copy;

/// Return object containing response following successful registration with merchant backend.
+ (WalletRegistrationResponse *)successWithWalletURL:(WalletURL)walletURL;

/// Return object containing `error` following unsuccessful registration with merchant backend.
+ (WalletRegistrationResponse *)failure:(NSError * _Nullable)error;
@end

Swift

class WalletRegistrationResponse : RegistrationResponse

Undocumented

  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic) WalletURL walletURL

    Swift

    var walletURL: URL { get set }
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)copy;

    Swift

    func copy() -> Self
  • Return object containing response following successful registration with merchant backend.

    Declaration

    Objective-C

    + (nonnull WalletRegistrationResponse *)successWithWalletURL:
        (nonnull WalletURL)walletURL;

    Swift

    class func success(withWalletURL walletURL: URL) -> WalletRegistrationResponse
  • Return object containing error following unsuccessful registration with merchant backend.

    Declaration

    Objective-C

    + (nonnull WalletRegistrationResponse *)failure:(NSError *_Nullable)error;

    Swift

    class func failure(_ error: Error?) -> WalletRegistrationResponse