SCPProcessRefundError
Objective-C
@interface SCPProcessRefundError : NSError
Swift
class ProcessRefundError : NSError
An error from -[SCPTerminal processRefund:completion:]
.
-
If
processRefund
failed after the refund was created, this property contains the failing refund. -
If
processRefund
failed because the underlying network request errored, this property contains additional details about the error.Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSError *requestError;
Swift
var requestError: Error? { get }
-
Unavailable
You cannot directly instantiate this class.
Declaration
Objective-C
+ (nonnull instancetype)init;
-
Unavailable
You cannot directly instantiate this class.
Declaration
Objective-C
+ (nonnull instancetype)new;