By default wsdl in wsdl dir is used. * */ function DomOrder($wsdlurl="wsdl/domain.wsdl") { $this->wsdl = $wsdlurl; $this->s = new soapclient($this->wsdl,"wsdl"); } /** * @access private */ //This function is to diaplay xml Request/Response. function debugfunction() { global $debugfunction; if($debugfunction) { print "XML Sent:

"; print "" . $this->s->request . ""; print "
XML Received:

"; print "" . $this->s->response . ""; print "
"; } } /** * Adds a Child NameServer on a domain name. * * @return AssociativeArray * @param string Username. * @param string Password. * @param string Role. * @param string Language Preference. * @param int Parent id. * @param int The orderId under which the CNS is to be added * @param string The name to be used for the Child NameServer (ex. host1.foundationapi.com) * @param Array The IP Addresses to be associated with the CNS. A maximum of 13 IP Addresses can be provided.It is an Array with no specific keys for the elements. *

Returns: *
AssociativeArray with the result of the modification. *
entityid=327 *
description=apitest04.org *
actiontype=AddCns *
actiontypedesc=Addition of Child Nameserver host1.apitest04.org with IP [203.23.53.105] *
actionstatus=Success *
actionstatusdesc=Addition Completed Successfully *
status=Success * */ function addChildNameServer($userName,$password,$role,$langpref,$parentid,$orderId,$cns,$ipAddress) { $para = array($userName,$password,$role,$langpref,$parentid,$orderId,$cns,$ipAddress); $return = $this->s->call("addChildNameServer",$para); $this->debugfunction(); return $return; } /** * Returns the availability status of a domainname. * * @return AssociativeArray * @param string Username. * @param string Password. * @param string Role. * @param string Language Preference. * @param int Parent id. * @param string The domainname for which availability is to be checked * @param boolean If this parameter is true, then availability will be checked for all supported TLD's. If it is false, then availability will be checked only for the specified TLD *

Returns: *
AssociativeArray. *
The AssociativeArray has the domainname as the key and a AssociativeArray as the value The inner AssociativeArray has two keys - status and classkey {atestdomain.com={status=regthroughothers, classkey=domcno}} Possible values for the status are: available, regthroughus and regthroughothers The classkey denotes the TLD type of the domainname. * */ function checkAvailability($userName,$password,$role,$langpref,$parentid,$domainName,$suggestAlternative) { $para = array($userName,$password,$role,$langpref,$parentid,$domainName,$suggestAlternative); $return = $this->s->call("checkAvailability",$para); $this->debugfunction(); return $return; } /** * Deletes the IP Address associated with a Child NameServer * * @return AssociativeArray * @param string Username. * @param string Password. * @param string Role. * @param string Language Preference. * @param int Parent id. * @param int The orderId under which the CNS to be modifed is created * @param string The Child NameServer to be modified * @param Array The IP Addresses to be removed. An Array with no specific keys for the elements *

Returns: *
AssociativeArray. *
A AssociativeArray with the result of the action. *
entityid=327 *
description=apitest04.org *
actiontype=DelCnsIp *
actiontypedesc=Deletion of IP Address [203.23.53.106] from Child Nameserver dns1.apitest04.org *
actionstatus=Success *
actionstatusdesc=Modification Completed Successfully. *
status=Success * */ function deleteChildNameServerIp($userName,$password,$role,$langpref,$parentid,$orderId,$cns,$ipAddress) { $para = array($userName,$password,$role,$langpref,$parentid,$orderId,$cns,$ipAddress); $return = $this->s->call("deleteChildNameServerIp",$para); $this->debugfunction(); return $return; } /** * DELETES the specified domain name from the Registry. * * @return AssociativeArray * @param string Username. * @param string Password. * @param string Role. * @param string Language Preference. * @param int Parent id. * @param int The orderId of the domain name to be deleted. *

This command must be used with caution. Once a domain is deleted, there are two ways of getting it back: It can then either be Restored (at cost) It must be re-registered once the domain name becomes available in the Registry (between 5-35 days). *

Returns: *
AssociativeArray. *
A AssociativeArray with the result of the action. *
entityid=327 *
description=apitest04.org *
actiontype=DelDomain *
actiontypedesc=Deletion of apitest04.org *
actionstatus=Success *
actionstatusdesc=Deletion has been completed *
status=Success * */ function deleteDomain($userName,$password,$role,$langpref,$parentid,$orderId) { $para = array($userName,$password,$role,$langpref,$parentid,$orderId); $return = $this->s->call("deleteDomain",$para); $this->debugfunction(); return $return; } /** * Returns the complete details of a particular order. * * @return AssociativeArray * @param string Username. * @param string Password. * @param string Role. * @param string Language Preference. * @param int Parent id. * @param int The orderId for which details are required * @param Array The various details that are required for the order.(OrderDetails,StatusDetails,ContactIds,RegistrantContactDetails,AdminContactDetails,TechContactDetails,BillingContactDetails,NsDetails,DomainStatus,PricingDetails,All) *

Returns: *
AssociativeArray. *
AssociativeArray with name-value pairs for all the details of the order *
orderid=123 *
entityid=123 *
description=foundationapi.org *
ns2=ns3.logicboxes.com *
ns1=ns1.logicboxes.com *
entitytypeid=7 *
eaqid=0 *
currentstatus=Active *
customercost=10.0 *
parentkey=1 *
domainstatus=[] *
orderstatus=[] *
creationtime=1060855310 *
classname=com.logicboxes.foundation.sfnb.order.domorg.DomOrg *
classkey=domorg *
domsecret=JKz42pbB5H *
cns={}, *
endtime=1092457910 *
domainname=foundationapi.org *
registrantcontactid=320 *
admincontactid=320 *
techcontactid=320 *
billingcontactid=320 *
If you have requested for the contact details as well, you will get keys as registrantcontact, billingcontact, admincontact and techcontact. The value for these keys will be a AssociativeArray with the following keys: *
contactid=320 *
name=Contact *
company=FAPI *
customerid=21 *
parentkey=1 *
emailaddr=contact@fapi.com *
address1=Somewhere *
address2= *
address3= *
city=Someplace *
state= *
country=SH *
zip=12345 *
telnocc=123 *
telno=135435456 *
faxnocc= *
faxno= *
contacttype=[domorg] * */ function getDetails($userName,$password,$role,$langpref,$parentid,$orderId,$option) { $para = array($userName,$password,$role,$langpref,$parentid,$orderId,$option); $return = $this->s->call("getDetails",$para); $this->debugfunction(); return $return; } /** * Returns a list of the locks placed on a domain name. * * @return AssociativeArray * @param string Username. * @param string Password. * @param string Role. * @param string Language Preference. * @param int Parent id. * @param int The orderId of the domain name *

Returns: *
AssociativeArray. *
A AssociativeArray with the list of locks. The AssociativeArray will have the lock type (customerlock, resellerlock) as the key. The value will be a AssociativeArray with the following details *
lockerid=3 *
addedby=Reseller Company *
creationdt=1063959797 *
lockerid is the Customer/ResellerId of the person who added the lock addedby is the Company Name of the person who added the lock creationdt is the Date the lock was added in Unix timestamp format. * */ function getLockList($userName,$password,$role,$langpref,$parentid,$orderId) { $para = array($userName,$password,$role,$langpref,$parentid,$orderId); $return = $this->s->call("getLockList",$para); $this->debugfunction(); return $return; } /** * Returns a list of Domain Names that match the specified search criteria. If you do not want to specify a particular criterion, pass null for object parameters and 0 for numeric parameters. * * @return AssociativeArray * @param string Username. * @param string Password. * @param string Role. * @param string Language Preference. * @param int Parent id. * @param int[] int[] with no keysspecified of OrderIds for listing Specific Orders * @param int[] int[] with no keysspecified of ResellerIds for listing Orders under specific Sub-Reseller(s) * @param int[] int[] with no keysspecified of CustomerIds for listing Orders belonging to specific Customer(s) * @param boolean * @param string[] string[] with no keysspecified to return Orders of specific TLD's (.com = domcno,.net = domcno,.org = domorg,.biz = dombiz,.info = dominfo,.us = domus) * @param string[] string[] with no keysspecified for listing Orders having specific Current Status Valid values are: InActive, Active, Suspended, Deleted * @param string String for listing of Orders where the domain name matches description. The check is not for an exact match. If any part of the domainname matches description, it will be returned in the search result. * @param string UNIX TimeStamp (epoch) for listing Orders created after creationDTRangStart * @param string UNIX TimeStamp (epoch) for listing Orders created before creationDTRangEnd * @param string * @param string * @param int No. of Records to be returned. The maximum valoue allowed is 50 * @param int Page Number for which records are required * @param string[] string[] with no keysspecified of Field names for sorting Listing of Orders. Default sorting is by orderId. *

Returns: *
AssociativeArray. *
AssociativeArray which contains list of orders matching the search criteria The Keys for the AssociativeArray are values from 1 to n. The Value is another AssociativeArray which contains key-value pairs of domain information. The outerAssociativeArray also contains two additional parameters - *
recsonpage = The no of records returned in this key-value paired array *
recsindb = The total no of records available that match the search criteria *
Keys in the inner key-value paired array per order: *
orders.orderid=101 *
entity.customerid=21 *
entity.entityid=101 *
orders.endtime=1088270630 *
orders.timestamp=2003-07-01 16:20:55.185655 *
entity.entitytypeid=5 *
entity.currentstatus=Active *
entitytype.entitytypekey=domorg *
orders.creationtime=1056650030 *
entitytype.entitytypename=.ORG Domain *
orders.creationdt=1056445863 *
entity.description=foundationapi.com * */ function listOrder($userName,$password,$role,$langpref,$parentid,$orderId,$resellerId,$customerId,$showChildOrders,$domainType,$currentStatus,$description,$creationDTRangStart,$creationDTRangEnd,$endTimeRangStart,$endTimeRangEnd,$numOfRecordPerPage,$pageNum,$orderBy) { $para = array($userName,$password,$role,$langpref,$parentid,$orderId,$resellerId,$customerId,$showChildOrders,$domainType,$currentStatus,$description,$creationDTRangStart,$creationDTRangEnd,$endTimeRangStart,$endTimeRangEnd,$numOfRecordPerPage,$pageNum,$orderBy); $return = $this->s->call("list",$para); $this->debugfunction(); return $return; } /** * Modifies the IP Address associated with a Child NameServer * * @return AssociativeArray * @param string Username. * @param string Password. * @param string Role. * @param string Language Preference. * @param int Parent id. * @param int The orderId under which the CNS to be modifed is created * @param string The Child NameServer to be modified * @param string The IP Addresses to be removed * @param string The new IP Addresses to be added *

Returns: *
AssociativeArray. *
A AssociativeArray with the result of the modification. *
entityid=327 *
description=apitest04.org *
actiontype=ModCnsIp *
actiontypedesc=Modification of Child Namserver IP Address from 203.23.53.105 to 203.23.53.106 for dns1.apitest04.org *
actionstatus=Success *
actionstatusdesc=Modification Completed Successfully. *
status=Success * */ function modifyChildNameServerIp($userName,$password,$role,$langpref,$parentid,$orderId,$cns,$oldIp,$newIp) { $para = array($userName,$password,$role,$langpref,$parentid,$orderId,$cns,$oldIp,$newIp); $return = $this->s->call("modifyChildNameServerIp",$para); $this->debugfunction(); return $return; } /** * Modifies the name of the specified CNS * * @return AssociativeArray * @param string Username. * @param string Password. * @param string Role. * @param string Language Preference. * @param int Parent id. * @param int The orderId under which the CNS to be modified is created * @param string The old name of the Child NameServer (ex. dns1.foundationapi.com) * @param string The new name to be used for the Child NameServer (ex. host1.foundationapi.com) *

Returns: *
AssociativeArray. *
A AssociativeArray with the result of the modification. *
entityid=327 *
description=apitest04.org *
actiontype=ModCnsName *
actiontypedesc=Modification of Child Nameserver host1.apitest04.org to dns1.apitest04.org *
actionstatus=Success *
actionstatusdesc=Modification Completed Successfully. *
status=Success * */ function modifyChildNameServerName($userName,$password,$role,$langpref,$parentid,$orderId,$oldCns,$newCns) { $para = array($userName,$password,$role,$langpref,$parentid,$orderId,$oldCns,$newCns); $return = $this->s->call("modifyChildNameServerName",$para); $this->debugfunction(); return $return; } /** * Modifies the Contacts associated with a domain name. This call is valid only for those domains that support a transfer secret. Currently, this does not include .com/.net domains. * * @return AssociativeArray * @param string Username. * @param string Password. * @param string Role. * @param string Language Preference. * @param int Parent id. * @param int The orderId under for which the Contacts are to be modified * @param int The contact to be used as the Registrant * @param int The contact to be used as the Admin Contact * @param int The contact to be used as the Tech Contact * @param int The contact to be used as the Billing Contact *

Returns: *
AssociativeArray. *
A AssociativeArray with the result of the modification. *
entityid=327 *
description=apitest04.org *
actiontype=ModContact *
actiontypedesc=Modification of Contact Details of apitest04.org *
actionstatus=Success *
actionstatusdesc=Modification Completed Successfully. *
status=Success * */ function modifyContact($userName,$password,$role,$langpref,$parentid,$orderId,$registrantContactId,$adminContactId,$techContactId,$billingContactId) { $para = array($userName,$password,$role,$langpref,$parentid,$orderId,$registrantContactId,$adminContactId,$techContactId,$billingContactId); $return = $this->s->call("modifyContact",$para); $this->debugfunction(); return $return; } /** * Modifies the Transfer Secret associated with a domain name. This call is valid only for those domains that support a transfer secret. Currently, this does not include .com/.net domains. * * @return AssociativeArray * @param string Username. * @param string Password. * @param string Role. * @param string Language Preference. * @param int Parent id. * @param int The orderId under for which the Transfer Secret is to be modified * @param string The new Transfer Secret to be set for the domain name *

Returns: *
AssociativeArray. *
A AssociativeArray with the result of the modification. *
entityid=327 *
description=apitest04.org *
actiontype=ModDomainSecret *
actiontypedesc=Modification of Domain Secret of apitest04.org *
actionstatus=Success *
actionstatusdesc=Modification Completed Successfully. *
status=Success * */ function modifyDomainSecret($userName,$password,$role,$langpref,$parentid,$orderId,$newSecret) { $para = array($userName,$password,$role,$langpref,$parentid,$orderId,$newSecret); $return = $this->s->call("modifyDomainSecret",$para); $this->debugfunction(); return $return; } /** * Modifies the NameServers of a domain * * @return AssociativeArray * @param string Username. * @param string Password. * @param string Role. * @param string Language Preference. * @param int Parent id. * @param int The orderId for which NS's are to be modified * @param AssociativeArray The required NS values. The key-value paired array should have the key as ns1...ns13 as required, with the value as the NS to be used. ex. {ns1=ns.foundationapi.com,ns2=ns2.foundationapi.com} *

Returns: *
AssociativeArray. *
A AssociativeArray with the result of the modification. *
entityid=327 *
description=apitest04.org *
actiontype=ModNS *
actiontypedesc=Modification of Nameservers of apitest04.org to [ns3.foundationapi.com, ns2.foundationapi.com] *
actionstatus=Success *
actionstatusdesc=Modification Completed Successfully. *
status=Success * */ function modifyNameServer($userName,$password,$role,$langpref,$parentid,$orderId,$nsHash) { $para = array($userName,$password,$role,$langpref,$parentid,$orderId,$nsHash); $return = $this->s->call("modifyNameServer",$para); $this->debugfunction(); return $return; } /** * Attempts to Register the specified domain name(s). * * @return AssociativeArray * @param string Username. * @param string Password. * @param string Role. * @param string Language Preference. * @param int Parent id. * @param AssociativeArray This should contain the domain name(s) which are to be registered. The key-value paired array should have the domainname as the key, and the number of years to register the domain for as the value. ex. {domain1.com=1,domain2.net=2} * @param Array The NameServers to be used for the domains being registered. The same NS's will be used for all the domain names specified in the domain hash. It is an array with no keys specified. * @param int The contact to be used as the Registrant for all the specified domains. * @param int The contact to be used as the Admin Contact for all the specified domains. * @param int The contact to be used as the Tech Contact for all the specified domains. * @param int The contact to be used as the Billing Contact for all the specified domains. * @param int The customer under whom the orders should be added * @param string This parameter will decide how the Customer Invoices will be handled. NoInvoice - If this value is passed, then no customer invoice will be generated for the domains. PayInvoice - If this value is passed, then a customer invoice will be generated for the domains in the first step. If there is sufficient balance in the Customer's Debit Account, then the invoices will be paid and the domains will be registered. If a customer has less balance than required, then as many domains as possible will be registered with the existing funds. All other orders will remain pending in the system. KeepInvoice - If this value is passed, then a customer invoice will be generated for the domains. However, these invoices will not be paid. They will be kept pending, while the orders will be executed. *

This method performs the action in two steps - 1. It adds an order in the system for the domain name. 2. It attempts to register the domainname in the Registry. Your Reseller account must have sufficient funds to register the domain names since this is a billable action. *

Returns: *
AssociativeArray. *
A AssociativeArray with the result of the domain registration. The AssociativeArray has the domainnames as the key, and a AssociativeArray as the value. The inner AssociativeArray will have key-values as follows: *
entityid=434 *
description=apitest04.info *
actiontype=AddNewDomain *
actiontypedesc=Registration of apitest04.info for 1 years *
actionstatus=Success *
actionstatusdesc=Domain registration Completed Successfully *
status=Success *
eaqid=1168 *
Incase you have chosen "KeepInvoice" or "PayInvoice", the return AssociativeArray will also contain the following data: *
customerid=8 *
invoiceid=727 *
sellingcurrencysymbol=INR *
sellingamount=-500.000 *
unutilisedsellingamount=-500.000 *
invoiceid is the Id that you will need to pass to Fund.payCustomerTransaction if you wish to pay the invoice at a later date. selllingamount is the Invoice amount in your Selling Currency unutilisedselllingamount is the Pending Invoice amount in your Selling Currency. In case of "KeepInvoice", the pending amount will always be equal to the invoice amount. In case of "PayInvoice", if the Customer does not have sufficient funds to pay the entire invoice amount, unutilisedsellingamount will reflect the balance amount that is pending. If the invoice has been completely paid, the unutilisedsellingamount will be 0. * */ function registerDomain($userName,$password,$role,$langpref,$parentid,$domainHash,$ns,$registrantContactId,$adminContactId,$techContactId,$billingContactId,$customerId,$invoiceOption) { $para = array($userName,$password,$role,$langpref,$parentid,$domainHash,$ns,$registrantContactId,$adminContactId,$techContactId,$billingContactId,$customerId,$invoiceOption); $return = $this->s->call("registerDomain",$para); $this->debugfunction(); return $return; } /** * UnLocks the specified Domain name. * * @return AssociativeArray * @param string Username. * @param string Password. * @param string Role. * @param string Language Preference. * @param int Parent id. * @param int The orderId of the domain to be locked *

Returns: *
AssociativeArray. *
A AssociativeArray with the result of the action *
entityid=327 *
description=apitest04.org *
actiontype=Lock *
actiontypedesc=Removal of customerlock *
actionstatus=Success *
actionstatusdesc=Locking removed successfully *
status=Success * */ function removeCustomerLock($userName,$password,$role,$langpref,$parentid,$orderId) { $para = array($userName,$password,$role,$langpref,$parentid,$orderId); $return = $this->s->call("removeCustomerLock",$para); $this->debugfunction(); return $return; } /** * Attempts to Renew the specified domain name(s). * * @return AssociativeArray * @param string Username. * @param string Password. * @param string Role. * @param string Language Preference. * @param int Parent id. * @param AssociativeArray This should contain the domain name(s) which are to be renewed. In $domainHash one has to send Assosiative Array containing Inside one more Assosiative Array containing following info. array( => array("entityid" => ,"noofyears" => ,"expirydate" => ) and so on.....); e.g. array("directi.com" => array("entityid" => "123","noofyears" => "1","expirydate" => "2000"); * @param string This parameter will decide how the Customer Invoices will be handled. NoInvoice If this value is passed, then no customer invoice will be generated for the domains. PayInvoice - If this value is passed, then a customer invoice will be generated for the domains in the first step. If there is sufficient balance in the Customer's Debit Account, then the invoices will be paid and the domains will be registered. If a customer has less balance than required, then as many domains as possible will be registered with the existing funds. All other orders will remain pending in the system. KeepInvoice - If this value is passed, then a customer invoice will be generated for the domains. However, these invoices will not be paid. They will be kept pending, while the orders will be executed. *

Attempts to Renew the specified domain name(s). This method performs the action in two steps - 1. It adds an action for the Renewal of the Domain. 2. It attempts to renew the domainname in the Registry. Your Reseller account must have sufficient funds to register the domain names since this is a billable action. *

Returns: *
AssociativeArray. *
A AssociativeArray with the result of the Renwwal. The AssociativeArray has the domainnames as the key, and a AssociativeArray as the value. The inner AssociativeArray will have key-values as follows: *
entityid=435 *
description=apitest04.com *
actiontype=RenewDomain *
actiontypedesc=Renewal of apitest04.com for 1 years *
actionstatus=Success *
actionstatusdesc=Domain renewed successully *
status=Success *
eaqid=1169 *
Incase you have chosen "KeepInvoice" or "PayInvoice", the return AssociativeArray will also contain the following data: *
customerid=8 *
invoiceid=727 *
sellingcurrencysymbol=INR *
sellingamount=-500.000 *
unutilisedsellingamount=-500.000 *
invoiceid is the Id that you will need to pass to Fund.payCustomerTransaction if you wish to pay the invoice at a later date. selllingamount is the Invoice amount in your Selling Currency unutilisedselllingamount is the Pending Invoice amount in your Selling Currency. In case of "KeepInvoice", the pending amount will always be equal to the invoice amount. In case of "PayInvoice", if the Customer does not have sufficient funds to pay the entire invoice amount, unutilisedsellingamount will reflect the balance amount that is pending. If the invoice has been completely paid, the unutilisedsellingamount will be 0. * */ function renewDomain($userName,$password,$role,$langpref,$parentid,$domainHash,$invoiceOption) { $para = array($userName,$password,$role,$langpref,$parentid,$domainHash,$invoiceOption); $return = $this->s->call("renewDomain",$para); $this->debugfunction(); return $return; } /** * Locks the specified Domain name. When a domain name is locked, no changes can be made to ir unless it is unlocked. * * @return AssociativeArray * @param string Username. * @param string Password. * @param string Role. * @param string Language Preference. * @param int Parent id. * @param int The orderId of the domain to be locked *

Returns: *
AssociativeArray. *
A AssociativeArray with the result of the action *
entityid=327 *
description=apitest04.org *
actiontype=Lock *
actiontypedesc=Addition of customerlock *
actionstatus=Success *
actionstatusdesc=Locking completed successfully *
status=Success * */ function setCustomerLock($userName,$password,$role,$langpref,$parentid,$orderId) { $para = array($userName,$password,$role,$langpref,$parentid,$orderId); $return = $this->s->call("setCustomerLock",$para); $this->debugfunction(); return $return; } /** * Attempts to place a Transfer order for the specified domain name(s). * * @return AssociativeArray * @param string Username. * @param string Password. * @param string Role. * @param string Language Preference. * @param int Parent id. * @param AssociativeArray This should contain the domain name(s) which are to be registered. The AssociativeArray should have the domainname as the key, and the domain transfer secret as the value. In case of domains which do not have a transfer secret, an empty string should be passed. ex. {domain1.com=secret1,domain2.net=secret2} * @param int The contact to be used as the Registrant for all the specified domains. * @param int The contact to be used as the Admin Contact for all the specified domains. * @param int The contact to be used as the Tech Contact for all the specified domains. * @param int The contact to be used as the Billing Contact for all the specified domains. * @param int The customer under whom the orders should be added * @param string This parameter will decide how the Customer Invoices will be handled. NoInvoice - If this value is passed, then no customer invoice will be generated for the domains. PayInvoice - If this value is passed, then a customer invoice will be generated for the domains in the first step. If there is sufficient balance in the Customer's Debit Account, then the invoices will be paid and the domains will be registered. If a customer has less balance than required, then as many domains as possible will be registered with the existing funds. All other orders will remain pending in the system. KeepInvoice - If this value is passed, then a customer invoice will be generated for the domains. However, these invoices will not be paid. They will be kept pending, while the orders will be executed. *

This method performs the action in two steps - 1. It adds an order in the system for the domain name. 2. It attempts to register the domainname in the Registry. Your Reseller account must have sufficient funds to register the domain names since this is a billable action. *

Returns: *
AssociativeArray. *
A AssociativeArray with the result of the Transfer order. The AssociativeArray has the domainnames as the key, and a AssociativeArray as the value. The inner AssociativeArray will have key-values as follows: *
entityid=435 *
description=apitest04.com *
actiontype=AddTransferDomain *
actiontypedesc=Transfer of apitest04.com from old Registrar alongwith 1 year Renewal *
actionstatus=RFASent *
actionstatusdesc=Transfer waiting for Admin Contact Approval *
status=Success *
eaqid=1169 *
Incase you have chosen "KeepInvoice" or "PayInvoice", the return key-value paired array will also contain the following data: *
customerid=8 *
invoiceid=727 *
sellingcurrencysymbol=INR *
sellingamount=-500.000 *
unutilisedsellingamount=-500.000 *
invoiceid is the Id that you will need to pass to Fund.payCustomerTransaction if you wish to pay the invoice at a later date. selllingamount is the Invoice amount in your Selling Currency unutilisedselllingamount is the Pending Invoice amount in your Selling Currency. In case of "KeepInvoice", the pending amount will always be equal to the invoice amount. In case of "PayInvoice", if the Customer does not have sufficient funds to pay the entire invoice amount, unutilisedsellingamount will reflect the balance amount that is pending. If the invoice has been completely paid, the unutilisedsellingamount will be 0. * */ function transferDomain($userName,$password,$role,$langpref,$parentid,$domainHash,$registrantContactId,$adminContactId,$techContactId,$billingContactId,$customerId,$invoiceOption) { $para = array($userName,$password,$role,$langpref,$parentid,$domainHash,$registrantContactId,$adminContactId,$techContactId,$billingContactId,$customerId,$invoiceOption); $return = $this->s->call("transferDomain",$para); $this->debugfunction(); return $return; } } ?>