コード例 #1
0
 /**
  * @expectedException \StoreIntegrator\Exceptions\EbayErrorException
  * @expectedExceptionMessage Very Big Error
  * @expectedExceptionCode 1234
  */
 public function testGetOrdersError()
 {
     $this->createErrorResponseForOperation('GetOrrdersResponse');
     $this->ordersWrapper->getAll(new DateTime('-1 week'));
 }
コード例 #2
0
 /**
  * @param DateTime $startDate
  * @param int $page
  * @param int $perPage
  * @return mixed
  */
 public function getOrders(DateTime $startDate, $page = 1, $perPage = 100)
 {
     return $this->ordersWrapper->getAll($startDate, $page, $perPage);
 }