SCPConfirmRefundError
Objective-C
@interface SCPConfirmRefundError : NSError
Swift
class ConfirmRefundError : NSError
An error from -[SCPTerminal confirmRefund:completion:]
.
-
If
confirmRefund
failed after the refund was created, this property contains the failing refund. -
If
confirmRefund
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;