Documentation

InitializationCommandAttributer implements CommandAttributerContract Uses CommandAttributeTrait, ReferenceCommandAttributeTrait, TypeCommandAttributeTrait, TokenCommandAttributeTrait, SaveCommandAttributeTrait, AmountCommandAttributeTrait, CurrencyCommandAttributeTrait, BillerCommandAttributeTrait, DescriptionCommandAttributeTrait, TemplateCommandAttributeTrait, LanguageCommandAttributeTrait, CallbackCommandAttributeTrait

Class InitializationCommandAttributer

Represents an implementation of CommandAttributerContract used for initializing commands.

Table of Contents

Interfaces

CommandAttributerContract

Properties

$amount  : int
The payment amount in coins.
$biller  : string
The name of the biller provided by the acquirer.
$callback  : string
The webhook URL triggered when the payment status changes.
$currency  : string
The numeric ISO 4217 currency code.
$description  : string|null
The payment description for displaying on the card input page.
$reference  : string
The unique payment (order) ID for future usage.
$save  : bool|null
Indicates whether to save card data.
$template  : string
The name of the template for the card input page.
$token  : string|null
The card's unique token.

Methods

getAmount()  : int
Get the amount attribute.
getBiller()  : string
Get the biller name.
getCallback()  : string
Get the callback attribute.
getCurrency()  : string
Get the currency attribute.
getDescription()  : string|null
Get the payment description.
getReference()  : string
Get the reference attribute.
getSave()  : bool|null
Get the save attribute.
getTemplate()  : string
Get the template name.
getToken()  : string|null
Get the token attribute.
setAmount()  : void
Set the amount attribute.
setBiller()  : void
Set the biller name.
setCallback()  : void
Set the callback attribute.
setCurrency()  : void
Set the currency attribute.
setDescription()  : void
Set the payment description.
setReference()  : void
Set the reference attribute.
setSave()  : void
Set the save attribute.
setTemplate()  : void
Set the template name.
setToken()  : void
Set the token attribute.

Properties

$currency

The numeric ISO 4217 currency code.

private string $currency = "AZN"

This property represents the currency code used for transactions. It follows the ISO 4217 standard for currency codes. The default value is "AZN" (Azerbaijani Manat).

Methods

getBiller()

Get the biller name.

public getBiller() : string
Return values
string

The name of the biller provided by the acquirer.

getCurrency()

Get the currency attribute.

public getCurrency() : string
Return values
string

The numeric ISO 4217 currency code.

getDescription()

Get the payment description.

public getDescription() : string|null
Return values
string|null

The payment description for displaying on the card input page.

getReference()

Get the reference attribute.

public getReference() : string
Return values
string

The unique payment (order) ID.

getSave()

Get the save attribute.

public getSave() : bool|null
Return values
bool|null

Whether to save card data.

getTemplate()

Get the template name.

public getTemplate() : string
Return values
string

The name of the template for the card input page.

getToken()

Get the token attribute.

public getToken() : string|null
Return values
string|null

The card's unique token, or null if not set.

setBiller()

Set the biller name.

public setBiller(string $biller) : void
Parameters
$biller : string

The name of the biller provided by the acquirer.

setDescription()

Set the payment description.

public setDescription(string $description) : void
Parameters
$description : string

The payment description for displaying on the card input page.

setReference()

Set the reference attribute.

public setReference(string $reference) : void
Parameters
$reference : string

The unique payment (order) ID.

setSave()

Set the save attribute.

public setSave(bool $save) : void
Parameters
$save : bool

Whether to save card data.

setTemplate()

Set the template name.

public setTemplate(string $template) : void
Parameters
$template : string

The name of the template for the card input page.


        
On this page

Search results