public static ERPCustomer Create(string customername, Customertype customertype, string customergroup, string territory)

        {
            ERPCustomer obj = new ERPCustomer();

            obj.customer_name  = customername;
            obj.customer_type  = customertype;
            obj.customer_group = customergroup;
            obj.territory      = territory;
            return(obj);
        }
Beispiel #2
0
        public static ERPAmazon_mws_settings Create(string sellerid, string awsaccesskeyid, string mwsauthtoken, string secretkey, string marketplaceid, Region region, string domain, string company, string warehouse, string itemgroup, string pricelist, string customergroup, string territory, Customertype customertype, string marketplaceaccountgroup, string afterdate)

        {
            ERPAmazon_mws_settings obj = new ERPAmazon_mws_settings();

            obj.seller_id                  = sellerid;
            obj.aws_access_key_id          = awsaccesskeyid;
            obj.mws_auth_token             = mwsauthtoken;
            obj.secret_key                 = secretkey;
            obj.market_place_id            = marketplaceid;
            obj.region                     = region;
            obj.domain                     = domain;
            obj.company                    = company;
            obj.warehouse                  = warehouse;
            obj.item_group                 = itemgroup;
            obj.price_list                 = pricelist;
            obj.customer_group             = customergroup;
            obj.territory                  = territory;
            obj.customer_type              = customertype;
            obj.market_place_account_group = marketplaceaccountgroup;
            obj.after_date                 = afterdate;
            return(obj);
        }