BraintreeMultipleValueOrTextNode

The Paid Memberships Pro Braintree MultipleValueOrTextNode class.

Defined (1)

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

/includes/lib/Braintree/lib/Braintree/MultipleValueOrTextNode.php  
  1. class MultipleValueOrTextNode extends MultipleValueNode 
  2. public function __construct($name) 
  3. parent::__construct($name); 
  4. $this->textNode = new TextNode($name); 
  5.  
  6. public function contains($value) 
  7. $this->textNode->contains($value); 
  8. return $this; 
  9.  
  10. public function endsWith($value) 
  11. $this->textNode->endsWith($value); 
  12. return $this; 
  13.  
  14. public function is($value) 
  15. $this->textNode->is($value); 
  16. return $this; 
  17.  
  18. public function isNot($value) 
  19. $this->textNode->isNot($value); 
  20. return $this; 
  21.  
  22. public function startsWith($value) 
  23. $this->textNode->startsWith($value); 
  24. return $this; 
  25.  
  26. public function toParam() 
  27. return array_merge(parent::toParam(), $this->textNode->toParam());