Public Member Functions | |
String | getInputType () |
String | getDefaultValue () |
RequestParameters | getRequestParameters () |
Values | getValues () |
Response | generateResponse () |
String | getType () |
UserInputEvent (Parcel in, int parcelVersion) | |
void | writeToParcel (Parcel dest, int flags) |
void | setParcelVersion (int targetParcelVersion) |
String | getValue () |
BigDecimal | getDecimalValue () |
Bitmap | getSignatureBitmap () |
![]() | |
String | getInvoiceId () |
Transaction | getTransaction () |
String | getType () |
Response | generateResponse () |
TransactionEvent (Parcel in, int parcelVersion) | |
void | setParcelVersion (int targetParcelVersion) |
void | writeToParcel (Parcel dest, int flags) |
![]() | |
String | getType () |
Response | generateResponse () |
CommerceEvent (Parcel in, int parcelVersion) | |
void | writeToParcel (Parcel dest, int flags) |
![]() | |
String | getSessionId () |
int | getStatus () |
String | getType () |
String | getMessage () |
Status (Parcel in, int parcelVersion) | |
void | writeToParcel (Parcel dest, int flags) |
int | describeContents () |
![]() | |
BaseParcel (Parcel in, int parcelVersion) | |
void | setParcelVersion (int targetParcelVersion) |
final int | getParcelVersion () |
String | getClassName () |
void | writeToParcel (Parcel dest, int flags) |
int | describeContents () |
Static Public Attributes | |
static final String | RECEIVED_TYPE = "USER_INPUT_RECEIVED_EVENT" |
static final String | REQUEST_TYPE = "USER_INPUT_REQUESTED_EVENT" |
static final String | TYPE = "USER_INPUT_EVENT" |
static final String | INPUT_MASK_CAPABILITY = "INPUT_MASK_CAPABILITY" |
static final Parcelable.Creator< UserInputEvent > | CREATOR |
![]() | |
static final String | TRANSACTION_NOTIFICATION = "TRANSACTION_NOTIFICATION" |
static final String | TRANSACTION_REQUEST = "TRANSACTION_REQUEST" |
static final String | TRANSACTION_PAYMENT_STARTED = "TRANSACTION_PAYMENT_STARTED" |
static final String | TRANSACTION_PAYMENT_REQUIRES_ONLINE_AUTHORIZATION = "TRANSACTION_PAYMENT_REQUIRES_ONLINE_AUTHORIZATION" |
static final String | TRANSACTION_PAYMENT_COMPLETED = "TRANSACTION_PAYMENT_COMPLETED" |
static final String | TRANSACTION_STARTED = "TRANSACTION_STARTED" |
static final String | TRANSACTION_ENDED = "TRANSACTION_ENDED" |
static final String | TRANSACTION_ERROR = "TRANSACTION_ERROR" |
static final String | TRANSACTION_FAILED = "TRANSACTION_FAILED" |
static final String | LOGIN_COMPLETED = "LOGIN_COMPLETED" |
static final String | LOGOUT_COMPLETED = "LOGOUT_COMPLETED" |
static final Parcelable.Creator< TransactionEvent > | CREATOR |
![]() | |
static final String | SESSION_STARTED = "SESSION_STARTED" |
static final String | SESSION_RESUMED = "SESSION_RESUMED" |
static final String | SESSION_ENDED = "SESSION_ENDED" |
static final String | SESSION_CLOSED = "SESSION_CLOSED" |
static final String | SESSION_ERROR = "SESSION_ERROR" |
static final String | SESSION_START_FAILED = "SESSION_START_FAILED" |
static final String | SESSION_RESUME_FAILED = "SESSION_RESUME_FAILED" |
static final String | SESSION_END_FAILED = "SESSION_END_FAILED" |
static final Parcelable.Creator< CommerceEvent > | CREATOR |
![]() | |
static final String | STATUS_SUCCESS = "SUCCESS" |
static final String | STATUS_ERROR = "ERROR" |
static final Parcelable.Creator< Status > | CREATOR |
![]() | |
static final Parcelable.Creator< BaseParcel > | CREATOR |
Additional Inherited Members | |
![]() | |
String | getEventId () |
void | setEventId (String eventId) |
TransactionEvent (String sessionId, int status, String type, String message) | |
![]() | |
CommerceEvent (String sessionId, int status, String type, String message) | |
String | getEventId () |
void | setEventId (String eventId) |
![]() | |
Status (String sessionId, int status, String type, String message) | |
![]() | |
static void | safelySetParcelVersion (final int targetParcelVersion, @Nullable BaseParcel item) |
static void | safelySetParcelVersion (final int targetParcelVersion, @Nullable List<? extends BaseParcel > items) |
static< T extends BaseParcel > void | safelySetParcelVersion (final int targetParcelVersion, @Nullable T[] items) |
Either contains the information requested from the customer, or enables sending a response to collect information from the cashier.
Definition at line 20 of file UserInputEvent.java.
UserInputEvent | ( | Parcel | in, |
int | parcelVersion | ||
) |
Reconstruct the object from a parcel. This should only be used by the system.
Definition at line 124 of file UserInputEvent.java.
Response generateResponse | ( | ) |
Generates a Response object for return to the service.
Definition at line 82 of file UserInputEvent.java.
BigDecimal getDecimalValue | ( | ) |
Use getValues() with Values#getNumericValue() instead.
Definition at line 187 of file UserInputEvent.java.
String getDefaultValue | ( | ) |
If getType() is TYPE, returns the default value from the original request, otherwise this returns the requested default value.
Definition at line 59 of file UserInputEvent.java.
String getInputType | ( | ) |
If getType() is TYPE, returns the requested input type, else if this is the REQUEST_TYPE, returns the input type that is being requested.
Definition at line 51 of file UserInputEvent.java.
RequestParameters getRequestParameters | ( | ) |
Returns the current RequestParameters if this is of type REQUEST_TYPE.
Definition at line 66 of file UserInputEvent.java.
Bitmap getSignatureBitmap | ( | ) |
Use getValues() with Values instead.
Definition at line 200 of file UserInputEvent.java.
String getValue | ( | ) |
Use getValues() with Values#getValue() instead.
Definition at line 174 of file UserInputEvent.java.
Values getValues | ( | ) |
If getType() is TYPE, returns the values as collected by the terminal, otherwise this will be null.
Definition at line 74 of file UserInputEvent.java.
|
static |
Definition at line 166 of file UserInputEvent.java.
|
static |
Enables querying if the device supports masking the input.
Definition at line 41 of file UserInputEvent.java.
|
static |
The type when responding to the TransactionManager#requestUserInput(String, String, String) or the TransactionManager#presentUserOptions(String, String[]) methods.
Definition at line 27 of file UserInputEvent.java.
|
static |
The type when the terminal/POI is requesting input from the cashier.
Definition at line 32 of file UserInputEvent.java.
|
static |
Use RECEIVED_TYPE instead.
Definition at line 36 of file UserInputEvent.java.
This document is the confidential property of Verifone, Inc. Any reproduction or distribution of this document, in whole or in part, or the disclosure of any of the information contained herein, without the prior written consent of Verifone, Inc. is prohibited. This document and any supplemental material supplied as part of any review must be returned to Verifone, Inc. upon request. Notice: This document may go through material revisions over time. While the Company will make every effort to keep readers updated as changes occur, care must be taken by the reader to make sure they are reading the latest version. Version numbers appear in the title page and revision history page of this document. All rights reserved. Verifone, the Verifone logo are either trademarks or registered trademarks of Verifone in the United States and/or other countries. All other trademarks or brand names are properties of their respective holders.