PersonalDataServiceInterface

Extends

Interface PersonalDataServiceInterface

package

Default

Methods

Deletes all data for a given customer. The following personal data will be deleted:

deletePersonalDataByCustomerId(\IdType $customerId, \PersonalDataSelection $selection) 
  • base data
  • addresses
  • orders
  • invoices
  • packing slips
  • withdrawals
  • agreements
  • emails
  • shopping carts
  • shared shopping carts
  • reviews
  • newsletter subscriptions
Throws
\InvalidArgumentException

Arguments

$customerId

\IdType

$selection

\PersonalDataSelection

Personal data selection

Exports all personal data of a given customer including the following data:

exportPersonalDataByCustomerId(\IdType $customerId, \PersonalDataSelection $selection) 
  • base data
  • addresses
  • orders
  • invoices
  • packing slips
  • withdrawals
  • agreements
  • emails
  • shopping carts
  • shared shopping carts
  • reviews
  • newsletter subscriptions

Arguments

$customerId

\IdType

$selection

\PersonalDataSelection

Personal data selection

setInvoiceArchiveReadService

setInvoiceArchiveReadService(\InvoiceArchiveReadServiceInterface $invoiceArchiveReadService) 

Arguments

$invoiceArchiveReadService

\InvoiceArchiveReadServiceInterface

setInvoiceArchiveWriteService

setInvoiceArchiveWriteService(\InvoiceArchiveWriteServiceInterface $invoiceArchiveWriteService) 

Arguments

$invoiceArchiveWriteService

\InvoiceArchiveWriteServiceInterface

setPackingSlipService

setPackingSlipService(\PackingSlipServiceInterface $packingSlipService) 

Arguments

$packingSlipService

\PackingSlipServiceInterface