public ToolkitResultProtocol CloseOpportunity(CloseOpportunitySetupProtocol setupParam)
 {
     object[] results = this.Invoke("CloseOpportunity1", new object[] {
                 setupParam});
     return ((ToolkitResultProtocol)(results[0]));
 }
        internal Protocol.CloseOpportunitySetupProtocol ToProtocol()
        {
            Protocol.CloseOpportunitySetupProtocol protocol = new Protocol.CloseOpportunitySetupProtocol();

            protocol.OpportunityIDNum = this.OpportunityIDNum;
            protocol.Status = this.Status;
            protocol.CloseDate = this.CloseDate;
            protocol.UserName = this.UserName;
            protocol.GenerateTimeBombs = this.GenerateTimeBombs;
            protocol.ConstructorCue = this.ConstructorCue;
            protocol.DirtyFieldFlags = this.DirtyFieldFlags;

            return protocol;
        }
 /// <remarks/>
 public System.IAsyncResult BeginCloseOpportunity1(CloseOpportunitySetupProtocol setupParam, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("CloseOpportunity1", new object[] {
                 setupParam}, callback, asyncState);
 }