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 *domain
Discussion
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 *code
Discussion
A non-localized code for this error
Declared In
PPRetailError.h
message
The explanation of the error
@property (nonatomic, strong, nullable) NSString *message
Discussion
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 *debugId
Discussion
A server-generated identifier used by PayPal to help diagnose the error
Declared In
PPRetailError.h
– equals:
Equality comparison
- (BOOL)equals:(PPRetailError *_Nullable)paypalError
Discussion
Equality comparison
Declared In
PPRetailError.h
– getValue:defaultBool:
Get boolean value or default boolean value
- (BOOL)getValue:(NSString *_Nullable)key defaultBool:(BOOL)defaultBool
Discussion
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)defaultString
Discussion
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)defaultInt
Discussion
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)defaultDecimal
Discussion
Get decimal value or default decimal value
Declared In
PPRetailError.h