C# 클래스 OxxCommerceStarterKit.Core.Extensions.PriceExtensions

파일 보기 프로젝트 열기: episerver/Commerce-Demo-Kit

공개 메소드들

메소드 설명
GetCustomerClubDisplayPrice ( this variation, IMarket market = null ) : string
GetCustomerClubDisplayPrice ( this variations, IMarket market = null ) : string
GetCustomerClubPrice ( this variation, IMarket market = null ) : PriceAndMarket
GetCustomerClubPrice ( this variations, IMarket market = null ) : PriceAndMarket
GetDefaultPrice ( this variation, IMarket market = null ) : EPiServer.Commerce.SpecializedProperties.Price
GetDefaultPrice ( this variations, IMarket market = null ) : EPiServer.Commerce.SpecializedProperties.Price
GetDefaultPriceAmount ( this variation ) : int
GetDefaultPriceAmount ( this variation, IMarket market ) : int
GetDefaultPriceAmount ( this variations, IMarket market = null ) : int
GetDefaultPriceMoney ( this variation, IMarket market = null ) : EPiServer.Commerce.SpecializedProperties.Price

Gets price information for a variation as a Price object. You can get the monetary price from the UnitPrice member.

GetDefaultPriceMoney ( this variations, IMarket market = null ) : EPiServer.Commerce.SpecializedProperties.Price
GetDiscountDisplayPrice ( this variation, EPiServer.Commerce.SpecializedProperties.Price defaultPrice, IMarket market = null ) : string

Gets the discount price, if no discount is set, returns string.Empty

GetDiscountDisplayPrice ( this variations, EPiServer.Commerce.SpecializedProperties.Price defaultPrice, IMarket market = null ) : string

Gets the discount price, if no discount is set, returns string.Empty

GetDiscountPrice ( this variation, IMarket market = null ) : PriceAndMarket
GetDiscountPrice ( this variations, IMarket market = null ) : PriceAndMarket
GetDisplayPrice ( this variation, IMarket market = null ) : string

Gets the display price for the variation and market, including currency symbol.

GetDisplayPrice ( this variations, IMarket market = null ) : string

메소드 상세

GetCustomerClubDisplayPrice() 공개 정적인 메소드

public static GetCustomerClubDisplayPrice ( this variation, IMarket market = null ) : string
variation this
market IMarket
리턴 string

GetCustomerClubDisplayPrice() 공개 정적인 메소드

public static GetCustomerClubDisplayPrice ( this variations, IMarket market = null ) : string
variations this
market IMarket
리턴 string

GetCustomerClubPrice() 공개 정적인 메소드

public static GetCustomerClubPrice ( this variation, IMarket market = null ) : PriceAndMarket
variation this
market IMarket
리턴 OxxCommerceStarterKit.Core.Models.PriceAndMarket

GetCustomerClubPrice() 공개 정적인 메소드

public static GetCustomerClubPrice ( this variations, IMarket market = null ) : PriceAndMarket
variations this
market IMarket
리턴 OxxCommerceStarterKit.Core.Models.PriceAndMarket

GetDefaultPrice() 공개 정적인 메소드

public static GetDefaultPrice ( this variation, IMarket market = null ) : EPiServer.Commerce.SpecializedProperties.Price
variation this
market IMarket
리턴 EPiServer.Commerce.SpecializedProperties.Price

GetDefaultPrice() 공개 정적인 메소드

public static GetDefaultPrice ( this variations, IMarket market = null ) : EPiServer.Commerce.SpecializedProperties.Price
variations this
market IMarket
리턴 EPiServer.Commerce.SpecializedProperties.Price

GetDefaultPriceAmount() 공개 정적인 메소드

public static GetDefaultPriceAmount ( this variation ) : int
variation this
리턴 int

GetDefaultPriceAmount() 공개 정적인 메소드

public static GetDefaultPriceAmount ( this variation, IMarket market ) : int
variation this
market IMarket
리턴 int

GetDefaultPriceAmount() 공개 정적인 메소드

public static GetDefaultPriceAmount ( this variations, IMarket market = null ) : int
variations this
market IMarket
리턴 int

GetDefaultPriceMoney() 공개 정적인 메소드

Gets price information for a variation as a Price object. You can get the monetary price from the UnitPrice member.
public static GetDefaultPriceMoney ( this variation, IMarket market = null ) : EPiServer.Commerce.SpecializedProperties.Price
variation this The variation.
market IMarket The market.
리턴 EPiServer.Commerce.SpecializedProperties.Price

GetDefaultPriceMoney() 공개 정적인 메소드

public static GetDefaultPriceMoney ( this variations, IMarket market = null ) : EPiServer.Commerce.SpecializedProperties.Price
variations this
market IMarket
리턴 EPiServer.Commerce.SpecializedProperties.Price

GetDiscountDisplayPrice() 공개 정적인 메소드

Gets the discount price, if no discount is set, returns string.Empty
public static GetDiscountDisplayPrice ( this variation, EPiServer.Commerce.SpecializedProperties.Price defaultPrice, IMarket market = null ) : string
variation this The variation.
defaultPrice EPiServer.Commerce.SpecializedProperties.Price The price to return if no discounted price can be found
market IMarket The market.
리턴 string

GetDiscountDisplayPrice() 공개 정적인 메소드

Gets the discount price, if no discount is set, returns string.Empty
public static GetDiscountDisplayPrice ( this variations, EPiServer.Commerce.SpecializedProperties.Price defaultPrice, IMarket market = null ) : string
variations this All variants for a product
defaultPrice EPiServer.Commerce.SpecializedProperties.Price The price to compare against
market IMarket The market.
리턴 string

GetDiscountPrice() 공개 정적인 메소드

public static GetDiscountPrice ( this variation, IMarket market = null ) : PriceAndMarket
variation this
market IMarket
리턴 OxxCommerceStarterKit.Core.Models.PriceAndMarket

GetDiscountPrice() 공개 정적인 메소드

public static GetDiscountPrice ( this variations, IMarket market = null ) : PriceAndMarket
variations this
market IMarket
리턴 OxxCommerceStarterKit.Core.Models.PriceAndMarket

GetDisplayPrice() 공개 정적인 메소드

Gets the display price for the variation and market, including currency symbol.
public static GetDisplayPrice ( this variation, IMarket market = null ) : string
variation this The variation to retrieve price from.
market IMarket The market to get price for. If null, the current market is used.
리턴 string

GetDisplayPrice() 공개 정적인 메소드

public static GetDisplayPrice ( this variations, IMarket market = null ) : string
variations this
market IMarket
리턴 string