共用方式為


ArmBillingModelFactory.PaymentMethodProjectionProperties Method

Definition

Initializes a new instance of PaymentMethodProjectionProperties.

public static Azure.ResourceManager.Billing.Models.PaymentMethodProjectionProperties PaymentMethodProjectionProperties (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);
static member PaymentMethodProjectionProperties : 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> -> Azure.ResourceManager.Billing.Models.PaymentMethodProjectionProperties
Public Shared Function PaymentMethodProjectionProperties (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) As PaymentMethodProjectionProperties

Parameters

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.

Returns

A new PaymentMethodProjectionProperties instance for mocking.

Applies to