You are here

class Braintree_MultipleValueOrTextNode in Commerce Braintree 7

Hierarchy

Expanded class hierarchy of Braintree_MultipleValueOrTextNode

1 string reference to 'Braintree_MultipleValueOrTextNode'
Braintree_SubscriptionSearchTest::testSearch_planId_isMultipleValueOrTextNode in braintree_php/tests/unit/SubscriptionSearchTest.php

File

braintree_php/lib/Braintree/MultipleValueOrTextNode.php, line 3

View source
class Braintree_MultipleValueOrTextNode extends Braintree_MultipleValueNode {
  function __construct($name) {
    parent::__construct($name);
    $this->textNode = new Braintree_TextNode($name);
  }
  function contains($value) {
    $this->textNode
      ->contains($value);
    return $this;
  }
  function endsWith($value) {
    $this->textNode
      ->endsWith($value);
    return $this;
  }
  function is($value) {
    $this->textNode
      ->is($value);
    return $this;
  }
  function isNot($value) {
    $this->textNode
      ->isNot($value);
    return $this;
  }
  function startsWith($value) {
    $this->textNode
      ->startsWith($value);
    return $this;
  }
  function toParam() {
    return array_merge(parent::toParam(), $this->textNode
      ->toParam());
  }

}

Members