SmartidInitOnlySigningRequestBuilder
Extends AppBundle\GatewaySDKPhp\RequestBuilder\AbstractRequestBuilder
Trait AppBundle\GatewaySDKPhp\RequestBuilder\Traits\TraitBuildParameters
Table of contents
- Properties
- Methods
public withType(string $type)public withCountry(string $country)public withMessage(string $message)public withCode(string $code)public withSignaturePosition(string $signaturePosition)public withSignaturePage(string $signaturePage)public withCertificateLevel(string $certificateLevel)public withPeps(bool $peps)public withSanctions(bool $sanctions)public withPdf(AppBundle\GatewaySDKPhp\RequestBuilder\Partials\Files $pdf)public createRequest()
Properties
| Visibility | Type | Name | Description |
|---|---|---|---|
| protected | String | type | Document format. Possible values: pdf |
| protected | String | country | Signer’s country code: LT, EE |
| protected | String | message | Message to be displayed on phone screen |
| protected | String | code | Personal code |
| protected | String | signaturePosition | Position of a visible signature in the document. Possible values: auto, left_top, left_bottom, right_top, right_bottom. default results in invisible signature |
| protected | String | signaturePage | Page of a visible signature (pdf annotation) in the pdf document. Possible values: first_page, last_page. Default: last_page |
| protected | String | certificateLevel | Requested SK Smart-ID certificate level. Possible values: QSCD, QUALIFIED. Defaults to QSCD |
| protected | Boolean | peps | Whether to check PEPs information |
| protected | Boolean | sanctions | Whether to check sanctions information |
| protected | AppBundle\GatewaySDKPhp\RequestBuilder\Partials\Files | PDF files object |
Methods
public withType(string $type)
returns self
Sets type
public withCountry(string $country)
returns self
Sets country
public withMessage(string $message)
returns self
Sets message
public withCode(string $code)
returns self
Sets code
public withSignaturePosition(string $signaturePosition)
returns self
Sets signaturePosition
public withSignaturePage(string $signaturePage)
returns self
Sets signaturePage
public withCertificateLevel(string $certificateLevel)
returns self
Sets certificate_level
public withPeps(bool $peps)
returns self
Sets peps
public withSanctions(bool $sanctions)
returns self
Sets sanctions
public withPdf(AppBundle\GatewaySDKPhp\RequestBuilder\Partials\Files $pdf)
returns self
Sets pdf object
public createRequest()
returns AppBundle\GatewaySDKPhp\Model\RequestInterface
Creates and returns AppBundle\GatewaySDKPhp\Model\RequestInterface to be used with postRequest method.