I am looking to extend the iPricingService and think I am heading down the correct route (i have done something similar for the iTaxService) - however i am getting an error: the Implements IPricingService has an underline and is erroring saying -
Class 'TieredPricing' must implement 'Function GetProductPrice(product As EntitiesV2.Product, priceGroup As EntitiesV2.PriceGroup) As EntitiesV2.PriceGroupPrice' for interface 'UCommerce.Catalog.IPricingService'.
Public Function GetProductPrice(ByVal product As UCommerce.EntitiesV2.Product, ByVal catalogue As UCommerce.EntitiesV2.ProductCatalog) As EntitiesV2.PriceGroupPrice Implements IPricingService.GetProductPrice
Extending iPricingService
Hi Guys,
I am looking to extend the iPricingService and think I am heading down the correct route (i have done something similar for the iTaxService) - however i am getting an error: the Implements IPricingService has an underline and is erroring saying -
Class 'TieredPricing' must implement 'Function GetProductPrice(product As EntitiesV2.Product, priceGroup As EntitiesV2.PriceGroup) As EntitiesV2.PriceGroupPrice' for interface 'UCommerce.Catalog.IPricingService'.
------------------------------------------------------------------------------------
Namespace TieredPricing
Public Class TieredPricing
Implements IPricingService
Public Function GetProductPrice(ByVal product As UCommerce.EntitiesV2.Product, ByVal catalogue As UCommerce.EntitiesV2.ProductCatalog) As EntitiesV2.PriceGroupPrice Implements IPricingService.GetProductPrice
'do something here
End Function
End Class
End Namespace
------------------------------------------------------------------------------------
Any ideas?
Thanks,
Kenny
It's complaining that IPricingService has two methods you need to implement.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.