GitHub

DaffCartBillingAddressServiceInterface

The interface responsible for managing the billing address of a cart.

import { DaffCartBillingAddressServiceInterface } from '@daffodil/cart/driver'
interface DaffCartBillingAddressServiceInterface<T extends DaffCart = DaffCart> {
  get: Observable<T['billing_address']>
  update: Observable<Partial<T>>
}

Properties

Name Type Description
get Observable<T['billing_address']>

Retrieve the billing address of a cart

update Observable<Partial<T>>

Update the billing address of a cart