mirror of
https://github.com/aljazceru/BTCPayServerPlugins.git
synced 2025-12-17 23:54:26 +01:00
Make sideshift extend prism in a better way
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
namespace BTCPayServer.Plugins.SideShift;
|
||||
|
||||
public class PrismSideshiftDestination
|
||||
{
|
||||
public string ShiftCoin { get; set; }
|
||||
public string ShiftNetwork { get; set; }
|
||||
public string ShiftDestination { get; set; }
|
||||
public string ShiftMemo { get; set; }
|
||||
|
||||
public bool Valid()
|
||||
{
|
||||
return !string.IsNullOrEmpty(ShiftCoin) && !string.IsNullOrEmpty(ShiftNetwork) &&
|
||||
!string.IsNullOrEmpty(ShiftDestination);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user