discord-jadx/app/src/main/java/com/discord/analytics/generated/events/TrackSubscriptionPaymentSou...

105 lines
6.0 KiB
Java

package com.discord.analytics.generated.events;
import c.d.b.a.a;
import com.discord.analytics.generated.traits.TrackBase;
import com.discord.analytics.generated.traits.TrackBaseReceiver;
import com.discord.api.science.AnalyticsSchema;
import com.discord.api.utcdatetime.UtcDateTime;
import d0.z.d.m;
/* compiled from: TrackSubscriptionPaymentSourceUpdated.kt */
public final class TrackSubscriptionPaymentSourceUpdated implements AnalyticsSchema, TrackBaseReceiver {
private final transient String analyticsSchemaTypeName = "subscription_payment_source_updated";
private final UtcDateTime currentPeriodEnd = null;
private final UtcDateTime currentPeriodStart = null;
private final Long paymentGateway = null;
private final CharSequence paymentGatewayPlanId = null;
private final CharSequence paymentSourceCountry = null;
private final Long paymentSourceGateway = null;
private final Long paymentSourceId = null;
private final Long planId = null;
private final CharSequence previousPaymentSourceCountry = null;
private final Long previousPaymentSourceGateway = null;
private final Long previousPaymentSourceId = null;
private final Long subscriptionId = null;
private final Long subscriptionType = null;
private TrackBase trackBase;
@Override // com.discord.api.science.AnalyticsSchema
public String b() {
return this.analyticsSchemaTypeName;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof TrackSubscriptionPaymentSourceUpdated)) {
return false;
}
TrackSubscriptionPaymentSourceUpdated trackSubscriptionPaymentSourceUpdated = (TrackSubscriptionPaymentSourceUpdated) obj;
return m.areEqual(this.subscriptionId, trackSubscriptionPaymentSourceUpdated.subscriptionId) && m.areEqual(this.subscriptionType, trackSubscriptionPaymentSourceUpdated.subscriptionType) && m.areEqual(this.paymentGatewayPlanId, trackSubscriptionPaymentSourceUpdated.paymentGatewayPlanId) && m.areEqual(this.planId, trackSubscriptionPaymentSourceUpdated.planId) && m.areEqual(this.paymentGateway, trackSubscriptionPaymentSourceUpdated.paymentGateway) && m.areEqual(this.previousPaymentSourceId, trackSubscriptionPaymentSourceUpdated.previousPaymentSourceId) && m.areEqual(this.previousPaymentSourceGateway, trackSubscriptionPaymentSourceUpdated.previousPaymentSourceGateway) && m.areEqual(this.previousPaymentSourceCountry, trackSubscriptionPaymentSourceUpdated.previousPaymentSourceCountry) && m.areEqual(this.paymentSourceId, trackSubscriptionPaymentSourceUpdated.paymentSourceId) && m.areEqual(this.paymentSourceGateway, trackSubscriptionPaymentSourceUpdated.paymentSourceGateway) && m.areEqual(this.paymentSourceCountry, trackSubscriptionPaymentSourceUpdated.paymentSourceCountry) && m.areEqual(this.currentPeriodStart, trackSubscriptionPaymentSourceUpdated.currentPeriodStart) && m.areEqual(this.currentPeriodEnd, trackSubscriptionPaymentSourceUpdated.currentPeriodEnd);
}
public int hashCode() {
Long l = this.subscriptionId;
int i = 0;
int hashCode = (l != null ? l.hashCode() : 0) * 31;
Long l2 = this.subscriptionType;
int hashCode2 = (hashCode + (l2 != null ? l2.hashCode() : 0)) * 31;
CharSequence charSequence = this.paymentGatewayPlanId;
int hashCode3 = (hashCode2 + (charSequence != null ? charSequence.hashCode() : 0)) * 31;
Long l3 = this.planId;
int hashCode4 = (hashCode3 + (l3 != null ? l3.hashCode() : 0)) * 31;
Long l4 = this.paymentGateway;
int hashCode5 = (hashCode4 + (l4 != null ? l4.hashCode() : 0)) * 31;
Long l5 = this.previousPaymentSourceId;
int hashCode6 = (hashCode5 + (l5 != null ? l5.hashCode() : 0)) * 31;
Long l6 = this.previousPaymentSourceGateway;
int hashCode7 = (hashCode6 + (l6 != null ? l6.hashCode() : 0)) * 31;
CharSequence charSequence2 = this.previousPaymentSourceCountry;
int hashCode8 = (hashCode7 + (charSequence2 != null ? charSequence2.hashCode() : 0)) * 31;
Long l7 = this.paymentSourceId;
int hashCode9 = (hashCode8 + (l7 != null ? l7.hashCode() : 0)) * 31;
Long l8 = this.paymentSourceGateway;
int hashCode10 = (hashCode9 + (l8 != null ? l8.hashCode() : 0)) * 31;
CharSequence charSequence3 = this.paymentSourceCountry;
int hashCode11 = (hashCode10 + (charSequence3 != null ? charSequence3.hashCode() : 0)) * 31;
UtcDateTime utcDateTime = this.currentPeriodStart;
int hashCode12 = (hashCode11 + (utcDateTime != null ? utcDateTime.hashCode() : 0)) * 31;
UtcDateTime utcDateTime2 = this.currentPeriodEnd;
if (utcDateTime2 != null) {
i = utcDateTime2.hashCode();
}
return hashCode12 + i;
}
public String toString() {
StringBuilder P = a.P("TrackSubscriptionPaymentSourceUpdated(subscriptionId=");
P.append(this.subscriptionId);
P.append(", subscriptionType=");
P.append(this.subscriptionType);
P.append(", paymentGatewayPlanId=");
P.append(this.paymentGatewayPlanId);
P.append(", planId=");
P.append(this.planId);
P.append(", paymentGateway=");
P.append(this.paymentGateway);
P.append(", previousPaymentSourceId=");
P.append(this.previousPaymentSourceId);
P.append(", previousPaymentSourceGateway=");
P.append(this.previousPaymentSourceGateway);
P.append(", previousPaymentSourceCountry=");
P.append(this.previousPaymentSourceCountry);
P.append(", paymentSourceId=");
P.append(this.paymentSourceId);
P.append(", paymentSourceGateway=");
P.append(this.paymentSourceGateway);
P.append(", paymentSourceCountry=");
P.append(this.paymentSourceCountry);
P.append(", currentPeriodStart=");
P.append(this.currentPeriodStart);
P.append(", currentPeriodEnd=");
return a.B(P, this.currentPeriodEnd, ")");
}
}