Package com.adyen.model.management
Enum UpdateStoreRequest.StatusEnum
- java.lang.Object
-
- java.lang.Enum<UpdateStoreRequest.StatusEnum>
-
- com.adyen.model.management.UpdateStoreRequest.StatusEnum
-
- All Implemented Interfaces:
Serializable,Comparable<UpdateStoreRequest.StatusEnum>
- Enclosing class:
- UpdateStoreRequest
public static enum UpdateStoreRequest.StatusEnum extends Enum<UpdateStoreRequest.StatusEnum>
The status of the store. Possible values are: - **active**: This value is assigned automatically when a store is created. - **inactive**: The maximum [transaction limits and number of Store-and-Forward transactions](https://docs.adyen.com/point-of-sale/determine-account-structure/configure-features#payment-features) for the store are set to 0. This blocks new transactions, but captures are still possible. - **closed**: The terminals of the store are reassigned to the merchant inventory, so they can't process payments. You can change the status from **active** to **inactive**, and from **inactive** to **active** or **closed**. Once **closed**, a store can't be reopened.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateStoreRequest.StatusEnumfromValue(String value)StringgetValue()StringtoString()static UpdateStoreRequest.StatusEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static UpdateStoreRequest.StatusEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVE
public static final UpdateStoreRequest.StatusEnum ACTIVE
-
CLOSED
public static final UpdateStoreRequest.StatusEnum CLOSED
-
INACTIVE
public static final UpdateStoreRequest.StatusEnum INACTIVE
-
-
Method Detail
-
values
public static UpdateStoreRequest.StatusEnum[] 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 (UpdateStoreRequest.StatusEnum c : UpdateStoreRequest.StatusEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UpdateStoreRequest.StatusEnum valueOf(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 name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<UpdateStoreRequest.StatusEnum>
-
fromValue
public static UpdateStoreRequest.StatusEnum fromValue(String value)
-
-