- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
45 lines
986 B
Java
45 lines
986 B
Java
package com.firemonkeys.cloudcellapi.util;
|
|
|
|
import com.firemonkeys.cloudcellapi.Consts;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public class IabResult {
|
|
String mMessage;
|
|
Consts.ResponseCode mResponse;
|
|
String mSku;
|
|
|
|
public String getMessage() {
|
|
return this.mMessage;
|
|
}
|
|
|
|
public Consts.ResponseCode getResponse() {
|
|
return this.mResponse;
|
|
}
|
|
|
|
public String getSku() {
|
|
return this.mSku;
|
|
}
|
|
|
|
public IabResult(Consts.ResponseCode responseCode, String str) {
|
|
this.mResponse = responseCode;
|
|
this.mMessage = str;
|
|
}
|
|
|
|
public IabResult(Consts.ResponseCode responseCode, String str, String str2) {
|
|
this(responseCode, str);
|
|
this.mSku = str2;
|
|
}
|
|
|
|
public boolean isSuccess() {
|
|
return this.mResponse == Consts.ResponseCode.RESULT_OK;
|
|
}
|
|
|
|
public boolean isFailure() {
|
|
return !isSuccess();
|
|
}
|
|
|
|
public String toString() {
|
|
return "IabResult: " + getMessage();
|
|
}
|
|
}
|