All URIs are relative to https://api.digitalriver.com
Method | HTTP request | Description |
---|---|---|
listCountrySpecifications | GET /country-specs | Returns an array containing a country specification |
\DigitalRiver\ApiSdk\Model\ListCountrySpecsResponse listCountrySpecifications($country, $selling_entity)
Returns an array containing a country specification
Gets a country specification.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer authorization: bearerAuth
$config = DigitalRiver\ApiSdk\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new DigitalRiver\ApiSdk\Api\CountrySpecificationsApi(
// 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(),
$config
);
$country = 'country_example'; // string | Represents the expected billing or ship to country of the customer.
$selling_entity = 'selling_entity_example'; // string | Represents the selling entity assigned to the order.
try {
$result = $apiInstance->listCountrySpecifications($country, $selling_entity);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CountrySpecificationsApi->listCountrySpecifications: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
country | string | Represents the expected billing or ship to country of the customer. | |
selling_entity | string | Represents the selling entity assigned to the order. |
\DigitalRiver\ApiSdk\Model\ListCountrySpecsResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]