You are here

static function Braintree_SubscriptionSearch::status in Commerce Braintree 7

1 call to Braintree_SubscriptionSearch::status()
Braintree_SubscriptionSearchTest::testSearch_status_isMultipleValueNode in braintree_php/tests/unit/SubscriptionSearchTest.php

File

braintree_php/lib/Braintree/SubscriptionSearch.php, line 44

Class

Braintree_SubscriptionSearch

Code

static function status() {
  return new Braintree_MultipleValueNode("status", array(
    Braintree_Subscription::ACTIVE,
    Braintree_Subscription::CANCELED,
    Braintree_Subscription::EXPIRED,
    Braintree_Subscription::PAST_DUE,
    Braintree_Subscription::PENDING,
  ));
}