/// <remarks/> public void OrderDomainTransfersAsync(string sCLTRID, Credential credential, Shopper shopper, DomainTransfer[] items, string sROID, object userState) { if ((this.OrderDomainTransfersOperationCompleted == null)) { this.OrderDomainTransfersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnOrderDomainTransfersOperationCompleted); } this.InvokeAsync("OrderDomainTransfers", new object[] { sCLTRID, credential, shopper, items, sROID}, this.OrderDomainTransfersOperationCompleted, userState); }
public string OrderDomainTransfers(string sCLTRID, Credential credential, Shopper shopper, DomainTransfer[] items, string sROID) { object[] results = this.Invoke("OrderDomainTransfers", new object[] { sCLTRID, credential, shopper, items, sROID}); return ((string)(results[0])); }
/// <remarks/> public void OrderDomainTransfersAsync(string sCLTRID, Credential credential, Shopper shopper, DomainTransfer[] items, string sROID) { this.OrderDomainTransfersAsync(sCLTRID, credential, shopper, items, sROID, null); }
private void Transfer() { Shopper newShopper = new Shopper() { user = "******", pwd = "ghijk", firstname = "Joe", lastname = "Smith", email = "*****@*****.**", phone = "+1.7775551212" }; ContactInfo newRegistrant = new ContactInfo() { fname = "Joe", lname = "Smith", email = "*****@*****.**", sa1 = "1 S. Main St.", city = "Oakland", sp = "California", pc = "97123", cc = "United States", phone = "+1.7775551212" }; DomainTransfer[] dtArray = new DomainTransfer[1]; dtArray[0] = new DomainTransfer() { sld = "example", tld = "com", order = new OrderItem() { productid = (int)ProductID.TransferDotCOM } }; string trid = Guid.NewGuid().ToString(); string responseXml = wapi.OrderDomainTransfers(trid, cred, newShopper, dtArray, null); otherTransactionIDs.Add(trid); }