/// <summary>
///
/// </summary>
///<param name="bMManageButtonStatusReq"></param>
///<param name="credential">An explicit ICredential object that you want to authenticate this call against</param>
public BMManageButtonStatusResponseType BMManageButtonStatus(BMManageButtonStatusReq bMManageButtonStatusReq, ICredential credential)
{
setStandardParams(bMManageButtonStatusReq.BMManageButtonStatusRequest);
DefaultSOAPAPICallHandler defaultHandler = new DefaultSOAPAPICallHandler(this.config, bMManageButtonStatusReq.ToXMLString(null, "BMManageButtonStatusReq"), null, null);
IAPICallPreHandler apiCallPreHandler = new MerchantAPICallPreHandler(this.config, defaultHandler, credential);
((MerchantAPICallPreHandler) apiCallPreHandler).SDKName = SDKName;
((MerchantAPICallPreHandler) apiCallPreHandler).SDKVersion = SDKVersion;
((MerchantAPICallPreHandler) apiCallPreHandler).PortName = "PayPalAPI";
XmlDocument xmlDocument = new XmlDocument();
xmlDocument.LoadXml(Call(apiCallPreHandler));
return new BMManageButtonStatusResponseType(
xmlDocument.SelectSingleNode("*[local-name()='Envelope']/*[local-name()='Body']/*[local-name()='BMManageButtonStatusResponse']")
);
}