-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
CalculatePriceResultProperties.cs
73 lines (67 loc) · 4.35 KB
/
CalculatePriceResultProperties.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.Reservations.Models
{
/// <summary> Properties for calculate price response. </summary>
public partial class CalculatePriceResultProperties
{
/// <summary> Initializes a new instance of CalculatePriceResultProperties. </summary>
internal CalculatePriceResultProperties()
{
PaymentSchedule = new ChangeTrackingList<PaymentDetail>();
}
/// <summary> Initializes a new instance of CalculatePriceResultProperties. </summary>
/// <param name="billingCurrencyTotal"> Currency and amount that customer will be charged in customer's local currency. Tax is not included. </param>
/// <param name="netTotal"> Net total amount in pricing currency. </param>
/// <param name="taxTotal"> Tax amount in pricing currency. </param>
/// <param name="grandTotal"> Total amount in pricing currency. </param>
/// <param name="isTaxIncluded"> Whether or not tax is included in grand total. </param>
/// <param name="isBillingPartnerManaged"> True if billing is managed by Microsoft Partner. Used only for CSP accounts. </param>
/// <param name="reservationOrderId"> GUID that represents reservation order that can be placed after calculating price. </param>
/// <param name="skuTitle"> Title of sku that is being purchased. </param>
/// <param name="skuDescription"> Description of sku that is being purchased. </param>
/// <param name="pricingCurrencyTotal"> Amount that Microsoft uses for record. Used during refund for calculating refund limit. Tax is not included. </param>
/// <param name="paymentSchedule"></param>
internal CalculatePriceResultProperties(CalculatePriceResultPropertiesBillingCurrencyTotal billingCurrencyTotal, double? netTotal, double? taxTotal, double? grandTotal, bool? isTaxIncluded, bool? isBillingPartnerManaged, Guid? reservationOrderId, string skuTitle, string skuDescription, CalculatePriceResultPropertiesPricingCurrencyTotal pricingCurrencyTotal, IReadOnlyList<PaymentDetail> paymentSchedule)
{
BillingCurrencyTotal = billingCurrencyTotal;
NetTotal = netTotal;
TaxTotal = taxTotal;
GrandTotal = grandTotal;
IsTaxIncluded = isTaxIncluded;
IsBillingPartnerManaged = isBillingPartnerManaged;
ReservationOrderId = reservationOrderId;
SkuTitle = skuTitle;
SkuDescription = skuDescription;
PricingCurrencyTotal = pricingCurrencyTotal;
PaymentSchedule = paymentSchedule;
}
/// <summary> Currency and amount that customer will be charged in customer's local currency. Tax is not included. </summary>
public CalculatePriceResultPropertiesBillingCurrencyTotal BillingCurrencyTotal { get; }
/// <summary> Net total amount in pricing currency. </summary>
public double? NetTotal { get; }
/// <summary> Tax amount in pricing currency. </summary>
public double? TaxTotal { get; }
/// <summary> Total amount in pricing currency. </summary>
public double? GrandTotal { get; }
/// <summary> Whether or not tax is included in grand total. </summary>
public bool? IsTaxIncluded { get; }
/// <summary> True if billing is managed by Microsoft Partner. Used only for CSP accounts. </summary>
public bool? IsBillingPartnerManaged { get; }
/// <summary> GUID that represents reservation order that can be placed after calculating price. </summary>
public Guid? ReservationOrderId { get; }
/// <summary> Title of sku that is being purchased. </summary>
public string SkuTitle { get; }
/// <summary> Description of sku that is being purchased. </summary>
public string SkuDescription { get; }
/// <summary> Amount that Microsoft uses for record. Used during refund for calculating refund limit. Tax is not included. </summary>
public CalculatePriceResultPropertiesPricingCurrencyTotal PricingCurrencyTotal { get; }
/// <summary> Gets the payment schedule. </summary>
public IReadOnlyList<PaymentDetail> PaymentSchedule { get; }
}
}