SurchargeCalculationMethod

com.anywherecommerce.android.sdk.models

Enum SurchargeCalculationMethod

  • java.lang.Object

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

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

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

SurchargeCalculationMethod>

Created by Admin on 1/10/2018.



- 

<a name="enum.constant.summary"></a>

### Enum Constant Summary
    
    Enum Constant and Description`<span class="memberNameLink">

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

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

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

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

<a href="#com/anywherecommerce/android/sdk/models/SurchargeCalculationMethod.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/SurchargeCalculationMethod.html#toString--">toString</a></span>()` `java.lang.String``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/models/SurchargeCalculationMethod.html#value--">value</a></span>()` `static 

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

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

<a href="#com/anywherecommerce/android/sdk/models/SurchargeCalculationMethod.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, 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/SurchargeCalculationMethod.html" title="enum in com.anywherecommerce.android.sdk.models">SurchargeCalculationMethod</a> UNSPECIFIED`
<a name="FLAT_RATE"></a>
    

#### FLAT\_RATE
          
          `public static final 

<a href="#com/anywherecommerce/android/sdk/models/SurchargeCalculationMethod.html" title="enum in com.anywherecommerce.android.sdk.models">SurchargeCalculationMethod</a> FLAT_RATE`
<a name="PERCENTAGE_SUBTOTAL"></a>
    

#### PERCENTAGE\_SUBTOTAL
          
          `public static final 

<a href="#com/anywherecommerce/android/sdk/models/SurchargeCalculationMethod.html" title="enum in com.anywherecommerce.android.sdk.models">SurchargeCalculationMethod</a> PERCENTAGE_SUBTOTAL`
<a name="PERCENTAGE_TOTAL"></a>
    

#### PERCENTAGE\_TOTAL
          
          `public static final 

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




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

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

#### values
          
          `public static 

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

#### toString
          
          `public java.lang.String toString()`Overrides:`toString` in class `java.lang.Enum<

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