PPRetailError Class Reference
| Inherits from | PPRetailObject : NSObject |
|---|---|
| Declared in | PPRetailError.h |
Overview
A common base class for PayPal related errors which includes a debugId and code. This id will be filled out if the error was generated from the PayPal servers.
domain
The subsystem responsible for this error, in which the code should uniquely identify the type of error that has occurred
@property (nonatomic, strong, nullable) NSString *domainDiscussion
The subsystem responsible for this error, in which the code should uniquely identify the type of error that has occurred
Declared In
PPRetailError.h
code
A non-localized code for this error
@property (nonatomic, strong, nullable) NSString *codeDiscussion
A non-localized code for this error
Declared In
PPRetailError.h
message
The explanation of the error
@property (nonatomic, strong, nullable) NSString *messageDiscussion
The explanation of the error
Declared In
PPRetailError.h
debugId
A server-generated identifier used by PayPal to help diagnose the error
@property (nonatomic, strong, nullable) NSString *debugIdDiscussion
A server-generated identifier used by PayPal to help diagnose the error
Declared In
PPRetailError.h
– equals:
Equality comparison
- (BOOL)equals:(PPRetailError *_Nullable)paypalErrorDiscussion
Equality comparison
Declared In
PPRetailError.h
– getValue:defaultBool:
Get boolean value or default boolean value
- (BOOL)getValue:(NSString *_Nullable)key defaultBool:(BOOL)defaultBoolDiscussion
Get boolean value or default boolean value
Declared In
PPRetailError.h
– getValue:defaultString:
Get string value or default string value
- (NSString *_Nullable)getValue:(NSString *_Nullable)key defaultString:(NSString *_Nullable)defaultStringDiscussion
Get string value or default string value
Declared In
PPRetailError.h
– getValue:defaultInt:
Get int value or default int value
- (int)getValue:(NSString *_Nullable)key defaultInt:(int)defaultIntDiscussion
Get int value or default int value
Declared In
PPRetailError.h
– getValue:defaultDecimal:
Get decimal value or default decimal value
- (NSDecimalNumber *_Nullable)getValue:(NSString *_Nullable)key defaultDecimal:(NSDecimalNumber *_Nullable)defaultDecimalDiscussion
Get decimal value or default decimal value
Declared In
PPRetailError.h