GitHub

DaffInMemoryBackendCartCouponService

import { DaffInMemoryBackendCartCouponService } from '@daffodil/cart/driver/in-memory'

@Injectable()
class DaffInMemoryBackendCartCouponService implements DaffInMemorySingleRouteableBackend {
  readonly collectionName: "cart-coupon" = DAFF_CART_IN_MEMORY_CART_COUPON_COLLECTION_NAME

  get(reqInfo: RequestInfo_2): any
  post(reqInfo: RequestInfo_2): any
  delete(reqInfo: RequestInfo_2): any
}

Properties

collectionName
"cart-coupon"
DefaultDAFF_CART_IN_MEMORY_CART_COUPON_COLLECTION_NAME
Description

The collection name of the backend service where the backend only serves one collection. Used for routing requests to the correct backend.

() Methods

get
any
Parameters
ParameterreqInfo: RequestInfo_2
Description
post
any
Parameters
ParameterreqInfo: RequestInfo_2
Description
delete
any
Parameters
ParameterreqInfo: RequestInfo_2
Description