Table of Contents

Class Price

Namespace
Dynamicweb.Ecommerce.Prices
Assembly
Dynamicweb.Ecommerce.dll

Represents information about the price.

[Serializable]
[DataContract]
public class Price
Inheritance
Price
Inherited Members

Fields

AnyVariantId

public const string AnyVariantId = "Any"

Field Value

string

Properties

AllowOrderDiscounts

Gets or sets the value indicating whether order discounts are allowed when calculated on this price.

[DataMember]
public bool AllowOrderDiscounts { get; set; }

Property Value

bool

AllowOrderLineDiscounts

Gets or sets the value indicating whether order line discounts are allowed when calculating on this price. This also includes DiscountPercentage, if this is false, it will not be subtracted from the price.

[DataMember]
public bool AllowOrderLineDiscounts { get; set; }

Property Value

bool

Amount

Gets or sets the amount.

[DataMember]
public double Amount { get; set; }

Property Value

double

CountryCode

Gets or sets the country id.

[DataMember]
public string? CountryCode { get; set; }

Property Value

string

id

CurrencyCode

Gets or sets the currency code.

[DataMember]
public string? CurrencyCode { get; set; }

Property Value

string

CustomerGroupId

Gets or sets the customer group id.

[DataMember]
public string? CustomerGroupId { get; set; }

Property Value

string

DiscountPercentage

Gets or sets the discount percentage

[DataMember]
public double DiscountPercentage { get; set; }

Property Value

double

ExternalId

Gets or sets the external id.

[DataMember]
public string? ExternalId { get; set; }

Property Value

string

Id

Gets or sets the price id.

[DataMember]
public string Id { get; set; }

Property Value

string

IsInformative

Gets or sets the value indicating whether the price is informative.

[DataMember]
public bool IsInformative { get; set; }

Property Value

bool

true if the price is informative; otherwise, false.

IsWithVat

Gets or sets the value indicating whether the price is with VAT.

[DataMember]
public bool IsWithVat { get; set; }

Property Value

bool

LanguageId

Gets or sets the language id.

[DataMember]
public string? LanguageId { get; set; }

Property Value

string

Priority

Gets or sets the priority.

[DataMember]
public int Priority { get; set; }

Property Value

int

ProductId

Gets or sets the product id.

[DataMember]
public string ProductId { get; set; }

Property Value

string

Quantity

Gets or sets the quantity.

[DataMember]
public double Quantity { get; set; }

Property Value

double

ShopId

Gets or sets the shop id.

[DataMember]
public string? ShopId { get; set; }

Property Value

string

StockLocationId

Gets or sets the stock location id.

[DataMember]
public long StockLocationId { get; set; }

Property Value

long

UnitId

Gets or sets the unit id.

[DataMember]
public string? UnitId { get; set; }

Property Value

string

UserCustomerNumber

Gets or sets the user customer number.

[DataMember]
public string? UserCustomerNumber { get; set; }

Property Value

string

UserGroupId

Gets or sets the user group id.

[DataMember]
public string? UserGroupId { get; set; }

Property Value

string

UserId

Gets or sets the user id.

[DataMember]
public string? UserId { get; set; }

Property Value

string

ValidFrom

Gets or sets the start date.

[DataMember]
public DateTime? ValidFrom { get; set; }

Property Value

DateTime?

ValidTo

Gets or sets the end date.

[DataMember]
public DateTime? ValidTo { get; set; }

Property Value

DateTime?

VariantId

Gets or sets the variant id.

[DataMember]
public string VariantId { get; set; }

Property Value

string
To top