Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Kenny Burns 173 posts 305 karma points
    Mar 06, 2012 @ 10:48
    Kenny Burns
    0

    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'.

    My code is as below:

    ------------------------------------------------------------------------------------

    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

  • Søren Spelling Lund 1797 posts 2786 karma points
    Mar 08, 2012 @ 09:08
    Søren Spelling Lund
    0

    It's complaining that IPricingService has two methods you need to implement.

Please Sign in or register to post replies

Write your reply to:

Draft