Class Shipping
- Namespace
- Dynamicweb.Ecommerce.Orders
- Assembly
- Dynamicweb.Ecommerce.dll
Represents information about a shipping method
[Serializable]
public class Shipping
- Inheritance
-
Shipping
- Inherited Members
Constructors
Shipping()
Initializes a new instance of the Shipping class.
public Shipping()
Properties
Active
Gets or sets the value indicating whether instance is active.
public bool Active { get; set; }
Property Value
AgentCode
Gets or sets the shipping agent code.
public string AgentCode { get; set; }
Property Value
AgentServiceCode
Gets or sets the shipping agent service code.
public string AgentServiceCode { get; set; }
Property Value
AllowAnonymousUsers
Gets or sets a value indicating whether the Shipping is available to anonymous uses.
public bool AllowAnonymousUsers { get; set; }
Property Value
- bool
true
if shipping is available to anonymous users; otherwise,false
.
Code
Gets or sets the shipping code.
public string Code { get; set; }
Property Value
EligibleForFreeShipping
Gets or sets a value indicating whether shipping is eligible for free.
public bool EligibleForFreeShipping { get; set; }
Property Value
FeeRulesSource
Gets or sets the source of fee rules.
public ShippingFeeRulesSources FeeRulesSource { get; set; }
Property Value
FeeSelection
Gets or sets the rule for fee selection: high or low.
public string FeeSelection { get; set; }
Property Value
FreeFeeAmount
Gets or sets the free fee amount.
public double FreeFeeAmount { get; set; }
Property Value
- double
The free fee amount.
Icon
Gets or sets the icon file name.
public string Icon { get; set; }
Property Value
Id
Gets or sets the id.
public string Id { get; set; }
Property Value
- string
The id.
LimitsUseLogic
Gets or sets the limits use logic.
public ShippingLimitsUseLogics LimitsUseLogic { get; set; }
Property Value
PriceOverMaxWeight
Gets or sets the price for over max weight.
public double PriceOverMaxWeight { get; set; }
Property Value
- double
The price over max weight.
ServiceParameters
Gets or sets the shipping service parameters.
public string ServiceParameters { get; set; }
Property Value
- string
The shipping service parameters.
ServiceSystemName
Gets or sets the shipping service SystemName.
public string ServiceSystemName { get; set; }
Property Value
- string
The shipping service SystemName.
Sorting
Sort order of current group inside parent group'theShipping children collection
public int Sorting { get; set; }
Property Value
TakeDiscountIntoAccount
Gets or sets a value indicating whether discounts are taken into consideration for free shipping fee.
public bool TakeDiscountIntoAccount { get; set; }
Property Value
Translations
Gets the translations
public TranslationCollection<ShippingTranslation> Translations { get; }
Property Value
UsePriceWithVat
Gets or sets the value indicating whether VAT is taken into consideration for free shipping fee.
public bool UsePriceWithVat { get; set; }
Property Value
UserGroups
Gets or sets to whom user groups the shipping is shown.
public IEnumerable<int> UserGroups { get; set; }
Property Value
Methods
Clone()
Clones this instance.
public Shipping Clone()
Returns
GetAgentName(string)
Gets the agent name of the shipping for the given language.
public string GetAgentName(string languageId)
Parameters
languageId
string
Returns
GetAgentServiceDescription(string)
Gets the agent service description of the shipping for the given language.
public string GetAgentServiceDescription(string languageId)
Parameters
languageId
string
Returns
GetDescription(string)
Gets the description of the shipping for the given language.
public string GetDescription(string languageId)
Parameters
languageId
string
Returns
GetName(string)
Gets the name of the shipping for the given language.
public string GetName(string languageId)
Parameters
languageId
string
Returns
SetAgentName(string, string)
Sets the agent name of the shipping for the given language.
public void SetAgentName(string languageId, string agentName)
Parameters
SetAgentServiceDescription(string, string)
Sets the agent service description of the shipping for the given language.
public void SetAgentServiceDescription(string languageId, string agentServiceDescription)
Parameters
SetDescription(string, string)
Sets the description of the shipping for the given language.
public void SetDescription(string languageId, string description)
Parameters
SetName(string, string)
Sets the name of the shipping for the given language.
public void SetName(string languageId, string name)