Link Search Menu Expand Document (external link)

SmartidInitSigningRequestBuilder

view source

Extends AppBundle\GatewaySDKPhp\RequestBuilder\AbstractRequestBuilder

Trait AppBundle\GatewaySDKPhp\RequestBuilder\Traits\TraitBuildParameters

Table of contents
  1. SmartidInitSigningRequestBuilder
    1. Properties
    2. Methods
      1. public withType(string $type)
      2. public withCountry(string $country)
      3. public withMessage(string $message)
      4. public withCode(string $code)
      5. public withSignaturePosition(string $signaturePosition)
      6. public withSignaturePage(string $signaturePage)
      7. public withCertificateLevel(string $certificateLevel)
      8. public withPeps(bool $peps)
      9. public withSanctions(bool $sanctions)
      10. public withPdf(AppBundle\GatewaySDKPhp\RequestBuilder\Partials\Files $pdf)
      11. public withAdoc(AppBundle\GatewaySDKPhp\RequestBuilder\Partials\Files $adoc)
      12. public withAsice(AppBundle\GatewaySDKPhp\RequestBuilder\Partials\Files $asice)
      13. public withBdoc(AppBundle\GatewaySDKPhp\RequestBuilder\Partials\Files $bdoc)
      14. public createRequest()

Properties

Visibility Type Name Description
protected String type Document format. Possible values: pdf, adoc, bdoc, asice
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 PDF files object
protected AppBundle\GatewaySDKPhp\RequestBuilder\Partials\Files adoc ADOC files object
protected AppBundle\GatewaySDKPhp\RequestBuilder\Partials\Files asice ASICE files object
protected AppBundle\GatewaySDKPhp\RequestBuilder\Partials\Files bdoc BDOC 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 withAdoc(AppBundle\GatewaySDKPhp\RequestBuilder\Partials\Files $adoc)

returns self

Sets adoc object

public withAsice(AppBundle\GatewaySDKPhp\RequestBuilder\Partials\Files $asice)

returns self

Sets asice Object

public withBdoc(AppBundle\GatewaySDKPhp\RequestBuilder\Partials\Files $bdoc)

returns self

Sets bdoc object

public createRequest()

returns AppBundle\GatewaySDKPhp\Model\RequestInterface

Creates and returns AppBundle\GatewaySDKPhp\Model\RequestInterface to be used with postRequest method.