Class TaxDelegateProperties

    • Constructor Detail

      • TaxDelegateProperties

        public TaxDelegateProperties()
    • Method Detail

      • getPreferredTaxProviderId

        public String getPreferredTaxProviderId​(@Nullable
                                                com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
        The preferred tax provider for the given ContextInfo.
        Parameters:
        contextInfo -
        Returns:
        See Also:
        TaxProvider.getProviderId()
      • getFallbackTaxProviderId

        public String getFallbackTaxProviderId​(@Nullable
                                               com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
        The fallback tax provider for the given ContextInfo. If configured, this will inform the TaxDelegate that a fallback should be used in case of an error resulting from the default. This If this is the same as the default, the fallback will not be executed.
        Parameters:
        contextInfo -
        See Also:
        TaxProvider.getProviderId()
      • setPreferredTaxProviderId

        public void setPreferredTaxProviderId​(String preferredTaxProviderId)
        The preferred tax provider.
        See Also:
        TaxProvider.getProviderId()
      • setFallbackTaxProviderId

        public void setFallbackTaxProviderId​(String fallbackTaxProviderId)
        If the preferred tax provider fails for any reason, a fallback may be used instead.
        See Also:
        TaxProvider.getProviderId()