DaffCartCouponServiceInterface

The interface responsible for applying a coupon to a cart.

Properties

Name Type Description
apply Observable<Partial<T>> Apply a coupon to the cart and return a partial of the cart.
list Observable<T['coupons']> List coupon codes applied to a cart.
remove Observable<Partial<T>> Remove a coupon from the cart and return a partial of the cart.
removeAll Observable<Partial<T>> 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.