Tapfiliate.Pipelines.PipelineToken (Peacemaker v3.3.5-rc.7) View Source
This module is used for determining affiliate processing logic.
At a high level, the affiliate logic this module respresents can be found here:

Tapfiliate.Pipelines.PipelineToken was our first implementations at how we will handle implementing Affiliates, which is why the generic name was given.
In the future, it may be wise to consider renaming this module into something more specific incase we need to implement future affiliate pipelines.
Link to this section Summary
Functions
Builds a PipelineToken struct that will be used
Link to this section Types
Specs
t() :: %Tapfiliate.Pipelines.PipelineToken{
affiliate_id: String.t(),
affiliate_request: nil,
affiliate_response: nil,
amount: nil,
external_id: nil,
parent_affiliate_id: nil,
parent_affiliate_processed: false,
parent_affiliate_request: nil,
parent_affiliate_response: nil,
processed_affiliate: false,
processed_subaffiliate: false,
program_id: nil,
referral_code: nil,
subaffiliate_id: nil,
subaffiliate_response: nil,
type: String.t()
}
Link to this section Functions
Builds a PipelineToken struct that will be used