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

184 lines
10 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 d0.z.d.m;
/* compiled from: TrackPaymentRefunded.kt */
public final class TrackPaymentRefunded implements AnalyticsSchema, TrackBaseReceiver {
private final Long amount = null;
private final Long amountRefunded = null;
private final transient String analyticsSchemaTypeName = "payment_refunded";
private final Boolean captured = null;
private final Long createdAt = null;
private final CharSequence currency = null;
private final CharSequence failureMessage = null;
private final Boolean isGift = null;
private final Long paymentGateway = null;
private final Long paymentId = null;
private final CharSequence paymentSourceCountry = null;
private final Long paymentSourceId = null;
private final CharSequence paymentType = null;
private final Long price = null;
private final CharSequence refundReason = null;
private final Long refundedBy = null;
private final Boolean refundedOutOfPolicy = null;
private final Long refunderType = null;
private final Long skuId = null;
private final Long skuSubscriptionPlanId = null;
private final Long skuType = null;
private final Long subscriptionCreatedAt = null;
private final Long subscriptionCurrentPeriodEnd = null;
private final Long subscriptionCurrentPeriodStart = null;
private final Long subscriptionId = null;
private final CharSequence subscriptionPaymentGatewayPlanId = null;
private final Long subscriptionPlanId = null;
private final Long subscriptionType = null;
private final Long tax = null;
private final Boolean taxInclusive = 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 TrackPaymentRefunded)) {
return false;
}
TrackPaymentRefunded trackPaymentRefunded = (TrackPaymentRefunded) obj;
return m.areEqual(this.paymentId, trackPaymentRefunded.paymentId) && m.areEqual(this.createdAt, trackPaymentRefunded.createdAt) && m.areEqual(this.paymentType, trackPaymentRefunded.paymentType) && m.areEqual(this.paymentGateway, trackPaymentRefunded.paymentGateway) && m.areEqual(this.price, trackPaymentRefunded.price) && m.areEqual(this.currency, trackPaymentRefunded.currency) && m.areEqual(this.amount, trackPaymentRefunded.amount) && m.areEqual(this.amountRefunded, trackPaymentRefunded.amountRefunded) && m.areEqual(this.tax, trackPaymentRefunded.tax) && m.areEqual(this.taxInclusive, trackPaymentRefunded.taxInclusive) && m.areEqual(this.skuId, trackPaymentRefunded.skuId) && m.areEqual(this.skuType, trackPaymentRefunded.skuType) && m.areEqual(this.skuSubscriptionPlanId, trackPaymentRefunded.skuSubscriptionPlanId) && m.areEqual(this.subscriptionId, trackPaymentRefunded.subscriptionId) && m.areEqual(this.subscriptionType, trackPaymentRefunded.subscriptionType) && m.areEqual(this.subscriptionPaymentGatewayPlanId, trackPaymentRefunded.subscriptionPaymentGatewayPlanId) && m.areEqual(this.subscriptionPlanId, trackPaymentRefunded.subscriptionPlanId) && m.areEqual(this.subscriptionCreatedAt, trackPaymentRefunded.subscriptionCreatedAt) && m.areEqual(this.subscriptionCurrentPeriodStart, trackPaymentRefunded.subscriptionCurrentPeriodStart) && m.areEqual(this.subscriptionCurrentPeriodEnd, trackPaymentRefunded.subscriptionCurrentPeriodEnd) && m.areEqual(this.paymentSourceId, trackPaymentRefunded.paymentSourceId) && m.areEqual(this.paymentSourceCountry, trackPaymentRefunded.paymentSourceCountry) && m.areEqual(this.failureMessage, trackPaymentRefunded.failureMessage) && m.areEqual(this.isGift, trackPaymentRefunded.isGift) && m.areEqual(this.refundReason, trackPaymentRefunded.refundReason) && m.areEqual(this.captured, trackPaymentRefunded.captured) && m.areEqual(this.refunderType, trackPaymentRefunded.refunderType) && m.areEqual(this.refundedBy, trackPaymentRefunded.refundedBy) && m.areEqual(this.refundedOutOfPolicy, trackPaymentRefunded.refundedOutOfPolicy);
}
public int hashCode() {
Long l = this.paymentId;
int i = 0;
int hashCode = (l != null ? l.hashCode() : 0) * 31;
Long l2 = this.createdAt;
int hashCode2 = (hashCode + (l2 != null ? l2.hashCode() : 0)) * 31;
CharSequence charSequence = this.paymentType;
int hashCode3 = (hashCode2 + (charSequence != null ? charSequence.hashCode() : 0)) * 31;
Long l3 = this.paymentGateway;
int hashCode4 = (hashCode3 + (l3 != null ? l3.hashCode() : 0)) * 31;
Long l4 = this.price;
int hashCode5 = (hashCode4 + (l4 != null ? l4.hashCode() : 0)) * 31;
CharSequence charSequence2 = this.currency;
int hashCode6 = (hashCode5 + (charSequence2 != null ? charSequence2.hashCode() : 0)) * 31;
Long l5 = this.amount;
int hashCode7 = (hashCode6 + (l5 != null ? l5.hashCode() : 0)) * 31;
Long l6 = this.amountRefunded;
int hashCode8 = (hashCode7 + (l6 != null ? l6.hashCode() : 0)) * 31;
Long l7 = this.tax;
int hashCode9 = (hashCode8 + (l7 != null ? l7.hashCode() : 0)) * 31;
Boolean bool = this.taxInclusive;
int hashCode10 = (hashCode9 + (bool != null ? bool.hashCode() : 0)) * 31;
Long l8 = this.skuId;
int hashCode11 = (hashCode10 + (l8 != null ? l8.hashCode() : 0)) * 31;
Long l9 = this.skuType;
int hashCode12 = (hashCode11 + (l9 != null ? l9.hashCode() : 0)) * 31;
Long l10 = this.skuSubscriptionPlanId;
int hashCode13 = (hashCode12 + (l10 != null ? l10.hashCode() : 0)) * 31;
Long l11 = this.subscriptionId;
int hashCode14 = (hashCode13 + (l11 != null ? l11.hashCode() : 0)) * 31;
Long l12 = this.subscriptionType;
int hashCode15 = (hashCode14 + (l12 != null ? l12.hashCode() : 0)) * 31;
CharSequence charSequence3 = this.subscriptionPaymentGatewayPlanId;
int hashCode16 = (hashCode15 + (charSequence3 != null ? charSequence3.hashCode() : 0)) * 31;
Long l13 = this.subscriptionPlanId;
int hashCode17 = (hashCode16 + (l13 != null ? l13.hashCode() : 0)) * 31;
Long l14 = this.subscriptionCreatedAt;
int hashCode18 = (hashCode17 + (l14 != null ? l14.hashCode() : 0)) * 31;
Long l15 = this.subscriptionCurrentPeriodStart;
int hashCode19 = (hashCode18 + (l15 != null ? l15.hashCode() : 0)) * 31;
Long l16 = this.subscriptionCurrentPeriodEnd;
int hashCode20 = (hashCode19 + (l16 != null ? l16.hashCode() : 0)) * 31;
Long l17 = this.paymentSourceId;
int hashCode21 = (hashCode20 + (l17 != null ? l17.hashCode() : 0)) * 31;
CharSequence charSequence4 = this.paymentSourceCountry;
int hashCode22 = (hashCode21 + (charSequence4 != null ? charSequence4.hashCode() : 0)) * 31;
CharSequence charSequence5 = this.failureMessage;
int hashCode23 = (hashCode22 + (charSequence5 != null ? charSequence5.hashCode() : 0)) * 31;
Boolean bool2 = this.isGift;
int hashCode24 = (hashCode23 + (bool2 != null ? bool2.hashCode() : 0)) * 31;
CharSequence charSequence6 = this.refundReason;
int hashCode25 = (hashCode24 + (charSequence6 != null ? charSequence6.hashCode() : 0)) * 31;
Boolean bool3 = this.captured;
int hashCode26 = (hashCode25 + (bool3 != null ? bool3.hashCode() : 0)) * 31;
Long l18 = this.refunderType;
int hashCode27 = (hashCode26 + (l18 != null ? l18.hashCode() : 0)) * 31;
Long l19 = this.refundedBy;
int hashCode28 = (hashCode27 + (l19 != null ? l19.hashCode() : 0)) * 31;
Boolean bool4 = this.refundedOutOfPolicy;
if (bool4 != null) {
i = bool4.hashCode();
}
return hashCode28 + i;
}
public String toString() {
StringBuilder R = a.R("TrackPaymentRefunded(paymentId=");
R.append(this.paymentId);
R.append(", createdAt=");
R.append(this.createdAt);
R.append(", paymentType=");
R.append(this.paymentType);
R.append(", paymentGateway=");
R.append(this.paymentGateway);
R.append(", price=");
R.append(this.price);
R.append(", currency=");
R.append(this.currency);
R.append(", amount=");
R.append(this.amount);
R.append(", amountRefunded=");
R.append(this.amountRefunded);
R.append(", tax=");
R.append(this.tax);
R.append(", taxInclusive=");
R.append(this.taxInclusive);
R.append(", skuId=");
R.append(this.skuId);
R.append(", skuType=");
R.append(this.skuType);
R.append(", skuSubscriptionPlanId=");
R.append(this.skuSubscriptionPlanId);
R.append(", subscriptionId=");
R.append(this.subscriptionId);
R.append(", subscriptionType=");
R.append(this.subscriptionType);
R.append(", subscriptionPaymentGatewayPlanId=");
R.append(this.subscriptionPaymentGatewayPlanId);
R.append(", subscriptionPlanId=");
R.append(this.subscriptionPlanId);
R.append(", subscriptionCreatedAt=");
R.append(this.subscriptionCreatedAt);
R.append(", subscriptionCurrentPeriodStart=");
R.append(this.subscriptionCurrentPeriodStart);
R.append(", subscriptionCurrentPeriodEnd=");
R.append(this.subscriptionCurrentPeriodEnd);
R.append(", paymentSourceId=");
R.append(this.paymentSourceId);
R.append(", paymentSourceCountry=");
R.append(this.paymentSourceCountry);
R.append(", failureMessage=");
R.append(this.failureMessage);
R.append(", isGift=");
R.append(this.isGift);
R.append(", refundReason=");
R.append(this.refundReason);
R.append(", captured=");
R.append(this.captured);
R.append(", refunderType=");
R.append(this.refunderType);
R.append(", refundedBy=");
R.append(this.refundedBy);
R.append(", refundedOutOfPolicy=");
return a.C(R, this.refundedOutOfPolicy, ")");
}
}