Adding assignments
This commit is contained in:
12
Payment/CreditCardPayment.cs
Normal file
12
Payment/CreditCardPayment.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
namespace OOP.Payment
|
||||
{
|
||||
public class CreditCardPayment : GenericPayment
|
||||
{
|
||||
public string CardNumber { get; set; }
|
||||
|
||||
public override void ProcessPayment()
|
||||
{
|
||||
Console.WriteLine($"Processing credit card");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user