import { DaffCartStoreCreditDriverInterface } from '@daffodil/cart-store-credit/driver'
The cart store credit driver is responsible for loading carts.
interface DaffCartStoreCreditDriverInterface<TCart extends DaffCartWithStoreCredit = DaffCartWithStoreCredit> {
apply(cartId: string): any
remove(cartId: string): any
}
anyApply store credit to the cart.
| Parameter | cartId: string |
|---|---|
| Description |
anyRemove store credit from the cart.
| Parameter | cartId: string |
|---|---|
| Description |