Skip to main content

Ready to market your stellar app?

Samsung Developer Program is your gateway to app monetization success.

Learn More

Samsung Developer Program

getItemList(_itemGroupId, _startNum, _endNum, _itemType, _mode)

DEPRECATED Use getItemList(_startNum, _endNum, _itemType, _mode).

Returns the product item list.

public void getItemList(String _itemGroupId,
                       int _startNum,
                       int _endNum,
                       String _itemType,
                       int _mode,
                       OnGetItemListener  _onGetItemListener )
 
Request Parameters 
Edit section

_itemGroupId

String

Unique identifier of the group of items issued by Galaxy Apps to service apps in order for them to link to IAP.

For IAP 3.0 and later, this parameter is not used; PackageName of third-party service app is used instead. _itemGroupId is maintained for backward compatibility.

_startNum

Integer

The lowest index number assigned to an item in the range of items to be returned (subject to the specified type and mode).

NOTE: The first item in the list is assigned number 1 (NOT 0).

_endNum

Integer

The highest index number assigned to an item in the range of items to be returned (subject to the specified type and mode).

If _startNum = 1 and _endNum = 15 in a request, the first fifteen (15) items in the list will be returned when the request is successful AND the specified type and mode do NOT restrict the returned items.

_itemType

String

Type of commercial product items to be returned:

00        Consumable (Consumable items) only

01        NonConsumable (Nonconsumable items) only

02        Subscription (Non-recurring subscription items ) only

03        Auto-Recurring Subscriptions only

 

Supported since IAP 3.0

10        Return all types (in the specified range)

_mode

Integer

IAP operating mode:

0        Commercial_Mode
Returns items regardless of successful or failed purchase processing.

 1       Developer Test Mode (Success)
ONLY returns items that were successfully purchased.

-1     Developer Test Mode (Failure)
ONLY returns items that were requested to be purchased but failed.

_onGetItemListener

onGetItemListener

Name of the OnGetItemListener() interface that specifies the data and getItemList()processing results to be returned.