public class GoSellPaymentActivity extends BaseActivity implements PaymentOptionsDataManager.PaymentOptionsDataListener, IPaymentProcessListener, OTPFullScreenDialog.ConfirmOTP, ICardDeleteListener
| Modifier and Type | Class and Description |
|---|---|
class |
GoSellPaymentActivity.CardPaymentWebViewClient
The type Card payment web view client.
|
| Modifier and Type | Field and Description |
|---|---|
private AppearanceMode |
apperanceMode |
private CardCredentialsViewModel |
cardCredentialsViewModel |
private Charge |
chargeOrAuthorizeOrSaveCard |
private static int |
CURRENCIES_REQUEST_CODE |
private PaymentOptionsDataManager |
dataSource |
private android.support.v4.app.FragmentManager |
fragmentManager |
private PayButtonView |
payButton |
private RecentSectionViewModel |
recentSectionViewModel |
private boolean |
saveCardChecked |
private SavedCard |
savedCard |
private static int |
SCAN_REQUEST_CODE |
private static int |
WEB_PAYMENT_REQUEST_CODE |
private WebPaymentViewModel |
webPaymentViewModel |
DEFAULT_KEYS_DIALER, DEFAULT_KEYS_DISABLE, DEFAULT_KEYS_SEARCH_GLOBAL, DEFAULT_KEYS_SEARCH_LOCAL, DEFAULT_KEYS_SHORTCUT, FOCUSED_STATE_SET, RESULT_CANCELED, RESULT_FIRST_USER, RESULT_OKACCESSIBILITY_SERVICE, ACCOUNT_SERVICE, ACTIVITY_SERVICE, ALARM_SERVICE, APP_OPS_SERVICE, APPWIDGET_SERVICE, AUDIO_SERVICE, BATTERY_SERVICE, BIND_ABOVE_CLIENT, BIND_ADJUST_WITH_ACTIVITY, BIND_ALLOW_OOM_MANAGEMENT, BIND_AUTO_CREATE, BIND_DEBUG_UNBIND, BIND_EXTERNAL_SERVICE, BIND_IMPORTANT, BIND_NOT_FOREGROUND, BIND_WAIVE_PRIORITY, BLUETOOTH_SERVICE, CAMERA_SERVICE, CAPTIONING_SERVICE, CARRIER_CONFIG_SERVICE, CLIPBOARD_SERVICE, COMPANION_DEVICE_SERVICE, CONNECTIVITY_SERVICE, CONSUMER_IR_SERVICE, CONTEXT_IGNORE_SECURITY, CONTEXT_INCLUDE_CODE, CONTEXT_RESTRICTED, CROSS_PROFILE_APPS_SERVICE, DEVICE_POLICY_SERVICE, DISPLAY_SERVICE, DOWNLOAD_SERVICE, DROPBOX_SERVICE, EUICC_SERVICE, FINGERPRINT_SERVICE, HARDWARE_PROPERTIES_SERVICE, INPUT_METHOD_SERVICE, INPUT_SERVICE, IPSEC_SERVICE, JOB_SCHEDULER_SERVICE, KEYGUARD_SERVICE, LAUNCHER_APPS_SERVICE, LAYOUT_INFLATER_SERVICE, LOCATION_SERVICE, MEDIA_PROJECTION_SERVICE, MEDIA_ROUTER_SERVICE, MEDIA_SESSION_SERVICE, MIDI_SERVICE, MODE_APPEND, MODE_ENABLE_WRITE_AHEAD_LOGGING, MODE_MULTI_PROCESS, MODE_NO_LOCALIZED_COLLATORS, MODE_PRIVATE, MODE_WORLD_READABLE, MODE_WORLD_WRITEABLE, NETWORK_STATS_SERVICE, NFC_SERVICE, NOTIFICATION_SERVICE, NSD_SERVICE, POWER_SERVICE, PRINT_SERVICE, RECEIVER_VISIBLE_TO_INSTANT_APPS, RESTRICTIONS_SERVICE, SEARCH_SERVICE, SENSOR_SERVICE, SHORTCUT_SERVICE, STORAGE_SERVICE, STORAGE_STATS_SERVICE, SYSTEM_HEALTH_SERVICE, TELECOM_SERVICE, TELEPHONY_SERVICE, TELEPHONY_SUBSCRIPTION_SERVICE, TEXT_CLASSIFICATION_SERVICE, TEXT_SERVICES_MANAGER_SERVICE, TV_INPUT_SERVICE, UI_MODE_SERVICE, USAGE_STATS_SERVICE, USB_SERVICE, USER_SERVICE, VIBRATOR_SERVICE, WALLPAPER_SERVICE, WIFI_AWARE_SERVICE, WIFI_P2P_SERVICE, WIFI_RTT_RANGING_SERVICE, WIFI_SERVICE, WINDOW_SERVICE| Constructor and Description |
|---|
GoSellPaymentActivity() |
| Modifier and Type | Method and Description |
|---|---|
void |
addressOnCardClicked()
Address on card clicked.
|
void |
binNumberEntered(java.lang.String binNumber)
Bin number entered.
|
void |
cardDetailsFilled(boolean isFilled,
CardCredentialsViewModel _cardCredentialsViewModel)
Card details filled.
|
void |
cardExpirationDateClicked(CardCredentialsViewModel model)
Card expiration date clicked.
|
private void |
closeActivity() |
private void |
closePaymentActivity() |
void |
confirmOTP()
Confirm otp.
|
void |
didCardDeleted(DeleteCardResponse deleteCardResponse)
Did card delete
|
void |
didCardSavedBefore()
Did card saved before.
|
void |
didReceiveAuthorize(Authorize authorize)
Did receive authorize.
|
void |
didReceiveCharge(Charge charge)
Did receive charge.
|
void |
didReceiveError(GoSellError error)
Did receive error.
|
void |
didReceiveSaveCard(SaveCard saveCard)
Did receive save card.
|
void |
disablePayButton() |
void |
finish() |
private void |
finishActivity() |
void |
fireCardPaymentExtraFeesUserDecision(ExtraFeesStatus userChoice)
Fire card payment extra fees user decision.
|
void |
fireCardTokenizationProcessCompleted(Token token)
Card Tokenization process completed
|
void |
fireSavedCardPaymentExtraFeesUserDecision(ExtraFeesStatus userChoice)
Fire saved card payment extra fees user decision.
|
private void |
fireWebPaymentCallBack(Charge charge) |
void |
fireWebPaymentExtraFeesUserDecision(ExtraFeesStatus choice)
Fire web payment extra fees user decision.
|
private Charge |
getChargeOrAuthorize() |
private SavedCard |
getSavedCard() |
private void |
initCardPaymentProcess() |
private void |
initCardTokenization() |
private void |
initSavedCardPaymentProcess() |
private void |
initViews() |
private boolean |
isTransactionModeSaveCard() |
private boolean |
isTransactionModeTokenizeCard() |
private void |
obtainPaymentURLFromChargeOrAuthorizeOrSaveCard(Charge chargeOrAuthorizeOrSaveCard) |
protected void |
onActivityResult(int requestCode,
int resultCode,
android.content.Intent data) |
protected void |
onCreate(android.os.Bundle savedInstanceState) |
protected void |
onRestart() |
protected void |
onResume() |
private void |
openOTPScreen(Charge charge) |
void |
resendOTP()
Resend otp.
|
void |
saveCardSwitchClicked(boolean isChecked,
int saveCardBlockPosition)
Save card switch clicked.
|
void |
savedCardClickedForDeletion(java.lang.String cardId)
User clicks on delete card
|
private void |
setChargeOrAuthorizeOrSaveCard(Charge chargeOrAuthorizeOrSaveCard) |
private void |
setSelectedCard(SavedCard recentItem) |
private void |
setupChargeOrAuthorizeMode() |
private void |
setupHeader() |
private void |
setupPayButton() |
private void |
setupSaveCardMode() |
private void |
showWebView(java.lang.String url) |
private void |
startCardPaymentProcess(CardCredentialsViewModel paymentOptionViewModel) |
void |
startCurrencySelection(java.util.ArrayList<AmountedCurrency> currencies,
AmountedCurrency selectedCurrency)
Start currency selection.
|
private void |
startSavedCardPaymentProcess() |
void |
startScanCard()
Start scan card.
|
void |
startWebPayment(WebPaymentViewModel model)
start web payment activity
|
private void |
startWebPaymentProcess() |
private void |
stopPayButtonLoadingView() |
private void |
updateDisplayedCards(AmountedCurrency amountedCurrency) |
void |
updatePayButtonWithExtraFees(PaymentOption paymentOption)
Update pay button with extra fees.
|
private void |
updatePayButtonWithFees(PaymentOption paymentOption) |
void |
updatePayButtonWithSavedCardExtraFees(SavedCard recentItem,
RecentSectionViewModel _recentSectionViewModel)
Update pay button with saved card extra fees.
|
getCurrent, onDestroy, onPauseaddContentView, closeOptionsMenu, dispatchKeyEvent, findViewById, getDelegate, getDrawerToggleDelegate, getMenuInflater, getResources, getSupportActionBar, getSupportParentActivityIntent, invalidateOptionsMenu, onConfigurationChanged, onContentChanged, onCreateSupportNavigateUpTaskStack, onKeyDown, onMenuItemSelected, onMenuOpened, onPanelClosed, onPostCreate, onPostResume, onPrepareSupportNavigateUpTaskStack, onSaveInstanceState, onStart, onStop, onSupportActionModeFinished, onSupportActionModeStarted, onSupportContentChanged, onSupportNavigateUp, onTitleChanged, onWindowStartingSupportActionMode, openOptionsMenu, setContentView, setContentView, setContentView, setSupportActionBar, setSupportProgress, setSupportProgressBarIndeterminate, setSupportProgressBarIndeterminateVisibility, setSupportProgressBarVisibility, setTheme, startSupportActionMode, supportInvalidateOptionsMenu, supportNavigateUpTo, supportRequestWindowFeature, supportShouldUpRecreateTaskdump, getLastCustomNonConfigurationInstance, getLifecycle, getSupportFragmentManager, getSupportLoaderManager, getViewModelStore, onAttachFragment, onBackPressed, onCreatePanelMenu, onCreateView, onCreateView, onLowMemory, onMultiWindowModeChanged, onNewIntent, onPictureInPictureModeChanged, onPrepareOptionsPanel, onPreparePanel, onRequestPermissionsResult, onResumeFragments, onRetainCustomNonConfigurationInstance, onRetainNonConfigurationInstance, onStateNotSaved, setEnterSharedElementCallback, setExitSharedElementCallback, startActivityForResult, startActivityForResult, startActivityFromFragment, startActivityFromFragment, startIntentSenderForResult, startIntentSenderForResult, startIntentSenderFromFragment, supportFinishAfterTransition, supportPostponeEnterTransition, supportStartPostponedEnterTransition, validateRequestPermissionsRequestCodedispatchKeyShortcutEvent, getExtraData, putExtraData, superDispatchKeyEventattachBaseContext, closeContextMenu, createPendingResult, dismissDialog, dismissKeyboardShortcutsHelper, dispatchGenericMotionEvent, dispatchPopulateAccessibilityEvent, dispatchTouchEvent, dispatchTrackballEvent, enterPictureInPictureMode, enterPictureInPictureMode, finishActivity, finishActivityFromChild, finishAffinity, finishAfterTransition, finishAndRemoveTask, finishFromChild, getActionBar, getApplication, getCallingActivity, getCallingPackage, getChangingConfigurations, getComponentName, getContentScene, getContentTransitionManager, getCurrentFocus, getFragmentManager, getIntent, getLastNonConfigurationInstance, getLayoutInflater, getLoaderManager, getLocalClassName, getMaxNumPictureInPictureActions, getMediaController, getParent, getParentActivityIntent, getPreferences, getReferrer, getRequestedOrientation, getSearchEvent, getSystemService, getTaskId, getTitle, getTitleColor, getVoiceInteractor, getVolumeControlStream, getWindow, getWindowManager, hasWindowFocus, isActivityTransitionRunning, isChangingConfigurations, isChild, isDestroyed, isFinishing, isImmersive, isInMultiWindowMode, isInPictureInPictureMode, isLocalVoiceInteractionSupported, isTaskRoot, isVoiceInteraction, isVoiceInteractionRoot, managedQuery, moveTaskToBack, navigateUpTo, navigateUpToFromChild, onActionModeFinished, onActionModeStarted, onActivityReenter, onApplyThemeResource, onAttachedToWindow, onAttachFragment, onChildTitleChanged, onContextItemSelected, onContextMenuClosed, onCreate, onCreateContextMenu, onCreateDescription, onCreateDialog, onCreateDialog, onCreateNavigateUpTaskStack, onCreateOptionsMenu, onCreatePanelView, onCreateThumbnail, onDetachedFromWindow, onEnterAnimationComplete, onGenericMotionEvent, onKeyLongPress, onKeyMultiple, onKeyShortcut, onKeyUp, onLocalVoiceInteractionStarted, onLocalVoiceInteractionStopped, onMultiWindowModeChanged, onNavigateUp, onNavigateUpFromChild, onOptionsItemSelected, onOptionsMenuClosed, onPictureInPictureModeChanged, onPostCreate, onPrepareDialog, onPrepareDialog, onPrepareNavigateUpTaskStack, onPrepareOptionsMenu, onProvideAssistContent, onProvideAssistData, onProvideKeyboardShortcuts, onProvideReferrer, onRestoreInstanceState, onRestoreInstanceState, onSaveInstanceState, onSearchRequested, onSearchRequested, onTouchEvent, onTrackballEvent, onTrimMemory, onUserInteraction, onUserLeaveHint, onVisibleBehindCanceled, onWindowAttributesChanged, onWindowFocusChanged, onWindowStartingActionMode, onWindowStartingActionMode, openContextMenu, overridePendingTransition, postponeEnterTransition, recreate, registerForContextMenu, releaseInstance, removeDialog, reportFullyDrawn, requestDragAndDropPermissions, requestPermissions, requestShowKeyboardShortcuts, requestVisibleBehind, requestWindowFeature, requireViewById, runOnUiThread, setActionBar, setContentTransitionManager, setDefaultKeyMode, setEnterSharedElementCallback, setExitSharedElementCallback, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setFinishOnTouchOutside, setImmersive, setIntent, setMediaController, setPictureInPictureParams, setProgress, setProgressBarIndeterminate, setProgressBarIndeterminateVisibility, setProgressBarVisibility, setRequestedOrientation, setResult, setResult, setSecondaryProgress, setShowWhenLocked, setTaskDescription, setTitle, setTitle, setTitleColor, setTurnScreenOn, setVisible, setVolumeControlStream, setVrModeEnabled, shouldShowRequestPermissionRationale, shouldUpRecreateTask, showAssist, showDialog, showDialog, showLockTaskEscapeMessage, startActionMode, startActionMode, startActivities, startActivities, startActivity, startActivity, startActivityFromChild, startActivityFromChild, startActivityFromFragment, startActivityFromFragment, startActivityIfNeeded, startActivityIfNeeded, startIntentSender, startIntentSender, startIntentSenderFromChild, startIntentSenderFromChild, startLocalVoiceInteraction, startLockTask, startManagingCursor, startNextMatchingActivity, startNextMatchingActivity, startPostponedEnterTransition, startSearch, stopLocalVoiceInteraction, stopLockTask, stopManagingCursor, takeKeyEvents, triggerSearch, unregisterForContextMenuapplyOverrideConfiguration, getAssets, getThemebindService, checkCallingOrSelfPermission, checkCallingOrSelfUriPermission, checkCallingPermission, checkCallingUriPermission, checkPermission, checkSelfPermission, checkUriPermission, checkUriPermission, clearWallpaper, createConfigurationContext, createContextForSplit, createDeviceProtectedStorageContext, createDisplayContext, createPackageContext, databaseList, deleteDatabase, deleteFile, deleteSharedPreferences, enforceCallingOrSelfPermission, enforceCallingOrSelfUriPermission, enforceCallingPermission, enforceCallingUriPermission, enforcePermission, enforceUriPermission, enforceUriPermission, fileList, getApplicationContext, getApplicationInfo, getBaseContext, getCacheDir, getClassLoader, getCodeCacheDir, getContentResolver, getDatabasePath, getDataDir, getDir, getExternalCacheDir, getExternalCacheDirs, getExternalFilesDir, getExternalFilesDirs, getExternalMediaDirs, getFilesDir, getFileStreamPath, getMainExecutor, getMainLooper, getNoBackupFilesDir, getObbDir, getObbDirs, getPackageCodePath, getPackageManager, getPackageName, getPackageResourcePath, getSharedPreferences, getSystemServiceName, getWallpaper, getWallpaperDesiredMinimumHeight, getWallpaperDesiredMinimumWidth, grantUriPermission, isDeviceProtectedStorage, isRestricted, moveDatabaseFrom, moveSharedPreferencesFrom, openFileInput, openFileOutput, openOrCreateDatabase, openOrCreateDatabase, peekWallpaper, registerReceiver, registerReceiver, registerReceiver, registerReceiver, removeStickyBroadcast, removeStickyBroadcastAsUser, revokeUriPermission, revokeUriPermission, sendBroadcast, sendBroadcast, sendBroadcastAsUser, sendBroadcastAsUser, sendOrderedBroadcast, sendOrderedBroadcast, sendOrderedBroadcastAsUser, sendStickyBroadcast, sendStickyBroadcastAsUser, sendStickyOrderedBroadcast, sendStickyOrderedBroadcastAsUser, setWallpaper, setWallpaper, startForegroundService, startInstrumentation, startService, stopService, unbindService, unregisterReceivergetColor, getColorStateList, getDrawable, getString, getString, getSystemService, getText, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, registerComponentCallbacks, unregisterComponentCallbacksprivate static final int SCAN_REQUEST_CODE
private static final int CURRENCIES_REQUEST_CODE
private static final int WEB_PAYMENT_REQUEST_CODE
private PaymentOptionsDataManager dataSource
private android.support.v4.app.FragmentManager fragmentManager
private PayButtonView payButton
private CardCredentialsViewModel cardCredentialsViewModel
private RecentSectionViewModel recentSectionViewModel
private boolean saveCardChecked
private Charge chargeOrAuthorizeOrSaveCard
private SavedCard savedCard
private WebPaymentViewModel webPaymentViewModel
private AppearanceMode apperanceMode
protected void onCreate(android.os.Bundle savedInstanceState)
onCreate in class android.support.v7.app.AppCompatActivityprivate void initViews()
private void setupHeader()
private void setupPayButton()
private void setupChargeOrAuthorizeMode()
private void setupSaveCardMode()
private boolean isTransactionModeSaveCard()
private boolean isTransactionModeTokenizeCard()
private void setSelectedCard(SavedCard recentItem)
private SavedCard getSavedCard()
public void startCurrencySelection(java.util.ArrayList<AmountedCurrency> currencies, AmountedCurrency selectedCurrency)
PaymentOptionsDataManager.PaymentOptionsDataListenerstartCurrencySelection in interface PaymentOptionsDataManager.PaymentOptionsDataListenercurrencies - the currenciesselectedCurrency - the selected currencypublic void startWebPayment(WebPaymentViewModel model)
startWebPayment in interface PaymentOptionsDataManager.PaymentOptionsDataListenermodel - the modelprivate void startWebPaymentProcess()
public void startScanCard()
PaymentOptionsDataManager.PaymentOptionsDataListenerstartScanCard in interface PaymentOptionsDataManager.PaymentOptionsDataListenerprivate void startSavedCardPaymentProcess()
private void startCardPaymentProcess(CardCredentialsViewModel paymentOptionViewModel)
private void initSavedCardPaymentProcess()
private void initCardPaymentProcess()
private void initCardTokenization()
public void updatePayButtonWithExtraFees(PaymentOption paymentOption)
PaymentOptionsDataManager.PaymentOptionsDataListenerupdatePayButtonWithExtraFees in interface PaymentOptionsDataManager.PaymentOptionsDataListenerpaymentOption - the payment optionpublic void savedCardClickedForDeletion(@NonNull
java.lang.String cardId)
PaymentOptionsDataManager.PaymentOptionsDataListenersavedCardClickedForDeletion in interface PaymentOptionsDataManager.PaymentOptionsDataListenercardId - to be deletedpublic void disablePayButton()
disablePayButton in interface PaymentOptionsDataManager.PaymentOptionsDataListenerprivate void updatePayButtonWithFees(PaymentOption paymentOption)
public void updatePayButtonWithSavedCardExtraFees(SavedCard recentItem, RecentSectionViewModel _recentSectionViewModel)
PaymentOptionsDataManager.PaymentOptionsDataListenerupdatePayButtonWithSavedCardExtraFees in interface PaymentOptionsDataManager.PaymentOptionsDataListenerrecentItem - the recent item_recentSectionViewModel - the recent section view modelpublic void cardExpirationDateClicked(CardCredentialsViewModel model)
PaymentOptionsDataManager.PaymentOptionsDataListenercardExpirationDateClicked in interface PaymentOptionsDataManager.PaymentOptionsDataListenermodel - the modelpublic void cardDetailsFilled(boolean isFilled,
CardCredentialsViewModel _cardCredentialsViewModel)
PaymentOptionsDataManager.PaymentOptionsDataListenercardDetailsFilled in interface PaymentOptionsDataManager.PaymentOptionsDataListenerisFilled - the is filled_cardCredentialsViewModel - the card credentials view modelpublic void addressOnCardClicked()
PaymentOptionsDataManager.PaymentOptionsDataListeneraddressOnCardClicked in interface PaymentOptionsDataManager.PaymentOptionsDataListenerpublic void saveCardSwitchClicked(boolean isChecked,
int saveCardBlockPosition)
PaymentOptionsDataManager.PaymentOptionsDataListenersaveCardSwitchClicked in interface PaymentOptionsDataManager.PaymentOptionsDataListenerisChecked - the is checkedsaveCardBlockPosition - the save card block positionpublic void binNumberEntered(java.lang.String binNumber)
PaymentOptionsDataManager.PaymentOptionsDataListenerbinNumberEntered in interface PaymentOptionsDataManager.PaymentOptionsDataListenerbinNumber - the bin numberpublic void fireWebPaymentExtraFeesUserDecision(ExtraFeesStatus choice)
PaymentOptionsDataManager.PaymentOptionsDataListenerfireWebPaymentExtraFeesUserDecision in interface PaymentOptionsDataManager.PaymentOptionsDataListenerchoice - the user choicepublic void fireCardPaymentExtraFeesUserDecision(ExtraFeesStatus userChoice)
PaymentOptionsDataManager.PaymentOptionsDataListenerfireCardPaymentExtraFeesUserDecision in interface PaymentOptionsDataManager.PaymentOptionsDataListeneruserChoice - the user choicepublic void fireSavedCardPaymentExtraFeesUserDecision(ExtraFeesStatus userChoice)
PaymentOptionsDataManager.PaymentOptionsDataListenerfireSavedCardPaymentExtraFeesUserDecision in interface PaymentOptionsDataManager.PaymentOptionsDataListeneruserChoice - the user choiceprivate void openOTPScreen(Charge charge)
public void confirmOTP()
OTPFullScreenDialog.ConfirmOTPconfirmOTP in interface OTPFullScreenDialog.ConfirmOTPpublic void resendOTP()
OTPFullScreenDialog.ConfirmOTPresendOTP in interface OTPFullScreenDialog.ConfirmOTPprotected void onActivityResult(int requestCode,
int resultCode,
android.content.Intent data)
onActivityResult in class android.support.v4.app.FragmentActivityprivate void fireWebPaymentCallBack(Charge charge)
private void updateDisplayedCards(AmountedCurrency amountedCurrency)
amountedCurrency - this method will be called after user changes currencyprivate void closePaymentActivity()
private void finishActivity()
public void finish()
finish in class android.app.Activitypublic void didReceiveCharge(Charge charge)
IPaymentProcessListenerdidReceiveCharge in interface IPaymentProcessListenercharge - the chargepublic void didReceiveSaveCard(SaveCard saveCard)
IPaymentProcessListenerdidReceiveSaveCard in interface IPaymentProcessListenersaveCard - the save cardpublic void didCardSavedBefore()
IPaymentProcessListenerdidCardSavedBefore in interface IPaymentProcessListenerpublic void fireCardTokenizationProcessCompleted(Token token)
IPaymentProcessListenerfireCardTokenizationProcessCompleted in interface IPaymentProcessListenerprivate void obtainPaymentURLFromChargeOrAuthorizeOrSaveCard(Charge chargeOrAuthorizeOrSaveCard)
private void showWebView(java.lang.String url)
public void didCardDeleted(DeleteCardResponse deleteCardResponse)
ICardDeleteListenerdidCardDeleted in interface ICardDeleteListenerpublic void didReceiveAuthorize(Authorize authorize)
IPaymentProcessListenerdidReceiveAuthorize in interface IPaymentProcessListenerauthorize - the authorizepublic void didReceiveError(GoSellError error)
IPaymentProcessListenerdidReceiveError in interface IPaymentProcessListenererror - the errorprivate void setChargeOrAuthorizeOrSaveCard(Charge chargeOrAuthorizeOrSaveCard)
private Charge getChargeOrAuthorize()
private void stopPayButtonLoadingView()
protected void onResume()
onResume in class BaseActivityprotected void onRestart()
onRestart in class android.app.Activityprivate void closeActivity()