ArmReservationsModelFactory.PaymentDetail Method

Definition

Initializes a new instance of PaymentDetail.

public static Azure.ResourceManager.Reservations.Models.PaymentDetail PaymentDetail (DateTimeOffset? dueOn = default, DateTimeOffset? payOn = default, Azure.ResourceManager.Reservations.Models.PurchasePrice pricingCurrencyTotal = default, Azure.ResourceManager.Reservations.Models.PurchasePrice billingCurrencyTotal = default, string billingAccount = default, Azure.ResourceManager.Reservations.Models.PaymentStatus? status = default, Azure.ResourceManager.Reservations.Models.ExtendedStatusInfo extendedStatusInfo = default);
static member PaymentDetail : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.ResourceManager.Reservations.Models.PurchasePrice * Azure.ResourceManager.Reservations.Models.PurchasePrice * string * Nullable<Azure.ResourceManager.Reservations.Models.PaymentStatus> * Azure.ResourceManager.Reservations.Models.ExtendedStatusInfo -> Azure.ResourceManager.Reservations.Models.PaymentDetail
Public Shared Function PaymentDetail (Optional dueOn As Nullable(Of DateTimeOffset) = Nothing, Optional payOn As Nullable(Of DateTimeOffset) = Nothing, Optional pricingCurrencyTotal As PurchasePrice = Nothing, Optional billingCurrencyTotal As PurchasePrice = Nothing, Optional billingAccount As String = Nothing, Optional status As Nullable(Of PaymentStatus) = Nothing, Optional extendedStatusInfo As ExtendedStatusInfo = Nothing) As PaymentDetail

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
PurchasePrice

Amount in pricing currency. Tax not included.

billingCurrencyTotal
PurchasePrice

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

billingAccount
String

Shows the Account that is charged for this payment.

status
Nullable<PaymentStatus>

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

extendedStatusInfo
ExtendedStatusInfo

Returns

A new PaymentDetail instance for mocking.

Applies to