PaymentMethod

com.anywherecommerce.android.sdk.models

Enum PaymentMethod

  • java.lang.Object

  • java.lang.Enum<PaymentMethod>
    com.anywherecommerce.android.sdk.models.PaymentMethod

  • All Implemented Interfaces:java.io.Serializable, java.lang.Comparable<PaymentMethod>-

    public enum <span class="typeNameLabel">PaymentMethod</span>
    extends java.lang.Enum<
    

PaymentMethod>

Created by Admin on 11/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/PaymentMethod.html#CASH">CASH</a></span>` `<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/models/PaymentMethod.html#CHECK">CHECK</a></span>` `<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/models/PaymentMethod.html#CREDIT">CREDIT</a></span>` `<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/models/PaymentMethod.html#CRYPTO">CRYPTO</a></span>` `<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/models/PaymentMethod.html#DEBIT">DEBIT</a></span>` `<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/models/PaymentMethod.html#STORED_VALUE">STORED_VALUE</a></span>` `<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/models/PaymentMethod.html#UNSPECIFIED">UNSPECIFIED</a></span>`




<a name="method.summary"></a>

### Method Summary
    
    Modifier and TypeMethod and Description`static 

<a href="#com/anywherecommerce/android/sdk/models/PaymentMethod.html" title="enum in com.anywherecommerce.android.sdk.models">PaymentMethod</a>``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/models/PaymentMethod.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/PaymentMethod.html#value--">value</a></span>()` `static 

<a href="#com/anywherecommerce/android/sdk/models/PaymentMethod.html" title="enum in com.anywherecommerce.android.sdk.models">PaymentMethod</a>``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/models/PaymentMethod.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/PaymentMethod.html" title="enum in com.anywherecommerce.android.sdk.models">PaymentMethod</a>[]``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/models/PaymentMethod.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="UNSPECIFIED"></a>
    

#### UNSPECIFIED
          
          `public static final 

<a href="#com/anywherecommerce/android/sdk/models/PaymentMethod.html" title="enum in com.anywherecommerce.android.sdk.models">PaymentMethod</a> UNSPECIFIED`
<a name="DEBIT"></a>
    

#### DEBIT
          
          `public static final 

<a href="#com/anywherecommerce/android/sdk/models/PaymentMethod.html" title="enum in com.anywherecommerce.android.sdk.models">PaymentMethod</a> DEBIT`
<a name="CREDIT"></a>
    

#### CREDIT
          
          `public static final 

<a href="#com/anywherecommerce/android/sdk/models/PaymentMethod.html" title="enum in com.anywherecommerce.android.sdk.models">PaymentMethod</a> CREDIT`
<a name="CASH"></a>
    

#### CASH
          
          `public static final 

<a href="#com/anywherecommerce/android/sdk/models/PaymentMethod.html" title="enum in com.anywherecommerce.android.sdk.models">PaymentMethod</a> CASH`
<a name="CHECK"></a>
    

#### CHECK
          
          `public static final 

<a href="#com/anywherecommerce/android/sdk/models/PaymentMethod.html" title="enum in com.anywherecommerce.android.sdk.models">PaymentMethod</a> CHECK`
<a name="CRYPTO"></a>
    

#### CRYPTO
          
          `public static final 

<a href="#com/anywherecommerce/android/sdk/models/PaymentMethod.html" title="enum in com.anywherecommerce.android.sdk.models">PaymentMethod</a> CRYPTO`
<a name="STORED_VALUE"></a>
    

#### STORED\_VALUE
          
          `public static final 

<a href="#com/anywherecommerce/android/sdk/models/PaymentMethod.html" title="enum in com.anywherecommerce.android.sdk.models">PaymentMethod</a> STORED_VALUE`




<a name="method.detail"></a>

### Method Detail
<a name="values--"></a>
    

#### values
          
          `public static 

<a href="#com/anywherecommerce/android/sdk/models/PaymentMethod.html" title="enum in com.anywherecommerce.android.sdk.models">PaymentMethod</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 (PaymentMethod c : PaymentMethod.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/PaymentMethod.html" title="enum in com.anywherecommerce.android.sdk.models">PaymentMethod</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/PaymentMethod.html" title="enum in com.anywherecommerce.android.sdk.models">PaymentMethod</a> fromValue(java.lang.String v)`