interface PricingManagerInterface (View source)

Methods

user(Authenticatable $user)

Set the user property.

currency(Currency $currency)

Set the currency property.

qty(int $qty)

Set the quantity property.

customerGroups(Collection $customerGroups)

Set the customer groups.

customerGroup(CustomerGroup $customerGroup)

Set the customer group.

for(Purchasable $purchasable)

Get the price for a purchasable.

Details

PricingManagerInterface user(Authenticatable $user)

Set the user property.

Parameters

Authenticatable $user

Return Value

PricingManagerInterface

PricingManagerInterface currency(Currency $currency)

Set the currency property.

Parameters

Currency $currency

Return Value

PricingManagerInterface

PricingManagerInterface qty(int $qty)

Set the quantity property.

Parameters

int $qty

Return Value

PricingManagerInterface

PricingManagerInterface customerGroups(Collection $customerGroups)

Set the customer groups.

Parameters

Collection $customerGroups

Return Value

PricingManagerInterface

PricingManagerInterface customerGroup(CustomerGroup $customerGroup)

Set the customer group.

Parameters

CustomerGroup $customerGroup

Return Value

PricingManagerInterface

PricingResponse for(Purchasable $purchasable)

Get the price for a purchasable.

Parameters

Purchasable $purchasable

Return Value

PricingResponse