what-the-bank/sources/com/scb/phone/view/custom/common/CustomInstallmentBillsToPay...

219 lines
6.3 KiB
Java

package com.scb.phone.view.custom.common;
import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;
import butterknife.BindView;
import butterknife.ButterKnife;
import com.scb.phone.R;
import com.scb.phone.view.custom.common.CustomInstallmentBillsToPay;
import o.C14957gcv;
import o.InterfaceC12821fIL;
/* loaded from: classes5.dex */
public final class CustomInstallmentBillsToPay extends CustomBaseBillsToPay<InterfaceC12821fIL> {
@BindView
public TextView mAmountTitleTextView;
@BindView
public TextView mAmountValueTextView;
@BindView
public TextView mDueDateValueTextView;
@BindView
public ImageView mIconImageView;
@BindView
public Button mInstallmentButton;
@BindView
public TextView mMinimumPaymentValueTextView;
@BindView
public Button mPayButton;
@BindView
public TextView mStatementDateValueTextView;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public CustomInstallmentBillsToPay(Context context, AttributeSet attributeSet) {
super(context, attributeSet);
C14957gcv.e(context, "");
C14957gcv.e(attributeSet, "");
}
@Override // com.scb.phone.view.custom.common.CustomBaseBillsToPay
protected final void e() {
Object systemService = getContext().getSystemService("layout_inflater");
C14957gcv.d(systemService, "");
((LayoutInflater) systemService).inflate(R.layout.2131559053, (ViewGroup) this, true);
ButterKnife.c(this);
}
/* JADX INFO: Access modifiers changed from: protected */
@Override // com.scb.phone.view.custom.common.CustomBaseBillsToPay
public final void k() {
super.k();
Button button = this.mInstallmentButton;
if (button == null) {
C14957gcv.a("");
button = null;
}
button.setOnClickListener(new View.OnClickListener(this) { // from class: o.eBU
private CustomInstallmentBillsToPay a;
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
CustomInstallmentBillsToPay.a(this.a);
}
{
this.a = this;
}
});
}
@Override // com.scb.phone.view.custom.common.CustomBaseBillsToPay
protected final TextView ape_() {
TextView textView = this.mAmountTitleTextView;
if (textView != null) {
return textView;
}
C14957gcv.a("");
return null;
}
@Override // com.scb.phone.view.custom.common.CustomBaseBillsToPay
protected final TextView apf_() {
TextView textView = this.mAmountValueTextView;
if (textView != null) {
return textView;
}
C14957gcv.a("");
return null;
}
@Override // com.scb.phone.view.custom.common.CustomBaseBillsToPay
protected final TextView api_() {
TextView textView = this.mMinimumPaymentValueTextView;
if (textView != null) {
return textView;
}
C14957gcv.a("");
return null;
}
@Override // com.scb.phone.view.custom.common.CustomBaseBillsToPay
protected final TextView apk_() {
TextView textView = this.mStatementDateValueTextView;
if (textView != null) {
return textView;
}
C14957gcv.a("");
return null;
}
@Override // com.scb.phone.view.custom.common.CustomBaseBillsToPay
protected final TextView apg_() {
TextView textView = this.mDueDateValueTextView;
if (textView != null) {
return textView;
}
C14957gcv.a("");
return null;
}
@Override // com.scb.phone.view.custom.common.CustomBaseBillsToPay
protected final Button apj_() {
Button button = this.mPayButton;
if (button != null) {
return button;
}
C14957gcv.a("");
return null;
}
@Override // com.scb.phone.view.custom.common.CustomBaseBillsToPay
protected final ImageView aph_() {
ImageView imageView = this.mIconImageView;
if (imageView != null) {
return imageView;
}
C14957gcv.a("");
return null;
}
public final void setInstallmentVisibility(boolean z) {
Button button = this.mInstallmentButton;
if (button == null) {
C14957gcv.a("");
button = null;
}
button.setVisibility(z ? 0 : 4);
}
public final void setInstallmentEnability(boolean z) {
Button button = this.mInstallmentButton;
if (button == null) {
C14957gcv.a("");
button = null;
}
button.setEnabled(z);
}
public static /* synthetic */ void a(CustomInstallmentBillsToPay customInstallmentBillsToPay) {
C14957gcv.e(customInstallmentBillsToPay, "");
InterfaceC12821fIL j = customInstallmentBillsToPay.j();
if (j != null) {
j.f();
}
}
public final void setMStatementDateValueTextView(TextView textView) {
C14957gcv.e(textView, "");
this.mStatementDateValueTextView = textView;
}
public final void setMPayButton(Button button) {
C14957gcv.e(button, "");
this.mPayButton = button;
}
public final void setMMinimumPaymentValueTextView(TextView textView) {
C14957gcv.e(textView, "");
this.mMinimumPaymentValueTextView = textView;
}
public final void setMInstallmentButton(Button button) {
C14957gcv.e(button, "");
this.mInstallmentButton = button;
}
public final void setMIconImageView(ImageView imageView) {
C14957gcv.e(imageView, "");
this.mIconImageView = imageView;
}
public final void setMDueDateValueTextView(TextView textView) {
C14957gcv.e(textView, "");
this.mDueDateValueTextView = textView;
}
public final void setMAmountValueTextView(TextView textView) {
C14957gcv.e(textView, "");
this.mAmountValueTextView = textView;
}
public final void setMAmountTitleTextView(TextView textView) {
C14957gcv.e(textView, "");
this.mAmountTitleTextView = textView;
}
}