Package com.wallee.android.till.sdk
Class Utils
- java.lang.Object
-
- com.wallee.android.till.sdk.Utils
-
public class Utils extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATI_EVENT
static String
ATI_EVENT_ID
static String
LOG_MESSAGE
static String
LOG_TYPE
static String
PACKAGE
-
Constructor Summary
Constructors Constructor Description Utils()
-
Method Summary
-
-
-
Field Detail
-
PACKAGE
public static final String PACKAGE
- See Also:
- Constant Field Values
-
LOG_TYPE
public static final String LOG_TYPE
- See Also:
- Constant Field Values
-
LOG_MESSAGE
public static final String LOG_MESSAGE
- See Also:
- Constant Field Values
-
ATI_EVENT
public static final String ATI_EVENT
- See Also:
- Constant Field Values
-
ATI_EVENT_ID
public static final String ATI_EVENT_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSerializable
public static Serializable getSerializable(Bundle bundle)
-
toBundle
public static Bundle toBundle(Serializable data)
-
getTransaction
public static Transaction getTransaction(Bundle bundle)
-
toBundle
public static Bundle toBundle(Transaction transaction)
-
getTransactionResponse
public static TransactionResponse getTransactionResponse(Bundle bundle)
-
toBundle
public static Bundle toBundle(TransactionResponse transaction)
-
getTransactionCompletion
public static TransactionCompletion getTransactionCompletion(Bundle bundle)
-
toBundle
public static Bundle toBundle(TransactionCompletion transaction)
-
getTransactionCompletionResponse
public static TransactionCompletionResponse getTransactionCompletionResponse(Bundle bundle)
-
toBundle
public static Bundle toBundle(TransactionCompletionResponse transaction)
-
getTransactionVoid
public static TransactionVoid getTransactionVoid(Bundle bundle)
-
toBundle
public static Bundle toBundle(TransactionVoid transactionVoid)
-
getTransactionVoidResponse
public static TransactionVoidResponse getTransactionVoidResponse(Bundle bundle)
-
toBundle
public static Bundle toBundle(TransactionVoidResponse transaction)
-
getCancelationResult
public static CancelationResult getCancelationResult(Bundle bundle)
-
toBundle
public static Bundle toBundle(CancelationResult result)
-
getSubmissionResult
public static SubmissionResult getSubmissionResult(Bundle bundle)
-
toBundle
public static Bundle toBundle(SubmissionResult result)
-
getTransmissionResult
public static TransmissionResult getTransmissionResult(Bundle bundle)
-
toBundle
public static Bundle toBundle(TransmissionResult result)
-
getFinalBalanceResult
public static FinalBalanceResult getFinalBalanceResult(Bundle bundle)
-
toBundle
public static Bundle toBundle(FinalBalanceResult result)
-
getGeneratePanTokenResponse
public static GeneratePanTokenResponse getGeneratePanTokenResponse(Bundle bundle)
-
getPinpadInformationResponse
public static GetPinpadInformationResponse getPinpadInformationResponse(Bundle bundle)
-
getConfigDataResponse
public static GetConfigDataResponse getConfigDataResponse(Bundle bundle)
-
toBundle
public static Bundle toBundle(GeneratePanTokenResponse result)
-
toBundle
public static Bundle toBundle(GetPinpadInformationResponse result)
-
toBundle
public static Bundle toBundle(GetConfigDataResponse result)
-
getConfigurationResult
public static ConfigurationResult getConfigurationResult(Bundle bundle)
-
toBundle
public static Bundle toBundle(ConfigurationResult result)
-
getInitialisationResult
public static InitialisationResult getInitialisationResult(Bundle bundle)
-
toBundle
public static Bundle toBundle(InitialisationResult result)
-
openSettings
public static void openSettings(Context context)
-
handleFailedToConnectVpj
public static void handleFailedToConnectVpj(Context context)
-
enableSystemBar
public static void enableSystemBar(Context context)
-
disableSystemBar
public static void disableSystemBar(Context context)
-
-