764 lines
26 KiB
Java
764 lines
26 KiB
Java
|
package com.scb.phone.view.fragment.debitatm;
|
||
|
|
||
|
import android.content.ActivityNotFoundException;
|
||
|
import android.content.DialogInterface;
|
||
|
import android.content.Intent;
|
||
|
import android.net.Uri;
|
||
|
import android.os.Bundle;
|
||
|
import android.view.LayoutInflater;
|
||
|
import android.view.View;
|
||
|
import android.view.ViewGroup;
|
||
|
import android.widget.CompoundButton;
|
||
|
import android.widget.ImageView;
|
||
|
import android.widget.LinearLayout;
|
||
|
import android.widget.RelativeLayout;
|
||
|
import android.widget.TextView;
|
||
|
import androidx.appcompat.widget.SwitchCompat;
|
||
|
import androidx.constraintlayout.widget.ConstraintLayout;
|
||
|
import butterknife.BindView;
|
||
|
import butterknife.ButterKnife;
|
||
|
import butterknife.OnCheckedChanged;
|
||
|
import butterknife.OnClick;
|
||
|
import com.huawei.hms.support.api.entity.common.CommonConstant;
|
||
|
import com.scb.phone.R;
|
||
|
import com.scb.phone.view.activity.debitatm.DebitWithdrawalLimitActivity;
|
||
|
import com.scb.phone.view.activity.debitcard.DebitCardRequestInputActivity;
|
||
|
import com.scb.phone.view.activity.debitcard.reset.DebitCardResetPinActivity;
|
||
|
import com.scb.phone.view.activity.partner.SCBUniversalWebViewActivity;
|
||
|
import com.scb.phone.view.activity.splash.SplashActivity;
|
||
|
import com.scb.phone.view.custom.common.CustomDialog;
|
||
|
import com.scb.phone.view.fragment.debitatm.DebitCardServiceTabFragment;
|
||
|
import java.util.List;
|
||
|
import o.C0917Rn;
|
||
|
import o.C1417aDj;
|
||
|
import o.C1421aDn;
|
||
|
import o.EnumC0543Ja;
|
||
|
import o.IU;
|
||
|
import o.IW;
|
||
|
import o.InterfaceC13391fZD;
|
||
|
import o.InterfaceC9094ddI;
|
||
|
import o.Ndz;
|
||
|
import o.ZI;
|
||
|
import o.aCN;
|
||
|
import o.aCP;
|
||
|
import o.fSQ;
|
||
|
import o.gjJ;
|
||
|
import o.guQ;
|
||
|
import o.nMh;
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public class DebitCardServiceTabFragment extends Hilt_DebitCardServiceTabFragment implements InterfaceC9094ddI.LWm {
|
||
|
public Sts c;
|
||
|
|
||
|
@BindView
|
||
|
TextView cardLockTextNoAllowTag;
|
||
|
|
||
|
@BindView
|
||
|
TextView cardLockTextView;
|
||
|
|
||
|
@BindView
|
||
|
ConstraintLayout csECommerceOffShoreCardLayout;
|
||
|
|
||
|
@BindView
|
||
|
ConstraintLayout csECommerceOnShoreCardLayout;
|
||
|
|
||
|
@BindView
|
||
|
ConstraintLayout csPlasticCardLayout;
|
||
|
public IU d;
|
||
|
|
||
|
@BindView
|
||
|
ImageView ivECommerceRefreshButton;
|
||
|
|
||
|
@BindView
|
||
|
ImageView ivLimitICon;
|
||
|
|
||
|
@BindView
|
||
|
ImageView ivPhysicalCardArrowIcon;
|
||
|
|
||
|
@BindView
|
||
|
ImageView ivToggle;
|
||
|
|
||
|
@BindView
|
||
|
RelativeLayout layoutCardStatus;
|
||
|
|
||
|
@BindView
|
||
|
LinearLayout layoutECommerceCard;
|
||
|
|
||
|
@BindView
|
||
|
ConstraintLayout layoutPhysicalCard;
|
||
|
|
||
|
@BindView
|
||
|
LinearLayout layoutPlasticCard;
|
||
|
|
||
|
@BindView
|
||
|
LinearLayout layoutSubECommerceCard;
|
||
|
|
||
|
@BindView
|
||
|
RelativeLayout rlLayoutChangeLimit;
|
||
|
|
||
|
@BindView
|
||
|
SwitchCompat switchCardStatus;
|
||
|
|
||
|
@BindView
|
||
|
SwitchCompat switchECommerceOffShoreCard;
|
||
|
|
||
|
@BindView
|
||
|
SwitchCompat switchECommerceOnShoreCard;
|
||
|
|
||
|
@BindView
|
||
|
SwitchCompat switchPlasticCard;
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
public aCN tabDebitCardServicePresenter;
|
||
|
|
||
|
@BindView
|
||
|
TextView tvECommerceErrorRemark;
|
||
|
|
||
|
@BindView
|
||
|
TextView tvLimitInstruction;
|
||
|
|
||
|
@BindView
|
||
|
TextView tvPhysicalCard;
|
||
|
|
||
|
@BindView
|
||
|
TextView tvPhysicalCardRequest;
|
||
|
|
||
|
@BindView
|
||
|
TextView tvRemark;
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public interface Sts {
|
||
|
void e(boolean z);
|
||
|
}
|
||
|
|
||
|
public static DebitCardServiceTabFragment f() {
|
||
|
return new DebitCardServiceTabFragment();
|
||
|
}
|
||
|
|
||
|
@Override // androidx.fragment.app.Fragment
|
||
|
public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
|
||
|
View inflate = layoutInflater.inflate(R.layout.2131559542, viewGroup, false);
|
||
|
ButterKnife.c(this, inflate);
|
||
|
this.tabDebitCardServicePresenter.e((aCN) this);
|
||
|
return inflate;
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9094ddI.LWm
|
||
|
public final void b(String str) {
|
||
|
this.cardLockTextView.setTextColor(nMh.getColor(getContext(), R.color.f3092131099816));
|
||
|
this.switchCardStatus.setEnabled(false);
|
||
|
this.cardLockTextNoAllowTag.setVisibility(0);
|
||
|
this.cardLockTextNoAllowTag.setText(str);
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9094ddI.LWm
|
||
|
public final void b(boolean z, String str) {
|
||
|
this.cardLockTextView.setTextColor(nMh.getColor(getContext(), R.color.f2982131099805));
|
||
|
this.switchCardStatus.setEnabled(true);
|
||
|
this.cardLockTextNoAllowTag.setVisibility(z ? 0 : 8);
|
||
|
this.cardLockTextNoAllowTag.setText(str);
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9094ddI.LWm
|
||
|
public final void e(boolean z) {
|
||
|
this.switchCardStatus.setChecked(z);
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9094ddI.LWm
|
||
|
public final void d(boolean z) {
|
||
|
this.switchECommerceOnShoreCard.setChecked(z);
|
||
|
d(this.csECommerceOnShoreCardLayout, z);
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9094ddI.LWm
|
||
|
public final void b(boolean z) {
|
||
|
this.switchECommerceOffShoreCard.setChecked(z);
|
||
|
d(this.csECommerceOffShoreCardLayout, z);
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9094ddI.LWm
|
||
|
public final void a(boolean z) {
|
||
|
this.switchPlasticCard.setChecked(z);
|
||
|
d(this.csPlasticCardLayout, z);
|
||
|
}
|
||
|
|
||
|
private void d(View view, boolean z) {
|
||
|
int dimensionPixelOffset;
|
||
|
int paddingLeft = view.getPaddingLeft();
|
||
|
int paddingTop = view.getPaddingTop();
|
||
|
if (z) {
|
||
|
dimensionPixelOffset = getResources().getDimensionPixelOffset(R.dimen.f17352131165501);
|
||
|
} else {
|
||
|
dimensionPixelOffset = getResources().getDimensionPixelOffset(R.dimen.f17292131165495);
|
||
|
}
|
||
|
view.setPadding(paddingLeft, paddingTop, dimensionPixelOffset, view.getPaddingBottom());
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9094ddI.LWm
|
||
|
public final void b() {
|
||
|
Sts sts = this.c;
|
||
|
if (sts != null) {
|
||
|
sts.e(true);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
@OnCheckedChanged
|
||
|
public void onCardTempLockToggleChanged(CompoundButton compoundButton, final boolean z) {
|
||
|
if (compoundButton.isPressed()) {
|
||
|
compoundButton.setChecked(!z);
|
||
|
final aCN acn = this.tabDebitCardServicePresenter;
|
||
|
ZI.IeS ieS = new ZI.IeS(acn, z) { // from class: o.aDp
|
||
|
private aCN b;
|
||
|
private boolean e;
|
||
|
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
aCN.a(this.b, this.e, (InterfaceC9094ddI.LWm) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.b = acn;
|
||
|
this.e = z;
|
||
|
}
|
||
|
};
|
||
|
if (acn.f != 0) {
|
||
|
ieS.e(acn.f);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
@OnCheckedChanged
|
||
|
public void onCardCommerceOnShoreLockToggleChanged(CompoundButton compoundButton, final boolean z) {
|
||
|
if (compoundButton.isPressed()) {
|
||
|
compoundButton.setChecked(!z);
|
||
|
final aCN acn = this.tabDebitCardServicePresenter;
|
||
|
ZI.IeS ieS = new ZI.IeS(acn, z) { // from class: o.aDd
|
||
|
private aCN c;
|
||
|
private boolean d;
|
||
|
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
aCN.d(this.c, this.d, (InterfaceC9094ddI.LWm) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.c = acn;
|
||
|
this.d = z;
|
||
|
}
|
||
|
};
|
||
|
if (acn.f != 0) {
|
||
|
ieS.e(acn.f);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
@OnCheckedChanged
|
||
|
public void onCardCommerceOffShoreLockToggleChanged(CompoundButton compoundButton, final boolean z) {
|
||
|
if (compoundButton.isPressed()) {
|
||
|
compoundButton.setChecked(!z);
|
||
|
final aCN acn = this.tabDebitCardServicePresenter;
|
||
|
ZI.IeS ieS = new ZI.IeS(acn, z) { // from class: o.aDx
|
||
|
private aCN c;
|
||
|
private boolean d;
|
||
|
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
aCN.c(this.c, this.d, (InterfaceC9094ddI.LWm) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.c = acn;
|
||
|
this.d = z;
|
||
|
}
|
||
|
};
|
||
|
if (acn.f != 0) {
|
||
|
ieS.e(acn.f);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
@OnCheckedChanged
|
||
|
public void onCardPlasticLockToggleChanged(CompoundButton compoundButton, final boolean z) {
|
||
|
if (compoundButton.isPressed()) {
|
||
|
compoundButton.setChecked(!z);
|
||
|
final aCN acn = this.tabDebitCardServicePresenter;
|
||
|
ZI.IeS ieS = new ZI.IeS(acn, z) { // from class: o.aDs
|
||
|
private aCN c;
|
||
|
private boolean e;
|
||
|
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
aCN.b(this.c, this.e, (InterfaceC9094ddI.LWm) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.c = acn;
|
||
|
this.e = z;
|
||
|
}
|
||
|
};
|
||
|
if (acn.f != 0) {
|
||
|
ieS.e(acn.f);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@OnClick
|
||
|
public void onClickResetPin() {
|
||
|
IU iu = this.d;
|
||
|
if (iu != null) {
|
||
|
final aCN acn = this.tabDebitCardServicePresenter;
|
||
|
String c = iu.c();
|
||
|
C1417aDj c1417aDj = new C1417aDj();
|
||
|
if (acn.f != 0) {
|
||
|
c1417aDj.e(acn.f);
|
||
|
}
|
||
|
Ndz ndz = acn.b;
|
||
|
ndz.d(ndz.c.e(c), new fSQ(acn) { // from class: o.aDh
|
||
|
private aCN e;
|
||
|
|
||
|
@Override // o.fSQ
|
||
|
public final void c(Object obj) {
|
||
|
aCN.c(this.e, (C9088ddC) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.e = acn;
|
||
|
}
|
||
|
}, new fSQ(acn) { // from class: o.aDe
|
||
|
private aCN c;
|
||
|
|
||
|
@Override // o.fSQ
|
||
|
public final void c(Object obj) {
|
||
|
aCN.c(this.c, (Throwable) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.c = acn;
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@OnClick
|
||
|
public void onPhysicalCardRequestClick() {
|
||
|
startActivity(DebitCardRequestInputActivity.abe_(getContext(), this.d.c(), this.d.j().a));
|
||
|
}
|
||
|
|
||
|
@OnClick
|
||
|
public void onViewProductDetailClick() {
|
||
|
startActivity(SCBUniversalWebViewActivity.akg_(getContext(), this.d.y()));
|
||
|
}
|
||
|
|
||
|
@OnClick
|
||
|
public void onECommerceRefreshClick() {
|
||
|
y();
|
||
|
Sts sts = this.c;
|
||
|
if (sts != null) {
|
||
|
sts.e(false);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9094ddI.LWm
|
||
|
public final void a(int i) {
|
||
|
this.layoutECommerceCard.setVisibility(i);
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9094ddI.LWm
|
||
|
public final void e(int i) {
|
||
|
this.layoutPlasticCard.setVisibility(i);
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9094ddI.LWm
|
||
|
public final void e(boolean z, boolean z2) {
|
||
|
this.tvECommerceErrorRemark.setVisibility(z ? 0 : 8);
|
||
|
this.layoutSubECommerceCard.setVisibility(z ? 8 : 0);
|
||
|
this.ivECommerceRefreshButton.setVisibility(z2 ? 0 : 8);
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9094ddI.LWm
|
||
|
public final void c(String str) {
|
||
|
this.tvECommerceErrorRemark.setText(str);
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9094ddI.LWm
|
||
|
public final void a(String str, String str2, final String str3) {
|
||
|
CustomDialog b = CustomDialog.b(getContext());
|
||
|
b.setCancelable(false);
|
||
|
if (gjJ.a(str)) {
|
||
|
b.mTitleTextView.setVisibility(0);
|
||
|
b.mTitleTextView.setText(str);
|
||
|
}
|
||
|
if (gjJ.a(str2)) {
|
||
|
b.mTextTextView.setVisibility(0);
|
||
|
b.mTextTextView.setText(str2);
|
||
|
}
|
||
|
b.aoU_(getString(R.string.ok), new DialogInterface.OnClickListener(this, str3) { // from class: o.ePz
|
||
|
private String b;
|
||
|
private DebitCardServiceTabFragment c;
|
||
|
|
||
|
@Override // android.content.DialogInterface.OnClickListener
|
||
|
public final void onClick(DialogInterface dialogInterface, int i) {
|
||
|
DebitCardServiceTabFragment.arD_(this.c, this.b, dialogInterface);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.c = this;
|
||
|
this.b = str3;
|
||
|
}
|
||
|
}).show();
|
||
|
}
|
||
|
|
||
|
private void arF_(String str, String str2, String str3, String str4, DialogInterface.OnClickListener onClickListener) {
|
||
|
CustomDialog b = CustomDialog.b(getContext());
|
||
|
if (gjJ.a(str)) {
|
||
|
b.mTitleTextView.setVisibility(0);
|
||
|
b.mTitleTextView.setText(str);
|
||
|
}
|
||
|
if (gjJ.a(str2)) {
|
||
|
b.mTextTextView.setVisibility(0);
|
||
|
b.mTextTextView.setText(str2);
|
||
|
}
|
||
|
b.aoU_(str3, onClickListener).aoO_(str4, new DialogInterface.OnClickListener() { // from class: o.ePx
|
||
|
@Override // android.content.DialogInterface.OnClickListener
|
||
|
public final void onClick(DialogInterface dialogInterface, int i) {
|
||
|
dialogInterface.dismiss();
|
||
|
}
|
||
|
}).show();
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9094ddI.LWm
|
||
|
public final void c(boolean z) {
|
||
|
this.layoutPhysicalCard.setEnabled(z);
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9094ddI.LWm
|
||
|
public final void j() {
|
||
|
this.layoutPhysicalCard.setVisibility(0);
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9094ddI.LWm
|
||
|
public final void c() {
|
||
|
this.layoutPhysicalCard.setVisibility(8);
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9094ddI.LWm
|
||
|
public final void b(String str, String str2, int i) {
|
||
|
this.layoutPhysicalCard.setEnabled(false);
|
||
|
this.layoutPhysicalCard.setVisibility(0);
|
||
|
this.tvPhysicalCard.setText(str);
|
||
|
this.tvPhysicalCard.setTextColor(nMh.getColor(getContext(), i));
|
||
|
this.tvPhysicalCardRequest.setText(str2);
|
||
|
this.tvPhysicalCardRequest.setTextColor(nMh.getColor(getContext(), i));
|
||
|
this.ivPhysicalCardArrowIcon.setColorFilter(nMh.getColor(getContext(), i));
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9094ddI.LWm
|
||
|
public final void d(String str) {
|
||
|
this.tvRemark.setVisibility(0);
|
||
|
this.tvRemark.setText(str);
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9094ddI.LWm
|
||
|
public final void a() {
|
||
|
this.tvRemark.setVisibility(8);
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9094ddI.LWm
|
||
|
public final void b(int i) {
|
||
|
this.ivPhysicalCardArrowIcon.setVisibility(0);
|
||
|
this.ivPhysicalCardArrowIcon.setColorFilter(nMh.getColor(getContext(), i));
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9094ddI.LWm
|
||
|
public final void e() {
|
||
|
this.ivPhysicalCardArrowIcon.setVisibility(8);
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9094ddI.LWm
|
||
|
public final void a(String str, int i) {
|
||
|
this.tvPhysicalCard.setText(str);
|
||
|
this.tvPhysicalCard.setTextColor(nMh.getColor(getContext(), i));
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9094ddI.LWm
|
||
|
public final void e(String str, int i) {
|
||
|
this.tvPhysicalCardRequest.setText(str);
|
||
|
this.tvPhysicalCardRequest.setTextColor(nMh.getColor(getContext(), i));
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9094ddI.LWm
|
||
|
public final void d() {
|
||
|
if (getContext() != null) {
|
||
|
this.tvLimitInstruction.setTextColor(nMh.getColor(getContext(), R.color.f3092131099816));
|
||
|
this.rlLayoutChangeLimit.setEnabled(false);
|
||
|
this.ivToggle.setColorFilter(nMh.getColor(getContext(), R.color.f3092131099816));
|
||
|
this.ivLimitICon.setColorFilter(nMh.getColor(getContext(), R.color.f3412131099849));
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9094ddI.LWm
|
||
|
public final void i() {
|
||
|
if (getContext() != null) {
|
||
|
this.tvLimitInstruction.setTextColor(nMh.getColor(getContext(), R.color.f2982131099805));
|
||
|
this.rlLayoutChangeLimit.setEnabled(true);
|
||
|
this.ivToggle.setColorFilter(nMh.getColor(getContext(), R.color.f2982131099805));
|
||
|
this.ivLimitICon.setColorFilter(nMh.getColor(getContext(), R.color.f3092131099816));
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9094ddI.LWm
|
||
|
public final void e(C0917Rn c0917Rn) {
|
||
|
if (getContext() != null) {
|
||
|
startActivity(DebitWithdrawalLimitActivity.aaY_(getContext(), c0917Rn));
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void a(DebitCardServiceTabFragment debitCardServiceTabFragment) {
|
||
|
aCN acn = debitCardServiceTabFragment.tabDebitCardServicePresenter;
|
||
|
C1421aDn c1421aDn = new C1421aDn(acn, debitCardServiceTabFragment.d.c(), true);
|
||
|
if (acn.f != 0) {
|
||
|
c1421aDn.e(acn.f);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void c(DebitCardServiceTabFragment debitCardServiceTabFragment) {
|
||
|
aCN acn = debitCardServiceTabFragment.tabDebitCardServicePresenter;
|
||
|
aCP acp = new aCP(acn, debitCardServiceTabFragment.d.c(), true, !debitCardServiceTabFragment.switchECommerceOffShoreCard.isChecked(), EnumC0543Ja.ONSHORE);
|
||
|
if (acn.f != 0) {
|
||
|
acp.e(acn.f);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void b(DebitCardServiceTabFragment debitCardServiceTabFragment) {
|
||
|
aCN acn = debitCardServiceTabFragment.tabDebitCardServicePresenter;
|
||
|
aCP acp = new aCP(acn, debitCardServiceTabFragment.d.c(), false, !debitCardServiceTabFragment.switchECommerceOffShoreCard.isChecked(), EnumC0543Ja.ONSHORE);
|
||
|
if (acn.f != 0) {
|
||
|
acp.e(acn.f);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void j(DebitCardServiceTabFragment debitCardServiceTabFragment) {
|
||
|
aCN acn = debitCardServiceTabFragment.tabDebitCardServicePresenter;
|
||
|
aCP acp = new aCP(acn, debitCardServiceTabFragment.d.c(), !debitCardServiceTabFragment.switchECommerceOnShoreCard.isChecked(), false, EnumC0543Ja.OFFSHORE);
|
||
|
if (acn.f != 0) {
|
||
|
acp.e(acn.f);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void f(DebitCardServiceTabFragment debitCardServiceTabFragment) {
|
||
|
aCN acn = debitCardServiceTabFragment.tabDebitCardServicePresenter;
|
||
|
C1421aDn c1421aDn = new C1421aDn(acn, debitCardServiceTabFragment.d.c(), false);
|
||
|
if (acn.f != 0) {
|
||
|
c1421aDn.e(acn.f);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void d(DebitCardServiceTabFragment debitCardServiceTabFragment, boolean z) {
|
||
|
if (debitCardServiceTabFragment.getContext() == null || debitCardServiceTabFragment.d == null) {
|
||
|
return;
|
||
|
}
|
||
|
debitCardServiceTabFragment.startActivity(DebitCardResetPinActivity.abl_(debitCardServiceTabFragment.getContext(), debitCardServiceTabFragment.d.c(), z));
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void arD_(DebitCardServiceTabFragment debitCardServiceTabFragment, String str, DialogInterface dialogInterface) {
|
||
|
dialogInterface.dismiss();
|
||
|
SplashActivity.b(new Object[]{debitCardServiceTabFragment.getContext()}, 1199803597, -1199803588, (int) System.currentTimeMillis());
|
||
|
try {
|
||
|
debitCardServiceTabFragment.startActivity(new Intent(CommonConstant.ACTION.HWID_SCHEME_URL, Uri.parse(str)));
|
||
|
} catch (ActivityNotFoundException e) {
|
||
|
guQ.e(e);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void h(DebitCardServiceTabFragment debitCardServiceTabFragment) {
|
||
|
aCN acn = debitCardServiceTabFragment.tabDebitCardServicePresenter;
|
||
|
aCP acp = new aCP(acn, debitCardServiceTabFragment.d.c(), !debitCardServiceTabFragment.switchECommerceOnShoreCard.isChecked(), true, EnumC0543Ja.OFFSHORE);
|
||
|
if (acn.f != 0) {
|
||
|
acp.e(acn.f);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@OnClick
|
||
|
public void onClickManageLimit() {
|
||
|
final aCN acn = this.tabDebitCardServicePresenter;
|
||
|
C1417aDj c1417aDj = new C1417aDj();
|
||
|
if (acn.f != 0) {
|
||
|
c1417aDj.e(acn.f);
|
||
|
}
|
||
|
Ndz ndz = acn.b;
|
||
|
ndz.d(ndz.c.c(acn.d.c()), new fSQ(acn) { // from class: o.aDa
|
||
|
private aCN c;
|
||
|
|
||
|
@Override // o.fSQ
|
||
|
public final void c(Object obj) {
|
||
|
aCN.e(this.c, (List) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.c = acn;
|
||
|
}
|
||
|
}, new fSQ(acn) { // from class: o.aDc
|
||
|
private aCN d;
|
||
|
|
||
|
@Override // o.fSQ
|
||
|
public final void c(Object obj) {
|
||
|
aCN.a(this.d, (Throwable) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.d = acn;
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9094ddI.LWm
|
||
|
public final void d(IW iw) {
|
||
|
arF_(iw.d, iw.b, getString(R.string.debit_card_popup_confirm_block_e_commerce_button), getString(R.string.debit_card_popup_cancel_block_e_commerce_button), new DialogInterface.OnClickListener(this) { // from class: o.ePy
|
||
|
private DebitCardServiceTabFragment c;
|
||
|
|
||
|
@Override // android.content.DialogInterface.OnClickListener
|
||
|
public final void onClick(DialogInterface dialogInterface, int i) {
|
||
|
DebitCardServiceTabFragment.j(this.c);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.c = this;
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9094ddI.LWm
|
||
|
public final void a(IW iw) {
|
||
|
arF_(iw.d, iw.b, getString(R.string.debit_card_popup_confirm_block_e_commerce_button), getString(R.string.debit_card_popup_cancel_block_e_commerce_button), new DialogInterface.OnClickListener(this) { // from class: o.ePE
|
||
|
private DebitCardServiceTabFragment e;
|
||
|
|
||
|
@Override // android.content.DialogInterface.OnClickListener
|
||
|
public final void onClick(DialogInterface dialogInterface, int i) {
|
||
|
DebitCardServiceTabFragment.b(this.e);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.e = this;
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9094ddI.LWm
|
||
|
public final void c(IW iw) {
|
||
|
arF_(iw.d, iw.b, getString(R.string.debit_card_popup_confirm_lock_plastic_button), getString(R.string.debit_card_popup_cancel_lock_plastic_button), new DialogInterface.OnClickListener(this) { // from class: o.ePu
|
||
|
private DebitCardServiceTabFragment a;
|
||
|
|
||
|
@Override // android.content.DialogInterface.OnClickListener
|
||
|
public final void onClick(DialogInterface dialogInterface, int i) {
|
||
|
DebitCardServiceTabFragment.f(this.a);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.a = this;
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9094ddI.LWm
|
||
|
public final void b(IW iw) {
|
||
|
arF_(iw.d, iw.b, getString(R.string.auto_debit_card_lock_card_popup_lock_button_title), getString(R.string.auto_debit_card_lock_card_popup_cancel_button_title), new DialogInterface.OnClickListener(this) { // from class: o.ePC
|
||
|
private DebitCardServiceTabFragment d;
|
||
|
|
||
|
@Override // android.content.DialogInterface.OnClickListener
|
||
|
public final void onClick(DialogInterface dialogInterface, int i) {
|
||
|
r1.tabDebitCardServicePresenter.c(this.d.d.c());
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.d = this;
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9094ddI.LWm
|
||
|
public final void e(final boolean z, IW iw) {
|
||
|
arF_(iw.d, iw.b, getString(R.string.ok), getString(R.string.cancel), new DialogInterface.OnClickListener(this, z) { // from class: o.ePG
|
||
|
private boolean a;
|
||
|
private DebitCardServiceTabFragment d;
|
||
|
|
||
|
@Override // android.content.DialogInterface.OnClickListener
|
||
|
public final void onClick(DialogInterface dialogInterface, int i) {
|
||
|
DebitCardServiceTabFragment.d(this.d, this.a);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.d = this;
|
||
|
this.a = z;
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9094ddI.LWm
|
||
|
public final void e(IW iw) {
|
||
|
arF_(iw.d, iw.b, getString(R.string.debit_card_popup_confirm_unblock_e_commerce_button), getString(R.string.debit_card_popup_cancel_unblock_e_commerce_button), new DialogInterface.OnClickListener(this) { // from class: o.ePA
|
||
|
private DebitCardServiceTabFragment b;
|
||
|
|
||
|
@Override // android.content.DialogInterface.OnClickListener
|
||
|
public final void onClick(DialogInterface dialogInterface, int i) {
|
||
|
DebitCardServiceTabFragment.h(this.b);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.b = this;
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9094ddI.LWm
|
||
|
public final void j(IW iw) {
|
||
|
arF_(iw.d, iw.b, getString(R.string.debit_card_popup_confirm_unblock_e_commerce_button), getString(R.string.debit_card_popup_cancel_unblock_e_commerce_button), new DialogInterface.OnClickListener(this) { // from class: o.ePv
|
||
|
private DebitCardServiceTabFragment b;
|
||
|
|
||
|
@Override // android.content.DialogInterface.OnClickListener
|
||
|
public final void onClick(DialogInterface dialogInterface, int i) {
|
||
|
DebitCardServiceTabFragment.c(this.b);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.b = this;
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9094ddI.LWm
|
||
|
public final void g(IW iw) {
|
||
|
arF_(iw.d, iw.b, getString(R.string.debit_card_popup_confirm_unlock_plastic_button), getString(R.string.debit_card_popup_cancel_unlock_plastic_button), new DialogInterface.OnClickListener(this) { // from class: o.ePt
|
||
|
private DebitCardServiceTabFragment c;
|
||
|
|
||
|
@Override // android.content.DialogInterface.OnClickListener
|
||
|
public final void onClick(DialogInterface dialogInterface, int i) {
|
||
|
DebitCardServiceTabFragment.a(this.c);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.c = this;
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9094ddI.LWm
|
||
|
public final void f(IW iw) {
|
||
|
arF_(iw.d, iw.b, getString(R.string.debit_atm_tab_service_manage_card_limit_dialog_unlock_btn), getString(R.string.debit_atm_tab_service_manage_card_limit_dialog_unlock_cancel_btn), new DialogInterface.OnClickListener(this) { // from class: o.ePB
|
||
|
private DebitCardServiceTabFragment c;
|
||
|
|
||
|
@Override // android.content.DialogInterface.OnClickListener
|
||
|
public final void onClick(DialogInterface dialogInterface, int i) {
|
||
|
r1.tabDebitCardServicePresenter.c(this.c.d.c());
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.c = this;
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
}
|