mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +01:00
Run dotnet format (#3244)
This commit is contained in:
@@ -30,7 +30,7 @@ namespace BTCPayServer.Models.StoreViewModels
|
||||
|
||||
[Display(Name = "Default payment method on checkout")]
|
||||
public string DefaultPaymentMethod { get; set; }
|
||||
|
||||
|
||||
[Display(Name = "Requires a refund email")]
|
||||
public bool RequiresRefundEmail { get; set; }
|
||||
|
||||
@@ -39,10 +39,10 @@ namespace BTCPayServer.Models.StoreViewModels
|
||||
|
||||
[Display(Name = "Redirect invoice to redirect url automatically after paid")]
|
||||
public bool RedirectAutomatically { get; set; }
|
||||
|
||||
|
||||
[Display(Name = "Auto-detect language on checkout")]
|
||||
public bool AutoDetectLanguage { get; set; }
|
||||
|
||||
|
||||
[Display(Name = "Default language on checkout")]
|
||||
public string DefaultLang { get; set; }
|
||||
|
||||
@@ -62,7 +62,7 @@ namespace BTCPayServer.Models.StoreViewModels
|
||||
public string PaymentMethod { get; set; }
|
||||
public string Value { get; set; }
|
||||
|
||||
public CriteriaType Type { get; set; }
|
||||
public CriteriaType Type { get; set; }
|
||||
|
||||
public enum CriteriaType
|
||||
{
|
||||
@@ -81,6 +81,6 @@ namespace BTCPayServer.Models.StoreViewModels
|
||||
throw new ArgumentOutOfRangeException(nameof(type), type, null);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -61,7 +61,7 @@ namespace BTCPayServer.Models.StoreViewModels
|
||||
[MaxLength(64)]
|
||||
public string Secret { get; set; }
|
||||
|
||||
public List<DeliveryViewModel> Deliveries { get; set; } = new List<DeliveryViewModel>();
|
||||
public List<DeliveryViewModel> Deliveries { get; set; } = new List<DeliveryViewModel>();
|
||||
|
||||
public WebhookBlob CreateBlob()
|
||||
{
|
||||
|
||||
@@ -5,10 +5,10 @@ namespace BTCPayServer.Models.StoreViewModels
|
||||
{
|
||||
public class GeneralSettingsViewModel
|
||||
{
|
||||
|
||||
|
||||
[Display(Name = "Store ID")]
|
||||
public string Id { get; set; }
|
||||
|
||||
|
||||
[Display(Name = "Store Name")]
|
||||
[Required]
|
||||
[MaxLength(50)]
|
||||
@@ -19,7 +19,7 @@ namespace BTCPayServer.Models.StoreViewModels
|
||||
[Display(Name = "Store Website")]
|
||||
[MaxLength(500)]
|
||||
public string StoreWebsite { get; set; }
|
||||
|
||||
|
||||
public bool CanDelete { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace BTCPayServer.Models.StoreViewModels
|
||||
public bool CanUseInternalNode { get; set; }
|
||||
public bool SkipPortTest { get; set; }
|
||||
public bool Enabled { get; set; } = true;
|
||||
|
||||
|
||||
[Display(Name = "Connection string")]
|
||||
public string ConnectionString { get; set; }
|
||||
}
|
||||
|
||||
@@ -16,20 +16,20 @@ namespace BTCPayServer.Models.StoreViewModels
|
||||
|
||||
[Display(Name = "Description template of the lightning invoice")]
|
||||
public string LightningDescriptionTemplate { get; set; }
|
||||
|
||||
|
||||
// LNURL
|
||||
[Display(Name = "Enable LNURL")]
|
||||
public bool LNURLEnabled { get; set; }
|
||||
|
||||
|
||||
[Display(Name = "LNURL Classic Mode")]
|
||||
public bool LNURLBech32Mode { get; set; } = true;
|
||||
|
||||
[Display(Name = "LNURL enabled for standard invoices")]
|
||||
public bool LNURLStandardInvoiceEnabled { get; set; } = true;
|
||||
|
||||
|
||||
[Display(Name = "Allow payee to pass a comment")]
|
||||
public bool LUD12Enabled { get; set; }
|
||||
|
||||
|
||||
[Display(Name = "Do not offer BOLT11 for standard invoices")]
|
||||
public bool DisableBolt11PaymentMethod { get; set; }
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace BTCPayServer.Models.StoreViewModels
|
||||
public List<StoreLightningNode> LightningNodes { get; set; }
|
||||
public bool HintWallet { get; set; }
|
||||
public bool HintLightning { get; set; }
|
||||
|
||||
|
||||
[Display(Name = "Allow anyone to create invoice")]
|
||||
public bool AnyoneCanCreateInvoice { get; set; }
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace BTCPayServer.Models.StoreViewModels
|
||||
[Display(Name = "Consider the invoice paid even if the paid amount is ... % less than expected")]
|
||||
[Range(0, 100)]
|
||||
public double PaymentTolerance { get; set; }
|
||||
|
||||
|
||||
[Display(Name = "Default currency")]
|
||||
[MaxLength(10)]
|
||||
public string DefaultCurrency { get; set; }
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace BTCPayServer.Models.StoreViewModels
|
||||
public string StoreId { get; set; }
|
||||
public bool IsHotWallet { get; set; }
|
||||
public bool CanUsePayJoin { get; set; }
|
||||
|
||||
|
||||
[Display(Name = "Enable Payjoin/P2EP")]
|
||||
public bool PayJoinEnabled { get; set; }
|
||||
|
||||
@@ -28,9 +28,9 @@ namespace BTCPayServer.Models.StoreViewModels
|
||||
|
||||
[Display(Name = "Consider the invoice confirmed when the payment transaction …")]
|
||||
public SpeedPolicy SpeedPolicy { get; set; }
|
||||
|
||||
|
||||
public string Label { get; set; }
|
||||
|
||||
|
||||
public string DerivationSchemeInput { get; set; }
|
||||
[Display(Name = "Is signing key")]
|
||||
public string SelectedSigningKey { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user