Exemple #1
0
        public static RetailChannelPriceGroup CreateRetailChannelPriceGroup(string groupCode,
                                                                            string retailChannelId,
                                                                            global::Microsoft.Dynamics.DataEntities.OnlineChannel onlineChannel,
                                                                            global::Microsoft.Dynamics.DataEntities.RetailCallCenter retailCallCenter,
                                                                            global::Microsoft.Dynamics.DataEntities.RetailChannel retailChannel,
                                                                            global::Microsoft.Dynamics.DataEntities.RetailStore retailStore)
        {
            RetailChannelPriceGroup retailChannelPriceGroup = new RetailChannelPriceGroup();

            retailChannelPriceGroup.GroupCode       = groupCode;
            retailChannelPriceGroup.RetailChannelId = retailChannelId;
            if ((onlineChannel == null))
            {
                throw new global::System.ArgumentNullException("onlineChannel");
            }
            retailChannelPriceGroup.OnlineChannel = onlineChannel;
            if ((retailCallCenter == null))
            {
                throw new global::System.ArgumentNullException("retailCallCenter");
            }
            retailChannelPriceGroup.RetailCallCenter = retailCallCenter;
            if ((retailChannel == null))
            {
                throw new global::System.ArgumentNullException("retailChannel");
            }
            retailChannelPriceGroup.RetailChannel = retailChannel;
            if ((retailStore == null))
            {
                throw new global::System.ArgumentNullException("retailStore");
            }
            retailChannelPriceGroup.RetailStore = retailStore;
            return(retailChannelPriceGroup);
        }
Exemple #2
0
 partial void OnOnlineChannelChanging(global::Microsoft.Dynamics.DataEntities.OnlineChannel value);
        public static RetailChannelPaymentConnectorLine CreateRetailChannelPaymentConnectorLine(string operatingUnitNumber, string paymentConnectorName, global::Microsoft.Dynamics.DataEntities.OnlineChannel onlineChannel)
        {
            RetailChannelPaymentConnectorLine retailChannelPaymentConnectorLine = new RetailChannelPaymentConnectorLine();

            retailChannelPaymentConnectorLine.OperatingUnitNumber  = operatingUnitNumber;
            retailChannelPaymentConnectorLine.PaymentConnectorName = paymentConnectorName;
            if ((onlineChannel == null))
            {
                throw new global::System.ArgumentNullException("onlineChannel");
            }
            retailChannelPaymentConnectorLine.OnlineChannel = onlineChannel;
            return(retailChannelPaymentConnectorLine);
        }
Exemple #4
0
        public static RetailStoreLocatorGroupOwner CreateRetailStoreLocatorGroupOwner(string storeLocatorGroupName, string oMOperatingUnitNumber, global::Microsoft.Dynamics.DataEntities.OnlineChannel onlineChannel, global::Microsoft.Dynamics.DataEntities.RetailStore retailStore)
        {
            RetailStoreLocatorGroupOwner retailStoreLocatorGroupOwner = new RetailStoreLocatorGroupOwner();

            retailStoreLocatorGroupOwner.StoreLocatorGroupName = storeLocatorGroupName;
            retailStoreLocatorGroupOwner.OMOperatingUnitNumber = oMOperatingUnitNumber;
            if ((onlineChannel == null))
            {
                throw new global::System.ArgumentNullException("onlineChannel");
            }
            retailStoreLocatorGroupOwner.OnlineChannel = onlineChannel;
            if ((retailStore == null))
            {
                throw new global::System.ArgumentNullException("retailStore");
            }
            retailStoreLocatorGroupOwner.RetailStore = retailStore;
            return(retailStoreLocatorGroupOwner);
        }
Exemple #5
0
        public static RetailOnlineChannelLanguage CreateRetailOnlineChannelLanguage(string languageId, string operatingUnitNumber, global::Microsoft.Dynamics.DataEntities.OnlineChannel onlineChannel)
        {
            RetailOnlineChannelLanguage retailOnlineChannelLanguage = new RetailOnlineChannelLanguage();

            retailOnlineChannelLanguage.LanguageId          = languageId;
            retailOnlineChannelLanguage.OperatingUnitNumber = operatingUnitNumber;
            if ((onlineChannel == null))
            {
                throw new global::System.ArgumentNullException("onlineChannel");
            }
            retailOnlineChannelLanguage.OnlineChannel = onlineChannel;
            return(retailOnlineChannelLanguage);
        }