PayWithAmazon\ClientTest::setDefaultValues PHP Method

setDefaultValues() private method

private setDefaultValues ( $fieldMappings )
    private function setDefaultValues($fieldMappings)
    {
        $expectedParameters = array();
        $apiCallParams = array();
        if (array_key_exists('platform_id', $fieldMappings)) {
            $expectedParameters[$fieldMappings['platform_id']] = $this->configParams['platform_id'];
            $apiCallParams['platform_id'] = $this->configParams['platform_id'];
        }
        if (array_key_exists('currency_code', $fieldMappings)) {
            $expectedParameters[$fieldMappings['currency_code']] = 'TEST';
            $apiCallParams['currency_code'] = 'TEST';
        }
        return array('expectedParameters' => $expectedParameters, 'apiCallParams' => $apiCallParams);
    }