PayPal.PayPalAPIInterfaceService.Model.BasicAmountType.GetAttributeAsXml C# (CSharp) Method

GetAttributeAsXml() private method

private GetAttributeAsXml ( ) : string
return string
        private string GetAttributeAsXml()
        {
            StringBuilder sb = new StringBuilder();
            if(currencyID != null)
            {
            sb.Append(" currencyID=\"").Append(DeserializationUtils.escapeInvalidXmlCharsRegex(EnumUtils.GetDescription(this.currencyID))).Append("\"");
            }

            return sb.ToString();
        }