zdk.objc
Instance Methods | Properties | List of all members
<ZDKBanafoRequestState> Protocol Reference

Banafo Request state. More...

#import <ZDKBanafoRequestState.h>

Inheritance diagram for <ZDKBanafoRequestState>:
<ZDKZHandle>

Instance Methods

(NSString *) - handlesDescription
 
- Instance Methods inherited from <ZDKZHandle>
(long int) - handle
 
(void) - initialize
 
(void) - releaseReference
 
(NSString *) - handlesDescription
 

Properties

ZDKBanafoRequestStateType state
 The Banafo Service Request state. More...
 
int networkStatusCode
 The network status code. More...
 
NSString *_Nullable reason
 HTTP failure reason. More...
 
NSString *_Nullable response
 The response data buffer. More...
 
id< ZDKUploadProgress > _Nullable progress
 The upload progress. More...
 

Detailed Description

Banafo Request state.

Describes the current full state of the Banafo Service request.

Method Documentation

◆ handlesDescription

- (NSString *) handlesDescription

Reimplemented from <ZDKZHandle>.

Property Documentation

◆ networkStatusCode

- (int) networkStatusCode
readnonatomicassign

The network status code.

Contains the network state code if the new state is BanafoRequeststateType::NetworkError or BanafoRequeststateType::Finished. If the code is below 100 it is a CURL error code and its value can be checked here https:

If the code is above 100 it is a HTTP error code.

Returns
The network status code
See also
state()

◆ progress

- (id<ZDKUploadProgress> _Nullable) progress
readnonatomicassign

The upload progress.

Contains the upload progress if the state is BanafoRequeststateType::InProgress.

Returns
The upload progress
See also
ZDKUploadProgress, state()

◆ reason

- (NSString* _Nullable) reason
readnonatomicassign

HTTP failure reason.

Contains the HTTP failure reason.

Returns
The HTTP failure reason.

◆ response

- (NSString* _Nullable) response
readnonatomicassign

The response data buffer.

Contains the response data buffer if the state is BanafoRequestStateType::Finished.

Returns
The response data buffer

◆ state

- (ZDKBanafoRequestStateType) state
readnonatomicassign

The Banafo Service Request state.

Indicates the new state in which the Banafo Service Request has transitioned into.

Returns
The new Banafo Service Request state
See also
BanafoRequestStateType

The documentation for this protocol was generated from the following file: