You are here

class Braintree_SubscriptionSearch in Commerce Braintree 7

Hierarchy

Expanded class hierarchy of Braintree_SubscriptionSearch

File

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

View source
class Braintree_SubscriptionSearch {
  static function billingCyclesRemaining() {
    return new Braintree_RangeNode('billing_cycles_remaining');
  }
  static function daysPastDue() {
    return new Braintree_RangeNode('days_past_due');
  }
  static function id() {
    return new Braintree_TextNode('id');
  }
  static function inTrialPeriod() {
    return new Braintree_MultipleValueNode('in_trial_period', array(
      true,
      false,
    ));
  }
  static function merchantAccountId() {
    return new Braintree_MultipleValueNode('merchant_account_id');
  }
  static function nextBillingDate() {
    return new Braintree_RangeNode('next_billing_date');
  }
  static function planId() {
    return new Braintree_MultipleValueOrTextNode('plan_id');
  }
  static function price() {
    return new Braintree_RangeNode('price');
  }
  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,
    ));
  }
  static function transactionId() {
    return new Braintree_TextNode('transaction_id');
  }
  static function ids() {
    return new Braintree_MultipleValueNode('ids');
  }

}

Members