class AIA_GET_USER_ID_REQUEST
Client examples: AMAZON_INSTANT_ACCESS_TEST_SET
Instant Access account linking request
note
description: "[
Instant Access [https://s3-us-west-2.amazonaws.com/dtg-docs/api/account_linking.html account linking] request
]"
author: "Finnian Reilly"
copyright: "Copyright (c) 2001-2022 Finnian Reilly"
contact: "finnian at eiffel hyphen loop dot com"
license: "MIT license (See: en.wikipedia.org/wiki/MIT_License)"
date: "2022-11-15 19:56:06 GMT (Tuesday 15th November 2022)"
revision: "4"
class
AIA_GET_USER_ID_REQUEST
inherit
AIA_REQUEST
redefine
response
end
create
make
feature -- Access
info_field_1: ZSTRING
info_field_2: ZSTRING
info_field_3: ZSTRING
feature {NONE} -- Implementation
response: AIA_RESPONSE
do
if info_field_1 ~ Amazon_test then
Result := default_response
else
Result := new_response (Current)
end
end
default_response: AIA_GET_USER_ID_RESPONSE
do
create Result.make (response_enum.ok)
end
feature {NONE} -- Constants
Amazon_test: ZSTRING
once
Result := "AMAZONTEST"
end
end