You are here

public static function Braintree_WebhookNotification::factory in Commerce Braintree 7

1 call to Braintree_WebhookNotification::factory()
Braintree_WebhookNotification::parse in braintree_php/lib/Braintree/WebhookNotification.php

File

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

Class

Braintree_WebhookNotification

Code

public static function factory($attributes) {
  $instance = new self();
  $instance
    ->_initialize($attributes);
  return $instance;
}