public static final enum

PMError.Type

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.paymill.android.service.PMError.Type

Class Overview

Type of the error that the SDK returns

Summary

Enum Values
PMError.Type  API  The API returned an unexpected result. 
PMError.Type  BRIDGE  The PAYMILL bridge returned an error. 
PMError.Type  INTERNAL  Used for internal errors. 
PMError.Type  IO  There was an error while connecting to the PayMill Service. 
PMError.Type  NOT_INIT  You did not initialize the SDK. 
PMError.Type  SAFE_STORE  The PAYMILL safe store returned an error. 
PMError.Type  WRONG_PARAMS  You have supplied wrong parameters.Use getMessage() for details. 
Public Methods
static PMError.Type valueOf(String name)
final static Type[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final PMError.Type API

The API returned an unexpected result. The raw body of the response is returned in getMessage().

public static final PMError.Type BRIDGE

The PAYMILL bridge returned an error. For the exact error check getBridgeError() . The raw body of the response is returned in getMessage().

public static final PMError.Type INTERNAL

Used for internal errors. These should never happen.
If you encounter one of these, please send an email with a description of what you were doing and the message to support@paymill.com.
Thank You!

public static final PMError.Type IO

There was an error while connecting to the PayMill Service. Use getMessage() for details.

public static final PMError.Type NOT_INIT

You did not initialize the SDK. Run init first.

public static final PMError.Type SAFE_STORE

The PAYMILL safe store returned an error. For the exact error check getSafeStoreError() . The raw body of the response is returned in getMessage().

public static final PMError.Type WRONG_PARAMS

You have supplied wrong parameters.Use getMessage() for details.

Public Methods

public static PMError.Type valueOf (String name)

public static final Type[] values ()