\billythekid\v12finance\models\responsesDownloadDocumentResult

Class DownloadDocumentResult

Summary

Methods
Properties
Constants
__construct()
hasErrors()
getErrors()
getApplicationId()
getDocument()
getDocumentType()
jsonSerialize()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$applicationId
$document
$documentType
$errors
N/A

Properties

$applicationId

$applicationId : null|string

The application ID

Type

null|string

$document

$document : null|string

The document, base64 encoded string

Type

null|string — base64

$documentType

$documentType : null|string

The document type

Type

null|string

Methods

__construct()

__construct(\Psr\Http\Message\ResponseInterface  $responseObject) 

DownloadDocumentResult constructor.

Parameters

\Psr\Http\Message\ResponseInterface $responseObject

hasErrors()

hasErrors() : boolean

Check if there were errors

Returns

boolean

getErrors()

getErrors() : array

Gets the errors

Returns

array

getApplicationId()

getApplicationId() : string

Gets the application ID

Returns

string

getDocument()

getDocument() : string

Gets the document (base64 string)

Returns

string —

base64

getDocumentType()

getDocumentType() : string

Gets the type of the document

Returns

string

jsonSerialize()

jsonSerialize() : mixed

Specify data which should be serialized to JSON

Returns

mixed —

data which can be serialized by json_encode, which is a value of any type other than a resource.