Members
Methods
# static getFlatRequestFields() → {Object}
Get the request plain fields that are going to be processed by the server
flattened object with specified keys
Object
# static setCurrencyCode(currencyCode)
Setter for ISO currency code Eg. EUR, USD
Parameters:
| Name | Type | Description |
|---|---|---|
currencyCode |
string |
# static setEncryptedEmail(EncryptedEmail)
Setter for encrypted email
Parameters:
| Name | Type | Description |
|---|---|---|
EncryptedEmail |
string |
# static setItems(items)
Set the items for the request
Parameters:
| Name | Type | Description |
|---|---|---|
items |
Array.<Object> |
# static setMetainfo(Meta)
Setter for Meta Info
Parameters:
| Name | Type | Description |
|---|---|---|
Meta |
Array | miscellaneuos information eg. agent Id |
# static setNonce(key)
Sets a (unified) sso private key for secure transmission (Optional) - To be chosen by partner
Parameters:
| Name | Type | Description |
|---|---|---|
key |
number |
# static setTrackingAttribution(trackingAttribution)
Setter for tracking attribution
Parameters:
| Name | Type | Description |
|---|---|---|
trackingAttribution |
string | boolean |
# static validate() → {boolean|Object}
Validates the request based on field restrictions and specific conditions
returns boolean or an error object
boolean
|
Object