GitHub

DaffMagentoCartCustomerShippingAddressService

A service for making Magento GraphQL queries for a cart's shipping address.

import { DaffMagentoCartCustomerShippingAddressService } from '@daffodil/cart-customer/driver/magento'
@Injectable()
class DaffMagentoCartCustomerShippingAddressService implements DaffCartShippingAddressServiceInterface {
  get(cartId: string): Observable<DaffCartAddress>
  update(
    cartId: string
    address: Partial<DaffCartAddress>
  ): Observable<Partial<DaffCart>>
}

Properties

Name Type Description
get Observable<DaffCartAddress>

Retrieve the shipping address of a cart.

update Observable<Partial<DaffCart>>

Update the shipping address of a cart.