DaffInMemoryCartCouponService

Properties

Name Type Description
url '/api/cart-coupon' The URL with which the driver makes calls to the backend.
list Observable<DaffCartCoupon[]> List coupon codes applied to a cart.
apply Observable<Partial<DaffCart>> Apply a coupon to the cart and return a partial of the cart.
remove Observable<Partial<DaffCart>> Remove a coupon from the cart and return a partial of the cart.
removeAll Observable<Partial<DaffCart>> Remove all coupons from the cart and return a partial of the cart.
Graycore, LLC © 2018 - 2024. Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.