what-the-bank/sources/o/RXU.java

59 lines
1.7 KiB
Java

package o;
import com.google.gson.annotations.SerializedName;
/* loaded from: classes3.dex */
public final class RXU {
@SerializedName("orderReference")
public final String a;
@SerializedName("merchantId")
public final String c;
@SerializedName("paymentAmount")
public final Double d;
@SerializedName("terminalId")
public final String e;
public final String toString() {
String str = this.c;
String str2 = this.e;
String str3 = this.a;
Double d = this.d;
StringBuilder sb = new StringBuilder("CreditCardFullAmountEntity(merchantId=");
sb.append(str);
sb.append(", terminalId=");
sb.append(str2);
sb.append(", orderReference=");
sb.append(str3);
sb.append(", paymentAmount=");
sb.append(d);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
String str = this.c;
int hashCode = str == null ? 0 : str.hashCode();
String str2 = this.e;
int hashCode2 = str2 == null ? 0 : str2.hashCode();
String str3 = this.a;
int hashCode3 = str3 == null ? 0 : str3.hashCode();
Double d = this.d;
return (((((hashCode * 31) + hashCode2) * 31) + hashCode3) * 31) + (d != null ? d.hashCode() : 0);
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof RXU)) {
return false;
}
RXU rxu = (RXU) obj;
return C14957gcv.b((Object) this.c, (Object) rxu.c) && C14957gcv.b((Object) this.e, (Object) rxu.e) && C14957gcv.b((Object) this.a, (Object) rxu.a) && C14957gcv.b(this.d, rxu.d);
}
}