Example usage for com.badlogic.gdx.pay Offer Offer

List of usage examples for com.badlogic.gdx.pay Offer Offer

Introduction

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

Prototype

Offer

Source Link

Usage

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

public static Offer offerFullEditionEntitlement() {
    Offer offer = new Offer();
    offer.setIdentifier(PRODUCT_IDENTIFIER_FULL_EDITION);
    offer.setType(OfferType.ENTITLEMENT);
    return offer;
}

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

public static Offer offerSubscription() {
    Offer offer = new Offer();
    offer.setIdentifier("com.appname.subscription");
    offer.setType(OfferType.SUBSCRIPTION);
    return offer;
}

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;
}