LegalInformationService

This service class contains functions related to the legal information widgets.
All public functions are available in the Twig template renderer.

Namespace

IO\Services

Properties
Type Name Description

``

$legalInformationRepo

``

$lang

``

$plentyId

Methods
public __construct($legalInformationRepo, $app)

LegalInformationService constructor.

Parameters

Type

Name

Description

LegalInformationRepositoryContract

$legalInformationRepo

Application

$app

public getTermsAndConditions():LegalInformation

Get the LegalInformation model for the Terms and Conditions

public getCancellationRights():LegalInformation

Get the LegalInformation model for the Cancellation Rights

public getPrivacyPolicy():LegalInformation

Get the LegalInformation model for the Privacy Policy

public getLegalDisclosure():LegalInformation

Get the LegalInformation model for the Legal Disclosure

public getWithdrawalForm():LegalInformation

Get the LegalInformation model for the Withdrawal Form