class Lithic::Resources::Transactions::Events::EnhancedCommercialData
def initialize(client:)
-
client
(Lithic::Client
) --
Other tags:
- Api: - private
def initialize(client:) @client = client end
def retrieve(event_token, params = {})
- See: Lithic::Models::Transactions::Events::EnhancedCommercialDataRetrieveParams -
Returns:
-
(Lithic::Transactions::Events::EnhancedData)
-
Parameters:
-
request_options
(Lithic::RequestOptions, Hash{Symbol=>Object}, nil
) -- -
event_token
(String
) -- The token of the transaction event that the enhanced data is associated with.
Overloads:
-
retrieve(event_token, request_options: {})
def retrieve(event_token, params = {}) @client.request( method: :get, path: ["v1/transactions/events/%1$s/enhanced_commercial_data", event_token], model: Lithic::Transactions::Events::EnhancedData, options: params[:request_options] ) end