Interface FromTaxAddressResolver


public interface FromTaxAddressResolver
Service to resolve the ship from address when calculating tax.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.broadleafcommerce.tax.domain.TaxAddress
    resolveFromAddress(com.broadleafcommerce.cart.client.domain.Cart cart, com.broadleafcommerce.cart.client.domain.FulfillmentGroup fulfillmentGroup, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Resolve the from address to be used when submitting a tax request
    com.broadleafcommerce.tax.domain.TaxAddress
    resolveFromAddress(com.broadleafcommerce.order.client.domain.OrderFulfillment fulfillment, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Resolve the from tax address to be used when submitting a tax request
  • Method Details

    • resolveFromAddress

      com.broadleafcommerce.tax.domain.TaxAddress resolveFromAddress(com.broadleafcommerce.cart.client.domain.Cart cart, com.broadleafcommerce.cart.client.domain.FulfillmentGroup fulfillmentGroup, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Resolve the from address to be used when submitting a tax request
      Parameters:
      cart - The cart
      fulfillmentGroup - The fulfillment group
      contextInfo - The context
      Returns:
      The from tax address
    • resolveFromAddress

      com.broadleafcommerce.tax.domain.TaxAddress resolveFromAddress(com.broadleafcommerce.order.client.domain.OrderFulfillment fulfillment, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Resolve the from tax address to be used when submitting a tax request
      Parameters:
      fulfillment - The fulfillment
      contextInfo - The context
      Returns:
      the from tax address