Click or drag to resize

AzureHelperCreateAzureUsageInvoiceForReseller Method

Calculates overall cost of Azure for reseller account

Namespace:  Atomia.Billing.Core.Sdk.BusinessLogic
Assembly:  Atomia.Billing.Core.Sdk (in Atomia.Billing.Core.Sdk.dll) Version: 18.10.7096.28998
Syntax
public static Invoice CreateAzureUsageInvoiceForReseller(
	Account account,
	List<AzureMarkupData> markups,
	Dictionary<Guid, CreateAzureInvoiceConfig> configuredResellers,
	DateTime startTime,
	DateTime endTime,
	IAtomiaBillingApi atomiaBillingApi,
	AtomiaAccountApi accountApi,
	CoreApiProxy coreApi,
	NativeApiProxy nativeApi
)

Parameters

account
Type: Account

[Missing <param name="account"/> documentation for "M:Atomia.Billing.Core.Sdk.BusinessLogic.AzureHelper.CreateAzureUsageInvoiceForReseller(Atomia.Account.Lib.BusinessObjects.Account,System.Collections.Generic.List{Atomia.Billing.Core.DataLayer.Entities.AzureMarkupData},System.Collections.Generic.Dictionary{System.Guid,Atomia.Billing.Core.Sdk.BusinessLogic.CreateAzureInvoiceConfig},System.DateTime,System.DateTime,Atomia.Billing.Core.Sdk.IAtomiaBillingApi,Atomia.Account.Lib.AtomiaAccountApi,Atomia.Billing.Core.Sdk.ServiceProxies.CoreApiProxy,Atomia.Billing.Core.Sdk.ServiceProxies.NativeApiProxy)"]

markups
Type: System.Collections.GenericListAzureMarkupData

[Missing <param name="markups"/> documentation for "M:Atomia.Billing.Core.Sdk.BusinessLogic.AzureHelper.CreateAzureUsageInvoiceForReseller(Atomia.Account.Lib.BusinessObjects.Account,System.Collections.Generic.List{Atomia.Billing.Core.DataLayer.Entities.AzureMarkupData},System.Collections.Generic.Dictionary{System.Guid,Atomia.Billing.Core.Sdk.BusinessLogic.CreateAzureInvoiceConfig},System.DateTime,System.DateTime,Atomia.Billing.Core.Sdk.IAtomiaBillingApi,Atomia.Account.Lib.AtomiaAccountApi,Atomia.Billing.Core.Sdk.ServiceProxies.CoreApiProxy,Atomia.Billing.Core.Sdk.ServiceProxies.NativeApiProxy)"]

configuredResellers
Type: System.Collections.GenericDictionaryGuid, CreateAzureInvoiceConfig

[Missing <param name="configuredResellers"/> documentation for "M:Atomia.Billing.Core.Sdk.BusinessLogic.AzureHelper.CreateAzureUsageInvoiceForReseller(Atomia.Account.Lib.BusinessObjects.Account,System.Collections.Generic.List{Atomia.Billing.Core.DataLayer.Entities.AzureMarkupData},System.Collections.Generic.Dictionary{System.Guid,Atomia.Billing.Core.Sdk.BusinessLogic.CreateAzureInvoiceConfig},System.DateTime,System.DateTime,Atomia.Billing.Core.Sdk.IAtomiaBillingApi,Atomia.Account.Lib.AtomiaAccountApi,Atomia.Billing.Core.Sdk.ServiceProxies.CoreApiProxy,Atomia.Billing.Core.Sdk.ServiceProxies.NativeApiProxy)"]

startTime
Type: SystemDateTime

[Missing <param name="startTime"/> documentation for "M:Atomia.Billing.Core.Sdk.BusinessLogic.AzureHelper.CreateAzureUsageInvoiceForReseller(Atomia.Account.Lib.BusinessObjects.Account,System.Collections.Generic.List{Atomia.Billing.Core.DataLayer.Entities.AzureMarkupData},System.Collections.Generic.Dictionary{System.Guid,Atomia.Billing.Core.Sdk.BusinessLogic.CreateAzureInvoiceConfig},System.DateTime,System.DateTime,Atomia.Billing.Core.Sdk.IAtomiaBillingApi,Atomia.Account.Lib.AtomiaAccountApi,Atomia.Billing.Core.Sdk.ServiceProxies.CoreApiProxy,Atomia.Billing.Core.Sdk.ServiceProxies.NativeApiProxy)"]

endTime
Type: SystemDateTime

[Missing <param name="endTime"/> documentation for "M:Atomia.Billing.Core.Sdk.BusinessLogic.AzureHelper.CreateAzureUsageInvoiceForReseller(Atomia.Account.Lib.BusinessObjects.Account,System.Collections.Generic.List{Atomia.Billing.Core.DataLayer.Entities.AzureMarkupData},System.Collections.Generic.Dictionary{System.Guid,Atomia.Billing.Core.Sdk.BusinessLogic.CreateAzureInvoiceConfig},System.DateTime,System.DateTime,Atomia.Billing.Core.Sdk.IAtomiaBillingApi,Atomia.Account.Lib.AtomiaAccountApi,Atomia.Billing.Core.Sdk.ServiceProxies.CoreApiProxy,Atomia.Billing.Core.Sdk.ServiceProxies.NativeApiProxy)"]

