GitHub

DaffMagentoCartCustomerBillingAddressService

Service

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

A service for making Magento GraphQL queries for carts.

@Injectable()
class DaffMagentoCartCustomerBillingAddressService implements DaffCartBillingAddressServiceInterface {
  get(cartId: string): any
  update(
    cartId: string
    address: Partial<DaffCartAddress>
  ): any
}

() Methods

get
any

Retrieve the billing address of a cart

Parameters
ParametercartId: string
Description
update
any

Update the billing address of a cart

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