Files
rr3-apk/decompiled/sources/csdk/gluads/Reward.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

40 lines
1.4 KiB
Java

package csdk.gluads;
import csdk.gluads.util.ISerializableJsonObject;
import csdk.gluads.util.JsonUtil;
import org.json.JSONException;
import org.json.JSONStringer;
/* loaded from: classes4.dex */
public class Reward implements ISerializableJsonObject {
public final String advertisementType;
public final int amount;
public final String identifier;
public final String item;
public final String mediationNetwork;
public final String placement;
public Reward(String str, String str2, String str3, String str4, String str5, int i) {
this.identifier = str;
this.placement = str2;
this.mediationNetwork = str3;
this.advertisementType = str4;
this.item = str5;
this.amount = i;
}
@Override // csdk.gluads.util.ISerializableJsonObject
public void write(JSONStringer jSONStringer) throws JSONException {
JsonUtil.optKeyValue(jSONStringer, "identifier", this.identifier);
JsonUtil.optKeyValue(jSONStringer, "placement", this.placement);
JsonUtil.optKeyValue(jSONStringer, Consts.MEDIATION_NETWORK, this.mediationNetwork);
JsonUtil.optKeyValue(jSONStringer, "advertisementType", this.advertisementType);
JsonUtil.optKeyValue(jSONStringer, "item", this.item);
jSONStringer.key("amount").value(this.amount);
}
public String toJson() {
return JsonUtil.toJson(this);
}
}