class AIA_GET_USER_ID_RESPONSE

(source code)

Client examples: AMAZON_INSTANT_ACCESS_TEST_SET

description

Vendor's response to Instant Access account linking request.

note
	description: "[
		Vendor's response to 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: "3"

class
	AIA_GET_USER_ID_RESPONSE

inherit
	AIA_RESPONSE
		redefine
			Valid_responses
		end

create
	make

feature -- Access

	user_id: STRING

feature -- Element change

	set_user_id (a_user_id: like user_id)
		do
			user_id := a_user_id
		end

feature -- Constants

	Valid_responses: ARRAY [NATURAL_8]
		once
			Result := <<
				response_enum.ok,
				response_enum.fail_account_invalid
			>>
		end
end