Class PersonalDataService
Class PersonalDataService
- PersonalDataService implements PersonalDataServiceInterface
Methods summary
public
__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 )
PersonalDataService constructor.
public
deletePersonalDataByCustomerId( IdType $customerId, PersonalDataSelection $selection )
Deletes all data for a given customer. The following personal data will be deleted:
public
exportPersonalDataByCustomerId( IdType $customerId, PersonalDataSelection $selection )
: string
Exports all personal data of a given customer as XML including the following data:
public
setInvoiceArchiveReadService( InvoiceArchiveReadServiceInterface $invoiceArchiveReadService )
public
setInvoiceArchiveWriteService( InvoiceArchiveWriteServiceInterface $invoiceArchiveWriteService )
protected
buildZipFile( StringType $customerHash, StringType $xmlString, ExistingFileCollection $invoices, ExistingFileCollection $packingSlips )
protected
getNewsletterSubscriptionByCustomerEmail( CustomerEmail $email )
: boolean|NewsletterSubscription