It is standard Java idiom to use the same name for the parameter as for the field, in both setter methods and constructors. Your IDE will probably propose such parameter names when you ask it to create a setter or parameterized constructor.
Within such methods, you must use this.
to specify the field; the unadorned name refers to the parameter. transactionType
means the parameter while this.transactionType
means the field.