BraintreeSubscriptionSearch

The Paid Memberships Pro Braintree SubscriptionSearch class.

Defined (1)

The class is defined in the following location(s).

/includes/lib/Braintree/lib/Braintree/SubscriptionSearch.php  
  1. class SubscriptionSearch 
  2. public static function billingCyclesRemaining() 
  3. return new RangeNode('billing_cycles_remaining'); 
  4.  
  5. public static function daysPastDue() 
  6. return new RangeNode('days_past_due'); 
  7.  
  8. public static function id() 
  9. return new TextNode('id'); 
  10.  
  11. public static function inTrialPeriod() 
  12. return new MultipleValueNode('in_trial_period', [true, false]); 
  13.  
  14. public static function merchantAccountId() 
  15. return new MultipleValueNode('merchant_account_id'); 
  16.  
  17. public static function nextBillingDate() 
  18. return new RangeNode('next_billing_date'); 
  19.  
  20. public static function planId() 
  21. return new MultipleValueOrTextNode('plan_id'); 
  22.  
  23. public static function price() 
  24. return new RangeNode('price'); 
  25.  
  26. public static function status() 
  27. return new MultipleValueNode('status', [ 
  28. Subscription::ACTIVE,  
  29. Subscription::CANCELED,  
  30. Subscription::EXPIRED,  
  31. Subscription::PAST_DUE,  
  32. Subscription::PENDING,  
  33. ]); 
  34.  
  35. public static function transactionId() 
  36. return new TextNode('transaction_id'); 
  37.  
  38. public static function ids() 
  39. return new MultipleValueNode('ids'); 
  40.  
  41. public static function createdAt() 
  42. return new RangeNode('created_at');