Example usage for com.badlogic.gdx.pay PurchaseManagerConfig addStoreParam

List of usage examples for com.badlogic.gdx.pay PurchaseManagerConfig addStoreParam

Introduction

In this page you can find the example usage for com.badlogic.gdx.pay PurchaseManagerConfig addStoreParam.

Prototype

public void addStoreParam(String storeName, Object param) 

Source Link

Document

Adds a parameter for a store.

Usage

From source file:com.badlogic.gdx.pay.android.googleplay.testdata.PurchaseManagerConfigObjectMother.java

public static PurchaseManagerConfig managerConfigGooglePlayOneOfferBuyFullEditionProduct() {
    PurchaseManagerConfig config = new PurchaseManagerConfig();

    config.addStoreParam(STORE_NAME_ANDROID_GOOGLE,
            "kbiosdfjoifjkldsfjowei8rfjiwfklmujwemflksdfjmsdklfj/sdifjsdlfkjsdfksd");
    config.addOffer(offerFullEditionEntitlement());

    return config;
}

From source file:com.badlogic.gdx.pay.android.googleplay.testdata.PurchaseManagerConfigObjectMother.java

public static PurchaseManagerConfig managerConfigGooglePlayOneOfferConsumbableProduct() {
    PurchaseManagerConfig config = new PurchaseManagerConfig();

    config.addStoreParam(STORE_NAME_ANDROID_GOOGLE,
            "kbiosdfjoifjkldsfjowei8rfjiwfklmujwemflksdfjmsdklfj/sdifjsdlfkjsdfksd");
    config.addOffer(offerConsumable());/*w  w w .j av  a 2  s .  c  o m*/

    return config;
}

From source file:com.badlogic.gdx.pay.android.googleplay.testdata.PurchaseManagerConfigObjectMother.java

public static PurchaseManagerConfig managerConfigGooglePlayOneOfferSubscriptionProduct() {
    PurchaseManagerConfig config = new PurchaseManagerConfig();

    config.addStoreParam(STORE_NAME_ANDROID_GOOGLE,
            "kbiosdfjoifjkldsfjowei8rfjiwfklmujwemflksdfjmsdklfj/sdifjsdlfkjsdfksd");
    config.addOffer(offerSubscription());

    return config;
}