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

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

Introduction

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

Prototype

String STORE_NAME_ANDROID_GOOGLE

To view the source code for com.badlogic.gdx.pay PurchaseManagerConfig STORE_NAME_ANDROID_GOOGLE.

Click Source Link

Usage

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

public static Transaction transactionFullEditionEuroGooglePlaySandbox() {
    Transaction transaction = new Transaction();

    transaction.setPurchaseCostCurrency("EUR");
    transaction.setPurchaseCost(100);/*from  w ww  .j a  v a2s .  co  m*/
    transaction.setStoreName(PurchaseManagerConfig.STORE_NAME_ANDROID_GOOGLE);
    transaction.setPurchaseTime(new Date());
    transaction.setIdentifier(PRODUCT_IDENTIFIER_FULL_EDITION);
    return transaction;
}