Previous Docs Version

The documentation you are viewing is for a previous version of the Vendr product. Click here to jump to the current stable version.

GiftCardController

API reference for GiftCardController in Vendr, the eCommerce solution for Umbraco v8+

GiftCardController

public class GiftCardController : VendrAuthorizedJsonControllerBase

Inheritance

Namespace

Constructors

GiftCardController

public GiftCardController(UmbracoControllerContext vendrContext, IStoreService storeService, 
    IGiftCardService giftCardService, IUnitOfWorkProvider uowProvider)

Methods

CreateGiftCard

public GiftCardEditDto CreateGiftCard(Guid storeId)

DeleteGiftCard

public HttpResponseMessage DeleteGiftCard(Guid giftCardId)

GenerateGiftCardCode

public string GenerateGiftCardCode(Guid storeId)

GetGiftCard

public GiftCardEditDto GetGiftCard(Guid giftCardId)

GetGiftCards

public IEnumerable<GiftCardBasicDto> GetGiftCards(Guid storeId)

SaveGiftCard

public GiftCardEditDto SaveGiftCard(GiftCardSaveDto giftCard)

SearchGiftCards

public PagedResult<GiftCardBasicDto> SearchGiftCards(GiftCardSearchDto model)

Edit this page on GitHub

Site + logo design © 2024 Outfield Digital Ltd. Content contributions licensed under MIT.
Vendr® is a Registered Trademark of Outfield Digital Ltd.