All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.badlogic.gdx.pay.android.googleplay.billing.converter.GetSkuDetailsRequestConverter Maven / Gradle / Ivy

package com.badlogic.gdx.pay.android.googleplay.billing.converter;

import android.os.Bundle;

import java.util.ArrayList;
import java.util.List;

import static com.badlogic.gdx.pay.android.googleplay.GoogleBillingConstants.ITEM_ID_LIST;

public class GetSkuDetailsRequestConverter {

    public static Bundle convertProductIdsToItemIdList(List productIds) {
        ArrayList skuList = new ArrayList<>();

        skuList.addAll(productIds);

        Bundle querySkus = new Bundle();
        querySkus.putStringArrayList(ITEM_ID_LIST, skuList);
        return querySkus;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy