package o;

import android.os.Bundle;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
import java.util.Iterator;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class Lo0 extends AbstractSafeParcelable implements Iterable {
    public static final Parcelable.Creator<Lo0> CREATOR = new C2086oo0(2);
    public final Bundle l;

    public Lo0(Bundle bundle) {
        this.l = bundle;
    }

    public final Object b(String str) {
        return this.l.get(str);
    }

    public final Double c() {
        return Double.valueOf(this.l.getDouble("value"));
    }

    public final String d() {
        return this.l.getString("currency");
    }

    public final Bundle f() {
        return new Bundle(this.l);
    }

    @Override // java.lang.Iterable
    public final Iterator iterator() {
        return new Ko0(this);
    }

    public final String toString() {
        return this.l.toString();
    }

    @Override // android.os.Parcelable
    public final void writeToParcel(Parcel parcel, int i) {
        int iBeginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
        SafeParcelWriter.writeBundle(parcel, 2, f(), false);
        SafeParcelWriter.finishObjectHeader(parcel, iBeginObjectHeader);
    }
}
