using Nop.Core.Configuration; namespace Nop.Core.Domain.Orders; /// /// Order settings /// public partial class OrderSettings : ISettings { /// /// Gets or sets a value indicating whether customer can make re-order /// public bool IsReOrderAllowed { get; set; } /// /// Gets or sets a minimum order subtotal amount /// public decimal MinOrderSubtotalAmount { get; set; } /// /// Gets or sets a value indicating whether 'Minimum order subtotal amount' option /// should be evaluated over 'X' value including tax or not /// public bool MinOrderSubtotalAmountIncludingTax { get; set; } /// /// Gets or sets a minimum order total amount /// public decimal MinOrderTotalAmount { get; set; } /// /// Gets or sets a value indicating whether automatically update order totals on editing an order in admin area /// public bool AutoUpdateOrderTotalsOnEditingOrder { get; set; } /// /// Gets or sets a value indicating whether anonymous checkout allowed /// public bool AnonymousCheckoutAllowed { get; set; } /// /// Gets or sets a value indicating whether checkout is disabled /// public bool CheckoutDisabled { get; set; } /// /// Gets or sets a value indicating whether 'Terms of service' enabled on the shopping cart page /// public bool TermsOfServiceOnShoppingCartPage { get; set; } /// /// Gets or sets a value indicating whether 'Terms of service' enabled on the order confirmation page /// public bool TermsOfServiceOnOrderConfirmPage { get; set; } /// /// Gets or sets a value indicating whether 'One-page checkout' is enabled /// public bool OnePageCheckoutEnabled { get; set; } /// /// Gets or sets a value indicating whether order totals should be displayed on 'Payment info' tab of 'One-page checkout' page /// public bool OnePageCheckoutDisplayOrderTotalsOnPaymentInfoTab { get; set; } /// /// Gets or sets a value indicating whether "Billing address" step should be skipped /// public bool DisableBillingAddressCheckoutStep { get; set; } /// /// Gets or sets a value indicating whether "Order completed" page should be skipped /// public bool DisableOrderCompletedPage { get; set; } /// /// Gets or sets a value indicating whether "Pickup in store" options should be displayed on the shipping method page /// public bool DisplayPickupInStoreOnShippingMethodPage { get; set; } /// /// Gets or sets a value indicating whether we should attach PDF invoice to "Order placed" email /// public bool AttachPdfInvoiceToOrderPlacedEmail { get; set; } /// /// Gets or sets a value indicating whether we should attach PDF invoice to "Order paid" email /// public bool AttachPdfInvoiceToOrderPaidEmail { get; set; } /// /// Gets or sets a value indicating whether we should attach PDF invoice to "Order processing" email /// public bool AttachPdfInvoiceToOrderProcessingEmail { get; set; } /// /// Gets or sets a value indicating whether we should attach PDF invoice to "Order completed" email /// public bool AttachPdfInvoiceToOrderCompletedEmail { get; set; } /// /// Gets or sets a value indicating whether PDF invoices should be generated in customer language. Otherwise, use the current one /// public bool GeneratePdfInvoiceInCustomerLanguage { get; set; } /// /// Gets or sets a value indicating whether "Return requests" are allowed /// public bool ReturnRequestsEnabled { get; set; } /// /// Gets or sets a value indicating whether customers are allowed to upload files /// public bool ReturnRequestsAllowFiles { get; set; } /// /// Gets or sets maximum file size for upload file (return request). Set 0 to allow any file size /// public int ReturnRequestsFileMaximumSize { get; set; } /// /// Gets or sets a value "Return requests" number mask /// public string ReturnRequestNumberMask { get; set; } /// /// Gets or sets a number of days that the Return Request Link will be available for customers after order placing. /// public int NumberOfDaysReturnRequestAvailable { get; set; } /// /// Gets or sets a value indicating whether to activate related gift cards after completing the order /// public bool ActivateGiftCardsAfterCompletingOrder { get; set; } /// /// Gets or sets a value indicating whether to deactivate related gift cards after cancelling the order /// public bool DeactivateGiftCardsAfterCancellingOrder { get; set; } /// /// Gets or sets a value indicating whether to deactivate related gift cards after deleting the order /// public bool DeactivateGiftCardsAfterDeletingOrder { get; set; } /// /// Gets or sets an order placement interval in minutes (prevent 2 orders being placed within an X minutes time frame). /// public int MinimumOrderPlacementInterval { get; set; } /// /// Gets or sets a value indicating whether an order status should be set to "Complete" only when its shipping status is "Delivered". Otherwise, "Shipped" status will be enough. /// public bool CompleteOrderWhenDelivered { get; set; } /// /// Gets or sets a custom order number mask /// public string CustomOrderNumberMask { get; set; } /// /// Gets or sets a value indicating whether the orders need to be exported with their products /// public bool ExportWithProducts { get; set; } /// /// Gets or sets a value indicating whether administrators (in impersonation mode) are allowed to buy products marked as "Call for price" /// public bool AllowAdminsToBuyCallForPriceProducts { get; set; } /// /// Gets or sets a value indicating whether to show product thumbnail in order details page" /// public bool ShowProductThumbnailInOrderDetailsPage { get; set; } /// /// Gets or sets a value indicating whether the gift card usage history have to delete when an order is cancelled /// public bool DeleteGiftCardUsageHistory { get; set; } /// /// Gets or sets a value indicating whether to display order amounts in customer's currency on the order details page in the admin area /// public bool DisplayCustomerCurrencyOnOrders { get; set; } /// /// Gets or sets a value indicating whether "Summary" block should be displayed on the order list table /// public bool DisplayOrderSummary { get; set; } /// /// Gets or sets a value indicating whether to place order with lock /// public bool PlaceOrderWithLock { get; set; } }