Example #1
0
 public function checkProgress($progressUri)
 {
     return $this->client->get($progressUri);
 }
Example #2
0
 public function checkProgress($resource)
 {
     $response = $this->client->get($resource);
     return json_decode($response->getBody());
 }
Example #3
0
 public function getMonthlyReport($product, $startDate, $statisticType, $source)
 {
     $path = implode('/', ['/billing-usage/v1/contractUsageData/monthly', $product, $source['type'], $source['id'], $statisticType, $startDate['month'], $startDate['year'], $startDate['month'], $startDate['year']]);
     $report = $this->client->get($path);
     return (string) $report->getBody();
 }