Example #1
0
 /// <summary>
 /// Public contructor
 /// </summary>
 /// <param name="commerceCommander"></param>
 /// <param name="composerCommander"></param>
 /// <param name="importHelper"></param>
 public CreateOrUpdateSellableItemBlock(CommerceCommander commerceCommander, ComposerCommander composerCommander,
                                        GetManagedListCommand getManagedListCommand, DeleteRelationshipCommand deleteRelationshipCommand)
 {
     _commerceCommander         = commerceCommander;
     _deleteRelationshipCommand = deleteRelationshipCommand;
     _getManagedListCommand     = getManagedListCommand;
 }
Example #2
0
 public BootstrapManagedListsBlock(
     CreateManagedListCommand createManagedList,
     GetManagedListCommand getManagedListCommand)
 {
     this._createManagedListCommand = createManagedList;
     this._getManagedListCommand    = getManagedListCommand;
 }
Example #3
0
 public IssueCouponBlock(
     IServiceProvider serviceProvider,
     IPersistEntityPipeline persistEntityPipeline,
     FindEntitiesInListCommand findEntitiesInListCommand,
     GetManagedListCommand getManagedListCommand,
     RemoveListEntitiesCommand removeListEntitiesCommand)
 {
     _findEntitiesInListCommand = findEntitiesInListCommand;
     _persistEntityPipeline     = persistEntityPipeline;
     _serviceProvider           = serviceProvider;
     _getManagedListCommand     = getManagedListCommand;
     _removeListEntitiesCommand = removeListEntitiesCommand;
 }
Example #4
0
 public CreateCouponsBlock(
     GetManagedListCommand getManagedListCommand,
     CreateManagedListCommand createManagedListCommand,
     GetListCountCommand getListCountCommand,
     FindEntityCommand findEntityCommand,
     DuplicatePromotionCommand duplicatePromotionCommand,
     AddPrivateCouponCommand addPrivateCouponCommand,
     NewCouponAllocationCommand newCouponAllocationCommand,
     AddListEntitiesPipeline addListEntitiesPipeline,
     PersistEntityCommand persistEntityCommand,
     GetEntitiesInListCommand getEntitiesInListCommand
     )
 {
     _getManagedListCommand      = getManagedListCommand;
     _createManagedListCommand   = createManagedListCommand;
     _getListCountCommand        = getListCountCommand;
     _findEntityCommand          = findEntityCommand;
     _duplicatePromotionCommand  = duplicatePromotionCommand;
     _addPrivateCouponCommand    = addPrivateCouponCommand;
     _newCouponAllocationCommand = newCouponAllocationCommand;
     _addListEntitiesPipeline    = addListEntitiesPipeline;
     _persistEntityCommand       = persistEntityCommand;
     _getEntitiesInListCommand   = getEntitiesInListCommand;
 }