Class PartnerAPIOperationOrderSNICertificate
This class represents the orderSNICertificate WSDL operation.
It is based on the PartnerAPIOperation class and derives some properties and
methods from that class.
-
PartnerAPIOperation
-
PartnerAPIOperationOrderSNICertificate
Methods summary
public
|
#
__construct( )
The constructor.
It initializes input and output data.
|
public
PartnerAPIOperationOrderSNICertificate
|
#
setCSR( string $csr )
Sets a CSR for the request.
Sets a CSR for the request.
Setting this value is required.
Parameters
Returns
|
public
PartnerAPIOperationOrderSNICertificate
|
#
setLanguage( string|null $lang )
Sets a language to be used for the request.
Sets a language to be used for the request.
Default is 'pl'.
Parameters
Returns
|
public
PartnerAPIOperationOrderSNICertificate
|
#
setHashAlgorithm( string|null $hashAlgorithm )
Sets a hash algorithm to be used for the request.
Sets a hash algorithm to be used for the request.
Parameters
- $hashAlgorithm
string|null $hashAlgorithm
Returns
|
public
PartnerAPIOperationOrderSNICertificate
|
#
addSerialNumber( string|string[] $number )
Adds a new serial number to the operation's data.
Adds a new serial number to the operation's data.
The $number argument is a string containing a serial number. It can also be
an array of such strings. This method can be invoked several times and all
passed serial numbers will be added to the existing set of serial numbers.
It is required to set at least one serial number.
Parameters
- $number
string|string[] $number
Returns
|
public
PartnerAPIOperationOrderSNICertificate
|
#
setRequestorInfo( string $firstName, string $lastName, string $email, string $phone )
Sets all the contact data of a requestor.
Sets all the contact data of a requestor.
All arguments are required apart from the last which can be NULL.
Parameters
- $firstName
string $firstName
- $lastName
string $lastName
- $email
string $email
- $phone
string $phone
Returns
|
public
PartnerAPIOperationOrderSNICertificate
|
#
setOrganizationInfo( string $taxNumber )
Sets an organization information.
Sets an organization information.
It is not required to set organization information but if you need or have to
set it all the arguments are required.
Parameters
- $taxNumber
string $taxNumber The tax identification number
Returns
|
public
string
|
#
getOrderID( )
Gets an order ID returned in a response.
Gets an order ID returned in a response.
Returns
string
|
public
string[]
|
#
getInvalidSerialNumbers( )
Returns invalid serial numbers contained in a response.
Returns invalid serial numbers contained in a response.
This method always returns an array. If there is no invalid serial number in
a response an empty array is returned. Otherwise, an array with one or more
invalid serial numbers is returned.
Returns
string[]
|
Methods inherited from PartnerAPIOperation
call(),
getErrorTexts(),
getErrors(),
getInputDataAsArray(),
getOutputDataAsArray(),
getResponseHeader(),
getResponseMessage(),
getResponseTimeLocal(),
getService(),
isSuccess(),
setService()
|