src/Transaction.php
public static function makeAliasSendInstance(string $alias, float $value, string $message = ''): self
    {
        $transaction = new self();

        $transaction->setVersion(Version::ALIAS_SEND);
        $transaction->setDestinationAddress($alias);
        $transaction->setValue($value);
        $transaction->setMessage($message);

        return $transaction;
    }
public static function makeAliasSendInstance(string $alias, float $value, string $message = ''): self
    {
        $transaction = new self();

        $transaction->setVersion(Version::ALIAS_SEND);
        $transaction->setDestinationAddress($alias);
        $transaction->setValue($value);
        $transaction->setMessage($message);

        return $transaction;
    }
public static function makeAliasSendInstance ( string $ alias , float $ value , string $ message = '' ) : self { $ transaction = new self ( ) ; $ transaction -> setVersion ( Version :: ALIAS_SEND ) ; $ transaction -> setDestinationAddress ( $ alias ) ; $ transaction -> setValue ( $ value ) ; $ transaction -> setMessage ( $ message ) ; return $ transaction ; }
Retrieve a pre-populated Transaction instance for sending to an alias.

@param string $alias
@param float  $value
@param string $message
@return self
@api
Retrieve a pre - populated Transaction instance for sending to an alias .