package com.scb.phone.view.custom.hml; import android.content.Context; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.TextView; import butterknife.BindView; import butterknife.ButterKnife; import com.scb.phone.R; import com.scb.phone.view.custom.tierpricing.TierPricingSimplePromotionView; import com.squareup.picasso.Picasso; import o.C13020fOa; import o.C14957gcv; import o.WZ; /* loaded from: classes5.dex */ public final class CustomLoanSuccessInformation extends LinearLayout { @BindView public TextView amountTitle; @BindView public ImageView counterIcon; @BindView public TextView installmentTitle; @BindView public TextView loanAmount; @BindView public TextView loanRepayment; @BindView public TierPricingSimplePromotionView promotion; public CustomLoanSuccessInformation(Context context) { super(context); ButterKnife.c(this, LayoutInflater.from(getContext()).inflate(R.layout.2131559264, (ViewGroup) this, true)); } public CustomLoanSuccessInformation(Context context, AttributeSet attributeSet) { super(context, attributeSet); ButterKnife.c(this, LayoutInflater.from(getContext()).inflate(R.layout.2131559264, (ViewGroup) this, true)); } public CustomLoanSuccessInformation(Context context, AttributeSet attributeSet, int i) { super(context, attributeSet, i); ButterKnife.c(this, LayoutInflater.from(getContext()).inflate(R.layout.2131559264, (ViewGroup) this, true)); } public final void setIcon(String str) { C14957gcv.e(str, ""); ImageView imageView = this.counterIcon; if (imageView == null) { C14957gcv.a(""); imageView = null; } imageView.setVisibility(0); C13020fOa e = Picasso.d().e(str).b(R.drawable.ic_offer_icon_placeholder).e(R.drawable.ic_offer_icon_placeholder); ImageView imageView2 = this.counterIcon; if (imageView2 == null) { C14957gcv.a(""); imageView2 = null; } e.aBu_(imageView2, null); } public final void setAmountTitle(String str) { C14957gcv.e(str, ""); TextView textView = this.amountTitle; if (textView == null) { C14957gcv.a(""); textView = null; } textView.setText(str); } public final void setAmount(String str) { C14957gcv.e(str, ""); TextView textView = this.loanAmount; if (textView == null) { C14957gcv.a(""); textView = null; } textView.setText(str); } public final void setRepaymentTitle(String str) { C14957gcv.e(str, ""); TextView textView = this.installmentTitle; if (textView == null) { C14957gcv.a(""); textView = null; } textView.setText(str); } public final void setRepayment(String str) { C14957gcv.e(str, ""); TextView textView = this.loanRepayment; if (textView == null) { C14957gcv.a(""); textView = null; } textView.setText(str); } public final void setPromotion(WZ wz) { C14957gcv.e(wz, ""); TierPricingSimplePromotionView tierPricingSimplePromotionView = this.promotion; if (tierPricingSimplePromotionView == null) { C14957gcv.a(""); tierPricingSimplePromotionView = null; } tierPricingSimplePromotionView.setDisplay(wz); } public final void setPromotion(TierPricingSimplePromotionView tierPricingSimplePromotionView) { C14957gcv.e(tierPricingSimplePromotionView, ""); this.promotion = tierPricingSimplePromotionView; } public final void setLoanRepayment(TextView textView) { C14957gcv.e(textView, ""); this.loanRepayment = textView; } public final void setLoanAmount(TextView textView) { C14957gcv.e(textView, ""); this.loanAmount = textView; } public final void setInstallmentTitle(TextView textView) { C14957gcv.e(textView, ""); this.installmentTitle = textView; } public final void setCounterIcon(ImageView imageView) { C14957gcv.e(imageView, ""); this.counterIcon = imageView; } public final void setAmountTitle(TextView textView) { C14957gcv.e(textView, ""); this.amountTitle = textView; } }