This interface provides methods to digital sign contracts
Plenty\Modules\CustomerContract\Contracts
public signContract(string $contractId, string $signerName):Signing
Sign a contract
string | $contractId | The contract Id |
string | $signerName | Name of signer |
public getSigning(string $contractId):Signing
Returns signing of a contract
string | $contractId | The contract Id |
public signedDocument(string $contractId):void
Download the signed contract document
string | $contractId | The contract Id |
This interface provides methods to list contracts
Plenty\Modules\CustomerContract\Contracts
public list():Collection
List all contracts
public get(string $contractId):CustomerContract
Returns a single contract
string | $contractId | The contract Id |
public create(array $data):CustomerContract
Add a contract
array | $data | Data of the new contract |
public document(string $contractId):void
Download contract document
string | $contractId | The contract Id |
The customer contract model
Plenty\Modules\CustomerContract\Models
Type | Name | Description |
---|---|---|
string | id | |
string | contractLang | |
string | contractName | |
bool | contractVisible |
public toArray()
Returns this model as an array.
The customer contract model
Plenty\Modules\CustomerContract\Models
Type | Name | Description |
---|---|---|
string | contractId | |
string | contactId | |
string | signerName | |
string | createdAt |
public toArray()
Returns this model as an array.