Package com.onenetwork.platform.common.tax

Contains services for interacting with a "tax provider" which computes appropriate taxes based on government regulations.
  • Interface Summary 
    Interface Description
    TaxProvider
    A TaxProvider encapsulates the logic required to make a request to some service (either internal or external) to determine the amount of tax due on a transaction.
    TaxService
    TaxService is used to acquire a TaxProvider based on its fully qualified class name or alias.
  • Class Summary 
    Class Description
    TaxRequest
    Represents a request to a TaxProvider for how much tax is due on a transaction.
    TaxRequestLine
    Represents a single line of a transaction that needs the tax due determined by a TaxProvider.
    TaxResponse
    A response to a TaxRequest.
    TaxResponseLine
    Contains a response for a single line of a TaxRequest.