aivanouski / amazon-mws-finances
Amazon Marketplace Web Service Finances PHP Client Library
Installs: 9 125
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 3
Open Issues: 1
Requires
- php: >=5.2.8
- ext-curl: *
This package is not auto-updated.
Last update: 2024-11-13 19:35:32 UTC
README
Amazon Marketplace Web Service Finances PHP Client Library - Version 2015-05-01
Installation
Install Composer and add amazon-mws-finances to your composer.json
:
composer require aivanouski/amazon-mws-finances:dev-master
Version
Current version is MWSFinancesPHPClientLibrary-2015-05-01._V312120327_
.
Installation
Add the reference into your composer.json :
"aivanouski/amazon-mws-finances": "dev-master"
composer update
Use in controller :
$config = array (
'ServiceURL' => $serviceUrl,
'ProxyHost' => null,
'ProxyPort' => -1,
'ProxyUsername' => null,
'ProxyPassword' => null,
'MaxErrorRetry' => 3,
);
$service = new \MWSFinancesService_Client(
AWS_ACCESS_KEY_ID,
AWS_SECRET_ACCESS_KEY,
APPLICATION_NAME,
APPLICATION_VERSION,
$config);
$request = new \MWSFinancesService_Model_ListFinancialEventGroupsRequest();
$request->setSellerId(MERCHANT_ID);
$date = new \DateTime('today', new \DateTimeZone('UTC'));
$request->setFinancialEventGroupStartedAfter($date->format('c'));
$response = $service->ListFinancialEventGroups($request);