WEBCentralizedShoppingCartGiftFundraisingSetLineItemsWithCart

Initial Build

2008.01

xWEB

Web Method

Response Type

object

This method is used to add and remove line items for a Fundraising Gift. This method should be called only if the Gift Object has already been added to the Cart. If you have not yet added the Gift Object to the Shopping Cart Object, then call WEBCentralizedShoppingCartGiftFundraisingSetLineItems and then add the Gift Object to the Cart.

In most cases, the donor will enter their donation amount, although he or she may be prompted by suggested amounts ($25, $50, $100, $250, etc.). If the amount the donor wants to give differs from the default amount, then your application needs to set this amount in the overrideamount property in the Fee of the FeeCollection that you pass as a parameter in this method.

Parameters

  • oCOE (Shopping Cart Object). The Shopping Cart Object the gift is currently in.
  • GiftKey (GUID). A key identifying which gift within the Shopping Cart to update.
  • oFeeCollection (FeeCollection). The fees to be added/removed for this gift.

Response

OrderEntry (Shopping Cart Object). The gift object identified by the gift key will have its invoice details collection updated to match the fee collection. New invoice details will be created for fees to add and existing invoice details will be removed for fees to remove.

Sample Request

<<SAMPLE REQUEST>>

Sample Response

<<SAMPLE RESPONSE>>