CommerceConstants¶
-
public final class
CommerceConstants
¶
Fields¶
CP_APP_ID_META_DATA_NAME¶
-
public static final String
CP_APP_ID_META_DATA_NAME
¶ - To be used in the Application Manifest to hold the CP App Id, so that messages can be communicated between the terminal and this app. Example: <manifest xmlns:android=”http://schemas.android.com/apk/res/android” …>
- <application …>
<meta-data android:name=”com.verifone.commerce.manifest.appid” android:value=”[cp app id]” />
INSUFFICIENT_PERMISSIONS¶
-
public static final int
INSUFFICIENT_PERMISSIONS
¶ The proper constant to communicate with a physical terminal when used with
com.verifone.commerce.payment.TransactionManager.setDebugMode(int)
. const MODE_DEVICE: i32 = 3;
MODE_DEVICE¶
MODE_EMULATOR¶
MODE_SIMULATOR¶
-
public static final int
MODE_SIMULATOR
¶ Tells the service to communicate with a terminal simulator that returns fixed responses when used with
com.verifone.commerce.payment.TransactionManager.setDebugMode(int)
.
MODE_STUB¶
MODE_STUBS_DEBUG¶
-
public static final int
MODE_STUBS_DEBUG
¶ Puts the service in a debug mode that returns fixed responses without communicating with the terminal when used with
com.verifone.commerce.payment.TransactionManager.setDebugMode(int)
.
STATUS_CANCELED¶
-
public static final int
STATUS_CANCELED
¶ The status code when an action has been canceled, generally by sending an abort command, or in the case of user input, canceling the input screen.
STATUS_CONNECTION_FAILED¶
-
public static final int
STATUS_CONNECTION_FAILED
¶ Sent when the connection to the device has been lost and cannot be restored.
Constructors¶
CommerceConstants¶
-
public
CommerceConstants
()¶