Example usage for com.badlogic.gdx.pay OfferType CONSUMABLE

List of usage examples for com.badlogic.gdx.pay OfferType CONSUMABLE

Introduction

In this page you can find the example usage for com.badlogic.gdx.pay OfferType CONSUMABLE.

Prototype

OfferType CONSUMABLE

To view the source code for com.badlogic.gdx.pay OfferType CONSUMABLE.

Click Source Link

Document

A consumable can be purchased multiple times and diminishes once used (e.g.

Usage

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

public static Offer offerConsumable() {
    Offer offer = new Offer();
    offer.setIdentifier("com.appname.consumable.100.coins");
    offer.setType(OfferType.CONSUMABLE);
    return offer;
}