Share via


ArmBillingBenefitsModelFactory.SavingsPlanOrderPaymentDetail Method

Definition

Initializes a new instance of SavingsPlanOrderPaymentDetail.

public static Azure.ResourceManager.BillingBenefits.Models.SavingsPlanOrderPaymentDetail SavingsPlanOrderPaymentDetail (DateTimeOffset? dueOn = default, DateTimeOffset? payOn = default, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsPrice pricingCurrencyTotal = default, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsPrice billingCurrencyTotal = default, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsPaymentStatus? status = default, Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsExtendedStatusInfo extendedStatusInfo = default, string billingAccount = default);
static member SavingsPlanOrderPaymentDetail : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsPrice * Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsPrice * Nullable<Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsPaymentStatus> * Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsExtendedStatusInfo * string -> Azure.ResourceManager.BillingBenefits.Models.SavingsPlanOrderPaymentDetail
Public Shared Function SavingsPlanOrderPaymentDetail (Optional dueOn As Nullable(Of DateTimeOffset) = Nothing, Optional payOn As Nullable(Of DateTimeOffset) = Nothing, Optional pricingCurrencyTotal As BillingBenefitsPrice = Nothing, Optional billingCurrencyTotal As BillingBenefitsPrice = Nothing, Optional status As Nullable(Of BillingBenefitsPaymentStatus) = Nothing, Optional extendedStatusInfo As BillingBenefitsExtendedStatusInfo = Nothing, Optional billingAccount As String = Nothing) As SavingsPlanOrderPaymentDetail

Parameters

dueOn
Nullable<DateTimeOffset>

Date when the payment needs to be done.

payOn
Nullable<DateTimeOffset>

Date when the transaction is completed. Is null when it is scheduled.

pricingCurrencyTotal
BillingBenefitsPrice

Amount in pricing currency. Tax not included.

billingCurrencyTotal
BillingBenefitsPrice

Amount charged in Billing currency. Tax not included. Is null for future payments.

status
Nullable<BillingBenefitsPaymentStatus>

Describes whether the payment is completed, failed, cancelled or scheduled in the future.

billingAccount
String

Billing account.

Returns

A new SavingsPlanOrderPaymentDetail instance for mocking.

Applies to