for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace tbclla\Revolut\Builders;
class TransferBuilder extends Builder
{
/**
* The source account ID
*
* @var string
*/
public $source_account_id;
* The target account ID
public $target_account_id;
* The amount
* @var float
public $amount;
* The currency in 3-letter ISO format
public $currency;
* An optional reference
public $reference;
* The unique request ID
public $request_id;
* Set the source account ID
* @param string $id
* @return self
public function sourceAccount(string $id)
return $this->setAttribute('source_account_id', $id);
}
* Set the target account ID
public function targetAccount(string $id)
return $this->setAttribute('target_account_id', $id);
* Set the transfer amount
* @param float $amount
public function amount(float $amount)
return $this->setAttribute('amount', $amount);
* Set the transfer currency
* @param string $currency
public function currency(string $currency)
return $this->setAttribute('currency', $currency);
* Set the optional transfer reference
* @param string $reference
public function reference(string $reference)
return $this->setAttribute('reference', $reference);