Class CustomerGroupFactory
Class CustomerGroupFactory
Methods summary
public
|
|
public
CustomerGroup
|
#
createEntity( )
Returns new instances of customer group entities.
Returns new instances of customer group entities.
Returns
|
public
CustomerGroupSettings
|
#
createSettings( BoolType $statusPublic, BoolType $statusOtDiscount, BoolType $statusGraduatedPrices, BoolType $statusShowPrice, BoolType $statusShowPriceTax, BoolType $statusAddTaxOt, BoolType $statusDiscountAttributes, BoolType $statusFsk18, BoolType $statusFsk18Display, BoolType $statusWriteReviews, BoolType $statusReadReviews )
Returns a new instance of customer group settings.
Returns a new instance of customer group settings.
Parameters
- $statusPublic
- $statusOtDiscount
- $statusGraduatedPrices
- $statusShowPrice
- $statusShowPriceTax
- $statusAddTaxOt
- $statusDiscountAttributes
- $statusFsk18
- $statusFsk18Display
- $statusWriteReviews
- $statusReadReviews
Returns
|
public
CustomerGroupConfigurations
|
#
createConfigurations( DecimalType $discount, DecimalType $otDiscount, DecimalType $minOrder = null, DecimalType $maxOrder = null, array $unallowedPaymentModules = [], array $unallowedShippingModules = [] )
Returns a new instance of customer group configuration.
Returns a new instance of customer group configuration.
Parameters
- $discount
- $otDiscount
- $minOrder
- $maxOrder
- $unallowedPaymentModules
- $unallowedShippingModules
Returns
|
public
CustomerGroupCollection
|
#
createCollection( )
Returns new instances of customer group collections.
Returns new instances of customer group collections.
Returns
|