UseGuestIfExistingEmptyStrategy

UseGuestIfExistingEmptyStrategy

Documentation generated from use-guest-if-existing-empty-strategy.ts on Mar 14 2019 at 20:14

If the existing order is empty, then the guest order is used. Otherwise the existing order is used.

Signature

class UseGuestIfExistingEmptyStrategy implements OrderMergeStrategy {
  merge(guestOrder: Order, existingOrder: Order) => OrderLine[];
}

Members

merge

method
type:
(guestOrder: Order, existingOrder: Order) => OrderLine[]
alpha