コード例 #1
0
            public void Read(queryStoresByVendorCode_args structs, Protocol iprot)
            {
                if (true)
                {
                    com.vip.vms.common.CommonParam value;

                    value = new com.vip.vms.common.CommonParam();
                    com.vip.vms.common.CommonParamHelper.getInstance().Read(value, iprot);

                    structs.SetCommonParam(value);
                }



                if (true)
                {
                    int value;
                    value = iprot.ReadI32();

                    structs.SetVendorCode(value);
                }



                Validate(structs);
            }
コード例 #2
0
            public void Read(getStoreByStoreCode_args structs, Protocol iprot)
            {
                if (true)
                {
                    com.vip.vms.common.CommonParam value;

                    value = new com.vip.vms.common.CommonParam();
                    com.vip.vms.common.CommonParamHelper.getInstance().Read(value, iprot);

                    structs.SetCommonParam(value);
                }



                if (true)
                {
                    string value;
                    value = iprot.ReadString();

                    structs.SetStoreCode(value);
                }



                Validate(structs);
            }
コード例 #3
0
            private void send_updateStores(com.vip.vms.common.CommonParam commonParam_, List <com.vip.vms.store.service.StoreUpdateParam> storeUpdateParamList_)
            {
                InitInvocation("updateStores");

                updateStores_args args = new updateStores_args();

                args.SetCommonParam(commonParam_);
                args.SetStoreUpdateParamList(storeUpdateParamList_);

                SendBase(args, updateStores_argsHelper.getInstance());
            }
コード例 #4
0
            private void send_queryStoresByVendorCode(com.vip.vms.common.CommonParam commonParam_, int vendorCode_)
            {
                InitInvocation("queryStoresByVendorCode");

                queryStoresByVendorCode_args args = new queryStoresByVendorCode_args();

                args.SetCommonParam(commonParam_);
                args.SetVendorCode(vendorCode_);

                SendBase(args, queryStoresByVendorCode_argsHelper.getInstance());
            }
コード例 #5
0
            private void send_getStoreByStoreCode(com.vip.vms.common.CommonParam commonParam_, string storeCode_)
            {
                InitInvocation("getStoreByStoreCode");

                getStoreByStoreCode_args args = new getStoreByStoreCode_args();

                args.SetCommonParam(commonParam_);
                args.SetStoreCode(storeCode_);

                SendBase(args, getStoreByStoreCode_argsHelper.getInstance());
            }
コード例 #6
0
            public void Read(updateStores_args structs, Protocol iprot)
            {
                if (true)
                {
                    com.vip.vms.common.CommonParam value;

                    value = new com.vip.vms.common.CommonParam();
                    com.vip.vms.common.CommonParamHelper.getInstance().Read(value, iprot);

                    structs.SetCommonParam(value);
                }



                if (true)
                {
                    List <com.vip.vms.store.service.StoreUpdateParam> value;

                    value = new List <com.vip.vms.store.service.StoreUpdateParam>();
                    iprot.ReadListBegin();
                    while (true)
                    {
                        try{
                            com.vip.vms.store.service.StoreUpdateParam elem2;

                            elem2 = new com.vip.vms.store.service.StoreUpdateParam();
                            com.vip.vms.store.service.StoreUpdateParamHelper.getInstance().Read(elem2, iprot);

                            value.Add(elem2);
                        }
                        catch (Exception e) {
                            break;
                        }
                    }

                    iprot.ReadListEnd();

                    structs.SetStoreUpdateParamList(value);
                }



                Validate(structs);
            }
コード例 #7
0
 public void SetCommonParam(com.vip.vms.common.CommonParam value)
 {
     this.commonParam_ = value;
 }
コード例 #8
0
 public string updateStores(com.vip.vms.common.CommonParam commonParam_, List <com.vip.vms.store.service.StoreUpdateParam> storeUpdateParamList_)
 {
     send_updateStores(commonParam_, storeUpdateParamList_);
     return(recv_updateStores());
 }
コード例 #9
0
 public string queryStoresByVendorCode(com.vip.vms.common.CommonParam commonParam_, int vendorCode_)
 {
     send_queryStoresByVendorCode(commonParam_, vendorCode_);
     return(recv_queryStoresByVendorCode());
 }
コード例 #10
0
 public string queryStores(com.vip.vms.common.CommonParam commonParam_, List <com.vip.vms.store.service.StoreQueryParam> storeQueryParamList_)
 {
     send_queryStores(commonParam_, storeQueryParamList_);
     return(recv_queryStores());
 }
コード例 #11
0
 public string getStoreByStoreCode(com.vip.vms.common.CommonParam commonParam_, string storeCode_)
 {
     send_getStoreByStoreCode(commonParam_, storeCode_);
     return(recv_getStoreByStoreCode());
 }
コード例 #12
0
 public string addStores(com.vip.vms.common.CommonParam commonParam_, List <com.vip.vms.store.service.StoreAddParam> storeAddParamList_)
 {
     send_addStores(commonParam_, storeAddParamList_);
     return(recv_addStores());
 }