package com.tencent.mm.plugin.wallet.balance.ui.lqt;

import android.content.Intent;
import android.os.Bundle;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.wallet_core.model.Bankcard;
import com.tencent.mm.plugin.wallet_core.model.BindCardOrder;
import com.tencent.mm.sdk.platformtools.ab;
import com.tencent.mm.wallet_core.c.a;

class WalletLqtPlanAddUI$10 implements a {
    final /* synthetic */ WalletLqtPlanAddUI tjp;

    WalletLqtPlanAddUI$10(WalletLqtPlanAddUI walletLqtPlanAddUI) {
        this.tjp = walletLqtPlanAddUI;
    }

    public final Intent n(int i, Bundle bundle) {
        AppMethodBeat.i(45568);
        ab.i("MicroMsg.WalletLqtPlanAddUI", "bind card finish: %s", new Object[]{Integer.valueOf(i)});
        if (i == -1) {
            BindCardOrder bindCardOrder = (BindCardOrder) bundle.getParcelable("key_bindcard_value_result");
            if (bindCardOrder != null) {
                ab.i("MicroMsg.WalletLqtPlanAddUI", "bind card serial: %s", new Object[]{bindCardOrder.txK});
                Bankcard a = WalletLqtPlanAddUI.a(this.tjp, bindCardOrder.txK);
                if (a != null) {
                    WalletLqtPlanAddUI.j(this.tjp).vEQ = a.field_bindSerial;
                    WalletLqtPlanAddUI.j(this.tjp).pbn = a.field_bankcardType;
                    WalletLqtPlanAddUI.j(this.tjp).nuL = a.field_bankName;
                    WalletLqtPlanAddUI.j(this.tjp).pck = a.field_bankcardTail;
                    WalletLqtPlanAddUI.k(this.tjp);
                }
            }
            WalletLqtPlanAddUI.p(this.tjp);
        }
        AppMethodBeat.o(45568);
        return null;
    }
}
