共用方式為


ArmBillingModelFactory.BillingPaymentOnAccount Method

Definition

Initializes a new instance of BillingPaymentOnAccount.

public static Azure.ResourceManager.Billing.Models.BillingPaymentOnAccount BillingPaymentOnAccount (Azure.ResourceManager.Billing.Models.CreatedSubscriptionReseller amount = default, Azure.Core.ResourceIdentifier billingProfileId = default, string billingProfileDisplayName = default, Azure.Core.ResourceIdentifier invoiceId = default, string invoiceName = default, DateTimeOffset? on = default, Azure.ResourceManager.Billing.Models.PaymentMethodFamily? paymentMethodType = default);
static member BillingPaymentOnAccount : Azure.ResourceManager.Billing.Models.CreatedSubscriptionReseller * Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceIdentifier * string * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Billing.Models.PaymentMethodFamily> -> Azure.ResourceManager.Billing.Models.BillingPaymentOnAccount
Public Shared Function BillingPaymentOnAccount (Optional amount As CreatedSubscriptionReseller = Nothing, Optional billingProfileId As ResourceIdentifier = Nothing, Optional billingProfileDisplayName As String = Nothing, Optional invoiceId As ResourceIdentifier = Nothing, Optional invoiceName As String = Nothing, Optional on As Nullable(Of DateTimeOffset) = Nothing, Optional paymentMethodType As Nullable(Of PaymentMethodFamily) = Nothing) As BillingPaymentOnAccount

Parameters

amount
CreatedSubscriptionReseller

Payment on Account amount.

billingProfileId
ResourceIdentifier

The ID of the billing profile for the payments on account.

billingProfileDisplayName
String

The name of the billing profile for the payments on account.

invoiceId
ResourceIdentifier

The ID of the invoice for which the payments on account was generated.

invoiceName
String

The name of the invoice for the payments on account.

on
Nullable<DateTimeOffset>

The date of the payments on account.

paymentMethodType
Nullable<PaymentMethodFamily>

Payment on Account type.

Returns

A new BillingPaymentOnAccount instance for mocking.

Applies to