ReferralOperation
Inherits Avram::Operation < Avram::Callbacks < Avram::ParamKeyOverride < Avram::OperationErrors < Avram::Validations < Avram::DefineAttribute < Avram::NeedyInitializer < Reference < Object
Constants
ATTRIBUTES = [user_order_id : Array(String), referrer_id : Array(String)] of Nil
OPERATION_NEEDS = [] of Nil
Constructors
new(params : Avram::Paramable, user_order_id : Array(String) | Avram::Nothing = Avram::Nothing.new, referrer_id : Array(String) | Avram::Nothing = Avram::Nothing.new)
This is called at the end so @type will be of the subclass, and not the parent abstract class.
new(user_order_id : Array(String) | Avram::Nothing = Avram::Nothing.new, referrer_id : Array(String) | Avram::Nothing = Avram::Nothing.new)
This is called at the end so @type will be of the subclass, and not the parent abstract class.
Instance methods
attributes
Sourcebonuses
Sourceerror_code
Sourceorder?
Sourcereferrer?
Sourcereferrer_id
Sourcerun
Sourceset_attributes(user_order_id : Array(String) | Avram::Nothing = Avram::Nothing.new, referrer_id : Array(String) | Avram::Nothing = Avram::Nothing.new)
This is called at the end so @type will be of the subclass, and not the parent abstract class.
user_order_id
SourceMacros
param_key(key)