ArmBillingModelFactory.BillingInvoiceFailedPayment 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 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
The date when the payment was attempted.
- failedPaymentReason
- Nullable<BillingInvoiceFailedPaymentReason>
The reason that the payment failed.
Returns
A new BillingInvoiceFailedPayment instance for mocking.