
com.azure.resourcemanager.billing.models.RefundReasonCode Maven / Gradle / Ivy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.billing.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* The reason for refund.
*/
public final class RefundReasonCode extends ExpandableStringEnum {
/**
* Static value Other for RefundReasonCode.
*/
public static final RefundReasonCode OTHER = fromString("Other");
/**
* Static value AccidentalConversion for RefundReasonCode.
*/
public static final RefundReasonCode ACCIDENTAL_CONVERSION = fromString("AccidentalConversion");
/**
* Static value UnclearPricing for RefundReasonCode.
*/
public static final RefundReasonCode UNCLEAR_PRICING = fromString("UnclearPricing");
/**
* Static value AccidentalPurchase for RefundReasonCode.
*/
public static final RefundReasonCode ACCIDENTAL_PURCHASE = fromString("AccidentalPurchase");
/**
* Static value ForgotToCancel for RefundReasonCode.
*/
public static final RefundReasonCode FORGOT_TO_CANCEL = fromString("ForgotToCancel");
/**
* Static value UnclearDocumentation for RefundReasonCode.
*/
public static final RefundReasonCode UNCLEAR_DOCUMENTATION = fromString("UnclearDocumentation");
/**
* Creates a new instance of RefundReasonCode value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public RefundReasonCode() {
}
/**
* Creates or finds a RefundReasonCode from its string representation.
*
* @param name a name to look for.
* @return the corresponding RefundReasonCode.
*/
public static RefundReasonCode fromString(String name) {
return fromString(name, RefundReasonCode.class);
}
/**
* Gets known RefundReasonCode values.
*
* @return known RefundReasonCode values.
*/
public static Collection values() {
return values(RefundReasonCode.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy