diff --git a/src/Api/Domain.php b/src/Api/Domain.php index f592597..66fb819 100644 --- a/src/Api/Domain.php +++ b/src/Api/Domain.php @@ -113,4 +113,23 @@ final public function setNameservers(string $domain, array $nameservers, ?array { return $this->getGandi()->getClient()->domain->nameservers->set($domain, $nameservers, $options); } + + + /** + * @param string $domain + * @return array + */ + final public function transferLock(string $domain): array + { + return $this->getGandi()->getClient()->domain->status->lock($domain); + } + + /** + * @param string $domain + * @return array + */ + final public function transferUnlock(string $domain): array + { + return $this->getGandi()->getClient()->domain->status->unlock($domain); + } }