transfer() - Domain Name Transfer
It is used for domain name transfer, it has the same function with register() function. The only difference is that the last parameter is $eppCode .
public function transfer($domain='',$sld='',$tld='',$year=1,$dns=[],$whois=[],$wprivacy=false,$eppCode=''){
$domain = idn_to_ascii($domain,0,INTL_IDNA_VARIANT_UTS46);
$sld = idn_to_ascii($sld,0,INTL_IDNA_VARIANT_UTS46);
// This result should return if the domain name was registered successfully or was previously registered.
$returnData = [
'status' => "SUCCESS",
'config' => [
'entityID' => 1,
],
];
if($wprivacy) $rdata["whois_privacy"] = ['status' => true,'message' => NULL];
return $returnData;
}