Android Open Source - gdx-pay Information






From Project

Back to project page gdx-pay.

License

The source code is released under:

Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUC...

If you think the Android project gdx-pay listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.badlogic.gdx.pay;
/*from  ww  w.j a va  2s  .  com*/
/** Information about a product that can be purchased provided by a purchase manager. Some methods
 * will return 'null' if requested information is not available.
 * 
 * @author noblemaster */
public class Information {

  /** The information returned if a purchase manager does not support information. */
  public static final Information UNAVAILABLE = new Information(null, null, null);
  
  private String localName;
  private String localDescription;
  private String localPricing;
  
  public Information(String localName, String localDescription, String localPricing) {
    this.localName = localName;
    this.localDescription = localDescription;
    this.localPricing = localPricing;
  }

  /** Returns the localized product name or null if not available (PurchaseManager-dependent). */
  public String getLocalName() {
    return localName;
  }

  /** Returns the localized product description or null if not available (PurchaseManager-dependent). */
  public String getLocalDescription() {
    return localDescription;
  }

  /** Returns the localized product price or null if not available (PurchaseManager-dependent). */
  public String getLocalPricing() {
    return localPricing;
  }
}




Java Source Code List

com.badlogic.gdx.pay.Information.java
com.badlogic.gdx.pay.OfferType.java
com.badlogic.gdx.pay.Offer.java
com.badlogic.gdx.pay.PurchaseManagerConfig.java
com.badlogic.gdx.pay.PurchaseManager.java
com.badlogic.gdx.pay.PurchaseObserver.java
com.badlogic.gdx.pay.PurchaseSystem.java
com.badlogic.gdx.pay.Transaction.java
com.badlogic.gdx.pay.android.IAP.java
com.badlogic.gdx.pay.android.amazon.PurchaseManagerAndroidAmazon.java
com.badlogic.gdx.pay.android.openiab.PurchaseManagerAndroidOpenIAB.java
com.badlogic.gdx.pay.android.ouya.PurchaseManagerAndroidOUYA.java
com.badlogic.gdx.pay.desktop.apple.PurchaseManagerDesktopApple.java
com.badlogic.gdx.pay.gwt.googlewallet.PurchaseManagerGwtGoogleWallet.java
com.badlogic.gdx.pay.ios.apple.PurchaseManageriOSApple.java
com.badlogic.gdx.pay.server.PurchaseVerifierManager.java
com.badlogic.gdx.pay.server.PurchaseVerifier.java
com.badlogic.gdx.pay.server.impl.PurchaseVerifierAndroidAmazon.java
com.badlogic.gdx.pay.server.impl.PurchaseVerifierAndroidGoogle.java
com.badlogic.gdx.pay.server.impl.PurchaseVerifieriOSApple.java
com.badlogic.gdx.pay.server.util.Base64Util.java