PaymentMethod Class

A payment method.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.billing.models._models_py3.ProxyResourceWithTags
PaymentMethod

Constructor

PaymentMethod(*, tags: Dict[str, str] | None = None, family: str | _models.PaymentMethodFamily | None = None, logos: List[_models.PaymentMethodLogo] | None = None, status: str | _models.PaymentMethodStatus | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
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 < > % & ? /.

family

The family of payment method. Known values are: "Other", "None", "CreditCard", "Credits", "CheckWire", "EWallet", "TaskOrder", and "DirectDebit".

logos

The list of logos for the payment method.

status

Status of the payment method. Known values are: "active" and "inactive".

Variables

Name Description
id
str

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}". # pylint: disable=line-too-long

name
str

The name of the resource.

type
str

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

system_data

Azure Resource Manager metadata containing createdBy and modifiedBy information.

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 < > % & ? /.

id_properties_id
str

Id of payment method.

account_holder_name
str

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

display_name
str

The display name of the payment method.

expiration
str

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. Known values are: "Other", "None", "CreditCard", "Credits", "CheckWire", "EWallet", "TaskOrder", and "DirectDebit".

last_four_digits
str

Last four digits of payment method.

logos

The list of logos for the payment method.

payment_method_type
str

The type of payment method.

status

Status of the payment method. Known values are: "active" and "inactive".