GitHub

DaffInMemoryCartBillingAddressService

import { DaffInMemoryCartBillingAddressService } from '@daffodil/cart/driver/in-memory'
@Injectable()
class DaffInMemoryCartBillingAddressService extends DaffInMemoryDriverBase implements DaffCartBillingAddressServiceInterface {
  get(cartId: string): Observable<DaffCartAddress>
  update(
    cartId: string
    address: DaffCartAddress
  ): Observable<Partial<DaffCart>>
}

Properties

Name Type Description
get Observable<DaffCartAddress>

Retrieve the billing address of a cart

update Observable<Partial<DaffCart>>

Update the billing address of a cart