GitHub

DaffCartAddressUpdate

import { DaffCartAddressUpdate } from '@daffodil/cart/state'

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

class DaffCartAddressUpdate<<T extends DaffCartAddress = DaffCartAddress>>  implements Action {
  readonly type: DaffCartAddressActionTypes.CartAddressUpdateAction = DaffCartAddressActionTypes.CartAddressUpdateAction
  payload: Partial<T>
}