共用方式為


ArmBillingModelFactory.BillingInvoicePayment Method

Definition

Initializes a new instance of BillingInvoicePayment.

public static Azure.ResourceManager.Billing.Models.BillingInvoicePayment BillingInvoicePayment (Azure.ResourceManager.Billing.Models.BillingAmount amount = default, DateTimeOffset? madeOn = default, Azure.Core.ResourceIdentifier paymentMethodId = default, Azure.ResourceManager.Billing.Models.PaymentMethodFamily? paymentMethodFamily = default, string paymentMethodType = default, string paymentType = default);
static member BillingInvoicePayment : Azure.ResourceManager.Billing.Models.BillingAmount * Nullable<DateTimeOffset> * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Billing.Models.PaymentMethodFamily> * string * string -> Azure.ResourceManager.Billing.Models.BillingInvoicePayment
Public Shared Function BillingInvoicePayment (Optional amount As BillingAmount = Nothing, Optional madeOn As Nullable(Of DateTimeOffset) = Nothing, Optional paymentMethodId As ResourceIdentifier = Nothing, Optional paymentMethodFamily As Nullable(Of PaymentMethodFamily) = Nothing, Optional paymentMethodType As String = Nothing, Optional paymentType As String = Nothing) As BillingInvoicePayment

Parameters

amount
BillingAmount

The paid amount.

madeOn
Nullable<DateTimeOffset>

The date when the payment was made.

paymentMethodId
ResourceIdentifier

The ID that uniquely identifies the payment method used for the invoice.

paymentMethodFamily
Nullable<PaymentMethodFamily>

The family of payment method.

paymentMethodType
String

The type of payment method.

paymentType
String

The type of payment.

Returns

A new BillingInvoicePayment instance for mocking.

Applies to