ArmBillingModelFactory.BillingPaymentMethodLinkData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of BillingPaymentMethodLinkData.
public static Azure.ResourceManager.Billing.BillingPaymentMethodLinkData BillingPaymentMethodLinkData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string accountHolderName = default, string displayName = default, string expiration = default, Azure.ResourceManager.Billing.Models.PaymentMethodFamily? family = default, string lastFourDigits = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.PaymentMethodLogo> logos = default, Azure.ResourceManager.Billing.Models.PaymentMethodProjectionProperties paymentMethod = default, Azure.Core.ResourceIdentifier paymentMethodId = default, string paymentMethodType = default, Azure.ResourceManager.Billing.Models.PaymentMethodStatus? status = default, System.Collections.Generic.IDictionary<string,string> tags = default);
static member BillingPaymentMethodLinkData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * Nullable<Azure.ResourceManager.Billing.Models.PaymentMethodFamily> * string * seq<Azure.ResourceManager.Billing.Models.PaymentMethodLogo> * Azure.ResourceManager.Billing.Models.PaymentMethodProjectionProperties * Azure.Core.ResourceIdentifier * string * Nullable<Azure.ResourceManager.Billing.Models.PaymentMethodStatus> * System.Collections.Generic.IDictionary<string, string> -> Azure.ResourceManager.Billing.BillingPaymentMethodLinkData
Public Shared Function BillingPaymentMethodLinkData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional accountHolderName As String = Nothing, Optional displayName As String = Nothing, Optional expiration As String = Nothing, Optional family As Nullable(Of PaymentMethodFamily) = Nothing, Optional lastFourDigits As String = Nothing, Optional logos As IEnumerable(Of PaymentMethodLogo) = Nothing, Optional paymentMethod As PaymentMethodProjectionProperties = Nothing, Optional paymentMethodId As ResourceIdentifier = Nothing, Optional paymentMethodType As String = Nothing, Optional status As Nullable(Of PaymentMethodStatus) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing) As BillingPaymentMethodLinkData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- accountHolderName
- String
The account holder name for the payment method. This is only supported for payment methods with family CreditCard.
- displayName
- String
The display name of the payment method.
- expiration
- String
The expiration month and year of the payment method. This is only supported for payment methods with family CreditCard.
- family
- Nullable<PaymentMethodFamily>
The family of payment method.
- lastFourDigits
- String
Last four digits of payment method.
- logos
- IEnumerable<PaymentMethodLogo>
The list of logos for the payment method.
- paymentMethod
- PaymentMethodProjectionProperties
Projection of a payment method. Will not be returned in this or future versions.
- paymentMethodId
- ResourceIdentifier
Id of payment method. Example: /providers/Microsoft.Billing/paymentMethods/ABCDABCDABC0.
- paymentMethodType
- String
The type of payment method.
- status
- Nullable<PaymentMethodStatus>
Status of the payment method.
- tags
- IDictionary<String,String>
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 < > % & \ ? /.
Returns
A new BillingPaymentMethodLinkData instance for mocking.
Applies to
Azure SDK for .NET