CreditType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. billing. models. CreditType
- com.
- com.
public final class CreditType
extends ExpandableStringEnum<CreditType>
The credit type of the transaction. Applies only to credited transactions.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Credit |
AZURE_CREDIT_OFFER
Static value Azure |
|
static final
Credit |
AZURE_FREE_CREDIT
Static value Azure |
|
static final
Credit |
OTHER
Static value Other for Credit |
|
static final
Credit |
REFUND
Static value Refund for Credit |
|
static final
Credit |
SERVICE_INTERRUPTION
Static value Service |
Constructor Summary
| Constructor | Description |
|---|---|
| CreditType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Credit |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Credit |
fromString(String name)
Creates or finds a Credit |
|
static
Collection<Credit |
values()
Gets known Credit |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
AZURE_CREDIT_OFFER
public static final CreditType AZURE_CREDIT_OFFER
Static value AzureCreditOffer for CreditType.
AZURE_FREE_CREDIT
public static final CreditType AZURE_FREE_CREDIT
Static value AzureFreeCredit for CreditType.
OTHER
public static final CreditType OTHER
Static value Other for CreditType.
REFUND
public static final CreditType REFUND
Static value Refund for CreditType.
SERVICE_INTERRUPTION
public static final CreditType SERVICE_INTERRUPTION
Static value ServiceInterruption for CreditType.
Constructor Details
CreditType
@Deprecated
public CreditType()
Deprecated
Creates a new instance of CreditType value.
Method Details
fromString
public static CreditType fromString(String name)
Creates or finds a CreditType from its string representation.
Parameters:
Returns:
values
public static Collection<CreditType> values()
Gets known CreditType values.
Returns: