AgreementWriteServiceInterface

Extends

Interface AgreementWriteServiceInterface

category

Core

package

Agreement

subpackage

Interfaces

Methods

Returns an agreement entity.

create() : \Agreement

Response

\Agreement

Returns an agreement customer.

createCustomer(\StringType $customerName, \CustomerEmailInterface $customerEmail) : \AgreementCustomer

Arguments

$customerName

\StringType

Customer name.

$customerEmail

\CustomerEmailInterface

Customer email.

Response

\AgreementCustomer

Deletes the provided agreement.

delete(\AgreementInterface $agreement) : $this|\AgreementWriteServiceInterface

Arguments

$agreement

\AgreementInterface

Response

$this|\AgreementWriteServiceInterface

Same instance for chained method calls.

Stores the provided agreement.

store(\AgreementInterface $agreement) : $this|\AgreementWriteServiceInterface

Arguments

$agreement

\AgreementInterface

Response

$this|\AgreementWriteServiceInterface

Same instance for chained method calls.