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.ResourceManager.Billing.Models.PaymentMethodFamily? family = default, string paymentMethodType = default, string accountHolderName = default, string expiration = default, string lastFourDigits = default, string displayName = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.PaymentMethodLogo> logos = default, Azure.ResourceManager.Billing.Models.PaymentMethodStatus? status = default);
static member BillingPaymentMethodData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.Billing.Models.PaymentMethodFamily> * string * string * string * string * string * seq<Azure.ResourceManager.Billing.Models.PaymentMethodLogo> * Nullable<Azure.ResourceManager.Billing.Models.PaymentMethodStatus> -> 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 family As Nullable(Of PaymentMethodFamily) = Nothing, Optional paymentMethodType As String = Nothing, Optional accountHolderName As String = Nothing, Optional expiration As String = Nothing, Optional lastFourDigits As String = Nothing, Optional displayName As String = Nothing, Optional logos As IEnumerable(Of PaymentMethodLogo) = Nothing, Optional status As Nullable(Of PaymentMethodStatus) = Nothing) As BillingPaymentMethodData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- family
- Nullable<PaymentMethodFamily>
The family of payment method.
- paymentMethodType
- String
The type of payment method.
- accountHolderName
- String
The account holder name for the payment method. This is only supported for payment methods with family CreditCard.
- expiration
- String
The expiration month and year of the payment method. This is only supported for payment methods with family CreditCard.
- lastFourDigits
- String
Last four digits of payment method.
- displayName
- String
The display name of the payment method.
- logos
- IEnumerable<PaymentMethodLogo>
The list of logos for the payment method.
- status
- Nullable<PaymentMethodStatus>
Status of the payment method.
Returns
A new BillingPaymentMethodData instance for mocking.
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for