Generalization Example Cach Payment Credit Payment Check Payment Payment amount sale Attribute Relationship Each sub class inherit the attribute and Relationship in super…