You are here

private static function Braintree_WebhookTesting::_subscriptionSampleXml in Commerce Braintree 7

1 call to Braintree_WebhookTesting::_subscriptionSampleXml()
Braintree_WebhookTesting::_sampleXml in braintree_php/lib/Braintree/WebhookTesting.php

File

braintree_php/lib/Braintree/WebhookTesting.php, line 28

Class

Braintree_WebhookTesting

Code

private static function _subscriptionSampleXml($id) {
  return "\n        <subscription>\n            <id>{$id}</id>\n            <transactions type=\"array\">\n            </transactions>\n            <add_ons type=\"array\">\n            </add_ons>\n            <discounts type=\"array\">\n            </discounts>\n        </subscription>\n        ";
}