Stellar PHP SDK API Documentation

SEP24FeeRequest
in package

Table of Contents

Properties

$amount  : float
$assetCode  : string
$jwt  : string|null
$operation  : string
$type  : string|null

Methods

__construct()  : mixed
Constructor.
getAmount()  : float
getAssetCode()  : string
getJwt()  : string|null
getOperation()  : string
getType()  : string|null
setAmount()  : void
setAssetCode()  : void
setJwt()  : void
setOperation()  : void
setType()  : void

Properties

$amount

public float $amount

Amount of the asset that will be deposited/withdrawn.

$assetCode

public string $assetCode

the asset code of the asset to request the operation fee for.

$jwt

public string|null $jwt = null

(optional) the jwt token obtained from sep-10 authentication.

$operation

public string $operation

Kind of operation ('deposit' or 'withdraw').

$type

public string|null $type = null

(optional) Type of deposit or withdrawal (SEPA, bank_account, cash, etc...).

Methods

__construct()

Constructor.

public __construct(string $operation, string $assetCode, float $amount[, string|null $type = null ][, string|null $jwt = null ]) : mixed
Parameters
$operation : string

Kind of operation ('deposit' or 'withdraw').

$assetCode : string

The asset code of the asset to request the operation fee for.

$amount : float

Amount of the asset that will be deposited/withdrawn.

$type : string|null = null

(optional) Type of deposit or withdrawal (SEPA, bank_account, cash, etc...).

$jwt : string|null = null

(optional) the jwt token obtained from sep-10 authentication.

getAmount()

public getAmount() : float
Return values
float

Amount of the asset that will be deposited/withdrawn.

getAssetCode()

public getAssetCode() : string
Return values
string

The asset code of the asset to request the operation fee for.

getJwt()

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

(optional) the jwt token obtained from sep-10 authentication.

getOperation()

public getOperation() : string
Return values
string

Kind of operation ('deposit' or 'withdraw').

getType()

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

(optional) Type of deposit or withdrawal (SEPA, bank_account, cash, etc...).

setAmount()

public setAmount(float $amount) : void
Parameters
$amount : float

Amount of the asset that will be deposited/withdrawn.

setAssetCode()

public setAssetCode(string $assetCode) : void
Parameters
$assetCode : string

The asset code of the asset to request the operation fee for.

setJwt()

public setJwt(string|null $jwt) : void
Parameters
$jwt : string|null

(optional) the jwt token obtained from sep-10 authentication.

setOperation()

public setOperation(string $operation) : void
Parameters
$operation : string

Kind of operation ('deposit' or 'withdraw').

setType()

public setType(string|null $type) : void
Parameters
$type : string|null

(optional) Type of deposit or withdrawal (SEPA, bank_account, cash, etc...).


        
On this page

Search results