Permalink
Cannot retrieve contributors at this time
Switch branches/tags
anelder-fix-locale-strings
areitz/add_new_users_to_ghe
demo-focus
joey-stripe-release-4.1.6
ksun-activity-routing
ksun-address-logging
ksun-address-model
ksun-address-ui
ksun-address-validation
ksun-address
ksun-assign-payment-data
ksun-broadcast-receivers
ksun-bump-support-version
ksun-careful-checkstyle
ksun-checkstyle-changes
ksun-checkstyle-whitespace
ksun-checkstyle
ksun-cleanup
ksun-clear-listener
ksun-configurable-address
ksun-connect-bindings
ksun-country-input
ksun-emoji-store-integration
ksun-espresso-tests
ksun-field-validation
ksun-fix-bugs
ksun-fix-commandline-test
ksun-handle-maestro
ksun-handle-unknown-cards
ksun-international-fields
ksun-international-strings
ksun-localization-scripts
ksun-michael-strings
ksun-normalize-year-test
ksun-p24
ksun-paydata-ready-boolean
ksun-payment-context-launcher
ksun-payment-flow
ksun-payment-session-wiring
ksun-payment-utils
ksun-phone-number
ksun-pre-payment-session
ksun-remain-shipping-method
ksun-rename-tests
ksun-rename
ksun-save-shipping-info
ksun-set-shipping-info
ksun-shipping-info
ksun-shipping-method-parcelable
ksun-shipping-only
ksun-shipping-option-model
ksun-shipping-options
ksun-string-def
ksun-string-descriptions
ksun-stripe-activity
ksun-stripe-textchange
ksun-test-ci
ksun-test-lint
ksun-touch-up-merge
ksun-travis-config
ksun-trim-long-cardnumber
ksun-update-state-better
ksun-view-pager
master
mrmcduf-androidpay5.1.0
mrmcduf-noapple
mrmcduff-5.0.0
mrmcduff-5.1.0
mrmcduff-5.1.1
mrmcduff-6.0.0
mrmcduff-alipay
mrmcduff-alipayreuse
mrmcduff-android27
mrmcduff-ap5.0.0
mrmcduff-buildtools3
mrmcduff-cardui
mrmcduff-cardview
mrmcduff-ciwnpe
mrmcduff-clear
mrmcduff-cleartokens
mrmcduff-completion
mrmcduff-customersession
mrmcduff-designchanges
mrmcduff-dialog
mrmcduff-equals
mrmcduff-errordialog
mrmcduff-errorprogress
mrmcduff-errorsonly
mrmcduff-exampleAP
mrmcduff-exampleadjust
mrmcduff-exampleadjustwithmerge
mrmcduff-fixcserror
mrmcduff-focus
mrmcduff-gradle43
mrmcduff-gradlebump
mrmcduff-gradletouchup
mrmcduff-hawaii
mrmcduff-linting
mrmcduff-logpoof
mrmcduff-logs
mrmcduff-mcvdesign
mrmcduff-namespace
mrmcduff-newdesign
mrmcduff-nomoap
mrmcduff-notasource
mrmcduff-paymentmethods
mrmcduff-paysession
mrmcduff-proguard
mrmcduff-pwgutils
mrmcduff-requiredintent
mrmcduff-sampleupdate
mrmcduff-supportbump
mrmcduff-theme
mrmcduff-themefix
widget
willson-example-version
Nothing to show
Fetching contributors…
| package com.stripe.android; | |
| import android.support.annotation.NonNull; | |
| import android.support.annotation.StringDef; | |
| import java.lang.annotation.Retention; | |
| import java.lang.annotation.RetentionPolicy; | |
| /** | |
| * Represents a listener for the result of payment calls. | |
| */ | |
| public interface PaymentResultListener { | |
| @Retention(RetentionPolicy.SOURCE) | |
| @StringDef({ | |
| SUCCESS, | |
| USER_CANCELLED, | |
| ERROR, | |
| INCOMPLETE | |
| }) | |
| @interface PaymentResult { } | |
| String SUCCESS = "success"; | |
| String USER_CANCELLED = "user_cancelled"; | |
| String ERROR = "error"; | |
| String INCOMPLETE = "incomplete"; | |
| /** | |
| * Called to notify the listener of the result of the payment. | |
| * @param paymentResult success, user_cancelled, or error | |
| */ | |
| void onPaymentResult(@NonNull @PaymentResult String paymentResult); | |
| } |