16 lines
385 B
C#
16 lines
385 B
C#
namespace Controllers.Payment {
|
|
|
|
public interface IPayment {
|
|
|
|
// [ Success, ErrorMessage | ImpodentKey ]
|
|
public (bool, string) CreatePayment(string User);
|
|
|
|
// [ Success, ErrorMessage ]
|
|
public (bool, string) TryPayment(string ImpodentKey, float Price);
|
|
|
|
//
|
|
public (bool, string) TrySell(string ImpodentKey, float Price);
|
|
|
|
}
|
|
|
|
} |