导航菜单

页面标题

页面副标题

Rilo v2.0.21 - CustomerSheetState.java 源代码

正在查看: Rilo v2.0.21 应用的 CustomerSheetState.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package com.stripe.android.customersheet;

import com.stripe.android.customersheet.CustomerSheet;
import com.stripe.android.model.PaymentMethod;
import com.stripe.android.model.StripeIntent;
import com.stripe.android.paymentsheet.model.PaymentSelection;
import com.stripe.android.ui.core.cbc.CardBrandChoiceEligibility;
import com.stripe.android.ui.core.forms.resources.LpmRepository;
import java.util.List;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;

@Metadata(d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\bp\u0018\u00002\u00020\u0001:\u0002\u0002\u0003\u0082\u0001\u0002\u0004\u0005¨\u0006\u0006"}, d2 = {"Lcom/stripe/android/customersheet/CustomerSheetState;", "", "Full", "Loading", "Lcom/stripe/android/customersheet/CustomerSheetState$Full;", "Lcom/stripe/android/customersheet/CustomerSheetState$Loading;", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public interface CustomerSheetState {

    @Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\bÇ\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002¨\u0006\u0003"}, d2 = {"Lcom/stripe/android/customersheet/CustomerSheetState$Loading;", "Lcom/stripe/android/customersheet/CustomerSheetState;", "()V", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
    public static final class Loading implements CustomerSheetState {
        public static final int $stable = 0;
        public static final Loading INSTANCE = new Loading();

        private Loading() {
        }
    }

    @Metadata(d1 = {"\u0000L\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0017\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\b\u0087\b\u0018\u00002\u00020\u0001BO\u0012\b\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0005\u0012\f\u0010\u0006\u001a\b\u0012\u0004\u0012\u00020\b0\u0007\u0012\f\u0010\t\u001a\b\u0012\u0004\u0012\u00020\n0\u0007\u0012\u0006\u0010\u000b\u001a\u00020\f\u0012\b\u0010\r\u001a\u0004\u0018\u00010\u000e\u0012\u0006\u0010\u000f\u001a\u00020\u0010¢\u0006\u0002\u0010\u0011J\u000b\u0010\u001e\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u000b\u0010\u001f\u001a\u0004\u0018\u00010\u0005HÆ\u0003J\u000f\u0010 \u001a\b\u0012\u0004\u0012\u00020\b0\u0007HÆ\u0003J\u000f\u0010!\u001a\b\u0012\u0004\u0012\u00020\n0\u0007HÆ\u0003J\t\u0010\"\u001a\u00020\fHÆ\u0003J\u000b\u0010#\u001a\u0004\u0018\u00010\u000eHÆ\u0003J\t\u0010$\u001a\u00020\u0010HÆ\u0003Ja\u0010%\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u00052\u000e\b\u0002\u0010\u0006\u001a\b\u0012\u0004\u0012\u00020\b0\u00072\u000e\b\u0002\u0010\t\u001a\b\u0012\u0004\u0012\u00020\n0\u00072\b\b\u0002\u0010\u000b\u001a\u00020\f2\n\b\u0002\u0010\r\u001a\u0004\u0018\u00010\u000e2\b\b\u0002\u0010\u000f\u001a\u00020\u0010HÆ\u0001J\u0013\u0010&\u001a\u00020\f2\b\u0010'\u001a\u0004\u0018\u00010(HÖ\u0003J\t\u0010)\u001a\u00020*HÖ\u0001J\t\u0010+\u001a\u00020,HÖ\u0001R\u0011\u0010\u000f\u001a\u00020\u0010¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\u0013R\u0013\u0010\u0002\u001a\u0004\u0018\u00010\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u0015R\u0017\u0010\u0006\u001a\b\u0012\u0004\u0012\u00020\b0\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u0016\u0010\u0017R\u0011\u0010\u000b\u001a\u00020\f¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\u0018R\u0013\u0010\r\u001a\u0004\u0018\u00010\u000e¢\u0006\b\n\u0000\u001a\u0004\b\u0019\u0010\u001aR\u0013\u0010\u0004\u001a\u0004\u0018\u00010\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u001b\u0010\u001cR\u0017\u0010\t\u001a\b\u0012\u0004\u0012\u00020\n0\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u001d\u0010\u0017¨\u0006-"}, d2 = {"Lcom/stripe/android/customersheet/CustomerSheetState$Full;", "Lcom/stripe/android/customersheet/CustomerSheetState;", "config", "Lcom/stripe/android/customersheet/CustomerSheet$Configuration;", "stripeIntent", "Lcom/stripe/android/model/StripeIntent;", "customerPaymentMethods", "", "Lcom/stripe/android/model/PaymentMethod;", "supportedPaymentMethods", "Lcom/stripe/android/ui/core/forms/resources/LpmRepository$SupportedPaymentMethod;", "isGooglePayReady", "", "paymentSelection", "Lcom/stripe/android/paymentsheet/model/PaymentSelection;", "cbcEligibility", "Lcom/stripe/android/ui/core/cbc/CardBrandChoiceEligibility;", "(Lcom/stripe/android/customersheet/CustomerSheet$Configuration;Lcom/stripe/android/model/StripeIntent;Ljava/util/List;Ljava/util/List;ZLcom/stripe/android/paymentsheet/model/PaymentSelection;Lcom/stripe/android/ui/core/cbc/CardBrandChoiceEligibility;)V", "getCbcEligibility", "()Lcom/stripe/android/ui/core/cbc/CardBrandChoiceEligibility;", "getConfig", "()Lcom/stripe/android/customersheet/CustomerSheet$Configuration;", "getCustomerPaymentMethods", "()Ljava/util/List;", "()Z", "getPaymentSelection", "()Lcom/stripe/android/paymentsheet/model/PaymentSelection;", "getStripeIntent", "()Lcom/stripe/android/model/StripeIntent;", "getSupportedPaymentMethods", "component1", "component2", "component3", "component4", "component5", "component6", "component7", "copy", "equals", "other", "", "hashCode", "", "toString", "", "paymentsheet_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
    public static final class Full implements CustomerSheetState {
        public static final int $stable = 8;
        private final CardBrandChoiceEligibility cbcEligibility;
        private final CustomerSheet.Configuration config;
        private final List<PaymentMethod> customerPaymentMethods;
        private final boolean isGooglePayReady;
        private final PaymentSelection paymentSelection;
        private final StripeIntent stripeIntent;
        private final List<LpmRepository.SupportedPaymentMethod> supportedPaymentMethods;

        public static Full copy$default(Full full, CustomerSheet.Configuration configuration, StripeIntent stripeIntent, List list, List list2, boolean z, PaymentSelection paymentSelection, CardBrandChoiceEligibility cardBrandChoiceEligibility, int i, Object obj) {
            if ((i & 1) != 0) {
                configuration = full.config;
            }
            if ((i & 2) != 0) {
                stripeIntent = full.stripeIntent;
            }
            StripeIntent stripeIntent2 = stripeIntent;
            if ((i & 4) != 0) {
                list = full.customerPaymentMethods;
            }
            List list3 = list;
            if ((i & 8) != 0) {
                list2 = full.supportedPaymentMethods;
            }
            List list4 = list2;
            if ((i & 16) != 0) {
                z = full.isGooglePayReady;
            }
            boolean z2 = z;
            if ((i & 32) != 0) {
                paymentSelection = full.paymentSelection;
            }
            PaymentSelection paymentSelection2 = paymentSelection;
            if ((i & 64) != 0) {
                cardBrandChoiceEligibility = full.cbcEligibility;
            }
            return full.copy(configuration, stripeIntent2, list3, list4, z2, paymentSelection2, cardBrandChoiceEligibility);
        }

        public final CustomerSheet.Configuration getConfig() {
            return this.config;
        }

        public final StripeIntent getStripeIntent() {
            return this.stripeIntent;
        }

        public final List<PaymentMethod> component3() {
            return this.customerPaymentMethods;
        }

        public final List<LpmRepository.SupportedPaymentMethod> component4() {
            return this.supportedPaymentMethods;
        }

        public final boolean getIsGooglePayReady() {
            return this.isGooglePayReady;
        }

        public final PaymentSelection getPaymentSelection() {
            return this.paymentSelection;
        }

        public final CardBrandChoiceEligibility getCbcEligibility() {
            return this.cbcEligibility;
        }

        public final Full copy(CustomerSheet.Configuration config, StripeIntent stripeIntent, List<PaymentMethod> customerPaymentMethods, List<LpmRepository.SupportedPaymentMethod> supportedPaymentMethods, boolean isGooglePayReady, PaymentSelection paymentSelection, CardBrandChoiceEligibility cbcEligibility) {
            Intrinsics.checkNotNullParameter(customerPaymentMethods, "customerPaymentMethods");
            Intrinsics.checkNotNullParameter(supportedPaymentMethods, "supportedPaymentMethods");
            Intrinsics.checkNotNullParameter(cbcEligibility, "cbcEligibility");
            return new Full(config, stripeIntent, customerPaymentMethods, supportedPaymentMethods, isGooglePayReady, paymentSelection, cbcEligibility);
        }

        public boolean equals(Object other) {
            if (this == other) {
                return true;
            }
            if (!(other instanceof Full)) {
                return false;
            }
            Full full = (Full) other;
            return Intrinsics.areEqual(this.config, full.config) && Intrinsics.areEqual(this.stripeIntent, full.stripeIntent) && Intrinsics.areEqual(this.customerPaymentMethods, full.customerPaymentMethods) && Intrinsics.areEqual(this.supportedPaymentMethods, full.supportedPaymentMethods) && this.isGooglePayReady == full.isGooglePayReady && Intrinsics.areEqual(this.paymentSelection, full.paymentSelection) && Intrinsics.areEqual(this.cbcEligibility, full.cbcEligibility);
        }

        public int hashCode() {
            CustomerSheet.Configuration configuration = this.config;
            int hashCode = (configuration == null ? 0 : configuration.hashCode()) * 31;
            StripeIntent stripeIntent = this.stripeIntent;
            int hashCode2 = (((((hashCode + (stripeIntent == null ? 0 : stripeIntent.hashCode())) * 31) + this.customerPaymentMethods.hashCode()) * 31) + this.supportedPaymentMethods.hashCode()) * 31;
            boolean z = this.isGooglePayReady;
            int i = z;
            if (z != 0) {
                i = 1;
            }
            int i2 = (hashCode2 + i) * 31;
            PaymentSelection paymentSelection = this.paymentSelection;
            return ((i2 + (paymentSelection != null ? paymentSelection.hashCode() : 0)) * 31) + this.cbcEligibility.hashCode();
        }

        public String toString() {
            return "Full(config=" + this.config + ", stripeIntent=" + this.stripeIntent + ", customerPaymentMethods=" + this.customerPaymentMethods + ", supportedPaymentMethods=" + this.supportedPaymentMethods + ", isGooglePayReady=" + this.isGooglePayReady + ", paymentSelection=" + this.paymentSelection + ", cbcEligibility=" + this.cbcEligibility + ")";
        }

        public Full(CustomerSheet.Configuration configuration, StripeIntent stripeIntent, List<PaymentMethod> list, List<LpmRepository.SupportedPaymentMethod> list2, boolean z, PaymentSelection paymentSelection, CardBrandChoiceEligibility cardBrandChoiceEligibility) {
            Intrinsics.checkNotNullParameter(list, "customerPaymentMethods");
            Intrinsics.checkNotNullParameter(list2, "supportedPaymentMethods");
            Intrinsics.checkNotNullParameter(cardBrandChoiceEligibility, "cbcEligibility");
            this.config = configuration;
            this.stripeIntent = stripeIntent;
            this.customerPaymentMethods = list;
            this.supportedPaymentMethods = list2;
            this.isGooglePayReady = z;
            this.paymentSelection = paymentSelection;
            this.cbcEligibility = cardBrandChoiceEligibility;
        }

        public final CustomerSheet.Configuration getConfig() {
            return this.config;
        }

        public final StripeIntent getStripeIntent() {
            return this.stripeIntent;
        }

        public final List<PaymentMethod> getCustomerPaymentMethods() {
            return this.customerPaymentMethods;
        }

        public final List<LpmRepository.SupportedPaymentMethod> getSupportedPaymentMethods() {
            return this.supportedPaymentMethods;
        }

        public final boolean isGooglePayReady() {
            return this.isGooglePayReady;
        }

        public final PaymentSelection getPaymentSelection() {
            return this.paymentSelection;
        }

        public final CardBrandChoiceEligibility getCbcEligibility() {
            return this.cbcEligibility;
        }
    }
}