Search Results for

    Show / Hide Table of Contents

    Class TaxManager

    Tax type manager

    Inheritance
    System.Object
    TaxManager
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Simplic.ERP.Core.Tax
    Assembly: Simplic.ERP.Core.dll
    Syntax
    public class TaxManager

    Constructors

    | Improve this Doc View Source

    TaxManager()

    Initialize tax manager

    Declaration
    public TaxManager()

    Methods

    | Improve this Doc View Source

    DeleteArticleTaxRate(ArticleTaxRate)

    Delete an article tax rate

    Declaration
    public void DeleteArticleTaxRate(ArticleTaxRate type)
    Parameters
    Type Name Description
    ArticleTaxRate type

    Tax type instance

    | Improve this Doc View Source

    DeleteRate(TaxRate)

    Delete a tax rate

    Declaration
    public void DeleteRate(TaxRate type)
    Parameters
    Type Name Description
    TaxRate type

    Tax type instance

    | Improve this Doc View Source

    DeleteRateType(TaxRateType)

    Delete a tax rate

    Declaration
    public void DeleteRateType(TaxRateType type)
    Parameters
    Type Name Description
    TaxRateType type

    Tax type instance

    | Improve this Doc View Source

    GetAllRates()

    Get all tax types

    Declaration
    public IEnumerable<TaxRate> GetAllRates()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<TaxRate>

    Tax type instances

    | Improve this Doc View Source

    GetAllRateTypes()

    Get all tax types

    Declaration
    public IEnumerable<TaxRateType> GetAllRateTypes()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<TaxRateType>

    Tax type instances

    | Improve this Doc View Source

    GetArticleTaxRates(Guid)

    Get article taxes

    Declaration
    public IEnumerable<ArticleTaxRate> GetArticleTaxRates(Guid articleId)
    Parameters
    Type Name Description
    System.Guid articleId

    Article id

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<ArticleTaxRate>

    Ty type instance of exists, else null

    | Improve this Doc View Source

    GetRate(Guid)

    Get a single tax type instance if exists

    Declaration
    public TaxRate GetRate(Guid id)
    Parameters
    Type Name Description
    System.Guid id

    Unique id

    Returns
    Type Description
    TaxRate

    Ty type instance of exists, else null

    | Improve this Doc View Source

    GetRate(Guid, Guid, DateTime)

    Get a rate by rate type and date

    Declaration
    public TaxRate GetRate(Guid rateTypeId, Guid taxGroupId, DateTime date)
    Parameters
    Type Name Description
    System.Guid rateTypeId
    System.Guid taxGroupId
    System.DateTime date

    Date until which the rate must be valid

    Returns
    Type Description
    TaxRate
    | Improve this Doc View Source

    GetRates(Guid, DateTime)

    Get a rate by rate type and date

    Declaration
    public IEnumerable<TaxRate> GetRates(Guid taxGroupId, DateTime date)
    Parameters
    Type Name Description
    System.Guid taxGroupId
    System.DateTime date

    Date until which the rate must be valid

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<TaxRate>
    | Improve this Doc View Source

    GetRates(Guid, Guid, DateTime)

    Get a rate by rate type and date

    Declaration
    public IEnumerable<TaxRate> GetRates(Guid taxGroupId, Guid tenantId, DateTime date)
    Parameters
    Type Name Description
    System.Guid taxGroupId
    System.Guid tenantId

    Ttenant id

    System.DateTime date

    Date until which the rate must be valid

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<TaxRate>
    | Improve this Doc View Source

    GetRateType(Guid)

    Get a single tax type instance if exists

    Declaration
    public TaxRateType GetRateType(Guid id)
    Parameters
    Type Name Description
    System.Guid id

    Unique id

    Returns
    Type Description
    TaxRateType

    Ty type instance of exists, else null

    | Improve this Doc View Source

    SaveArticleTaxRate(ArticleTaxRate)

    Create or update article tax type

    Declaration
    public void SaveArticleTaxRate(ArticleTaxRate type)
    Parameters
    Type Name Description
    ArticleTaxRate type

    Type instance

    | Improve this Doc View Source

    SaveRate(TaxRate)

    Create or update tax type

    Declaration
    public void SaveRate(TaxRate type)
    Parameters
    Type Name Description
    TaxRate type

    Type instance

    | Improve this Doc View Source

    SaveRateType(TaxRateType)

    Create or update tax type

    Declaration
    public void SaveRateType(TaxRateType type)
    Parameters
    Type Name Description
    TaxRateType type

    Type instance

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx