DaffCustomerStoreCreditInMemoryBackendService
An in-memory service that handles customer store credit HTTP requests.
import { DaffCustomerStoreCreditInMemoryBackendService } from '@daffodil/customer-store-credit/driver/in-memory'
@Injectable()
class DaffCustomerStoreCreditInMemoryBackendService implements InMemoryDbService, DaffInMemorySingleRouteableBackend {
readonly collectionName: DAFF_CUSTOMER_STORE_CREDIT_IN_MEMORY_COLLECTION_NAME
storeCredit: DaffCustomerStoreCredit
get(reqInfo: RequestInfo_2)
}
Properties
Name | Type | Description |
---|---|---|
collectionName | DAFF_CUSTOMER_STORE_CREDIT_IN_MEMORY_COLLECTION_NAME | |
storeCredit | DaffCustomerStoreCredit | |
get | Gets the customer's store credit. |