BillingPaymentMethodData Class

Definition

A class representing the BillingPaymentMethod data model. A payment method.

public class BillingPaymentMethodData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Billing.BillingPaymentMethodData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Billing.BillingPaymentMethodData>
public class BillingPaymentMethodData : Azure.ResourceManager.Models.ResourceData
type BillingPaymentMethodData = class
    inherit ResourceData
    interface IJsonModel<BillingPaymentMethodData>
    interface IPersistableModel<BillingPaymentMethodData>
type BillingPaymentMethodData = class
    inherit ResourceData
Public Class BillingPaymentMethodData
Inherits ResourceData
Implements IJsonModel(Of BillingPaymentMethodData), IPersistableModel(Of BillingPaymentMethodData)
Public Class BillingPaymentMethodData
Inherits ResourceData
Inheritance
BillingPaymentMethodData
Implements

Constructors

BillingPaymentMethodData()

Initializes a new instance of BillingPaymentMethodData.

Properties

AccountHolderName

The account holder name for the payment method. This is only supported for payment methods with family CreditCard.

DisplayName

The display name of the payment method.

Expiration

The expiration month and year of the payment method. This is only supported for payment methods with family CreditCard.

Family

The family of payment method.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
LastFourDigits

Last four digits of payment method.

Logos

The list of logos for the payment method.

Name

The name of the resource.

(Inherited from ResourceData)
PaymentMethodId

Id of payment method.

PaymentMethodType

The type of payment method.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
Status

Status of the payment method.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<BillingPaymentMethodData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<BillingPaymentMethodData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BillingPaymentMethodData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BillingPaymentMethodData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<BillingPaymentMethodData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to