-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
EdgeOrderProductMeterDetails.cs
40 lines (35 loc) · 1.79 KB
/
EdgeOrderProductMeterDetails.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.EdgeOrder.Models
{
/// <summary>
/// Holds details about billing type and its meter guids
/// Please note <see cref="EdgeOrderProductMeterDetails"/> is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes.
/// The available derived classes include <see cref="Pav2MeterDetails"/> and <see cref="PurchaseMeterDetails"/>.
/// </summary>
public abstract partial class EdgeOrderProductMeterDetails
{
/// <summary> Initializes a new instance of EdgeOrderProductMeterDetails. </summary>
protected EdgeOrderProductMeterDetails()
{
}
/// <summary> Initializes a new instance of EdgeOrderProductMeterDetails. </summary>
/// <param name="billingType"> Represents billing type. </param>
/// <param name="multiplier"> Billing unit applicable for Pav2 billing. </param>
/// <param name="chargingType"> Charging type. </param>
internal EdgeOrderProductMeterDetails(BillingType billingType, double? multiplier, EdgeOrderProductChargingType? chargingType)
{
BillingType = billingType;
Multiplier = multiplier;
ChargingType = chargingType;
}
/// <summary> Represents billing type. </summary>
internal BillingType BillingType { get; set; }
/// <summary> Billing unit applicable for Pav2 billing. </summary>
public double? Multiplier { get; }
/// <summary> Charging type. </summary>
public EdgeOrderProductChargingType? ChargingType { get; }
}
}