GitHub

DaffCartAddressUpdate

Triggers the update of both the shipping and billing address of the cart.

import { DaffCartAddressUpdate } from '@daffodil/cart/state'
class DaffCartAddressUpdate<<T extends DaffCartAddress = DaffCartAddress>>  implements Action {
  readonly type: DaffCartAddressActionTypes.CartAddressUpdateAction
  payload: Partial<T>
}

Properties

Name Type Description
type DaffCartAddressActionTypes.CartAddressUpdateAction
payload Partial<T>