Implement the model classes needed for the payment method ref #3