@spartacus/checkout
Version:
Checkout feature library for Spartacus
13 lines (12 loc) • 416 B
TypeScript
import { Cart } from '@spartacus/core';
import { Observable } from 'rxjs';
export declare abstract class CheckoutCostCenterAdapter {
/**
* Abstract method used to set cost center to cart
*
* @param userId: user id
* @param cartId: cart id
* @param costCenterId: cost center id
*/
abstract setCostCenter(userId: string, cartId: string, costCenterId: string): Observable<Cart>;
}