/** * @test */ public function testTransactionSearch() { $txnSearch = new TransactionSearch(); $response = $txnSearch->searchTxn(); $this->assertEquals("Success", $response->Ack); $this->assertNotNull($response->PaymentTransactions); }
public function transactions() { $collection = Transaction::search([TransactionSearch::ids()->in($this->transactionIds)]); return $collection; }