GitHub

DaffInMemoryCartBillingAddressService

Service

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

@Injectable()
class DaffInMemoryCartBillingAddressService extends DaffInMemoryDriverBase implements DaffCartBillingAddressServiceInterface {
  get(cartId: string): any
  update(
    cartId: string
    address: DaffCartAddress
  ): any
}

() Methods

get
any

Retrieve the billing address of a cart

Parameters
ParametercartId: string
Description
update
any

Update the billing address of a cart

Parameters
ParametercartId: string
Description
Parameteraddress: DaffCartAddress
Description