PayPalRegistrationResponse
Objective-C
@interface PayPalRegistrationResponse : RegistrationResponse<PaymentRegistrationResult>
@property(nonatomic, nullable) TransactionID transactionID;
@property(nonatomic, nullable) RedirectURL redirectURL;
/// Return object containing response following successful registration with merchant backend.
+ (PayPalRegistrationResponse *)successWithTransactionID:(TransactionID)transactionID
redirectURL:(RedirectURL)redirectURL;
/// Return object containing `error` following unsuccessful registration with merchant backend.
+ (PayPalRegistrationResponse *)failure:(NSError *)error;
@end
Swift
class PayPalRegistrationResponse : RegistrationResponse, PaymentRegistrationResult
Undocumented
-
Undocumented
Declaration
Objective-C
@property(nonatomic, nullable) TransactionID transactionIDSwift
var transactionID: String? { get set } -
Undocumented
Declaration
Objective-C
@property(nonatomic, nullable) RedirectURL redirectURLSwift
var redirectURL: String? { get set } -
Return object containing response following successful registration with merchant backend.
Declaration
Objective-C
+ (nonnull PayPalRegistrationResponse *) successWithTransactionID:(nonnull TransactionID)transactionID redirectURL:(nonnull RedirectURL)redirectURL;Swift
class func success(withTransactionID transactionID: String, redirectURL: String) -> Self -
Return object containing
errorfollowing unsuccessful registration with merchant backend.Declaration
Objective-C
+ (nonnull PayPalRegistrationResponse *)failure:(nonnull NSError *)error;Swift
class func failure(_ error: Error) -> Self
PayPalRegistrationResponse Class Reference