GitHub

DaffMagentoCartAddressService

import { DaffMagentoCartAddressService } from '@daffodil/cart/driver/magento'

A service for making Magento GraphQL queries for carts.

@Injectable()
class DaffMagentoCartAddressService implements DaffCartAddressServiceInterface {
  update(
    cartId: string
    address: Partial<DaffCartAddress>
  ): Observable<Partial<DaffCart>>
}

() Methods

update
Observable<Partial<DaffCart>>

Update the billing and shipping address of a cart

Parameters
ParametercartId: string
Description
Parameteraddress: Partial<DaffCartAddress>
Description