![JAR search and dependency download from the Maven repository](/logo.png)
org.onepf.opfiab.samsung.model.SamsungPurchase Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of opfiab-samsung Show documentation
Show all versions of opfiab-samsung Show documentation
Adds Samsung billing provider
The newest version!
package org.onepf.opfiab.samsung.model;
import android.support.annotation.NonNull;
import org.json.JSONException;
/**
* Model representing purchased item returned in user inventory.
*/
public class SamsungPurchase extends SamsungBillingModel {
private static final String KEY_VERIFY_URL = "mVerifyUrl";
@NonNull
private final String verifyUrl;
public SamsungPurchase(@NonNull final String originalJson) throws JSONException {
super(originalJson);
this.verifyUrl = jsonObject.getString(KEY_VERIFY_URL);
}
@NonNull
public String getVerifyUrl() {
return verifyUrl;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy