GitHub

DaffMagentoCartCustomerAddressService

import { DaffMagentoCartCustomerAddressService } from '@daffodil/cart-customer/driver/magento'

A service for making Magento GraphQL queries for carts.

@Injectable()
class DaffMagentoCartCustomerAddressService 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