com.anywherecommerce.android.sdk.models
Enum TransactionType
-
java.lang.Object
-
java.lang.Enum<TransactionType>
com.anywherecommerce.android.sdk.models.TransactionType -
All Implemented Interfaces:java.io.Serializable, java.lang.Comparable<TransactionType>-
public enum <span class="typeNameLabel">TransactionType</span> extends java.lang.Enum<
Created by Admin on 12/10/2017.
-
<a name="enum.constant.summary"></a>
### Enum Constant Summary
Enum Constant and Description`<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/models/TransactionType.html#ADMIN">ADMIN</a></span>` `<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/models/TransactionType.html#AUTHONLY">AUTHONLY</a></span>` `<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/models/TransactionType.html#CAPTURE">CAPTURE</a></span>` `<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/models/TransactionType.html#REFUND">REFUND</a></span>` `<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/models/TransactionType.html#REVERSEAUTH">REVERSEAUTH</a></span>` `<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/models/TransactionType.html#SALE">SALE</a></span>` `<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/models/TransactionType.html#VOID">VOID</a></span>`
<a name="method.summary"></a>
### Method Summary
Modifier and TypeMethod and Description`static
<a href="#com/anywherecommerce/android/sdk/models/TransactionType.html" title="enum in com.anywherecommerce.android.sdk.models">TransactionType</a>``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/models/TransactionType.html#fromValue-java.lang.String-">fromValue</a></span>(java.lang.String v)` `java.lang.String``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/models/TransactionType.html#getFriendlyName--">getFriendlyName</a></span>()` `java.lang.String``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/models/TransactionType.html#value--">value</a></span>()` `static
<a href="#com/anywherecommerce/android/sdk/models/TransactionType.html" title="enum in com.anywherecommerce.android.sdk.models">TransactionType</a>``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/models/TransactionType.html#valueOf-java.lang.String-">valueOf</a></span>(java.lang.String name)`Returns the enum constant of this type with the specified name.
`static
<a href="#com/anywherecommerce/android/sdk/models/TransactionType.html" title="enum in com.anywherecommerce.android.sdk.models">TransactionType</a>[]``<span class="memberNameLink">
<a href="#com/anywherecommerce/android/sdk/models/TransactionType.html#values--">values</a></span>()`Returns an array containing the constants of this enum type, in the order they are declared.
<a name="methods.inherited.from.class.java.lang.Enum"></a>
### Methods inherited from class java.lang.Enum
`clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`
<a name="methods.inherited.from.class.java.lang.Object"></a>
### Methods inherited from class java.lang.Object
`getClass, notify, notifyAll, wait, wait, wait`
-
<a name="enum.constant.detail"></a>
### Enum Constant Detail
<a name="REVERSEAUTH"></a>
#### REVERSEAUTH
`public static final
<a href="#com/anywherecommerce/android/sdk/models/TransactionType.html" title="enum in com.anywherecommerce.android.sdk.models">TransactionType</a> REVERSEAUTH`
<a name="AUTHONLY"></a>
#### AUTHONLY
`public static final
<a href="#com/anywherecommerce/android/sdk/models/TransactionType.html" title="enum in com.anywherecommerce.android.sdk.models">TransactionType</a> AUTHONLY`
<a name="CAPTURE"></a>
#### CAPTURE
`public static final
<a href="#com/anywherecommerce/android/sdk/models/TransactionType.html" title="enum in com.anywherecommerce.android.sdk.models">TransactionType</a> CAPTURE`
<a name="VOID"></a>
#### VOID
`public static final
<a href="#com/anywherecommerce/android/sdk/models/TransactionType.html" title="enum in com.anywherecommerce.android.sdk.models">TransactionType</a> VOID`
<a name="SALE"></a>
#### SALE
`public static final
<a href="#com/anywherecommerce/android/sdk/models/TransactionType.html" title="enum in com.anywherecommerce.android.sdk.models">TransactionType</a> SALE`
<a name="REFUND"></a>
#### REFUND
`public static final
<a href="#com/anywherecommerce/android/sdk/models/TransactionType.html" title="enum in com.anywherecommerce.android.sdk.models">TransactionType</a> REFUND`
<a name="ADMIN"></a>
#### ADMIN
`public static final
<a href="#com/anywherecommerce/android/sdk/models/TransactionType.html" title="enum in com.anywherecommerce.android.sdk.models">TransactionType</a> ADMIN`
<a name="method.detail"></a>
### Method Detail
<a name="values--"></a>
#### values
`public static
<a href="#com/anywherecommerce/android/sdk/models/TransactionType.html" title="enum in com.anywherecommerce.android.sdk.models">TransactionType</a>[] values()`Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows: ```
for (TransactionType c : TransactionType.values())
System.out.println(c);
```
Returns:an array containing the constants of this enum type, in the order they are declared
<a name="valueOf-java.lang.String-"></a>
#### valueOf
`public static
<a href="#com/anywherecommerce/android/sdk/models/TransactionType.html" title="enum in com.anywherecommerce.android.sdk.models">TransactionType</a> valueOf(java.lang.String name)`Returns the enum constant of this type with the specified name. The string must match _exactly_ an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Parameters:`name` the name of the enum constant to be returned.Returns:the enum constant with the specified nameThrows:`java.lang.IllegalArgumentException` if this enum type has no constant with the specified name`java.lang.NullPointerException` if the argument is null
<a name="value--"></a>
#### value
`public java.lang.String value()`
<a name="fromValue-java.lang.String-"></a>
#### fromValue
`public static
<a href="#com/anywherecommerce/android/sdk/models/TransactionType.html" title="enum in com.anywherecommerce.android.sdk.models">TransactionType</a> fromValue(java.lang.String v)`
<a name="getFriendlyName--"></a>
#### getFriendlyName
`public java.lang.String getFriendlyName()`