Braintree.WebhookTestingGateway.MerchantAccountDeclinedSampleXml C# (CSharp) Method

MerchantAccountDeclinedSampleXml() private method

private MerchantAccountDeclinedSampleXml ( string id ) : string
id string
return string
        private string MerchantAccountDeclinedSampleXml(string id)
        {
            return Node("api-error-response",
                Node("message", "Applicant declined due to OFAC."),
                NodeAttr("errors", TYPE_ARRAY,
                    Node("merchant-account",
                        NodeAttr("errors", TYPE_ARRAY,
                            Node("error",
                                Node("code", "82621"),
                                Node("message", "Applicant declined due to OFAC."),
                                NodeAttr("attribute", TYPE_SYMBOL, "base")
                            )
                        )
                    )
                ),
                Node("merchant-account",
                    Node("id", id),
                    Node("status", "suspended"),
                    Node("master-merchant-account",
                        Node("id", "master_ma_for_" + id),
                        Node("status", "suspended")
                    )
                )
            );
        }