Adding assignments
This commit is contained in:
13
Payment/Payment.cs
Normal file
13
Payment/Payment.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
namespace OOP.Payment
|
||||
{
|
||||
public class GenericPayment
|
||||
{
|
||||
public int amount { get; set; }
|
||||
public string Currency { get; set; }
|
||||
|
||||
public virtual void ProcessPayment()
|
||||
{
|
||||
Console.WriteLine("Processing generic payment");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user