AgreementAccessRepositoryInterface
in
Table of Contents
- getAgreementsByCustomerEmail() : AgreementCollection
- Returns the agreements by the provided customer email address.
- getAll() : AgreementCollection
- Returns all agreement entities as an array.
- getById() : Agreement
- Returns an agreement entity by the provided id.
Methods
getAgreementsByCustomerEmail()
Returns the agreements by the provided customer email address.
public
getAgreementsByCustomerEmail(StringType $customerEmail) : AgreementCollection
Parameters
- $customerEmail : StringType
Return values
AgreementCollection —getAll()
Returns all agreement entities as an array.
public
getAll() : AgreementCollection
Return values
AgreementCollection —getById()
Returns an agreement entity by the provided id.
public
getById(IdType $id) : Agreement
Parameters
- $id : IdType