Interface FromTaxAddressResolver
public interface FromTaxAddressResolver
Service to resolve the ship from address when calculating tax.
-
Method Summary
Modifier and TypeMethodDescriptioncom.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 requestcom.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 cartfulfillmentGroup
- The fulfillment groupcontextInfo
- 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 fulfillmentcontextInfo
- The context- Returns:
- the from tax address
-