Link Search Menu Expand Document

Constructor: broadcastRevenueTransactionWithdrawal

Back to constructors index

Describes a withdrawal of ad earnings »

Attributes:

NameTypeRequiredDescription
pendingBoolOptionalWhether the withdrawal is currently pending
failedBoolOptionalWhether the withdrawal has failed
amountlongYesAmount withdrawn
dateintYesWithdrawal date
providerstringYesPayment provider name
transaction_dateintOptionalIf neither pending nor failed are set, the transaction was completed successfully, and this field will contain the point in time (Unix timestamp) when the withdrawal was completed successfully.
transaction_urlstringOptionalIf neither pending nor failed are set, the transaction was completed successfully, and this field will contain a URL where the withdrawal transaction can be viewed.

Type: BroadcastRevenueTransaction

Example:

$broadcastRevenueTransactionWithdrawal = ['_' => 'broadcastRevenueTransactionWithdrawal', 'pending' => Bool, 'failed' => Bool, 'amount' => long, 'date' => int, 'provider' => 'string', 'transaction_date' => int, 'transaction_url' => 'string'];