/// <summary> /// Initializes a new instance of the EventSummary class. /// </summary> /// <param name="id">Resource Id.</param> /// <param name="name">Resource name.</param> /// <param name="type">Resource type.</param> /// <param name="tags">Resource tags.</param> /// <param name="transactionDate">Transaction Date.</param> /// <param name="description">Transaction description.</param> /// <param name="newCredit">New Credit.</param> /// <param name="adjustments">Credit Adjustments.</param> /// <param name="creditExpired">Credit Expired.</param> /// <param name="charges">Credit Eligible Charges.</param> /// <param name="closedBalance">Closed Balance.</param> /// <param name="eventType">The type of event. Possible values include: /// 'NewCredit', 'ExpiredCredit', 'SettledCharges'</param> /// <param name="invoiceNumber">Invoice Number.</param> public EventSummary(string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), System.DateTime?transactionDate = default(System.DateTime?), string description = default(string), Amount newCredit = default(Amount), Amount adjustments = default(Amount), Amount creditExpired = default(Amount), Amount charges = default(Amount), Amount closedBalance = default(Amount), string eventType = default(string), string invoiceNumber = default(string)) : base(id, name, type, tags) { TransactionDate = transactionDate; Description = description; NewCredit = newCredit; Adjustments = adjustments; CreditExpired = creditExpired; Charges = charges; ClosedBalance = closedBalance; EventType = eventType; InvoiceNumber = invoiceNumber; CustomInit(); }
/// <summary> /// Initializes a new instance of the ChargeSummaryByInvoiceSection /// class. /// </summary> /// <param name="id">Resource Id.</param> /// <param name="name">Resource name.</param> /// <param name="type">Resource type.</param> /// <param name="tags">Resource tags.</param> /// <param name="billingPeriodId">The id of the billing period resource /// that the usage belongs to.</param> /// <param name="usageStart">Billing period start date.</param> /// <param name="usageEnd">Billing period end date.</param> /// <param name="azureCharges">Azure Charges.</param> /// <param name="chargesBilledSeparately">Charges Billed /// separately.</param> /// <param name="marketplaceCharges">Marketplace Charges.</param> /// <param name="billingAccountId">The id of the billing account /// resource that the charge belongs to.</param> /// <param name="billingProfileId">The id of the billing profile /// resource that the charge belongs to.</param> /// <param name="invoiceSectionId">The id of the invoice section /// resource that the charge belongs to.</param> public ChargeSummaryByInvoiceSection(string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string billingPeriodId = default(string), string usageStart = default(string), string usageEnd = default(string), Amount azureCharges = default(Amount), Amount chargesBilledSeparately = default(Amount), Amount marketplaceCharges = default(Amount), string billingAccountId = default(string), string billingProfileId = default(string), string invoiceSectionId = default(string)) : base(id, name, type, tags) { BillingPeriodId = billingPeriodId; UsageStart = usageStart; UsageEnd = usageEnd; AzureCharges = azureCharges; ChargesBilledSeparately = chargesBilledSeparately; MarketplaceCharges = marketplaceCharges; BillingAccountId = billingAccountId; BillingProfileId = billingProfileId; InvoiceSectionId = invoiceSectionId; CustomInit(); }
/// <summary> /// Initializes a new instance of the CreditSummary class. /// </summary> /// <param name="id">Resource Id.</param> /// <param name="name">Resource name.</param> /// <param name="type">Resource type.</param> /// <param name="tags">Resource tags.</param> /// <param name="balanceSummary">Summary of balances associated with /// this credit summary.</param> /// <param name="pendingCreditAdjustments">Pending Credit /// Adjustments.</param> /// <param name="expiredCredit">Expired Credit.</param> /// <param name="pendingEligibleCharges">Pending Eligible /// Charges.</param> public CreditSummary(string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), CreditBalanceSummary balanceSummary = default(CreditBalanceSummary), Amount pendingCreditAdjustments = default(Amount), Amount expiredCredit = default(Amount), Amount pendingEligibleCharges = default(Amount)) : base(id, name, type, tags) { BalanceSummary = balanceSummary; PendingCreditAdjustments = pendingCreditAdjustments; ExpiredCredit = expiredCredit; PendingEligibleCharges = pendingEligibleCharges; CustomInit(); }