- calibrateCardReader(CalibrationHandler) - Method in class com.wepay.android.WePay
-
Use this method to try calibrating a charged card reader that doesn't seem to work on a device.
- CalibrationHandler - Interface in com.wepay.android
-
\interface CalibrationHandler
The Interface CalibrationHandler defines the methods used to communicate information regarding the card reader calibration process.
- CalibrationParameters - Class in com.wepay.android.models
-
The Class CalibrationParameters contains the parameters used to calibrate the card reader.
- CalibrationParameters(String, int, short, float, short, short, int, short, int, int) - Constructor for class com.wepay.android.models.CalibrationParameters
-
- CalibrationResult - Enum in com.wepay.android.enums
-
The Enum CalibrationResult defines all the results that can be returned by the card reader calibration process.
- CardReaderHandler - Interface in com.wepay.android
-
\interface CardReaderHandler
The Interface CardReaderHandler defines the methods used to communicate information regarding the card reader.
- CardReaderHandler.ApplicationSelectionCallback - Interface in com.wepay.android
-
\interface ApplicationSelectionCallback
The Interface ApplicationSelectionCallback defines the callback method used to provide information to the card reader during a Dip transaction.
- CardReaderHandler.CardReaderEmailCallback - Interface in com.wepay.android
-
\interface CardReaderEmailCallback
The Interface CardReaderEmailCallback defines the method used to provide email information to the card reader after a transaction.
- CardReaderHandler.CardReaderResetCallback - Interface in com.wepay.android
-
\interface CardReaderResetCallback
The Interface CardReaderResetCallback defines the method used to provide information to the card reader before a transaction.
- CardReaderHandler.CardReaderSelectionCallback - Interface in com.wepay.android
-
\interface CardReaderSelectionCallback
The Interface CardReaderSelectionCallback defines the callback method used to select which card reader to initialize.
- CardReaderHandler.CardReaderTransactionInfoCallback - Interface in com.wepay.android
-
\interface CardReaderTransactionInfoCallback
The Interface CardReaderTransactionInfoCallback defines the method used to provide transaction information to the card reader before a transaction.
- CardReaderStatus - Enum in com.wepay.android.enums
-
The Enum CardReaderStatus defines all the statuses that can be returned by the card reader.
- CheckoutHandler - Interface in com.wepay.android
-
The Interface CheckoutHandler defines the methods used to return results of a storeSignature operation.
- com.wepay.android - package com.wepay.android
-
- com.wepay.android.enums - package com.wepay.android.enums
-
- com.wepay.android.models - package com.wepay.android.models
-
- Config - Class in com.wepay.android.models
-
The Class Config contains the configuration required to initialize the sdk.
- Config(Context, String, String) - Constructor for class com.wepay.android.models.Config
-
Instantiates a new config.
- CurrencyCode - Enum in com.wepay.android.enums
-
The Enum CurrencyCode defines all currency codes supported by the sdk.
- getAuthorizedAmount() - Method in class com.wepay.android.models.AuthorizationInfo
-
Gets the authorized amount.
- getBillingAddress() - Method in class com.wepay.android.models.PaymentInfo
-
Gets the billing address.
- getCalibrationResultCode() - Method in enum com.wepay.android.enums.CalibrationResult
-
\internal
Gets the code representing the calibration result.
- getCardBlockedError() - Static method in exception com.wepay.android.models.Error
-
\internal
Instantiates card blocked error.
- getCardDeclinedByIssuerError() - Static method in exception com.wepay.android.models.Error
-
\internal
Instantiates card declined by issuer error.
- getCardNotSupportedError() - Static method in exception com.wepay.android.models.Error
-
\internal
Instantiates a card not supported error.
- getCardReaderBatteryLevel(CardReaderHandler, BatteryLevelHandler) - Method in class com.wepay.android.WePay
-
Use this method to get the current battery level of the card reader.
- getCardReaderBatteryTooLowError() - Static method in exception com.wepay.android.models.Error
-
\internal
Instantiates a card reader battery too low error.
- getCardReaderErrorWithMessage(String) - Static method in exception com.wepay.android.models.Error
-
\internal
Instantiates a generic card reader error with the provided message.
- getCardReaderGeneralError() - Static method in exception com.wepay.android.models.Error
-
\internal
Instantiates a card reader general error.
- getCardReaderGeneralErrorWithMessage(String) - Static method in exception com.wepay.android.models.Error
-
- getCardReaderInfo() - Method in class com.wepay.android.models.PaymentInfo
-
\internal
Gets the card reader info.
- getCardReaderInitializationError() - Static method in exception com.wepay.android.models.Error
-
\internal
Instantiates a card reader initialization error.
- getCardReaderNotConnectedError() - Static method in exception com.wepay.android.models.Error
-
\internal
Instantiates a card reader not connected error.
- getCardReaderStatusCode() - Method in enum com.wepay.android.enums.CardReaderStatus
-
\internal
Gets the code representing the card reader status.
- getCardReaderStatusError(String) - Static method in exception com.wepay.android.models.Error
-
\internal
Instantiates a card reader status error.
- getCardReaderTimeoutError() - Static method in exception com.wepay.android.models.Error
-
\internal
Instantiates a card reader timeout error.
- getCardReaderUnableToConnectError() - Static method in exception com.wepay.android.models.Error
-
\internal
Instantiates an unable to connect to card reader error.
- getCardReaderUnknownError() - Static method in exception com.wepay.android.models.Error
-
\internal
Instantiates a card reader unknown error.
- getClientId() - Method in class com.wepay.android.models.Config
-
Gets the client id.
- getCode() - Method in enum com.wepay.android.enums.ErrorCode
-
\internal
Gets the code.
- getContext() - Method in class com.wepay.android.models.Config
-
Gets the context.
- getCurrencyCodeCode() - Method in enum com.wepay.android.enums.CurrencyCode
-
\internal
Gets the code representing the currency code.
- getDeclinedByCardError() - Static method in exception com.wepay.android.models.Error
-
\internal
Instantiates declined by card error.
- getEmail() - Method in class com.wepay.android.models.PaymentInfo
-
Gets the email.
- getEmvTransactionErrorWithMessage(String) - Static method in exception com.wepay.android.models.Error
-
\internal
Instantiates an EMV transaction error with the provided message.
- getEnvironment() - Method in class com.wepay.android.models.Config
-
Gets the environment.
- getErrorCategory() - Method in exception com.wepay.android.models.Error
-
Gets the error category.
- getErrorCode() - Method in exception com.wepay.android.models.Error
-
Gets the error code.
- getErrorDescription() - Method in exception com.wepay.android.models.Error
-
Gets the error description.
- getErrorDomain() - Method in exception com.wepay.android.models.Error
-
Gets the error domain.
- getErrorWithCardReaderResponseData(Map<Parameter, Object>) - Static method in exception com.wepay.android.models.Error
-
- getFailedToGetBatteryLevelError() - Static method in exception com.wepay.android.models.Error
-
\internal
Instantiates failed to get battery level error.
- getFirstName() - Method in class com.wepay.android.models.PaymentInfo
-
Gets the first name.
- getFullName() - Method in class com.wepay.android.models.PaymentInfo
-
Gets the full name
- getInnerException() - Method in exception com.wepay.android.models.Error
-
Gets the inner exception.
- getInvalidApplicationIdError() - Static method in exception com.wepay.android.models.Error
-
\internal
Instantiates invalid application id error.
- getInvalidCardDataError() - Static method in exception com.wepay.android.models.Error
-
\internal
Instantiates a invalid card data error.
- getInvalidCardReaderSelectionError() - Static method in exception com.wepay.android.models.Error
-
\internal
Instantiates a card reader selection error.
- getInvalidSignatureImageError(Exception) - Static method in exception com.wepay.android.models.Error
-
\internal
Instantiates a invalid signature image error.
- getInvalidTransactionAccountIDError() - Static method in exception com.wepay.android.models.Error
-
\internal
Instantiates invalid transaction account ID error.
- getInvalidTransactionAmountError() - Static method in exception com.wepay.android.models.Error
-
\internal
Instantiates invalid transaction amount error.
- getInvalidTransactionCurrencyCodeError() - Static method in exception com.wepay.android.models.Error
-
\internal
Instantiates invalid transaction currency code error.
- getIssuerUnreachableError() - Static method in exception com.wepay.android.models.Error
-
\internal
Instantiates issuer unreachable error.
- getLastName() - Method in class com.wepay.android.models.PaymentInfo
-
Gets the last name.
- getLogLevel() - Method in class com.wepay.android.models.Config
-
Gets the log level.
- getLogLevelCode() - Method in enum com.wepay.android.enums.LogLevel
-
\internal
Gets the code representing the log level.
- getManualInfo() - Method in class com.wepay.android.models.PaymentInfo
-
Gets the manual info.
- getMessage() - Method in exception com.wepay.android.models.Error
-
- getMockConfig() - Method in class com.wepay.android.models.Config
-
Gets the MockConfig instance.
- getMockedDeviceName() - Method in class com.wepay.android.models.MockConfig
-
Determines name of the device being mocked.
- getMockPaymentMethod() - Method in class com.wepay.android.models.MockConfig
-
Determines the mocked payment method used.
- getNameNotFoundError() - Static method in exception com.wepay.android.models.Error
-
\internal
Instantiates a name not found error.
- getNoDataReturnedError() - Static method in exception com.wepay.android.models.Error
-
\internal
Instantiates a no data returned error.
- getPaymentDescription() - Method in class com.wepay.android.models.PaymentInfo
-
Gets the payment description.
- getPaymentMethod() - Method in class com.wepay.android.models.PaymentInfo
-
Gets the payment method.
- getPaymentMethodCannotBeTokenizedError() - Static method in exception com.wepay.android.models.Error
-
\internal
Instantiates payment method cannot be tokenized error.
- getPaymentMethodCode() - Method in enum com.wepay.android.enums.PaymentMethod
-
\internal
Gets the code representing the payment method.
- getRememberedCardReader() - Method in class com.wepay.android.WePay
-
Use this method to get the name of the most recently used card reader.
- getShippingAddress() - Method in class com.wepay.android.models.PaymentInfo
-
Gets the shipping address.
- getTokenId() - Method in class com.wepay.android.models.AuthorizationInfo
-
Gets the token id.
- getTokenId() - Method in class com.wepay.android.models.PaymentToken
-
Gets the token id.
- getTransactionInfoNotProvidedError() - Static method in exception com.wepay.android.models.Error
-
\internal
Instantiates transaction info not provided error.
- getTransactionToken() - Method in class com.wepay.android.models.AuthorizationInfo
-
Gets the transaction token.
- insertPayerEmail(String) - Method in interface com.wepay.android.CardReaderHandler.CardReaderEmailCallback
-
The callback function that must be executed by the app when onPayerEmailRequested() is called by the SDK.
- isBatteryLevelError() - Method in class com.wepay.android.models.MockConfig
-
Determines if a battery level error is mocked.
- isCardReadFailure() - Method in class com.wepay.android.models.MockConfig
-
Determines if a card reading failure is mocked.
- isCardReadTimeout() - Method in class com.wepay.android.models.MockConfig
-
Determines if card reader timeout is mocked.
- isCardTokenizationFailure() - Method in class com.wepay.android.models.MockConfig
-
Determines if a card tokenization failure is mocked.
- isEMVAuthFailure() - Method in class com.wepay.android.models.MockConfig
-
Determines if an EMV authorization failure is mocked.
- isMockCardReaderDetected() - Method in class com.wepay.android.models.MockConfig
-
Determines if the mock card reader is available for the purpose of establishing a connection.
- isMultipleEMVApplication() - Method in class com.wepay.android.models.MockConfig
-
Determines if card having multiple EMV applications is mocked.
- isUseLocation() - Method in class com.wepay.android.models.Config
-
Determines if we should use location services.
- isUseMockCardReader() - Method in class com.wepay.android.models.MockConfig
-
Determines whether mocked card reader is used.
- isUseMockWepayClient() - Method in class com.wepay.android.models.MockConfig
-
Determines if mocked WepayClient is used.
- isUseTestEMVCards() - Method in class com.wepay.android.models.Config
-
Determines if we should use test EMV cards.
- isVirtualTerminal() - Method in class com.wepay.android.models.PaymentInfo
-
Determines if the card info was obtained via Virtual Terminal.
- onAuthorizationError(PaymentInfo, Error) - Method in interface com.wepay.android.AuthorizationHandler
-
Called when an authorization call fails.
- onAuthorizationSuccess(PaymentInfo, AuthorizationInfo) - Method in interface com.wepay.android.AuthorizationHandler
-
Called when an authorization call succeeds.
- onBatteryLevel(int) - Method in interface com.wepay.android.BatteryLevelHandler
-
Gets called when the card reader's battery level is determined.
- onBatteryLevelError(Error) - Method in interface com.wepay.android.BatteryLevelHandler
-
Gets called when we fail to determine the card reader's battery level.
- onCardReaderSelection(CardReaderHandler.CardReaderSelectionCallback, ArrayList<String>) - Method in interface com.wepay.android.CardReaderHandler
-
Gets called when card reader devices have been discovered, to give the app an opportunity to select which card reader to initialize.
- onComplete(CalibrationResult, CalibrationParameters) - Method in interface com.wepay.android.CalibrationHandler
-
Gets called when the calibration process is completed.
- onEMVApplicationSelectionRequested(CardReaderHandler.ApplicationSelectionCallback, ArrayList<String>) - Method in interface com.wepay.android.CardReaderHandler
-
Called when the EMV card contains more than one application.
- onError(Error) - Method in interface com.wepay.android.CardReaderHandler
-
Gets called when the card reader fails to read a card's information.
- onError(Bitmap, String, Error) - Method in interface com.wepay.android.CheckoutHandler
-
Gets called when an error occurs while storing a signature.
- onError(PaymentInfo, Error) - Method in interface com.wepay.android.TokenizationHandler
-
Gets called when a tokenization call fails.
- onPayerEmailRequested(CardReaderHandler.CardReaderEmailCallback) - Method in interface com.wepay.android.CardReaderHandler
-
Gets called so that an email address can be provided before a transaction is authorized.
- onProgress(double) - Method in interface com.wepay.android.CalibrationHandler
-
Gets called when the card reader calibration makes progress.
- onReaderResetRequested(CardReaderHandler.CardReaderResetCallback) - Method in interface com.wepay.android.CardReaderHandler
-
Gets called when the connected card reader is previously configured, to give the app an opportunity to reset the device.
- onStatusChange(CardReaderStatus) - Method in interface com.wepay.android.CardReaderHandler
-
Gets called whenever the card reader changes status.
- onSuccess(PaymentInfo) - Method in interface com.wepay.android.CardReaderHandler
-
Gets called when the card reader reads a card's information successfully.
- onSuccess(String, String) - Method in interface com.wepay.android.CheckoutHandler
-
Gets called when a signature is successfully stored for the given checkout id.
- onSuccess(PaymentInfo, PaymentToken) - Method in interface com.wepay.android.TokenizationHandler
-
Gets called when a tokenization calls succeeds.
- onTransactionInfoRequested(CardReaderHandler.CardReaderTransactionInfoCallback) - Method in interface com.wepay.android.CardReaderHandler
-
Gets called so that the app can provide the amount, currency code and the WePay account Id of the merchant.
- sendBaud - Variable in class com.wepay.android.models.CalibrationParameters
-
- sendVolume - Variable in class com.wepay.android.models.CalibrationParameters
-
- setBatteryLevelError(boolean) - Method in class com.wepay.android.models.MockConfig
-
Sets the option for whether to mock a battery level error.
- setCardReadFailure(boolean) - Method in class com.wepay.android.models.MockConfig
-
Sets the option for whether to mock a card reading failure.
- setCardReadTimeout(boolean) - Method in class com.wepay.android.models.MockConfig
-
Sets the option for whether to mock card reader timeout.
- setCardTokenizationFailure(boolean) - Method in class com.wepay.android.models.MockConfig
-
Sets the option for whether to mock card tokenization failure.
- setEMVAuthFailure(boolean) - Method in class com.wepay.android.models.MockConfig
-
Sets the option for whether to mock an EMV authorization failure.
- setLogLevel(LogLevel) - Method in class com.wepay.android.models.Config
-
Sets the log level.
- setMockCardReaderDetected(boolean) - Method in class com.wepay.android.models.MockConfig
-
Sets the option for whether to mock a card reader that is available for the purpose of
establishing a connection.
- setMockConfig(MockConfig) - Method in class com.wepay.android.models.Config
-
Sets the MockConfig instance to be used.
- setMockedDeviceName(String) - Method in class com.wepay.android.models.MockConfig
-
Sets name for the mocked device.
- setMockPaymentMethod(PaymentMethod) - Method in class com.wepay.android.models.MockConfig
-
Sets the option for mocked payment method to use.
- setMultipleEMVApplication(boolean) - Method in class com.wepay.android.models.MockConfig
-
Sets the option for whether to mock a card with multiple EMV applications.
- setRestartTransactionAfterGeneralError(boolean) - Method in class com.wepay.android.models.Config
-
Sets the option for the transaction to automatically restart after a general error (errorCategory:ERROR_CATEGORY_CARD_READER, errorCode:CARD_READER_GENERAL_ERROR).
- setRestartTransactionAfterOtherErrors(boolean) - Method in class com.wepay.android.models.Config
-
Sets the option for the transaction to automatically restart after an error other than general error.
- setRestartTransactionAfterSuccess(boolean) - Method in class com.wepay.android.models.Config
-
Sets the option for the transaction to automatically restart after a successful swipe.
- setStopCardReaderAfterOperation(boolean) - Method in class com.wepay.android.models.Config
-
Sets the option for the card reader to automatically stop after an operation.
- setUseLocation(boolean) - Method in class com.wepay.android.models.Config
-
Sets the option for using location services for fraud detection purposes.
- setUseMockCardReader(boolean) - Method in class com.wepay.android.models.MockConfig
-
Sets the option for whether to use mocked card reader.
- setUseMockWepayClient(boolean) - Method in class com.wepay.android.models.MockConfig
-
Sets the option for whether to use mocked WepayClient.
- setUseTestEMVCards(boolean) - Method in class com.wepay.android.models.Config
-
Sets the option for using test EMV cards.
- shouldRestartTransactionAfterGeneralError() - Method in class com.wepay.android.models.Config
-
Determines if the transaction should automatically restart after a general error (errorCategory:ERROR_CATEGORY_CARD_READER, errorCode:CARD_READER_GENERAL_ERROR).
- shouldRestartTransactionAfterOtherErrors() - Method in class com.wepay.android.models.Config
-
Determines if the transaction should automatically restart after an error other than general error.
- shouldRestartTransactionAfterSuccess() - Method in class com.wepay.android.models.Config
-
Determines if the transaction should automatically restart after a successful swipe.
- shouldStopCardReaderAfterOperation() - Method in class com.wepay.android.models.Config
-
Determines if the card reader should automatically stop after a transaction is completed.
- startTransactionForReading(CardReaderHandler) - Method in class com.wepay.android.WePay
-
Use this method if you just want to read non-sensitive data from the card, without actually charging the card.
- startTransactionForTokenizing(CardReaderHandler, TokenizationHandler, AuthorizationHandler) - Method in class com.wepay.android.WePay
-
Use this method if you want to tokenize the card info.
- stopCardReader() - Method in class com.wepay.android.WePay
-
Stops the reader.
- storeSignatureImage(Bitmap, String, CheckoutHandler) - Method in class com.wepay.android.WePay
-
Use this method to store a signature image associated with a checkout id on WePay's servers.
- valueOf(String) - Static method in enum com.wepay.android.enums.CalibrationResult
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.wepay.android.enums.CardReaderStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.wepay.android.enums.CurrencyCode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.wepay.android.enums.ErrorCode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.wepay.android.enums.LogLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.wepay.android.enums.PaymentMethod
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.wepay.android.enums.CalibrationResult
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.wepay.android.enums.CardReaderStatus
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.wepay.android.enums.CurrencyCode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.wepay.android.enums.ErrorCode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.wepay.android.enums.LogLevel
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.wepay.android.enums.PaymentMethod
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- voltage - Variable in class com.wepay.android.models.CalibrationParameters
-