Class PersonalDataService
package |
Default |
---|
__construct(\OrderReadServiceInterface $orderReadService, \OrderWriteServiceInterface $orderWriteService, \CustomerReadService $customerReadService, \CustomerService $customerService, \EmailServiceInterface $emailService, \WithdrawalReadServiceInterface $withdrawalReadService, \WithdrawalWriteServiceInterface $withdrawalWriteService, \ReviewReadServiceInterface $reviewReadService, \ReviewWriteServiceInterface $reviewWriteService, \ShoppingCartServiceInterface $shoppingCartService, \SharedShoppingCartServiceInterface $sharedShoppingCartService, \NewsletterSubscriptionServiceInterface $newsletterSubscriptionService, \AddressBookService $addressBookService, \AgreementWriteServiceInterface $agreementWriteService, \AgreementReadServiceInterface $agreementReadService, \PersonalDataInvoiceFileStorageInterface $invoiceFileStorage, \PersonalDataPackingSlipFileStorageInterface $packingSlipFileStorage, \PersonalDataServiceSettingsInterface $serviceSettings, \PersonalDataXmlSerializer $xmlSerializer)
\OrderReadServiceInterface
\OrderWriteServiceInterface
\CustomerReadService
\CustomerService
\EmailServiceInterface
\WithdrawalReadServiceInterface
\WithdrawalWriteServiceInterface
\ReviewReadServiceInterface
\ReviewWriteServiceInterface
\ShoppingCartServiceInterface
\SharedShoppingCartServiceInterface
\NewsletterSubscriptionServiceInterface
\AddressBookService
\AgreementWriteServiceInterface
\AgreementReadServiceInterface
\PersonalDataInvoiceFileStorageInterface
\PersonalDataPackingSlipFileStorageInterface
\PersonalDataServiceSettingsInterface
\PersonalDataXmlSerializer
deletePersonalDataByCustomerId(\IdType $customerId, \PersonalDataSelection $selection)
exportPersonalDataByCustomerId(\IdType $customerId, \PersonalDataSelection $selection) : string
The XML file and all invoices and packing slips of the customer are compressed to a ZIP file. The path to the ZIP file is then returned.
Throws |
|
---|
\IdType
string
.
setInvoiceArchiveReadService(\InvoiceArchiveReadServiceInterface $invoiceArchiveReadService)
setInvoiceArchiveWriteService(\InvoiceArchiveWriteServiceInterface $invoiceArchiveWriteService)
setPackingSlipService(\PackingSlipServiceInterface $packingSlipService)