class Conversion extends EntityBase (View source)

Properties

string $Id from  EntityBase
string $Tag from  EntityBase
int $CreationDate from  EntityBase
string $QuoteId

The unique identifier of the active quote which guaranteed the rate for the conversion.

string $Type

The type of transaction

string $Nature

The nature of the transaction, providing more information about the context in which the transaction occurred:

string $Status

The status of the transaction.

string $AuthorId

The unique identifier of the user at the source of the transaction.

string $DebitedWalletId

The unique identifier of the debited wallet.

string $CreditedWalletId

The unique identifier of the credited wallet

Money $DebitedFunds

The sell funds

Money $CreditedFunds

The buy funds

Money $Fees

Information about the fees taken by the platform for this transaction (and hence transferred to the Fees Wallet).

string $ResultCode

The code indicates the result of the operation.

string $ResultMessage

The explanation of the result code.

int $ExecutionDate

The date and time at which the status changed to SUCCEEDED, indicating that the transaction occurred.

ConversionRate $ConversionRateResponse

Real time indicative market rate of a specific currency pair

Methods

array
GetSubObjects()

Get array with mapping which property is object and what type of object.

from  Dto
array
GetDependsObjects()

Get array with mapping which property depends on other property To be overridden in child class if has any dependent objects.

from  Dto
array
GetReadOnlyProperties()

Get array with read-only properties

__construct(string $id = null)

Construct

Details

array GetSubObjects()

Get array with mapping which property is object and what type of object.

To be overridden in child class if has any sub objects.

Return Value

array

array GetDependsObjects()

Get array with mapping which property depends on other property To be overridden in child class if has any dependent objects.

Return Value

array

array GetReadOnlyProperties()

Get array with read-only properties

Return Value

array

__construct(string $id = null)

Construct

Parameters

string $id

Entity identifier