I am trying to optimize code by including common elements like address, calendar etc in a different file. I am passing in the value like a prefix .
My code looks like this. here I am referring to the credit type of payment by prefix credit. Can you tell me if this is a correct type of representation.