atomiaBillingApi
Type: Atomia.Billing.Core.SdkIAtomiaBillingApi

[Missing <param name="atomiaBillingApi"/> documentation for "M:Atomia.Billing.Core.Sdk.BusinessLogic.AzureHelper.CreateAzureUsageInvoiceForReseller(Atomia.Account.Lib.BusinessObjects.Account,System.Collections.Generic.List{Atomia.Billing.Core.DataLayer.Entities.AzureMarkupData},System.Collections.Generic.Dictionary{System.Guid,Atomia.Billing.Core.Sdk.BusinessLogic.CreateAzureInvoiceConfig},System.DateTime,System.DateTime,Atomia.Billing.Core.Sdk.IAtomiaBillingApi,Atomia.Account.Lib.AtomiaAccountApi,Atomia.Billing.Core.Sdk.ServiceProxies.CoreApiProxy,Atomia.Billing.Core.Sdk.ServiceProxies.NativeApiProxy)"]

accountApi
Type: AtomiaAccountApi

[Missing <param name="accountApi"/> documentation for "M:Atomia.Billing.Core.Sdk.BusinessLogic.AzureHelper.CreateAzureUsageInvoiceForReseller(Atomia.Account.Lib.BusinessObjects.Account,System.Collections.Generic.List{Atomia.Billing.Core.DataLayer.Entities.AzureMarkupData},System.Collections.Generic.Dictionary{System.Guid,Atomia.Billing.Core.Sdk.BusinessLogic.CreateAzureInvoiceConfig},System.DateTime,System.DateTime,Atomia.Billing.Core.Sdk.IAtomiaBillingApi,Atomia.Account.Lib.AtomiaAccountApi,Atomia.Billing.Core.Sdk.ServiceProxies.CoreApiProxy,Atomia.Billing.Core.Sdk.ServiceProxies.NativeApiProxy)"]

coreApi
Type: Atomia.Billing.Core.Sdk.ServiceProxiesCoreApiProxy

[Missing <param name="coreApi"/> documentation for "M:Atomia.Billing.Core.Sdk.BusinessLogic.AzureHelper.CreateAzureUsageInvoiceForReseller(Atomia.Account.Lib.BusinessObjects.Account,System.Collections.Generic.List{Atomia.Billing.Core.DataLayer.Entities.AzureMarkupData},System.Collections.Generic.Dictionary{System.Guid,Atomia.Billing.Core.Sdk.BusinessLogic.CreateAzureInvoiceConfig},System.DateTime,System.DateTime,Atomia.Billing.Core.Sdk.IAtomiaBillingApi,Atomia.Account.Lib.AtomiaAccountApi,Atomia.Billing.Core.Sdk.ServiceProxies.CoreApiProxy,Atomia.Billing.Core.Sdk.ServiceProxies.NativeApiProxy)"]

nativeApi
Type: Atomia.Billing.Core.Sdk.ServiceProxiesNativeApiProxy

[Missing <param name="nativeApi"/> documentation for "M:Atomia.Billing.Core.Sdk.BusinessLogic.AzureHelper.CreateAzureUsageInvoiceForReseller(Atomia.Account.Lib.BusinessObjects.Account,System.Collections.Generic.List{Atomia.Billing.Core.DataLayer.Entities.AzureMarkupData},System.Collections.Generic.Dictionary{System.Guid,Atomia.Billing.Core.Sdk.BusinessLogic.CreateAzureInvoiceConfig},System.DateTime,System.DateTime,Atomia.Billing.Core.Sdk.IAtomiaBillingApi,Atomia.Account.Lib.AtomiaAccountApi,Atomia.Billing.Core.Sdk.ServiceProxies.CoreApiProxy,Atomia.Billing.Core.Sdk.ServiceProxies.NativeApiProxy)"]

Return Value

Type: Invoice

[Missing <returns> documentation for "M:Atomia.Billing.Core.Sdk.BusinessLogic.AzureHelper.CreateAzureUsageInvoiceForReseller(Atomia.Account.Lib.BusinessObjects.Account,System.Collections.Generic.List{Atomia.Billing.Core.DataLayer.Entities.AzureMarkupData},System.Collections.Generic.Dictionary{System.Guid,Atomia.Billing.Core.Sdk.BusinessLogic.CreateAzureInvoiceConfig},System.DateTime,System.DateTime,Atomia.Billing.Core.Sdk.IAtomiaBillingApi,Atomia.Account.Lib.AtomiaAccountApi,Atomia.Billing.Core.Sdk.ServiceProxies.CoreApiProxy,Atomia.Billing.Core.Sdk.ServiceProxies.NativeApiProxy)"]

See Also