iimmpact / iimmpact-php
1.0.0
2021-01-12 09:25 UTC
Requires
- php: >=5.5
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- guzzlehttp/guzzle: ^6.2
Requires (Dev)
- friendsofphp/php-cs-fixer: ~2.12
- phpunit/phpunit: ^4.8
- squizlabs/php_codesniffer: ~2.6
This package is auto-updated.
Last update: 2024-09-13 13:27:45 UTC
README
This library generated by iimmpact
Requirements
PHP 5.5 and later
Installation & Usage
Composer
composer require iimmpact/iimmpact-php
Tests
To run the unit tests:
composer install
./vendor/bin/phpunit
Getting Started
Please follow the installation procedure and then run the following:
<?php require_once(__DIR__ . '/vendor/autoload.php'); $apiInstance = new iimmpact\Api\AuthorizationTokenApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); $token_request = new \iimmpact\Model\TokenRequest(); // \iimmpact\Model\TokenRequest | try { $result = $apiInstance->v1TokenPost($token_request); print_r($result); } catch (Exception $e) { echo 'Exception when calling AuthorizationTokenApi->v1TokenPost: ', $e->getMessage(), PHP_EOL; } ?>
Documentation for API Endpoints
All URIs are relative to https://api.iimmpact.com
Documentation For Models
- BalanceResponse
- BalanceResponseData
- BalanceStatementResponse
- BalanceStatementResponseData
- BalanceStatementResponseLinks
- BalanceStatementResponseMeta
- BillPresentmentResponse
- BillPresentmentResponseData
- BillPresentmentResponseMetadata
- CallbackUrlResponse
- CallbackUrlResponseData
- CallbackUrlResponseMetadata
- CarInsuranceRespone
- CarInsuranceResponeVariant
- ChangePasswordRequest
- DepositRequest
- DrivingLicenseRespone
- DrivingLicenseResponeInner
- DrivingTestRespone
- DrivingTestResponeEnquiryTestPart1
- Error
- InlineResponse200
- InlineResponse2001
- InlineResponse2002
- InlineResponse2002Data
- InlineResponse200Data
- JPJRecordsResponse
- JPJSummonsResponse
- LowBalanceWarningResponse
- LowBalanceWarningResponseData
- LowBalanceWarningResponseMetadata
- ModelEmpty
- NetworkStatusResponse
- NetworkStatusResponseData
- NetworkStatusResponseMetadata
- NewPasswordRequest
- NewPasswordResponses
- OnlyMessageRespone
- RefreshTokenRequest
- TokenRequest
- TokenResponse
- TokenResponseAuthenticationResult
- TopupRequest
- TopupResponse
- TopupResponseData
- TransactionsResponse
- TransactionsResponseBalance
- TransactionsResponseData
- TransactionsResponseMeta
- TransactionsResponseProduct
- TransactionsResponseStatus
- VehicleExpiryResponse
Documentation For Authorization
IIMMPACT-COGNITO
- Type: API key
- API key parameter name: Authorization
- Location: HTTP header
SSO
- Type: API key
- API key parameter name: Authorization
- Location: HTTP header
api_key
- Type: API key
- API key parameter name: x-api-key
- Location: HTTP header