Open APIs

 View Only
  • 1.  TMF 663 ShoppingCart price validations

    TM Forum Member
    Posted May 30, 2019 05:16

    Hi,

    We are implementing ShoppingCart and need to do some validation before saving to the database.

    Some of these validations involve ProductOffering, which we have access through the productOffering: ProductOfferingRef that is in CartItem, another validation is at the price level (itemPrice: CartItem).The question arises is that we have no reference to indicate that price (itemPrice: CartItem) belongs to that ProductOffering.What is your view on this type of validation?

    Regards,

    ------------------------------
    Marco Sousa
    Software Engineer @Celfocus
    ------------------------------


  • 2.  RE: TMF 663 ShoppingCart price validations

    TM Forum Member
    Posted May 30, 2019 06:59
    This is being fixed in R19 - the ProductPrice, OrderPrice, and CartPrice will all have a reference to the ProductOfferingPrice from the catalog, that defines the origin of the Price. This reference is optional, since the price entities are also used to reflect totals, in which case there will be no direct catalog reference.
    Hope it helps

    ------------------------------
    Jonathan Goldberg
    Amdocs Management Limited
    ------------------------------