content: package com.adyen.model.nexo;
  
  import io.swagger.v3.oas.annotations.media.Schema;
  import java.util.Arrays;
  import javax.xml.bind.annotation.XmlEnum;
  import javax.xml.bind.annotation.XmlEnumValue;
  import javax.xml.bind.annotation.XmlType;
  
  /**
   * Java class for StoredValueTransactionType.
   *
   * <p>The following schema fragment specifies the expected content contained within this class.
   *
   * <pre>
   * &lt;simpleType name="StoredValueTransactionType"&gt;
   *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
   *     &lt;enumeration value="Reserve"/&gt;
   *     &lt;enumeration value="Activate"/&gt;
   *     &lt;enumeration value="Load"/&gt;
   *     &lt;enumeration value="Unload"/&gt;
   *     &lt;enumeration value="Reverse"/&gt;
   *     &lt;enumeration value="Duplicate"/&gt;
   *   &lt;/restriction&gt;
   * &lt;/simpleType&gt;
   * </pre>
   */
  @XmlType(name = "StoredValueTransactionType")
  @XmlEnum
  public enum StoredValueTransactionType {
  
    /** Reserve the account (e.g. get an activation code) */
    @XmlEnumValue("Reserve")
    @Schema(description = "Reserve the account (e.g. get an activation code)")
    RESERVE("Reserve"),
  
    /** Activate the account or the card */
    @XmlEnumValue("Activate")
    @Schema(description = "Activate the account or the card")
    ACTIVATE("Activate"),
  
    /** Load the account or the card with money */
    @XmlEnumValue("Load")
    @Schema(description = "Load the account or the card with money")
    LOAD("Load"),
  
    /** Unload the account */
    @XmlEnumValue("Unload")
    @Schema(description = "Unload the account")
    UNLOAD("Unload"),
  
    /** Reverse an activation or loading. */
    @XmlEnumValue("Reverse")
    @Schema(description = "Reverse an activation or loading.")
    REVERSE("Reverse"),
  
    /** Duplicate the code or number provided by the loading or activation */
    @XmlEnumValue("Duplicate")
    @Schema(description = "Duplicate the code or number provided by the loading or activation")
    DUPLICATE("Duplicate");
    private final String value;
  
    StoredValueTransactionType(String v) {
      value = v;
    }
  
    /**
     * Value string.
     *
     * @return the string
     */
    public String value() {
      return value;
    }
  
    /**
     * Returns the enum constant matching the given string, or {@code null} if no match is found.
     *
     * @param v string value
     * @return the StoredValueTransactionType, or {@code null} if no match is found.
     */
    public static StoredValueTransactionType fromValue(String v) {
      return Arrays.stream(values()).filter(s -> s.value.equals(v)).findFirst().orElse(null);
    }
  }
  