send("/finances/v0/financialEventGroups", [ 'method' => 'GET', 'query' => $queryParams, ]); } public function listFinancialEventGroupsAsync($queryParams = []) { return $this->sendAsync("/finances/v0/financialEventGroups", [ 'method' => 'GET', 'query' => $queryParams, ]); } /** * Operation listFinancialEventsByGroupId * * @param string $eventGroupId The identifier of the financial event group to which the events belong. * * @param array $queryParams * - *maxResultsPerPage* integer - The maximum number of results to return per page. * - *nextToken* string - A string token returned in the response of your previous request. * */ public function listFinancialEventsByGroupId($eventGroupId, $queryParams = []) { return $this->send("/finances/v0/financialEventGroups/{$eventGroupId}/financialEvents", [ 'method' => 'GET', 'query' => $queryParams, ]); } public function listFinancialEventsByGroupIdAsync($eventGroupId, $queryParams = []) { return $this->sendAsync("/finances/v0/financialEventGroups/{$eventGroupId}/financialEvents", [ 'method' => 'GET', 'query' => $queryParams, ]); } /** * Operation listFinancialEventsByOrderId * * @param string $orderId An Amazon-defined order identifier, in 3-7-7 format. * * @param array $queryParams * - *maxResultsPerPage* integer - The maximum number of results to return per page. * - *nextToken* string - A string token returned in the response of your previous request. * */ public function listFinancialEventsByOrderId($orderId, $queryParams = []) { return $this->send("/finances/v0/orders/{$orderId}/financialEvents", [ 'method' => 'GET', 'query' => $queryParams, ]); } public function listFinancialEventsByOrderIdAsync($orderId, $queryParams = []) { return $this->sendAsync("/finances/v0/orders/{$orderId}/financialEvents", [ 'method' => 'GET', 'query' => $queryParams, ]); } /** * Operation listFinancialEvents * * @param array $queryParams * - *maxResultsPerPage* integer - The maximum number of results to return per page. * - *postedAfter* string - A date used for selecting financial events posted after (or at) a specified time. The date-time must be no later than two minutes before the request was submitted, in ISO 8601 date time format. * - *postedBefore* string - A date used for selecting financial events posted before (but not at) a specified time. The date-time must be later than PostedAfter and no later than two minutes before the request was submitted, in ISO 8601 date time format. If PostedAfter and PostedBefore are more than 180 days apart, no financial events are returned. You must specify the PostedAfter parameter if you specify the PostedBefore parameter. Default: Now minus two minutes. * - *nextToken* string - A string token returned in the response of your previous request. * */ public function listFinancialEvents($queryParams = []) { return $this->send("/finances/v0/financialEvents", [ 'method' => 'GET', 'query' => $queryParams, ]); } public function listFinancialEventsAsync($queryParams = []) { return $this->sendAsync("/finances/v0/financialEvents", [ 'method' => 'GET', 'query' => $queryParams, ]); } }