共用方式為


ArmBillingModelFactory.BillingPaymentTerm Method

Definition

Initializes a new instance of BillingPaymentTerm.

public static Azure.ResourceManager.Billing.Models.BillingPaymentTerm BillingPaymentTerm (string term = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, bool? isDefault = default);
static member BillingPaymentTerm : string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<bool> -> Azure.ResourceManager.Billing.Models.BillingPaymentTerm
Public Shared Function BillingPaymentTerm (Optional term As String = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional isDefault As Nullable(Of Boolean) = Nothing) As BillingPaymentTerm

Parameters

term
String

Represents duration in netXX format. Always in days.

startOn
Nullable<DateTimeOffset>

The date on when the defined 'Payment Term' will be effective from and is always in UTC.

endOn
Nullable<DateTimeOffset>

The date on when the defined 'Payment Term' will end and is always in UTC.

isDefault
Nullable<Boolean>

Indicates payment term is the standard payment term.

Returns

A new BillingPaymentTerm instance for mocking.

Applies to