ArmBillingModelFactory.BillingPaymentMethodData 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 BillingPaymentMethodData.
public static Azure.ResourceManager.Billing.BillingPaymentMethodData BillingPaymentMethodData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.ResourceIdentifier paymentMethodId = 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, string paymentMethodType = default, Azure.ResourceManager.Billing.Models.PaymentMethodStatus? status = default, System.Collections.Generic.IDictionary<string,string> tags = default);
static member BillingPaymentMethodData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.Core.ResourceIdentifier * string * string * string * Nullable<Azure.ResourceManager.Billing.Models.PaymentMethodFamily> * string * seq<Azure.ResourceManager.Billing.Models.PaymentMethodLogo> * string * Nullable<Azure.ResourceManager.Billing.Models.PaymentMethodStatus> * System.Collections.Generic.IDictionary<string, string> -> Azure.ResourceManager.Billing.BillingPaymentMethodData
Public Shared Function BillingPaymentMethodData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional paymentMethodId As ResourceIdentifier = 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 paymentMethodType As String = Nothing, Optional status As Nullable(Of PaymentMethodStatus) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing) As BillingPaymentMethodData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- paymentMethodId
- ResourceIdentifier
Id of payment method.
- 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.
- 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 BillingPaymentMethodData instance for mocking.
Applies to
Azure SDK for .NET