Braintree\TransactionSearch::ids PHP Méthode

ids() public static méthode

public static ids ( )
    public static function ids()
    {
        return new MultipleValueNode('ids');
    }

Usage Example

 public function fetch($query, $ids)
 {
     $criteria = array();
     foreach ($query as $term) {
         $criteria[$term->name] = $term->toparam();
     }
     $criteria["ids"] = TransactionSearch::ids()->in($ids)->toparam();
     $path = $this->_config->merchantPath() . '/transactions/advanced_search';
     $response = $this->_http->post($path, array('search' => $criteria));
     return Util::extractattributeasarray($response['creditCardTransactions'], 'transaction');
 }
All Usage Examples Of Braintree\TransactionSearch::ids