共用方式為


ArmBillingModelFactory.BillingInvoiceFailedPayment Method

Definition

Initializes a new instance of BillingInvoiceFailedPayment.

public static Azure.ResourceManager.Billing.Models.BillingInvoiceFailedPayment BillingInvoiceFailedPayment (DateTimeOffset? on = default, Azure.ResourceManager.Billing.Models.BillingInvoiceFailedPaymentReason? failedPaymentReason = default);
static member BillingInvoiceFailedPayment : Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Billing.Models.BillingInvoiceFailedPaymentReason> -> Azure.ResourceManager.Billing.Models.BillingInvoiceFailedPayment
Public Shared Function BillingInvoiceFailedPayment (Optional on As Nullable(Of DateTimeOffset) = Nothing, Optional failedPaymentReason As Nullable(Of BillingInvoiceFailedPaymentReason) = Nothing) As BillingInvoiceFailedPayment

Parameters

on
Nullable<DateTimeOffset>

The date when the payment was attempted.

failedPaymentReason
Nullable<BillingInvoiceFailedPaymentReason>

The reason that the payment failed.

Returns

A new BillingInvoiceFailedPayment instance for mocking.

Applies to