### YamlMime:JavaType
uid: "com.azure.resourcemanager.billing.models.CreditType"
fullName: "com.azure.resourcemanager.billing.models.CreditType"
name: "CreditType"
nameWithType: "CreditType"
summary: "The credit type of the transaction."
inheritances:
- ""
- ""
inheritedClassMethods:
- classRef: ""
methodsRef:
- "fromString(java.lang.String,java.lang.Class)?alt=com.azure.core.util.ExpandableStringEnum.fromString&text=fromString\" data-throw-if-not-resolved=\"False\" />"
- "values(java.lang.Class)?alt=com.azure.core.util.ExpandableStringEnum.values&text=values\" data-throw-if-not-resolved=\"False\" />"
- ""
- ""
- ""
- classRef: "java.lang.Object"
methodsRef:
- "clone"
- "finalize"
- "getClass"
- "notify"
- "notifyAll"
- "wait"
- "wait"
- "wait"
syntax: "public final class **CreditType** extends <>"
constructors:
- uid: "com.azure.resourcemanager.billing.models.CreditType.CreditType()"
fullName: "com.azure.resourcemanager.billing.models.CreditType.CreditType()"
name: "CreditType()"
nameWithType: "CreditType.CreditType()"
summary: "Creates a new instance of CreditType value."
deprecatedTag: "Use the factory method."
syntax: "@Deprecatedpublic CreditType()"
desc: "Creates a new instance of CreditType value."
hasDeprecatedTag: true
fields:
- uid: "com.azure.resourcemanager.billing.models.CreditType.AZURE_CREDIT_OFFER"
fullName: "com.azure.resourcemanager.billing.models.CreditType.AZURE_CREDIT_OFFER"
name: "AZURE_CREDIT_OFFER"
nameWithType: "CreditType.AZURE_CREDIT_OFFER"
summary: "Static value AzureCreditOffer for CreditType."
modifiers:
- "static"
- "final"
field:
type: ""
syntax: "public static final CreditType AZURE_CREDIT_OFFER"
desc: "Static value AzureCreditOffer for CreditType."
- uid: "com.azure.resourcemanager.billing.models.CreditType.AZURE_FREE_CREDIT"
fullName: "com.azure.resourcemanager.billing.models.CreditType.AZURE_FREE_CREDIT"
name: "AZURE_FREE_CREDIT"
nameWithType: "CreditType.AZURE_FREE_CREDIT"
summary: "Static value AzureFreeCredit for CreditType."
modifiers:
- "static"
- "final"
field:
type: ""
syntax: "public static final CreditType AZURE_FREE_CREDIT"
desc: "Static value AzureFreeCredit for CreditType."
- uid: "com.azure.resourcemanager.billing.models.CreditType.OTHER"
fullName: "com.azure.resourcemanager.billing.models.CreditType.OTHER"
name: "OTHER"
nameWithType: "CreditType.OTHER"
summary: "Static value Other for CreditType."
modifiers:
- "static"
- "final"
field:
type: ""
syntax: "public static final CreditType OTHER"
desc: "Static value Other for CreditType."
- uid: "com.azure.resourcemanager.billing.models.CreditType.REFUND"
fullName: "com.azure.resourcemanager.billing.models.CreditType.REFUND"
name: "REFUND"
nameWithType: "CreditType.REFUND"
summary: "Static value Refund for CreditType."
modifiers:
- "static"
- "final"
field:
type: ""
syntax: "public static final CreditType REFUND"
desc: "Static value Refund for CreditType."
- uid: "com.azure.resourcemanager.billing.models.CreditType.SERVICE_INTERRUPTION"
fullName: "com.azure.resourcemanager.billing.models.CreditType.SERVICE_INTERRUPTION"
name: "SERVICE_INTERRUPTION"
nameWithType: "CreditType.SERVICE_INTERRUPTION"
summary: "Static value ServiceInterruption for CreditType."
modifiers:
- "static"
- "final"
field:
type: ""
syntax: "public static final CreditType SERVICE_INTERRUPTION"
desc: "Static value ServiceInterruption for CreditType."
methods:
- uid: "com.azure.resourcemanager.billing.models.CreditType.fromString(java.lang.String)"
fullName: "com.azure.resourcemanager.billing.models.CreditType.fromString(String name)"
name: "fromString(String name)"
nameWithType: "CreditType.fromString(String name)"
summary: "Creates or finds a CreditType from its string representation."
modifiers:
- "static"
parameters:
- description: "a name to look for."
name: "name"
type: "String"
syntax: "public static CreditType fromString(String name)"
desc: "Creates or finds a CreditType from its string representation."
returns:
description: "the corresponding CreditType."
type: ""
- uid: "com.azure.resourcemanager.billing.models.CreditType.values()"
fullName: "com.azure.resourcemanager.billing.models.CreditType.values()"
name: "values()"
nameWithType: "CreditType.values()"
summary: "Gets known CreditType values."
modifiers:
- "static"
syntax: "public static Collection values()"
desc: "Gets known CreditType values."
returns:
description: "known CreditType values."
type: "Collection<>"
type: "class"
desc: "The credit type of the transaction. Applies only to credited transactions."
metadata: {}
package: "com.azure.resourcemanager.billing.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-billing:1.0.0