import { DaffCartStoreCreditInMemoryDriver } from '@daffodil/cart-store-credit/driver/in-memory'
The cart store credit in-memory driver to mock the cart store credit backend service.
@Injectable()
class DaffCartStoreCreditInMemoryDriver extends DaffInMemoryDriverBase implements DaffCartStoreCreditDriverInterface {
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 |