public void Read(getPurchaseSalesInventory_args structs, Protocol iprot) { if (true) { string value; value = iprot.ReadString(); structs.SetVendor_id(value); } if (true) { int?value; value = iprot.ReadI32(); structs.SetPage_index(value); } if (true) { int?value; value = iprot.ReadI32(); structs.SetPage_count(value); } if (true) { com.vip.domain.inventory.PurchaseSalesInventoryCondition value; value = new com.vip.domain.inventory.PurchaseSalesInventoryCondition(); com.vip.domain.inventory.PurchaseSalesInventoryConditionHelper.getInstance().Read(value, iprot); structs.SetQueryCondition(value); } Validate(structs); }
private void send_getPurchaseSalesInventory(string vendor_id_, int?page_index_, int?page_count_, com.vip.domain.inventory.PurchaseSalesInventoryCondition queryCondition_) { InitInvocation("getPurchaseSalesInventory"); getPurchaseSalesInventory_args args = new getPurchaseSalesInventory_args(); args.SetVendor_id(vendor_id_); args.SetPage_index(page_index_); args.SetPage_count(page_count_); args.SetQueryCondition(queryCondition_); SendBase(args, getPurchaseSalesInventory_argsHelper.getInstance()); }
public void SetQueryCondition(com.vip.domain.inventory.PurchaseSalesInventoryCondition value) { this.queryCondition_ = value; }
public com.vip.domain.inventory.PurchaseSalesInventoryResponse getPurchaseSalesInventory(string vendor_id_, int?page_index_, int?page_count_, com.vip.domain.inventory.PurchaseSalesInventoryCondition queryCondition_) { send_getPurchaseSalesInventory(vendor_id_, page_index_, page_count_, queryCondition_); return(recv_getPurchaseSalesInventory()); }