File

projects/apttus/ecommerce/src/lib/modules/pricing/services/price-list.service.ts

Description

Price lists are the core object for defining the catalog seen by the end user. Categories, products and pricing are all derived from the selected price list.

Extends

AObjectService

Index

Properties
Methods

Methods

getEffectivePriceList
getEffectivePriceList()

Method returns the entire price list instance of the current effective price list.

Returns : Observable<PriceList>

a hot observable containing the effective price list instance

getEffectivePriceListId
getEffectivePriceListId()

Method returns the current effective price list id. If the account is using a related price list, this will return the id of that related price list.

Returns : Observable<string>

a hot string observable containing the current effective price list id

getPriceList
getPriceList()

Method returns the entire price list instance of the currently selected price list

Returns : Observable<PriceList>

a hot observable containing the price list instance

getPriceListId
getPriceListId()

Method returns the current price list id. If the account is associated with a related price list, this will return the price list id that that price list is related to.

Returns : Observable<string>

a hot string observable containing the current price list id

onInit
onInit()
Returns : void

Properties

accountService
Default value : this.injector.get(AccountService)
apiService
Default value : this.injector.get(ApiService)
storefrontService
Default value : this.injector.get(StorefrontService)
type
Default value : PriceList

result-matching ""

    No results matching ""