84 lines
2.9 KiB
Java
84 lines
2.9 KiB
Java
|
package com.scb.phone.view.fragment.ebillsubscription;
|
||
|
|
||
|
import android.content.Intent;
|
||
|
import android.os.Bundle;
|
||
|
import android.view.LayoutInflater;
|
||
|
import android.view.View;
|
||
|
import android.view.ViewGroup;
|
||
|
import butterknife.OnClick;
|
||
|
import com.scb.phone.R;
|
||
|
import com.scb.phone.view.activity.ebillsubscription.EBillSubscriptionSuccessActivity;
|
||
|
import o.C1189Xo;
|
||
|
import o.C1191Xp;
|
||
|
import o.C1193Xr;
|
||
|
import o.C15949jrV;
|
||
|
import o.C4656beL;
|
||
|
import o.IaV;
|
||
|
import o.InterfaceC13391fZD;
|
||
|
import o.cYS;
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public class EbillSubscriptionReviewFragment extends Hilt_EbillSubscriptionReviewFragment implements cYS.IeS {
|
||
|
private C1193Xr c;
|
||
|
private C1189Xo d;
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
public C4656beL eBillSubscriptionReviewPresenter;
|
||
|
|
||
|
public static EbillSubscriptionReviewFragment a(C1193Xr c1193Xr, C1189Xo c1189Xo) {
|
||
|
Bundle bundle = new Bundle();
|
||
|
bundle.putParcelable("com.scb.phone.EXTRA_BILL_PAYMENT_DISPLAY", c1193Xr);
|
||
|
bundle.putParcelable("com.scb.phone.EXTRA_REVIEW", c1189Xo);
|
||
|
EbillSubscriptionReviewFragment ebillSubscriptionReviewFragment = new EbillSubscriptionReviewFragment();
|
||
|
ebillSubscriptionReviewFragment.setArguments(bundle);
|
||
|
return ebillSubscriptionReviewFragment;
|
||
|
}
|
||
|
|
||
|
@Override // androidx.fragment.app.Fragment
|
||
|
public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
|
||
|
View inflate = layoutInflater.inflate(R.layout.2131559625, viewGroup, false);
|
||
|
Bundle arguments = getArguments();
|
||
|
this.c = (C1193Xr) arguments.getParcelable("com.scb.phone.EXTRA_BILL_PAYMENT_DISPLAY");
|
||
|
C1189Xo c1189Xo = (C1189Xo) arguments.getParcelable("com.scb.phone.EXTRA_REVIEW");
|
||
|
this.d = c1189Xo;
|
||
|
d(c1189Xo, this.c, inflate);
|
||
|
this.eBillSubscriptionReviewPresenter.e((C4656beL) this);
|
||
|
aa();
|
||
|
return inflate;
|
||
|
}
|
||
|
|
||
|
@OnClick
|
||
|
public void onConfirmButtonClick() {
|
||
|
C4656beL c4656beL = this.eBillSubscriptionReviewPresenter;
|
||
|
C1193Xr c1193Xr = this.c;
|
||
|
C1189Xo c1189Xo = this.d;
|
||
|
if (c4656beL.a) {
|
||
|
return;
|
||
|
}
|
||
|
c4656beL.d = c1193Xr;
|
||
|
c4656beL.a = true;
|
||
|
if (c4656beL.f != 0) {
|
||
|
c4656beL.f.y();
|
||
|
}
|
||
|
C15949jrV b = C15949jrV.b();
|
||
|
b.a = c1193Xr.g;
|
||
|
b.d = c1189Xo.U;
|
||
|
b.c = c1189Xo.Y;
|
||
|
b.b = c1189Xo.af;
|
||
|
b.i = c1193Xr.K;
|
||
|
b.j = c1193Xr.J;
|
||
|
b.f = c1193Xr.N;
|
||
|
c4656beL.b.b(b);
|
||
|
IaV iaV = c4656beL.b;
|
||
|
iaV.d(iaV.i, new C4656beL.LWm(c4656beL, b));
|
||
|
}
|
||
|
|
||
|
@Override // o.cYS.IeS
|
||
|
public final void e(C1191Xp c1191Xp, C1193Xr c1193Xr) {
|
||
|
Intent intent = new Intent(getContext(), (Class<?>) EBillSubscriptionSuccessActivity.class);
|
||
|
intent.putExtra("com.scb.phone.EXTRA_BILL_PAYMENT_DISPLAY", c1193Xr);
|
||
|
intent.putExtra("com.scb.phone.EXTRA_SUCCESS", c1191Xp);
|
||
|
startActivity(intent);
|
||
|
}
|
||
|
}
|