public class DropInActivity extends BaseActivity implements SupportedPaymentMethodsAdapter.PaymentMethodSelectedListener
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
EXTRA_ERROR
Errors are returned as the serializable value of this key in the data intent in
Activity.onActivityResult(int, int, android.content.Intent) if
responseCode is not Activity.RESULT_OK or
Activity.RESULT_CANCELED. |
protected android.widget.ListView |
mSupportedPaymentMethodListView |
mBraintreeFragment, mClientTokenPresent, mConfiguration, mDropInRequest| Constructor and Description |
|---|
DropInActivity() |
| Modifier and Type | Method and Description |
|---|---|
void |
finish() |
protected void |
onActivityResult(int requestCode,
int resultCode,
android.content.Intent data) |
void |
onBackgroundClicked(android.view.View v) |
void |
onBackPressed() |
void |
onCancel(int requestCode) |
void |
onConfigurationFetched(Configuration configuration) |
protected void |
onCreate(android.os.Bundle savedInstanceState) |
void |
onError(java.lang.Exception error) |
void |
onPaymentMethodNonceCreated(PaymentMethodNonce paymentMethodNonce) |
void |
onPaymentMethodNoncesUpdated(java.util.List<PaymentMethodNonce> paymentMethodNonces) |
void |
onPaymentMethodSelected(PaymentMethodType type) |
protected void |
onSaveInstanceState(android.os.Bundle outState) |
finish, finish, getBraintreeFragment, shouldRequestThreeDSecureVerificationpublic static final java.lang.String EXTRA_ERROR
Activity.onActivityResult(int, int, android.content.Intent) if
responseCode is not Activity.RESULT_OK or
Activity.RESULT_CANCELED.protected android.widget.ListView mSupportedPaymentMethodListView
protected void onCreate(android.os.Bundle savedInstanceState)
onCreate in class BaseActivitypublic void onConfigurationFetched(Configuration configuration)
public void onCancel(int requestCode)
public void onError(java.lang.Exception error)
public void onPaymentMethodNonceCreated(PaymentMethodNonce paymentMethodNonce)
public void onPaymentMethodSelected(PaymentMethodType type)
onPaymentMethodSelected in interface SupportedPaymentMethodsAdapter.PaymentMethodSelectedListenerpublic void onPaymentMethodNoncesUpdated(java.util.List<PaymentMethodNonce> paymentMethodNonces)
protected void onSaveInstanceState(android.os.Bundle outState)
onSaveInstanceState in class BaseActivityprotected void onActivityResult(int requestCode,
int resultCode,
android.content.Intent data)
public void onBackgroundClicked(android.view.View v)
public void onBackPressed()
public void finish()