phpDocumentor

Agreement
in package
implements AgreementInterface

Class Agreement

Tags
category

System

subpackage

Entities

Interfaces, Classes and Traits

AgreementInterface
Interface AgreementInterface

Table of Contents

$contentGroup  : IdType
$customer  : mixed
$dateAdded  : DateTime
$id  : IdType
$ipAddress  : StringType
$languageId  : IdType
$lastModifiedDate  : DateTime
$legalTextVersion  : StringType
$repository  : AgreementRepositoryInterface
$text  : NonEmptyStringType
__construct()  : mixed
Agreement constructor.
delete()  : $this|Agreement
Deletes the agreement.
getContentGroup()  : IdType
Returns the content group ID of the legal text.
getCustomer()  : AgreementCustomerInterface
Returns the customers of the agreement.
getDateAdded()  : DateTime
Returns the date and time of the agreement.
getId()  : IdType
Returns the agreement id.
getIpAddress()  : StringType
Returns the IP address of the customer which confirmed the agreement.
getLanguageId()  : IdType
Returns the language ID of the agreement.
getLastModifiedDateTime()  : DateTime
Returns the last modified date of the agreement.
getLegalTextVersion()  : StringType
Returns the version of the legal text.
getText()  : NonEmptyStringType
Returns the text of the agreement.
setContentGroup()  : $this|AgreementInterface
Sets the content group of the legal text.
setCustomer()  : $this|AgreementInterface
Sets the customers to the agreement.
setDateAdded()  : $this|AgreementInterface
Sets the date of the agreement.
setId()  : $this|AgreementInterface
Sets the agreement id.
setIpAddress()  : $this|AgreementInterface
Sets the IP address of the customer which confirmed the agreement.
setLanguageId()  : $this|AgreementInterface
Sets the language ID of the agreement.
setLastModifiedDate()  : $this|AgreementInterface
Sets the last modified date of the agreement.
setLegalTextVersion()  : $this|AgreementInterface
Sets the version of the legal text.
setText()  : $this|AgreementInterface
Sets the text of the agreement.
store()  : $this|Agreement
Stores the agreement.

Properties

Methods

getContentGroup()

Returns the content group ID of the legal text.

public getContentGroup() : IdType
Return values
IdType

getDateAdded()

Returns the date and time of the agreement.

public getDateAdded() : DateTime
Return values
DateTime

Date and time of the agreement.

getLanguageId()

Returns the language ID of the agreement.

public getLanguageId() : IdType
Return values
IdType

Language ID.

getLastModifiedDateTime()

Returns the last modified date of the agreement.

public getLastModifiedDateTime() : DateTime
Return values
DateTime

Date and time of the agreement.

setDateAdded()

Sets the date of the agreement.

public setDateAdded(DateTime $dateTime) : $this|AgreementInterface
Parameters
$dateTime : DateTime

Date and time.

Return values
$this|AgreementInterface

Same instance for chained method calls.

setLastModifiedDate()

Sets the last modified date of the agreement.

public setLastModifiedDate(DateTime $dateTime) : $this|AgreementInterface
Parameters
$dateTime : DateTime

Date and time.

Return values
$this|AgreementInterface

Same instance for chained method calls.

Search results