ZLZRequest

Framework: hummer

class ZLZRequest : NSObject 

This class is an abstract description of an operation to be performed, which can be used with theZLZFacade class to launch the ZOLOZ SDK.

Fields

Field name

Data type

Description

kZLZCurrentViewControllerKey

NSString

Standard biz config key that is used to represent the current ViewController.

kZLZPubkey

NSString

Standard biz config key that is used to represent the public key, which is obtained from the ZOLOZ portal and used by the ZOLOZ SDK.

kZLZChameleonConfigKey

NSString

Standard biz config key that is used to represent the UI configuration file path.

For more information about UI configuration,

see Customize UI for App SDK-mode products.

kZLZLocaleKey

NSString

Standard biz config key that is used to represent the language, which is used by the ZOLOZ SDK.

For more information about LOCALE,

see Locale related parameter value format.

bizConfig

NSDictionary

Specifies the configuration information of the merchant, including ViewController, public key, locale and so on. You can use the constant value to specify the information in bizConfig, for example: request.bizConfig.put(kZLZCurrentViewControllerKey, viewController)

zlzConfig

NSString

Specifies the configuration information that is used to start the ZOLOZ SDK. The information is generated by the ZOLOZ server when the merchant calls the initialize API.

Methods

initWithzlzConfig: bizConfig:

- (instancetype) initWithzlzConfig:(NSString *)config bizConfig:(NSDictionary *)param; 

Constructs the ZLZRequst Object.

Paramters

Parameter name

Data type

Description

config

NSString

Specifies the configuration information that is used to start the ZOLOZ SDK. The information is generated by the ZOLOZ server when the merchant calls the initialize API.

param

NSDictionary

Specifies the configuration information of the merchant, including ViewController, public key, locale and so on. You can use the constant value to specify the information in bizConfig, for example: request.bizConfig.put(kZLZCurrentViewControllerKey, viewController)

Returns

Data type

Description

instancetype

Returns the constructed ZLZRequst object.

Throws

N/A