PaymentMethodLink Class
A payment method link.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.billing.models._models_py3.ProxyResourceWithTagsPaymentMethodLink
Constructor
PaymentMethodLink(*, tags: Dict[str, str] | None = None, payment_method: _models.PaymentMethodProperties | None = None, payment_method_id: str | 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 < > % & ? /. |
payment_method
|
Projection of a payment method. Will not be returned in this or future versions. |
payment_method_id
|
Id of payment method. Example: /providers/Microsoft.Billing/paymentMethods/ABCDABCDABC0. |
Variables
Name | Description |
---|---|
id
|
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}". # pylint: disable=line-too-long |
name
|
The name of the resource. |
type
|
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 < > % & ? /. |
account_holder_name
|
The account holder name for the payment method. This is only supported for payment methods with family CreditCard. |
display_name
|
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. Known values are: "Other", "None", "CreditCard", "Credits", "CheckWire", "EWallet", "TaskOrder", and "DirectDebit". |
last_four_digits
|
Last four digits of payment method. |
logos
|
The list of logos for the payment method. |
payment_method
|
Projection of a payment method. Will not be returned in this or future versions. |
payment_method_id
|
Id of payment method. Example: /providers/Microsoft.Billing/paymentMethods/ABCDABCDABC0. |
payment_method_type
|
The type of payment method. |
status
|
Status of the payment method. Known values are: "active" and "inactive". |
Azure SDK for Python