CallbackCommandAttributeTrait
Trait CallbackCommandAttributeTrait
Trait containing methods to manage the callback attribute of Yigim payment system commands. The callback attribute represents the webhook URL triggered when the payment status changes.
Table of Contents
Properties
- $callback : string
- The webhook URL triggered when the payment status changes.
Methods
- getCallback() : string
- Get the callback attribute.
- setCallback() : void
- Set the callback attribute.
Properties
$callback
The webhook URL triggered when the payment status changes.
private
string
$callback
Methods
getCallback()
Get the callback attribute.
public
getCallback() : string
Return values
string —The webhook URL.
setCallback()
Set the callback attribute.
public
setCallback(string $callback) : void
Parameters
- $callback : string
-
The webhook URL.