### YamlMime:JavaType
uid: "com.azure.resourcemanager.billing.models.FailedPayment"
fullName: "com.azure.resourcemanager.billing.models.FailedPayment"
name: "FailedPayment"
nameWithType: "FailedPayment"
summary: "A failed payment."
inheritances:
- ""
inheritedClassMethods:
- classRef: "java.lang.Object"
methodsRef:
- "clone"
- "equals"
- "finalize"
- "getClass"
- "hashCode"
- "notify"
- "notifyAll"
- "toString"
- "wait"
- "wait"
- "wait"
syntax: "public final class **FailedPayment** implements <>"
constructors:
- uid: "com.azure.resourcemanager.billing.models.FailedPayment.FailedPayment()"
fullName: "com.azure.resourcemanager.billing.models.FailedPayment.FailedPayment()"
name: "FailedPayment()"
nameWithType: "FailedPayment.FailedPayment()"
summary: "Creates an instance of FailedPayment class."
syntax: "public FailedPayment()"
desc: "Creates an instance of FailedPayment class."
methods:
- uid: "com.azure.resourcemanager.billing.models.FailedPayment.date()"
fullName: "com.azure.resourcemanager.billing.models.FailedPayment.date()"
name: "date()"
nameWithType: "FailedPayment.date()"
summary: "Get the date property: The date when the payment was attempted."
syntax: "public OffsetDateTime date()"
desc: "Get the date property: The date when the payment was attempted."
returns:
description: "the date value."
type: "OffsetDateTime"
- uid: "com.azure.resourcemanager.billing.models.FailedPayment.failedPaymentReason()"
fullName: "com.azure.resourcemanager.billing.models.FailedPayment.failedPaymentReason()"
name: "failedPaymentReason()"
nameWithType: "FailedPayment.failedPaymentReason()"
summary: "Get the failedPaymentReason property: The reason that the payment failed."
syntax: "public FailedPaymentReason failedPaymentReason()"
desc: "Get the failedPaymentReason property: The reason that the payment failed."
returns:
description: "the failedPaymentReason value."
type: ""
- uid: "com.azure.resourcemanager.billing.models.FailedPayment.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.billing.models.FailedPayment.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "FailedPayment.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of FailedPayment from the JsonReader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: ""
syntax: "public static FailedPayment fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the FailedPayment."
type: "IOException"
desc: "Reads an instance of FailedPayment from the JsonReader."
returns:
description: "An instance of FailedPayment if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
type: ""
- uid: "com.azure.resourcemanager.billing.models.FailedPayment.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.billing.models.FailedPayment.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "FailedPayment.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: ""
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "IOException"
returns:
type: ""
- uid: "com.azure.resourcemanager.billing.models.FailedPayment.validate()"
fullName: "com.azure.resourcemanager.billing.models.FailedPayment.validate()"
name: "validate()"
nameWithType: "FailedPayment.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
type: "class"
desc: "A failed payment."
implements:
- "<>"
metadata: {}
package: "com.azure.resourcemanager.billing.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-billing:1.0.0