Skip to content

Commit

Permalink
Merge pull request #1 from xvilo/v5.14
Browse files Browse the repository at this point in the history
Add handover function for domainnames and bump versions
  • Loading branch information
RobinGeuze authored Jun 13, 2019
2 parents b4a4e13 + 60d690c commit 3cfc5fb
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 8 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
TRANSIP API V5.14

NEW
- Added a function to handover a domain from a TransIP account to another TransIP account.

TRANSIP API V5.9

NEW
Expand Down
2 changes: 1 addition & 1 deletion Transip/ColocationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Transip_ColocationService
/** The SOAP service that corresponds with this class. */
const SERVICE = 'ColocationService';
/** The API version. */
const API_VERSION = '5.13';
const API_VERSION = '5.14';
/** @var SoapClient The SoapClient used to perform the SOAP calls. */
protected static $_soapClient = null;

Expand Down
2 changes: 1 addition & 1 deletion Transip/DnsService.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Transip_DnsService
/** The SOAP service that corresponds with this class. */
const SERVICE = 'DnsService';
/** The API version. */
const API_VERSION = '5.13';
const API_VERSION = '5.14';
/** @var SoapClient The SoapClient used to perform the SOAP calls. */
protected static $_soapClient = null;

Expand Down
15 changes: 14 additions & 1 deletion Transip/DomainService.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Transip_DomainService
/** The SOAP service that corresponds with this class. */
const SERVICE = 'DomainService';
/** The API version. */
const API_VERSION = '5.13';
const API_VERSION = '5.14';
/** @var SoapClient The SoapClient used to perform the SOAP calls. */
protected static $_soapClient = null;

Expand Down Expand Up @@ -523,6 +523,19 @@ public static function requestAuthCode($domainName)
{
return self::_getSoapClient(array_merge(array($domainName), array('__method' => 'requestAuthCode')))->requestAuthCode($domainName);
}

/**
* Handover a Domain to another TransIP User. Please be aware that this will NOT change the owner contact information
* at the registry. If you want to change the domain owner at the registry, then you should execute a 'setOwner'.
*
* @param string $domainName The domain name you want to hand over.
* @param string $targetAccountname the target account name
* @throws ApiException on error
*/
public static function handover($domainName, $targetAccountname)
{
return self::_getSoapClient(array_merge(array($domainName, $targetAccountname), array('__method' => 'handover')))->handover($domainName, $targetAccountname);
}
}

?>
2 changes: 1 addition & 1 deletion Transip/ForwardService.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Transip_ForwardService
/** The SOAP service that corresponds with this class. */
const SERVICE = 'ForwardService';
/** The API version. */
const API_VERSION = '5.13';
const API_VERSION = '5.14';
/** @var SoapClient The SoapClient used to perform the SOAP calls. */
protected static $_soapClient = null;

Expand Down
2 changes: 1 addition & 1 deletion Transip/HaipService.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Transip_HaipService
/** The SOAP service that corresponds with this class. */
const SERVICE = 'HaipService';
/** The API version. */
const API_VERSION = '5.13';
const API_VERSION = '5.14';
/** @var SoapClient The SoapClient used to perform the SOAP calls. */
protected static $_soapClient = null;

Expand Down
2 changes: 1 addition & 1 deletion Transip/PropositionService.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Transip_PropositionService
/** The SOAP service that corresponds with this class. */
const SERVICE = 'PropositionService';
/** The API version. */
const API_VERSION = '5.13';
const API_VERSION = '5.14';
/** @var SoapClient The SoapClient used to perform the SOAP calls. */
protected static $_soapClient = null;

Expand Down
2 changes: 1 addition & 1 deletion Transip/VpsService.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Transip_VpsService
/** The SOAP service that corresponds with this class. */
const SERVICE = 'VpsService';
/** The API version. */
const API_VERSION = '5.13';
const API_VERSION = '5.14';
/** @var SoapClient The SoapClient used to perform the SOAP calls. */
protected static $_soapClient = null;

Expand Down
2 changes: 1 addition & 1 deletion Transip/WebhostingService.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Transip_WebhostingService
/** The SOAP service that corresponds with this class. */
const SERVICE = 'WebhostingService';
/** The API version. */
const API_VERSION = '5.13';
const API_VERSION = '5.14';
/** @var SoapClient The SoapClient used to perform the SOAP calls. */
protected static $_soapClient = null;

Expand Down

0 comments on commit 3cfc5fb

Please sign in to comment.