Page 1 of 1

FulfillmentPricingService#getProviders()

Posted: Wed Sep 10, 2014 7:56 am
by bibroy
The java-doc for interface FulfillmentPricingService states:
Called during the Pricing workflow to determine the cost for the FulfillmentGroup. This will loop through #getProcessors() and call FulfillmentPricingProvider.calculateCostForFulfillmentGroup(FulfillmentGroup) on the first processor that returns true from FulfillmentPricingProvider#canCalculateCostForFulfillmentGroup(FulfillmentGroup)


Question-1: why "getProcessors()" - should it not be getProviders() ?
Question-1: does the docs try to use "provider" and "processor" terms interchangeably?

Re: FulfillmentPricingService#getProviders()

Posted: Sat Sep 13, 2014 1:34 pm
by phillipuniverse
Question-1: why "getProcessors()" - should it not be getProviders() ?


Typo in the javadoc, I'll fix.

Question-1: does the docs try to use "provider" and "processor" terms interchangeably?


Typos. At one point I think we called them processors and then we changed them to providers after a bit of refactoring. Looks like not every single place that we used the term got updated. Sorry for the confusion.