kopia lustrzana https://github.com/ryukoposting/Signal-Android
13 wiersze
331 B
Kotlin
13 wiersze
331 B
Kotlin
package org.thoughtcrime.securesms.components.settings.app.subscription.donate.stripe
|
|
|
|
enum class StripeStage {
|
|
INIT,
|
|
PAYMENT_PIPELINE,
|
|
CANCELLING,
|
|
FAILED,
|
|
COMPLETE;
|
|
|
|
val isInProgress: Boolean get() = this == PAYMENT_PIPELINE || this == CANCELLING
|
|
val isTerminal: Boolean get() = this == FAILED || this == COMPLETE
|
|
}
|